/* ==========================================================================
   Arc Ventures — arcventures.com
   Brand: Arc Teal #12A6B0 · Ink Navy #0F172A · Paper #F4F7F7 · Slate #64748B
   Type:  Poppins (display) · Inter (body)   — per Brand Guidelines v1.0
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --text-xs:   clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
  --text-sm:   clamp(0.875rem, 0.83rem + 0.2vw, 0.9375rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg:   clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  --text-xl:   clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
  --text-2xl:  clamp(2rem, 1.3rem + 2.4vw, 3.25rem);
  --text-3xl:  clamp(2.5rem, 1.4rem + 3.6vw, 4.5rem);

  --space-1: .25rem;  --space-2: .5rem;   --space-3: .75rem;  --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem;  --space-8: 2rem;    --space-10: 2.5rem;
  --space-12: 3rem;   --space-16: 4rem;   --space-20: 5rem;   --space-24: 6rem;
  --space-32: 8rem;

  --radius-sm: .25rem; --radius-md: .375rem; --radius-lg: .625rem;
  --radius-xl: 1rem;   --radius-full: 9999px;

  --content-narrow: 44rem;
  --content-default: 62rem;
  --content-wide: 78rem;

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(4rem, 9vw, 8.5rem);

  --font-display: 'Poppins', 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --t: 260ms var(--ease);

  /* Fixed brand values (never change with theme) */
  --brand-teal: #12A6B0;
  --brand-teal-dark: #0C8791;
  --brand-ink: #0F172A;
  --brand-paper: #F4F7F7;
}

/* ---------- Light (default) ---------- */
:root,
[data-theme='light'] {
  --bg: #FFFFFF;
  --surface: var(--brand-paper);
  --surface-2: #EAEFEF;
  --border: #D8E0E1;
  --divider: #E6ECEC;

  --text: var(--brand-ink);
  --text-muted: #52627A;
  --text-faint: #8A98AB;
  --text-inverse: #FFFFFF;

  --primary: var(--brand-teal-dark);   /* AA-compliant on light surfaces */
  --primary-bright: var(--brand-teal);
  --primary-hover: #096B74;
  --primary-wash: #E4F2F3;

  --ink-section-bg: var(--brand-ink);
  --ink-section-surface: #172236;
  --ink-section-border: #26334C;
  --ink-section-text: #E8EDF4;
  --ink-section-muted: #9BAABF;

  --shadow-sm: 0 1px 2px rgb(15 23 42 / .05);
  --shadow-md: 0 6px 20px -6px rgb(15 23 42 / .10);
  --shadow-lg: 0 24px 56px -20px rgb(15 23 42 / .22);

  --header-bg: rgb(255 255 255 / .86);
  --scrim: linear-gradient(to top, rgb(15 23 42 / .90) 0%, rgb(15 23 42 / .62) 42%, rgb(15 23 42 / .28) 100%);
}

/* ---------- Dark ---------- */
[data-theme='dark'] {
  --bg: #0B1120;
  --surface: #111B2E;
  --surface-2: #17233A;
  --border: #26334C;
  --divider: #1D2941;

  --text: #E8EDF4;
  --text-muted: #9BAABF;
  --text-faint: #6B7A91;
  --text-inverse: #0B1120;

  --primary: #3FC5CE;
  --primary-bright: #55D6DE;
  --primary-hover: #66DDE4;
  --primary-wash: #12293159;

  --ink-section-bg: #060C17;
  --ink-section-surface: #101A2C;
  --ink-section-border: #223049;
  --ink-section-text: #E8EDF4;
  --ink-section-muted: #9BAABF;

  --shadow-sm: 0 1px 2px rgb(0 0 0 / .4);
  --shadow-md: 0 6px 20px -6px rgb(0 0 0 / .55);
  --shadow-lg: 0 24px 56px -20px rgb(0 0 0 / .7);

  --header-bg: rgb(11 17 32 / .84);
  --scrim: linear-gradient(to top, rgb(3 7 15 / .92) 0%, rgb(3 7 15 / .66) 42%, rgb(3 7 15 / .34) 100%);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #0B1120; --surface: #111B2E; --surface-2: #17233A;
    --border: #26334C; --divider: #1D2941;
    --text: #E8EDF4; --text-muted: #9BAABF; --text-faint: #6B7A91; --text-inverse: #0B1120;
    --primary: #3FC5CE; --primary-bright: #55D6DE; --primary-hover: #66DDE4; --primary-wash: #12293159;
    --ink-section-bg: #060C17; --ink-section-surface: #101A2C; --ink-section-border: #223049;
    --header-bg: rgb(11 17 32 / .84);
  }
}

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

