/* ==========================================================================
   ROAS MARKETING LAB LLC — homepage stylesheet
   --------------------------------------------------------------------------
   00. Design tokens              08. Portfolio / brand blocks
   01. Reset & base               09. Product visuals (CSS + SVG art)
   02. Utilities & layout         10. Incubating brands
   03. Buttons                    11. Growth engine
   04. Header & navigation        12. Results
   05. Hero                       13. Timeline
   06. Trust bar                  14. Testimonials
   07. Pillars                    15. FAQ
                                  16. Contact & form
                                  17. Footer
                                  18. Reveal animations
                                  19. Reduced motion
                                  20. Responsive
   Every colour lives in section 00. Nothing below it hard-codes a hex value.
   ========================================================================== */


/* ==========================================================================
   00. DESIGN TOKENS
   ========================================================================== */

:root {
  /* ---- Raw palette (the only place hex values appear) ------------------- */
  --c-ink:            #14120E;   /* near-black, warm */
  --c-ink-soft:       #262117;
  --c-bone:           #F7F4ED;   /* page background, light */
  --c-paper:          #FFFDF8;   /* card surface, light */
  --c-clay:           #E8E1D3;   /* hairlines & wells, light */
  --c-stone:          #56503F;   /* muted body text, light */

  --c-night:          #100E0B;   /* page background, dark */
  --c-night-soft:     #191612;   /* card surface, dark */
  --c-night-line:     #2C271F;   /* hairlines, dark */
  --c-chalk:          #F2EDE3;   /* body text, dark */
  --c-ash:            #A9A091;   /* muted body text, dark */

  --c-olive:          #5C7A3D;   /* brand 1 — decorative */
  --c-olive-ink:      #4F6B33;   /* brand 1 — AA text on light */
  --c-olive-deep:     #34491F;
  --c-olive-lift:     #9DC46B;   /* brand 1 — AA text on dark */
  --c-olive-tint:     #EDF1E4;
  --c-olive-tint-dk:  #151A11;

  --c-coffee:         #B0763A;   /* brand 2 — decorative */
  --c-coffee-ink:     #8A5620;   /* brand 2 — AA text on light */
  --c-coffee-deep:    #5A3512;
  --c-coffee-lift:    #E0A566;   /* brand 2 — AA text on dark */
  --c-coffee-tint:    #F8EFE2;
  --c-coffee-tint-dk: #1A1410;

  --c-gold:           #C9A227;   /* signal accent — decorative only on light */
  --c-gold-lift:      #E3C05A;
  --c-gold-ink:       #7A6110;   /* AA gold-family text on light */

  --c-alert:          #A3301F;   /* form errors, light */
  --c-alert-lift:     #F0907F;   /* form errors, dark */
  --c-success:        #2F6B3C;
  --c-success-lift:   #86C795;

  --c-white:          #FFFFFF;
  --c-transparent:    rgba(0, 0, 0, 0);

  /* ---- Semantic colours: LIGHT THEME (default) -------------------------- */
  --bg:               var(--c-bone);
  --bg-alt:           var(--c-paper);
  --bg-well:          var(--c-clay);
  --surface:          var(--c-paper);

  --text:             var(--c-ink);
  --text-muted:       var(--c-stone);

  /* --line-strong is used for control boundaries (inputs, ghost buttons),
     so it is mixed strong enough to clear the 3:1 non-text contrast rule. */
  --line:             var(--c-clay);
  --line-strong:      color-mix(in srgb, var(--c-ink) 55%, transparent);
  --line-faint:       color-mix(in srgb, var(--c-ink) 8%, transparent);

  --accent:           var(--c-gold);
  --accent-text:      var(--c-gold-ink);
  --focus:            var(--c-ink);
  --focus-halo:       color-mix(in srgb, var(--c-gold) 55%, transparent);

  --olive-text:       var(--c-olive-ink);
  --olive-solid:      var(--c-olive);
  --olive-surface:    var(--c-olive-tint);
  --olive-glow:       color-mix(in srgb, var(--c-olive) 26%, transparent);

  --coffee-text:      var(--c-coffee-ink);
  --coffee-solid:     var(--c-coffee);
  --coffee-surface:   var(--c-coffee-tint);
  --coffee-glow:      color-mix(in srgb, var(--c-coffee) 26%, transparent);

  --error:            var(--c-alert);
  --error-well:       color-mix(in srgb, var(--c-alert) 8%, transparent);
  --ok:               var(--c-success);

  /* Hero atmosphere */
  --hero-grid:        color-mix(in srgb, var(--c-ink) 6%, transparent);
  --hero-curve:       color-mix(in srgb, var(--c-ink) 12%, transparent);
  --hero-noise:       color-mix(in srgb, var(--c-ink) 4%, transparent);

  /* Shadows */
  --shadow-sm:  0 1px 2px color-mix(in srgb, var(--c-ink) 8%, transparent),
                0 2px 6px color-mix(in srgb, var(--c-ink) 5%, transparent);
  --shadow-md:  0 2px 6px color-mix(in srgb, var(--c-ink) 7%, transparent),
                0 12px 28px color-mix(in srgb, var(--c-ink) 9%, transparent);
  --shadow-lg:  0 4px 12px color-mix(in srgb, var(--c-ink) 8%, transparent),
                0 28px 64px color-mix(in srgb, var(--c-ink) 14%, transparent);
  --shadow-art: 0 40px 90px color-mix(in srgb, var(--c-ink) 22%, transparent);

  /* ---- Spacing: 8px scale ---------------------------------------------- */
  --sp-0: 0;
  --sp-1: 0.25rem;   /*  4px */
  --sp-2: 0.5rem;    /*  8px */
  --sp-3: 1rem;      /* 16px */
  --sp-4: 1.5rem;    /* 24px */
  --sp-5: 2rem;      /* 32px */
  --sp-6: 2.5rem;    /* 40px */
  --sp-7: 3rem;      /* 48px */
  --sp-8: 4rem;      /* 64px */
  --sp-9: 5rem;      /* 80px */
  --sp-10: 6rem;     /* 96px */
  --sp-11: 8rem;     /* 128px */

  --section-y: clamp(4rem, 3rem + 5vw, 8rem);
  --shell-max: 1200px;
  --shell-pad: clamp(1.25rem, 0.6rem + 2.6vw, 3rem);
  --measure: 68ch;

  /* ---- Radii ------------------------------------------------------------ */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* ---- Typography ------------------------------------------------------- */
  --font-display: ui-serif, Georgia, "Iowan Old Style", "Times New Roman", Times, serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --fs-xs:      0.8125rem;
  --fs-sm:      0.875rem;
  --fs-base:    clamp(1rem, 0.97rem + 0.14vw, 1.0625rem);
  --fs-md:      clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --fs-lg:      clamp(1.1875rem, 1.1rem + 0.4vw, 1.4375rem);
  --fs-xl:      clamp(1.4375rem, 1.28rem + 0.8vw, 1.9375rem);
  --fs-2xl:     clamp(1.75rem, 1.42rem + 1.5vw, 2.625rem);
  --fs-3xl:     clamp(2.125rem, 1.7rem + 2vw, 3.375rem);
  --fs-display: clamp(2.5rem, 1.55rem + 4.3vw, 5.125rem);

  --lh-tight: 1.06;
  --lh-snug: 1.22;
  --lh-body: 1.62;

  --track-wide: 0.14em;
  --track-caps: 0.09em;

  /* ---- Motion ----------------------------------------------------------- */
  --ease: cubic-bezier(0.22, 0.68, 0.32, 1);
  --dur-fast: 140ms;
  --dur: 260ms;
  --dur-slow: 640ms;

  /* ---- Layers ----------------------------------------------------------- */
  --z-art: 0;
  --z-content: 1;
  --z-scrim: 40;
  --z-header: 50;

  color-scheme: light;
}

