:root {
  --black: #0C0A09;
  --surface: #1A1A1A;
  --amber: #F59E0B;
  --amber-dark: #D97706;
  --gold: #F2C14E;
  --cream: #F7F5F2;
  --muted: #B8B4AE;
  --border: rgba(247, 245, 242, 0.10);
  --container: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  background: linear-gradient(to bottom, rgba(12,10,9,.85), transparent);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 190px;
}
.brand img {
  max-width: 190px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 3px solid var(--gold);
  border-right-color: var(--amber-dark);
  border-radius: 45% 20% 45% 20%;
  color: var(--gold);
  font-weight: 800;
  font-size: 19px;
  transform: rotate(-30deg);
}

.brand-mark::first-letter { transform: rotate(30deg); }

.brand-name {
  position: relative;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .34em;
  color: var(--cream);
}

.brand-line {
  position: absolute;
  width: 14px;
  height: 2px;
  left: 50%;
  bottom: -7px;
  transform: translateX(-50%);
  background: var(--amber);
}

.nav-links {
  display: flex;
  gap: 38px;
  margin-left: auto;
  margin-right: 30px;
}

.nav-links a,
.login-link {
  color: #ddd9d3;
  font-size: 14px;
  transition: color .2s ease;
}

.nav-links a:hover,
.login-link:hover { color: var(--amber); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 50px;
  padding: 0 25px;
  border: 1px solid var(--amber);
  border-radius: 6px;
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  color: #11100e;
  font-weight: 700;
  font-size: 14px;
  transition: transform .2s ease, filter .2s ease;
}

.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.button-small {
  min-height: 44px;
  padding: 0 20px;
}

.button-outline {
  background: transparent;
  color: var(--amber);
}

/* Hero */
.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background,
.story-image {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 45%, rgba(217,119,6,.16), transparent 26%),
    radial-gradient(circle at 65% 80%, rgba(245,158,11,.08), transparent 30%);
}

.hero-background {
  background-image: url("assets/background-glencairn.webp");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12,10,9,.98) 0%, rgba(12,10,9,.90) 42%, rgba(12,10,9,.30) 76%, rgba(12,10,9,.82) 100%),
    linear-gradient(0deg, rgba(12,10,9,.55), transparent 35%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 70px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 500;
}

.hero h1 span,
.section-heading span,
.story h2 span { color: var(--amber); }

.hero-text {
  max-width: 550px;
  margin: 28px 0 32px;
  color: #c8c4be;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Features */
.section {
  padding: 105px 0 115px;
  background:
    radial-gradient(circle at 50% 0%, rgba(245,158,11,.045), transparent 32%),
    var(--black);
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 70px;
  text-align: center;
}

.section-heading .eyebrow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.short-line {
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--amber);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -.04em;
  font-weight: 500;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px 55px;
}

.feature-card { text-align: center; }

.feature-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(245,158,11,.08);
  border-radius: 9px;
  background: rgba(26,26,26,.72);
  color: var(--amber);
  font-size: 28px;
  font-weight: 400;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
}

.feature-card p {
  max-width: 260px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 13px;
}

/* Story */
.story {
  position: relative;
  min-height: 390px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
  background: #11100e;
}

.story-image {
  position: relative;
  min-height: 440px;
  background:
    radial-gradient(circle at 35% 50%, rgba(217,119,6,.26), transparent 42%),
    linear-gradient(135deg, #24170b, #0d0b09 75%);
}

.story-image {
  background-image: linear-gradient(90deg, transparent, #11100e), url("assets/background-barrels.webp");
  background-size: cover;
  background-position: center;
}

.story-content {
  padding: 60px max(48px, calc((100vw - var(--container)) / 2));
  padding-left: 70px;
}

.story h2 {
  margin: 0 0 30px;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -.035em;
}

/* Footer */
.site-footer {
  background: #090807;
  border-top: 1px solid var(--border);
}

.footer-main {
  min-height: 120px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-brand { min-width: 170px; margin-top: 10px; }
.footer-brand img { max-width: 160px; }

.footer-tagline {
  color: var(--muted);
  font-size: 13px;
  margin: 0 auto 0 0;

  width: 100%;
  order: 1;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-left: auto;
  margin-top: 10px;
}

.footer-links a {
  color: #d5d1cb;
  font-size: 12px;
}

.footer-links a:hover { color: var(--amber); }

.footer-bottom {
  min-height: 70px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom p {
  margin: 0;
  color: #77736d;
  font-size: 11px;
}

.footer-slogan {
  color: #aaa59d !important;
  letter-spacing: .15em;
}

.footer-slogan span {
  display: inline-block;
  width: 20px;
  height: 2px;
  margin-left: 10px;
  vertical-align: middle;
  background: var(--amber);
}

/* Responsive */
@media (max-width: 850px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .brand { min-width: auto; }

  .hero {
    min-height: 650px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(12,10,9,.9), rgba(12,10,9,.8));
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 55px 30px;
  }

  .story {
    grid-template-columns: 1fr;
  }

  .story-image {
    min-height: 260px;
  }

  .story-content {
    padding: 55px 24px 65px;
  }

  .footer-main {
    flex-wrap: wrap;
    padding: 35px 0;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .brand-name { font-size: 15px; }
  .brand-mark { width: 36px; height: 36px; }

  .nav {
    min-height: 72px;
  }

  .login-link { display: none; }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    padding-top: 55px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-text {
    font-size: 15px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .section {
    padding: 80px 0 90px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .section-heading {
    margin-bottom: 55px;
  }

  .story-image {
    min-height: 210px;
  }

  .footer-main,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    gap: 14px 20px;
  }

  .footer-bottom {
    padding: 22px 0;
  }
}


/* Legal pages */
.legal-page {
  min-height: 100vh;
  padding: 140px 0 80px;
  background:
    radial-gradient(circle at 50% 0%, rgba(245,158,11,.05), transparent 32%),
    var(--black);
}
.legal-container { max-width: 900px; }
.legal-header { margin-bottom: 48px; }
.legal-header h1 {
  margin: 0 0 12px;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -.04em;
  font-weight: 500;
}
.legal-updated { color: var(--muted); font-size: 13px; }
.legal-content h2 {
  margin: 42px 0 12px;
  color: var(--cream);
  font-size: 20px;
  line-height: 1.3;
}
.legal-content p, .legal-content li {
  color: #c5c0b9;
  font-size: 14px;
  line-height: 1.85;
}
.legal-content ul { padding-left: 22px; }
.legal-notice {
  margin-bottom: 42px;
  padding: 18px 20px;
  border: 1px solid rgba(245,158,11,.25);
  border-left: 3px solid var(--amber);
  border-radius: 6px;
  background: rgba(245,158,11,.045);
  color: #d7d2ca;
  font-size: 13px;
}
.legal-placeholder { color: var(--amber); font-weight: 700; }
.legal-back { margin-top: 48px; }