html {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  transition: background-color var(--t), color var(--t);
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

::selection { background: var(--brand-teal); color: #fff; }

.skip-link {
  position: absolute; left: var(--space-4); top: -4rem; z-index: 200;
  background: var(--primary); color: #fff;
  padding: var(--space-3) var(--space-5); border-radius: var(--radius-md);
  font-size: var(--text-sm); font-weight: 600;
  transition: top var(--t);
}
.skip-link:focus { top: var(--space-4); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.022em;
  text-wrap: balance;
  color: var(--text);
}
h1 { font-size: var(--text-2xl); }
h2 { font-size: var(--text-xl); }
h3 { font-size: var(--text-lg); letter-spacing: -0.012em; }
h4 { font-size: var(--text-base); font-weight: 600; letter-spacing: 0; }

p { text-wrap: pretty; }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-xs); font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before {
  content: ''; width: 1.75rem; height: 2px; flex: none;
  background: currentColor; opacity: .55;
}
.eyebrow--plain::before { display: none; }

.lead {
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--text-muted);
  letter-spacing: -0.006em;
}
.prose p { color: var(--text-muted); }
.prose p + p { margin-top: var(--space-5); }
.prose strong { color: var(--text); font-weight: 600; }

/* ---------- Layout ---------- */
.shell { width: 100%; max-width: var(--content-wide); margin-inline: auto; padding-inline: var(--gutter); }
.shell--default { max-width: var(--content-default); }
.shell--narrow { max-width: var(--content-narrow); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.75rem, 6vw, 5rem); }
.section--surface { background: var(--surface); }
.section--edge { border-top: 1px solid var(--divider); }

/* Dark "ink" section — brand navy, always dark regardless of theme */
.section--ink {
  background: var(--ink-section-bg);
  color: var(--ink-section-text);
}
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: var(--ink-section-text); }
.section--ink p, .section--ink li { color: var(--ink-section-muted); }
.section--ink .eyebrow { color: var(--brand-teal); }
.section--ink .lead { color: #C3D0DF; }

.head { max-width: 44rem; }
.head > * + * { margin-top: var(--space-5); }
.head--center { margin-inline: auto; text-align: center; }
.head--center .eyebrow { justify-content: center; }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 62rem) {
  .split { grid-template-columns: 1.05fr 1fr; }
  .split--wide-left { grid-template-columns: 1.3fr 1fr; }
  .split--wide-right { grid-template-columns: 1fr 1.3fr; }
  .split--flip > *:first-child { order: 2; }
}

.stack > * + * { margin-top: var(--space-5); }
.stack-lg > * + * { margin-top: var(--space-8); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: .6rem; }
.logo__mark { width: 1.9rem; height: auto; flex: none; color: var(--primary-bright); }
.logo__word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: .95;
  letter-spacing: -0.03em;
  color: var(--text);
  display: block;
}
.logo__word span { display: block; }
.logo--onDark .logo__word { color: #fff; }
.logo--onDark .logo__mark { color: var(--brand-teal); }
.logo--lg .logo__mark { width: 2.6rem; }
.logo--lg .logo__word { font-size: 1.5rem; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background-color var(--t);
}
.header.is-stuck { border-bottom-color: var(--divider); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-6);
  min-height: 4.5rem;
}
.nav { display: none; }
@media (min-width: 60rem) { .nav { display: flex; align-items: center; gap: clamp(.5rem, 1.6vw, 1.5rem); } }
.nav__link {
  position: relative;
  font-size: var(--text-sm); font-weight: 500;
  color: var(--text-muted);
  padding: .45rem .1rem;
  transition: color var(--t);
  white-space: nowrap;
}
.nav__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -.15rem;
  height: 2px; background: var(--primary);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current='page'] { color: var(--text); font-weight: 600; }
.nav__link[aria-current='page']::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: var(--space-2); }

