/* Sterling Park — global stylesheet (tokens + site styles) */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,400..800;1,14..32,400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,400..700;1,400..600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cabin:ital,wght@0,400..700;1,400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&display=swap');

/* ---------- Design tokens ---------- */
/* ============================================================
   Sterling Park — Color Tokens
   Warm, editorial, prestige-advisory palette.
   Tier 1: primitive ramps (never referenced by components).
   Tier 2: semantic aliases (referenced by components; theme-aware).
   ============================================================ */

:root {
  /* ---- Primitive: Stone (warm neutral) ---- */
  --stone-50:  #F7F5F0;
  --stone-100: #EFEBE2;
  --stone-200: #E2DCCF;
  --stone-300: #CBC3B1;
  --stone-400: #A79E88;
  --stone-500: #827A66;
  --stone-600: #635C4C;
  --stone-700: #4A453A;
  --stone-800: #322E27;
  --stone-900: #201E19;
  --stone-950: #14120E;

  /* ---- Primitive: Pine (primary — market growth / "park") ---- */
  --pine-50:  #EDF4F0;
  --pine-100: #D3E6DB;
  --pine-200: #A9CEBB;
  --pine-300: #77B096;
  --pine-400: #489073;
  --pine-500: #2C7357;
  --pine-600: #215B45;
  --pine-700: #1A4838;
  --pine-800: #14372B;
  --pine-900: #0E2820;
  --pine-950: #071813;

  /* ---- Primitive: Brass (secondary accent — capital / "sterling") ---- */
  --brass-50:  #FBF5E8;
  --brass-100: #F4E7C6;
  --brass-200: #E9CE92;
  --brass-300: #D9B25D;
  --brass-400: #C89A3B;
  --brass-500: #AC812E;
  --brass-600: #8C6726;
  --brass-700: #6C4F20;
  --brass-800: #4E391A;
  --brass-900: #352712;
  --brass-950: #1E160A;

  /* ---- Primitive: semantic ramps ---- */
  --green-50:  #ECFDF3; --green-100: #D1FADF; --green-500: #12996A; --green-600: #077E4E; --green-700: #05623D;
  --amber-50:  #FFFAEB; --amber-100: #FEEFC7; --amber-500: #E28908; --amber-600: #BC6C05; --amber-700: #8E5104;
  --red-50:    #FDF3F1; --red-100: #FBE0DB; --red-500: #D64A3A; --red-600: #B4372A; --red-700: #8E2A20;

  --white: #FFFFFF;
  --black: #000000;

  /* ============================================================
     Tier 2 — Semantic (LIGHT, default)
     ============================================================ */

  /* Surface & canvas — warm paper, not stark white */
  --color-background:        #F5F2EA;   /* app / page canvas (bone paper) */
  --color-background-subtle: #EEEADF;   /* sunken page zones */
  --color-surface:           #FCFBF6;   /* card / panel base */
  --color-surface-raised:    #FFFFFF;   /* elevated surface (modals, popovers) */
  --color-surface-sunken:    #EEEADF;   /* wells, inset fields */
  --color-surface-inverse:   #14372B;   /* dark pine panels / footers */

  /* Borders / dividers */
  --color-border:        #E0DACB;
  --color-border-strong: #CBC3B1;
  --color-hairline:      rgba(32,30,25,0.08);

  /* Text */
  --color-text:           #201E19;   /* primary ink */
  --color-text-secondary: #4A453A;
  --color-text-tertiary:  #827A66;   /* muted / meta */
  --color-text-disabled:  #A79E88;
  --color-text-inverse:   #F7F5F0;   /* on dark surfaces */
  --color-text-brand:     #14372B;   /* headings in pine */

  /* Primary intent — Pine */
  --color-primary:         #1A4838;
  --color-primary-hover:   #14372B;
  --color-primary-active:  #0E2820;
  --color-primary-subtle:  #EDF4F0;
  --color-primary-border:  #A9CEBB;
  --color-primary-text:    #1A4838;
  --color-on-primary:      #F7F5F0;

  /* Secondary intent — Brass */
  --color-secondary:        #AC812E;
  --color-secondary-hover:  #8C6726;
  --color-secondary-subtle: #FBF5E8;
  --color-secondary-border: #E9CE92;
  --color-secondary-text:   #6C4F20;
  --color-on-secondary:     #1E160A;

  /* Feedback */
  --color-success:        #077E4E;
  --color-success-subtle: #ECFDF3;
  --color-success-text:   #05623D;
  --color-warning:        #BC6C05;
  --color-warning-subtle: #FFFAEB;
  --color-warning-text:   #8E5104;
  --color-error:          #B4372A;
  --color-error-subtle:   #FDF3F1;
  --color-error-text:     #8E2A20;

  /* Focus */
  --color-focus-ring: rgba(26,72,56,0.38);

  /* Decorative brand gradient wash (hero backgrounds) */
  --gradient-paper: radial-gradient(120% 90% at 80% -10%, #EDF4F0 0%, #F5F2EA 45%, #F5F2EA 100%); /* @kind other */
  --gradient-pine:  linear-gradient(155deg, #1A4838 0%, #0E2820 100%); /* @kind other */
}

/* ============================================================
   Tier 2 — Semantic (DARK)  ·  apply .dark or [data-theme="dark"]
   ============================================================ */
.dark,
[data-theme="dark"] {
  --color-background:        #0E2820;
  --color-background-subtle: #0B1F18;
  --color-surface:           #14372B;
  --color-surface-raised:    #1A4838;
  --color-surface-sunken:    #0B1F18;
  --color-surface-inverse:   #F5F2EA;

  --color-border:        #235B45;
  --color-border-strong: #2C7357;
  --color-hairline:      rgba(255,255,255,0.08);

  --color-text:           #F1EFE7;
  --color-text-secondary: #CBC3B1;
  --color-text-tertiary:  #A79E88;
  --color-text-disabled:  #635C4C;
  --color-text-inverse:   #14120E;
  --color-text-brand:     #EDF4F0;

  --color-primary:         #77B096;
  --color-primary-hover:   #A9CEBB;
  --color-primary-active:  #D3E6DB;
  --color-primary-subtle:  rgba(119,176,150,0.16);
  --color-primary-border:  #2C7357;
  --color-primary-text:    #A9CEBB;
  --color-on-primary:      #071813;

  --color-secondary:        #D9B25D;
  --color-secondary-hover:  #E9CE92;
  --color-secondary-subtle: rgba(216,178,93,0.16);
  --color-secondary-border: #8C6726;
  --color-secondary-text:   #E9CE92;
  --color-on-secondary:     #1E160A;

  --color-success:        #34C77E; --color-success-subtle: rgba(18,153,106,0.18); --color-success-text: #8CE3B6;
  --color-warning:        #E8A93C; --color-warning-subtle: rgba(226,137,8,0.18);  --color-warning-text: #F3D08A;
  --color-error:          #E56A5B; --color-error-subtle:   rgba(214,74,58,0.18);  --color-error-text:   #F3B3A9;

  --color-focus-ring: rgba(119,176,150,0.45);

  --gradient-paper: radial-gradient(120% 90% at 80% -10%, #16402F 0%, #0E2820 55%, #0E2820 100%); /* @kind other */
  --gradient-pine:  linear-gradient(155deg, #14372B 0%, #071813 100%); /* @kind other */
}

/* ============================================================
   Sterling Park — Typography Tokens
   Display: Instrument Serif  ·  Text/UI: Inter  ·  Data: JetBrains Mono
   ============================================================ */

:root {
  /* Families */
  --font-display: "Bodoni Moda", Georgia, "Times New Roman", serif;
  --font-sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono:    "JetBrains Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace;

  /* Size scale (root = 16px) */
  --text-2xs: 0.6875rem;  /* 11 */
  --text-xs:  0.75rem;    /* 12 */
  --text-sm:  0.875rem;   /* 14 */
  --text-base:1rem;       /* 16 */
  --text-lg:  1.125rem;   /* 18 */
  --text-xl:  1.25rem;    /* 20 */
  --text-2xl: 1.5rem;     /* 24 */
  --text-3xl: 1.875rem;   /* 30 */
  --text-4xl: 2.25rem;    /* 36 */
  --text-5xl: 3rem;       /* 48 */
  --text-6xl: 3.75rem;    /* 60 */
  --text-7xl: 4.5rem;     /* 72 */
  --text-8xl: 6rem;       /* 96 — hero display */

  /* Line height */
  --leading-none:    1;
  --leading-tight:   1.08;
  --leading-snug:    1.22;
  --leading-normal:  1.5;
  --leading-relaxed: 1.65;

  /* Letter spacing — serif display wants near-zero / slightly tight;
     Inter labels use tight; overlines use wide. */
  --tracking-tighter: -0.02em;
  --tracking-tight:   -0.01em;
  --tracking-normal:  0;
  --tracking-wide:    0.04em;
  --tracking-wider:   0.12em;   /* uppercase overlines / eyebrows */

  /* Weight (Instrument Serif ships 400 only) */
  --weight-regular:   400;
  --weight-medium:    500;
  --weight-semibold:  600;
  --weight-bold:      700;
  --weight-extrabold: 800;

  /* ---- Semantic type roles (composed) ---- */
  --type-display-font: var(--font-display);
  --type-display-size: clamp(3rem, calc(1.6rem + 6vw), 6rem); /* @kind font */
  --type-h1-size:      clamp(2.25rem, calc(1.4rem + 3.6vw), 4rem); /* @kind font */
  --type-h2-size:      clamp(1.75rem, calc(1.2rem + 2vw), 2.75rem); /* @kind font */
  --type-eyebrow-size: var(--text-xs);
}

/* ============================================================
   Sterling Park — Spacing, Radius, Z-index, Layout
   Base unit: 4px (0.25rem). All spacing resolves to a token.
   ============================================================ */

:root {
  /* Spacing scale */
  --space-0: 0;
  --space-px: 1px;
  --space-0-5: 0.125rem;
  --space-1: 0.25rem;
  --space-1-5: 0.375rem;
  --space-2: 0.5rem;
  --space-2-5: 0.625rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  --space-40: 10rem;

  /* Border radius — measured, editorial; softer than SaaS but not pill-heavy */
  --radius-none: 0;
  --radius-xs: 3px;
  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 22px;
  --radius-3xl: 30px;
  --radius-full: 9999px;

  /* Border widths */
  --border-hair: 1px;
  --border-thin: 1.5px;
  --border-thick: 2px;

  /* Z-index */
  --z-hide: -1; /* @kind other */
  --z-base: 0; /* @kind other */
  --z-raised: 10; /* @kind other */
  --z-dropdown: 1000; /* @kind other */
  --z-sticky: 1100; /* @kind other */
  --z-overlay: 1200; /* @kind other */
  --z-modal: 1300; /* @kind other */
  --z-popover: 1400; /* @kind other */
  --z-toast: 1500; /* @kind other */
  --z-tooltip: 1600; /* @kind other */

  /* Breakpoints (reference; em-based, min-width) */
  --bp-sm: 40em; /* @kind other */
  --bp-md: 48em; /* @kind other */
  --bp-lg: 64em; /* @kind other */
  --bp-xl: 80em; /* @kind other */
  --bp-2xl: 96em; /* @kind other */

  /* Containers */
  --container-sm: 640px; /* @kind spacing */
  --container-md: 768px; /* @kind spacing */
  --container-lg: 1024px; /* @kind spacing */
  --container-xl: 1200px; /* @kind spacing */
  --container-2xl: 1360px; /* @kind spacing */
  --container-gutter: clamp(1.25rem, 5vw, 3rem); /* @kind spacing */
}

/* ============================================================
   Sterling Park — Elevation & Motion
   Soft, warm-tinted shadows (ink-brown, not neutral blue-gray).
   Editorial motion: quiet, precise, minimal bounce.
   ============================================================ */

:root {
  /* Elevation — shadows tinted with warm ink (32,30,25) */
  --shadow-xs: 0 1px 2px rgba(32,30,25,0.05);
  --shadow-sm: 0 1px 3px rgba(32,30,25,0.09), 0 1px 2px rgba(32,30,25,0.06);
  --shadow-md: 0 6px 16px -6px rgba(32,30,25,0.12), 0 2px 5px -2px rgba(32,30,25,0.07);
  --shadow-lg: 0 16px 32px -12px rgba(32,30,25,0.16), 0 4px 8px -4px rgba(32,30,25,0.06);
  --shadow-xl: 0 28px 56px -16px rgba(32,30,25,0.20), 0 8px 16px -8px rgba(32,30,25,0.08);
  --shadow-2xl: 0 40px 80px -24px rgba(20,18,14,0.28);
  --shadow-focus: 0 0 0 4px var(--color-focus-ring);

  /* Ring used to lift editorial cards without heavy shadow */
  --ring-hairline: 0 0 0 1px var(--color-hairline);

  /* Motion — durations */
  --duration-instant: 60ms; /* @kind other */
  --duration-fast: 130ms; /* @kind other */
  --duration-base: 220ms; /* @kind other */
  --duration-moderate: 320ms; /* @kind other */
  --duration-slow: 520ms; /* @kind other */

  /* Motion — easing */
  --ease-standard: cubic-bezier(.2,0,0,1); /* @kind other */
  --ease-out: cubic-bezier(0,0,.2,1); /* @kind other */
  --ease-in: cubic-bezier(.4,0,1,1); /* @kind other */
  --ease-in-out: cubic-bezier(.4,0,.2,1); /* @kind other */
  --ease-spring: cubic-bezier(.34,1.4,.5,1); /* @kind other */
}

/* ============================================================
   Sterling Park — Base reset & global primitives
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  font-weight: var(--weight-regular);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  font-feature-settings: "cv05", "ss01";
  background: var(--color-background);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Instrument Serif is a display face — never let it fall below ~1.25rem */
:where(h1, h2, h3, .sp-display, .sp-h1, .sp-h2) {
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
  color: var(--color-text);
  text-wrap: balance;
}

p { text-wrap: pretty; }

/* ---- Type helper classes ---- */
.sp-display {
  font-size: var(--type-display-size);
  line-height: var(--leading-none);
  letter-spacing: var(--tracking-tighter);
}
.sp-h1 { font-size: var(--type-h1-size); }
.sp-h2 { font-size: var(--type-h2-size); }
.sp-h3 { font-family: var(--font-display); font-size: var(--text-3xl); letter-spacing: var(--tracking-tight); line-height: var(--leading-snug); }
.sp-lead {
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
}
.sp-eyebrow {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-secondary-text);
}
.sp-mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: var(--tracking-tight);
}

/* Italic Instrument Serif reads as an elegant accent — used for a word inside a headline */
.sp-accent { font-style: italic; }

/* ---- Layout primitives ---- */
.sp-container {
  width: 100%;
  max-width: var(--container-xl);
  margin-inline: auto;
  padding-inline: var(--container-gutter);
}
.sp-stack { display: flex; flex-direction: column; gap: var(--space-4); }
.sp-cluster { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
.sp-grid-auto {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
}

/* ---- Global focus ---- */
:where(a, button, input, select, textarea, [tabindex], [role="button"], summary):focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
.sp-focus-ring:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

/* ---- 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;
}
:target { scroll-margin-top: var(--space-20); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Site styles ---------- */
:root {
  --site-max: 1180px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --font-sans: "Cabin", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Cabin", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --weight-regular: 400;
  --weight-medium: 400;
}

html { background-color: var(--color-background); }

body { font-weight: 400; }

body {
  background-color: var(--color-background);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

.page-home {
  background-image:
    radial-gradient(90% 70% at 100% -5%, rgba(26,72,56,0.16), transparent 55%),
    radial-gradient(80% 65% at -5% 105%, rgba(172,129,46,0.10), transparent 55%),
    repeating-radial-gradient(circle at 100% 0%, rgba(26,72,56,0.05) 0 1px, transparent 1px 58px);
}
.page-expertise {
  background-image:
    linear-gradient(160deg, rgba(26,72,56,0.13) 0%, transparent 45%),
    radial-gradient(65% 60% at 100% 95%, rgba(172,129,46,0.10), transparent 60%),
    repeating-radial-gradient(circle at 6% 100%, rgba(172,129,46,0.06) 0 1px, transparent 1px 42px);
}
.page-about {
  background-image:
    radial-gradient(80% 65% at 10% -5%, rgba(26,72,56,0.14), transparent 55%),
    radial-gradient(60% 55% at 100% 100%, rgba(172,129,46,0.08), transparent 60%),
    repeating-radial-gradient(circle at 0% 0%, rgba(26,72,56,0.045) 0 1px, transparent 1px 72px);
}
.page-impact {
  background-image:
    radial-gradient(70% 60% at 90% 0%, rgba(44,115,87,0.15), transparent 58%),
    radial-gradient(65% 60% at 0% 95%, rgba(26,72,56,0.12), transparent 60%),
    repeating-radial-gradient(circle at 50% 42%, rgba(26,72,56,0.05) 0 1px, transparent 1px 50px);
}
.page-careers {
  background-image:
    radial-gradient(75% 65% at 100% 105%, rgba(172,129,46,0.13), transparent 58%),
    radial-gradient(60% 55% at -5% 0%, rgba(26,72,56,0.12), transparent 60%),
    repeating-radial-gradient(circle at 100% 100%, rgba(172,129,46,0.055) 0 1px, transparent 1px 62px);
}
.page-connect {
  background-image:
    radial-gradient(75% 65% at -5% -5%, rgba(26,72,56,0.15), transparent 55%),
    radial-gradient(50% 50% at 100% 55%, rgba(172,129,46,0.10), transparent 60%),
    repeating-radial-gradient(circle at 0% 8%, rgba(26,72,56,0.05) 0 1px, transparent 1px 46px);
}
.page-privacy {
  background-image:
    radial-gradient(65% 55% at 100% -5%, rgba(26,72,56,0.12), transparent 60%),
    repeating-radial-gradient(circle at 100% 0%, rgba(26,72,56,0.04) 0 1px, transparent 1px 76px);
}
.page-notfound {
  background-image:
    radial-gradient(65% 60% at 50% 25%, rgba(26,72,56,0.14), transparent 62%),
    radial-gradient(45% 45% at 50% 105%, rgba(172,129,46,0.10), transparent 60%),
    repeating-radial-gradient(circle at 50% 30%, rgba(26,72,56,0.055) 0 1px, transparent 1px 52px);
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  background: var(--gradient-pine);
  transition: opacity .55s var(--ease-standard), visibility .55s var(--ease-standard);
}
.preloader.is-hidden { opacity: 0; visibility: hidden; }
.preloader__mark {
  width: 96px;
  height: 96px;
  filter: drop-shadow(0 14px 26px rgba(0,0,0,0.28));
  animation: plBreathe 1.5s var(--ease-standard) infinite;
}
.preloader__word {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: -0.01em;
  color: #F7F5F0;
  opacity: 0;
  animation: plFadeIn .8s var(--ease-out) .25s forwards;
}
.pl-arch, .pl-chevron { transform-box: fill-box; transform-origin: center; }
.pl-chevron { animation: plChevron 1.5s var(--ease-standard) infinite; }
@keyframes plChevron {
  0%   { transform: translateY(16px); opacity: 0; }
  45%  { opacity: 1; }
  72%, 100% { transform: translateY(0); opacity: 1; }
}
@keyframes plBreathe {
  0%, 100% { transform: scale(1); }
  60% { transform: scale(1.04); }
}
@keyframes plFadeIn {
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .pl-chevron, .preloader__mark { animation: none; }
  .preloader__word { opacity: 1; animation: none; }
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--site-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow { max-width: 820px; }

/* small layout utilities */
.mt-md { margin-top: 24px; }
.action-row {
  margin-top: 32px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.text-link { color: var(--color-primary); font-weight: 500; }
.contact-note {
  max-width: 60ch;
  margin-top: 16px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}
.hero__visual image-slot { display: block; width: 100%; height: 100%; }
.hero__visual .hero__img { width: 100%; height: 100%; object-fit: cover; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--color-primary);
  color: var(--color-on-primary);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  z-index: var(--z-toast);
}
.skip-link:focus { left: 12px; }

.eyebrow-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow-row .bar { width: 26px; height: 1.5px; background: var(--color-secondary); }
.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-secondary-text);
}

.accent { font-style: italic; color: var(--color-primary); }
.hero__accent { font-style: normal; color: inherit; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  padding: 13px 22px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s var(--ease-standard), color .18s, border-color .18s, transform .12s;
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--color-primary); color: var(--color-on-primary); }
.btn--primary:hover { background: var(--color-primary-hover); }
.btn--outline { border-color: var(--color-border-strong); color: var(--color-text); background: transparent; }
.btn--outline:hover { background: var(--color-primary-subtle); border-color: var(--color-primary-border); }
.btn--ghost { color: var(--color-primary); background: transparent; padding-inline: 6px; }
.btn--ghost:hover { color: var(--color-primary-hover); }
.btn--onpine { background: var(--brass-300); color: var(--stone-950); }
.btn--onpine:hover { background: var(--brass-200); }
.btn--onpine-outline { border-color: rgba(255,255,255,.28); color: #fff; }
.btn--onpine-outline:hover { background: rgba(255,255,255,.08); }
.btn--full { width: 100%; justify-content: center; }

.arrow { display: inline-block; transition: transform .18s var(--ease-standard); }
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
}
.link-more:hover .arrow { transform: translateX(4px); }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: color-mix(in srgb, var(--color-background) 84%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-hairline);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--color-text);
}
.brand img { width: 34px; height: 34px; }
.brand span {
  font-family: var(--font-display);
  font-size: 23px;
  letter-spacing: -0.01em;
}
.nav__links { display: none; }
.nav__cta { display: none; }
.nav__burger {
  display: inline-flex;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--color-text);
  padding: 8px;
}

