/* ==========================================================================
   GHAF — Luxury landing page · V2 (approved 2026-11-10) · launch-ready copy
   Palette sampled from the supplied GHAF artwork:
     logo 1 background  #0f1a14 – #15211a  (deep forest)
     emblem field       #162515            (dark olive-green)
     wordmark gold      #d9b580 / highlight #f2d4a3 / rim #a87531
   ========================================================================== */

:root {
  /* Forest (dominant) */
  --forest-950: #0a120e;
  --forest-900: #0f1a14;
  --forest-850: #14201a;
  --forest-800: #1a2a21;
  --forest-700: #243829;

  /* Secondary panel green — same hue family as the forest (~140°), one step lighter.
     (V1's yellow-olive #263020 sat at ~96° and clashed with the page.) */
  --olive-900: #152419;
  --olive-800: #1b2e22;
  --olive-700: #22392b;

  /* Metallic / champagne gold */
  --gold-200: #f6e3bf;
  --gold-300: #f2d4a3;
  --gold-400: #d9b580;
  --gold-500: #c39a5c;
  --gold-600: #a87531;
  --bronze-700: #7a5524;   /* gold-family text on ivory (5.8:1) */

  /* Warm ivory */
  --ivory-50: #fbf7ee;
  --ivory-100: #f5eee0;
  --ivory-200: #ece3d0;
  --ivory-300: #ddd0b6;

  /* Charcoal */
  --charcoal-900: #1d221e;
  --charcoal-800: #262b27;
  --charcoal-600: #4d524b;  /* secondary text on ivory (6.9:1) */

  --mist: #c9c6b8;          /* body text on forest (10:1) */
  --mist-soft: #a7a899;

  --gold-line: rgba(217, 181, 128, .22);
  --gold-line-strong: rgba(217, 181, 128, .5);
  --gold-gradient: linear-gradient(120deg, #f6e3bf 0%, #d9b580 34%, #b8873f 62%, #e9c992 100%);

  --font-serif: "Cormorant Garamond", "Cormorant", Garamond, "Hoefler Text", "Times New Roman", serif;
  --font-sans: "Manrope", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
  --header-h: 84px;
  --section-pad: clamp(96px, 12vw, 176px);
  --radius: 4px;
}

/* ------------------------------------------------------------------ fonts
   Self-hosted (no requests to Google). Cormorant Garamond and Manrope are
   licensed under the SIL Open Font License 1.1 — see assets/fonts/OFL-*.txt */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--forest-900);
  color: var(--mist);
  font-family: var(--font-sans);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 400; }

::selection { background: var(--gold-400); color: var(--forest-900); }

:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  padding: 10px 16px; background: var(--gold-400); color: var(--forest-900);
  font-weight: 600; font-size: .875rem; border-radius: var(--radius);
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 16px; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

/* Subtle paper grain, echoing the textured emblem field */
.grain { position: relative; isolation: isolate; }
.grain::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
  opacity: .07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------ typography */
.display {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 1.5rem + 3vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -.012em;
  color: var(--ivory-100);
  text-wrap: balance;
}
.display em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-400);
}
.display--sm { font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem); line-height: 1.1; }
.display--xl { font-size: clamp(2.6rem, 1.4rem + 4.4vw, 5.6rem); line-height: 1.02; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.lead {
  font-size: clamp(1.125rem, 1.04rem + .4vw, 1.3125rem);
  line-height: 1.6;
}

/* Section label: 01 —— ABOUT GHAF */
.section-label {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: clamp(28px, 4vw, 44px);
  color: var(--gold-400);
}
.section-label__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1;
}
.section-label__rule {
  width: 48px; height: 1px;
  background: currentColor; opacity: .6;
}
.section-label__text {
  font-size: .75rem; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase;
}
.section-label--light { color: var(--bronze-700); }
.section-label--center { justify-content: center; }

/* Ornamental divider: —— ◇ —— */
.ornament {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  color: var(--gold-400);
}
.ornament::before, .ornament::after {
  content: ""; height: 1px; width: 72px;
  background: linear-gradient(90deg, transparent, currentColor);
}
.ornament::after { transform: scaleX(-1); }
.ornament span {
  width: 7px; height: 7px; transform: rotate(45deg);
  border: 1px solid currentColor;
}

/* --------------------------------------------------------------- reveal */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 1s var(--ease-out) var(--d, 0s),
    transform 1.2s var(--ease-out) var(--d, 0s);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ================================================================ HEADER */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color .5s var(--ease-out), border-color .5s var(--ease-out), backdrop-filter .5s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.js:not([data-current="home"]) .site-header {
  background: rgba(12, 21, 16, .84);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: rgba(217, 181, 128, .16);
}
.site-header__inner {
  width: min(100% - 2 * var(--gutter), 1360px);
  margin-inline: auto;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: height .5s var(--ease-out);
}
.site-header.is-scrolled .site-header__inner { height: 68px; }

.brand { display: block; flex: none; border-radius: 50%; }
.brand img {
  width: 46px; height: 46px;
  transition: transform .6s var(--ease-out), width .5s var(--ease-out), height .5s var(--ease-out);
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .35));
}
.brand:hover img { transform: scale(1.06); }
.site-header.is-scrolled .brand img { width: 40px; height: 40px; }

.primary-nav { position: relative; }
.primary-nav ul { position: relative; display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.primary-nav a {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  font-size: .75rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--mist);
  transition: color .35s var(--ease-out);
}
.primary-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px;
  height: 1px; background: var(--gold-400);
  transform: scaleX(0); transform-origin: center;
  transition: transform .5s var(--ease-out);
}
.primary-nav a:hover, .primary-nav a.is-current { color: var(--ivory-100); }
.primary-nav a:not(.is-current):hover::after { transform: scaleX(1); }

