/* ============================================================
   Amoroso Woodridge — Website V3
   Self-contained implementation of the V3 marketing design.
   Consolidated: fonts → tokens → base → components → sections.
   All values ported verbatim from the design-system tokens and
   the V3 React prototype (chrome3/sections3/pages3).
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Maven Pro';
  src: url('../fonts/MavenPro-Variable.ttf') format('truetype-variations'),
       url('../fonts/MavenPro-Variable.ttf') format('truetype');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  /* --- Botanical green (brand accent) --- */
  --green-50:  #F1F7EA;
  --green-100: #E3EFD6;
  --green-200: #CADFB0;
  --green-300: #ABCE84;
  --green-400: #7FAF5C;   /* BRAND — Pantone 7489 CP */
  --green-500: #6E9C4B;
  --green-600: #587F3B;
  --green-700: #466730;
  --green-800: #3A5429;
  --green-900: #2C3F20;

  /* --- Slate (brand ink, from P 173-15 C) --- */
  --slate-50:  #F3F3F3;
  --slate-100: #E4E4E5;
  --slate-200: #C9C9CA;
  --slate-300: #A6A7A8;
  --slate-400: #79797B;
  --slate-500: #5C5D5E;
  --slate-600: #4D4E4F;   /* BRAND — Pantone P 173-15 C */
  --slate-700: #404142;
  --slate-800: #333435;
  --slate-900: #232425;

  /* --- Cool gray --- */
  --gray-100: #ECECED;
  --gray-200: #D9DADB;
  --gray-300: #C5C6C7;
  --gray-400: #A7A8AA;
  --gray-500: #8A8B8D;
  --gray-600: #6C6D6F;

  /* --- Warm neutrals --- */
  --sand-50:  #FAF7F1;
  --sand-100: #F4EFE5;
  --sand-200: #EBE3D4;
  --sand-300: #DDD1BC;
  --sand-400: #C8B89B;
  --taupe-500: #A8967A;
  --taupe-600: #87775E;
  --taupe-700: #685B45;
  --bark-800: #4A4034;
  --bark-900: #332C23;

  /* --- Warm derived accents --- */
  --clay-300: #E69A80;
  --clay-400: #D9694A;
  --clay-500: #C0492E;
  --clay-600: #A33B24;
  --wheat-300: #F0C886;
  --wheat-400: #E0A04A;
  --wheat-500: #C9893A;

  /* --- Material tokens (Japandi) --- */
  --stone-50:  #F0EBE3;
  --stone-100: #E4DCD0;
  --stone-200: #D2C7B8;
  --stone-300: #BBAE9C;
  --stone-400: #A99C8A;
  --stone-500: #8C8174;
  --stone-600: #6E665B;
  --cream-50:  #F7F2EA;
  --cream-100: #EDE7DD;
  --cream-200: #DFD2C2;
  --espresso-700: #4A3D31;
  --espresso-800: #3A3028;
  --espresso-900: #2A231D;
  --sage-100: #E8EADF;
  --sage-200: #D3D7C3;
  --sage-300: #B7BE9F;
  --sage-400: #98A07E;
  --sage-500: #79825F;
  --sage-600: #5F6849;
  --walnut-light: #A5866C;
  --walnut-mid:   #7C5733;
  --walnut-dark:  #4A3525;

  /* --- Semantic: surfaces --- */
  --color-bg:             var(--sand-50);
  --color-surface:        #FFFFFF;
  --color-surface-raised: #FFFFFF;
  --color-surface-2:      var(--sand-100);
  --color-surface-sunken: var(--sand-200);
  --color-surface-inverse: var(--slate-800);
  --color-surface-brand:  var(--green-50);
  --color-stone:          var(--stone-400);
  --surface-stone:        var(--stone-100);
  --surface-cream:        var(--cream-50);
  --color-ink-warm:       var(--espresso-800);
  --color-sage:           var(--sage-500);
  --surface-sage:         var(--sage-100);

  /* --- Semantic: text --- */
  --color-text:           #2F3031;
  --color-text-secondary: #55534E;
  --color-text-muted:     #8C8579;
  --color-text-inverse:   #FAF7F1;
  --color-text-on-brand:  #FFFFFF;

  /* --- Semantic: brand --- */
  --color-brand:          var(--green-400);
  --color-brand-hover:    var(--green-500);
  --color-brand-emphasis: #557B36;
  --color-brand-strong:   var(--green-700);
  --color-link:           var(--green-700);
  --color-link-hover:     var(--green-800);

  /* --- Borders & lines --- */
  --color-border:         #E7DECE;
  --color-border-strong:  #D8CCB6;
  --color-border-inverse: rgba(255,255,255,0.16);
  --color-divider:        #EFE8DA;

  /* --- Focus --- */
  --color-focus:          var(--green-400);

  /* --- Status --- */
  --color-success:        var(--green-700);
  --color-success-surface: var(--green-100);
  --color-warning:        var(--wheat-500);
  --color-warning-surface: #FBEFD9;
  --color-danger:         var(--clay-500);
  --color-danger-surface: #F8E6E0;
  --color-info:           var(--slate-600);
  --color-info-surface:   var(--slate-100);

  /* --- Typography --- */
  --font-display: 'Maven Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-sans:    'Maven Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-script:  'Segoe Script', cursive;
  --font-mono:    ui-monospace, 'SF Mono', 'SFMono-Regular', Menlo, Consolas, monospace;

  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;
  --weight-heavy:    800;

  --text-xs:   0.8125rem;
  --text-sm:   0.9375rem;
  --text-base: 1.0625rem;
  --text-md:   1.1875rem;
  --text-lg:   1.375rem;
  --text-xl:   1.75rem;
  --text-2xl:  2.25rem;
  --text-3xl:  2.875rem;
  --text-4xl:  3.5rem;
  --text-5xl:  4.5rem;
  --text-display: clamp(2.75rem, 6vw, 4.5rem);
  --text-hero:    clamp(2.25rem, 5vw, 3.5rem);

  --leading-tight:   1.1;
  --leading-snug:    1.25;
  --leading-normal:  1.5;
  --leading-relaxed: 1.65;

  --tracking-tight:   -0.02em;
  --tracking-snug:    -0.01em;
  --tracking-normal:  0;
  --tracking-wide:    0.06em;
  --tracking-eyebrow: 0.18em;

  /* --- Spacing & layout --- */
  --space-0:  0;
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.5rem;
  --space-6:  2rem;
  --space-7:  2.5rem;
  --space-8:  3rem;
  --space-9:  4rem;
  --space-10: 5rem;
  --space-11: 6rem;
  --space-12: 8rem;
  --container-max:    1200px;
  --container-wide:   1320px;
  --container-narrow: 760px;
  --gutter:           clamp(1.25rem, 4vw, 2.5rem);
  --section-y:        clamp(4rem, 8vw, 8rem);

  /* --- Radius --- */
  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   18px;
  --radius-xl:   28px;
  --radius-pill: 999px;
  --radius-button: var(--radius-sm);
  --radius-input:  var(--radius-sm);
  --radius-card:   var(--radius-lg);
  --radius-image:  var(--radius-md);

  /* --- Effects --- */
  --shadow-xs: 0 1px 2px rgba(74, 64, 52, 0.05);
  --shadow-sm: 0 2px 10px rgba(74, 64, 52, 0.06);
  --shadow-md: 0 10px 30px rgba(74, 64, 52, 0.08);
  --shadow-lg: 0 24px 60px rgba(74, 64, 52, 0.10);
  --shadow-xl: 0 36px 80px rgba(74, 64, 52, 0.13);
  --shadow-focus: 0 0 0 3px rgba(127, 175, 92, 0.35);
  --ring-inset:   inset 0 0 0 1px var(--color-border);
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 140ms;
  --duration-base: 220ms;
  --duration-slow: 360ms;
  --border-width: 1px;
  --border-hairline: 1px solid var(--color-border);
}

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  font-weight: var(--weight-regular);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* page gradient from the V3 app shell */
  background: linear-gradient(180deg, var(--cream-50) 0%, var(--sand-50) 42%, var(--sage-100) 100%);
  background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-text);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin: 0 0 0.5em;
  text-wrap: balance;
}
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--color-link); text-decoration: none; transition: color var(--duration-fast) var(--ease-out); }
a:hover { color: var(--color-link-hover); }
strong, b { font-weight: var(--weight-semibold); }
small { font-size: var(--text-sm); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
::selection { background: var(--green-200); color: var(--slate-900); }
img { max-width: 100%; display: block; }

/* Skip link — visible on keyboard focus */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--color-brand-emphasis); color: #fff; padding: 10px 16px; border-radius: 0 0 var(--radius-sm) 0; font-weight: 600; }
.skip-link:focus { left: 0; color: #fff; }

address { font-style: normal; }

/* Eyebrow */
.aw-eyebrow {
  font-family: var(--font-sans);
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-brand-strong);
  margin: 0 0 14px;
}