/* ---- Semantic colours: DARK THEME --------------------------------------- */
:root[data-theme="dark"] {
  --bg:               var(--c-night);
  --bg-alt:           var(--c-night-soft);
  --bg-well:          var(--c-night-line);
  --surface:          var(--c-night-soft);

  --text:             var(--c-chalk);
  --text-muted:       var(--c-ash);

  --line:             var(--c-night-line);
  --line-strong:      color-mix(in srgb, var(--c-chalk) 45%, transparent);
  --line-faint:       color-mix(in srgb, var(--c-chalk) 10%, transparent);

  --accent:           var(--c-gold-lift);
  --accent-text:      var(--c-gold-lift);
  --focus:            var(--c-gold-lift);
  --focus-halo:       color-mix(in srgb, var(--c-gold-lift) 45%, transparent);

  --olive-text:       var(--c-olive-lift);
  --olive-solid:      var(--c-olive-lift);
  --olive-surface:    var(--c-olive-tint-dk);
  --olive-glow:       color-mix(in srgb, var(--c-olive-lift) 22%, transparent);

  --coffee-text:      var(--c-coffee-lift);
  --coffee-solid:     var(--c-coffee-lift);
  --coffee-surface:   var(--c-coffee-tint-dk);
  --coffee-glow:      color-mix(in srgb, var(--c-coffee-lift) 22%, transparent);

  --error:            var(--c-alert-lift);
  --error-well:       color-mix(in srgb, var(--c-alert-lift) 10%, transparent);
  --ok:               var(--c-success-lift);

  --hero-grid:        color-mix(in srgb, var(--c-chalk) 5%, transparent);
  --hero-curve:       color-mix(in srgb, var(--c-chalk) 11%, transparent);
  --hero-noise:       color-mix(in srgb, var(--c-chalk) 3%, transparent);

  --shadow-sm:  0 1px 2px color-mix(in srgb, var(--c-night) 60%, transparent),
                0 2px 6px color-mix(in srgb, var(--c-night) 40%, transparent);
  --shadow-md:  0 2px 6px color-mix(in srgb, var(--c-night) 50%, transparent),
                0 12px 28px color-mix(in srgb, var(--c-night) 55%, transparent);
  --shadow-lg:  0 4px 12px color-mix(in srgb, var(--c-night) 50%, transparent),
                0 28px 64px color-mix(in srgb, var(--c-night) 70%, transparent);
  --shadow-art: 0 40px 90px color-mix(in srgb, var(--c-night) 85%, transparent);

  color-scheme: dark;
}


/* ==========================================================================
   01. RESET & BASE
   ========================================================================== */

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

* { margin: 0; }

/* Author display rules below would otherwise beat the UA [hidden] rule and
   leave error messages and the success panel permanently on screen. */
[hidden] { display: none !important; }

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--lh-snug);
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

a {
  color: inherit;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
  transition: color var(--dur-fast) var(--ease),
              text-decoration-color var(--dur-fast) var(--ease);
}
a:hover { text-decoration-color: currentColor; }

ul, ol { list-style: none; padding: 0; }

img, svg { display: block; max-width: 100%; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button { cursor: pointer; background: none; border: none; }

address { font-style: normal; }

::selection {
  background: var(--accent);
  color: var(--c-ink);
}

/* ---- Focus: always visible, never removed ------------------------------- */
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}
:focus:not(:focus-visible) { outline: none; }

/* ---- Skip link ---------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: var(--sp-3);
  top: var(--sp-3);
  z-index: 100;
  transform: translateY(-160%);
  background: var(--text);
  color: var(--bg);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}


/* ==========================================================================
   02. UTILITIES & LAYOUT
   ========================================================================== */

