@import url("https://fonts.googleapis.com/css2?family=Geist:wght@300..600&family=Geist+Mono:wght@400..600&family=Schibsted+Grotesk:wght@400..900&display=swap");

/* =========================================================================
   Bonne Vague Ventures — design system
   Warm-paper editorial (à la semaloop) + deep-ocean signature hero.
   ========================================================================= */

:root {
  /* Surfaces */
  --paper: #f3f3f0;          /* warm off-white — primary surface */
  --paper-2: #ebeae3;        /* secondary surface (panels, alt sections) */
  --surface-dark: #0a1417;   /* near-black, faint teal cast — dark sections + ocean */
  --surface-dark-2: #0f1d20;

  /* Ink */
  --ink: #16191b;            /* near-black — headings + primary text */
  --ink-body: rgba(22, 25, 27, 0.80);
  --ink-soft: rgba(22, 25, 27, 0.58);
  --ink-muted: rgba(22, 25, 27, 0.46);
  --invert: #f4f3ee;         /* paper on dark */
  --invert-soft: rgba(244, 243, 238, 0.66);
  --invert-muted: rgba(244, 243, 238, 0.42);

  /* Accents — one brand, one signal */
  --brand: #157269;          /* deep ocean teal */
  --brand-deep: #0c534d;
  --brand-bright: #2ba194;   /* lighter teal for dark backgrounds */
  --signal: #ef6644;         /* terracotta-coral — bridges semaloop coral + New Genre orange; used sparingly */

  /* Lines */
  --rule: rgba(22, 25, 27, 0.12);
  --rule-strong: rgba(22, 25, 27, 0.22);
  --rule-invert: rgba(244, 243, 238, 0.16);

  /* Type */
  --font-display: "Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Shape + depth */
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-lift: 0 1px 2px rgba(22, 25, 27, 0.04), 0 18px 48px rgba(10, 30, 33, 0.10);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* minimalist wave glyph (used as a mask, so any background-color tints it) */
  --wave-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 10'%3E%3Cpath d='M1.5 5 q3.5 -3.4 7 0 t7 0 t7 0' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-body);
  font-family: var(--font-sans);
  font-size: 1.02rem;
  line-height: 1.62;
  font-feature-settings: "ss01", "cv01";
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

::selection {
  background: var(--brand);
  color: var(--invert);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 60;
  transform: translateY(-200%);
  border-radius: 999px;
  background: var(--ink);
  color: var(--invert);
  padding: 0.6rem 1rem;
  font: 600 0.82rem/1 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: transform 180ms var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---- Layout primitives ---- */
.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}
.narrow { width: min(760px, calc(100% - 48px)); }

/* ---- Mono labels / eyebrows ---- */
.eyebrow,
.mono-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.4rem;
  font: 500 0.74rem/1 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
/* subtle leading wave — the section marker (replaces 00–05 numbering).
   Drawn via mask so background-color recolors it per context. */
.eyebrow::before {
  content: "";
  width: 28px;
  height: 11px;
  flex: none;
  background-color: var(--brand);
  -webkit-mask: var(--wave-mark) no-repeat center / contain;
  mask: var(--wave-mark) no-repeat center / contain;
}
.mono-label .idx {
  color: var(--brand);
  font-weight: 600;
}
.eyebrow .dot,
.mono-label .dot {
  width: 5px; height: 5px;
  border-radius: 999px;
  background: var(--signal);
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin: 0 0 1rem;
  text-wrap: balance;
}
p { margin: 0 0 1rem; }

h1 {
  font-size: clamp(2.9rem, 7.2vw, 5.6rem);
  font-weight: 500;
}
h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.7rem);
  font-weight: 500;
}
h3 {
  font-size: 1.24rem;
  letter-spacing: -0.012em;
  font-weight: 600;
}