/* ============================================================
   SURFACE MOTIFS (paths relative to this css file: ../textures/)
   ============================================================ */
.aw-wood-dark {
  background-color: #2A1A0E;
  background-image: linear-gradient(rgba(34,20,11,0.66), rgba(34,20,11,0.74)),
                    url('../textures/wood-walnut.jpg');
  background-size: cover;
  background-position: center;
}
.aw-wood-table {
  background-color: var(--taupe-700);
  background-image: linear-gradient(rgba(58,38,22,0.18), rgba(58,38,22,0.30)),
                    url('../textures/wood-walnut.jpg');
  background-size: cover;
  background-position: center;
}
/* whitewashed oak — final definition wins in base.css, dark text reads directly */
.aw-wood-light {
  background-color: var(--cream-50);
  background-image: url('../textures/wood-whitewash.jpg');
  background-size: cover;
  background-position: center;
}
.aw-walnut-dark {
  background-color: #2A1A0E;
  background-image: linear-gradient(rgba(28,17,9,0.40), rgba(28,17,9,0.52)),
                    url('../textures/wood-walnut-dark.jpg');
  background-size: cover;
  background-position: center;
}
.aw-stone-light {
  background-color: var(--stone-100);
  background-image: linear-gradient(rgba(247,242,234,0.66), rgba(247,242,234,0.72)),
                    url('../textures/stone-greige.jpg');
  background-size: cover;
  background-position: center;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--wide { max-width: var(--container-wide); }
.section-y { padding: var(--section-y) var(--gutter); }
/* Shorter vertical rhythm for lighter sections (e.g. Careers below the hero) */
.section--compact .section-y { padding-top: clamp(1.3rem, 2.6vw, 2.6rem); padding-bottom: clamp(1.3rem, 2.6vw, 2.6rem); }
.section--tight .section-y { padding-top: clamp(0.91rem, 1.82vw, 1.82rem); padding-bottom: clamp(0.91rem, 1.82vw, 1.82rem); }
main { display: block; }

/* ============================================================
   ICON
   ============================================================ */
.icon { display: inline-flex; align-items: center; justify-content: center; flex: none; color: inherit; vertical-align: middle; }
.icon svg { width: 100%; height: 100%; display: block; }

/* ============================================================
   BUTTON  (ported from components/core/Button.jsx)
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-weight: var(--weight-semibold);
  font-size: var(--text-base); line-height: 1.1; letter-spacing: var(--tracking-snug);
  padding: 11px 20px; border-radius: var(--radius-sm);
  cursor: pointer; border: 1px solid transparent; background: none;
  transition: background var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out);
}
.btn:not(.btn--link):hover { transform: translateY(-1px); }
.btn--sm { padding: 8px 14px; font-size: var(--text-sm); gap: 6px; border-radius: var(--radius-sm); }
.btn--md { padding: 11px 20px; font-size: var(--text-base); gap: 8px; border-radius: var(--radius-sm); }
.btn--lg { padding: 15px 28px; font-size: var(--text-md); gap: 10px; border-radius: var(--radius-md); }
.btn--full { width: 100%; }

.btn--primary { background: var(--color-brand-emphasis); color: #fff; border-color: transparent; box-shadow: var(--shadow-xs); }
.btn--primary:hover { background: var(--green-700); }
.btn--secondary { background: var(--color-surface); color: var(--color-text); border-color: var(--color-border-strong); }
.btn--secondary:hover { background: var(--sand-50); border-color: var(--taupe-500); }
.btn--ghost { background: transparent; color: var(--color-brand-strong); border-color: transparent; }
.btn--ghost:hover { background: var(--green-50); }
.btn--subtle { background: var(--green-50); color: var(--color-brand-strong); border-color: transparent; }
.btn--subtle:hover { background: var(--green-100); }
.btn--inverse { background: var(--color-text-inverse); color: var(--slate-800); border-color: transparent; }
.btn--inverse:hover { background: #fff; }
.btn--link { background: transparent; color: var(--color-link); padding: 0; border-radius: 0; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.btn--link:hover { color: var(--color-link-hover); }

/* ============================================================
   STAT  (ported from components/core/Stat.jsx)
   ============================================================ */
.stat { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; text-align: start; }
.stat--center { align-items: center; text-align: center; }
.stat__value { font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: var(--text-4xl); line-height: 1; letter-spacing: var(--tracking-tight); color: var(--color-brand-strong); }
.stat__label { font-family: var(--font-sans); font-weight: var(--weight-semibold); font-size: var(--text-base); color: var(--color-text); }
.stat__sub { font-size: var(--text-sm); color: var(--color-text-muted); }

/* ============================================================
   CARD  (ported from components/core/Card.jsx)
   ============================================================ */
.card { position: relative; background: var(--color-surface); border-radius: var(--radius-card); padding: var(--space-5); overflow: hidden; border: 1px solid var(--color-border); }
.card--pad-lg { padding: var(--space-6); }
.card--flat { box-shadow: none; border: 1px solid var(--color-border); }
.card--raised { box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); }
.card--floating { box-shadow: var(--shadow-md); border: 1px solid transparent; }

