/* =============================================================================
   YesBOS 2.0 — Design System
   Single source of truth for tokens, base styles, layout, and components.
   Hand-crafted. No framework. Consumed by every page.

   Brand is locked to the official YesBOS Brand Guidelines:
     Forest Green #22653A (primary) · Emerald #2E8B57 (accent) · Poppins.
   Sections:
     1. Tokens        6. Layout primitives   11. Cards
     2. Reset/base    7. Buttons             12. Forms
     3. Typography    8. Header / nav         13. Footer
     4. Prose         9. Eyebrow / pills      14. Motion & reveal
     5. Utilities    10. Sections            15. Reduced-motion / a11y
   ============================================================================= */

/* ------------------------------------------------------------------ 1. TOKENS */
:root {
  /* Brand — deepened to a British-Racing-Green register for a premium,
     "quiet money" read. #184D3B is darker + more pine-shifted than the old
     guideline #22653A and anchors the ivory page at ~9:1 (owner-approved
     override for site-2.0, 2026-07-17). Emerald stays #2E8B57 to keep the
     logo mark consistent and the palette restrained. */
  --forest:        #184D3B;   /* primary / dominant (deep forest) */
  --forest-strong: #184D3B;   /* primary CTA fill (brand green, not a brighter one) */
  --forest-hover:  #22653A;   /* primary CTA hover — lifts one step */
  --emerald:       #2FA86A;   /* success / accent / gradient (logo.svg unchanged) */
  --forest-tint:   #E3EDE7;   /* soft brand surface */
  --forest-wash:   #F4F8F5;   /* barely-there brand wash */

  /* Gold — treated as a MATERIAL (brushed champagne), NOT a colour.
     Never a fill, background, or large text. Only ever trim: hairlines,
     eyebrows, separators, focus rings, the top-edge sheen on surfaces.
     It should almost disappear — noticed subconsciously, like the metal
     bezel on a luxury watch, not the paint on the dial. */
  --gold:        #D9B45C;                 /* the champagne highlight (edges, sheen) */
  --gold-deep:   #9A7B2E;                 /* legible gold — for small-caps eyebrows/labels on light */
  --gold-line:   rgba(217,180,92,.18);    /* divider / separator trim (spec value) */
  --gold-soft:   rgba(217,180,92,.14);    /* faint top-edge sheen / wash */
  --gold-ring:   rgba(217,180,92,.55);    /* focus ring */

  /* Status — phased-launch signalling (site-wide badge system) */
  --amber:      #A8791F;   /* "Coming Soon" — warm, muted, quiet (never alarming) */
  --amber-tint: #F6EFDD;   /* soft amber surface */

  /* Neutrals — warmed to sit on ivory (premium "paper", not clinical white) */
  --ink:    #202225;   /* primary text */
  --grey:   #6E726F;   /* secondary text */
  --nav:    #6A6D6B;   /* nav links / captions (kept readable — not the faint muted level) */
  --line:   rgba(32,34,37,.08);  /* border — an ink hairline, almost invisible (spec) */
  --mist:   #EAE7DF;   /* muted surface (warm) */
  --wash:   #F1EEE7;   /* page-alt surface (warm) */
  --ivory:  #F7F6F2;   /* warm ivory — the premium paper the site is printed on */
  --ivory-2:#EFECE5;   /* secondary warm surface */
  --white:  #FFFFFF;   /* cards sit brighter than the page */
  --night:  #111312;   /* dark sections (warm charcoal, not black) */
  --night-2:#1B1D1B;   /* raised surface on dark */

  /* Semantic aliases (use these in components) */
  --bg:            var(--ivory);   /* the page is warm paper... */
  --surface:       #FCFBF7;        /* ...cards are a warmer paper, not clinical white */
  --surface-alt:   var(--wash);
  --surface-2:     var(--ivory-2);
  --surface-muted: var(--mist);
  --text:          var(--ink);
  --text-muted:    var(--grey);
  --text-soft:     var(--nav);
  --border:        var(--line);
  --brand:         var(--forest);
  --accent:        var(--emerald);
  --on-dark:       rgba(255,255,255,.72);
  --on-dark-soft:  rgba(255,255,255,.55);

  /* Type — single family, crafted (Poppins, brand-locked) */
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Fluid type scale (restrained, editorial — clamped for responsiveness) */
  --fs-display: clamp(2.35rem, 1.7rem + 2.6vw, 3.5rem);   /* hero */
  --fs-h1:      clamp(2rem, 1.55rem + 1.9vw, 2.85rem);
  --fs-h2:      clamp(1.55rem, 1.25rem + 1.25vw, 2.1rem);
  --fs-h3:      clamp(1.2rem, 1.08rem + 0.55vw, 1.45rem);
  --fs-h4:      1.0625rem;
  --fs-lead:    clamp(1.05rem, 1rem + 0.28vw, 1.175rem);  /* supporting sentence */
  --fs-body:    1rem;
  --fs-sm:      0.9375rem;
  --fs-xs:      0.8125rem;

  --lh-tight: 1.05;
  --lh-snug:  1.25;
  --lh-body:  1.62;
  --measure:  65ch;   /* comfortable reading width */

  /* Spacing — 4px base */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;  --sp-3: 0.75rem;  --sp-4: 1rem;
  --sp-5: 1.5rem;   --sp-6: 2rem;    --sp-7: 3rem;      --sp-8: 4rem;
  --sp-9: 6rem;     --sp-10: 8rem;

  /* Section rhythm (fluid) — generous. Nothing signals enterprise confidence
     like negative space; padding runs ~25% looser than a typical SaaS page. */
  --section-y: clamp(5.25rem, 3.25rem + 7.5vw, 10.5rem);

  /* Radius — cards cluster around 20px for a consistent, generous, premium feel */
  --r-sm: 8px; --r-md: 12px; --r-lg: 20px; --r-xl: 22px; --r-2xl: 24px; --r-full: 999px;

  /* Shadows — warm umber, large blur, low opacity. Cards should read as
     physical objects resting on paper, not rectangles with a grey drop. */
  --shadow-xs: 0 1px 2px rgba(45,38,22,.05);
  --shadow-sm: 0 2px 6px -1px rgba(45,38,22,.06), 0 1px 2px rgba(45,38,22,.04);
  --shadow-md: 0 14px 40px -12px rgba(45,38,22,.13), 0 4px 12px -6px rgba(45,38,22,.06);
  --shadow-lg: 0 34px 80px -24px rgba(45,38,22,.20), 0 12px 28px -16px rgba(45,38,22,.11);

  /* Layout */
  --content: 1200px;
  --content-narrow: 820px;
  --gutter: clamp(1.25rem, 0.5rem + 3vw, 2.5rem);

  /* Motion — premium easing. --ease-out (expo-like) gives the slow, confident
     settle luxury interfaces are known for; nothing snaps or bounces. */
  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-in-out: cubic-bezier(.65,0,.35,1);
  --dur-fast: 160ms;
  --dur: 300ms;
  --dur-slow: 560ms;
}

