/* =========================================================
   Dr. Raymond Pierre — HOME PAGE Premium Pass ("The State Portrait")
   Scoped to index.html ONLY. Loaded AFTER design-system.css.
   Additive — never redeclares shared selectors (.nav, .footer, .btn,
   .glass-panel, body). Same brand family (navy/red/gold, Playfair +
   Montserrat/Inter) as the sibling site, but a deliberately DIFFERENT
   material language: solid layered navy instead of white-base frosted
   glass; hairline gold rules instead of gold-gradient slabs.

   ITERATION 2 (research-backed refinement, see .design/premium-
   political-reference.md): cinematic full-bleed portrait hero with an
   asymmetric bottom-left navy scrim (Élysée/royal.uk move) replacing
   the v1 split-screen hero; strict 3-role type lock (Playfair=names/
   headlines/pull-quotes only, Montserrat=eyebrows/nav-caps/tracked
   labels only, Inter=all body/long-form/stat numbers); color-as-
   taxonomy tightened (gold = emphasis/interactive ONLY, never a static
   fill/decoration — see home-priority-numeral going gold-on-hover
   instead of gold-at-rest); wordmark + monogram marks; subtle hero
   parallax; client-side language toggle.
   ========================================================= */

/* Extra Playfair Display weights (same Google Fonts family already used by
   design-system.css, which only loads the italic axis). Upright 600/700/900
   weights are required for a confident serif display headline — no new
   font SERVICE is introduced, only additional weights of the existing family. */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&display=swap');

/* --- Home-only design tokens (prefixed, additive — design-system.css tokens
   are untouched and still available via the cascade) --- */
.home-page {
  --home-navy-900: #0A1830;
  --home-navy-800: #0F2347;
  --home-navy-700: #163462;
  --home-ink: rgba(255, 255, 255, 0.94);
  --home-ink-dim: rgba(255, 255, 255, 0.70);
  --home-ink-faint: rgba(255, 255, 255, 0.45);
  --home-gold: #D4AF37;
  --home-hairline: var(--hairline-gold);
  --home-hairline-light: var(--hairline-dark);
  --home-red: #C8102E;
  /* Strict 3-role type system (iteration 2):
     --home-serif  = Playfair Display — names / headlines / pull-quotes ONLY
     --home-sans   = Montserrat       — eyebrows / nav caps / small tracked labels ONLY
     --home-body   = Inter            — EVERY other piece of text (body, long-form,
                                         stat numbers) — the only family required to
                                         carry French + Kreyòl diacritics cleanly. */
  --home-serif: 'Playfair Display', Georgia, serif;
  --home-sans: 'Montserrat', sans-serif;
  --home-body: 'Inter', system-ui, sans-serif;
  /* Premium pass: one section rhythm site-wide (design-system.css tokens) */
  --home-space: var(--section-y);
}

/* Subtle grain — a static inline SVG fractal-noise texture (zero deps,
   no external image, no base64 raster). Applied as a very low-opacity
   overlay via mix-blend-mode so dark navy surfaces read as a material,
   not a flat fill — the opposite move from the sibling's frosted-glass
   blur-everything approach. */
.home-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- Section rhythm --- */
.home-page section {
  position: relative;
}

.home-section-pad {
  padding: var(--home-space) 0;
}

/* Gold TEXT on light surfaces uses --gold-ink (AA); the bright gold is
   kept for rules and for text on the dark navy sections (see overrides
   for .home-hero/.home-credentials/.home-pullquote/.home-closing). */
.home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--home-sans);
  font-weight: 700;
  font-size: var(--fs-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--gold-ink);
}

.home-kicker::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--home-gold);
}

.home-hero .home-kicker,
.home-credentials .home-kicker,
.home-pullquote .home-kicker,
.home-closing .home-kicker {
  color: var(--home-gold);
}

.home-hairline-rule {
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, var(--home-gold) 0%, rgba(212, 175, 55, 0) 100%);
  margin: var(--s-4) 0 var(--s-5);
}