@media (min-width: 900px) {
  .nav__links { display: flex; align-items: center; gap: 30px; }
  .nav__links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color .15s;
  }
  .nav__links a:hover { color: var(--color-text); }
  .nav__links a[aria-current="page"] { color: var(--color-text); }
  .nav__cta { display: inline-flex; }
  .nav__burger { display: none; }
}

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: var(--z-modal); display: none; }
.drawer[data-open="true"] { display: block; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(20,18,14,.42); }
.drawer__panel {
  position: absolute;
  top: 0; right: 0;
  width: min(84vw, 340px);
  height: 100%;
  background: var(--color-surface);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-2xl);
}
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.drawer__panel a {
  padding: 13px 6px;
  color: var(--color-text);
  text-decoration: none;
  font-size: 20px;
  font-family: var(--font-display);
  border-bottom: 1px solid var(--color-hairline);
}
.drawer__panel .btn { margin-top: 18px; }
.icon-btn { background: none; border: 0; cursor: pointer; color: var(--color-text); padding: 6px; }

/* Sections */
.section { padding-block: clamp(56px, 8vw, 118px); }
.section--tight { padding-block: clamp(42px, 6vw, 78px); }
.section--sunken { background: var(--color-background-subtle); }

.sec-head { max-width: 720px; }
.sec-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.2rem + 2.4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.sec-head p {
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  max-width: 62ch;
}