/* --------------------------------------------------------- 1b. DARK MODE (theme)
   Dark is where gold becomes the material it wants to be: borders are hairlines
   of champagne, the greens lift for contrast, and surfaces are warm charcoal —
   never pure black. Applied via [data-theme="dark"] on <html>, set before paint
   by a tiny inline script (no flash) that also honours the OS preference.
   All values contrast-checked (text >=15:1, brand >=5.4:1, gold >=8.5:1). */
:root[data-theme="dark"] {
  /* Greens lift on dark — deep forest would disappear behind text, so brand
     text + accents use the readable success green; the deep brand green is
     reserved for solid fills (which carry white text). */
  --forest:        #48C78A;   /* brand / accent text on dark (readable 7.9:1) */
  --forest-strong: #2C7055;   /* CTA fill (white text passes at 5.9:1) */
  --forest-hover:  #35916A;
  --emerald:       #48C78A;   /* accent / dots / checks / gradient */
  --forest-tint:   rgba(72,199,138,.15);  /* soft brand chip surface */
  --forest-wash:   #16211B;

  /* Gold — same champagne. On dark it lives in dividers + hover, NOT every border. */
  --gold-deep:   #D9B45C;                 /* eyebrows use the bright gold on dark */
  --gold-line:   rgba(217,180,92,.18);
  --gold-soft:   rgba(217,180,92,.10);
  --gold-ring:   rgba(217,180,92,.60);

  /* Status */
  --amber:      #D9A94B;
  --amber-tint: rgba(216,169,75,.15);

  /* Neutrals — warm charcoal, not black. Text runs LIGHT for readability. */
  --ink:    #F4F2ED;   /* primary text (16:1) */
  --grey:   #D2D0CB;   /* secondary text — lifted for contrast (was too dark) */
  --nav:    #B1B5B1;   /* muted text / nav / captions */
  --line:   rgba(255,255,255,.06);  /* border — a faint white hairline (spec) */
  --mist:   #252927;   /* secondary surface */
  --wash:   #171A18;   /* surface (page-alt) */
  --ivory:  #111312;   /* page background — warm charcoal */
  --ivory-2:#252927;
  --night:  #0A0B0A;   /* deepest bands (final CTA / trust) — below the page */
  --night-2:#1D211F;   /* raised surface on the darkest bands */

  /* Semantic override — --surface points at a light literal, remap explicitly */
  --surface:       #1D211F;   /* cards: warm charcoal, clearly lifted above the page */

  /* Shadows carry no weight on dark — depth comes from the gold hairline.
     Swap ink-tint for true black so any residual shadow reads correctly. */
  --shadow-xs: 0 1px 2px rgba(0,0,0,.4);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.5), 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 10px 30px -10px rgba(0,0,0,.6), 0 2px 8px rgba(0,0,0,.4);
  --shadow-lg: 0 30px 70px -24px rgba(0,0,0,.7), 0 10px 24px -14px rgba(0,0,0,.5);
}
/* dark: keep text selection legible */
:root[data-theme="dark"] ::selection { background: rgba(72,199,138,.28); color: #F4F2ED; }

/* -------------------------------------------------------------- 2. RESET/BASE */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
}