.lede {
  font-size: clamp(1.12rem, 1.7vw, 1.34rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 60ch;
}

/* ---- Buttons ---- */
.button {
  --bg: var(--ink);
  --fg: var(--invert);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0 1.05rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font: 500 0.84rem/1 var(--font-sans);
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 220ms var(--ease), background 220ms var(--ease),
    border-color 220ms var(--ease), color 220ms var(--ease);
}
.button .arrow { transition: transform 260ms var(--ease); }
.button:hover { transform: translateY(-2px); }
.button:hover .arrow { transform: translateX(4px); }
.button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.button-primary { --bg: var(--ink); --fg: var(--invert); }
.button-primary:hover { --bg: var(--brand-deep); }

.button-secondary {
  --bg: transparent; --fg: var(--ink);
  border-color: var(--rule-strong);
}
.button-secondary:hover { border-color: var(--ink); }

/* On dark backgrounds */
.on-dark .button-primary { --bg: var(--invert); --fg: var(--surface-dark); }
.on-dark .button-primary:hover { --bg: #fff; }
.on-dark .button-secondary { --fg: var(--invert); border-color: var(--rule-invert); }
.on-dark .button-secondary:hover { border-color: var(--invert); }

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
  position: absolute;       /* scrolls away with the page — not sticky */
  inset: 0 0 auto;
  z-index: 50;
  transition: background 320ms var(--ease), border-color 320ms var(--ease),
    backdrop-filter 320ms var(--ease);
  border-bottom: 1px solid transparent;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 88px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--invert);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  transition: color 320ms var(--ease);
}
/* wordmark logo — black artwork on transparent; invert to white over dark */
.brand-logo {
  display: block;
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);          /* white over the dark hero */
  transition: filter 320ms var(--ease);
}
.site-header.is-solid .brand-logo { filter: none; }   /* black on paper */
.footer-brand .brand-logo { height: 44px; filter: brightness(0) invert(1); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem 1.9rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--invert-soft);
  transition: color 320ms var(--ease);
}
.site-nav a {
  text-decoration: none;
  color: inherit;
  position: relative;
  padding: 0.4rem 0;
  transition: color 200ms var(--ease);
}
.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms var(--ease);
}
.site-nav a:not(.nav-cta):hover::after,
.site-nav a:not(.nav-cta):focus-visible::after { transform: scaleX(1); }
.site-nav a:hover { color: var(--invert); }

.nav-cta {
  padding: 0.55rem 1.1rem !important;
  border: 1px solid var(--rule-invert);
  border-radius: 999px;
  transition: background 220ms var(--ease), color 220ms var(--ease),
    border-color 220ms var(--ease);
}
.nav-cta:hover { background: var(--invert); color: var(--surface-dark); border-color: var(--invert); }

/* Scrolled / light-context header */
.site-header.is-solid {
  background: rgba(243, 243, 240, 0.82);
  backdrop-filter: saturate(140%) blur(16px);
  border-bottom-color: var(--rule);
}
.site-header.is-solid .brand,
.site-header.is-solid .site-nav a:hover { color: var(--ink); }
.site-header.is-solid .brand-mark { color: var(--brand); }
.site-header.is-solid .site-nav { color: var(--ink-soft); }
.site-header.is-solid .nav-cta { border-color: var(--rule-strong); }
.site-header.is-solid .nav-cta:hover { background: var(--ink); color: var(--invert); border-color: var(--ink); }

/* =========================================================================
   Hero — deep ocean signature moment
   ========================================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 70% 8%, #11464a 0%, #0a2a30 42%, #061519 100%);
  color: var(--invert);
}
#ocean-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
/* legibility wash + transition to paper at the base */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 21, 25, 0.38) 0%, rgba(6, 21, 25, 0) 24%),
    linear-gradient(75deg, rgba(6, 21, 25, 0.52) 0%, rgba(6, 21, 25, 0.14) 48%, rgba(6, 21, 25, 0) 74%),
    /* clean ocean -> paper blend (paper-colored alpha, no dark band) */
    linear-gradient(180deg, rgba(243, 243, 240, 0) 62%, rgba(243, 243, 240, 0.5) 84%, var(--paper) 97%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 6rem 0;
}
.hero h1 {
  color: var(--invert);
  max-width: 16ch;
  margin-bottom: 1.6rem;
  text-shadow: 0 1px 30px rgba(4, 16, 19, 0.45);
}
.hero h1 .ln { display: block; }
.hero-sub {
  max-width: 50ch;
  margin-bottom: 2.3rem;
  font-size: clamp(1.1rem, 1.55vw, 1.32rem);
  line-height: 1.5;
  color: rgba(244, 243, 238, 0.86);
}
.hero .eyebrow { color: var(--invert-soft); }
.hero .eyebrow::before { background-color: var(--brand-bright); }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* hero footer meta ticker */
.hero-meta {
  position: relative;
  z-index: 2;
  margin-top: clamp(2.5rem, 6vh, 4.5rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule-invert);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2.2rem;
  font: 500 0.74rem/1.4 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--invert-muted);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 0.55rem; }