/* ============================================================
   BADGE  (ported from components/core/Badge.jsx — neutral tone)
   ============================================================ */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; font-family: var(--font-sans); font-weight: var(--weight-semibold); font-size: var(--text-xs); line-height: 1.3; letter-spacing: 0.01em; border-radius: var(--radius-pill); white-space: nowrap; border: 1px solid transparent; }
.badge--neutral { background: var(--sand-100); color: var(--taupe-700); }

/* ============================================================
   FIELD / INPUT / SELECT  (ported from components/forms/*)
   ============================================================ */
.field { display: flex; flex-direction: column; gap: 7px; }
.field__label { font-family: var(--font-sans); font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--color-text); display: inline-flex; gap: 4px; }
.field__req { color: var(--color-danger); }
.field__hint { font-size: var(--text-sm); color: var(--color-text-muted); }

.input, .select {
  width: 100%; padding: 11px 14px;
  font-family: var(--font-sans); font-size: var(--text-base); color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong); border-radius: var(--radius-input);
  outline: none;
  transition: border-color var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
}
.input:focus, .select:focus { border-color: var(--color-brand); box-shadow: var(--shadow-focus); }
.input-wrap { position: relative; display: block; }
.input-wrap .icon { position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%); color: var(--color-text-muted); pointer-events: none; }
.input-wrap .input { padding-inline-start: 42px; }
.select {
  padding: 11px 38px 11px 14px; appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23685B45' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center;
}