/* Same headline style as the inner pages' .site-section-title */
.home-section-title {
  font-family: var(--home-serif);
  font-weight: 700;
  font-style: normal;
  line-height: var(--lh-h2);
  letter-spacing: -0.01em;
  font-size: var(--fs-h2);
  color: var(--navy-deep, #0F2347);
  margin-bottom: var(--s-2);
}

.home-section-header {
  max-width: 640px;
  margin: 0 auto var(--header-gap);
  text-align: center;
}

.home-section-header .home-kicker,
.home-section-header .home-hairline-rule {
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

.home-section-header .home-hairline-rule {
  background: linear-gradient(90deg, transparent 0%, var(--home-gold) 50%, transparent 100%);
}

/* =========================================================
   HERO — editorial split (content pass 2026-10-08). Navy copy panel
   on the left, a photo panel of Dr. Pierre on the right.
   Rebalanced (Alex review 2026-10-08: "so much empty space ... the image
   is too far to the right"): both columns now sit on the shared 1200px
   container grid, so the copy starts on the same left edge as every
   section below and the portrait ends on the container's right edge
   instead of bleeding to the viewport edge. The hero's height comes from
   the portrait column (~5:6), not from 100svh, so there is no dead navy
   band above and below the copy. Supersedes
   the iteration-2 full-bleed group photo: the hero must show HIM, and
   the best solo photo (dr-ray-14, 1396px wide) would be upscaled as a
   1440 full-bleed. The panel is capped at 760px wide so the 960px
   derivative (crop x120-1080, which keeps the wall fire alarm out of
   frame) renders at or below its native size (incl. the 1.08
   parallax scale). Copy sits on solid navy, so contrast is
   structural; the scrim only softens the photo's inner edge.
   One Playfair headline, exactly ONE CTA, no carousel.
   ========================================================= */
.home-hero {
  position: relative;
  /* Same inline geometry as .container (max-width var(--max-w), padding
     var(--gutter)) while the navy ground stays full-bleed. */
  padding-inline: max(var(--gutter), (100% - var(--max-w)) / 2 + var(--gutter));
  display: grid;
  /* Portrait = 44% of the container (507px at >=1248px, 0.44 x 976 at
     1024), anchored on the container's right edge; the gap keeps the
     headline off the photo. */
  grid-template-columns: minmax(0, 1fr) 44%;
  column-gap: clamp(2.5rem, 5vw, 4.5rem);
  /* Copy centred against the portrait, nudged optically above centre by
     the heavier bottom padding on .home-hero-copy (room for the scroll cue). */
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 0% 100%, var(--home-navy-800) 0%, var(--home-navy-900) 62%);
  color: var(--home-ink);
}

.home-hero-media {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  /* ~5:6 portrait: 1.2 x the column width (44% of the container's inner
     width, which is min(100vw, var(--max-w)) - 2 gutters). Runs the full
     hero height, so the row (and the hero) is exactly as tall as the
     photo unless a longer translation makes the copy taller. */
  min-height: max(500px, calc((min(100vw, var(--max-w)) - 2 * var(--gutter)) * 0.528));
  overflow: hidden;
  z-index: 0;
  background: var(--home-navy-800);
}

/* Bled 5% above and below so the parallax translate (JS, capped at 42px)
   never reveals an edge; the 1.08 scale covers the sides. */
.home-hero-portrait {
  position: absolute;
  inset: -5% 0;
  transform: translate3d(0, 0, 0) scale(1.08);
  will-change: transform;
}

/* Face sits at ~65% / 22% of the crop. The 5:6 panel is wider than
   the crop's 3:5, so the cover is width-bound and horizontal
   object-position does nothing; a 1.12 zoom from the right edge pulls the
   face from ~65% to ~61% across (face -> o + k(p - o), o = 100%) and
   frames head to waist. 507px x 1.08 x 1.12 = 613px, under the 960 file. */
.home-hero-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 18%;
  transform: scale(1.12);
  transform-origin: 100% 22%;
  filter: saturate(0.94) contrast(1.04);
}

/* Restrained: a navy fade on the inner (left) edge so the photo meets
   the copy panel without a hard seam and the busy wall seal behind him
   recedes, plus a short fade at the foot. The face (~51% across) and
   the right half of the panel stay untouched. */
.home-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(10, 24, 48, 0.78) 0%,
      rgba(10, 24, 48, 0.36) 12%,
      rgba(10, 24, 48, 0) 30%),
    linear-gradient(to top,
      rgba(10, 24, 48, 0.55) 0%,
      rgba(10, 24, 48, 0) 18%);
}