/* Home hero */
.hero { padding-top: clamp(40px, 6vw, 84px); padding-bottom: clamp(52px, 8vw, 104px); }
.hero__grid { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 1.6rem + 6vw, 5.4rem);
  line-height: 0.99;
  letter-spacing: -0.025em;
}
.hero__lead {
  margin-top: 24px;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.58;
  color: var(--color-text-secondary);
  max-width: 52ch;
}
.hero__actions { margin-top: 32px; display: flex; gap: 13px; flex-wrap: wrap; }

.hero__visual {
  position: relative;
  aspect-ratio: 4 / 3.6;
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

@media (min-width: 860px) {
  .hero__grid { grid-template-columns: 1.12fr 0.88fr; gap: 56px; }
}

/* Interior page hero */
.page-hero { padding-top: clamp(48px, 7vw, 92px); padding-bottom: clamp(28px, 4vw, 48px); }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1.5rem + 4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.022em;
  max-width: 16ch;
}
.page-hero p {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--color-text-secondary);
  max-width: 54ch;
}

/* Two-up service cards */
.cards-2 { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 46px; }
@media (min-width: 760px) { .cards-2 { grid-template-columns: repeat(2, 1fr); gap: 20px; } }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow .25s var(--ease-standard), transform .25s, border-color .25s;
}
.card--interactive:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--color-primary-border); }
.card__icon {
  width: 46px; height: 46px;
  border-radius: var(--radius-lg);
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: -0.01em;
  line-height: 1.12;
}
.card p { color: var(--color-text-secondary); font-size: 15.5px; line-height: 1.58; }
.card .link-more { margin-top: auto; padding-top: 6px; }

