/* ==========================================================================
   Lighthouse Consulting — site stylesheet
   Palette: Harbor navy · Lantern gold · Sea-glass teal · Fog
   Type:    Newsreader (display) · Public Sans (text/UI)
   ========================================================================== */

:root {
  /* ground + ink */
  --harbor-950: #060F1F;
  --harbor-900: #0A1B33;
  --harbor-800: #0F2547;
  --navy-700:   #12305E;
  --navy-600:   #1C4380;
  --ink:        #0F1E36;
  --ink-2:      #44536B;
  --ink-3:      #6E7B8F;
  --fog-50:     #F5F6F2;
  --fog-100:    #ECEFE9;
  --fog-200:    #DDE2DC;
  --fog-300:    #C9D0C9;
  --white:      #FFFFFF;

  /* accents */
  --gold:       #E7B24A;
  --gold-300:   #F2D28E;
  --gold-100:   #FBF0D3;
  --teal:       #3E8E9C;
  --teal-700:   #2B6E7B;

  /* on-dark text */
  --on-dark:    #F4F1E8;
  --on-dark-2:  rgba(244, 241, 232, 0.72);
  --on-dark-3:  rgba(244, 241, 232, 0.5);
  --line-dark:  rgba(244, 241, 232, 0.14);
  --line-light: rgba(15, 30, 54, 0.12);

  /* type */
  --font-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-text: "Public Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --step-3: clamp(2rem, 1.5rem + 2.2vw, 3.1rem);
  --step-4: clamp(2.6rem, 1.8rem + 3.6vw, 4.4rem);
  --step-5: clamp(3.2rem, 2rem + 6vw, 6.6rem);

  --container: 1240px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--fog-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.012em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); font-variation-settings: "opsz" 72; }
h2 { font-size: var(--step-4); font-variation-settings: "opsz" 60; }
h3 { font-size: var(--step-2); font-variation-settings: "opsz" 36; line-height: 1.15; }
h4 { font-size: var(--step-1); font-variation-settings: "opsz" 24; line-height: 1.25; }

p { margin: 0; }
p + p { margin-top: 1em; }
.prose { max-width: 62ch; }
.prose p + p { margin-top: 1.1em; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 0.35em; }

.lede {
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.35;
  font-variation-settings: "opsz" 24;
  color: var(--ink-2);
  max-width: 34ch;
  text-wrap: pretty;
}

.eyebrow {
  font-family: var(--font-text);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-700);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
}
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.on-dark .eyebrow { color: var(--gold); }

em, .serif-i { font-family: var(--font-display); font-style: italic; font-weight: 400; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.on-dark { background: var(--harbor-900); color: var(--on-dark); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--on-dark); }
.on-dark .lede { color: var(--on-dark-2); }
.on-fog { background: var(--fog-100); }
.on-white { background: var(--white); }

/* --- skip link ---------------------------------------------------------- */
.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--gold); color: var(--harbor-900);
  padding: 0.6rem 1rem; border-radius: var(--radius);
  font-weight: 600; z-index: 100; text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; outline: 2px solid var(--harbor-900); outline-offset: 2px; }