/* Thin gold rule on the seam — the only ornament on the photo. */
.home-hero-media::after {
  content: '';
  position: absolute;
  top: 12%;
  bottom: 12%;
  left: 0;
  width: 1px;
  z-index: 2;
  background: linear-gradient(to bottom, transparent, var(--home-hairline) 30%, var(--home-hairline) 70%, transparent);
}

.home-hero-copy {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  z-index: 2;
  max-width: 640px;
  justify-self: start;
  width: 100%;
  /* Inline edges come from the hero's container padding; only vertical
     breathing room here (bottom heavier for the scroll cue). */
  padding: var(--s-8) 0 var(--s-9);
}

.home-hero-copy .home-kicker {
  opacity: 0;
  transform: translateY(14px);
  animation: homeFadeUp 0.7s cubic-bezier(.22,.61,.36,1) 0.15s both;
}

.home-hero-copy .home-hairline-rule {
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  animation: homeRuleGrow 0.8s cubic-bezier(.22,.61,.36,1) 0.4s both;
}

.home-hero-title {
  font-family: var(--home-serif);
  font-weight: 700;
  font-style: normal;
  line-height: var(--lh-display);
  letter-spacing: -0.015em;
  font-size: var(--fs-display);
  color: var(--home-ink);
  margin-bottom: var(--s-6);
}

.home-hero-line {
  display: block;
  overflow: hidden;
  /* room for descenders inside the clipped reveal line */
  padding-bottom: 0.08em;
}

/* Line 2 (the docx headline) is a step down from his name so the h1
   reads as name + statement, not one 5-line block. */
.home-hero-line--l2 {
  font-size: 0.72em;
  line-height: 1.15;
  margin-top: var(--s-3);
  text-wrap: balance;
}

.home-hero-line span {
  display: block;
  opacity: 0;
  transform: translateY(100%);
  animation: homeLineUp 0.85s cubic-bezier(.22,.61,.36,1) both;
}

.home-hero-line--l1 span { animation-delay: 0.55s; }
.home-hero-line--l2 span {
  animation-delay: 0.72s;
  font-style: italic;
  font-weight: 400;
  color: var(--home-gold);
}

.home-hero-subtitle {
  font-family: var(--home-body);
  font-weight: 400;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  color: var(--home-ink-dim);
  max-width: 42ch;
  margin-bottom: 2.4rem;
  opacity: 0;
  transform: translateY(14px);
  animation: homeFadeUp 0.7s cubic-bezier(.22,.61,.36,1) 0.95s both;
}

/* Exactly ONE CTA in the hero — see index.html. .home-hero-cta-row is also
   reused (non-animated, see .home-closing-grid override) for the closing
   section, which is allowed a second CTA since it is not the hero. */
.home-hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  transform: translateY(14px);
  animation: homeFadeUp 0.7s cubic-bezier(.22,.61,.36,1) 1.15s both;
}

.home-scroll-cue {
  position: absolute;
  left: max(var(--gutter), (100% - var(--max-w)) / 2 + var(--gutter));
  bottom: clamp(1.5rem, 4vw, 2.75rem);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: homeFadeIn 1s ease 1.6s both;
}

.home-scroll-cue span {
  display: block;
  width: 1px;
  height: 42px;
  background: linear-gradient(to bottom, var(--home-gold), transparent);
  animation: homeScrollPulse 2.4s ease-in-out infinite;
}

/* =========================================================
   Buttons — flat, hairline, gold sweep. Deliberately NOT the
   lift+drop-shadow .btn treatment used site-wide, to keep the
   home hero feeling restrained rather than "SaaS landing page".
   ========================================================= */
.home-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--home-sans);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.95rem 1.9rem;
  border: 1px solid var(--home-hairline-light);
  color: var(--home-ink);
  text-decoration: none;
  overflow: hidden;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.home-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-101%);
  transition: transform 0.38s cubic-bezier(.22,.61,.36,1);
  z-index: -1;
}

.home-btn--primary {
  border-color: var(--home-gold);
}

.home-btn--primary::before {
  background: var(--home-gold);
}

.home-btn--primary:hover,
.home-btn--primary:focus-visible {
  color: var(--home-navy-900);
}

.home-btn--primary:hover::before,
.home-btn--primary:focus-visible::before {
  transform: translateX(0);
}