/* Reasons — asymmetric stacked list */
.reasons { margin-top: 48px; display: grid; gap: 2px; }
.reason {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding-block: 30px;
  border-top: 1px solid var(--color-border);
}
.reason:last-child { border-bottom: 1px solid var(--color-border); }
.reason__n { font-family: var(--font-mono); font-size: 13px; color: var(--color-secondary-text); font-weight: 600; }
.reason h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.05rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
}
.reason p { color: var(--color-text-secondary); font-size: 16.5px; line-height: 1.6; max-width: 60ch; }
@media (min-width: 820px) {
  .reason { grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: start; }
  .reason__head { display: flex; flex-direction: column; gap: 12px; }
}

/* Geographic presence — interactive globe */
.geo {
  min-height: 90vh;
  background: var(--gradient-pine);
  color: var(--stone-100);
  display: flex;
  align-items: center;
  padding-block: clamp(48px, 7vw, 96px);
  position: relative;
  overflow: hidden;
}
.geo::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -20%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,178,93,0.16), transparent 65%);
  pointer-events: none;
}
.geo__inner { position: relative; z-index: 1; }
.geo__head { max-width: none; text-align: center; margin-inline: auto; }
.geo__head h2 { color: #fff; }
.geo__hint { margin: 12px auto 0; font-size: 14px; color: #FFFFFF; }
.geo__stage {
  position: relative;
  margin-top: clamp(24px, 4vw, 44px);
  display: flex;
  justify-content: center;
}
.globe {
  position: relative;
  width: min(600px, 84vw);
  aspect-ratio: 1;
  cursor: grab;
  touch-action: none;
}
.globe.is-grabbing { cursor: grabbing; }
.globe svg { width: 100%; height: 100%; overflow: visible; display: block; }
.globe-marker { cursor: pointer; }
.globe-marker:focus-visible { outline: none; }
.globe-marker .hit { outline: none; }
.globe-pulse { transform-box: fill-box; transform-origin: center; animation: geoPulse 2.4s var(--ease-out) infinite; }
.globe-marker.is-active .marker-dot { r: 4; }
@keyframes geoPulse {
  0%   { transform: scale(0.6); opacity: 0.55; }
  70%  { transform: scale(2.6); opacity: 0; }
  100% { transform: scale(2.6); opacity: 0; }
}

.geo-card {
  position: absolute;
  width: min(320px, 84vw);
  background: var(--color-surface-raised);
  color: var(--color-text);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--color-border);
  padding: 22px 24px;
  z-index: 5;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .28s var(--ease-standard), transform .28s var(--ease-standard), visibility .28s;
  pointer-events: none;
}
.geo-card.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.geo-card__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-secondary-text);
  font-weight: 600;
}
.geo-card__city { font-family: var(--font-display); font-size: 30px; letter-spacing: -0.02em; margin: 6px 0 10px; }
.geo-card__desc { font-size: 14px; line-height: 1.55; color: var(--color-text-secondary); }
@media (prefers-reduced-motion: reduce) {
  .globe-pulse { animation: none; }
}