/* --- buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.5rem;
  font-family: var(--font-text); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  text-decoration: none; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn--gold { background: var(--gold); color: var(--harbor-950); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-300); border-color: var(--gold-300); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--on-dark); border-color: var(--line-dark); }
.btn--ghost:hover { border-color: var(--on-dark); }
.btn--navy { background: var(--navy-700); color: var(--on-dark); border-color: var(--navy-700); }
.btn--navy:hover { background: var(--harbor-800); border-color: var(--harbor-800); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--navy-700); border-color: var(--line-light); }
.btn--outline:hover { border-color: var(--navy-700); }
.btn svg { width: 1em; height: 1em; }

.text-link {
  font-weight: 600; color: var(--navy-700); text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.45rem;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}
.text-link:hover { border-bottom-color: var(--navy-700); }
.text-link svg { width: 0.9em; height: 0.9em; transition: transform 0.25s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }
.on-dark .text-link { color: var(--on-dark); border-bottom-color: var(--gold); }
.on-dark .text-link:hover { border-bottom-color: var(--on-dark); }

/* --- header / nav ------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  color: var(--on-dark);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.site-header.scrolled {
  background: rgba(245, 246, 242, 0.88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line-light);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 4.75rem; gap: 2rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.7rem;
  text-decoration: none; color: inherit;
}
.brand-mark { width: 1.9rem; height: 1.9rem; color: currentColor; }
.brand-name {
  font-family: var(--font-display); font-size: 1.35rem; letter-spacing: 0.005em;
  font-variation-settings: "opsz" 24; line-height: 1;
}
.brand-name em { font-style: italic; font-weight: 400; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2rem; }
.site-nav a {
  text-decoration: none; font-size: 0.92rem; font-weight: 500; letter-spacing: 0.01em;
  padding: 0.35rem 0; position: relative; color: inherit; opacity: 0.85;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { opacity: 1; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a.nav-cta {
  opacity: 1; padding: 0.55rem 1.1rem; border: 1px solid currentColor; border-radius: var(--radius);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.site-nav a.nav-cta::after { display: none; }
.site-nav a.nav-cta:hover { background: var(--gold); border-color: var(--gold); color: var(--harbor-950); }

.nav-toggle {
  display: none; background: none; border: 1px solid currentColor; color: inherit;
  border-radius: var(--radius); padding: 0.5rem 0.85rem; font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
}
.nav-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--harbor-950); color: var(--on-dark);
  display: grid; grid-template-rows: auto 1fr auto;
  padding: 1.25rem var(--gutter) 2rem;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; min-height: 2.5rem; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; align-self: center; }
.mobile-menu li + li { margin-top: 0.4rem; }
.mobile-menu a {
  font-family: var(--font-display); font-size: clamp(2rem, 8vw, 3rem); text-decoration: none;
  line-height: 1.15; font-variation-settings: "opsz" 36;
}
.mobile-menu a[aria-current="page"] { color: var(--gold); }
.mobile-menu .menu-contact { color: var(--on-dark-2); font-size: 0.95rem; }
.mobile-menu .menu-contact a { font-family: var(--font-text); font-size: inherit; color: var(--on-dark); }

@media (max-width: 860px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* --- hero --------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 85% 0%, #14305C 0%, var(--harbor-900) 45%, var(--harbor-950) 100%);
  color: var(--on-dark);
  margin-top: -4.75rem; /* sit under sticky header */
  padding-top: 4.75rem;
}
.hero-inner {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem;
  padding-block: clamp(4.5rem, 10vw, 8rem) clamp(4rem, 8vw, 6rem);
  min-height: min(88vh, 860px);
  align-content: center;
}
.hero-copy { grid-column: 1 / span 8; position: relative; z-index: 1; }
.hero h1 { max-width: 12ch; }
.hero h1 .lit { color: var(--gold-300); font-style: italic; }
.hero .lede { margin-top: 1.75rem; color: var(--on-dark-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.25rem; }

.hero-facts {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  border-top: 1px solid var(--line-dark);
  padding-block: 1.5rem 2rem;
}
.hero-facts div { font-size: 0.9rem; color: var(--on-dark-2); line-height: 1.4; }
.hero-facts strong {
  display: block; font-family: var(--font-display); font-weight: 400; font-style: italic;
  color: var(--on-dark); font-size: 1.35rem; font-variation-settings: "opsz" 24; margin-bottom: 0.25rem;
}
@media (max-width: 860px) {
  .hero-copy { grid-column: 1 / -1; }
  .hero-facts { grid-template-columns: 1fr; gap: 1rem; }
}

/* stars */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,0.55) 50%, transparent 55%),
    radial-gradient(1px 1px at 28% 9%, rgba(255,255,255,0.4) 50%, transparent 55%),
    radial-gradient(1.5px 1.5px at 41% 22%, rgba(255,255,255,0.5) 50%, transparent 55%),
    radial-gradient(1px 1px at 57% 12%, rgba(255,255,255,0.35) 50%, transparent 55%),
    radial-gradient(1px 1px at 66% 31%, rgba(255,255,255,0.45) 50%, transparent 55%),
    radial-gradient(1.5px 1.5px at 74% 8%, rgba(255,255,255,0.5) 50%, transparent 55%),
    radial-gradient(1px 1px at 88% 26%, rgba(255,255,255,0.4) 50%, transparent 55%),
    radial-gradient(1px 1px at 8% 44%, rgba(255,255,255,0.3) 50%, transparent 55%),
    radial-gradient(1px 1px at 35% 40%, rgba(255,255,255,0.3) 50%, transparent 55%),
    radial-gradient(1px 1px at 93% 46%, rgba(255,255,255,0.35) 50%, transparent 55%),
    radial-gradient(1px 1px at 50% 5%, rgba(255,255,255,0.3) 50%, transparent 55%),
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.25) 50%, transparent 55%);
}
/* grain */
.grain::after {
  content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0.07;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* the lighthouse + beam — lives inside .hero-inner / .page-header-inner so the
   base sits on the content column and the beam pivots on the lantern. */
.hero-light {
  position: absolute; z-index: 0; pointer-events: none;
  right: clamp(-1rem, 2vw, 2rem); top: 0; bottom: 0;
  display: flex; align-items: flex-end;
}
.lh-wrap { position: relative; height: 92%; aspect-ratio: 120 / 330; }
.lighthouse { position: relative; z-index: 2; width: 100%; height: 100%; color: var(--harbor-950); }

.beam {
  position: absolute; z-index: 0; pointer-events: none;
  --beam-w: 2600px;
  left: 50%; top: 22.1%;                       /* the lantern */
  width: var(--beam-w); height: var(--beam-w);
  margin: calc(var(--beam-w) / -2) 0 0 calc(var(--beam-w) / -2);
  border-radius: 50%;
  background: conic-gradient(from 180deg at 50% 50%,
    transparent 0deg,
    transparent 80deg,
    rgba(231, 178, 74, 0.04) 83deg,
    rgba(242, 210, 142, 0.16) 87deg,
    rgba(255, 240, 200, 0.30) 90deg,
    rgba(242, 210, 142, 0.16) 93deg,
    rgba(231, 178, 74, 0.04) 97deg,
    transparent 100deg,
    transparent 360deg);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, rgba(0,0,0,0.85) 14%, rgba(0,0,0,0.3) 38%, transparent 58%);
  mask-image: radial-gradient(circle at 50% 50%, #000 0%, rgba(0,0,0,0.85) 14%, rgba(0,0,0,0.3) 38%, transparent 58%);
  transform: rotate(-20deg);
  animation: sweep 14s ease-in-out infinite alternate;
  will-change: transform;
}
.beam-glow {
  position: absolute; z-index: 3; pointer-events: none;
  left: 50%; top: 22.1%;
  width: 260px; height: 260px; margin: -130px 0 0 -130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 240, 200, 0.55) 0%, rgba(242, 210, 142, 0.16) 26%, transparent 60%);
  animation: pulse 4s ease-in-out infinite;
}
@keyframes sweep { from { transform: rotate(-26deg); } to { transform: rotate(18deg); } }
@keyframes pulse { 0%, 100% { opacity: 0.8; } 50% { opacity: 1; } }