.home-btn--outline:hover,
.home-btn--outline:focus-visible {
  border-color: var(--home-ink);
}

.home-btn--ghost {
  border-color: var(--hairline-strong);
  color: var(--navy-deep);
}

.home-btn--ghost:hover,
.home-btn--ghost:focus-visible {
  border-color: var(--navy);
  color: var(--navy-deep);
}

.home-btn--ghost::before { background: rgba(26, 58, 107, 0.06); }
.home-btn--ghost:hover::before { transform: translateX(0); }

/* =========================================================
   LANGUAGE TOGGLE — "English · Français · Kreyòl Ayisyen" text toggle,
   no flags. Sticky directly below the (fixed-height, 60px — see
   design-system.css .nav-inner) primary nav, right-aligned. Lives as
   its own utility bar rather than inside .nav-inner so the shared nav
   markup/height used by all 8 pages is never touched.
   ========================================================= */
/* Premium pass (#24): the language bar scrolls away; only the 60px nav
   stays pinned, so the sticky chrome no longer eats 104px+ of the first
   screen. */
.home-lang-bar {
  position: relative;
  z-index: 999;
  background: var(--home-navy-900);
  border-bottom: 1px solid var(--home-hairline-light);
}

.home-lang-bar-inner {
  max-width: 1320px; /* aligned with .nav-inner */
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.4rem;
  padding: 0 var(--gutter);
}

/* Text toggle, not a button chrome — but still a real tap target.
   min-height 44px (WCAG 2.5.5) with the label vertically centered inside
   via inline-flex, so it stays visually "just text" while the actual
   hit area is comfortably tappable at 375px. */
.home-lang-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--home-sans);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  color: var(--home-ink-dim);
  padding: 0.65rem 0.5rem;
  min-height: 44px;
  transition: color 0.2s ease;
}

.home-lang-option:hover,
.home-lang-option:focus-visible {
  color: var(--home-ink);
}

/* Active language: gold + weight shift — gold-as-interactive-state,
   not a static decorative fill. */
.home-lang-option.is-active {
  color: var(--home-gold);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--home-gold);
  text-underline-offset: 3px;
}

.home-lang-sep {
  color: var(--home-ink-faint);
  font-size: 0.65rem;
}

/* =========================================================
   MARKS — typographic monogram + designed wordmark logotype.
   NOT official heraldry/seal, NOT a facsimile of a real signature —
   see index.html comments at each usage site.
   ========================================================= */
.home-monogram {
  display: block;
  width: 40px;
  height: 40px;
}

.home-nav-mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.home-mark-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.75rem;
  padding: 2.5rem var(--gutter);
  background: var(--bg-base, #fff);
}

.home-mark-divider::before,
.home-mark-divider::after {
  content: "";
  flex: 0 1 140px;
  height: 1px;
  background: var(--hairline);
}

.home-mark-divider .home-monogram {
  opacity: 0.85;
}

.home-wordmark {
  display: block;
  height: 46px;
  width: auto;
}

.home-footer-wordmark {
  height: 40px;
  margin-bottom: 0.75rem;
}

/* =========================================================
   STATEMENT — editorial opening statement with a drop-cap
   treatment and a framed portrait (keeps .portrait utility
   class + real alt text intact for shared regression tests).
   ========================================================= */
.home-statement {
  background: var(--bg-base, #fff);
  padding: var(--home-space) 0;
}

.home-statement-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.home-statement-text {
  font-family: var(--home-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.2rem, 1.9vw, 1.45rem);
  line-height: 1.6;
  color: var(--navy-deep, #0F2347);
  max-width: 34em;
}

.home-statement-text p {
  color: inherit;
}

.home-statement-text::first-letter {
  font-style: normal;
  font-weight: 900;
  font-size: 3.6em;
  float: left;
  line-height: 0.82;
  padding-right: 0.12em;
  padding-top: 0.04em;
  color: var(--navy, #1A3A6B);
}

.home-statement-frame {
  position: relative;
  padding: 0.6rem;
  border: 1px solid var(--hairline);
}

.home-statement-frame::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  width: 22px;
  height: 22px;
  border-top: 1px solid var(--home-gold);
  border-left: 1px solid var(--home-gold);
}

.home-statement-frame::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-bottom: 1px solid var(--home-gold);
  border-right: 1px solid var(--home-gold);
}

/* Duotone treatment lives HERE now (the secondary/supporting portrait),
   not on the hero — the hero is full-color documentary photography;
   duotone is reserved for supporting images per the research brief's
   "one treatment everywhere + duotone for secondary images" rule.
   A separate inner wrapper (not the frame itself) carries the tint
   pseudo-element so it never collides with the frame's own corner-
   bracket ::before/::after decoration. */
.home-statement-portrait-wrap {
  position: relative;
  overflow: hidden;
}

.home-statement-portrait-wrap .portrait {
  display: block;
  max-width: none;
  width: 100%;
  box-shadow: none;
  border-radius: 0;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  filter: saturate(0.92) contrast(1.03);
}

/* Natural colour with only a faint navy cast — the face must read as
   skin, not blue (premium pass; was a .88 duotone). */
.home-statement-portrait-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--navy, #1A3A6B);
  mix-blend-mode: color;
  opacity: 0.12;
  pointer-events: none;
}