/* Affiliations */
.affil { margin-top: 40px; }
.affil__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 700px) { .affil__grid { grid-template-columns: repeat(3, 1fr); } }
.affil__item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  background: var(--color-surface);
  text-decoration: none;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color .2s, box-shadow .2s;
}
.affil__item:hover { border-color: var(--color-primary-border); box-shadow: var(--shadow-sm); }
.affil__item b { font-family: var(--font-display); font-size: 20px; letter-spacing: -0.01em; font-weight: 400; }
.affil__item span { font-size: 13px; color: var(--color-text-tertiary); word-break: break-word; }

/* Prose lists (expertise / careers) */
.prose { max-width: 68ch; }
.prose p { font-size: 17px; line-height: 1.68; color: var(--color-text-secondary); margin-top: 18px; }
.prose p:first-child { margin-top: 0; }
.prose h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem);
  letter-spacing: -0.01em;
  margin-top: 40px;
  color: var(--color-text);
}
.checklist { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.checklist li {
  position: relative;
  padding-left: 30px;
  font-size: 16.5px;
  line-height: 1.5;
  color: var(--color-text-secondary);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--color-secondary);
  border-bottom: 2px solid var(--color-secondary);
  transform: rotate(-45deg);
}

.split { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 900px) { .split { grid-template-columns: 0.4fr 0.6fr; gap: 56px; } }
.split__aside .eyebrow-row { margin-bottom: 14px; }
.split__aside h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