.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--shell-pad);
}

.section { padding-block: var(--section-y); }

.section-head {
  max-width: 62ch;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(2.5rem, 1.8rem + 3vw, 4.5rem);
}
.section-head--left {
  text-align: left;
  margin-inline: 0;
}

.eyebrow {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: var(--sp-3);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  justify-content: center;
}
.section-head--left .eyebrow,
.hero .eyebrow,
.contact__pitch .eyebrow { justify-content: flex-start; }

.eyebrow::before {
  content: "";
  inline-size: 1.75rem;
  block-size: 2px;
  background: var(--accent);
  flex: none;
}

.section-title {
  font-size: var(--fs-2xl);
  margin-bottom: var(--sp-4);
}

.section-lede {
  font-size: var(--fs-md);
  color: var(--text-muted);
  max-width: var(--measure);
}
.section-head:not(.section-head--left) .section-lede { margin-inline: auto; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  padding: var(--sp-1) var(--sp-3);
  border: 1px solid currentColor;
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-4);
}


/* ==========================================================================
   03. BUTTONS
   ========================================================================== */

.btn {
  --btn-bg: var(--text);
  --btn-fg: var(--bg);
  --btn-bd: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-5);
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--fs-sm);
  font-weight: 650;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease),
              background-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn--primary {
  --btn-bg: var(--text);
  --btn-fg: var(--bg);
  --btn-bd: var(--text);
}
.btn--primary:hover {
  --btn-bg: var(--c-ink-soft);
  --btn-fg: var(--c-bone);
  --btn-bd: var(--c-ink-soft);
}
:root[data-theme="dark"] .btn--primary:hover {
  --btn-bg: var(--c-white);
  --btn-fg: var(--c-ink);
  --btn-bd: var(--c-white);
}

.btn--ghost {
  --btn-bg: var(--c-transparent);
  --btn-fg: var(--text);
  --btn-bd: var(--line-strong);
}
.btn--ghost:hover { --btn-bd: var(--text); }

.btn--sm { padding: var(--sp-2) var(--sp-4); font-size: var(--fs-xs); }
.btn--block { width: 100%; }

.btn__arrow {
  inline-size: 1.15em;
  block-size: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--dur) var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(3px); }


/* ==========================================================================
   04. HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line-faint);
  transition: box-shadow var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  min-block-size: 4.5rem;
}

/* ---- Wordmark (pure CSS + SVG, no image) -------------------------------- */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  flex: none;
  margin-inline-end: auto;
}
.wordmark__mark {
  inline-size: 2.25rem;
  block-size: 2.25rem;
  flex: none;
}
.wordmark__mark svg { inline-size: 100%; block-size: 100%; }
.wm-plate { fill: var(--text); }
.wm-glyph {
  fill: none;
  stroke: var(--accent);
  stroke-width: 6;
  stroke-linecap: square;
}
.wordmark__text { display: flex; flex-direction: column; line-height: 1.1; }
.wordmark__name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.wordmark__thin { font-weight: 400; letter-spacing: 0.01em; }
.wordmark__sub {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---- Desktop nav -------------------------------------------------------- */
.nav {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}
.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 0.2rem + 1.4vw, 1.75rem);
}
.nav__list a {
  position: relative;
  font-size: var(--fs-sm);
  font-weight: 550;
  text-decoration: none;
  padding-block: var(--sp-2);
  color: var(--text-muted);
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.15rem;
  block-size: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__list a:hover { color: var(--text); }
.nav__list a:hover::after { transform: scaleX(1); }

.header__tools {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex: none;
}

/* ---- Theme toggle ------------------------------------------------------- */
.theme-toggle {
  inline-size: 2.5rem;
  block-size: 2.5rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--text-muted);
  transition: color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              background-color var(--dur-fast) var(--ease);
}
.theme-toggle:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: var(--bg-alt);
}
.theme-toggle__icons { display: grid; place-items: center; }
.theme-toggle svg {
  grid-area: 1 / 1;
  inline-size: 1.15rem;
  block-size: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.icon-moon { opacity: 0; transform: rotate(-45deg) scale(0.6); }
:root[data-theme="dark"] .icon-sun { opacity: 0; transform: rotate(45deg) scale(0.6); }
:root[data-theme="dark"] .icon-moon { opacity: 1; transform: none; }

/* ---- Hamburger ---------------------------------------------------------- */
.hamburger {
  display: none;
  inline-size: 2.5rem;
  block-size: 2.5rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
}
.hamburger__box {
  display: grid;
  gap: 4px;
  inline-size: 1.1rem;
}
.hamburger__bar {
  display: block;
  block-size: 2px;
  background: var(--text);
  border-radius: var(--r-xs);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.hamburger[aria-expanded="true"] .hamburger__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] .hamburger__bar:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] .hamburger__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: var(--z-scrim);
  background: color-mix(in srgb, var(--c-ink) 45%, transparent);
  backdrop-filter: blur(2px);
}


/* ==========================================================================
   05. HERO
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 2rem + 7vw, 8rem) clamp(3.5rem, 2rem + 6vw, 7rem);
  isolation: isolate;
  border-bottom: 1px solid var(--line-faint);
}

.hero__art {
  position: absolute;
  inset: 0;
  z-index: var(--z-art);
  pointer-events: none;
}

/* Two soft brand-coloured light sources */
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.85;
}
.hero__glow--olive {
  inline-size: min(46rem, 90vw);
  block-size: min(46rem, 90vw);
  top: -22%;
  left: -14%;
  background: radial-gradient(circle at 50% 50%,
              var(--olive-glow) 0%,
              color-mix(in srgb, var(--olive-solid) 8%, transparent) 45%,
              var(--c-transparent) 70%);
}
.hero__glow--amber {
  inline-size: min(42rem, 86vw);
  block-size: min(42rem, 86vw);
  bottom: -30%;
  right: -12%;
  background: radial-gradient(circle at 50% 50%,
              var(--coffee-glow) 0%,
              color-mix(in srgb, var(--coffee-solid) 8%, transparent) 45%,
              var(--c-transparent) 70%);
}