.hero-meta b { color: var(--invert-soft); font-weight: 500; }

/* =========================================================================
   Sections
   ========================================================================= */
.section { padding: clamp(5rem, 11vw, 9.5rem) 0; }
.section--alt { background: var(--paper-2); }
.section + .section { border-top: 1px solid var(--rule); }

.section-head { max-width: 24ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.wide { max-width: 34ch; }
/* Services + Process: wide headlines, max ~2 lines on desktop */
#services .section-head,
#process .section-head { max-width: 46rem; }

/* Intro: oversized statement */
.statement {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.7vw, 3rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 22ch;
}
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: end;
}

/* Capability tag strip — New Genre sector-list inspiration */
.cap-strip {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  font: 500 0.78rem/1 var(--font-mono);
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: border-color 220ms var(--ease), color 220ms var(--ease);
}
.tag::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 999px;
  background: var(--brand);
  flex: none;
}
.tag:hover { border-color: var(--ink); color: var(--ink); }

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-card {
  background: var(--paper);
  padding: clamp(1.6rem, 2.6vw, 2.4rem);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-height: 280px;
  transition: background 260ms var(--ease);
}
.section--alt .service-card { background: var(--paper-2); }
.service-card:hover { background: #fff; }
.section--alt .service-card:hover { background: var(--paper); }
.service-num {
  font: 500 0.78rem/1 var(--font-mono);
  color: var(--brand);
  letter-spacing: 0.06em;
  margin-bottom: auto;
}
.service-card h3 { margin: 0; }
.service-card p { color: var(--ink-soft); margin: 0; }

/* Process — numbered ledger rows */
.process {
  border-top: 1px solid var(--rule);
}
.process-row {
  display: grid;
  grid-template-columns: 4rem minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: baseline;
  padding: clamp(1.8rem, 3.5vw, 2.8rem) 0;
  border-bottom: 1px solid var(--rule);
}
.process-row .step-no {
  font: 500 0.8rem/1 var(--font-mono);
  color: var(--brand);
}
.process-row h3 { margin: 0; font-size: clamp(1.3rem, 2.2vw, 1.9rem); font-family: var(--font-display); font-weight: 500; letter-spacing: -0.015em; }
.process-row p { margin: 0; color: var(--ink-soft); max-width: 52ch; }

/* Pull quote — honest studio voice */
.quote-section { background: var(--paper-2); }
.pull-quote {
  max-width: 80%;
  margin: 0;
}
.pull-quote .mark {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 0.4;
  color: var(--signal);
  display: block;
  margin-bottom: 1.2rem;
}
.pull-quote blockquote {
  margin: 0 0 2rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: none;
}
.pull-quote figcaption {
  font: 500 0.78rem/1.5 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.pull-quote figcaption b { color: var(--ink); font-weight: 600; }

/* Work — dark ocean-tinted feature */
.work-section {
  background:
    radial-gradient(110% 120% at 88% 0%, #123b3d 0%, #0a2024 45%, #07171a 100%),
    var(--surface-dark);
  color: var(--invert);
  border-top: 1px solid var(--surface-dark);
}
.work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.work-section h2 { color: var(--invert); }
.work-section .eyebrow { color: var(--invert-soft); }
.work-section .eyebrow::before { background-color: var(--brand-bright); }
.work-copy p { color: var(--invert-soft); max-width: 50ch; }
.work-actions { margin-top: 1.6rem; }

.product-panel {
  border: 1px solid var(--rule-invert);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(244, 243, 238, 0.03);
  backdrop-filter: blur(6px);
}
.product-panel .row {
  display: grid;
  gap: 0.5rem;
  padding: 1.4rem 1.5rem;
}
.product-panel .row + .row { border-top: 1px solid var(--rule-invert); }
.product-panel .row span {
  font: 500 0.72rem/1 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-bright);
}
.product-panel .row strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--invert);
}