/* Discipline blocks (expertise) */
.discipline { padding-block: clamp(44px, 6vw, 80px); border-top: 1px solid var(--color-border); }
.discipline__meta {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-secondary-text);
  font-weight: 600;
  letter-spacing: .04em;
}

/* Commitments */
.commit-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 46px; }
@media (min-width: 820px) { .commit-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 820px) {
  .commit-grid--stagger > :nth-child(1) { transform: translateY(26px); }
  .commit-grid--stagger > :nth-child(3) { transform: translateY(26px); }
}

/* Numbered editorial feature (sticky aside + body) */
.feature { display: grid; grid-template-columns: 1fr; gap: 24px; }
.feature__meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--color-secondary-text); font-weight: 600; }
.feature__num { font-family: var(--font-display); font-size: clamp(3.2rem, 2rem + 5vw, 6rem); line-height: 0.86; letter-spacing: -0.02em; color: var(--color-primary); display: block; }
.feature__aside h2 { font-family: var(--font-display); font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem); line-height: 1.08; letter-spacing: -0.015em; margin-top: 16px; }
.feature__body .checklist { margin-top: 4px; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 0.42fr 0.58fr; gap: 60px; align-items: start; }
  .feature__aside { position: sticky; top: 96px; }
  .feature--mirror .feature__aside { order: 2; }
  .feature--mirror .feature__body { order: 1; }
}

/* Discipline layout (expertise) — full-width header, two-col body */
.disc { display: block; }
.disc__top { display: grid; grid-template-columns: 1fr; gap: 18px; padding-bottom: 34px; border-bottom: 1px solid var(--color-border); }
.disc__top h2 { font-family: var(--font-display); font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); line-height: 1.04; letter-spacing: -0.02em; }
.disc__lead { font-size: 18px; line-height: 1.62; color: var(--color-text-secondary); }
@media (min-width: 900px) {
  .disc__top { grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: end; }
}
.disc__cols { display: grid; grid-template-columns: 1fr; gap: 30px; padding-top: 34px; }
@media (min-width: 760px) { .disc__cols { grid-template-columns: 1fr 1fr; gap: 48px; } }
.disc__col h3 { font-family: var(--font-display); font-size: clamp(1.3rem, 1.05rem + 0.9vw, 1.7rem); letter-spacing: -0.01em; margin-bottom: 12px; }
.disc__col p { font-size: 16px; line-height: 1.64; color: var(--color-text-secondary); margin-top: 14px; }
.disc__col p:first-of-type { margin-top: 0; }