.icon-btn {
  display: grid; place-items: center;
  width: 2.375rem; height: 2.375rem;
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: transparent; color: var(--text-muted);
  cursor: pointer;
  transition: color var(--t), border-color var(--t), background-color var(--t);
}
.icon-btn:hover { color: var(--text); border-color: var(--text-faint); background: var(--surface); }
.nav-toggle { display: grid; }
@media (min-width: 60rem) { .nav-toggle { display: none; } }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--divider);
  background: var(--bg);
  padding: var(--space-3) 0 var(--space-6);
}
.mobile-nav.is-open { display: block; }
@media (min-width: 60rem) { .mobile-nav, .mobile-nav.is-open { display: none; } }
.mobile-nav a {
  display: block;
  padding: var(--space-3) 0;
  font-size: var(--text-base); font-weight: 500;
  color: var(--text-muted);
  border-bottom: 1px solid var(--divider);
}
.mobile-nav a[aria-current='page'] { color: var(--primary); font-weight: 600; }
.mobile-nav .btn { margin-top: var(--space-5); width: 100%; justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-size: var(--text-sm); font-weight: 600; letter-spacing: -0.005em;
  padding: .72rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--t), color var(--t), border-color var(--t), transform var(--t);
}
.btn svg { width: 1rem; height: 1rem; flex: none; }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--primary); color: #fff; }
[data-theme='dark'] .btn--primary { color: #04121A; }
.btn--primary:hover { background: var(--primary-hover); }

.btn--ghost { border-color: var(--border); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--text-faint); background: var(--surface); }