.primary-nav .nav-cta {
  padding: 11px 22px;
  border: 1px solid var(--gold-line-strong);
  border-radius: 999px;
  color: var(--gold-300);
  transition: background-color .4s var(--ease-out), color .4s var(--ease-out), border-color .4s var(--ease-out);
}
.primary-nav .nav-cta:hover, .primary-nav .nav-cta.is-current {
  background: var(--gold-400); border-color: var(--gold-400); color: var(--forest-900);
}

.menu-toggle {
  display: none;
  width: 48px; height: 48px;
  border: 1px solid var(--gold-line-strong);
  border-radius: 50%;
  background: transparent;
  place-items: center;
}
.menu-toggle__bars { position: relative; width: 18px; height: 8px; display: block; }
.menu-toggle__bars i {
  position: absolute; left: 0; right: 0; height: 1.5px;
  background: var(--gold-300);
  transition: transform .45s var(--ease-out), top .45s var(--ease-out);
}
.menu-toggle__bars i:first-child { top: 0; }
.menu-toggle__bars i:last-child { top: 6.5px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:first-child { top: 3.25px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:last-child { top: 3.25px; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 40px) var(--gutter) 40px;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(217, 181, 128, .08), transparent 70%),
    var(--forest-900);
  opacity: 0;
  transition: opacity .5s var(--ease-out);
}
.mobile-menu.is-open { opacity: 1; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__nav li {
  border-bottom: 1px solid var(--gold-line);
  opacity: 0; transform: translateY(16px);
  transition: opacity .6s var(--ease-out), transform .7s var(--ease-out);
}
.mobile-menu.is-open .mobile-menu__nav li { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(2) { transition-delay: .05s; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(3) { transition-delay: .1s; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(4) { transition-delay: .15s; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(5) { transition-delay: .2s; }
.mobile-menu__nav a {
  display: block; padding: 18px 0;
  font-family: var(--font-serif); font-size: clamp(2rem, 8vw, 2.6rem); line-height: 1.1;
  color: var(--ivory-100);
}
.mobile-menu__nav a:active { color: var(--gold-300); }
.mobile-menu__foot { display: flex; align-items: center; gap: 16px; color: var(--gold-300); font-size: .9375rem; }
.mobile-menu__foot img { width: 44px; height: 44px; }

/* ================================================================== HERO */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: grid; place-items: center;
  padding: calc(var(--header-h) + 12px) var(--gutter) 72px;
  text-align: center;
  color: var(--ivory-100);
  overflow: hidden;
  /* Matches the vignetted field of the supplied logo artwork */
  background:
    radial-gradient(ellipse 46% 40% at 50% 32%, #16231c 0%, rgba(22, 35, 28, 0) 100%),
    radial-gradient(ellipse 90% 75% at 50% 36%, #121e17 0%, #0e1913 55%, #0a130e 100%);
}
.hero__inner { position: relative; display: flex; flex-direction: column; align-items: center; }

.hero__mark {
  position: relative;
  width: clamp(270px, min(50vh, 46vw), 540px);
}
.hero__logo { margin: 0; position: relative; z-index: 1; }
.hero__logo img {
  width: 100%; height: auto;
  /* Trim the artwork's empty field (layout only) and feather its square edge into the page */
  margin: -16% 0 -17%;
  -webkit-mask-image: radial-gradient(ellipse 50% 43% at 50% 49%, #000 76%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 43% at 50% 49%, #000 76%, transparent 100%);
}

.hero__ring {
  position: absolute; left: 50%; top: 44%;
  border-radius: 50%;
  border: 1px solid rgba(217, 181, 128, .13);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero__ring--outer { width: 132%; aspect-ratio: 1; border-color: rgba(217, 181, 128, .08); }
.hero__ring--inner { width: 112%; aspect-ratio: 1; }

.hero__ornament { margin: clamp(18px, 3vh, 30px) 0 clamp(20px, 3.2vh, 32px); }

.hero__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 1.5rem + 4vw, min(5.6rem, 8.6vh));
  line-height: 1.02;
  letter-spacing: -.015em;
  color: var(--ivory-100);
}
.hero__title .line { display: block; overflow: hidden; padding: 0 .06em .1em; }
.hero__title .line > span { display: inline-block; }
.hero__title em {
  font-style: italic;
  background: var(--gold-gradient);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-right: .06em;
}

.hero__lede {
  max-width: 34ch;
  margin-top: clamp(18px, 2.6vh, 28px);
  font-size: clamp(1.05rem, .98rem + .35vw, 1.25rem);
  line-height: 1.6;
  color: var(--mist);
}

.hero__discover {
  margin-top: clamp(28px, 4.4vh, 44px);
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .75rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-300);
}
.hero__discover svg {
  width: 40px; height: 40px; padding: 11px;
  border: 1px solid var(--gold-line-strong); border-radius: 50%;
  fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .5s var(--ease-out), background-color .4s, color .4s;
}
.hero__discover:hover svg { transform: translateX(4px); background: var(--gold-400); color: var(--forest-900); border-color: var(--gold-400); }


/* Hero entrance (only when JS is running) */
.js .hero__logo, .js .hero__ring, .js .hero__ornament, .js .hero__lede, .js .hero__discover { opacity: 0; }
.js .hero__title .line > span { transform: translateY(105%); }

.hero.is-loaded .hero__logo { animation: hero-logo 2s var(--ease-out) .1s forwards; }
.hero.is-loaded .hero__ring--inner { animation: hero-ring 2.4s var(--ease-out) .5s forwards; }
.hero.is-loaded .hero__ring--outer { animation: hero-ring 2.8s var(--ease-out) .7s forwards; }
.hero.is-loaded .hero__ornament { animation: fade-up 1.2s var(--ease-out) .9s forwards; }
.hero.is-loaded .hero__title .line > span { animation: line-up 1.3s var(--ease-out) forwards; }
.hero.is-loaded .hero__title .line:nth-child(1) > span { animation-delay: 1s; }
.hero.is-loaded .hero__title .line:nth-child(2) > span { animation-delay: 1.14s; }
.hero.is-loaded .hero__lede { animation: fade-up 1.2s var(--ease-out) 1.4s forwards; }
.hero.is-loaded .hero__discover { animation: fade-up 1.2s var(--ease-out) 1.6s forwards; }

@keyframes hero-logo { from { opacity: 0; transform: scale(.965); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes hero-ring { from { opacity: 0; transform: translate(-50%, -50%) scale(.86); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes line-up { to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { to { opacity: 1; } }

/* ================================================================= ABOUT */
.about__intro {
  background: var(--ivory-100);
  color: var(--charcoal-800);
  padding-block: var(--section-pad) clamp(72px, 9vw, 120px);
}
.about .section-label { color: var(--bronze-700); }
.about__intro .display { color: var(--charcoal-900); }
.about__intro .display em { color: var(--bronze-700); }

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 104px);
  align-items: end;
}
.about__copy { display: grid; gap: 20px; color: var(--charcoal-600); }
.about__copy .lead { color: var(--charcoal-900); }

/* Four elements strip */
.elements { margin-top: clamp(64px, 8vw, 112px); }
.elements__list {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(168, 117, 49, .45);
}
.elements__list li {
  position: relative;
  padding: 28px 24px 0 0;
  display: grid; gap: 10px;
}
.elements__list li::before {
  content: ""; position: absolute; top: -4.5px; left: 0;
  width: 8px; height: 8px; transform: rotate(45deg);
  background: var(--ivory-100);
  border: 1px solid var(--gold-600);
  transition: background-color .4s var(--ease-out);
}
.elements__list li:hover::before { background: var(--gold-500); }
.elements__num {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.125rem; color: var(--bronze-700); line-height: 1;
}
.elements__name {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 1.15rem + .8vw, 1.875rem);
  line-height: 1.15;
  color: var(--charcoal-900);
}
.elements__result {
  margin-top: 32px;
  display: flex; align-items: center; justify-content: flex-end; gap: 16px;
  font-size: .75rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--charcoal-600);
}
.elements__result::before {
  content: ""; flex: 0 1 120px; height: 1px; background: rgba(168, 117, 49, .45);
}
.elements__result em {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: 1.375rem; letter-spacing: 0; text-transform: none;
  color: var(--bronze-700);
}

/* Pillars band */
.pillars {
  background:
    radial-gradient(ellipse 60% 80% at 85% 0%, rgba(217, 181, 128, .07), transparent 60%),
    linear-gradient(180deg, var(--olive-800), var(--olive-900));
  padding-block: clamp(88px, 10vw, 144px);
}
.pillars__head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(24px, 5vw, 80px); align-items: start;
  margin-bottom: clamp(56px, 7vw, 96px);
}
.pillars__head .eyebrow { padding-top: 14px; }
.pillars__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
}
.pillar {
  position: relative;
  padding: clamp(36px, 4vw, 56px) clamp(24px, 3vw, 44px) clamp(40px, 4.4vw, 60px);
  transition: background-color .6s var(--ease-out);
}
.pillar + .pillar { border-left: 1px solid var(--gold-line); }
.pillar::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: var(--gold-gradient);
  transform: scaleX(0); transform-origin: left;
  transition: transform .9s var(--ease-out);
}
.pillar:hover { background: rgba(246, 227, 191, .035); }
.pillar:hover::before { transform: scaleX(1); }
.pillar__num {
  display: block;
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(4rem, 3rem + 3vw, 6rem); line-height: .9;
  background: var(--gold-gradient);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pillar__icon {
  width: 44px; height: 44px;
  margin: clamp(28px, 3.4vw, 44px) 0 22px;
  fill: none; stroke: var(--gold-400); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .6s var(--ease-out);
}
.pillar:hover .pillar__icon { transform: translateY(-4px); }
.pillar__title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); line-height: 1.1;
  color: var(--ivory-100);
  margin-bottom: 14px;
}
.pillar__title em { font-style: italic; font-weight: 400; color: var(--gold-300); }
.pillar p { color: var(--mist); max-width: 32ch; }

/* ========================================================= HOW IT WORKS */
.how {
  background:
    radial-gradient(ellipse 50% 40% at 0% 10%, rgba(217, 181, 128, .06), transparent 70%),
    var(--forest-900);
  padding-block: var(--section-pad);
}
.how__layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.how__aside { position: sticky; top: calc(68px + 56px); }
.how__intro { margin-top: 28px; max-width: 44ch; }

.how__progress { margin-top: clamp(40px, 6vh, 64px); max-width: 360px; }
.how__progress-count { display: flex; align-items: baseline; gap: 12px; }
.how__progress-count [data-step-current] {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(4rem, 3rem + 3vw, 6rem); line-height: .9;
  background: var(--gold-gradient);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  min-width: 2ch;
}
.how__progress-count small { font-size: .875rem; letter-spacing: .2em; color: var(--mist-soft); }
.how__progress-track { position: relative; height: 1px; margin: 22px 0 16px; background: var(--gold-line); }
.how__progress-track span {
  position: absolute; inset: 0;
  background: var(--gold-gradient);
  transform: scaleX(var(--p, .2)); transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.how__progress-label {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.375rem; color: var(--ivory-100);
  transition: opacity .3s;
}

/* Steps timeline */
.steps { position: relative; counter-reset: step; }
.steps::before, .steps::after {
  content: ""; position: absolute; left: 27.5px; top: 28px; width: 1px;
  height: var(--track, calc(100% - 56px));
}
.steps::before { background: var(--gold-line); }
.steps::after {
  background: linear-gradient(180deg, var(--gold-300), var(--gold-600));
  transform: scaleY(var(--progress, 0)); transform-origin: top;
  transition: transform .2s linear;
}
.step {
  position: relative;
  display: grid; grid-template-columns: 56px minmax(0, 1fr);
  gap: clamp(20px, 2.4vw, 36px);
}
.step + .step { margin-top: clamp(28px, 4vw, 48px); }
.step__marker {
  position: relative; z-index: 1;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--forest-900);
  border: 1px solid var(--gold-line-strong);
  font-family: var(--font-serif); font-size: 1.25rem; color: var(--gold-300);
  transition: background-color .6s var(--ease-out), color .6s var(--ease-out), box-shadow .6s var(--ease-out), border-color .6s;
}
.step.is-active .step__marker,
.step.is-done .step__marker {
  background: var(--gold-400); border-color: var(--gold-400); color: var(--forest-900);
}
.step.is-active .step__marker { box-shadow: 0 0 0 8px rgba(217, 181, 128, .1), 0 0 32px rgba(217, 181, 128, .25); }

.step__card {
  display: grid; grid-template-columns: 148px minmax(0, 1fr);
  gap: clamp(20px, 2.6vw, 36px); align-items: start;
  padding: clamp(24px, 2.8vw, 36px);
  background: linear-gradient(160deg, rgba(246, 227, 191, .045), rgba(246, 227, 191, .012));
  border: 1px solid rgba(217, 181, 128, .14);
  border-radius: var(--radius);
  transition: border-color .6s var(--ease-out), background-color .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.step.is-active .step__card {
  border-color: rgba(217, 181, 128, .45);
  background-color: rgba(246, 227, 191, .03);
  box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .7);
}

.step__visual {
  width: 100%; height: auto;
  fill: none; stroke: var(--gold-400); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round;
  opacity: .62;
  transition: opacity .6s var(--ease-out);
}
.step.is-active .step__visual { opacity: 1; }
.step__visual .fill { fill: rgba(217, 181, 128, .55); stroke: none; }
.step__visual .fill-soft { fill: rgba(217, 181, 128, .16); stroke: rgba(217, 181, 128, .4); }
.step__visual .faint { opacity: .4; }
.step__visual .faint-line { opacity: .45; }
.step__visual .bold { stroke-width: 3.2; }
.step__visual .dash { stroke-dasharray: 3 4; }
.step__visual .strike { stroke: rgba(242, 212, 163, .55); stroke-width: 1; }

.step__kicker {
  font-size: .6875rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 10px;
}
.step__title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.125rem); line-height: 1.12;
  color: var(--ivory-100);
  margin-bottom: 12px;
}
.step__body > p:not(.step__kicker) { color: var(--mist); }
.step__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.step__tags li {
  padding: 6px 12px;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  font-size: .75rem; font-weight: 500; letter-spacing: .04em;
  color: var(--gold-300);
}

