/* =============================================
   Foundations for Tomorrow — Design System v3
   Primary: #01143B navy · #2B2B2B charcoal · #8FA3BB steel · #F1F1F1 light · #FFFFFF white
   Type: Vollkorn (serif) + Inter (sans)
   ============================================= */

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

:root {
  --navy:       #01143B;
  --navy-mid:   #0A2249;
  --navy-deep:  #000D26;
  --charcoal:   #2B2B2B;
  --dark:       #1A1A2E;
  --steel:      #8FA3BB;
  --light:      #F1F1F1;
  --off-white:  #F9FAFB;
  --white:      #FFFFFF;

  /* Neutral text scale — 2 deliberate tiers (a third, --gray3 #93A0B2, was retired: it
     nearly duplicated --steel and failed AA on light grounds; its 2 real uses now dim
     --steel with opacity instead of carrying a whole separate near-identical hex) */
  --gray1:      #3A4254;
  --gray2:      #5A6478;

  /* Effect / atmospheric colours */
  --teal:       #3EBBC5;
  --teal-dark:  #2a9aa3;
  --purple:     #5C62B3;

  --teal-10:    rgba(62,187,197,0.08);
  --teal-20:    rgba(62,187,197,0.18);
  --teal-30:    rgba(62,187,197,0.3);
  --purple-10:  rgba(92,98,179,0.10);
  --purple-20:  rgba(92,98,179,0.2);

  --font-serif: 'Vollkorn', Georgia, serif;
  --font-sans:  'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:    cubic-bezier(0.4, 0, 1, 1);

  --radius-sm:  6px;
  --radius:     10px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --shadow-sm:  0 1px 3px rgba(1,20,59,0.08), 0 1px 2px rgba(1,20,59,0.04);
  --shadow:     0 4px 16px rgba(1,20,59,0.10), 0 2px 6px rgba(1,20,59,0.06);
  --shadow-lg:  0 16px 48px rgba(1,20,59,0.14), 0 4px 12px rgba(1,20,59,0.08);
  --shadow-xl:  0 32px 80px rgba(1,20,59,0.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--dark);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =============================================
   NAVIGATION
   ============================================= */

#site-header {
  position: sticky;
  top: 0;
  z-index: 400;
}

#main-nav {
  /* Dawn wash: opaque enough at the top for legibility, fading away toward the bottom
     so the header reads as a soft veil rather than a solid block. */
  background: linear-gradient(180deg,
      rgba(255,255,255,0.98) 0%,
      rgba(255,255,255,0.9) 48%,
      rgba(255,255,255,0.5) 80%,
      rgba(255,255,255,0) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  height: clamp(72px, 8vw, 112px);
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background 0.3s var(--ease), box-shadow 0.25s var(--ease), border-color 0.3s var(--ease);
}

/* Once scrolled over page content, firm up to a clean solid bar for legibility. */
#main-nav.scrolled {
  background: rgba(255,255,255,0.96);
  border-bottom-color: rgba(1,20,59,0.07);
  box-shadow: 0 4px 24px rgba(1,20,59,0.08);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 40px;
  height: 40px;
  background: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease);
}

.nav-logo:hover .nav-logo-mark {
  transform: scale(1.05);
}

.nav-logo-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
  max-width: 160px;
  font-family: var(--font-sans);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
}

.nav-links > li > a {
  text-decoration: none;
  color: #374151;
  font-size: 19px;
  font-weight: 500;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
  display: block;
  letter-spacing: -0.01em;
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: var(--navy);
  background: var(--light);
}

.nav-dropdown { position: relative; }

.nav-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5.5px solid currentColor;
  margin-left: 6px;
  opacity: 0.45;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  background: var(--white);
  border: 1px solid rgba(1,20,59,0.09);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  min-width: 280px;
  padding: 0.6rem;
  z-index: 500;
  animation: dropdownIn 0.18s var(--ease);
}

/* Invisible bridge across the 12px gap so the dropdown survives the
   move from the nav link down to the menu (fixes hover-gap flicker). */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

@keyframes dropdownIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nav-dropdown:hover .nav-dropdown-menu { display: block; }

.nav-dropdown-menu a {
  display: block;
  padding: 0.65rem 1rem;
  font-size: 15.5px;
  color: #374151;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: background 0.12s, color 0.12s;
  line-height: 1.4;
}

.nav-dropdown-menu a:hover {
  background: var(--teal-10);
  color: var(--navy);
}

/* Featured "recently launched" item in the Our Work dropdown */
.nav-drop-featured {
  display: block;
  padding: 0.85rem 1rem !important;
  margin-bottom: 0.35rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(1,20,59,0.045), rgba(62,187,197,0.07));
  border: 1px solid rgba(1,20,59,0.10);
}
.nav-drop-featured:hover { background: linear-gradient(135deg, rgba(1,20,59,0.06), rgba(62,187,197,0.12)) !important; }
.nav-drop-featured .ndf-tag {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--steel); margin-bottom: 0.3rem;
}
.nav-drop-featured .ndf-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 0 0 rgba(62,187,197,0.5); animation: ndfPulse 2.6s var(--ease) infinite;
}
@keyframes ndfPulse { 0% { box-shadow: 0 0 0 0 rgba(62,187,197,0.5); } 70% { box-shadow: 0 0 0 7px rgba(62,187,197,0); } 100% { box-shadow: 0 0 0 0 rgba(62,187,197,0); } }
.nav-drop-featured .ndf-title {
  display: block; font-family: var(--font-serif); font-weight: 600; font-size: 15px; color: var(--navy); line-height: 1.3;
}
.nav-drop-featured--mobile { margin: 0.25rem 1rem 0.5rem; }

.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 0.9rem 1.9rem !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 19px !important;
  margin-left: 0.5rem;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s !important;
}

.nav-cta:hover {
  background: #0A2249 !important;
  color: var(--white) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(1,20,59,0.3) !important;
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.6rem;
  flex-direction: column;
  gap: 7px;
}

.nav-hamburger span {
  display: block;
  width: 30px;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-mobile {
  display: none;
  background: var(--white);
  padding: 1.25rem 1.75rem 2rem;
  border-top: 1px solid rgba(1,20,59,0.07);
  box-shadow: 0 8px 32px rgba(1,20,59,0.12);
}

.nav-mobile.open { display: block; }

.nav-mobile a {
  display: block;
  padding: 0.8rem 0;
  text-decoration: none;
  color: var(--dark);
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid rgba(1,20,59,0.06);
  transition: color 0.15s;
}

.nav-mobile a:hover { color: var(--teal); }

.nav-mobile .nav-mobile-section {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--steel);
  padding: 1.25rem 0 0.3rem;
  border-bottom: none;
  display: block;
}

@media (max-width: 1360px) {
  #main-nav { padding: 0 2rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

/* =============================================
   FOOTER
   ============================================= */

#site-footer {
  position: relative;
  background: radial-gradient(72% 60% at 86% 122%, rgba(255,212,168,0.09), transparent 60%), var(--navy-deep);
  color: rgba(255,255,255,0.65);
  padding: 5rem 0 2.5rem;
  overflow: hidden;
  isolation: isolate;
}
/* Jordan Lovegrove songline (white), rising from the bottom-right corner — footer only */
#site-footer .footer-songline {
  position: absolute; right: 0; bottom: 0; z-index: 0;
  width: min(320px, 26%); aspect-ratio: 1400 / 967;
  background: url('/images/motif-web/jl-footer-white.png') right bottom / contain no-repeat;
  opacity: 0.5; pointer-events: none;
}
#site-footer .footer-grid,
#site-footer .footer-bottom { position: relative; z-index: 2; }
@media (max-width: 720px) { #site-footer .footer-songline { width: 52%; opacity: 0.4; } }

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: 1.7fr 3fr;
  column-gap: 3.5rem;
  align-items: start;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
/* Nav columns + CTA live in their own column so the tall brand block never
   inflates their rows — this keeps the CTA snug right under "All initiatives". */
.footer-main { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; column-gap: 3.5rem; }
.footer-cta h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
  text-transform: none;
}
.footer-cta p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 460px;
  margin: 0 0 1.1rem;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.45);
  margin: 1.25rem 0 1.75rem;
  max-width: 280px;
}