img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--forest-tint); color: var(--forest); }

/* Divider — a hairline of brushed gold, almost invisible. Replaces grey rules. */
hr, .rule { border: 0; height: 1px; background: var(--gold-line); margin-block: var(--sp-6); }

/* ------------------------------------------------------------- 3. TYPOGRAPHY */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.display { font-size: var(--fs-display); font-weight: 800; line-height: var(--lh-tight); letter-spacing: -0.035em; }
h1, .h1 { font-size: var(--fs-h1); font-weight: 800; line-height: var(--lh-snug); letter-spacing: -0.03em; }
h2, .h2 { font-size: var(--fs-h2); line-height: 1.15; }
h3, .h3 { font-size: var(--fs-h3); line-height: 1.25; }
h4, .h4 { font-size: var(--fs-h4); font-weight: 600; }

.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--text-muted); font-weight: 400; text-wrap: pretty; }
.body-sm { font-size: var(--fs-sm); }
.text-muted { color: var(--text-muted); }
.text-soft  { color: var(--text-soft); }
.text-brand { color: var(--brand); }
.text-accent{ color: var(--accent); }
strong, b { font-weight: 600; }

/* ------------------------------------------------------------------- 4. PROSE */
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: var(--sp-5); }
.prose h2 { margin-top: var(--sp-8); }
.prose h3 { margin-top: var(--sp-6); }
.prose p { color: var(--text); line-height: var(--lh-body); }
.prose a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: color-mix(in srgb, var(--forest) 35%, transparent); }
.prose a:hover { text-decoration-color: var(--forest); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: var(--sp-2); }
.prose blockquote { border-left: 3px solid var(--emerald); padding-left: var(--sp-5); color: var(--text-muted); font-style: normal; }

/* --------------------------------------------------------------- 5. UTILITIES */
.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; }
.measure { max-width: var(--measure); }
.measure-wide { max-width: 46rem; }
.center { margin-inline: auto; }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-0{margin-top:0}.mt-2{margin-top:var(--sp-2)}.mt-3{margin-top:var(--sp-3)}
.mt-4{margin-top:var(--sp-4)}.mt-5{margin-top:var(--sp-5)}.mt-6{margin-top:var(--sp-6)}
.mt-7{margin-top:var(--sp-7)}.mt-8{margin-top:var(--sp-8)}
.hide-mobile{display:none !important}
@media (min-width:900px){ .hide-mobile{display:revert !important} .hide-desktop{display:none !important} }

/* ------------------------------------------------------ 6. LAYOUT PRIMITIVES */
.container { width: 100%; max-width: var(--content); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--content-narrow); }

.stack > * + * { margin-top: var(--sp-4); }
.stack-lg > * + * { margin-top: var(--sp-6); }

.grid { display: grid; gap: var(--sp-5); }
@media (min-width:640px){ .grid-2{grid-template-columns:repeat(2,1fr)} }
@media (min-width:900px){
  .grid-3{grid-template-columns:repeat(3,1fr)}
  .grid-4{grid-template-columns:repeat(4,1fr)}
  .grid-2\@lg{grid-template-columns:repeat(2,1fr)}
}
.cluster { display:flex; flex-wrap:wrap; gap:var(--sp-3); align-items:center; }
.between { display:flex; align-items:center; justify-content:space-between; gap:var(--sp-4); }