/* Fine editorial grid */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--hero-grid) 1px, var(--c-transparent) 1px),
    linear-gradient(to bottom, var(--hero-grid) 1px, var(--c-transparent) 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%,
              var(--c-ink) 0%, var(--c-transparent) 100%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%,
              var(--c-ink) 0%, var(--c-transparent) 100%);
}

/* Hand-drawn "growth" curves */
.hero__curve {
  position: absolute;
  inset-inline: 0;
  bottom: -4%;
  block-size: 70%;
  inline-size: 100%;
}
.hero__curve .curve {
  fill: none;
  stroke: var(--hero-curve);
  stroke-width: 1.5;
  stroke-linecap: round;
}
.hero__curve .curve--1 { stroke: var(--olive-glow); stroke-width: 2; }
.hero__curve .curve--3 { stroke: var(--coffee-glow); stroke-width: 2; }

/* Concentric rings, conic-gradient rims */
.hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line-faint);
}
.hero__ring--a {
  inline-size: 30rem;
  block-size: 30rem;
  top: 8%;
  right: 4%;
  background:
    conic-gradient(from 210deg,
      var(--c-transparent) 0deg,
      var(--coffee-glow) 90deg,
      var(--c-transparent) 200deg);
  -webkit-mask-image: radial-gradient(circle, var(--c-transparent) 62%, var(--c-ink) 63%);
  mask-image: radial-gradient(circle, var(--c-transparent) 62%, var(--c-ink) 63%);
  opacity: 0.6;
}
.hero__ring--b {
  inline-size: 18rem;
  block-size: 18rem;
  bottom: 12%;
  left: 6%;
  background:
    conic-gradient(from 30deg,
      var(--c-transparent) 0deg,
      var(--olive-glow) 110deg,
      var(--c-transparent) 220deg);
  -webkit-mask-image: radial-gradient(circle, var(--c-transparent) 66%, var(--c-ink) 67%);
  mask-image: radial-gradient(circle, var(--c-transparent) 66%, var(--c-ink) 67%);
  opacity: 0.7;
}

/* Very subtle grain built from repeating gradients (no image) */
.hero__noise {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    repeating-linear-gradient(115deg, var(--hero-noise) 0 1px, var(--c-transparent) 1px 4px),
    repeating-linear-gradient(-25deg, var(--hero-noise) 0 1px, var(--c-transparent) 1px 5px);
  -webkit-mask-image: linear-gradient(to bottom, var(--c-ink), var(--c-transparent));
  mask-image: linear-gradient(to bottom, var(--c-ink), var(--c-transparent));
}

.hero__inner {
  position: relative;
  z-index: var(--z-content);
}

.hero__title {
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin-bottom: var(--sp-5);
}
.hero__title em {
  display: block;
  font-style: italic;
  color: var(--text-muted);
}

.hero__lede {
  font-size: var(--fs-lg);
  color: var(--text-muted);
  max-width: 56ch;
  margin-bottom: var(--sp-7);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: clamp(3rem, 2rem + 4vw, 5.5rem);
}

/* ---- KPI strip ---------------------------------------------------------- */
.kpi {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.kpi__item {
  background: color-mix(in srgb, var(--bg-alt) 82%, transparent);
  padding: var(--sp-5) var(--sp-4);
  display: flex;
  flex-direction: column-reverse;
  gap: var(--sp-2);
}
.kpi__label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}
.kpi__value {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}


/* ==========================================================================
   06. TRUST BAR
   ========================================================================== */

.trust {
  padding-block: var(--sp-8);
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line-faint);
}
.trust__title {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  text-align: center;
  color: var(--text-muted);
  margin-bottom: var(--sp-6);
}
.trust__list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  gap: var(--sp-5) var(--sp-4);
}
.trust__logo svg {
  inline-size: 100%;
  block-size: auto;
  max-block-size: 2.25rem;
  color: var(--text-muted);
  opacity: 0.9;                      /* kept high so the marks stay AA-legible */
  transition: opacity var(--dur) var(--ease), color var(--dur) var(--ease);
}
.trust__logo:hover svg { opacity: 1; color: var(--text); }

.tl-stroke {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tl-stroke--thin { stroke-width: 1.2; }
.tl-text {
  fill: currentColor;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.tl-text--sm { font-size: 7px; letter-spacing: 0.22em; }


/* ==========================================================================
   07. PILLARS — "What we do"
   ========================================================================== */

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(15.5rem, 100%), 1fr));
  gap: var(--sp-2);
  counter-reset: pillar;
}

.pillar {
  position: relative;
  padding: var(--sp-6) var(--sp-5) var(--sp-6);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.pillar::before {
  content: "";
  position: absolute;
  inset-inline: var(--sp-5);
  top: 0;
  block-size: 3px;
  background: linear-gradient(to right, var(--accent), var(--c-transparent));
  border-radius: var(--r-pill);
}
.pillar__num {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--track-wide);
  color: var(--accent-text);
}
.pillar__icon {
  inline-size: 2.75rem;
  block-size: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--bg-well);
  color: var(--text);
}
.pillar__icon svg { inline-size: 1.6rem; block-size: 1.6rem; }
.pillar__title { font-size: var(--fs-lg); }
.pillar p { color: var(--text-muted); font-size: var(--fs-sm); }