.footer-acknowledgement {
  border-left: 2px solid rgba(255,255,255,0.9);
  padding-left: 1.1rem;
  margin: 0 0 1.75rem;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.45);
  max-width: 280px;
  font-style: normal;
}

/* Full-width bar under the grid, spanning all four columns - a single
   compact line rather than a wrapped paragraph in the narrow brand column */
.footer-supported-by-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.1rem 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  text-align: center;
}
.footer-supported-by {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
}
/* Partner names read as plain white text — no underline, no brighter accent —
   so Mannifera, VicHealth and General Strategic don't stand out from the line.
   #site-footer prefix beats the base unclassed-link rule. */
#site-footer .footer-supported-by a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}
#site-footer .footer-supported-by a:hover { color: var(--white); }

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.footer-social a:hover {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.footer-col h4 {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.28);
  margin-bottom: 1.25rem;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  margin-bottom: 0.7rem;
  transition: color 0.15s;
  line-height: 1.45;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1200px;
  margin: 1.25rem auto 0;
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-legal {
  display: flex;
  gap: 1.75rem;
  font-size: 12px;
  white-space: nowrap;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.footer-legal a {
  color: rgba(255,255,255,0.28);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-legal a:hover { color: rgba(255,255,255,0.6); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; padding: 0 2rem 2.5rem; }
  .footer-bottom { padding: 0 2rem; }
}

@media (max-width: 560px) {
  .footer-cols { grid-template-columns: 1fr 1fr; row-gap: 1.75rem; }
}

@media (max-width: 400px) {
  .footer-cols { grid-template-columns: 1fr; }
  #site-footer { padding: 3rem 0 2rem; }
}

/* =============================================
   CONTAINER & LAYOUT
   ============================================= */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
}

@media (max-width: 768px) { .container { padding: 0 1.5rem; } }

.section    { padding: 7rem 0; }
.section-sm { padding: 5rem 0; }
.section-lg { padding: 9rem 0; }

/* =============================================
   ARTICLE SYSTEM — shared chrome for the-feed/ and
   blog2/ natively-published articles: sidebar nav,
   prose measure, standfirst, pull-quote band, byline,
   prev/next. One canonical definition so every article
   page renders identically (see js/components.js for
   the sidebar's article catalog + injection).
   ============================================= */

.article-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3.5rem;
  align-items: start;
}
@media (max-width: 860px) {
  .article-layout { grid-template-columns: 1fr; }
}

.article-sidebar {
  position: sticky;
  top: 110px;
}
.article-sidebar-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--steel);
  margin-bottom: 1.1rem;
}
.article-sidebar-group + .article-sidebar-group { margin-top: 1.6rem; }
.article-sidebar-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 0.6rem;
}
.article-sidebar-group a {
  display: block;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--gray2);
  text-decoration: none;
  padding: 0.4rem 0 0.4rem 0.75rem;
  border-left: 2px solid rgba(1,20,59,0.08);
  transition: color 0.15s, border-color 0.15s;
}
.article-sidebar-group a:hover { color: var(--navy); border-color: rgba(1,20,59,0.3); }
.article-sidebar-group a.is-current {
  color: var(--navy);
  font-weight: 600;
  border-color: var(--teal);
}
.article-sidebar-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(1,20,59,0.08);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gray2);
  text-decoration: none;
}
.article-sidebar-back:hover { color: var(--navy); }
@media (max-width: 860px) {
  .article-sidebar { position: static; }
  .article-sidebar-group { display: none; }
  .article-sidebar-label, .article-sidebar-back { display: none; }
}

.article-body { max-width: 76ch; }
.article-body p {
  color: var(--gray1);
  line-height: 1.9;
  font-size: 1.03rem;
  margin-bottom: 1.5rem;
}
.article-body p a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: rgba(1,20,59,0.25);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.2s, color 0.2s;
}
.article-body p a:hover { color: var(--navy); text-decoration-color: var(--navy); }
.article-body h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  font-weight: 600;
  color: var(--navy);
  margin: 3.5rem 0 1.25rem;
  line-height: 1.25;
}
.article-body h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin: 2.25rem 0 1rem;
  line-height: 1.3;
}
.article-body ul, .article-body ol { margin: 0 0 1.5rem; padding-left: 1.4rem; }
.article-body li { color: var(--gray1); line-height: 1.85; font-size: 1.03rem; margin-bottom: 0.6rem; }
.article-body em { font-style: italic; }

.article-standfirst {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 500;
  font-style: normal;
  color: var(--navy);
  line-height: 1.55;
  margin-bottom: 2.25rem;
  padding-left: 1.5rem;
  border-left: 3px solid var(--teal);
}

/* Mid-article pull-quote / stat callout - the one dark break in the flow */
.statement-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(80% 62% at 50% 118%, rgba(255,212,168,0.10), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 4.5rem 0;
  border-radius: 16px;
}
.statement-band .statement-line {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.5;
  max-width: 640px;
  padding: 0 2rem;
}
.statement-band .statement-attr {
  display: block;
  margin-top: 1.25rem;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
  padding: 0 2rem;
}

/* Inline stat callout - a single dynamic number pulled out of the prose */
.article-stat {
  display: flex;
  gap: 1.5rem;
  align-items: baseline;
  margin: 2.5rem 0;
  padding: 1.5rem 1.75rem;
  background: var(--off-white);
  border-left: 3px solid var(--teal);
  border-radius: 0 10px 10px 0;
}
.article-stat .stat-num {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  flex-shrink: 0;
}
.article-stat .stat-label { font-size: 13.5px; color: var(--gray1); line-height: 1.6; }

.article-byline {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(1,20,59,0.1);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--gray1);
}
.article-byline strong { color: var(--navy); font-weight: 600; }

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.article-nav a {
  display: block;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid rgba(1,20,59,0.08);
  border-radius: 12px;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}
.article-nav a:hover { box-shadow: 0 8px 32px rgba(1,20,59,0.1); transform: translateY(-2px); }
.article-nav .nav-label, .article-nav .nav-dir {
  display: block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--steel);
  margin-bottom: 0.5rem;
}
.article-nav .nav-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
  position: relative;
  display: inline-block;
}
.article-nav .nav-title::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  height: 1px; width: 0;
  background: var(--navy);
  transition: width 0.35s cubic-bezier(0.22,0.61,0.36,1);
}
.article-nav a:hover .nav-title::after { width: 100%; }
.article-nav a.is-next, .article-nav .nav-next { text-align: right; }
.article-nav a.is-next .nav-title::after, .article-nav .nav-next .nav-title::after { left: auto; right: 0; }
@media (max-width: 600px) {
  .article-nav { grid-template-columns: 1fr; }
  .article-nav a.is-next, .article-nav .nav-next { text-align: left; }
  .article-nav a.is-next .nav-title::after, .article-nav .nav-next .nav-title::after { left: 0; right: auto; }
}
.section-xl { padding: 11rem 0; }

/* =============================================
   TYPOGRAPHY
   ============================================= */

h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy);
}

h1 { font-size: clamp(2.6rem, 5.5vw, 5.25rem); font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 3.6vw, 3.15rem);   font-weight: 700; letter-spacing: -0.025em; }
h3 { font-size: clamp(1.3rem, 2.1vw, 1.7rem);  font-weight: 600; letter-spacing: -0.015em; }
h4 { font-size: clamp(1.05rem, 1.4vw, 1.2rem); font-weight: 600; }
h5 { font-size: 0.95rem; font-weight: 600; letter-spacing: 0; }