/* Brief interrogation — unconventional staircase layout */
.brief {
  position: relative;
  padding-top: 12px;
}
.brief__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}
.brief__intro {
  max-width: 34ch;
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}
.brief__questions {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  counter-reset: none;
}
.brief__q {
  display: flex;
  align-items: baseline;
  gap: clamp(14px, 3vw, 34px);
  padding: 26px 0;
  border-top: 1px dashed var(--color-border-strong);
}
.brief__q:last-child { border-bottom: 1px dashed var(--color-border-strong); }
.brief__n {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--color-secondary);
  flex: none;
  padding-top: 10px;
}
.brief__text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1rem + 2.6vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--color-text);
  text-wrap: balance;
}
/* staircase: each question steps further in */
.brief__q:nth-child(1) { margin-left: 0; }
.brief__q:nth-child(2) { margin-left: 8%; }
.brief__q:nth-child(3) { margin-left: 16%; }
.brief__note {
  max-width: 40ch;
  margin-top: 30px;
  margin-left: auto;
  text-align: right;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}
@media (min-width: 900px) {
  .brief__title { position: absolute; top: 0; right: 0; text-align: right; }
  .brief__intro { max-width: 40ch; }
}
@media (max-width: 560px) {
  .brief__q:nth-child(2), .brief__q:nth-child(3) { margin-left: 0; }
}

/* Inset pine panel — checklists on a dark ground */
.inset-panel { background: var(--gradient-pine); color: var(--stone-100); border-radius: var(--radius-2xl); padding: clamp(26px, 3.5vw, 40px); margin-top: 30px; box-shadow: var(--shadow-lg); }
.inset-panel__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-300); font-weight: 600; }
.inset-panel .checklist { margin-top: 20px; }
@media (min-width: 620px) { .inset-panel .checklist { grid-template-columns: 1fr 1fr; gap: 12px 30px; } }
.inset-panel .checklist li { color: var(--stone-100); }
.inset-panel .checklist li::before { border-color: var(--brass-300); }

/* Editorial lead block — oversized serif lead + supporting body */
.lead-block { display: grid; grid-template-columns: 1fr; gap: 24px; }
.lead-block__big { font-family: var(--font-display); font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); line-height: 1.12; letter-spacing: -0.018em; color: var(--color-text); max-width: 18ch; }
.lead-block__body p { font-size: 17px; line-height: 1.68; color: var(--color-text-secondary); margin-top: 16px; }
.lead-block__body p:first-child { margin-top: 0; }
@media (min-width: 900px) { .lead-block { grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: start; } }

/* Centered statement */
.statement--wide { max-width: none; }
.statement--wide .statement__lead { max-width: none; }
.statement { max-width: 26ch; margin-inline: auto; text-align: center; }
.statement__lead { font-family: var(--font-display); font-size: clamp(2rem, 1.3rem + 2.8vw, 3.2rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--color-text); }
.statement__lead em { font-style: italic; color: var(--color-primary); }
.statement__sub { max-width: 62ch; margin: 24px auto 0; }
.statement__sub p { font-size: 16.5px; line-height: 1.66; color: var(--color-text-secondary); margin-top: 14px; }
.statement__sub p:first-child { margin-top: 0; }

/* Careers — job posting */
.image-band {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 420px;
  overflow: hidden;
  background-color: #0E2820;
  background-image: var(--band-img, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
@media (hover: none), (max-width: 760px) {
  .image-band { background-attachment: scroll; }
}
.image-band__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(14,40,32,0.12) 0%, transparent 32%, rgba(14,40,32,0.40) 100%);
}

.job {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  background: var(--color-surface);
  padding: clamp(26px, 3vw, 40px);
  margin-top: 40px;
}
.job__head { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: baseline; justify-content: space-between; }
.job__head h3 { font-family: var(--font-display); font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.3rem); letter-spacing: -0.015em; }
.job__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 6px 11px;
  border-radius: var(--radius-full);
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  border: 1px solid var(--color-primary-border);
}

/* Dark CTA panel */
.cta-panel {
  background:
    linear-gradient(150deg, rgba(14,40,32,0.90) 0%, rgba(16,56,43,0.82) 55%, rgba(7,35,26,0.88) 100%),
    url('uploads/sterlingPark6.jpg');
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-3xl);
  padding: clamp(38px, 6vw, 76px);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-panel::after {
  content: "";
  position: absolute;
  right: -6%; top: -30%;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,178,93,.22), transparent 65%);
}
.cta-panel__inner { position: relative; z-index: 1; max-width: 640px; }
.cta-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
}
.cta-panel h2 em { font-style: italic; color: var(--brass-300); }
.cta-panel p { margin-top: 16px; font-size: 18px; line-height: 1.55; color: var(--stone-200); max-width: 46ch; }
.cta-panel__actions { margin-top: 30px; display: flex; gap: 13px; flex-wrap: wrap; }

/* Contact / forms */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 44px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: 60px; } }