/* Studio */
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.split-grid .body p { color: var(--ink-soft); }
#studio h2 { font-size: clamp(1.85rem, 3vw, 2.45rem); }
.studio-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem 3.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}
.studio-stats div { display: grid; gap: 0.35rem; }
.studio-stats dt {
  font: 500 0.72rem/1 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.studio-stats dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* Contact */
.contact-section { background: var(--paper-2); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.contact-grid h2 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
.contact-grid p { color: var(--ink-soft); max-width: 44ch; }
.contact-card {
  display: grid;
  gap: 0.6rem;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
  font-style: normal;
}
.contact-label {
  font: 500 0.74rem/1 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.contact-card a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.02rem, 1.8vw, 1.35rem);
  letter-spacing: -0.02em;
  color: var(--brand-deep);
  text-decoration: none;
  overflow-wrap: normal;       /* keep the email on a single line */
  transition: color 200ms var(--ease);
}
.contact-card a:hover { color: var(--brand); }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer {
  background: var(--surface-dark);
  color: var(--invert-soft);
  padding: clamp(3.5rem, 7vw, 6rem) 0 2.5rem;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--rule-invert);
}
.footer-brand { display: grid; gap: 1rem; max-width: 32ch; }
.footer-brand .brand { color: var(--invert); }
.footer-brand .brand-mark { color: var(--brand-bright); }
.footer-brand p { color: var(--invert-muted); font-size: 0.95rem; margin: 0; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 2rem;
  align-content: start;
  font: 500 0.82rem/1 var(--font-mono);
  letter-spacing: 0.04em;
}
.footer-nav a {
  color: var(--invert-soft);
  text-decoration: none;
  transition: color 200ms var(--ease);
}
.footer-nav a:hover { color: var(--invert); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  font: 500 0.74rem/1.5 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--invert-muted);
}

/* =========================================================================
   Inner pages (legal / support) — reuse header/footer + paper theme
   ========================================================================= */
.page-hero {
  padding: clamp(9rem, 16vh, 12rem) 0 clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
}
.page-hero h1 { max-width: 18ch; font-size: clamp(2.6rem, 6vw, 4.6rem); }
.hero-subheadline { max-width: 60ch; color: var(--ink-soft); font-size: 1.15rem; }
.updated {
  display: inline-block;
  margin-top: 0.5rem;
  font: 500 0.76rem/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.legal-section, .support-section { background: var(--paper); }
.legal-copy, .support-list { padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 7rem); }
.legal-copy p, .support-list p { color: var(--ink-body); max-width: 68ch; }
.legal-copy h2, .support-list h2 {
  margin: 2.6rem 0 0.8rem;
  font-size: 1.45rem;
  font-weight: 600;
}
.legal-copy h2:first-child, .support-list h2:first-child { margin-top: 0; }
.legal-copy a, .support-list a {
  color: var(--brand-deep);
  text-underline-offset: 0.22em;
  overflow-wrap: anywhere;
}
.support-card {
  margin-top: 2rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper-2);
}

.request-page {
  min-height: 58vh;
  padding: clamp(8rem, 14vh, 10rem) 0 clamp(4rem, 8vw, 6.5rem);
  background: var(--paper);
}
.request-copy h1 {
  max-width: 17ch;
  margin-bottom: 1.2rem;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
}
.request-intro {
  max-width: 58ch;
  margin-bottom: clamp(2.4rem, 5vw, 3.4rem);
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  line-height: 1.55;
}
.request-section {
  padding: clamp(1.4rem, 3vw, 2rem) 0;
  border-top: 1px solid var(--rule);
}
.request-section:last-child { border-bottom: 1px solid var(--rule); }
.request-section h2 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.28rem, 2.2vw, 1.65rem);
}
.request-section p {
  max-width: 68ch;
  color: var(--ink-body);
}
.request-section p:last-child { margin-bottom: 0; }
.request-section a {
  color: var(--brand-deep);
  text-underline-offset: 0.22em;
  overflow-wrap: anywhere;
}