.display-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--steel);
  margin-bottom: 1rem;
}

/* Glowing dot — decided, echoes the same motif already used to lead .section-index in the page-hero */
.eyebrow::before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px 2px rgba(62,187,197,0.45);
  flex-shrink: 0;
}

.lead {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--gray2);
  line-height: 1.8;
}

/* =============================================
   BUTTONS
   ============================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.85rem;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-sans);
  text-decoration: none;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.22s var(--ease);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 2px 6px rgba(1,20,59,0.20);
}

.btn-primary:hover {
  background: #0A2249;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(1,20,59,0.28);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(1,20,59,0.25);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255,255,255,0.10);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.20);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.20);
  border-color: rgba(255,255,255,0.35);
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(62,187,197,0.30);
}

.btn-teal:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(62,187,197,0.40);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 15px;
  border-radius: var(--radius);
}

/* Arrow icon for CTAs */
.btn-arrow::after {
  content: '→';
  font-size: 1em;
  transition: transform 0.2s var(--ease);
}

.btn-arrow:hover::after { transform: translateX(3px); }

/* =============================================
   PAGE HERO — INNER PAGES
   ============================================= */

.page-hero {
  background: radial-gradient(82% 60% at 50% 118%, rgba(255,212,168,0.10), transparent 60%),
              linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 7rem 0 6rem;
  position: relative;
  overflow: hidden;
}

/* Subtle dot-grid texture (dialled back so it never reads as a grid/HUD) */
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.6;
  pointer-events: none;
}

/* Horizon: a single WHITE first-light glow (never teal), low on the horizon */
.page-hero::before {
  content: '';
  position: absolute;
  bottom: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 900px;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 62%);
  pointer-events: none;
}

.page-hero .container { position: relative; z-index: 1; }

/* Horizon eyebrow: readable; the glowing dot now leads the section-index line (left-aligned
   with the title below it) instead of a second "eyebrow" line, which is deprecated in page-hero */
.page-hero .eyebrow { color: rgba(255,255,255,0.85); }
.page-hero .section-index {
  display: flex; align-items: center; gap: 0.65rem;
  color: rgba(255,255,255,0.72);
}
.page-hero .section-index::before {
  content: ''; display: block; flex-shrink: 0;
  width: 7px; height: 7px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px 2px rgba(255,255,255,0.6);
}
.page-hero .section-index b { color: #fff; }

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  max-width: 760px;
  width: fit-content;
  align-self: flex-start;
  line-height: 1.1;
  position: relative;
}
/* Horizon underline that beams across on page open (white first light) —
   sized via --uline-w (set by JS in components.js to the pixel width of the
   h1's LAST rendered line, from getClientRects on a Range over its text).
   width:100% would resolve against the h1's fit-content box, which spans the
   widest wrapped line — wrong whenever the last line is shorter, so we
   measure the actual last line instead and fall back to 100% pre-JS/no-JS. */
.page-hero h1::after {
  content: '';
  position: absolute;
  left: 2px;
  bottom: -0.9rem;
  height: 1px;
  width: 0;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 0 8px rgba(255,255,255,0.55), 0 0 22px rgba(255,255,255,0.3), 0 0 50px rgba(255,255,255,0.14);
  animation: horizon-beam 1.7s cubic-bezier(0.22,0.61,0.36,1) 0.25s forwards;
}
@keyframes horizon-beam {
  0%   { width: 0;    opacity: 0; }
  14%  { opacity: 1; }
  100% { width: var(--uline-w, 100%); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero h1::after { animation: none; width: var(--uline-w, 100%); }
}

.page-hero p {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.62);
  max-width: 580px;
  line-height: 1.8;
}