.offices { display: grid; gap: 26px; }
.office__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  font-weight: 600;
  margin-bottom: 10px;
}
.office h3 { font-family: var(--font-display); font-size: 24px; letter-spacing: -0.01em; margin-bottom: 8px; }
.office p, .office a { font-size: 15.5px; line-height: 1.6; color: var(--color-text-secondary); text-decoration: none; }
.office a:hover { color: var(--color-primary); }
.office__line { display: block; }

.form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: clamp(24px, 3vw, 36px);
}
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 14px; font-weight: 500; color: var(--color-text); }
.field input, .field textarea {
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  background: var(--color-surface-raised);
  color: var(--color-text);
  transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-focus-ring);
}
.field textarea { resize: vertical; min-height: 130px; }
.form__note {
  margin-top: 6px;
  font-size: 13px;
  color: var(--color-text-tertiary);
}
.form__success {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--color-success-subtle);
  color: var(--color-success-text);
  font-size: 14.5px;
}
.form__success[data-show="true"] { display: block; }

.confidential {
  margin-top: 44px;
  border-top: 1px solid var(--color-border);
  padding-top: 32px;
  max-width: 62ch;
}
.confidential h3 { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -0.01em; }
.confidential p { margin-top: 14px; font-size: 16px; line-height: 1.6; color: var(--color-text-secondary); }

/* Footer */
.footer { background: var(--color-surface-inverse); color: var(--stone-200); padding-block: 58px 28px; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 24px; }
@media (min-width: 780px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; } }
.footer__brand { grid-column: 1 / -1; }
@media (min-width: 780px) { .footer__brand { grid-column: auto; } }
.footer .brand span { color: #FFFFFF; }
.footer__blurb { font-size: 15px; line-height: 1.55; color: var(--stone-300); max-width: 34ch; margin-top: 16px; }
.footer h5 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--stone-400); margin-bottom: 14px; font-weight: 600; }
.footer nav a { display: block; color: #FFFFFF; text-decoration: none; font-size: 15px; margin-bottom: 10px; transition: color .15s; }
.footer nav a:hover { color: #fff; }
.footer__link-btn {
  display: block;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 15px;
  margin-bottom: 10px;
  transition: color .15s;
}
.footer__link-btn:hover { color: var(--brass-300); }
.footer__base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 13px;
  color: var(--stone-400);
  flex-wrap: wrap;
  gap: 12px;
}
.footer__base a { color: var(--stone-400); text-decoration: none; }
.footer__base a:hover { color: var(--stone-200); }

/* Cookie banner */
.cookie {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: var(--z-toast);
  max-width: 460px;
  background: color-mix(in srgb, var(--color-surface-raised) 92%, transparent);
  backdrop-filter: blur(14px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  padding: 22px 22px 20px;
  display: flex;
  gap: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.98);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out), visibility .4s;
}
.cookie[data-show="true"] { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.cookie__mark {
  flex: none;
  width: 40px; height: 40px;
  border-radius: var(--radius-lg);
  background: var(--gradient-pine);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie__mark svg { width: 22px; height: 22px; }
.cookie__title {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.cookie p { font-size: 14px; line-height: 1.55; color: var(--color-text-secondary); }
.cookie p a { color: var(--color-primary); font-weight: 500; }
.cookie__actions { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.cookie .btn { padding: 10px 18px; font-size: 14px; }
@media (min-width: 560px) { .cookie { left: 24px; right: auto; bottom: 24px; } }
@media (prefers-reduced-motion: reduce) {
  .cookie { transition: opacity .3s linear, visibility .3s; transform: none; }
  .cookie[data-show="true"] { transform: none; }
}

/* 404 */
.notfound {
  min-height: 68vh;
  display: flex;
  align-items: center;
}
.notfound__code {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--color-secondary-text);
  font-weight: 600;
}
.notfound h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 1.6rem + 4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin-top: 16px;
  max-width: 18ch;
}
.notfound p { margin-top: 18px; font-size: 18px; line-height: 1.55; color: var(--color-text-secondary); max-width: 46ch; }
.notfound__actions { margin-top: 30px; display: flex; gap: 13px; flex-wrap: wrap; }

/* Privacy shell */
.legal { max-width: 70ch; }
.legal__placeholder {
  margin-top: 36px;
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-lg);
  padding: 30px;
  background: var(--color-surface-sunken);
  color: var(--color-text-tertiary);
  font-size: 15px;
  line-height: 1.6;
}
.legal__updated {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-text-tertiary);
  margin-top: 10px;
}
.legal__lead { font-size: 17px; line-height: 1.7; color: var(--color-text-secondary); }
.legal h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.85rem);
  letter-spacing: -0.01em;
  line-height: 1.14;
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid var(--color-border);
}
.legal h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.005em;
  margin-top: 26px;
}
.legal p { font-size: 16px; line-height: 1.72; color: var(--color-text-secondary); margin-top: 14px; }
.legal a { color: var(--color-primary); font-weight: 500; }
.legal ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 9px; }
.legal li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.6; color: var(--color-text-secondary); }
.legal li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--color-secondary); }
.legal__contact {
  margin-top: 40px;
  padding: 26px 28px;
  border-radius: var(--radius-xl);
  background: var(--color-background-subtle);
  border: 1px solid var(--color-border);
}
.legal__contact p { margin-top: 6px; }