/* Shared icon stroke system */
.ic-stroke {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ic-stroke--thin { stroke-width: 1.3; }
.ic-fill { fill: currentColor; }


/* ==========================================================================
   08. PORTFOLIO — brand feature blocks
   ========================================================================== */

.portfolio { padding-bottom: var(--section-y); }

.brand {
  --brand-text: var(--text);
  --brand-solid: var(--text);
  --brand-surface: var(--bg-alt);
  position: relative;
  padding-block: clamp(3rem, 2rem + 4vw, 6rem);
  margin-block: var(--sp-7);
  background: var(--brand-surface);
  border-block: 1px solid var(--line-faint);
  overflow: hidden;
}

/* Brand 1 — olive family */
.brand--olive {
  --brand-text: var(--olive-text);
  --brand-solid: var(--olive-solid);
  --brand-surface: var(--olive-surface);
  --brand-glow: var(--olive-glow);
}

/* Brand 2 — coffee / amber family */
.brand--coffee {
  --brand-text: var(--coffee-text);
  --brand-solid: var(--coffee-solid);
  --brand-surface: var(--coffee-surface);
  --brand-glow: var(--coffee-glow);
}

/* Soft brand-tinted corner wash */
.brand::after {
  content: "";
  position: absolute;
  inline-size: 40rem;
  block-size: 40rem;
  border-radius: 50%;
  top: -35%;
  right: -12%;
  background: radial-gradient(circle, var(--brand-glow) 0%, var(--c-transparent) 68%);
  filter: blur(40px);
  pointer-events: none;
}
.brand--flip::after { right: auto; left: -12%; }

.brand__inner {
  position: relative;
  z-index: var(--z-content);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}
.brand--flip .brand__inner { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.brand--flip .brand__content { order: 2; }
.brand--flip .brand__visual { order: 1; }

.brand__content .badge { color: var(--brand-text); }

.brand__name {
  font-size: var(--fs-3xl);
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-2);
}
.brand__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-lg);
  color: var(--brand-text);
  margin-bottom: var(--sp-5);
}
.brand__story {
  color: var(--text-muted);
  max-width: 60ch;
  margin-bottom: var(--sp-4);
}

.brand__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(8rem, 100%), 1fr));
  gap: var(--sp-3);
  padding-block: var(--sp-4);
  margin-block: var(--sp-4) var(--sp-6);
  border-block: 1px solid var(--line-strong);
}
.brand__facts li {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.brand__facts strong {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--text-muted);
}

.sku-heading {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-3);
}

.sku-list { display: grid; gap: var(--sp-1); }

.sku {
  padding: var(--sp-4);
  border-radius: var(--r-sm);
  border: 1px solid var(--c-transparent);
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  transition: background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.sku:hover {
  background: var(--surface);
  border-color: var(--line-strong);
  transform: translateX(4px);
}
.sku__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-bottom: var(--sp-1);
}
.sku__name {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 600;
}
.sku__price {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--brand-text);
  flex: none;
}
.sku__meta {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-2);
}
.sku__note { font-size: var(--fs-sm); color: var(--text-muted); }


/* ==========================================================================
   09. BRAND LOGO LOCKUPS — hand-written SVG emblem + type, no images
   ========================================================================== */

.brand__visual { position: sticky; top: 7rem; }

.visual-stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(2.5rem, 2rem + 3vw, 4.5rem) var(--sp-5);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-faint);
  background:
    linear-gradient(160deg,
      color-mix(in srgb, var(--surface) 70%, transparent) 0%,
      color-mix(in srgb, var(--brand-solid) 8%, transparent) 100%);
  overflow: hidden;
  isolation: isolate;
}

.stage-halo {
  position: absolute;
  inline-size: 22rem;
  block-size: 22rem;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-glow) 0%, var(--c-transparent) 65%);
  filter: blur(20px);
  z-index: 0;
}

.visual-caption {
  position: relative;
  z-index: 3;
  margin-top: var(--sp-6);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---- The lockup --------------------------------------------------------- */
.brandmark {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: var(--sp-2);
  text-align: center;
  color: var(--brand-text);
}

.brandmark__emblem {
  inline-size: clamp(3.5rem, 2.6rem + 3vw, 5rem);
  block-size: clamp(3.5rem, 2.6rem + 3vw, 5rem);
  margin-bottom: var(--sp-3);
}
.brandmark__emblem svg { inline-size: 100%; block-size: 100%; }

/* Emblem drawing system — everything inherits the brand accent */
.bm-ring {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  opacity: 0.45;
}
.bm-stroke {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}
.bm-stroke--thin { stroke-width: 1.2; opacity: 0.5; }
.bm-leaf path { fill: currentColor; }
.bm-fruit { fill: currentColor; opacity: 0.8; }
.bm-star { fill: currentColor; }

.brandmark__name {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.15rem + 2.4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--text);
  max-inline-size: 11ch;
}

/* text-indent compensates the trailing letter-space so the word stays
   optically centred rather than sitting a few pixels left. */
.brandmark__word2 {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.38em;
  text-indent: 0.38em;
  text-transform: uppercase;
}

.brandmark__rule {
  inline-size: 3.25rem;
  block-size: 1px;
  background: currentColor;
  opacity: 0.4;
  margin-block: var(--sp-3) var(--sp-2);
}

.brandmark__sub {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--text-muted);
}

.brandmark__est {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: var(--track-wide);
  color: var(--text-muted);
  opacity: 0.85;
}


/* ==========================================================================
   10. INCUBATING BRANDS
   ========================================================================== */

.incubator { margin-top: clamp(3rem, 2rem + 3vw, 5rem); }
.incubator__head { max-width: 48ch; margin-bottom: var(--sp-6); }
.incubator__title { font-size: var(--fs-xl); margin-bottom: var(--sp-3); }
.incubator__head p { color: var(--text-muted); }