/* ------------------------------------------------------------------ 7. BUTTONS */
.btn {
  --btn-bg: var(--forest-strong); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-size: var(--fs-sm); font-weight: 600; line-height: 1;
  padding: .82rem 1.4rem; border-radius: var(--r-md);
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bd); cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
  will-change: transform;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .btn__icon { transition: transform var(--dur) var(--ease); }
.btn:hover .btn__icon { transform: translateX(2px); }

/* Primary — forest green "machined" with a champagne top edge + inner gloss.
   Not a flat green rectangle: a soft gold highlight rides the top edge and a
   faint inner shadow gives it depth, so it feels milled rather than painted. */
.btn--primary {
  --btn-bg: var(--forest-strong);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--forest-strong) 92%, #fff 8%), var(--forest-strong));
  box-shadow:
    inset 0 1px 0 var(--gold-soft),               /* the champagne edge */
    inset 0 -1px 1px rgba(0,0,0,.14),             /* the milled lower lip */
    0 10px 26px -10px color-mix(in srgb, var(--forest) 55%, transparent),  /* grounded weight */
    var(--shadow-sm);
}
.btn--primary:hover {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--forest-hover) 92%, #fff 8%), var(--forest-hover));
  box-shadow:
    inset 0 1px 0 rgba(217,180,92,.42),           /* the edge warms on hover */
    inset 0 -1px 1px rgba(0,0,0,.14),
    0 16px 34px -10px color-mix(in srgb, var(--forest) 60%, transparent),  /* deeper lift */
    0 0 0 1px var(--gold-soft),                    /* a faint gold halo */
    var(--shadow-md);
}
.btn--primary:hover { transform: translateY(-2px); }

.btn--secondary { --btn-bg: var(--surface); --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn--secondary:hover { --btn-bd: var(--gold); --btn-fg: var(--forest); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--forest); --btn-bd: transparent; padding-inline: .5rem; }
.btn--ghost:hover { --btn-fg: var(--forest-hover); transform: none; }

.btn--on-dark { --btn-bg: rgba(255,255,255,.08); --btn-fg: #fff; --btn-bd: rgba(217,180,92,.30); }
.btn--on-dark:hover { --btn-bg: rgba(255,255,255,.16); --btn-bd: var(--gold); box-shadow: 0 0 0 1px var(--gold-soft), 0 8px 30px -12px rgba(217,180,92,.35); }

.btn--lg { padding: .98rem 1.7rem; font-size: var(--fs-sm); border-radius: var(--r-lg); }

/* Text link with arrow */
.link-arrow { display:inline-flex; align-items:center; gap:.4em; font-weight:600; color:var(--forest); }
.link-arrow svg, .link-arrow .arw { transition: transform var(--dur) var(--ease); }
.link-arrow:hover { color: var(--forest-hover); }
.link-arrow:hover svg, .link-arrow:hover .arw { transform: translateX(3px); }

/* ------------------------------------------------------------- 8. HEADER / NAV */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--ivory) 78%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
/* On scroll the header sets like polished glass — a hairline of gold, not grey */
.site-header[data-scrolled="true"] { border-bottom-color: var(--gold-line); }
.site-header__inner { display:flex; align-items:center; justify-content:space-between; height: 68px; }
.brand-logo { display:inline-flex; align-items:center; }
.brand-logo img { height: 30px; width:auto; }