/* =========================================================
   CREDENTIALS STRIP — diplomatic-credibility band. Hairline
   vertical dividers, no card chrome, no icons/emoji.
   ========================================================= */
.home-credentials {
  background: var(--home-navy-900);
  color: var(--home-ink);
  padding: calc(var(--home-space) * 0.72) 0;
}

.home-credentials-kicker-row {
  text-align: center;
  margin-bottom: 2.5rem;
}

.home-credentials-kicker-row .home-kicker {
  justify-content: center;
}

.home-credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.home-credential {
  text-align: center;
  padding: 1.5rem clamp(1rem, 3vw, 2.5rem);
  border-left: 1px solid var(--home-hairline-light);
}

.home-credential:first-child {
  border-left: none;
}

/* Stat numbers are data, not a headline/name/quote — Inter, not Playfair
   (strict type-role lock). Gold stays here deliberately: the research
   brief names "key stats" as an explicit gold-emphasis case. */
.home-credential-value {
  display: block;
  font-family: var(--home-body);
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  color: var(--home-gold);
  line-height: 1;
  margin-bottom: 0.6rem;
}

.home-credential-label {
  display: block;
  font-family: var(--home-sans);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--home-ink-dim);
}

/* =========================================================
   PRIORITIES — asymmetric 1 + 2 preview. Roman numerals in
   the display serif, not emoji icons (explicit departure from
   the sibling's 🏛️ 🔄 🗳️ pillar-card pattern).
   ========================================================= */
.home-priorities {
  background: var(--bg-subtle, #F7F8FA);
  padding: var(--home-space) 0;
}

.home-priorities-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 2.5rem;
}

.home-priority {
  position: relative;
  background: var(--white, #fff);
  border: 0;
  border-top: 1px solid var(--hairline-strong);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  transition: transform 0.3s cubic-bezier(.22,.61,.36,1), box-shadow 0.3s ease, border-top-color 0.3s ease;
}

.home-priority:hover,
.home-priority:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(15, 35, 71, 0.08);
  border-top-color: var(--home-gold);
}

.home-priority--feature {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-priority-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 3vw, 2rem);
}

/* Gold is reserved strictly for emphasis + interactive/hover states (never
   a static fill/decoration) — the numeral is neutral navy at rest and only
   turns gold when the card is hovered/focused (interactive state), matching
   .home-priority:hover below. */