/* ============================================================
   HEADER  (ported from chrome3.jsx)
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 50; }
.utility-bar { background: var(--slate-800); color: rgba(255,255,255,0.85); font-size: var(--text-xs); font-weight: 600; }
.utility-bar__inner { max-width: var(--container-wide); margin: 0 auto; padding: 7px var(--gutter); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.utility-bar__loc { display: inline-flex; align-items: center; gap: 7px; }
.utility-bar__contact { display: inline-flex; gap: 18px; }
.utility-bar__contact a { display: inline-flex; align-items: center; gap: 7px; }
.utility-bar a.tel { color: var(--green-300); }
.utility-bar a.mailto { color: rgba(255,255,255,0.85); }

.nav-bar { background: rgba(255,255,255,0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--color-border); }
.nav-bar__inner { max-width: var(--container-wide); margin: 0 auto; padding: 0 var(--gutter); height: 72px; display: flex; align-items: center; gap: var(--space-6); }
.nav-bar__logo { flex: none; display: flex; }
.nav-bar__logo img { height: 56px; width: auto; }
.nav { display: flex; gap: var(--space-5); margin-inline-start: auto; align-items: center; }
.nav__link { font-weight: 600; font-size: var(--text-sm); letter-spacing: 0.02em; color: var(--color-text); padding: 6px 2px; border-bottom: 2px solid transparent; }
.nav__link:hover { color: var(--color-brand-strong); }
.nav__link.is-active { color: var(--color-brand-strong); border-bottom-color: var(--color-brand); }
.nav-toggle { display: none; margin-inline-start: auto; background: none; border: 0; cursor: pointer; color: var(--color-text); }
.mobile-menu { display: none; border-top: 1px solid var(--color-border); padding: var(--space-4) var(--gutter); flex-direction: column; gap: var(--space-2); background: #fff; }
.mobile-menu.is-open { display: flex; }
.mobile-menu a { padding: 10px 4px; font-weight: 600; font-size: var(--text-md); color: var(--color-text); }

/* ============================================================
   FOOTER  (ported from chrome3.jsx)
   ============================================================ */