@media (max-width: 860px) {
  /* On phones the lighthouse becomes an ambient silhouette at the edge:
     smaller, partly off-canvas, and low enough that the lantern sits
     between the lede and the buttons rather than over the text. */
  .hero-light { right: -2.25rem; opacity: 0.8; }
  .lh-wrap { height: 34%; }
  .beam { --beam-w: 1600px; }
  .beam-glow { width: 180px; height: 180px; margin: -90px 0 0 -90px; }
}
@media (prefers-reduced-motion: reduce) {
  .beam, .beam-glow { animation: none; }
}

/* --- inner page headers -------------------------------------------------- */
.page-header {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 100% at 90% 0%, #14305C 0%, var(--harbor-900) 50%, var(--harbor-950) 100%);
  color: var(--on-dark);
  margin-top: -4.75rem; padding-top: 4.75rem;
}
.page-header .hero-light { right: clamp(-1rem, 3vw, 3rem); }
.page-header .lh-wrap { height: 88%; }
.page-header .beam { --beam-w: 2000px; opacity: 0.85; }
.page-header-inner {
  position: relative; z-index: 3;
  padding-block: clamp(4rem, 9vw, 7rem) clamp(3.5rem, 7vw, 5.5rem);
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem;
}
.page-header-inner > :not(.hero-light) { grid-column: 1 / span 8; position: relative; z-index: 1; }
.page-header h1 { font-size: var(--step-4); max-width: 14ch; }
.page-header .lede { margin-top: 1.5rem; }
@media (max-width: 860px) {
  .page-header-inner > :not(.hero-light) { grid-column: 1 / -1; }
  .page-header .hero-light { right: -2rem; }
  .page-header .lh-wrap { height: 46%; }
  .page-header .beam { --beam-w: 1200px; }
}