/* --- page-hero: light-ground variant (opt-in, .page-hero.is-light) --- */
.page-hero.is-light { background: radial-gradient(120% 90% at 26% 4%, #FFFFFF 0%, var(--off-white) 55%, var(--light) 100%); color: var(--navy); }
.page-hero.is-light::after { background-image: radial-gradient(rgba(1,20,59,0.035) 1px, transparent 1px); }
.page-hero.is-light::before { background: radial-gradient(circle, rgba(1,20,59,0.07) 0%, transparent 62%); }
.page-hero.is-light .eyebrow { color: var(--gray2); }
.page-hero.is-light .section-index { color: var(--gray2); }
.page-hero.is-light .section-index::before { background: var(--navy); box-shadow: 0 0 6px rgba(1,20,59,0.35); }
.page-hero.is-light .section-index b { color: var(--navy); }
.page-hero.is-light h1 { color: var(--navy); }
.page-hero.is-light h1::after { background: rgba(1,20,59,0.75); box-shadow: 0 0 6px rgba(1,20,59,0.3); }
.page-hero.is-light p { color: var(--gray2); }

/* --- page-hero: photography variants (opt-in; markup adds .ph-media/.ph-scrim, wraps
   content in .ph-text) — all no-ops on pages that don't add the extra elements --- */
.page-hero .ph-media, .page-hero .ph-scrim { display: none; }
.page-hero.has-photo-full, .page-hero.has-photo-side, .page-hero.has-photo-band, .page-hero.has-photo-glass { color: #fff; }
.page-hero.has-photo-full .ph-media, .page-hero.has-photo-band .ph-media, .page-hero.has-photo-glass .ph-media {
  display: block; position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
.page-hero.has-photo-full .ph-scrim, .page-hero.has-photo-band .ph-scrim, .page-hero.has-photo-glass .ph-scrim {
  display: block; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(56% 46% at 41% 26%, transparent, rgba(0,13,38,0.24) 58%, rgba(0,13,38,0.86)),
              linear-gradient(0deg, rgba(0,13,38,0.82), transparent 48%); }
.page-hero.has-photo-full .ph-text, .page-hero.has-photo-band .ph-text, .page-hero.has-photo-glass .ph-text { position: relative; z-index: 1; }
/* every photo-backed variant carries its own text-shadow — contrast never depends on getting lucky with the image */
.page-hero.has-photo-full h1, .page-hero.has-photo-side h1, .page-hero.has-photo-band h1, .page-hero.has-photo-glass h1 {
  text-shadow: 0 2px 22px rgba(0,13,38,0.6), 0 1px 5px rgba(0,13,38,0.7); }
.page-hero.has-photo-full p, .page-hero.has-photo-side p, .page-hero.has-photo-band p, .page-hero.has-photo-glass p {
  color: rgba(255,255,255,0.85); text-shadow: 0 1px 12px rgba(0,13,38,0.6); }

/* Top banner strip: a thin landscape-only band peeking across the very top, not a tall bottom block —
   everything below it reads exactly like the "no photo" dawn-wash ground. */
.page-hero.has-photo-band { padding-top: 0; }
.page-hero.has-photo-band .ph-media { top: 0; bottom: auto; height: clamp(90px, 14vw, 150px); }
.page-hero.has-photo-band .ph-scrim { top: 0; bottom: auto; height: clamp(90px, 14vw, 150px);
  background: linear-gradient(180deg, rgba(0,13,38,0.05) 0%, rgba(0,13,38,0.4) 65%, rgba(0,13,38,0.92) 100%); }
.page-hero.has-photo-band .ph-text { padding-top: calc(clamp(90px, 14vw, 150px) + 3rem); }

/* Full-bleed + glass card: same frosted treatment as the approved Glass panels section */
.page-hero.has-photo-glass .container { position: relative; z-index: 1;
  background: rgba(255,255,255,0.07); -webkit-backdrop-filter: blur(20px) saturate(1.15); backdrop-filter: blur(20px) saturate(1.15);
  border: 1px solid rgba(255,255,255,0.16); border-radius: 20px; padding: 2.75rem 3rem; max-width: 760px; }

.page-hero.has-photo-side { display: flex; align-items: stretch; padding: 0; overflow: hidden; }
.page-hero.has-photo-side .ph-media { display: block; position: relative; flex: 1 1 44%; background-size: cover; background-position: center; min-height: 360px; }
.page-hero.has-photo-side .ph-scrim { display: none; }
.page-hero.has-photo-side .ph-text { flex: 1 1 56%; padding: 5rem clamp(1.5rem,4vw,4rem); display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 860px) {
  .page-hero.has-photo-side { flex-direction: column; }
  .page-hero.has-photo-side .ph-media { min-height: 220px; }
}

/* A photo always carries its own dark-scrim/white-text treatment — the Dark/Light ground
   toggle only changes the flat "no photo" background, it never fights a photo for text colour.
   Without this, .is-light's h1/p/section-index rules (more specific than the plain photo rules)
   won, leaving navy text — and its matching dark text-shadow — sitting on a dark photo scrim:
   unreadable, and the shadow read as a dirty smudge instead of a glow. */
.page-hero.is-light.has-photo-full,
.page-hero.is-light.has-photo-side,
.page-hero.is-light.has-photo-band,
.page-hero.is-light.has-photo-glass { background: var(--navy-deep); color: #fff; }
.page-hero.is-light.has-photo-full::before, .page-hero.is-light.has-photo-full::after,
.page-hero.is-light.has-photo-side::before, .page-hero.is-light.has-photo-side::after,
.page-hero.is-light.has-photo-band::before, .page-hero.is-light.has-photo-band::after,
.page-hero.is-light.has-photo-glass::before, .page-hero.is-light.has-photo-glass::after { display: none; }
.page-hero.is-light.has-photo-full h1, .page-hero.is-light.has-photo-side h1,
.page-hero.is-light.has-photo-band h1, .page-hero.is-light.has-photo-glass h1 { color: #fff; }
.page-hero.is-light.has-photo-full h1::after, .page-hero.is-light.has-photo-side h1::after,
.page-hero.is-light.has-photo-band h1::after, .page-hero.is-light.has-photo-glass h1::after {
  background: rgba(255,255,255,0.95); box-shadow: 0 0 8px rgba(255,255,255,0.55), 0 0 22px rgba(255,255,255,0.3), 0 0 50px rgba(255,255,255,0.14); }
.page-hero.is-light.has-photo-full .section-index, .page-hero.is-light.has-photo-side .section-index,
.page-hero.is-light.has-photo-band .section-index, .page-hero.is-light.has-photo-glass .section-index { color: rgba(255,255,255,0.72); }
.page-hero.is-light.has-photo-full .section-index::before, .page-hero.is-light.has-photo-side .section-index::before,
.page-hero.is-light.has-photo-band .section-index::before, .page-hero.is-light.has-photo-glass .section-index::before {
  background: #fff; box-shadow: 0 0 8px 2px rgba(255,255,255,0.6); }
.page-hero.is-light.has-photo-full .section-index b, .page-hero.is-light.has-photo-side .section-index b,
.page-hero.is-light.has-photo-band .section-index b, .page-hero.is-light.has-photo-glass .section-index b { color: #fff; }
.page-hero.is-light.has-photo-full p, .page-hero.is-light.has-photo-side p,
.page-hero.is-light.has-photo-band p, .page-hero.is-light.has-photo-glass p { color: rgba(255,255,255,0.85); }

/* =============================================
   NEWSLETTER
   ============================================= */

.newsletter-section {
  background: var(--navy);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.newsletter-section .container { position: relative; z-index: 1; }

.newsletter-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.newsletter-section p {
  color: rgba(255,255,255,0.55);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
  justify-content: center;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  min-width: 220px;
  padding: 0.9rem 1.3rem;
  border: 1.5px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  font-size: 14.5px;
  font-family: var(--font-sans);
  background: rgba(255,255,255,0.07);
  color: var(--white);
  transition: border-color 0.2s, background 0.2s;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.38); }

.newsletter-form input:focus {
  outline: none;
  border-color: var(--teal);
  background: rgba(255,255,255,0.11);
}

.newsletter-form button {
  padding: 0.9rem 1.75rem;
  background: var(--white);
  color: var(--navy);
  border: none;
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  letter-spacing: -0.01em;
}

.newsletter-form button:hover {
  background: rgba(255,255,255,0.88);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(255,255,255,0.22);
}

/* HubSpot form lightbox — the contact + newsletter embeds open in a wide
   modal instead of squeezing into a narrow inline card. Shared across every
   page that embeds a HubSpot form; toggled by js/components.js. */
.form-lightbox-trigger { margin-top: 0.5rem; }
.form-lightbox {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 5vh 1.5rem;
  overflow-y: auto;
  background: rgba(1,20,59,0.6);
  backdrop-filter: blur(3px);
}
.form-lightbox.is-open { display: flex; }
.form-lightbox-panel {
  background: var(--white);
  border-radius: 18px;
  max-width: 760px;
  width: 100%;
  padding: 2.75rem;
  position: relative;
  box-shadow: 0 32px 80px rgba(1,20,59,0.4);
}
.form-lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(1,20,59,0.14);
  background: var(--white);
  color: var(--navy);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
  z-index: 1;
}
.form-lightbox-close:hover { background: var(--navy); color: #fff; }
/* HubSpot renders each form inside an iframe styled height:100%. Its resize handshake
   is unreliable, so without an explicit frame height that 100% resolves to 0px and the
   lower fields plus the submit button get clipped away (why the contact submit went
   "missing"). Pin a min-height per form so the whole form, including submit, always
   shows; the iframe has scrolling="no", so the height must comfortably clear the tallest
   layout. */
.form-lightbox-panel .hs-form-frame { width: 100%; min-height: 260px; }
.form-lightbox-panel .hs-form-frame iframe {
  width: 100% !important;
  height: 100%;
  min-height: 260px;
  border: 0;
}
/* Contact form (name, email, phone, reason, message, reCAPTCHA, submit) is much taller. */
.hs-form-frame[data-form-id="8a27df6d-9811-4fe4-98a0-63154dda7ba3"],
.hs-form-frame[data-form-id="8a27df6d-9811-4fe4-98a0-63154dda7ba3"] iframe {
  min-height: 800px;
}
@media (max-width: 640px) {
  .form-lightbox-panel { padding: 2.25rem 1.5rem; }
}

/* =============================================
   CARDS
   ============================================= */

.card {
  background: var(--white);
  border: 1px solid rgba(1,20,59,0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: rgba(1,20,59,0.12);
}

.card-body { padding: 2rem; }

.card-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  background: var(--teal-10);
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
  color: var(--navy);
  line-height: 1.3;
}

.card p {
  font-size: 14px;
  color: var(--gray2);
  line-height: 1.75;
}

/* Featured / dark card */
.card-dark {
  background: var(--navy);
  border-color: rgba(255,255,255,0.07);
}

.card-dark h3 { color: var(--white); }
.card-dark p  { color: rgba(255,255,255,0.6); }

/* =============================================
   STATS
   ============================================= */

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.3rem;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  font-weight: 400;
}

/* =============================================
   GRID HELPERS
   ============================================= */

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

@media (max-width: 960px)  { .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px)  { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section    { padding: 5rem 0; }
  .section-sm { padding: 3.5rem 0; }
  .section-lg { padding: 6rem 0; }
}

/* =============================================
   BACKGROUNDS
   ============================================= */

.bg-navy  { background: var(--navy); color: var(--white); }
.bg-dark  { background: var(--navy-deep); color: var(--white); }
/* headings default to navy (see base h1-h5 rule) which is unreadable on these dark grounds —
   matches the fix already in place for .bg-dawn-dark */
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4, .bg-navy h5,
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5 { color: var(--white); }
.bg-light { background: var(--light); }
.bg-off-white { background: var(--off-white); }
.bg-white { background: var(--white); }

/* Dark section dot grid texture */
.bg-textured {
  position: relative;
  overflow: hidden;
}

.bg-textured::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

/* =============================================
   PILLS / BADGES
   ============================================= */

.pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
}

.pill-teal   { background: var(--teal-10);   color: var(--teal);   border: 1px solid rgba(62,187,197,0.2); }
.pill-purple { background: var(--purple-10); color: var(--purple); border: 1px solid rgba(92,98,179,0.2); }
.pill-steel  { background: rgba(143,163,187,0.1); color: var(--steel); border: 1px solid rgba(143,163,187,0.25); }
.pill-navy   { background: rgba(1,20,59,0.06); color: var(--navy); border: 1px solid rgba(1,20,59,0.12); }

/* =============================================
   UTILITIES
   ============================================= */

.text-center { text-align: center; }
.text-white  { color: var(--white); }
.text-teal   { color: var(--teal); }
.text-navy   { color: var(--navy); }
.text-muted  { color: var(--gray2); }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

hr {
  border: none;
  border-top: 1px solid rgba(1,20,59,0.07);
}

/* Decorative heading underline */
.heading-underline {
  display: inline-block;
  position: relative;
}

.heading-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 48px;
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
}

/* Teal rule divider */
.rule-teal {
  width: 48px;
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
  margin: 1.25rem 0;
}

/* =============================================
   REFINEMENT HELPERS (v3.1)
   Shared atoms for hand-crafted hierarchy & rhythm.
   Conceptual lists → .marker-num. Meta affordances → .icon-meta SVG.
   ============================================= */

/* Numbered serif markers — replace emoji on conceptual lists
   (values, superpowers, pillars). <span class="marker-num is-purple">01</span> */
.marker-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--teal);
  margin-bottom: 1.1rem;
}
.marker-num.is-teal   { color: var(--teal); }
.marker-num.is-purple { color: var(--purple); }
.marker-num.is-steel  { color: var(--steel); }
.marker-num.is-navy   { color: var(--navy); }

/* Inline line-icon for meta affordances (location / time / email).
   Use with the SVG snippets defined in the refinement spec. */
.icon-meta {
  width: 15px; height: 15px;
  stroke: currentColor; stroke-width: 1.7;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
  vertical-align: -2px;
}

/* Feature line-icon chip — when an icon beats a number.
   <span class="icon-feat is-teal"><svg>…</svg></span> */
.icon-feat {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border-radius: var(--radius);
  background: var(--teal-10); color: var(--teal);
  margin-bottom: 1.25rem;
}
.icon-feat.is-purple { background: var(--purple-10); color: var(--purple); }
.icon-feat.is-steel  { background: rgba(143,163,187,0.12); color: var(--steel); }
.icon-feat svg {
  width: 22px; height: 22px;
  stroke: currentColor; stroke-width: 1.6;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}

/* Hand-set statistics line — borderless display numerals.
   Light bg by default; add .on-dark on navy sections. */
.stat-line { display: flex; flex-wrap: wrap; align-items: flex-start; }
.stat-line-item {
  padding: 0 2.75rem;
  border-left: 1px solid rgba(1,20,59,0.12);
}
.stat-line-item:first-child { padding-left: 0; border-left: none; }
.stat-line-num {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--teal);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
}
.stat-line-num.lead      { font-size: clamp(3.6rem, 7vw, 6rem); }
.stat-line-num.is-purple { color: var(--purple); }
.stat-line-num.is-steel  { color: var(--steel); }
.stat-line-label {
  font-size: 13.5px;
  color: var(--gray2);
  line-height: 1.5;
  margin-top: 0.6rem;
  max-width: 200px;
}
.stat-line.on-dark .stat-line-item  { border-color: rgba(255,255,255,0.14); }
.stat-line.on-dark .stat-line-label { color: rgba(255,255,255,0.5); }
@media (max-width: 600px) {
  .stat-line-item { padding: 0; border-left: none; flex: 1 0 100%; margin-bottom: 1.75rem; }
}

/* Signature pull-quote — use ONCE across the whole site. */
.pull-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--navy);
  max-width: 920px;
}
.pull-quote-cite {
  display: block;
  margin-top: 1.5rem;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--steel);
}