.site-footer { background: var(--slate-800); color: var(--color-text-inverse); }
.site-footer__inner { max-width: var(--container-max); margin: 0 auto; padding: var(--space-9) var(--gutter) var(--space-6); }
.site-footer__top { display: flex; flex-wrap: wrap; gap: var(--space-9); justify-content: space-between; }
.site-footer__brand { max-width: 320px; }
.site-footer__brand img { height: 44px; width: auto; margin-bottom: var(--space-4); }
.site-footer__cols { display: flex; gap: var(--space-9); flex-wrap: wrap; }
.footer-h { font-family: var(--font-sans); font-size: var(--text-sm); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; margin: 0 0 14px; }
.footer-p { font-size: var(--text-sm); color: rgba(255,255,255,0.66); margin: 0 0 9px; line-height: 1.5; }
.footer-p--strong { color: #fff; font-weight: 600; }
.footer-links a { display: block; }
.footer-badges { display: flex; gap: 14px; flex-wrap: wrap; margin: var(--space-6) 0 var(--space-5); }
.footer-badge { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.04em; color: var(--green-300); border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius-pill); padding: 5px 13px; }
.site-footer__legal { border-top: 1px solid rgba(255,255,255,0.14); padding-top: var(--space-5); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: var(--text-sm); color: rgba(255,255,255,0.5); }
.site-footer__legal a { color: rgba(255,255,255,0.72); text-decoration: underline; text-underline-offset: 2px; }
.site-footer__legal a:hover { color: #fff; }

/* Readable long-form / legal copy */
.prose { max-width: 68ch; }
.prose p { color: var(--color-text-secondary); font-size: var(--text-md); line-height: 1.75; margin: 0 0 1.2em; }
.prose p:last-child { margin-bottom: 0; }
.prose h2 { font-size: var(--text-xl); color: var(--color-text); line-height: 1.2; margin: var(--space-8) 0 var(--space-4); }
.prose > h2:first-child { margin-top: 0; }
.prose ul { color: var(--color-text-secondary); font-size: var(--text-md); line-height: 1.75; margin: 0 0 1.2em; padding-inline-start: 1.4em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--sage-400); }
.prose strong { color: var(--color-text); }
.prose a { color: var(--color-link); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--color-link-hover); }
.prose address { font-style: normal; color: var(--color-text-secondary); font-size: var(--text-md); line-height: 1.9; margin: 0 0 1.2em; }

/* ============================================================
   HERO  (ported from sections3.jsx V3Hero)
   ============================================================ */
.hero { position: relative; min-height: min(64vh, 620px); display: flex; align-items: flex-end; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35,36,37,0.08) 30%, rgba(35,36,37,0.38) 100%); }
.hero__wrap { position: relative; width: 100%; padding-bottom: var(--space-7); padding-top: var(--space-10); }
.hero__card { background: var(--surface-cream); border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); padding: clamp(1.75rem, 4vw, 3rem); max-width: 620px; }
.hero__card h1 { font-size: var(--text-hero); margin: 0; line-height: 1.07; letter-spacing: var(--tracking-snug); }
.hero__lead { font-size: var(--text-md); color: var(--color-text-secondary); margin: var(--space-4) 0 0; line-height: 1.65; max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }

/* ============================================================
   STATS band  (V3Stats — white paper on walnut tabletop)
   ============================================================ */
.stats-band .wrap { padding: var(--space-8) var(--gutter); }
.stats-paper { background: var(--color-surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: var(--space-6) var(--space-7); display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--space-6); }
.stats-paper > div + div { padding-inline-start: var(--space-6); border-inline-start: 1px solid var(--color-divider); }

/* ============================================================
   SERVICES  (V3Services — numbered rows)
   ============================================================ */
.section-surface { background: var(--color-surface); }
.section-cream { background: var(--surface-cream); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.split { display: grid; grid-template-columns: minmax(240px, 0.8fr) 1.2fr; gap: var(--space-9); }
.split--contact { grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1fr); align-items: start; }
.split--partner { grid-template-columns: 1.35fr 0.65fr; align-items: start; }
.col-head h2 { font-size: var(--text-2xl); margin: 0; line-height: 1.12; }
.col-head p { color: var(--color-text-secondary); line-height: 1.7; margin-top: var(--space-4); }