/* --- generic split layouts ---------------------------------------------- */
.split {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem 1.5rem; align-items: start;
}
.split > .split-lead { grid-column: 1 / span 5; }
.split > .split-body { grid-column: 7 / span 6; }
.split.split--wide-lead > .split-lead { grid-column: 1 / span 7; }
.split.split--wide-lead > .split-body { grid-column: 9 / span 4; }
.split .statement {
  font-family: var(--font-display); font-size: var(--step-3); line-height: 1.12;
  letter-spacing: -0.012em; font-variation-settings: "opsz" 48; text-wrap: balance;
}
.split .statement .hl { color: var(--teal-700); font-style: italic; }
.on-dark .split .statement .hl { color: var(--gold-300); }
.sticky-lead { position: sticky; top: 6.5rem; }
@media (max-width: 860px) {
  .split > .split-lead, .split > .split-body,
  .split.split--wide-lead > .split-lead, .split.split--wide-lead > .split-body { grid-column: 1 / -1; }
  .sticky-lead { position: static; }
}

/* --- services list ------------------------------------------------------ */
.service-list { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.service-list li {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.6rem;
  padding: 1.6rem 0; border-top: 1px solid var(--line-light);
}
.service-list li:last-child { border-bottom: 1px solid var(--line-light); }
.service-list h3 { font-size: var(--step-1); font-variation-settings: "opsz" 24; }
.service-list p { color: var(--ink-2); max-width: 58ch; }
.service-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem;
}
.service-grid .service-list li { align-content: start; }
@media (max-width: 860px) { .service-grid { grid-template-columns: 1fr; } }

.service-detail { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem; padding: clamp(2rem, 4vw, 3rem) 0; border-top: 1px solid var(--line-light); }
.service-detail:last-of-type { border-bottom: 1px solid var(--line-light); }
.service-detail h2 { grid-column: 1 / span 5; font-size: var(--step-2); font-variation-settings: "opsz" 36; line-height: 1.15; }
.service-detail .prose { grid-column: 7 / span 6; color: var(--ink-2); }
.service-detail .quote {
  font-family: var(--font-display); font-style: italic; font-size: var(--step-1);
  color: var(--teal-700); margin-bottom: 0.75rem; font-variation-settings: "opsz" 24;
}
@media (max-width: 860px) { .service-detail h2, .service-detail .prose { grid-column: 1 / -1; } }

.workshop-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1px;
  background: var(--line-light); border: 1px solid var(--line-light);
}
.workshop-grid li {
  background: var(--fog-50); padding: 1.35rem 1.4rem;
  font-family: var(--font-display); font-size: var(--step-1); font-variation-settings: "opsz" 24; line-height: 1.25;
  display: flex; align-items: flex-start; gap: 0.75rem;
}
.workshop-grid li::before {
  content: ""; flex: 0 0 auto; width: 0.5rem; height: 0.5rem; margin-top: 0.55em;
  background: var(--gold); transform: rotate(45deg);
}

/* --- principles --------------------------------------------------------- */
.principles {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0; border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark);
}
.principle {
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
  display: grid; gap: 1rem; align-content: start;
}
.principle h3 { font-size: var(--step-2); font-variation-settings: "opsz" 36; }
.principle h3 .k { font-style: italic; color: var(--gold-300); }
.principle p { color: var(--on-dark-2); max-width: 46ch; }
.principle .glyph { width: 2rem; height: 2rem; color: var(--gold); }
@media (max-width: 720px) { .principles { grid-template-columns: 1fr; } }

/* --- people ------------------------------------------------------------- */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4rem); }
.person { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1.5rem; align-items: start; }
.person .portrait {
  width: 7.5rem; aspect-ratio: 4 / 5; object-fit: cover; object-position: top;
  border-radius: 2px; filter: saturate(0.92) contrast(1.02);
  box-shadow: 0 0 0 1px var(--line-light), 0 12px 30px -18px rgba(10, 27, 51, 0.5);
}
.person h3 { font-size: var(--step-2); font-variation-settings: "opsz" 36; }
.person .role { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-700); margin: 0.35rem 0 0.9rem; }
.person p { color: var(--ink-2); }
.person .text-link { margin-top: 1rem; }
@media (max-width: 860px) { .people { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .person { grid-template-columns: 1fr; } }

.bio { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem 1.5rem; padding-block: clamp(3rem, 6vw, 5rem); }
.bio + .bio { border-top: 1px solid var(--line-light); }
.bio-aside { grid-column: 1 / span 4; }
.bio-aside .portrait {
  width: min(100%, 15rem); aspect-ratio: 4 / 5; object-fit: cover; object-position: top;
  border-radius: 2px; filter: saturate(0.92) contrast(1.02);
  box-shadow: 0 0 0 1px var(--line-light), 0 24px 50px -30px rgba(10, 27, 51, 0.55);
}
.bio-aside h2 { font-size: var(--step-3); margin-top: 1.5rem; }
.bio-aside .role { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-700); margin-top: 0.6rem; }
.bio-aside .creds { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line-light); font-size: 0.92rem; color: var(--ink-2); display: grid; gap: 0.55rem; }
.bio-aside .creds strong { color: var(--ink); font-weight: 600; }
.bio-body { grid-column: 6 / span 7; color: var(--ink-2); }
.bio-body .pull {
  font-family: var(--font-display); font-size: var(--step-2); line-height: 1.3; color: var(--ink);
  font-variation-settings: "opsz" 36; margin-bottom: 1.5rem; text-wrap: pretty;
  border-left: 3px solid var(--gold); padding-left: 1.25rem;
}
.bio-body h3 { font-size: var(--step-1); color: var(--ink); margin: 2rem 0 0.75rem; font-variation-settings: "opsz" 24; }
.bio-body ul { padding-left: 1.2em; }
@media (max-width: 860px) {
  .bio-aside, .bio-body { grid-column: 1 / -1; }
  .bio-aside .portrait { width: min(100%, 11rem); } /* source photos are small; don't upscale them */
}