.note {
  margin-top: clamp(64px, 8vw, 104px);
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr);
  gap: clamp(24px, 7vw, 120px);
  padding-top: 32px;
  border-top: 1px solid var(--gold-line);
}
.note__title {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.5rem; line-height: 1.25; color: var(--gold-300);
}
.note p:not(.note__title) { color: var(--mist); max-width: 62ch; font-size: .9375rem; }

/* ========================================================== THE PLATFORM */
.platform {
  background: var(--ivory-100);
  color: var(--charcoal-800);
  padding-block: var(--section-pad);
}
.platform .display { color: var(--charcoal-900); }
.platform .display em { color: var(--bronze-700); }
.platform__head {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 96px); align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.platform__intro { color: var(--charcoal-600); max-width: 46ch; }

.showcase {
  display: grid;
  grid-template-columns: minmax(250px, .78fr) minmax(0, 2fr);
  gap: clamp(20px, 2.6vw, 36px);
  align-items: start;
}

/* Capability selector */
.caps { display: flex; flex-direction: column; border-top: 1px solid rgba(38, 43, 39, .14); }
.cap {
  min-width: 0;
  position: relative;
  display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 8px;
  width: 100%;
  padding: 20px 20px 20px 22px;
  text-align: left;
  background: transparent;
  border: 0; border-bottom: 1px solid rgba(38, 43, 39, .14);
  border-radius: 0;
  transition: background-color .45s var(--ease-out), color .45s var(--ease-out);
}
.cap::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--gold-400);
  transform: scaleY(0); transition: transform .5s var(--ease-out);
}
.cap__num { font-family: var(--font-serif); font-style: italic; font-size: 1.125rem; line-height: 1.35; color: var(--bronze-700); }
.cap__text { display: grid; gap: 4px; }
.cap__title { font-weight: 600; font-size: .9375rem; line-height: 1.4; color: var(--charcoal-900); }
.cap__desc {
  font-size: .875rem; line-height: 1.55; color: var(--charcoal-600);
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .6s var(--ease-out), opacity .5s var(--ease-out);
}
.cap:hover { background: var(--ivory-200); }
.cap.is-active { background: var(--forest-850); }
.cap.is-active::before { transform: scaleY(1); }
.cap.is-active .cap__num { color: var(--gold-400); }
.cap.is-active .cap__title { color: var(--ivory-100); }
.cap.is-active .cap__desc { color: var(--mist); opacity: 1; max-height: 8em; }
.no-js .cap__desc { opacity: 1; max-height: none; }