.service-row { display: flex; gap: var(--space-5); align-items: flex-start; padding: var(--space-5) 0; border-top: 1px solid var(--color-divider); }
.service-row:last-child { border-bottom: 1px solid var(--color-divider); }
.service-row__num { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); color: var(--sage-500); flex: none; width: 34px; }
.icon-tile { width: 46px; height: 46px; border-radius: 12px; background: var(--green-50); color: var(--color-brand-strong); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.service-row h3 { font-size: var(--text-lg); margin: 0 0 4px; }
.service-row p { color: var(--color-text-secondary); margin: 0; line-height: 1.6; font-size: var(--text-sm); }

/* Comfort grid + specialists */
.comfort-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-4) var(--space-6); }
.comfort-item { display: flex; gap: var(--space-3); align-items: center; }
.comfort-item .icon-tile { width: 42px; height: 42px; border-radius: 11px; }
.comfort-item span:last-child { font-weight: 600; font-size: var(--text-sm); color: var(--color-text); line-height: 1.4; }
.specialists { margin-top: var(--space-9); padding-top: var(--space-7); border-top: 1px solid var(--color-divider); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); }
.specialists__label { font-weight: 600; font-size: var(--text-sm); letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-text-muted); }
.specialists__chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip { padding: 6px 14px; border-radius: var(--radius-pill); background: var(--color-surface); border: 1px solid var(--color-border-strong); font-size: var(--text-sm); font-weight: 600; color: var(--color-text); }

/* ============================================================
   PARTNERSHIP  (V3Partnership — UPMC + Dr. Nemani)
   ============================================================ */
.partner { background: var(--color-surface); border-bottom: 1px solid var(--color-border); }
.partner__head { display: flex; align-items: center; gap: var(--space-5); flex-wrap: wrap; margin-bottom: var(--space-4); }
.partner__logo { height: 54px; width: auto; }
.partner__eyebrow { color: #771B61; margin: 0; }
.partner__eyebrow span { display: inline-block; margin-top: 12px; }
.partner h2 { font-size: var(--text-2xl); margin: 0; line-height: 1.12; }
.partner p { color: var(--color-text-secondary); line-height: 1.7; margin-top: var(--space-4); }
.partner p + p { margin-top: 1em; }
.partner__points { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); margin-top: var(--space-5); }
.partner__point { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: var(--text-sm); color: var(--color-text); }
.partner__point .icon { color: #771B61; }
.doc-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border-top: 4px solid #771B61; padding: var(--space-6); text-align: center; }
.doc-card__photo { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; object-position: top; margin: 0 auto; box-shadow: 0 0 0 4px var(--color-surface), 0 0 0 5px var(--color-border-strong); }
.doc-card h3 { font-size: var(--text-lg); margin: 18px 0 2px; }
.doc-card__title { margin: 0; font-size: var(--text-sm); font-weight: 600; color: #771B61; }
.doc-card__bio { margin: 14px 0 0; font-size: var(--text-sm); color: var(--color-text-secondary); line-height: 1.6; text-align: start; }
.doc-card__bio + .doc-card__bio { margin-top: 10px; }

/* ============================================================
   LIFE gallery  (V3Life)
   ============================================================ */
.life__head { text-align: center; max-width: 46ch; margin: 0 auto; }
.life__head h2 { font-size: var(--text-2xl); margin: 0; line-height: 1.12; }
.life-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-6); margin-top: var(--space-8); }
.life-fig { margin: 0; }
.life-fig img { width: 100%; height: 240px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.life-fig figcaption { padding: 14px 4px 0; }
.life-fig strong { font-size: var(--text-md); }
.life-fig p { margin: 4px 0 0; color: var(--color-text-secondary); font-size: var(--text-sm); line-height: 1.55; }

/* ============================================================
   QUOTE  (V3Quote)
   ============================================================ */
.quote-band { background: var(--sage-100); }
.quote-band .wrap { padding: var(--space-10) var(--gutter); text-align: center; }
.quote-band .icon { color: var(--sage-500); }
.quote-band blockquote { margin: 16px auto 0; max-width: 30ch; font-size: var(--text-xl); font-weight: 600; line-height: 1.35; color: var(--color-text); }
.quote-band__name { margin: 18px 0 0; font-weight: 700; font-size: var(--text-sm); }
.quote-band__rel { margin: 2px 0 0; font-size: var(--text-sm); color: var(--color-text-muted); }

/* ============================================================
   CTA  (V3CTA — compact walnut band)
   ============================================================ */
.cta { position: relative; overflow: hidden; }
.cta__leaf { position: absolute; right: -50px; top: -30px; width: 300px; opacity: 0.16; transform: rotate(10deg); }
.cta .wrap { position: relative; padding: clamp(2.5rem, 4.5vw, 4rem) var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); flex-wrap: wrap; }
.cta h2 { font-size: var(--text-xl); color: #fff; margin: 0; }
.cta__sub { color: rgba(255,255,255,0.85); margin: 8px 0 0; font-size: var(--text-sm); }

/* ============================================================
   INTERIOR PAGE HEADER  (V3PageHeader — soft sage wash)
   ============================================================ */
.page-header { position: relative; background: #D8E8C5; overflow: hidden; }
.page-header__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.30; }
.page-header__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(216,232,197,0.70), rgba(216,232,197,0.26)); }
.page-header .wrap { position: relative; padding: clamp(3rem, 6vw, 5rem) var(--gutter); }
.page-header__inner { max-width: 640px; }
.page-header h1 { font-size: var(--text-hero); color: var(--color-text); margin: 0; line-height: 1.08; }
.page-header__lead { color: var(--color-text-secondary); font-size: var(--text-md); margin-top: var(--space-4); line-height: 1.6; }