/* --- clients ------------------------------------------------------------ */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line-light);
  padding-block: 1.1rem;
  -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: flex; gap: 3.5rem; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display); font-size: var(--step-2); font-variation-settings: "opsz" 36;
  white-space: nowrap; color: var(--navy-700); display: inline-flex; align-items: center; gap: 3.5rem;
}
.marquee-track span::after { content: ""; width: 0.4rem; height: 0.4rem; background: var(--gold); transform: rotate(45deg); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; gap: 1rem 2rem; }
  .marquee-track span::after { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}

.client-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2.5rem;
}
.client-grid li {
  font-family: var(--font-display); font-size: var(--step-1); font-variation-settings: "opsz" 24;
  padding: 0.85rem 0; border-bottom: 1px solid var(--line-light); color: var(--ink);
  line-height: 1.3;
}
.client-grid li small { display: block; font-family: var(--font-text); font-size: 0.78rem; color: var(--ink-3); letter-spacing: 0.02em; margin-top: 0.15rem; }
@media (max-width: 860px) { .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .client-grid { grid-template-columns: 1fr; } }

.client-featured { display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; margin-top: 2rem; }
.client-featured span { font-family: var(--font-display); font-size: var(--step-1); color: var(--navy-700); font-variation-settings: "opsz" 24; }

/* --- client banner (home, flows out of the hero) ------------------------ */
.client-band { position: relative; background: var(--harbor-950); border-top: 1px solid rgba(244, 241, 232, 0.07); padding-block: 1.45rem; overflow: hidden; }
.client-band::before, .client-band::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.client-band::before { left: 0; background: linear-gradient(to right, var(--harbor-950), transparent); }
.client-band::after { right: 0; background: linear-gradient(to left, var(--harbor-950), transparent); }
.client-band .marquee { border-block: 0; padding-block: 0; -webkit-mask-image: none; mask-image: none; }
.client-band .marquee-track { gap: 4.5rem; animation-duration: 180s; }
.client-band .marquee-track span { font-family: var(--font-text); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(244, 241, 232, 0.42); gap: 0; font-variation-settings: normal; transition: color 0.3s; }
.client-band .marquee-track span::after { display: none; }
.client-band .marquee:hover .marquee-track span { color: rgba(244, 241, 232, 0.7); }
@media (prefers-reduced-motion: reduce) { .client-band .marquee-track { gap: 0.9rem 2.2rem; padding-inline: var(--gutter); } }

/* --- stats / facts ----------------------------------------------------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.fact { border-top: 1px solid var(--line-light); padding-top: 1rem; }
.fact strong { display: block; font-family: var(--font-display); font-size: var(--step-3); font-weight: 400; line-height: 1; color: var(--navy-700); }
.fact span { display: block; margin-top: 0.5rem; color: var(--ink-2); font-size: 0.92rem; }
@media (max-width: 720px) { .facts { grid-template-columns: 1fr; } }

/* --- callout ----------------------------------------------------------- */
.callout {
  border-left: 3px solid var(--gold); padding: 0.25rem 0 0.25rem 1.5rem;
  font-family: var(--font-display); font-size: var(--step-2); line-height: 1.3;
  font-variation-settings: "opsz" 36; color: var(--ink); text-wrap: pretty; max-width: 28ch;
}
.on-dark .callout { color: var(--on-dark); }