/* Stage — dark presentation surface */
.stage {
  position: relative;
  display: flex; flex-direction: column; gap: 18px;
  padding: clamp(16px, 2.4vw, 32px);
  border-radius: 6px;
  background:
    radial-gradient(ellipse 70% 60% at 70% 0%, rgba(217, 181, 128, .1), transparent 70%),
    linear-gradient(160deg, var(--forest-800), var(--forest-900) 60%, var(--forest-950));
  box-shadow: 0 50px 90px -50px rgba(15, 26, 20, .8), inset 0 0 0 1px rgba(217, 181, 128, .18);
}
.stage__label {
  display: flex; align-items: center; gap: 10px;
  font-size: .6875rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-300);
}
.stage__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 0 4px rgba(217, 181, 128, .15); flex: none; }
.stage__caption {
  min-height: 3.2em;
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem); line-height: 1.4;
  color: var(--ivory-100);
}

/* Conceptual mock UI */
.mock {
  border-radius: 6px; overflow: hidden;
  background: var(--ivory-50);
  color: var(--charcoal-800);
  font-size: .8125rem; line-height: 1.45;
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .55);
}
.mock__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px;
  background: var(--forest-850);
  color: var(--mist);
  border-bottom: 1px solid rgba(217, 181, 128, .25);
}
.mock__crumb { font-size: .8125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock__crumb b { color: var(--ivory-100); font-weight: 600; }
.mock__crumb i { font-style: normal; color: var(--gold-500); margin: 0 6px; }
.mock__pills { display: flex; gap: 6px; flex: none; }
.pill { padding: 3px 10px; border-radius: 999px; font-size: .6875rem; font-weight: 600; letter-spacing: .06em; }
.pill--ghost { border: 1px solid rgba(201, 198, 184, .35); color: var(--mist); }
.pill--gold { background: rgba(217, 181, 128, .18); color: var(--gold-300); }

.mock__body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.12fr) minmax(0, .95fr);
  grid-template-areas:
    "q x r"
    "q x a"
    "e e p";
  gap: 12px;
  padding: 14px;
  background:
    linear-gradient(var(--ivory-200), var(--ivory-200)) 0 0 / 100% 1px no-repeat,
    var(--ivory-100);
}
.panel--q { grid-area: q; }
.panel--x { grid-area: x; }
.panel--r { grid-area: r; }
.panel--a { grid-area: a; }
.panel--e { grid-area: e; }
.panel--p { grid-area: p; }