.incubator__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr));
  gap: var(--sp-4);
}

.mini-card {
  --mini-accent: var(--accent-text);
  position: relative;
  padding: var(--sp-6);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.mini-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mini-card::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 0;
  inline-size: 4px;
  background: linear-gradient(to bottom, var(--mini-accent), var(--c-transparent));
}
.mini-card--salt { --mini-accent: var(--olive-text); }
.mini-card--bitter { --mini-accent: var(--coffee-text); }

.mini-card__glyph {
  display: grid;
  place-items: center;
  inline-size: 3rem;
  block-size: 3rem;
  border-radius: var(--r-sm);
  background: var(--bg-well);
  color: var(--mini-accent);
  margin-bottom: var(--sp-4);
}
.mini-card__glyph svg { inline-size: 1.75rem; block-size: 1.75rem; }
.mini-card__stage {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--mini-accent);
  margin-bottom: var(--sp-2);
}
.mini-card__name { font-size: var(--fs-xl); margin-bottom: var(--sp-3); }
.mini-card__desc { color: var(--text-muted); font-size: var(--fs-sm); margin-bottom: var(--sp-5); }
.mini-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.mini-card__stats span {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--text);
}


/* ==========================================================================
   11. GROWTH ENGINE
   ========================================================================== */

.engine {
  background: var(--bg-alt);
  border-block: 1px solid var(--line-faint);
}
.engine__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr));
  gap: var(--sp-5);
}
.cap {
  padding: var(--sp-6) var(--sp-5);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.cap:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.cap__icon {
  inline-size: 3rem;
  block-size: 3rem;
  display: grid;
  place-items: center;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  color: var(--accent-text);
}
.cap__icon svg { inline-size: 1.6rem; block-size: 1.6rem; }
.cap__title { font-size: var(--fs-lg); }
.cap p { color: var(--text-muted); font-size: var(--fs-sm); }
.cap__meta {
  margin-top: auto;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line);
  font-size: var(--fs-xs) !important;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text) !important;
}


/* ==========================================================================
   12. RESULTS
   ========================================================================== */

/* Fixed 3 columns rather than auto-fit: there are exactly six metrics, and
   auto-fit leaves an orphan cell that shows through as a bare divider block. */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}
.metric {
  background: var(--surface);
  padding: var(--sp-6) var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.metric__value {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
}
.metric__label { font-size: var(--fs-sm); font-weight: 600; }
.metric__delta {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-muted);
}
.metric__delta--up { color: var(--ok); }

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(22rem, 100%), 1fr));
  gap: var(--sp-5);
}
.case {
  --case-accent: var(--accent-text);
  position: relative;
  padding: var(--sp-7) var(--sp-6);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(155deg,
      color-mix(in srgb, var(--case-accent) 7%, transparent) 0%,
      var(--c-transparent) 55%),
    var(--surface);
}
.case--olive { --case-accent: var(--olive-text); }
.case--coffee { --case-accent: var(--coffee-text); }

.case__brand {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--case-accent);
  margin-bottom: var(--sp-3);
}
.case__title { font-size: var(--fs-xl); margin-bottom: var(--sp-4); }
.case__body { color: var(--text-muted); font-size: var(--fs-sm); margin-bottom: var(--sp-5); }
.case__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(9rem, 100%), 1fr));
  gap: var(--sp-4);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
}
.case__stats li { font-size: var(--fs-xs); color: var(--text-muted); }
.case__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--case-accent);
  letter-spacing: -0.02em;
}


/* ==========================================================================
   13. TIMELINE
   ========================================================================== */

.timeline {
  position: relative;
  max-width: 56rem;
  margin-inline: auto;
  display: grid;
  gap: var(--sp-2);
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0.75rem;
  bottom: 2rem;
  left: 5.75rem;
  inline-size: 2px;
  background: linear-gradient(to bottom,
    var(--accent), var(--line-strong) 30%, var(--line));
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: var(--sp-6);
  padding: var(--sp-4) var(--sp-4) var(--sp-5) 0;
}
.timeline__item::before {
  content: "";
  position: absolute;
  left: 5.25rem;
  top: 1.9rem;
  inline-size: 1.05rem;
  block-size: 1.05rem;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  z-index: 1;
}
.timeline__year {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-muted);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.timeline__title { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.timeline__body p { color: var(--text-muted); font-size: var(--fs-sm); max-width: 58ch; }


/* ==========================================================================
   14. TESTIMONIALS
   ========================================================================== */

.testimonials {
  background: var(--bg-alt);
  border-block: 1px solid var(--line-faint);
}
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr));
  gap: var(--sp-4);
}
.quote {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: var(--sp-6);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--bg);
}
.quote__glyph {
  inline-size: 2.25rem;
  block-size: 1.8rem;
  fill: var(--accent);
  opacity: 0.5;
  flex: none;
}
.quote blockquote p {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  line-height: 1.5;
}
.quote__by {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: auto;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
}

/* Monogram avatars, generated with CSS only */
.avatar {
  inline-size: 2.75rem;
  block-size: 2.75rem;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c-bone);
  box-shadow: inset 0 -6px 14px color-mix(in srgb, var(--c-ink) 22%, transparent);
}
/* Mid stops use the AA-safe ink variants so the bone monogram clears 4.5:1
   at every point of the sweep, not just the dark end. */
.avatar--olive  { background: conic-gradient(from 160deg, var(--c-olive-deep), var(--c-olive-ink), var(--c-olive-deep)); }
.avatar--coffee { background: conic-gradient(from 200deg, var(--c-coffee-deep), var(--c-coffee-ink), var(--c-coffee-deep)); }
.avatar--neutral{ background: conic-gradient(from 120deg, var(--c-ink), var(--c-stone), var(--c-ink)); }