.btn--onDark { background: var(--brand-teal); color: #04121A; }
.btn--onDark:hover { background: #35BCC5; }
.btn--onDarkGhost { border-color: rgb(255 255 255 / .28); color: #fff; }
.btn--onDarkGhost:hover { border-color: rgb(255 255 255 / .6); background: rgb(255 255 255 / .07); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: var(--text-sm); font-weight: 600;
  color: var(--primary);
}
.link-arrow svg { width: .95rem; height: .95rem; transition: transform var(--t); }
.link-arrow:hover svg { transform: translateX(.25rem); }
.section--ink .link-arrow { color: var(--brand-teal); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ''; position: absolute; inset: 0; background: var(--scrim); }
.hero__inner {
  position: relative;
  padding-block: clamp(6rem, 17vw, 12rem);
  color: #fff;
}
.hero__inner h1, .hero__inner p { color: #fff; }
.hero--home .hero__inner { padding-block: clamp(7rem, 22vw, 15rem) clamp(5rem, 12vw, 9rem); }
.hero__title { font-size: var(--text-3xl); max-width: 22ch; }
.hero__lead {
  max-width: 46ch;
  font-size: var(--text-lg);
  color: rgb(255 255 255 / .86) !important;
  margin-top: var(--space-6);
}
.hero__eyebrow { color: var(--brand-teal) !important; }
.hero__inner .btn-row { margin-top: var(--space-8); }

.hero--page .hero__inner { padding-block: clamp(4.5rem, 12vw, 8rem) clamp(3.5rem, 9vw, 6rem); }
.hero--page .hero__title { font-size: var(--text-2xl); }
.hero--page .hero__lead { font-size: var(--text-lg); margin-top: var(--space-5); }

/* Hero stat strip */
.hero-stats {
  position: relative;
  background: var(--brand-ink);
  border-top: 1px solid rgb(255 255 255 / .09);
}
.hero-stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
}
.hero-stats__item {
  padding: clamp(1.5rem, 3.5vw, 2.5rem) 0;
  padding-right: var(--space-6);
  border-left: 1px solid rgb(255 255 255 / .09);
  padding-left: clamp(1.25rem, 3vw, 2.25rem);
}
.hero-stats__item:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 47.99rem) {
  .hero-stats__item { border-left: 0; border-top: 1px solid rgb(255 255 255 / .09); padding-left: 0; }
  .hero-stats__item:first-child { border-top: 0; }
}
.hero-stats__num {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  line-height: 1; letter-spacing: -0.03em;
  color: var(--brand-teal);
}
.hero-stats__label {
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  line-height: 1.5;
  color: #A9B7C9;
  max-width: 24ch;
}
.hero-stats__label a { color: #C8D3E0; text-decoration: underline; text-decoration-color: rgb(255 255 255 / .28); text-underline-offset: 2px; }
.hero-stats__label a:hover { color: var(--brand-teal); }

/* ---------- Cards ---------- */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.card--onSurface { background: var(--bg); }
.section--surface .card { background: var(--bg); }
.card--hover:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card__num {
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--text-xs); letter-spacing: .1em;
  color: var(--primary);
  display: block; margin-bottom: var(--space-4);
}
.card h3 { margin-bottom: var(--space-3); }
.card p { color: var(--text-muted); font-size: var(--text-sm); line-height: 1.6; }

.section--ink .card {
  background: var(--ink-section-surface);
  border-color: var(--ink-section-border);
}
.section--ink .card--hover:hover { border-color: var(--brand-teal); }
.section--ink .card__num { color: var(--brand-teal); }

.card-icon {
  width: 2.5rem; height: 2.5rem;
  display: grid; place-items: center;
  border-radius: var(--radius-md);
  background: var(--primary-wash);
  color: var(--primary);
  margin-bottom: var(--space-5);
}
.card-icon svg { width: 1.25rem; height: 1.25rem; }
.section--ink .card-icon { background: rgb(18 166 176 / .16); color: var(--brand-teal); }

/* ---------- Figures ---------- */
.figure { margin: 0; }
.figure img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
}
.figure--contain img { object-fit: contain; padding: var(--space-4); background: #fff; }
.figure figcaption {
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  color: var(--text-faint);
  line-height: 1.5;
}
.section--ink .figure img { border-color: var(--ink-section-border); }
.section--ink .figure figcaption { color: #7E8DA3; }

.figure--tall img { aspect-ratio: 4/5; object-fit: cover; }
.figure--wide img { aspect-ratio: 16/9; object-fit: cover; }
.figure--square img { aspect-ratio: 1/1; object-fit: cover; }

.bleed {
  position: relative;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}
.bleed img { width: 100%; aspect-ratio: 21/9; object-fit: cover; border-radius: 0; border: 0; }
@media (max-width: 47.99rem) { .bleed img { aspect-ratio: 4/3; } }

/* ---------- Numbered process ---------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1rem, 3vw, 2.25rem);
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--divider);
}
.step:last-child { border-bottom: 1px solid var(--divider); }
.section--ink .step { border-color: var(--ink-section-border); }
.step__n {
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--text-sm);
  color: var(--primary);
  padding-top: .2rem;
  min-width: 2.25rem;
  font-variant-numeric: tabular-nums;
}
.section--ink .step__n { color: var(--brand-teal); }
.step__body h3 { margin-bottom: var(--space-2); }
.step__body p { color: var(--text-muted); font-size: var(--text-sm); max-width: 60ch; }

/* ---------- Team ---------- */
.person {
  display: flex; flex-direction: column;
  height: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.person:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.person__badge {
  aspect-ratio: 4/3;
  display: grid; place-items: center;
  background: var(--brand-ink);
  position: relative;
  overflow: hidden;
}
.person__badge::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 78% 8%, rgb(18 166 176 / .30) 0%, transparent 62%),
    radial-gradient(90% 70% at 12% 100%, rgb(18 166 176 / .12) 0%, transparent 70%);
}
.person__initials {
  position: relative;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.5rem, 3.4vw, 2.125rem);
  letter-spacing: .02em;
  color: #fff;
}
.person__body { padding: clamp(1.25rem, 2.2vw, 1.75rem); flex: 1; }
.person__name { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.person__role {
  display: inline-block;
  font-size: var(--text-xs); font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-4);
}
.person__body p { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.6; }

/* ---------- Logo wall ---------- */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.logo-wall__cell {
  background: var(--bg);
  min-height: 7.5rem;
  display: grid; place-items: center;
  padding: var(--space-6) var(--space-5);
  text-align: center;
}
.logo-wall__cell img {
  max-height: 2.25rem; width: auto;
  opacity: .78;
  transition: opacity var(--t);
}
[data-theme='dark'] .logo-wall__cell img { filter: invert(1) brightness(1.7) saturate(0); opacity: .7; }
.logo-wall__cell:hover img { opacity: 1; }
.logo-wall__name {
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-muted);
  letter-spacing: -0.01em;
}
.logo-wall__cell:hover .logo-wall__name { color: var(--text); }