.panel {
  position: relative;
  padding: 14px;
  background: #fffdf8;
  border: 1px solid #e3d9c4;
  border-radius: 4px;
  transition: opacity .55s var(--ease-out), box-shadow .55s var(--ease-out), border-color .55s var(--ease-out), transform .55s var(--ease-out);
}
.panel__title {
  font-size: .6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--charcoal-600);
  margin-bottom: 10px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Active region highlight */
.mock[data-active] .panel { opacity: .5; }
.mock[data-active="questionnaire"] .panel--q,
.mock[data-active="evidence"] .panel--e,
.mock[data-active="extraction"] .panel--x,
.mock[data-active="review"] .panel--r,
.mock[data-active="audit"] .panel--a,
.mock[data-active="report"] .panel--p {
  opacity: 1;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(195, 154, 92, .22), 0 14px 30px -18px rgba(29, 34, 30, .45);
  transform: translateY(-2px);
}
.mock[data-active="questionnaire"] .panel--q .panel__title,
.mock[data-active="evidence"] .panel--e .panel__title,
.mock[data-active="extraction"] .panel--x .panel__title,
.mock[data-active="review"] .panel--r .panel__title,
.mock[data-active="audit"] .panel--a .panel__title,
.mock[data-active="report"] .panel--p .panel__title { color: var(--bronze-700); }