/* Editorial thumbnail panel — replaces emoji-on-gradient article thumbs. */
.thumb-panel {
  position: relative;
  display: flex; align-items: flex-end;
  min-height: 180px;
  padding: 1.5rem;
  background: var(--navy);
  overflow: hidden;
}
.thumb-panel.is-deep { background: var(--navy-deep); }
.thumb-panel .thumb-no {
  position: absolute; top: -0.5rem; right: 0.75rem;
  font-family: var(--font-serif);
  font-size: 6rem; font-weight: 700;
  color: rgba(255,255,255,0.06);
  line-height: 1; letter-spacing: -0.04em;
}
.thumb-panel .thumb-cat {
  position: relative; z-index: 1;
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--teal);
}

/* Selective opt-outs for craft contrast */
.no-lift:hover { transform: none; box-shadow: var(--shadow-sm); }
.sharp { border-radius: 0 !important; }

/* =============================================
   EDITORIAL GLASS + MOTION (v3.2)
   Cinematic, frosted, dynamic — derived from the FFT inspo set.
   ============================================= */

/* Frosted glass surface — use over media / dark sections */
.glass {
  background: rgba(255,255,255,0.055);
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
}
.glass-strong { background: rgba(255,255,255,0.09); }

/* Scroll-reveal — progressive enhancement: hidden ONLY when JS is active
   (html.js), so content stays visible if JS never runs. components.js adds .in. */
.reveal { transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
html.js .reveal { opacity: 0; transform: translateY(26px); }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.09s; }
.reveal.d2 { transition-delay: 0.18s; }
.reveal.d3 { transition-delay: 0.27s; }
.reveal.d4 { transition-delay: 0.36s; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Section index label — small editorial marker, e.g. "01 / Our work" */
.section-index {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--steel);
  margin-bottom: 1rem;
}
.section-index b { color: var(--steel); font-weight: 700; }

/* Dotted leader (inspo: settings rows / decision list) */
.dotted { flex: 1; height: 0; border-bottom: 1px dotted rgba(1,20,59,0.28); }
.dotted.on-dark { border-color: rgba(255,255,255,0.22); }

/* 4-point sparkle accent (decorative) */
.deco-sparkle { color: var(--teal); display: inline-block; line-height: 0; }
.deco-sparkle svg { display: block; width: 100%; height: 100%; fill: currentColor; }

/* Thin framed media portal (inspo: The Colette) */
.frame {
  padding: 10px;
  border: 1px solid rgba(1,20,59,0.12);
  border-radius: var(--radius-lg);
}
.frame.on-dark { border-color: rgba(255,255,255,0.16); }
.frame > img, .frame > video {
  display: block; width: 100%;
  border-radius: calc(var(--radius-lg) - 8px);
}