.home-priority-numeral {
  display: block;
  font-family: var(--home-serif);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: rgba(26, 58, 107, 0.35);
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.home-priority:hover .home-priority-numeral,
.home-priority:focus-within .home-priority-numeral {
  color: var(--home-gold);
}

.home-priority h3 {
  font-family: var(--home-serif);
  font-weight: 700;
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  margin-bottom: var(--s-3);
  color: var(--navy-deep, #0F2347);
}

.home-priority p {
  color: var(--text-secondary, #374151);
  font-size: var(--fs-card);
  line-height: 1.65;
  margin-bottom: 0;
}

.home-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--home-sans);
  font-weight: 700;
  font-size: var(--fs-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy, #1A3A6B);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--hairline-strong);
  transition: border-color 0.25s ease, color 0.25s ease, gap 0.25s ease;
}

/* One hover rule site-wide: navy-deep text + gold underline on light. */
.home-text-link:hover,
.home-text-link:focus-visible {
  color: var(--navy-deep, #0F2347);
  border-color: var(--home-gold);
  gap: 0.85rem;
}

/* =========================================================
   PULL-QUOTE — full-bleed dark band, oversized glyph mark.
   ========================================================= */
.home-pullquote {
  background: var(--home-navy-800);
  color: var(--home-ink);
  padding: var(--home-space) 0;
  text-align: center;
}

.home-quote-eyebrow {
  justify-content: center;
  margin-bottom: 2rem;
}

.home-quote-mark {
  display: block;
  font-family: var(--home-serif);
  font-size: clamp(4rem, 9vw, 7rem);
  line-height: 1;
  color: var(--home-gold);
  opacity: 0.35;
  margin-bottom: -1.2rem;
  user-select: none;
}

/* Reset the generic design-system blockquote (dark text, gold-tint
   box) — on the navy band it must be light, unboxed type. */
.home-quote-text {
  font-family: var(--home-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.45;
  color: var(--home-ink);
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  max-width: 30em;
  margin: 0 auto var(--s-5);
  text-wrap: balance;
}

/* Attribution is HIS NAME — Playfair (names bucket), not Montserrat.
   Small, italic, letter-spaced just enough to read as a caption rather
   than a second headline. */
.home-quote-attribution {
  display: block;
  font-family: var(--home-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--home-gold);
}

.home-quote-attribution::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--home-gold);
  margin: 0 auto 1rem;
}

/* =========================================================
   CLOSING CTA
   ========================================================= */
.home-closing {
  background: var(--home-navy-900);
  color: var(--home-ink);
  padding: var(--home-space) 0;
}

.home-closing-grid {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.home-closing-grid .home-kicker,
.home-closing-grid .home-hairline-rule {
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.home-closing-grid .home-section-title {
  color: var(--home-ink);
}

/* The docx renders this heading in capitals; set it in sentence case
   (CSS only, the text itself stays verbatim for the importer). */
.home-closing-grid .home-section-title {
  text-transform: lowercase;
}

.home-closing-grid .home-section-title::first-letter {
  text-transform: uppercase;
}

.home-closing-grid .home-hero-cta-row {
  opacity: 1;
  animation: none;
  justify-content: center;
  margin-top: 1.75rem;
}

.home-closing-grid .home-btn--outline {
  border-color: rgba(255, 255, 255, 0.4);
}

.home-closing-grid .home-btn--outline:hover,
.home-closing-grid .home-btn--outline:focus-visible {
  border-color: var(--home-ink);
}

/* =========================================================
   Scroll-reveal base (JS toggles .is-visible via IntersectionObserver)
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(.22,.61,.36,1), transform 0.8s cubic-bezier(.22,.61,.36,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   Keyframes
   ========================================================= */
@keyframes homeFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes homeFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes homeLineUp {
  from { opacity: 0; transform: translateY(100%); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes homeRuleGrow {
  from { opacity: 0; transform: scaleX(0); }
  to   { opacity: 1; transform: scaleX(1); }
}

@keyframes homeScrollPulse {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 1; }
}

/* Focus visibility on dark sections — the global :focus-visible outline
   uses var(--navy), which is invisible against var(--home-navy-900)/800. */
.home-hero :focus-visible,
.home-credentials :focus-visible,
.home-pullquote :focus-visible,
.home-closing :focus-visible {
  outline-color: var(--home-gold);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  /* Stacked: photo band on top (face in the upper third), copy on navy
     below. The band fades into the navy at its foot instead of the side. */
  .home-hero {
    min-height: 0;
    padding-inline: 0;
    column-gap: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    align-items: start;
    background: var(--home-navy-900);
  }

  .home-hero-media {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 62svh;
    min-height: 320px;
  }

  .home-hero-img {
    object-position: 50% 12%;
    transform: none;
  }

  .home-hero-scrim {
    background:
      linear-gradient(to top,
        var(--home-navy-900) 0%,
        var(--home-navy-900) 9%,
        rgba(10, 24, 48, 0.6) 18%,
        rgba(10, 24, 48, 0) 38%);
  }

  .home-hero-media::after {
    display: none;
  }

  .home-hero-copy {
    grid-column: 1;
    grid-row: 2;
    max-width: none;
    margin-top: -2rem;
    padding: 0 clamp(1.25rem, 6vw, 2.5rem) 3.5rem;
  }

  .home-scroll-cue {
    display: none;
  }

  .home-statement-grid {
    grid-template-columns: 1fr;
  }

  .home-statement-frame {
    max-width: 320px;
    margin: 0 auto;
  }

  .home-priorities-grid {
    grid-template-columns: 1fr;
  }

  .home-priority--feature {
    grid-row: auto;
  }

  .home-credentials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-credential:nth-child(2n+1) {
    border-left: none;
  }

  .home-lang-bar-inner {
    justify-content: center;
  }

  .home-mark-divider {
    padding: 1.75rem 0;
  }
}

/* Phones: zoom toward his face (origin = his face in the crop) so it
   reads at 390px instead of a small full-length figure. Kept to <=600px
   so 1.3 x band width (x1.08 parallax) stays under the 960/1220 files'
   native width; index.html sizes asks for 140vw here to match. */
@media (max-width: 600px) {
  /* Face is at ~65% across the crop; a right-edge origin pulls it to
     ~54% under the 1.3 zoom without opening a gap on either side. */
  .home-hero-img {
    transform: scale(1.3);
    transform-origin: 100% 20%;
  }

  /* Still comfortably legible/tappable at 375px — min-height 44px is
     inherited from the base rule above and is NOT reduced here. */
  .home-lang-option {
    font-size: 0.66rem;
    padding: 0.65rem 0.4rem;
  }

  .home-monogram {
    width: 32px;
    height: 32px;
  }
  .home-credentials-grid {
    grid-template-columns: 1fr;
  }

  .home-credential {
    border-left: none !important;
    border-top: 1px solid var(--home-hairline-light);
  }

  .home-credential:first-child {
    border-top: none;
  }
}

/* =========================================================
   Motion safety — prefers-reduced-motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .home-page *,
  .home-page *::before,
  .home-page *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .home-hero-copy .home-kicker,
  .home-hero-copy .home-hairline-rule,
  .home-hero-line span,
  .home-hero-subtitle,
  .home-hero-cta-row,
  .home-scroll-cue {
    opacity: 1 !important;
    transform: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .home-scroll-cue span {
    animation: none !important;
    opacity: 0.6 !important;
  }

  /* Parallax itself is gated in JS (reveal.js never attaches the scroll
     listener when this media query matches) — this rule is a CSS-only
     belt-and-suspenders guarantee that even if JS ran anyway, no residual
     transform would survive on the portrait layer. */
  .home-hero-portrait {
    transform: none !important;
  }
}

/* =========================================================
   CONTENT PACK (2026-10-08) — docx rich text on the home page,
   alternating section backgrounds, CTA lede, quote byline thumb.
   Additive only: new class names.
   ========================================================= */
.home-richtext {
  max-width: var(--measure);
}
.home-section .home-richtext {
  font-family: var(--home-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}
.home-richtext p {
  margin: 0 0 1.1em;
}
.home-richtext p:last-child {
  margin-bottom: 0;
}
.home-richtext strong {
  font-weight: 600;
  color: var(--navy-deep, #0F2347);
}
.home-section--alt {
  background: var(--bg-subtle, #F7F8FA);
}
.home-closing-lede {
  font-family: var(--home-body);
  font-size: var(--fs-lede);
  line-height: 1.7;
  color: var(--home-ink-dim);
  max-width: var(--measure-lede);
  margin: 0 auto var(--s-6);
}
.home-quote-byline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: var(--s-5);
}
.home-quote-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 50%;
  border: 1px solid var(--home-hairline);
}

/* Premium pass: the monogram divider already separates the hero from the
   statement, so the statement starts at the tight rhythm; the two navy
   bands at the foot (quote, closing CTA) get a hairline between them. */
.home-mark-divider + .home-statement {
  padding-top: var(--section-y-tight);
}
.home-pullquote + .home-closing {
  border-top: 1px solid var(--home-hairline-light);
}

/* Centered kickers get a rule on both sides (#36). */
.home-quote-eyebrow::after,
.home-section-header .home-kicker::after,
.home-credentials-kicker-row .home-kicker::after,
.home-closing-grid .home-kicker::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--home-gold);
}

/* In the thumb + name byline the attribution's own top rule is noise. */
.home-quote-byline .home-quote-attribution::before {
  display: none;
}