.quote__name { display: block; font-weight: 650; font-size: var(--fs-sm); }
.quote__role { display: block; font-size: var(--fs-xs); color: var(--text-muted); }


/* ==========================================================================
   15. FAQ
   ========================================================================== */

.faq__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}
.faq .section-head { margin-bottom: 0; position: sticky; top: 7rem; }
.faq .section-head .btn { margin-top: var(--sp-5); }

.accordion { display: grid; gap: var(--sp-2); }

.acc {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.acc:hover { border-color: var(--line-strong); }
.acc[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }

.acc__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 600;
}
.acc__q::-webkit-details-marker { display: none; }
.acc__q:focus-visible { outline-offset: -3px; }

.acc__chevron {
  flex: none;
  inline-size: 1.75rem;
  block-size: 1.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--text-muted);
  transition: transform var(--dur) var(--ease),
              background-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
}
.acc__chevron svg {
  inline-size: 1rem;
  block-size: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.acc[open] .acc__chevron {
  transform: rotate(180deg);
  background: var(--accent);
  color: var(--c-ink);
}

.acc__a {
  padding: 0 var(--sp-5) var(--sp-5);
  color: var(--text-muted);
  font-size: var(--fs-sm);
  max-width: 68ch;
}


/* ==========================================================================
   16. CONTACT & FORM
   ========================================================================== */

.contact {
  position: relative;
  background:
    radial-gradient(ellipse 60% 50% at 12% 0%, var(--olive-glow) 0%, var(--c-transparent) 60%),
    radial-gradient(ellipse 55% 55% at 92% 100%, var(--coffee-glow) 0%, var(--c-transparent) 62%),
    var(--bg);
  border-top: 1px solid var(--line-faint);
}
.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 1rem + 5vw, 5rem);
  align-items: start;
}
.contact .section-title { font-size: var(--fs-2xl); }

.contact__points {
  display: grid;
  gap: var(--sp-3);
  margin-block: var(--sp-6);
}
.contact__points li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  font-weight: 550;
}
.tick {
  inline-size: 1.35rem;
  block-size: 1.35rem;
  flex: none;
  fill: none;
  stroke: var(--ok);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact__address {
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.8;
}
.contact__address a { color: var(--text); font-weight: 600; }

/* ---- Form --------------------------------------------------------------- */
.contact__form-wrap {
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-4);
}
.field { display: grid; gap: var(--sp-2); }
.field--full { grid-column: 1 / -1; }

.field label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--text-muted);
}
.req { color: var(--error); }

.field input,
.field select,
.field textarea,
.newsletter input {
  inline-size: 100%;
  padding: var(--sp-3);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--bg);
  color: var(--text);
  font-size: var(--fs-sm);
  transition: border-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease),
              background-color var(--dur-fast) var(--ease);
}
.field textarea { resize: vertical; min-block-size: 8rem; line-height: 1.55; }
.field input::placeholder,
.field textarea::placeholder,
.newsletter input::placeholder { color: var(--text-muted); opacity: 0.85; }

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--text-muted); }

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible,
.newsletter input:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
  box-shadow: 0 0 0 4px var(--focus-halo);
}

/* Invalid state driven by JS-applied attribute, not :invalid, so errors
   only appear after a submit or blur. */
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.newsletter input[aria-invalid="true"] {
  border-color: var(--error);
  background: var(--error-well);
}

.select-wrap { position: relative; display: grid; }
.select-wrap select {
  appearance: none;
  padding-right: var(--sp-8);
  cursor: pointer;
}
.select-wrap__chevron {
  position: absolute;
  right: var(--sp-3);
  top: 50%;
  transform: translateY(-50%);
  inline-size: 1.1rem;
  block-size: 1.1rem;
  pointer-events: none;
  fill: none;
  stroke: var(--text-muted);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hint { font-size: var(--fs-xs); color: var(--text-muted); }
.error {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--error);
}
.error::before {
  content: "";
  inline-size: 0.85rem;
  block-size: 0.85rem;
  flex: none;
  border-radius: 50%;
  border: 2px solid currentColor;
}

.form__foot { gap: var(--sp-3); }
.form__legal { font-size: var(--fs-xs); color: var(--text-muted); }
.form__status {
  grid-column: 1 / -1;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--error);
}
.form__status:empty { display: none; }

/* Submitting state */
.form.is-sending #submit-btn { opacity: 0.7; pointer-events: none; }

/* ---- Success state ------------------------------------------------------- */
.form-success {
  display: grid;
  justify-items: start;
  gap: var(--sp-4);
  padding-block: var(--sp-5);
}
.form-success__mark {
  inline-size: 3.5rem;
  block-size: 3.5rem;
  color: var(--ok);
}
.form-success__mark svg { inline-size: 100%; block-size: 100%; }
.form-success h3 { font-size: var(--fs-xl); }
.form-success p { color: var(--text-muted); font-size: var(--fs-sm); max-width: 46ch; }


/* ==========================================================================
   17. FOOTER
   ========================================================================== */

.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 2rem + 3vw, 5rem) var(--sp-6);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(2.5rem, 1rem + 5vw, 5rem);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid var(--line);
}
.wordmark--footer { margin-inline-end: 0; margin-bottom: var(--sp-4); }
.footer__blurb {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  max-width: 42ch;
  margin-bottom: var(--sp-6);
}

.newsletter { display: grid; gap: var(--sp-2); max-width: 26rem; }
.newsletter__label {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 600;
}
.newsletter__desc { font-size: var(--fs-xs); color: var(--text-muted); }
.newsletter__row { display: flex; gap: var(--sp-2); }
.newsletter__row input { flex: 1 1 auto; min-inline-size: 0; }
.newsletter__ok { font-size: var(--fs-xs); font-weight: 600; color: var(--ok); }
.newsletter__ok:empty { display: none; }