/* ============================================================
   ABOUT / STORY
   ============================================================ */
.story-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-8); align-items: center; }
.story-grid h2 { font-size: var(--text-2xl); margin: 0; }
.story-grid p { color: var(--color-text-secondary); line-height: 1.7; margin-top: var(--space-4); }
.story-grid img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.story-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--space-6); margin-top: var(--space-9); padding-top: var(--space-7); border-top: 1px solid var(--color-divider); }

/* ============================================================
   CAREERS
   ============================================================ */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-6); }
.value-card { background: var(--surface-cream); border-color: transparent; }
.value-card .icon-tile { width: 50px; height: 50px; border-radius: 14px; }
.value-card h2, .value-card h3 { font-size: var(--text-lg); margin: 16px 0 6px; }
.value-card p { color: var(--color-text-secondary); margin: 0; line-height: 1.6; font-size: var(--text-sm); }
.center-head { text-align: center; max-width: 46ch; margin: 0 auto; }
.center-head h2 { font-size: var(--text-2xl); margin: 0; }
.roles-toggle { display: flex; align-items: center; justify-content: center; gap: var(--space-2); margin-top: var(--space-6); }
.roles-list { max-width: 840px; margin: var(--space-6) auto 0; }
.role-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; padding: var(--space-4) var(--space-5); background: var(--color-surface); border-radius: var(--radius-md); box-shadow: var(--shadow-xs); border: 1px solid var(--color-border); margin-bottom: var(--space-3); }
.role-row__title { font-weight: 700; font-size: var(--text-md); }
.role-row__meta { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: 2px; }
.roles-note { text-align: center; font-size: var(--text-sm); color: var(--color-text-muted); margin-top: var(--space-4); }
.live-board { max-width: 960px; margin: var(--space-6) auto 0; }
.live-board__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-4); }
.live-board__head p { margin: 0; font-size: var(--text-sm); color: var(--color-text-muted); }
.live-board__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: var(--text-sm); color: var(--color-brand-strong); }
.live-board__frame { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.live-board__frame iframe { width: 100%; height: 680px; border: 0; display: block; }
.live-board__fallback { text-align: center; font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--space-3); }
.benefits { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; margin-top: var(--space-7); }
.resume-note { text-align: center; font-size: var(--text-sm); color: var(--color-text-muted); margin-top: var(--space-6); }
[hidden] { display: none !important; }

/* ============================================================
   CONTACT / TOUR
   ============================================================ */