/* Questionnaire panel */
.q-progress { display: flex; justify-content: space-between; gap: 8px; font-size: .75rem; color: var(--charcoal-600); }
.q-progress span:first-child { font-weight: 600; color: var(--charcoal-900); }
.bar { height: 4px; border-radius: 2px; background: var(--ivory-200); margin: 8px 0 12px; overflow: hidden; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-600), var(--gold-400)); border-radius: 2px; }
.q-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 8px; margin: 0 -8px;
  border-top: 1px solid #efe7d6;
  font-size: .8125rem; color: var(--charcoal-900);
}
.q-list li.is-current { background: rgba(217, 181, 128, .14); border-radius: 3px; border-top-color: transparent; }
.q-list li.is-current + li { border-top-color: transparent; }
.chip {
  flex: none;
  padding: 2px 8px; border-radius: 999px;
  font-size: .6875rem; font-weight: 600; white-space: nowrap;
}
.chip--review { background: rgba(195, 154, 92, .2); color: var(--bronze-700); }
.chip--evidence { background: #e8eee4; color: #2f4a35; }
.chip--extracted { border: 1px solid rgba(122, 85, 36, .4); color: var(--bronze-700); }
.chip--approved { background: var(--forest-800); color: var(--ivory-100); }
.chip--muted { background: #efebe2; color: #5c6159; }

/* Extraction / source panel */
.doc {
  padding: 14px 14px 12px;
  background: #fff;
  border: 1px solid #ebe3d2;
  border-radius: 3px;
  display: grid; gap: 7px;
  box-shadow: 0 1px 0 #ebe3d2, 0 4px 0 -1px #f7f2e7, 0 4px 0 0 #ebe3d2;
}
.doc__line { display: block; height: 5px; border-radius: 3px; background: #ebe4d6; }
.doc__hit {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap;
  margin: 2px -6px; padding: 6px;
  background: rgba(217, 181, 128, .28);
  border-left: 2px solid var(--gold-600);
  border-radius: 2px;
  font-size: .75rem; color: var(--charcoal-900);
}
.doc__hit b { font-weight: 700; }
.map { margin-top: 12px; font-size: .75rem; color: var(--charcoal-600); display: flex; align-items: center; gap: 6px; }
.map b { color: var(--charcoal-900); font-weight: 600; }
.map__arrow { color: var(--gold-600); font-size: 1rem; line-height: 1; }

/* Review panel */
.r-label { font-size: .75rem; color: var(--charcoal-600); }
.r-value { font-family: var(--font-serif); font-size: 2rem; font-weight: 500; line-height: 1.1; color: var(--charcoal-900); margin: 4px 0 2px; }
.r-value small { font-family: var(--font-sans); font-size: .8125rem; font-weight: 600; color: var(--charcoal-600); }
.r-meta { font-size: .6875rem; color: var(--charcoal-600); }
.r-actions { display: flex; gap: 8px; margin-top: 12px; }
.btn-mock {
  padding: 5px 12px; border-radius: 3px;
  border: 1px solid #cfc3aa; font-size: .75rem; font-weight: 600; color: var(--charcoal-800);
}
.btn-mock--solid { background: var(--forest-850); border-color: var(--forest-850); color: var(--ivory-100); }

/* Audit panel */
.a-list { position: relative; display: grid; gap: 8px; padding-left: 14px; }
.a-list::before { content: ""; position: absolute; left: 3px; top: 6px; bottom: 6px; width: 1px; background: #e0d4bb; }
.a-list li { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 6px; font-size: .75rem; color: var(--charcoal-900); }
.a-list li::before {
  content: ""; position: absolute; left: -14px; top: 5px;
  width: 7px; height: 7px; border-radius: 50%;
  background: #fffdf8; border: 1.5px solid var(--gold-600);
}
.a-list time { font-variant-numeric: tabular-nums; color: var(--charcoal-600); }

/* Evidence panel */
.files { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.files li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px; border: 1px solid #ebe3d2; border-radius: 3px; background: #fff;
}
.ftype {
  flex: none; display: grid; place-items: center;
  width: 32px; height: 38px;
  border: 1px solid #d8cbb0; border-radius: 2px;
  font-size: .5625rem; font-weight: 700; letter-spacing: .06em; color: var(--bronze-700);
  background: linear-gradient(225deg, var(--ivory-200) 8px, #fff 8px);
}
.fname { display: grid; font-size: .75rem; font-weight: 600; line-height: 1.35; color: var(--charcoal-900); min-width: 0; }
.fname small { font-weight: 500; color: var(--charcoal-600); font-size: .6875rem; margin-top: 2px; }

/* Report panel */
.p-name { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; line-height: 1.2; color: var(--charcoal-900); }
.p-sub { font-size: .75rem; color: var(--charcoal-600); margin-bottom: 10px; }
.p-steps { display: flex; gap: 6px; flex-wrap: wrap; }
.p-steps li {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .6875rem; font-weight: 600; color: var(--charcoal-800);
  padding: 3px 8px 3px 6px; border-radius: 999px; background: var(--ivory-100); border: 1px solid #e3d9c4;
}
.p-steps li::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  border: 1.5px solid var(--gold-600);
}
.p-steps li.done::before { background: var(--gold-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2.6 5.2l1.6 1.6 3.2-3.4' fill='none' stroke='%23fff' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.p-steps li.pending { border-style: dashed; color: var(--bronze-700); }

/* ========================================================== WHO IT'S FOR */
.who {
  background:
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(217, 181, 128, .07), transparent 70%),
    linear-gradient(180deg, var(--olive-800), var(--olive-900));
  padding-block: var(--section-pad);
}
.who__head {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  grid-template-areas: "label label" "title intro";
  column-gap: clamp(28px, 6vw, 96px); align-items: end;
  margin-bottom: clamp(56px, 7vw, 96px);
}
.who__head .section-label { grid-area: label; }
.who__head .display { grid-area: title; }
.who__intro { grid-area: intro; max-width: 40ch; }

.who__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  align-items: start;
}
.audience {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 500px;
  padding: clamp(32px, 3.2vw, 48px) clamp(26px, 2.8vw, 40px);
  border-radius: var(--radius);
  transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out), border-color .7s var(--ease-out);
}
.js .audience[data-reveal].is-visible:hover,
.no-js .audience:hover,
.audience:focus-within { transform: translateY(-8px); }
.audience::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--gold-gradient);
  transform: scaleX(0); transform-origin: left;
  transition: transform .9s var(--ease-out);
}
.audience:hover::after { transform: scaleX(1); }

.audience--forest {
  background: linear-gradient(170deg, var(--forest-800), var(--forest-900));
  border: 1px solid rgba(217, 181, 128, .22);
  color: var(--mist);
}
.audience--forest:hover { border-color: rgba(217, 181, 128, .5); box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .8); }
.audience--ivory {
  margin-top: clamp(0px, 4vw, 56px);
  background: var(--ivory-100);
  border: 1px solid var(--ivory-300);
  color: var(--charcoal-600);
}
.audience--ivory:hover { box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .7); }

.audience__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: clamp(64px, 8vw, 112px); }
.audience__num { font-family: var(--font-serif); font-style: italic; font-size: 1.75rem; line-height: 1; color: var(--gold-400); }
.audience--ivory .audience__num { color: var(--bronze-700); }
.audience__icon {
  width: 52px; height: 52px;
  fill: none; stroke: var(--gold-400); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .7s var(--ease-out);
}
.audience--ivory .audience__icon { stroke: var(--gold-600); }
.audience:hover .audience__icon { transform: rotate(-4deg) scale(1.06); }

.audience__title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(2rem, 1.6rem + 1.2vw, 2.75rem); line-height: 1.05;
  color: var(--ivory-100);
  margin-bottom: 16px;
}
.audience--ivory .audience__title { color: var(--charcoal-900); }
.audience > p { max-width: 30ch; }
.audience__focus { margin-top: auto; padding-top: 36px; }
.audience__focus p {
  font-size: .6875rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-400);
  padding-bottom: 12px; border-bottom: 1px solid var(--gold-line);
  margin-bottom: 4px;
}
.audience--ivory .audience__focus p { color: var(--bronze-700); border-bottom-color: rgba(168, 117, 49, .35); }
.audience__focus li {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 0;
  font-size: .9375rem;
  color: var(--ivory-100);
}
.audience--ivory .audience__focus li { color: var(--charcoal-900); }
.audience__focus li::before {
  content: ""; flex: none; width: 5px; height: 5px; transform: rotate(45deg);
  background: var(--gold-400);
}
.audience--ivory .audience__focus li::before { background: var(--gold-600); }