/* ---------- Definition list / spec table ---------- */
.specs { border-top: 1px solid var(--divider); }
.specs__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-1);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--divider);
}
@media (min-width: 40rem) {
  .specs__row { grid-template-columns: 12rem 1fr; gap: var(--space-6); align-items: baseline; }
}
.specs__k {
  font-size: var(--text-xs); font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-faint);
}
.specs__v { font-size: var(--text-sm); color: var(--text); }
.section--ink .specs, .section--ink .specs__row { border-color: var(--ink-section-border); }
.section--ink .specs__k { color: #7E8DA3; }
.section--ink .specs__v { color: var(--ink-section-text); }

/* ---------- Pull quote ---------- */
.pullquote {
  border-left: 3px solid var(--primary);
  padding-left: clamp(1.25rem, 3vw, 2rem);
  margin: 0;
}
.pullquote p {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--text);
}
.pullquote footer {
  margin-top: var(--space-4);
  font-size: var(--text-xs); font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-faint);
}
.section--ink .pullquote { border-color: var(--brand-teal); }
.section--ink .pullquote p { color: #fff; }

/* ---------- Tag / status ---------- */
.tag {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: var(--text-xs); font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .3rem .65rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: var(--bg);
}
.tag--live { color: var(--primary); border-color: color-mix(in srgb, var(--primary) 40%, transparent); background: var(--primary-wash); }
.tag__dot { width: .4rem; height: .4rem; border-radius: 50%; background: currentColor; flex: none; }
.section--ink .tag { background: rgb(255 255 255 / .05); border-color: var(--ink-section-border); color: #9BAABF; }
.section--ink .tag--live { color: var(--brand-teal); border-color: rgb(18 166 176 / .45); background: rgb(18 166 176 / .12); }

/* ---------- FAQ accordion ---------- */
.faq { max-width: var(--content-default); margin-inline: auto; border-top: 1px solid var(--divider); }
.faq__item { border-bottom: 1px solid var(--divider); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-6);
  padding: var(--space-6) var(--space-2); background: none; border: 0; text-align: left; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); color: var(--text);
}
.faq__q:hover { color: var(--primary); }
.faq__icon { flex: none; width: 1.5rem; height: 1.5rem; color: var(--primary); transition: transform var(--t); }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__q::-webkit-details-marker { display: none; }
.faq__a { padding: 0 var(--space-2) var(--space-6); max-width: 68ch; }
.faq__a p { color: var(--text-muted); line-height: 1.65; }
.faq__a p + p { margin-top: var(--space-3); }
.section--ink .faq { border-color: var(--ink-section-border); }
.section--ink .faq__item { border-color: var(--ink-section-border); }
.section--ink .faq__q { color: var(--ink-section-text); }
.section--ink .faq__q:hover { color: var(--brand-teal); }
.section--ink .faq__icon { color: var(--brand-teal); }
.section--ink .faq__a p { color: var(--ink-section-muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--brand-ink); color: #fff; position: relative; overflow: hidden; }
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(80% 130% at 88% 6%, rgb(18 166 176 / .22) 0%, transparent 60%);
}
.cta-band__inner { position: relative; display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 56rem) { .cta-band__inner { grid-template-columns: 1.4fr auto; gap: var(--space-16); } }
.cta-band h2 { color: #fff; max-width: 30ch; }
.cta-band p { color: #A9B7C9; margin-top: var(--space-4); max-width: 52ch; }

/* ---------- Form ---------- */
.form { display: grid; gap: var(--space-5); }
.form__row { display: grid; gap: var(--space-5); }
@media (min-width: 40rem) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: var(--space-2); }
.field label { font-size: var(--text-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.field label .req { color: var(--primary); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: .7rem .85rem;
  font-size: var(--text-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--t), box-shadow var(--t);
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .7rem center; background-size: 1.1rem; padding-right: 2.4rem; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field--error input, .field--error textarea, .field--error select { border-color: #C4453A; }
.field__err { font-size: var(--text-xs); color: #C4453A; display: none; }
.field--error .field__err { display: block; }

.form__note { font-size: var(--text-xs); color: var(--text-faint); line-height: 1.55; }
.form__status {
  display: none;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  border: 1px solid var(--border);
  background: var(--surface);
}
.form__status.is-visible { display: block; }
.form__status.is-ok { border-color: color-mix(in srgb, var(--primary) 45%, transparent); background: var(--primary-wash); color: var(--text); }
.form__status.is-err { border-color: #C4453A; background: color-mix(in srgb, #C4453A 8%, transparent); color: var(--text); }
.btn[data-loading='true'] { pointer-events: none; opacity: .65; }
.spinner {
  width: 1rem; height: 1rem; flex: none;
  border: 2px solid currentColor; border-right-color: transparent;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: none;
}
.btn[data-loading='true'] .spinner { display: block; }
.btn[data-loading='true'] .btn__icon { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Contact info blocks ---------- */
.contact-item { display: flex; gap: var(--space-4); }
.contact-item__icon {
  width: 2.25rem; height: 2.25rem; flex: none;
  display: grid; place-items: center;
  border-radius: var(--radius-md);
  background: var(--primary-wash); color: var(--primary);
}
.contact-item__icon svg { width: 1.1rem; height: 1.1rem; }
.contact-item h3 { font-size: var(--text-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); margin-bottom: var(--space-2); }
.contact-item p, .contact-item a { font-size: var(--text-sm); color: var(--text); line-height: 1.6; }
.contact-item a:hover { color: var(--primary); }

.map-embed {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 16/9;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.25); }
[data-theme='dark'] .map-embed iframe { filter: grayscale(.4) invert(.9) hue-rotate(180deg) brightness(.95); }

/* ---------- Footer ---------- */
.footer {
  background: var(--brand-ink);
  color: #A9B7C9;
  padding-block: clamp(3rem, 6vw, 5rem) var(--space-8);
}
.footer__top { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 56rem) { .footer__top { grid-template-columns: 1.5fr 1fr 1fr; } }
.footer h3 {
  font-family: var(--font-body);
  font-size: var(--text-xs); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: #6B7A91;
  margin-bottom: var(--space-5);
}
.footer p { font-size: var(--text-sm); line-height: 1.65; color: #A9B7C9; }
.footer a { color: #C8D3E0; font-size: var(--text-sm); transition: color var(--t); }
.footer a:hover { color: var(--brand-teal); }
.footer__links { display: grid; gap: var(--space-3); }
.footer__brand p { max-width: 34ch; margin-top: var(--space-5); }
.footer__bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: var(--space-6);
  border-top: 1px solid rgb(255 255 255 / .09);
  display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-6);
  align-items: center; justify-content: space-between;
  font-size: var(--text-xs);
  color: #6B7A91;
}

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(1.25rem); }
.reveal-ready [data-reveal] { transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* --- header CTA (added during QA) --- */
.btn--sm { padding: .6rem 1.05rem; font-size: var(--text-sm); }
.header__cta { display: none; }
@media (min-width: 60rem) { .header__cta { display: inline-flex; } }
:target { scroll-margin-top: 6rem; }
.icon-btn svg { width: 1.125rem; height: 1.125rem; }
.nav-toggle svg { width: 1.25rem; height: 1.25rem; }

/* --- team layout refinement (QA) --- */
.grid--pair { grid-template-columns: 1fr; }
@media (min-width: 52rem) { .grid--pair { grid-template-columns: 1fr 1fr; } }

.person { flex-direction: row; align-items: stretch; }
.person__badge {
  aspect-ratio: auto;
  flex: 0 0 clamp(5.5rem, 8vw, 7.5rem);
  border-radius: 0;
}
.person__initials { font-size: clamp(1.35rem, 2.2vw, 1.75rem); letter-spacing: .01em; }
@media (max-width: 30rem) {
  .person { flex-direction: column; }
  .person__badge { flex: 0 0 auto; padding-block: 1.75rem; }
}

/* --- mobile nav CTA contrast (QA) --- */
.mobile-nav .btn--primary,
.mobile-nav .btn--primary:hover { color: #fff; border-bottom: 0; }

/* --- flagship project figure (masterplan rendering) --- */
.figure--flagship { margin-top: 0; }
.figure--flagship img {
  width: 100%; height: auto; display: block;
  aspect-ratio: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.figure--flagship figcaption { max-width: 62ch; }

.figure--flagship-center figcaption { max-width: 62ch; margin-inline: auto; text-align: center; }