.contact h1 { font-size: var(--text-2xl); margin: 0; }
.contact__lead { color: var(--color-text-secondary); font-size: var(--text-md); line-height: 1.65; margin-top: var(--space-4); }
.contact__info { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-6); font-weight: 600; }
.contact__info-row { display: flex; gap: 10px; align-items: center; }
.contact__info-row.is-top { align-items: flex-start; }
.contact__info-row .icon { color: var(--color-brand-strong); flex: none; }
.contact__map { margin-top: var(--space-6); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); }
.contact__map iframe { width: 100%; height: 280px; border: 0; display: block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.form-grid .full { grid-column: 1 / -1; }
.form-card h3 { font-size: var(--text-lg); margin: 0 0 var(--space-5); }
.form-privacy { font-size: var(--text-xs); color: var(--color-text-muted); text-align: center; margin-top: 14px; }
.form-success { text-align: center; }
.form-success__check { width: 64px; height: 64px; border-radius: 50%; background: var(--green-100); color: var(--color-brand-strong); display: inline-flex; align-items: center; justify-content: center; margin: 8px auto 0; }
.form-success h2, .form-success h3 { font-size: var(--text-xl); margin: 18px 0 8px; }
.form-success p { color: var(--color-text-secondary); line-height: 1.6; margin: 0 auto; max-width: 360px; }
.form-error { color: var(--color-danger); font-size: var(--text-sm); text-align: center; margin: 14px 0 0; }

/* ---- scoped no-PHI form additions ---- */
.form-notice { display: flex; gap: 12px; align-items: flex-start; background: var(--green-50); border: 1px solid var(--green-200); border-radius: var(--radius-md); padding: var(--space-4); margin: 0 0 var(--space-5); }
.form-notice .icon { color: var(--color-brand-strong); margin-top: 2px; }
.form-notice p { margin: 0; font-size: var(--text-sm); color: var(--color-text-secondary); line-height: 1.55; }
.form-notice strong { color: var(--color-text); }
.fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.fieldset__legend { padding: 0; font-family: var(--font-sans); font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--color-text); }
.radio-group { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-3); }
.radio-option { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--color-border-strong); border-radius: var(--radius-input); background: var(--color-surface); cursor: pointer; font-size: var(--text-sm); font-weight: 600; color: var(--color-text); transition: border-color var(--duration-fast) var(--ease-out), background var(--duration-fast) var(--ease-out); }
.radio-option:hover { border-color: var(--taupe-500); }
.radio-option input { accent-color: var(--color-brand); width: 17px; height: 17px; margin: 0; cursor: pointer; }
.radio-option:has(input:checked) { border-color: var(--color-brand); background: var(--green-50); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.thankyou { display: flex; align-items: center; justify-content: center; text-align: center; padding: var(--section-y) var(--gutter); min-height: 50vh; }
.thankyou__inner { max-width: 520px; }
.thankyou__check { width: 72px; height: 72px; border-radius: 50%; background: var(--green-100); color: var(--color-brand-strong); display: inline-flex; align-items: center; justify-content: center; margin: 0 auto var(--space-5); }
.thankyou h1 { font-size: var(--text-2xl); margin: 0 0 var(--space-4); }
.thankyou p { color: var(--color-text-secondary); line-height: 1.65; }
.thankyou__actions { margin-top: var(--space-6); display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; }

/* ============================================================
   SCROLL REVEAL  (pages3.jsx Reveal — used on Care & Services)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

/* Staggered cascade — the container stays put; its items rise in one-by-one
   as the section scrolls into view (Care & Services). */
.reveal-stagger .col-head,
.reveal-stagger .service-row,
.reveal-stagger .comfort-item,
.reveal-stagger .value-card {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}
.reveal-stagger.is-in .col-head,
.reveal-stagger.is-in .service-row,
.reveal-stagger.is-in .comfort-item,
.reveal-stagger.is-in .value-card {
  opacity: 1;
  transform: none;
}
.reveal-stagger.is-in .service-row:nth-child(2),
.reveal-stagger.is-in .comfort-item:nth-child(2),
.reveal-stagger.is-in .value-card:nth-child(2) { transition-delay: 0.07s; }
.reveal-stagger.is-in .service-row:nth-child(3),
.reveal-stagger.is-in .comfort-item:nth-child(3),
.reveal-stagger.is-in .value-card:nth-child(3) { transition-delay: 0.14s; }
.reveal-stagger.is-in .service-row:nth-child(4),
.reveal-stagger.is-in .comfort-item:nth-child(4) { transition-delay: 0.21s; }
.reveal-stagger.is-in .service-row:nth-child(5),
.reveal-stagger.is-in .comfort-item:nth-child(5) { transition-delay: 0.28s; }
.reveal-stagger.is-in .service-row:nth-child(6),
.reveal-stagger.is-in .comfort-item:nth-child(6) { transition-delay: 0.35s; }
.reveal-stagger.is-in .service-row:nth-child(7) { transition-delay: 0.42s; }
.reveal-stagger.is-in .service-row:nth-child(8) { transition-delay: 0.49s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .reveal-stagger .col-head,
  .reveal-stagger .service-row,
  .reveal-stagger .comfort-item,
  .reveal-stagger .value-card { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   RESPONSIVE  (from index.html media rules)
   ============================================================ */
@media (max-width: 900px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .utility-bar { display: none; }
  .split, .split--contact, .split--partner { grid-template-columns: 1fr; }
}