/* The contact column carries full email addresses, so it gets extra width
   rather than breaking them mid-word. */
.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.45fr);
  gap: var(--sp-5);
}
.footer__heading {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: var(--sp-4);
}
.footer__col ul { display: grid; gap: var(--sp-3); }
.footer__col a {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.footer__col a:hover { color: var(--text); text-decoration: underline; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-top: var(--sp-6);
}
.footer__legal p { font-size: var(--fs-xs); color: var(--text-muted); }
.footer__reg { margin-top: var(--sp-1); }

.footer__links { display: flex; gap: var(--sp-4); }
.footer__links a {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
}
.footer__links a:hover { color: var(--text); text-decoration: underline; }

.social { display: flex; gap: var(--sp-2); }
.social a {
  inline-size: 2.375rem;
  block-size: 2.375rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--text-muted);
  transition: color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease);
}
.social a:hover {
  color: var(--text);
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.social svg {
  inline-size: 1.15rem;
  block-size: 1.15rem;
  fill: currentColor;
}


/* ==========================================================================
   18. REVEAL ANIMATIONS
   Only armed when JS is present, so the page is fully readable without it.
   ========================================================================== */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-slow) var(--ease),
              transform var(--dur-slow) var(--ease);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* Stagger children of a grid without per-element rules */
.js .pillar-grid .reveal:nth-child(2),
.js .engine__grid .reveal:nth-child(2),
.js .metric-grid .reveal:nth-child(2),
.js .quote-grid .reveal:nth-child(2) { transition-delay: 80ms; }
.js .pillar-grid .reveal:nth-child(3),
.js .engine__grid .reveal:nth-child(3),
.js .metric-grid .reveal:nth-child(3),
.js .quote-grid .reveal:nth-child(3) { transition-delay: 160ms; }
.js .pillar-grid .reveal:nth-child(4),
.js .engine__grid .reveal:nth-child(4),
.js .metric-grid .reveal:nth-child(4) { transition-delay: 240ms; }


/* ==========================================================================
   19. REDUCED MOTION
   Everything decorative stops. Counters are disabled in script.js too.
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal { opacity: 1; transform: none; }
  .btn:hover,
  .pillar:hover,
  .cap:hover,
  .mini-card:hover,
  .sku:hover,
  .social a:hover { transform: none; }
}


/* ==========================================================================
   20. RESPONSIVE
   Breakpoints chosen around the layouts, not around devices.
   ========================================================================== */

/* ---- ≤ 1180px: brand blocks lose the sticky visual column --------------- */
@media (max-width: 73.75em) {
  .trust__list { grid-template-columns: repeat(3, 1fr); }
}

/* ---- ≤ 1024px: two-column feature layouts collapse ---------------------- */
@media (max-width: 64em) {
  .brand__inner,
  .brand--flip .brand__inner { grid-template-columns: minmax(0, 1fr); }
  .brand--flip .brand__content,
  .brand--flip .brand__visual { order: 0; }
  .brand__visual { position: static; max-width: 34rem; }

  .faq__inner,
  .contact__inner,
  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .faq .section-head { position: static; }

  .kpi { grid-template-columns: repeat(2, 1fr); }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- ≤ 900px: mobile navigation drawer ---------------------------------- */
@media (max-width: 56.25em) {
  .hamburger { display: grid; }

  .nav {
    position: fixed;
    inset: 4.5rem 0 auto;
    z-index: var(--z-header);
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-4);
    padding: var(--sp-5) var(--shell-pad) var(--sp-7);
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    max-block-size: calc(100dvh - 4.5rem);
    overflow-y: auto;
    transform: translateY(-102%);
    visibility: hidden;
    transition: transform var(--dur) var(--ease), visibility var(--dur) var(--ease);
  }
  .site-header.is-open .nav {
    transform: translateY(0);
    visibility: visible;
  }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a {
    display: block;
    padding: var(--sp-4) var(--sp-1);
    font-size: var(--fs-md);
    color: var(--text);
    border-bottom: 1px solid var(--line);
  }
  .nav__list a::after { display: none; }
  .nav__cta .btn { width: 100%; }

  body.nav-open { overflow: hidden; }
}

/* ---- ≤ 768px ------------------------------------------------------------ */
@media (max-width: 48em) {
  .trust__list { grid-template-columns: repeat(2, 1fr); gap: var(--sp-5) var(--sp-6); }

  .form { grid-template-columns: minmax(0, 1fr); }

  .footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-6) var(--sp-4); }

  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .timeline::before { left: 0.5rem; }
  .timeline__item { grid-template-columns: minmax(0, 1fr); gap: var(--sp-2); padding-left: var(--sp-7); }
  .timeline__item::before { left: 0; top: 1.75rem; }
  .timeline__year { text-align: left; }

  .brand__visual { max-width: none; }
}

/* ---- ≤ 560px: single column everywhere --------------------------------- */
@media (max-width: 35em) {
  :root { --shell-pad: 1.25rem; }

  .kpi,
  .metric-grid { grid-template-columns: minmax(0, 1fr); }
  .hero__actions .btn { width: 100%; }
  .wordmark__sub { display: none; }
  .wordmark__thin { display: none; }

  .visual-stage { padding: var(--sp-6) var(--sp-3) var(--sp-5); }

  .quote { padding: var(--sp-5); }
  .case { padding: var(--sp-5) var(--sp-4); }
  .sku { padding: var(--sp-3); }
  .sku__head { flex-direction: column; gap: var(--sp-1); }
}

/* ---- Very wide screens: keep the measure sane -------------------------- */
@media (min-width: 120em) {
  :root { --shell-max: 1320px; }
}