/* --- CTA band ----------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 100% at 10% 100%, #14305C 0%, var(--harbor-900) 50%, var(--harbor-950) 100%);
  color: var(--on-dark);
}
.cta-band .beam { --beam-w: 1800px; left: calc(100% - 5rem); top: 50%; opacity: 0.5; animation-duration: 18s; }
.cta-inner {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem 1.5rem; align-items: end;
  padding-block: var(--section);
}
.cta-inner .cta-copy { grid-column: 1 / span 7; }
.cta-inner .cta-contact { grid-column: 9 / span 4; display: grid; gap: 1.1rem; font-size: 0.95rem; color: var(--on-dark-2); }
.cta-contact a { color: var(--on-dark); text-decoration: none; border-bottom: 1px solid var(--line-dark); }
.cta-contact a:hover { border-bottom-color: var(--gold); }
.cta-contact .label { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--gold); margin-bottom: 0.25rem; }
.cta-band h2 { max-width: 16ch; }
.cta-band .hero-actions { margin-top: 2rem; }
@media (max-width: 860px) { .cta-inner .cta-copy, .cta-inner .cta-contact { grid-column: 1 / -1; } }

/* --- contact form ------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3rem 1.5rem; }
.contact-form { grid-column: 1 / span 7; }
.contact-aside { grid-column: 9 / span 4; display: grid; gap: 2rem; align-content: start; }
.contact-aside .block { border-top: 1px solid var(--line-light); padding-top: 1.1rem; }
.contact-aside .label { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--teal-700); margin-bottom: 0.45rem; }
.contact-aside a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--gold); }
.contact-aside a:hover { border-bottom-color: var(--navy-700); }
.contact-aside .big { font-family: var(--font-display); font-size: var(--step-2); font-variation-settings: "opsz" 36; line-height: 1.2; }
@media (max-width: 860px) { .contact-form, .contact-aside { grid-column: 1 / -1; } }

.form { display: grid; gap: 1.4rem; }
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--ink-3); letter-spacing: 0; }
.field input, .field textarea {
  font: inherit; color: var(--ink); background: var(--white);
  border: 1px solid var(--fog-300); border-radius: var(--radius);
  padding: 0.85rem 1rem; width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(18, 48, 94, 0.15); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form-note { font-size: 0.85rem; color: var(--ink-3); max-width: 40ch; }
.form-status { font-size: 0.92rem; color: var(--teal-700); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --- footer ------------------------------------------------------------- */
.site-footer { background: var(--harbor-950); color: var(--on-dark-2); font-size: 0.92rem; }
.footer-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem 1.5rem;
  padding-block: 3.5rem 2.5rem; border-bottom: 1px solid var(--line-dark);
}
.footer-brand { grid-column: 1 / span 5; }
.footer-brand .brand { color: var(--on-dark); }
.footer-brand .tag { margin-top: 1rem; font-family: var(--font-display); font-style: italic; font-size: var(--step-1); color: var(--on-dark-2); max-width: 22ch; font-variation-settings: "opsz" 24; }
.footer-col { display: grid; gap: 0.5rem; align-content: start; }
.footer-col:nth-of-type(2) { grid-column: 7 / span 2; }
.footer-col:nth-of-type(3) { grid-column: 9 / span 4; }
.footer-col .label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--gold); margin-bottom: 0.35rem; }
.footer-col a { color: var(--on-dark); text-decoration: none; opacity: 0.85; }
.footer-col a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding-block: 1.5rem; font-size: 0.8rem; color: var(--on-dark-3); }
@media (max-width: 860px) {
  .footer-brand, .footer-col:nth-of-type(2), .footer-col:nth-of-type(3) { grid-column: 1 / -1; }
}

/* --- reveal on scroll (progressive enhancement) -------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal][data-reveal-delay="1"] { transition-delay: 0.1s; }
.js [data-reveal][data-reveal-delay="2"] { transition-delay: 0.2s; }
.js [data-reveal][data-reveal-delay="3"] { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* --- utilities ---------------------------------------------------------- */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.section-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem 1.5rem; align-items: end; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head > .h { grid-column: 1 / span 7; }
.section-head > .aside { grid-column: 9 / span 4; color: var(--ink-2); }
.on-dark .section-head > .aside { color: var(--on-dark-2); }
@media (max-width: 860px) { .section-head > .h, .section-head > .aside { grid-column: 1 / -1; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