/* Subtle marquee strip for understated dynamism */
.marquee {
  overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: inline-flex; align-items: center; gap: 3.5rem;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ═══════════════════════════════════════════════════════════════
   HOME JOURNEY — vertical "scroll-down dawn spine" timeline (dark)
   ═══════════════════════════════════════════════════════════════ */
.journey-section {
  position: relative;
  background: radial-gradient(85% 55% at 50% 118%, rgba(255,212,168,0.13), transparent 62%), var(--navy-deep);
  color: #fff;
  overflow: hidden;
}
.journey-section .eyebrow      { color: var(--steel); }
.journey-section .section-index{ color: var(--steel); display: block; }
.journey-section h2            { color: #fff; }
.journey-head    { max-width: 640px; margin-bottom: 3.75rem; }
.journey-head p  { color: rgba(143,163,187,0.68); font-size: 1.02rem; line-height: 1.7; margin-top: 1.1rem; max-width: 54ch; }

.tv-a { position: relative; padding-left: 46px; max-width: 700px; margin: 0 auto; }
.tv-a .spine { position: absolute; left: 5px; top: 8px; bottom: 34px; width: 1px; background: rgba(255,255,255,0.14); }
.tv-a .glow  { position: absolute; left: 5px; top: 8px; width: 1px; height: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.4));
  box-shadow: 0 0 8px rgba(255,255,255,0.55), 0 0 22px rgba(255,255,255,0.3), 0 0 50px rgba(255,255,255,0.14); }