/* =============================================================== CONTACT */
.contact {
  background:
    radial-gradient(ellipse 50% 45% at 50% 30%, rgba(217, 181, 128, .09), transparent 70%),
    radial-gradient(ellipse 100% 80% at 50% 0%, var(--forest-850), var(--forest-950));
  padding-block: clamp(112px, 14vw, 200px);
  text-align: center;
}
.contact__inner { display: flex; flex-direction: column; align-items: center; }
.contact__emblem { position: relative; width: clamp(96px, 10vw, 128px); margin-bottom: clamp(36px, 5vw, 56px); }
.contact__emblem img { position: relative; z-index: 1; width: 100%; height: auto; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .5)); }
.contact__halo {
  position: absolute; inset: -18%;
  border-radius: 50%;
  border: 1px solid rgba(217, 181, 128, .28);
  animation: halo 5s var(--ease-out) infinite;
}
@keyframes halo {
  0% { transform: scale(.8); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}
.contact .display { max-width: 16ch; }
.contact .display em {
  background: var(--gold-gradient);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.contact__lede { margin-top: 28px; max-width: 48ch; color: var(--mist); }
.contact__actions {
  margin-top: clamp(40px, 5vw, 60px);
  display: flex; flex-direction: column; align-items: center; gap: 22px;
}
.contact__email {
  position: relative;
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(1.6rem, 1rem + 2.6vw, 3rem); line-height: 1.2;
  color: var(--gold-300);
  padding-bottom: 6px;
  word-break: break-word;
  transition: color .4s var(--ease-out);
}
.contact__email::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold-gradient);
  transform-origin: right; transition: transform .7s var(--ease-out);
}
.contact__email:hover { color: var(--gold-200); }
.contact__email:hover::after { transform: scaleX(0); transform-origin: left; animation: underline-in .7s var(--ease-out) .35s forwards; }
@keyframes underline-in { from { transform: scaleX(0); transform-origin: left; } to { transform: scaleX(1); transform-origin: left; } }

.copy-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  background: transparent;
  border: 1px solid var(--gold-line-strong); border-radius: 999px;
  font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--mist);
  transition: border-color .4s var(--ease-out), color .4s var(--ease-out), background-color .4s var(--ease-out);
}
.copy-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.copy-btn:hover { border-color: var(--gold-400); color: var(--ivory-100); background: rgba(217, 181, 128, .08); }
.copy-btn.is-copied { border-color: var(--gold-400); color: var(--gold-300); }

/* ================================================================ FOOTER */
.site-footer {
  background: var(--forest-950);
  border-top: 1px solid rgba(217, 181, 128, .14);
  padding: 44px 0 36px;
  font-size: .8125rem;
  color: var(--mist-soft);
}
.site-footer__grid {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px 40px;
}
.site-footer__brand { display: inline-flex; align-items: center; gap: 14px; color: var(--gold-300); letter-spacing: .06em; }
.site-footer__brand img { width: 40px; height: 40px; }
.site-footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; }
.site-footer__nav a { color: var(--mist); transition: color .3s; }
.site-footer__nav a:hover { color: var(--gold-300); }
.site-footer__copy { text-align: right; }
.site-footer__note {
  margin-top: 32px; padding-top: 22px;
  border-top: 1px solid rgba(217, 181, 128, .1);
  font-size: .75rem; color: var(--mist-soft);
}

/* ============================================================ RESPONSIVE */
@media (max-width: 1100px) {
  .primary-nav ul { gap: 22px; }
  .showcase { grid-template-columns: minmax(0, 1fr); }
  .caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 0; gap: 8px; }
  .cap { border: 1px solid rgba(38, 43, 39, .14); border-radius: var(--radius); padding: 16px; }
  .cap__desc { display: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .primary-nav ul { gap: 18px; }
  .primary-nav a { font-size: .6875rem; letter-spacing: .12em; }
  .primary-nav .nav-cta { padding: 9px 16px; }

  .about__grid, .platform__head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .elements__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; border-top: 0; }
  .elements__list li { border-top: 1px solid rgba(168, 117, 49, .45); }

  .pillars__head { grid-template-columns: minmax(0, 1fr); }
  .pillars__head .eyebrow { padding-top: 0; }
  .pillars__grid { grid-template-columns: minmax(0, 1fr); border-bottom: 0; }
  .pillar { border-bottom: 1px solid var(--gold-line); }
  .pillar + .pillar { border-left: 0; }
  .pillar { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 28px; align-items: start; }
  .pillar__num { grid-row: span 3; }
  .pillar__icon { margin: 4px 0 16px; }

  .how__layout { grid-template-columns: minmax(0, 1fr); }
  .how__aside { position: static; }
  .how__progress { display: none; }
  .note { grid-template-columns: minmax(0, 1fr); }

  .who__head { grid-template-columns: minmax(0, 1fr); grid-template-areas: "label" "title" "intro"; row-gap: 24px; }
  .who__grid { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .audience { min-height: 0; }
  .audience--ivory { margin-top: 0; }
  .audience__top { margin-bottom: 44px; }

  .site-footer__grid { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .site-footer__copy { text-align: center; }
  .site-footer__note { text-align: center; }
}

@media (min-width: 761px) and (max-width: 940px) {
  .mock__body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "q x"
      "q r"
      "a p"
      "e e";
  }
}

@media (max-width: 720px) {
  /* Tabs stay visible on phones: a single row that scrolls sideways */
  .site-header__inner { gap: 12px; }
  .brand img, .site-header.is-scrolled .brand img { width: 38px; height: 38px; }
  .primary-nav { flex: 1 1 auto; min-width: 0; }
  .primary-nav ul {
    gap: 16px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scrollbar-width: none;
    padding: 0 20px 0 8px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10px, #000 calc(100% - 28px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 10px, #000 calc(100% - 28px), transparent 100%);
  }
  .primary-nav ul::-webkit-scrollbar { display: none; }
  .primary-nav li { flex: none; }
  .primary-nav a { white-space: nowrap; }
  /* Contact becomes a plain tab here so the row stays compact */
  .site-header .primary-nav .nav-cta { padding: 8px 0; border: 0; border-radius: 0; color: var(--mist); background: transparent; }
  .site-header .primary-nav .nav-cta:hover { color: var(--ivory-100); background: transparent; }
  .site-header .primary-nav .nav-cta.is-current { color: var(--gold-300); background: transparent; }
}