/* =========================================================================
   Reveal (GSAP-driven). Hidden only when JS + motion allowed.
   ========================================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(16px); }
.js [data-reveal-fade] { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal],
  .js [data-reveal-fade] { opacity: 1; transform: none; }
  .button:hover, .button:hover .arrow { transform: none; }
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 960px) {
  .intro-grid, .work-grid, .split-grid, .contact-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .process-row { grid-template-columns: 3rem 1fr; }
  .process-row p { grid-column: 2; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 32px, 1200px); }
  .site-nav { display: none; }
  .hero { min-height: 90svh; }

  /* smaller type on mobile */
  body { font-size: 0.94rem; }
  .hero h1 { font-size: clamp(2.05rem, 10.5vw, 2.9rem); max-width: 18ch; }
  .hero-sub { font-size: 0.98rem; }
  h2 { font-size: clamp(1.7rem, 8vw, 2.3rem); }
  .statement { font-size: clamp(1.5rem, 7vw, 2rem); }
  .lede { font-size: 1.0rem; }
  .contact-grid h2 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .pull-quote { max-width: 100%; }
  .pull-quote blockquote { font-size: clamp(1.6rem, 8vw, 2.2rem); }
  .process-row h3 { font-size: clamp(1.2rem, 5.5vw, 1.6rem); }

  /* compact buttons, not full-width bars */
  .button { min-height: 38px; padding: 0 1rem; font-size: 0.82rem; }
  .hero-actions { gap: 0.6rem; }
  .brand-logo { height: 55px; }
  .footer-brand .brand-logo { height: 50px; }
  .contact-card { padding: 1.4rem; }
  .footer-top { flex-direction: column; }
}

/* =========================================================================
   Meet the team — text left, portrait cards right
   ========================================================================= */
.team-section {
  border-top: 1px solid var(--rule);
  background:
    radial-gradient(circle at 12% 10%, rgba(242, 177, 107, 0.16), transparent 26rem),
    radial-gradient(circle at 92% 6%, rgba(101, 177, 169, 0.16), transparent 26rem),
    var(--paper-2);
}
/* two-column layout: heading/subheading on the left, cards on the right */
.team-section .container {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.team-heading {
  display: grid;
  gap: 1.2rem;
  align-content: start;
}
.team-heading h2 { margin-bottom: 0; }
.team-heading > p { margin: 0; color: var(--ink-soft); max-width: 42ch; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}
.team-card {
  display: grid;
  align-content: start;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-lift);
  transition:
    border-color 200ms var(--ease),
    transform 200ms var(--ease),
    box-shadow 200ms var(--ease);
}
.team-card:hover,
.team-card:focus-within {
  border-color: var(--brand);
  box-shadow: 0 22px 60px rgba(16, 47, 48, 0.13);
  transform: translateY(-4px);
}
.team-portrait {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--paper-2);
}
.team-portrait::after {
  position: absolute; inset: auto 0 0; z-index: 2;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(16, 31, 42, 0.46));
  content: "";
}
.team-portrait img {
  width: 100%; height: 100%; display: block;
  object-fit: cover;
  transition: transform 420ms var(--ease);
}
.team-card:hover .team-portrait img,
.team-card:focus-within .team-portrait img { transform: scale(1.035); }
/* tuned so both subjects' eyes land on the same horizontal line */
.team-card-featured .team-portrait img { object-position: center 24%; }
.team-card:not(.team-card-featured) .team-portrait img { object-position: center 65%; }

.team-copy { display: grid; gap: 0.5rem; padding: 1.05rem 1.15rem 1.25rem; }
/* wave marker (replaces the 01/02 number + dash) */
.team-number {
  display: block;
  width: 30px;
  height: 11px;
  background-color: var(--brand);
  -webkit-mask: var(--wave-mark) no-repeat left center / contain;
  mask: var(--wave-mark) no-repeat left center / contain;
}
.team-copy h3 { margin: 0; font-size: 1.3rem; letter-spacing: -0.01em; }
.team-copy p { max-width: 38ch; margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

@media (max-width: 960px) {
  .team-section .container { grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 3rem); }
}
@media (max-width: 640px) {
  .team-grid { grid-template-columns: 1fr; gap: 1rem; }
  /* horizontal cards: small image left, copy right */
  .team-card { grid-template-columns: 120px 1fr; box-shadow: none; }
  .team-portrait { aspect-ratio: auto; height: 100%; min-height: 150px; }
  .team-copy { padding: 1rem 1.05rem; gap: 0.35rem; }
  .team-copy h3 { font-size: 1.18rem; }
  .team-copy p { font-size: 0.88rem; max-width: none; }
}