.nav { display:none; align-items:center; gap: 2px; }
@media (min-width:960px){ .nav { display:flex; } }
.nav a {
  font-size: var(--fs-sm); font-weight: 500; color: var(--nav);
  padding: .5rem .8rem; border-radius: var(--r-sm);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav a:hover { color: var(--ink); background: var(--mist); }
/* Active page — a quiet gold underline. Simple. Expensive. */
.nav a[aria-current="page"] { color: var(--forest); position: relative; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .2rem;
  height: 1.5px; border-radius: 2px; background: var(--gold);
}

.nav-actions { display:flex; align-items:center; gap: var(--sp-3); }

/* Theme toggle — a quiet circular control; gold ring on hover, like a dial.
   Shows the moon in light mode, the sun in dark (the icon you can switch TO). */
.theme-toggle {
  display:inline-grid; place-items:center; width:40px; height:40px;
  border-radius: var(--r-full); border:1px solid var(--line);
  background: transparent; color: var(--text-muted); cursor:pointer;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.theme-toggle:hover { color: var(--gold-deep); border-color: var(--gold); background: var(--gold-soft); }
.theme-toggle svg { width:18px; height:18px; }
.theme-toggle .icon-sun { display:none; }
.theme-toggle .icon-moon { display:block; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display:block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display:none; }
.nav-toggle { display:inline-grid; place-items:center; width:42px; height:42px; border-radius:var(--r-sm); border:1px solid var(--line); background:var(--surface); cursor:pointer; color:var(--ink); }
@media (min-width:960px){ .nav-toggle { display:none; } }

/* Mobile panel */
.mobile-nav { display:none; border-top:1px solid var(--line); background:var(--surface); }
.mobile-nav[data-open="true"] { display:block; }
.mobile-nav nav { display:flex; flex-direction:column; padding: var(--sp-4) 0 var(--sp-5); gap: 2px; }
.mobile-nav a { padding:.75rem .5rem; border-radius:var(--r-sm); font-weight:500; color:var(--ink); }
.mobile-nav a:hover { background: var(--mist); }
.mobile-nav .btn { margin-top: var(--sp-4); width:100%; }

/* ---------------------------------------------------------- 9. EYEBROW / PILLS */
/* Eyebrow — editorial small-caps in brushed gold. This single treatment is
   what makes section openers read like a printed magazine, not a SaaS page. */
.eyebrow {
  display:inline-block; font-size: var(--fs-xs); font-weight:600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep);
}
.eyebrow--soft { color: var(--emerald); }
.eyebrow--on-dark { color: var(--gold); }

.pill {
  display:inline-flex; align-items:center; gap:.5em;
  font-size: var(--fs-xs); font-weight:600; letter-spacing:.02em;
  padding:.4rem .8rem; border-radius: var(--r-full);
  background: var(--forest-tint); color: var(--forest);
}
.pill--outline { background:transparent; border:1px solid var(--line); color:var(--text-muted); }
.pill .dot { width:.5em; height:.5em; border-radius:50%; background: var(--emerald); }

/* Digital Employee status badge — ONE consistent system across every page.
   Green = available today · Amber = planned. Sets clear expectations, makes
   the phased launch feel intentional rather than incomplete. */
.de-badge {
  display:inline-flex; align-items:center; gap:.45em;
  font-size: var(--fs-xs); font-weight:600; letter-spacing:.01em;
  padding:.3rem .7rem; border-radius: var(--r-full); white-space:nowrap;
}
.de-badge__dot { width:.5em; height:.5em; border-radius:50%; background: currentColor; }
.de-badge--today { background: var(--forest-tint); color: var(--forest); }
.de-badge--today .de-badge__dot { background: var(--emerald); }
.de-badge--soon  { background: var(--amber-tint); color: var(--amber); }
.de-badge--soon  .de-badge__dot { background: var(--amber); }

/* --------------------------------------------------------------- 10. SECTIONS */
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem,2rem+4vw,5rem); }
.section--muted { background: var(--surface-alt); border-block: 1px solid var(--gold-line); }
.section--wash  { background: var(--forest-wash); border-block: 1px solid color-mix(in srgb, var(--forest) 10%, transparent); }
.section--dark  { background: var(--night); color: #fff; }
.section--dark h1,.section--dark h2,.section--dark h3 { color:#fff; }
.section--dark .lead,.section--dark p { color: var(--on-dark); }
.section--dark .eyebrow { color: var(--gold); }

.section-head { max-width: 46rem; }
.section-head .lead { margin-top: var(--sp-5); }
.section-head h2 { margin-top: var(--sp-4); }

/* ------------------------------------------------------------------ 11. CARDS */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.75rem, 1.5rem + .9vw, 2.5rem);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.card h3 { font-size: var(--fs-h4); font-weight:600; }
.card p { margin-top: var(--sp-3); color: var(--text-muted); font-size: var(--fs-sm); }
a.card, .card--interactive { cursor:pointer; }
/* Gold border appears only on hover — the champagne trim as a reward for attention */
a.card:hover, .card--interactive:hover { border-color: var(--gold); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card--feature { border-color: var(--forest); border-width: 1.5px; }
.card--dark { background: var(--night-2); border-color: rgba(255,255,255,.1); }
.card--dark p { color: var(--on-dark); }

.card__icon {
  width:44px; height:44px; border-radius: var(--r-md);
  display:grid; place-items:center; background: var(--forest-tint); color: var(--forest);
  /* a fine gold ring around the icon tile — the material, echoed at small scale */
  box-shadow: inset 0 0 0 1px var(--gold-line);
  margin-bottom: var(--sp-4);
}

/* ------------------------------------------------------------------ 12. FORMS */
.field { display:flex; flex-direction:column; gap:.45rem; }
.label { font-size: var(--fs-sm); font-weight:600; color: var(--ink); }
.input, .textarea, .select {
  width:100%; background:var(--surface); border:1px solid var(--line); border-radius: var(--r-md);
  padding:.8rem 1rem; font-size: var(--fs-body); color: var(--ink);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.input::placeholder, .textarea::placeholder { color: color-mix(in srgb,var(--nav) 75%, transparent); }
.input:focus, .textarea:focus, .select:focus {
  outline:none; border-color: var(--forest);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--forest) 15%, transparent);
}
.textarea { min-height: 130px; resize: vertical; }
.field-hint { font-size: var(--fs-xs); color: var(--text-soft); }

/* ----------------------------------------------------------------- 13. FOOTER */
.site-footer { background: var(--ivory-2); border-top:1px solid var(--gold-line); padding-block: var(--sp-8) var(--sp-6); }
.footer-grid { display:grid; gap: var(--sp-6); grid-template-columns: 1fr; }
@media (min-width:640px){ .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand img { height: 30px; }
.footer-brand p { margin-top: var(--sp-4); color: var(--text-muted); font-size: var(--fs-sm); max-width: 22rem; }
.footer-col h4 { font-size: var(--fs-xs); text-transform:uppercase; letter-spacing:.1em; color: var(--text-soft); font-weight:600; }
.footer-col ul { list-style:none; padding:0; margin-top: var(--sp-4); display:flex; flex-direction:column; gap:.6rem; }
.footer-col a { font-size: var(--fs-sm); color: var(--text-muted); transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: var(--forest); }

/* Full footer (the epilogue) — brand + Explore + Digital Workforce + Company + Contact */
.footer-top { display:grid; gap: var(--sp-7); grid-template-columns: 1fr; }
@media (min-width:600px){ .footer-top { grid-template-columns: 1fr 1fr; } }
@media (min-width:1000px){ .footer-top { grid-template-columns: 1.6fr 1fr 1.5fr 1fr 1fr; gap: var(--sp-6); } }
.footer-brand .brand-logo img { height: 30px; width:auto; }
.footer-roster { list-style:none; padding:0; margin-top: var(--sp-4); display:flex; flex-direction:column; gap:.55rem; }
.footer-roster li { display:flex; align-items:center; gap:.5rem; font-size: var(--fs-sm); color: var(--text-muted); line-height:1.3; }
.footer-dot { width:.5rem; height:.5rem; border-radius:50%; flex:none; }
.footer-dot--today { background: var(--emerald); }
.footer-dot--soon { background: var(--amber); }
.footer-soon { color: var(--text-soft); font-size: var(--fs-xs); }
.footer-base { margin-top: var(--sp-7); padding-top: var(--sp-5); border-top:1px solid var(--gold-line);
  display:flex; flex-wrap:wrap; gap: var(--sp-4); justify-content:space-between; align-items:center;
  font-size: var(--fs-sm); color: var(--text-soft); }
.footer-base .cluster a:hover { color: var(--forest); }

/* --------------------------------------------------------- 14. MOTION & REVEAL */
/* Cross-document page transitions — a soft cross-fade between pages in browsers
   that support it (Chrome/Edge/Safari); everyone else navigates normally. Living
   luxury: the site never hard-cuts between pages. */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: .42s; animation-timing-function: var(--ease-out); }

/* Reveal-on-scroll — elements settle in with a slow, confident ease and a faint
   focus-pull (blur → sharp), the way premium interfaces resolve content. */
[data-reveal] {
  opacity: 0; transform: translateY(22px); filter: blur(3px);
  transition: opacity .72s var(--ease-out), transform .72s var(--ease-out), filter .72s var(--ease-out);
}
[data-reveal].is-in { opacity: 1; transform: none; filter: none; }
[data-reveal-delay="1"]{ transition-delay: 90ms; }
[data-reveal-delay="2"]{ transition-delay: 180ms; }
[data-reveal-delay="3"]{ transition-delay: 270ms; }
[data-reveal-delay="4"]{ transition-delay: 360ms; }

/* --------------------------------------------------- 15. REDUCED-MOTION / A11Y */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
  [data-reveal] { opacity:1 !important; transform:none !important; filter:none !important; }
  @view-transition { navigation: none; }
}