@media (max-width: 760px) {
  .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cap { grid-template-columns: 28px minmax(0, 1fr); padding: 14px 12px; }
  .cap__title { font-size: .8125rem; }

  .mock__body {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "q" "e" "x" "r" "a" "p";
  }
  .files { grid-template-columns: minmax(0, 1fr); }
  /* On small screens, only the selected region is expanded */
  .mock[data-active] .panel { opacity: 1; transform: none; }
  .js .mock[data-active] .panel:not(.is-active) > :not(.panel__title) { display: none; }
  .js .mock[data-active] .panel:not(.is-active) { padding-block: 11px; }
  .js .mock[data-active] .panel:not(.is-active) .panel__title { margin-bottom: 0; color: #5c6159; }
  .mock__pills .pill--ghost { display: none; }
}

@media (max-width: 640px) {
  .hero { padding-bottom: 64px; }
  .hero__mark { width: min(88vw, 340px); }

  .elements__list { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .elements__list li { padding: 22px 0 22px; border-top: 1px solid rgba(168, 117, 49, .45); }
  .elements__list li:last-child { border-bottom: 1px solid rgba(168, 117, 49, .45); }
  .elements__list li::before { display: none; }
  .elements__list li { grid-template-columns: 36px 1fr; align-items: baseline; }
  .elements__result { justify-content: flex-start; flex-wrap: wrap; }
  .elements__result::before { display: none; }

  .pillar { grid-template-columns: minmax(0, 1fr); }
  .pillar__num { grid-row: auto; font-size: 3.5rem; }
  .pillar__icon { margin: 20px 0 16px; }

  .steps::before, .steps::after { left: 19.5px; top: 20px; }
  .step { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
  .step__marker { width: 40px; height: 40px; font-size: 1rem; }
  .step__card { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .step__visual { max-width: 132px; }

  .stage { padding: 12px; }
  .stage__label { letter-spacing: .12em; font-size: .625rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .hero__logo, .js .hero__ring, .js .hero__ornament, .js .hero__lede, .js .hero__discover { opacity: 1; }
  .js .hero__title .line > span { transform: none; }
  .contact__halo { display: none; }
}

/* ===================================================================
   V2 · TABBED VIEWS
   With JS, only the selected tab is displayed. Without JS the page
   falls back to a single scroll in the same order.
   =================================================================== */
.js:not([data-current="home"]) #home,
.js:not([data-current="about"]) #about,
.js:not([data-current="platform"]) #platform,
.js:not([data-current="how-it-works"]) #how-it-works,
.js:not([data-current="who"]) #who,
.js:not([data-current="contact"]) #contact { display: none; }

.js [data-view] { animation: view-in .9s var(--ease-out) both; }
@keyframes view-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* After the first intro, returning to Home simply fades in (no replay) */
.hero.is-settled .hero__logo,
.hero.is-settled .hero__ring,
.hero.is-settled .hero__ornament,
.hero.is-settled .hero__lede,
.hero.is-settled .hero__discover { opacity: 1; animation: none; }
.hero.is-settled .hero__title .line > span { transform: none; animation: none; }

/* Sliding gold indicator under the active tab */
.nav-indicator {
  position: absolute; left: 0; top: 0;
  width: 0; height: 1px;
  background: var(--gold-gradient);
  opacity: 0;
  pointer-events: none;
}
.nav-indicator.is-ready {
  transition: transform .6s var(--ease-out), width .6s var(--ease-out), opacity .4s var(--ease-out);
}
.primary-nav a.is-current { color: var(--gold-300); }
.primary-nav .nav-cta.is-current { color: var(--forest-900); }

/* Current tab inside the mobile menu */
.mobile-menu__nav a { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mobile-menu__nav a[aria-current="page"] { color: var(--gold-300); font-style: italic; }
.mobile-menu__nav a[aria-current="page"]::after {
  content: ""; width: 8px; height: 8px; flex: none;
  transform: rotate(45deg); border: 1px solid var(--gold-400); background: var(--gold-400);
}

/* "Next" link at the end of each inner tab */
.next-tab {
  background:
    radial-gradient(ellipse 50% 120% at 100% 50%, rgba(217, 181, 128, .08), transparent 70%),
    var(--forest-950);
  border-top: 1px solid rgba(217, 181, 128, .14);
}
.next-tab[hidden] { display: none; }
.next-tab__link {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: 12px clamp(20px, 4vw, 48px);
  padding-block: clamp(44px, 6vw, 72px);
  color: var(--ivory-100);
}
.next-tab__eyebrow {
  font-size: .75rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-400);
}
.next-tab__title {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.6rem); line-height: 1.05;
  transition: color .4s var(--ease-out);
}
.next-tab__arrow {
  width: 60px; height: 60px; padding: 18px;
  border: 1px solid var(--gold-line-strong); border-radius: 50%;
  fill: none; stroke: var(--gold-300); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .5s var(--ease-out), background-color .4s, stroke .4s, border-color .4s;
}
.next-tab__link:hover .next-tab__title { color: var(--gold-300); }
.next-tab__link:hover .next-tab__arrow { transform: translateX(6px); background: var(--gold-400); border-color: var(--gold-400); stroke: var(--forest-900); }

@media (max-width: 640px) {
  .next-tab__link { grid-template-columns: minmax(0, 1fr) auto; }
  .next-tab__eyebrow { grid-column: 1 / -1; }
  .next-tab__arrow { width: 52px; height: 52px; padding: 15px; }
}