.tv-a .ev { position: relative; padding: 0 0 42px; opacity: 0.42; transition: opacity 0.7s var(--ease); }
.tv-a .ev.lit { opacity: 1; }
.tv-a .ev .node { position: absolute; left: -46px; top: 6px; width: 12px; height: 12px; border-radius: 50%;
  background: #0A2249; border: 1px solid var(--steel); transition: all 0.5s var(--ease); }
.tv-a .ev.lit .node { background: #fff; border-color: #fff;
  box-shadow: 0 0 0 5px rgba(255,255,255,0.12), 0 0 16px rgba(255,255,255,0.7); }
.tv-a .ev .yr   { font-family: var(--font-serif); font-weight: 600; color: var(--steel); font-size: 0.95rem; letter-spacing: 0.02em; }
.tv-a .ev .ttl  { font-family: var(--font-serif); font-weight: 500; color: #fff; font-size: 1.22rem; line-height: 1.15; margin: 3px 0 9px; }
.tv-a .ev .desc { color: rgba(143,163,187,0.68); font-size: 14px; line-height: 1.68; max-width: 54ch; }
.tv-a .end { position: relative; padding-left: 0; }
.tv-a .end .node { position: absolute; left: -46px; top: 6px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--teal); border: 1px solid var(--teal); box-shadow: 0 0 12px rgba(62,187,197,0.6); }
.tv-a .end .ttl { font-family: var(--font-serif); font-weight: 500; color: #fff; font-size: 1.22rem; margin-bottom: 12px; }
.tv-a .end a { color: #fff; font-weight: 600; font-size: 15px; display: inline-flex; gap: 0.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.4); padding-bottom: 3px; text-decoration: none; transition: border-color 0.3s var(--ease); }
.tv-a .end a:hover { border-bottom-color: #fff; }
@media (max-width: 768px) { .tv-a { padding-left: 36px; } .tv-a .ev .node, .tv-a .end .node { left: -36px; } .tv-a .spine, .tv-a .glow { left: 5px; } }
@media (prefers-reduced-motion: reduce) { .tv-a .ev { opacity: 1; } }

/* ═══════════════════════════════════════════════════════════════
   HORIZON SYSTEM — shared vocabulary (buttons, links, grounds,
   glass cards, accordions, tv-b journey). Dawn light, white first
   light, teal held to one accent per screen.
   ═══════════════════════════════════════════════════════════════ */

/* --- Dawn-graded grounds: each section decisively light OR dark --- */
.bg-dawn-dark {
  position: relative;
  background: radial-gradient(82% 60% at 50% 118%, rgba(255,212,168,0.10), transparent 60%),
              linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
}
.bg-dawn-dark h1, .bg-dawn-dark h2, .bg-dawn-dark h3, .bg-dawn-dark h4 { color: #fff; }
.bg-dawn-dark > .container p, .bg-dawn-dark > .container li { color: rgba(255,255,255,0.72); }
.bg-dawn-light {
  position: relative;
  background: radial-gradient(120% 90% at 26% 4%, #FFFFFF 0%, var(--off-white) 55%, var(--light) 100%);
  color: var(--navy);
}

/* --- White horizon line (first light) on dark grounds; navy on light grounds so it stays visible --- */
.horizon-line { height:1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.96), transparent);
  box-shadow: 0 0 8px rgba(255,255,255,0.55), 0 0 26px rgba(255,255,255,0.30), 0 0 64px rgba(255,255,255,0.14); }
.bg-light .horizon-line, .bg-off-white .horizon-line, .bg-white .horizon-line, .bg-dawn-light .horizon-line {
  background: linear-gradient(90deg, transparent, rgba(1,20,59,0.55), transparent);
  box-shadow: 0 0 6px rgba(1,20,59,0.18); }

/* --- Curated Horizon buttons (white-outline family, for dark grounds) ---
   Outline-glow: crisp/bright at rest so it never gets lost against a photo; the glow itself
   is a hover-only addition, not the thing carrying the button's visibility. Backup option. */
.btn-outline-glow { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.78);
  transition: border-color .25s var(--ease), box-shadow .35s var(--ease), background .25s var(--ease), transform .25s var(--ease); }
.btn-outline-glow:hover { border-color: #fff; background: rgba(255,255,255,0.04);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.22), 0 0 26px rgba(255,255,255,0.26); transform: translateY(-1px); }

/* Ambient glow: the preferred "interesting" button. Same crisp rest border as outline-glow,
   plus a permanent soft ambient glow at rest that lifts (intensifies + rises) on hover. */
.btn-ambient-glow { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.8);
  box-shadow: 0 0 10px rgba(255,255,255,.32), 0 0 26px rgba(255,255,255,.16);
  transition: border-color .25s var(--ease), box-shadow .35s var(--ease), transform .25s var(--ease); }
.btn-ambient-glow:hover { border-color: #fff; transform: translateY(-1px);
  box-shadow: 0 0 22px rgba(255,255,255,.6), 0 0 55px rgba(255,255,255,.35), 0 0 90px rgba(255,255,255,.16); }

.btn-dawn-wash { position: relative; overflow: hidden; background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.42); }
.btn-dawn-wash::before { content:''; position:absolute; inset:0; pointer-events:none;
  background: radial-gradient(90% 120% at 50% 130%, rgba(255,208,160,0.58), transparent 62%);
  opacity: .8; transition: opacity .5s var(--ease); }
.btn-dawn-wash:hover::before { opacity: 1; }
.btn-dawn-wash:hover { border-color: #fff; }
/* On light grounds, an outline button uses the existing navy .btn-outline. */
.bg-dawn-light .btn-outline-glow, .bg-light .btn-outline-glow, .bg-off-white .btn-outline-glow, .bg-white .btn-outline-glow {
  color: var(--navy); border-color: rgba(1,20,59,0.28); }
.bg-dawn-light .btn-outline-glow:hover, .bg-light .btn-outline-glow:hover, .bg-off-white .btn-outline-glow:hover, .bg-white .btn-outline-glow:hover {
  border-color: var(--navy); background: rgba(1,20,59,0.03); box-shadow: 0 6px 20px rgba(1,20,59,0.12); }
.bg-dawn-light .btn-ambient-glow, .bg-light .btn-ambient-glow, .bg-off-white .btn-ambient-glow, .bg-white .btn-ambient-glow {
  color: var(--navy); border-color: rgba(1,20,59,0.35); box-shadow: 0 0 10px rgba(1,20,59,.1), 0 0 22px rgba(1,20,59,.06); }
.bg-dawn-light .btn-ambient-glow:hover, .bg-light .btn-ambient-glow:hover, .bg-off-white .btn-ambient-glow:hover, .bg-white .btn-ambient-glow:hover {
  border-color: var(--navy); box-shadow: 0 6px 20px rgba(1,20,59,0.16); }

/* --- link-horizon: replaces teal text links (navy on light, white on dark) --- */
.link-horizon { color: var(--navy); font-weight: 600; text-decoration: none; position: relative;
  display: inline-flex; align-items: center; gap: 0.4rem; }
.link-horizon::after { content:''; position:absolute; left:0; right:auto; bottom:-3px; height:2px; width:0;
  background: currentColor; opacity: 0.55; border-radius: 1px; transition: width .7s cubic-bezier(0.16,1,0.3,1); }
.link-horizon:hover::after { width: 100%; }
.link-horizon::before { content: none; }
.bg-dawn-dark .link-horizon, .bg-navy .link-horizon, .bg-dark .link-horizon,
.page-hero .link-horizon, .feature-section .link-horizon, .card-horizon .link-horizon { color: #fff; }

/* --- Base text-link colour: never fall back to browser cobalt blue.
   Scoped to unclassed <a> (:not([class])) so buttons and styled links are untouched.
   Navy on light grounds, white on dark grounds, brand teal on hover. --- */
main a:not([class]) { color: var(--navy); text-underline-offset: 2px; }
main a:not([class]):hover { color: var(--teal-dark); }
.bg-dawn-dark a:not([class]), .bg-navy a:not([class]), .bg-dark a:not([class]),
.page-hero a:not([class]), .card-horizon a:not([class]), [class*="-band"] a:not([class]),
footer a:not([class]) { color: #fff; }
.bg-dawn-dark a:not([class]):hover, .bg-navy a:not([class]):hover, .bg-dark a:not([class]):hover,
.page-hero a:not([class]):hover, .card-horizon a:not([class]):hover, [class*="-band"] a:not([class]):hover,
footer a:not([class]):hover { color: rgba(255,255,255,0.8); }

/* --- card-horizon: frosted content over graded photography (dawn-color fallback) --- */
.card-horizon { position: relative; border-radius: 18px; overflow: hidden; min-height: 340px;
  display: flex; isolation: isolate;
  background: radial-gradient(85% 65% at 28% 8%, rgba(255,214,170,0.12), transparent 58%), linear-gradient(158deg, var(--navy) 0%, var(--navy-deep) 100%);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.card-horizon:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(0,13,38,0.35); }
.card-horizon .card-media { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center;
  filter: saturate(0.96) contrast(1.02); }
/* Text always sits over the darkened lower band, regardless of how bright the photo is up top —
   the gradient starts earlier and reaches further before the body copy than it used to. */
.card-horizon .card-grade { position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(72% 52% at 50% 116%, rgba(255,212,168,0.14), transparent 60%),
              linear-gradient(180deg, rgba(0,13,38,0.14) 0%, rgba(0,13,38,0.4) 40%, rgba(0,13,38,0.88) 100%); }
.card-horizon .card-body { position: relative; z-index: 2; margin-top: auto; padding: 1.6rem 1.6rem 1.7rem; color: #fff; width: 100%; }
.card-horizon .card-body .k { font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.82); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 0.5rem; }
.card-horizon .card-body h3, .card-horizon .card-body h4 { font-family: var(--font-serif); font-weight: 500; color: #fff;
  font-size: 1.4rem; line-height: 1.1; margin: 0 0 0.5rem; text-shadow: 0 2px 18px rgba(0,13,38,0.75), 0 1px 4px rgba(0,13,38,0.9); }
.card-horizon .card-body p { color: rgba(255,255,255,0.85); font-size: 0.9rem; line-height: 1.55; text-shadow: 0 1px 8px rgba(0,13,38,0.5); }
/* glass content panel variant (portrait-safe: text sits in a lower glass panel, never over the face) */
.card-horizon.is-glass .card-body { margin: 1.2rem; padding: 1.2rem 1.35rem; border-radius: 14px;
  background: rgba(255,255,255,0.06); -webkit-backdrop-filter: blur(16px) saturate(1.15); backdrop-filter: blur(16px) saturate(1.15);
  border: 1px solid rgba(255,255,255,0.16); width: auto; }
.card-horizon.portrait .card-media { background-position: center top; }
/* built-in favourites: horizon-underline draws + dawn-wash on reveal (and hover) */
.card-horizon .card-uline { position: absolute; left: 1.6rem; right: 1.6rem; bottom: 3.4rem; z-index: 3; height: 1px;
  background: rgba(255,255,255,0.95); box-shadow: 0 0 8px rgba(255,255,255,0.5), 0 0 22px rgba(255,255,255,0.28);
  transform: scaleX(0); transform-origin: left; transition: transform 0.8s var(--ease); }
.card-horizon.in .card-uline, .card-horizon.reveal.in .card-uline, .card-horizon:hover .card-uline { transform: scaleX(1); }
.card-horizon .card-warm { position: absolute; inset: 0; z-index: 1; opacity: 0;
  background: radial-gradient(80% 60% at 50% 122%, rgba(255,208,160,0.34), transparent 60%); transition: opacity 0.9s var(--ease); }
.card-horizon.in .card-warm, .card-horizon.reveal.in .card-warm, .card-horizon:hover .card-warm { opacity: 1; }
.card-horizon .card-body .go { margin-top: 0.75rem; font-size: 0.8rem; font-weight: 600; color: #fff; display: inline-flex; gap: 0.4rem; }

/* --- Accordions (used a lot): base + three Horizon variants --- */
.accordion { border-top: 1px solid rgba(1,20,59,0.12); }
.bg-dawn-dark .accordion, .bg-navy .accordion, .bg-dark .accordion { border-top-color: rgba(255,255,255,0.12); }
.accordion-row { position: relative; border-bottom: 1px solid rgba(1,20,59,0.12); }
.bg-dawn-dark .accordion-row, .bg-navy .accordion-row, .bg-dark .accordion-row { border-bottom-color: rgba(255,255,255,0.12); }
.accordion-head { width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.4rem 0.25rem; font-family: var(--font-serif); font-size: 1.15rem; font-weight: 500; color: inherit; }
.accordion-head .acc-chev { flex: 0 0 auto; transition: transform 0.35s var(--ease); opacity: 0.6; font-size: 1.3rem; line-height: 1; }
.accordion-row.is-open .accordion-head .acc-chev { transform: rotate(90deg); opacity: 1; }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.accordion-body-inner { padding: 0 0.25rem 1.5rem; color: inherit; opacity: 0.86; line-height: 1.75; max-width: 68ch; }
.accordion-row.is-open .accordion-body { max-height: 900px; }
/* variant: horizon line draws under the open row */
.acc--horizon-underline .accordion-row::after { content: ''; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0;
  background: rgba(255,255,255,0.9); box-shadow: 0 0 8px rgba(255,255,255,0.5); transition: width 0.6s var(--ease); }
.acc--horizon-underline .accordion-row.is-open::after { width: 100%; }
.acc--horizon-underline.is-on-light .accordion-row::after { background: var(--navy); box-shadow: none; }
/* variant: dawn wash warms the open row */
.acc--dawn-wash .accordion-row { transition: background 0.5s var(--ease); }
.acc--dawn-wash .accordion-row.is-open { background: radial-gradient(120% 100% at 0% 50%, rgba(255,212,168,0.12), transparent 60%); }
/* variant: soft bloom behind the open content */
.acc--soft-bloom .accordion-row.is-open .accordion-body-inner { position: relative; }
.acc--soft-bloom .accordion-row.is-open .accordion-body-inner::before { content: ''; position: absolute; left: -10%; top: 10%; width: 55%; height: 80%;
  background: radial-gradient(circle, rgba(255,255,255,0.10), transparent 62%); z-index: -1; pointer-events: none; }

/* --- tv-b: reusable accordion-journey timeline (white first-light nodes) --- */
.tv-b { position: relative; padding-left: 40px; max-width: 760px; }
.tv-b .tv-spine { position: absolute; left: 5px; top: 10px; bottom: 10px; width: 1px; background: rgba(255,255,255,0.16); }
.bg-dawn-light .tv-b .tv-spine, .bg-light .tv-b .tv-spine { background: rgba(1,20,59,0.15); }
.tv-b .tv-row { position: relative; border-bottom: 1px solid rgba(255,255,255,0.10); }
.bg-dawn-light .tv-b .tv-row, .bg-light .tv-b .tv-row { border-bottom-color: rgba(1,20,59,0.10); }
.tv-b .tv-node { position: absolute; left: -40.5px; top: 1.5rem; width: 11px; height: 11px; border-radius: 50%;
  background: #0A2249; border: 1px solid var(--steel); transition: all 0.4s var(--ease); }
.tv-b .tv-row.is-open .tv-node, .tv-b .tv-row:hover .tv-node { background: #fff; border-color: #fff;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.12), 0 0 14px rgba(255,255,255,0.7); }
.bg-dawn-light .tv-b .tv-node { background: #fff; }
.bg-dawn-light .tv-b .tv-row.is-open .tv-node { box-shadow: 0 0 0 4px rgba(62,187,197,0.12), 0 0 12px rgba(1,20,59,0.25); border-color: var(--navy); background: var(--navy); }
.tv-b .tv-head { width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer;
  display: flex; align-items: baseline; gap: 1rem; padding: 1.25rem 0.25rem; color: inherit; }
.tv-b .tv-year { font-family: var(--font-serif); font-weight: 600; font-size: 1.2rem; flex: 0 0 auto; }
.tv-b .tv-title { font-family: var(--font-serif); font-weight: 500; font-size: 1.05rem; flex: 1; opacity: 0.9; }
.tv-b .tv-chev { opacity: 0.55; transition: transform 0.35s var(--ease); }
.tv-b .tv-row.is-open .tv-chev { transform: rotate(90deg); opacity: 1; }
.tv-b .tv-body { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.tv-b .tv-row.is-open .tv-body { max-height: 600px; }
.tv-b .tv-body-inner { padding: 0 0.25rem 1.5rem 0.25rem; opacity: 0.82; line-height: 1.7; max-width: 60ch; }

@media (prefers-reduced-motion: reduce) {
  .card-horizon .card-uline { transform: scaleX(1); }
  .card-horizon .card-warm { opacity: 1; }
  .accordion-body, .tv-b .tv-body { transition: none; }
}

/* Brand logo images (replace the FFT text monogram) — large, dominant statement mark;
   fluid clamp() so it scales down gracefully on narrow screens and never crowds out the hamburger */
.nav-logo-img { height: clamp(39px, 6vw, 105px); width: auto; display: block; }
.nav-logo-white { display: none; }
.footer-logo-img { height: 62px; width: auto; display: block; margin-bottom: 1.25rem; }


/* ═══════════ Glass cards over a section-wide backdrop (chosen card system) ═══════════
   Add class "glass-cards" to a <section> and set --section-bg to a photo url. */
.glass-cards { position: relative; overflow: hidden; }
.glass-cards::before { content:''; position:absolute; inset:0; z-index:0; background: var(--section-bg) center/cover no-repeat; }
.glass-cards::after { content:''; position:absolute; inset:0; z-index:0; background: radial-gradient(90% 70% at 50% -10%, rgba(0,13,38,0.48), transparent 55%), linear-gradient(180deg, rgba(0,13,38,0.80), rgba(0,13,38,0.90)); }
.glass-cards > .container { position: relative; z-index: 1; }
.glass-cards h2, .glass-cards h3, .glass-cards .section-index, .glass-cards .section-index b, .glass-cards .eyebrow, .glass-cards .pillar-head p, .glass-cards > .container > p, .glass-cards .lead { color: #fff; }
.glass-cards .card-horizon {
  background: rgba(255,255,255,0.10);
  -webkit-backdrop-filter: blur(24px) saturate(1.25); backdrop-filter: blur(24px) saturate(1.25);
  border: 1px solid rgba(255,255,255,0.24); border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0,13,38,0.42);
  transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s, box-shadow 0.3s;
  text-decoration: none;
}
.glass-cards .card-media, .glass-cards .card-grade, .glass-cards .card-warm, .glass-cards .card-uline { display: none; }
.glass-cards .card-body { margin-top: 0; height: 100%; display: flex; flex-direction: column; padding: 1.9rem; width: 100%; }
.glass-cards .card-body .k { color: rgba(255,255,255,0.85); align-self: flex-start; font-size: 11px; letter-spacing: 0.14em; margin-bottom: 0.7rem; }
.glass-cards .card-body h3 { position: relative; color: #fff; font-size: 1.4rem; line-height: 1.18; margin: 0 0 1.1rem; padding-bottom: 0.9rem; }
/* horizon-line draws in under the heading on reveal, redraws on hover — the card's own built-in favourite motif, adapted for the glass layout */
.glass-cards .card-body h3::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 0 8px rgba(255,255,255,0.5), 0 0 22px rgba(255,255,255,0.28);
  transform: scaleX(0); transform-origin: left; transition: transform 0.8s var(--ease);
}
.glass-cards .card-horizon.in .card-body h3::after,
.glass-cards .card-horizon.reveal.in .card-body h3::after,
.glass-cards .card-horizon:hover .card-body h3::after { transform: scaleX(1); }
.glass-cards .card-body p { color: rgba(255,255,255,0.92); font-size: 0.98rem; line-height: 1.6; text-shadow: none; }
.glass-cards .card-body .go { color: #fff; margin-top: auto; padding-top: 1rem; font-weight: 600; }
.glass-cards .card-horizon:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.45); transform: translateY(-6px); box-shadow: 0 30px 70px rgba(0,13,38,0.5), 0 0 30px rgba(255,255,255,0.10); }

/* Home timeline events: compact image + learn-more link */
.tv-a .ev { display: flex; gap: 1.4rem; align-items: stretch; }
.tv-a .ev .ev-img { flex: 0 0 240px; width: 240px; align-self: stretch; min-height: 100px; aspect-ratio: 16 / 9; border-radius: 12px; background-size: cover; background-position: center; box-shadow: 0 8px 20px rgba(0,13,38,0.45); }
.tv-a .ev .ev-content { flex: 1; min-width: 0; }
.tv-a .ev .ev-link { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.65rem; font-size: 13px; font-weight: 600; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.4); padding-bottom: 2px; text-decoration: none; transition: border-color 0.2s var(--ease); }
.tv-a .ev .ev-link:hover { border-bottom-color: #fff; }
.tv-a .ev .ev-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.85rem; }
.tv-a .ev .ev-btn { display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 600; color: #fff; padding: 0.55rem 1.05rem; border: 1.5px solid rgba(255,255,255,0.4); border-radius: 30px; text-decoration: none; transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.3s var(--ease); }
.tv-a .ev .ev-btn:hover { border-color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.06); box-shadow: 0 0 20px rgba(255,255,255,0.18); }
.tv-a .ev.end { display: block; }
@media (max-width: 768px) { .tv-a .ev { flex-direction: column; } .tv-a .ev .ev-img { flex: 0 0 auto; width: 100%; aspect-ratio: 16 / 9; align-self: auto; } }
@media (max-width: 600px) { .tv-a .ev .ev-img { min-height: 0; } }

/* ══════════════════ ACCESSIBILITY (sitewide) ══════════════════ */
/* Visible keyboard focus for all interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--teal, #3EBBC5);
  outline-offset: 2px;
  border-radius: 2px;
}
/* Dark grounds get a lighter focus ring for contrast */
.bg-dawn-dark a:focus-visible,
.bg-navy a:focus-visible,
.jrny a:focus-visible,
.lab-banner a:focus-visible,
.download-band a:focus-visible {
  outline-color: #ffffff;
}
/* Respect users who prefer reduced motion, sitewide */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
