/* ACW Circle — static stylesheet
   Palette tuned to the brand mark (blue→purple gradient).
   Off-white #F6F4EF, navy #0B1A2E, brand blue #2D6BF0, accent purple #6E5CE6,
   brand gradient #5CABF2 → #726DD2. Source Serif 4 + Inter Tight, radius 0. */

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,400;8..60,500;8..60,600&display=swap');

/* ---------- Tokens ---------- */
:root {
  --background: hsl(43, 23%, 95%);          /* #F6F4EF */
  --foreground: hsl(217, 28%, 15%);         /* #1B2330 */
  --muted: hsl(40, 10%, 90%);
  --muted-foreground: hsl(217, 18%, 32%);
  --secondary: hsl(40, 10%, 90%);
  --secondary-fg: hsl(217, 28%, 15%);
  --primary: hsl(220, 87%, 56%);            /* #2D6BF0 — sampled from logo arc */
  --primary-hover: hsl(220, 75%, 48%);      /* #1F58D6 */
  --primary-fg: #ffffff;
  --accent: hsl(248, 73%, 63%);             /* #6E5CE6 — logo purple terminus */
  --accent-hover: hsl(248, 60%, 55%);       /* #5849C9 */
  --border: rgba(27, 35, 48, 0.15);
  --hairline: rgba(27, 35, 48, 0.08);
  --destructive: hsl(0, 75%, 50%);

  --navy: #0B1A2E;
  --navy-fg: #E9ECF1;
  --navy-muted: rgba(233, 236, 241, 0.82);
  --navy-border: rgba(233, 236, 241, 0.15);

  /* Brand gradient — direct lift from the logo's icon arc. */
  --gradient-brand: linear-gradient(120deg, #5CABF2 0%, #726DD2 100%);

  --font-sans: 'Inter Tight', system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;

  --container-max: 1280px;
  --container-pad-sm: 20px;
  --container-pad-md: 24px;
  --container-pad-lg: 36px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--foreground);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--foreground);
}
p { margin: 0; }
input, textarea, select { font: inherit; color: inherit; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad-sm);
}
@media (min-width: 640px) { .container { padding: 0 var(--container-pad-md); } }
@media (min-width: 768px) { .container { padding: 0 var(--container-pad-lg); } }

main { flex: 1 1 auto; width: 100%; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.text-balance { text-wrap: balance; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--hairline);
  background: rgba(246, 244, 239, 0.95);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
}
.site-header__inner {
  height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}
@media (min-width: 640px) { .site-header__inner { height: 88px; } }
@media (min-width: 768px) {
  .site-header__inner { height: 104px; grid-template-columns: 240px 1fr auto; gap: 20px; }
}
@media (min-width: 1024px) {
  .site-header__inner { height: 112px; grid-template-columns: 280px 1fr auto; }
}
.brand-link { display: inline-flex; align-items: center; min-width: 0; white-space: nowrap; line-height: 0; }
.brand-link img {
  display: block;
  width: clamp(180px, 24vw, 320px);
  height: auto;
  max-width: 100%;
  object-fit: contain;
  flex: none;
}
@media (min-width: 1024px) {
  .brand-link img { width: clamp(260px, 22vw, 360px); }
}
.brand-link span {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.012em;
}
@media (min-width: 768px) { .brand-link span { font-size: 23px; } }

.primary-nav { display: none; justify-self: center; }
@media (min-width: 768px) { .primary-nav { display: flex; align-items: center; } }
.primary-nav ul { display: flex; align-items: center; gap: 34px; list-style: none; }
.primary-nav a {
  font-size: 14px; font-weight: 500; letter-spacing: 0.005em;
  color: var(--muted-foreground); transition: color .15s;
}
.primary-nav a:hover, .primary-nav a.is-active { color: var(--foreground); }

.nav-cta { display: none; justify-self: end; }
@media (min-width: 768px) { .nav-cta { display: flex; } }

.menu-trigger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; justify-self: end;
  color: var(--foreground);
}
@media (min-width: 768px) { .menu-trigger { display: none; } }

.mobile-menu {
  position: fixed; inset: 0;
  background: rgba(11, 26, 46, 0.5);
  z-index: 100;
  display: none;
}
.mobile-menu.is-open { display: block; }
.mobile-menu__panel {
  position: absolute; top: 0; right: 0;
  width: min(360px, 88vw); height: 100%;
  background: var(--background);
  border-left: 1px solid var(--border);
  padding: 64px 28px 28px;
  display: flex; flex-direction: column; gap: 24px;
  overflow-y: auto;
}
.mobile-menu__close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 24px; line-height: 1;
}
.mobile-menu__list { display: flex; flex-direction: column; gap: 16px; list-style: none; }
.mobile-menu__list a {
  display: block;
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--foreground);
  transition: color .15s;
}
.mobile-menu__list a:hover { color: var(--primary); }
.mobile-menu__rule { height: 1px; background: var(--border); width: 100%; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 32px;
  font-family: var(--font-sans);
  font-size: 16px; font-weight: 500;
  border: 1px solid transparent;
  border-radius: 0;
  transition: background-color .15s, color .15s, border-color .15s;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: -0.005em;
}
.btn--dark { background: var(--foreground); color: var(--background); }
.btn--dark:hover { background: rgba(27,35,48,0.9); }
.btn--primary { background: var(--primary); color: var(--primary-fg); }
.btn--primary:hover { background: var(--primary-hover); }
.btn--cobalt { background: var(--primary); color: var(--primary-fg); height: 48px; padding: 0 22px; font-size: 14px; }
.btn--cobalt:hover { background: var(--primary-hover); }
.btn--outline { background: transparent; color: var(--foreground); border-color: var(--border); }
.btn--outline:hover { border-color: var(--foreground); }
.btn--block { width: 100%; }

.text-link {
  font-weight: 500; color: var(--foreground); transition: color .15s;
  display: inline-flex; align-items: center; gap: 8px;
}
.text-link:hover { color: var(--primary); }
.text-link .arrow { transition: transform .2s; }
.text-link:hover .arrow { transform: translateX(4px); }
.muted-link { color: var(--muted-foreground); transition: color .15s; }
.muted-link:hover { color: var(--primary); }

/* ---------- Hero (homepage) ---------- */
.hero {
  padding: 88px 0 72px;
  border-bottom: 1px solid var(--hairline);
}
.hero__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(44px, 6.4vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 960px;
  text-wrap: balance;
}
@media (min-width: 768px) { .hero__title { line-height: 0.97; } }
.hero__title .accent { color: var(--primary); white-space: nowrap; }
.hero__lede {
  margin-top: 28px;
  max-width: 68ch;
  font-size: clamp(17px, 1.4vw, 18px);
  line-height: 1.6;
  color: var(--muted-foreground);
}
.hero__actions {
  margin-top: 36px;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 24px;
}
@media (min-width: 640px) { .hero__actions { flex-direction: row; align-items: center; } }

/* ---------- Page hero ---------- */
.page-hero {
  padding: 88px 0 72px;
  border-bottom: 1px solid var(--hairline);
}
.page-hero--compact { padding: 56px 0; }
@media (min-width: 640px) { .page-hero--compact { padding: 64px 0; } }
@media (min-width: 768px) { .page-hero--compact { padding: 80px 0; } }
.page-hero__inner { max-width: 980px; display: flex; flex-direction: column; }
.eyebrow {
  margin-bottom: 20px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted-foreground);
}
.page-hero__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
@media (min-width: 768px) { .page-hero__title { line-height: 0.98; } }
.page-hero__sub {
  margin-top: 28px;
  max-width: 760px;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--muted-foreground);
  display: flex; flex-direction: column; gap: 16px;
}
.page-hero__actions {
  margin-top: 36px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
}
@media (min-width: 640px) {
  .page-hero__actions { flex-direction: row; align-items: center; }
}

/* ---------- Trust strip ---------- */
.trust-strip {
  border-bottom: 1px solid var(--hairline);
  background: var(--background);
}
.trust-strip__grid {
  padding: 24px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
}
@media (min-width: 768px) {
  .trust-strip__grid { grid-template-columns: repeat(4, 1fr); padding: 28px 0; }
}
.trust-strip__item {
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted-foreground); text-align: center;
}
@media (min-width: 768px) { .trust-strip__item { font-size: 12px; } }

/* ---------- Sections / common spacing ---------- */
.section { padding: 56px 0; background: var(--background); }
@media (min-width: 640px) { .section { padding: 80px 0; } }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.section--alt { background: rgba(40, 30, 20, 0.04); }
.section--rule { border-top: 1px solid var(--hairline); }

.section-intro { max-width: 760px; margin-bottom: 48px; }
@media (min-width: 768px) { .section-intro { margin-bottom: 64px; } }
.section-intro__title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(28px, 3.4vw, 36px);
  line-height: 1.15; letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-intro__desc {
  font-size: clamp(18px, 1.5vw, 20px);
  line-height: 1.55; color: var(--muted-foreground);
}
.section-intro__eyebrow { margin-bottom: 16px; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 32px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
.grid--lg { gap: 40px; }
@media (min-width: 768px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.grid--auto-rows { grid-auto-rows: 1fr; }

.split { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 1024px) {
  .split { grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
  .split--right { grid-template-columns: 7fr 5fr; }
}

/* ---------- Cards ---------- */
.card {
  border: 1px solid var(--border);
  background: rgba(246, 244, 239, 0.6);
  padding: 24px;
  height: 100%;
  display: flex; flex-direction: column; gap: 16px;
}
@media (min-width: 768px) { .card { padding: 32px; } }
.card__title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: 24px; line-height: 1.2; letter-spacing: -0.012em;
}
.card__desc { font-size: 16px; line-height: 1.6; color: var(--muted-foreground); }
.card ul { list-style: disc; padding-left: 20px; display: flex; flex-direction: column; gap: 12px; }
.card ul li { font-size: 16px; line-height: 1.6; color: var(--muted-foreground); }
.card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border: 1px solid var(--border); background: rgba(40,30,20,0.05); }
.card .status {
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted-foreground);
}

/* ---------- Capabilities row (homepage style — top-rule cards) ---------- */
.rule-cards {
  display: grid; gap: 32px 32px;
  grid-template-columns: 1fr;
  grid-auto-rows: 1fr;
}
@media (min-width: 768px) { .rule-cards { grid-template-columns: repeat(2, 1fr); gap: 48px 32px; } }
@media (min-width: 1024px) { .rule-cards { grid-template-columns: repeat(3, 1fr); } }
.rule-card { border-top: 1px solid var(--hairline); padding-top: 24px; display: flex; flex-direction: column; height: 100%; }
.rule-card h3 { font-family: var(--font-sans); font-weight: 600; font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; margin-bottom: 12px; transition: color .15s; }
.rule-card:hover h3 { color: var(--primary); }
.rule-card p { font-size: 16px; line-height: 1.55; color: var(--muted-foreground); }

/* Industry "tick" cards */
.tick-cards { display: grid; gap: 32px 32px; grid-template-columns: 1fr; grid-auto-rows: 1fr; }
@media (min-width: 768px) { .tick-cards { grid-template-columns: repeat(2, 1fr); gap: 48px 32px; } }
@media (min-width: 1024px) { .tick-cards { grid-template-columns: repeat(3, 1fr); } }
.tick-card { display: flex; flex-direction: column; gap: 12px; height: 100%; }
.tick-card .rule { width: 32px; height: 1px; background: var(--foreground); margin-bottom: 16px; }
.tick-card h3 { font-family: var(--font-sans); font-weight: 600; font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; }
.tick-card p { font-size: 16px; line-height: 1.55; color: var(--muted-foreground); }

/* About / Principles */
.about-grid { display: grid; gap: 64px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: repeat(2, 1fr); gap: 96px; } }
.about-grid h2 { font-size: clamp(28px, 3.4vw, 36px); margin-bottom: 24px; line-height: 1.15; letter-spacing: -0.02em; }
.about-grid > div > p { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.7; color: var(--muted-foreground); max-width: 760px; }
.principles-list { display: flex; flex-direction: column; gap: 40px; }
.principles-list h3 { font-family: var(--font-sans); font-weight: 600; font-size: 18px; line-height: 1.3; margin-bottom: 8px; letter-spacing: -0.01em; }
.principles-list p { font-size: 16px; line-height: 1.55; color: var(--muted-foreground); max-width: 760px; }

/* Ventures (homepage list style) */
.ventures-list { display: flex; flex-direction: column; gap: 48px; }
.venture-row { display: grid; grid-template-columns: 1fr; gap: 24px; padding-top: 32px; border-top: 1px solid var(--hairline); }
@media (min-width: 1024px) { .venture-row { grid-template-columns: 4fr 8fr; gap: 48px; } }
.venture-row__head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.venture-row__head h3 { font-family: var(--font-serif); font-weight: 500; font-size: 24px; line-height: 1.2; letter-spacing: -0.012em; }
.venture-row__status {
  display: inline-block; padding: 4px 12px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted-foreground); border: 1px solid var(--border);
}
.venture-row__body { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
@media (min-width: 640px) { .venture-row__body { flex-direction: row; justify-content: space-between; } }
.venture-row__body p { font-size: 18px; line-height: 1.55; color: var(--muted-foreground); max-width: 760px; }

/* Strategic partnerships (homepage row) */
.workrow { display: grid; grid-template-columns: 1fr; gap: 32px; margin-bottom: 40px; }
@media (min-width: 640px) { .workrow { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .workrow { grid-template-columns: repeat(4, 1fr); } }
.workrow > div { border-top: 1px solid var(--hairline); padding-top: 16px; }
.workrow h3 { font-family: var(--font-sans); font-weight: 600; font-size: 18px; line-height: 1.3; }

/* Delivery model */
.delivery-grid { display: grid; gap: 32px; grid-template-columns: 1fr; grid-auto-rows: 1fr; }
@media (min-width: 768px) { .delivery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .delivery-grid { grid-template-columns: repeat(4, 1fr); } }
.delivery-step { display: flex; flex-direction: column; gap: 16px; padding-left: 24px; border-left: 1px solid var(--hairline); height: 100%; }
.delivery-step .num { font-size: 14px; font-weight: 500; color: var(--muted-foreground); }
.delivery-step h3 { font-family: var(--font-sans); font-weight: 600; font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; }
.delivery-step p { font-size: 16px; line-height: 1.55; color: var(--muted-foreground); }

/* Legal / compliance grid */
.legal-grid { display: grid; gap: 32px 32px; grid-template-columns: 1fr; grid-auto-rows: 1fr; }
@media (min-width: 768px) { .legal-grid { grid-template-columns: repeat(2, 1fr); gap: 48px 32px; } }
@media (min-width: 1024px) { .legal-grid { grid-template-columns: repeat(4, 1fr); } }
.legal-grid > div { display: flex; flex-direction: column; gap: 12px; height: 100%; }
.legal-grid h3 { font-family: var(--font-sans); font-weight: 600; font-size: 16px; line-height: 1.3; }
.legal-grid p { font-size: 14px; line-height: 1.55; color: var(--muted-foreground); }

/* Contact CTA (dark) */
.contact-cta { padding: 96px 0; background: var(--navy); color: var(--navy-fg); border-top: 1px solid var(--border); }
@media (min-width: 768px) { .contact-cta { padding: 128px 0; } }
.contact-cta__inner { max-width: 760px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.contact-cta__title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; letter-spacing: -0.025em; margin-bottom: 24px; color: var(--navy-fg); }
.contact-cta__desc { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.55; color: var(--navy-muted); margin-bottom: 48px; }
.contact-cta__actions { display: flex; flex-direction: column; align-items: center; gap: 24px; }
@media (min-width: 640px) { .contact-cta__actions { flex-direction: row; gap: 32px; } }
.contact-cta__divider { display: none; width: 1px; height: 32px; background: var(--navy-border); }
@media (min-width: 640px) { .contact-cta__divider { display: block; } }
.contact-cta__email { font-size: 18px; font-weight: 500; color: var(--navy-fg); text-decoration: underline; text-decoration-color: var(--navy-border); text-underline-offset: 4px; transition: color .15s, text-decoration-color .15s; }
.contact-cta__email:hover { color: var(--primary); text-decoration-color: var(--primary); }

/* Team */
.team-grid { display: grid; grid-template-columns: 1fr; gap: 32px; grid-auto-rows: 1fr; }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
.team-card { border: 1px solid var(--border); background: rgba(246,244,239,0.6); padding: 24px; height: 100%; display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 768px) { .team-card { padding: 32px; } }
.team-card__head { display: flex; align-items: flex-start; gap: 20px; }
.team-card__head img { width: 80px; height: 80px; flex: none; object-fit: cover; border: 1px solid var(--border); background: rgba(40,30,20,0.06); }
.team-card__head h2 { font-family: var(--font-serif); font-weight: 500; font-size: 24px; line-height: 1.2; letter-spacing: -0.012em; }
.team-card__role { margin-top: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-foreground); }
.team-card__bio { display: flex; flex-direction: column; gap: 16px; }
.team-card__bio p { font-size: 16px; line-height: 1.7; color: var(--muted-foreground); }

/* Testimonial figure */
.figure-quote { border: 1px solid var(--border); background: rgba(246,244,239,0.6); padding: 24px; }
@media (min-width: 768px) { .figure-quote { padding: 32px; } }
.figure-quote blockquote { margin: 0; font-family: var(--font-serif); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; color: var(--foreground); }
.figure-quote figcaption { margin-top: 20px; font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-foreground); }

/* Rich text legal sections */
.rich-stack { display: flex; flex-direction: column; gap: 48px; }
.rich-section { border-top: 1px solid var(--hairline); padding-top: 24px; }
.rich-section h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(24px, 3vw, 30px); line-height: 1.2; letter-spacing: -0.018em; margin-bottom: 20px; }
.rich-section .stack { display: flex; flex-direction: column; gap: 16px; max-width: 920px; }
.rich-section p { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.7; color: var(--muted-foreground); }

/* Sitemap */
.sitemap-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 768px) { .sitemap-grid { grid-template-columns: repeat(2, 1fr); } }
.sitemap-grid h2 { font-family: var(--font-serif); font-size: clamp(24px, 3vw, 30px); margin-bottom: 24px; line-height: 1.2; letter-spacing: -0.018em; }
.sitemap-grid ul { list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 18px; color: var(--muted-foreground); }
.sitemap-grid a { transition: color .15s; }
.sitemap-grid a:hover { color: var(--primary); }

/* 404 */
.notfound { padding: 128px 24px; display: flex; align-items: center; justify-content: center; }
.notfound__inner { max-width: 640px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.notfound__title { font-size: clamp(36px, 5vw, 48px); margin-bottom: 16px; line-height: 1.1; letter-spacing: -0.025em; }
.notfound__desc { font-size: 20px; color: var(--muted-foreground); margin-bottom: 40px; max-width: 480px; }
.notfound__actions { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 640px) { .notfound__actions { flex-direction: row; } }

/* ---------- Forms (contact) ---------- */
.contact-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; } }
.contact-aside { display: flex; flex-direction: column; gap: 24px; }

.form-card {
  background: rgba(246, 244, 239, 0.6);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 24px;
  display: flex; flex-direction: column; gap: 20px;
}
@media (min-width: 640px) { .form-card { padding: 32px; } }
.form-card__title { font-family: var(--font-serif); font-weight: 500; font-size: 28px; line-height: 1.15; letter-spacing: -0.018em; }
.form-card__hint { font-size: 14px; color: var(--muted-foreground); margin-top: -8px; }
.form-row { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-row { grid-template-columns: repeat(2, 1fr); } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--foreground); }
.field input, .field select, .field textarea {
  height: 44px; padding: 0 12px;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 15px; color: var(--foreground);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { height: auto; padding: 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}
.field .helper { font-size: 12px; color: var(--muted-foreground); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { font-size: 14px; color: var(--destructive); border: 1px solid rgba(190, 30, 30, 0.3); background: rgba(190, 30, 30, 0.05); padding: 12px 16px; border-radius: 4px; }
.form-actions { display: flex; align-items: center; gap: 16px; padding-top: 8px; flex-wrap: wrap; }
.form-actions__note { font-size: 12px; color: var(--muted-foreground); }
.form-actions__note .em { color: var(--foreground); }
.btn--submit { background: var(--primary); color: var(--primary-fg); height: 48px; padding: 0 28px; font-size: 15px; border-radius: 3px; }
.btn--submit:hover { background: var(--primary-hover); }
.btn--submit:disabled { opacity: 0.6; cursor: not-allowed; }

.text-link--mail { color: var(--foreground); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 3px; transition: color .15s, text-decoration-color .15s; }
.text-link--mail:hover { color: var(--primary); text-decoration-color: var(--primary); }

/* ---------- Footer (dark navy) ---------- */
.site-footer { background: var(--navy); color: var(--navy-fg); border-top: 1px solid rgba(233,236,241,0.05); padding: 64px 0 32px; }
.site-footer h4 { font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy-fg); }
.site-footer__top { display: grid; grid-template-columns: 1fr; gap: 48px; margin-bottom: 64px; }
@media (min-width: 768px) { .site-footer__top { grid-template-columns: 4fr 8fr; gap: 40px; } }
.site-footer__brand { display: flex; flex-direction: column; gap: 24px; }
.site-footer__brand .brand-link img {
  width: clamp(154px, 19.6vw, 294px);
  height: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
.site-footer__brand .brand-link span { font-size: 20px; color: var(--navy-fg); letter-spacing: 0.04em; }
.site-footer__intro { display: flex; flex-direction: column; gap: 12px; max-width: 360px; font-size: 14px; line-height: 1.7; color: var(--navy-muted); }
.site-footer__intro a { color: var(--navy-muted); transition: color .15s; }
.site-footer__intro a:hover { color: var(--navy-fg); }
.site-footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
@media (min-width: 640px) { .site-footer__cols { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.footer-col { display: flex; flex-direction: column; gap: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--navy-muted); }
.footer-col a { color: var(--navy-muted); transition: color .15s; }
.footer-col a:hover { color: var(--primary); }
.site-footer__bottom { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(233,236,241,0.1); font-size: 12px; color: var(--navy-muted); }

/* ---------- Misc ---------- */
.aspect-4-3 img { aspect-ratio: 4/3; object-fit: cover; }
.flex-col-gap-8 { display: flex; flex-direction: column; gap: 32px; }
@media (min-width: 1024px) { .flex-col-gap-10 { display: flex; flex-direction: column; gap: 40px; } }
.mt-8 { margin-top: 32px; }

/* Venture portfolio cards */
.venture-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .venture-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
.venture-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.venture-card:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -16px rgba(20,30,60,0.18); border-color: var(--primary); }
.venture-card__plate {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 240px;
  padding: 36px 40px;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 1024px) { .venture-card__plate { height: 260px; padding: 40px 48px; } }
.venture-card__plate img { width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; object-position: center; display: block; }
.venture-card__plate--mint   { background: linear-gradient(135deg, #e8f5ee 0%, #f4faf6 100%); }
.venture-card__plate--sky    { background: linear-gradient(135deg, #e6efff 0%, #f3f7ff 100%); }
.venture-card__plate--leaf   { background: linear-gradient(135deg, #e7f1ec 0%, #f1f7f3 100%); }
.venture-card__plate--ember  { background: linear-gradient(135deg, #fdeee4 0%, #fbf6f1 100%); }
.venture-card__body { display: flex; flex-direction: column; gap: 12px; padding: 28px; flex: 1; }
.venture-card__status {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(45,107,240,0.08);
  color: var(--primary);
}
/* Status pill colors meet WCAG AA on tinted backgrounds */
.venture-card__status--live  { background: rgba(34,153,84,0.12);  color: #155f33; }
.venture-card__status--build { background: rgba(45,107,240,0.12); color: #1c4cb8; }
.venture-card__status--page  { background: rgba(110,92,230,0.12); color: #4338a8; }
.venture-card__status--group { background: rgba(214,98,40,0.12);  color: #934117; }
.venture-card__title { font-family: var(--font-serif); font-weight: 500; font-size: 24px; line-height: 1.2; letter-spacing: -0.012em; margin-top: 4px; }
.venture-card__desc { font-size: 16px; line-height: 1.6; color: var(--muted-foreground); flex: 1; }
.venture-card__cta { font-size: 14px; font-weight: 600; color: var(--primary); margin-top: 8px; }
.venture-card:hover .venture-card__cta { text-decoration: underline; }

/* Venture detail page hero */
.venture-hero { padding: 64px 0; border-bottom: 1px solid var(--hairline); }
@media (min-width: 768px) { .venture-hero { padding: 88px 0; } }
@media (min-width: 1024px) { .venture-hero { padding: 112px 0; } }
.venture-hero--mint   { background: linear-gradient(135deg, #e8f5ee 0%, #f4faf6 60%, var(--background) 100%); }
.venture-hero--sky    { background: linear-gradient(135deg, #e6efff 0%, #f3f7ff 60%, var(--background) 100%); }
.venture-hero--leaf   { background: linear-gradient(135deg, #e7f1ec 0%, #f1f7f3 60%, var(--background) 100%); }
.venture-hero--ember  { background: linear-gradient(135deg, #fdeee4 0%, #fbf6f1 60%, var(--background) 100%); }
.venture-hero__inner { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .venture-hero__inner { grid-template-columns: 7fr 5fr; gap: 64px; } }
.venture-hero__content { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.venture-hero__title { font-family: var(--font-serif); font-weight: 500; font-size: 44px; line-height: 1.05; letter-spacing: -0.018em; color: var(--foreground); }
@media (min-width: 768px)  { .venture-hero__title { font-size: 56px; } }
@media (min-width: 1024px) { .venture-hero__title { font-size: 64px; } }
.venture-hero__lede { font-size: 20px; line-height: 1.45; color: var(--foreground); max-width: 640px; }
@media (min-width: 1024px) { .venture-hero__lede { font-size: 22px; } }
.venture-hero__desc { font-size: 16px; line-height: 1.7; color: var(--muted-foreground); max-width: 640px; }
.venture-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 8px; }
.venture-hero__media {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--border);
  padding: 40px;
  min-height: 260px;
  box-shadow: 0 24px 48px -32px rgba(20,30,60,0.18);
}
@media (min-width: 1024px) { .venture-hero__media { min-height: 320px; padding: 56px; } }
.venture-hero__logo { max-width: 100%; max-height: 240px; width: auto; height: auto; object-fit: contain; }

/* Venture facts grid — 3-up cards with numbered steps */
.section-intro--center { max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; }
.section-intro--center .section-intro__desc { margin-left: auto; margin-right: auto; }
.facts-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 48px; }
@media (min-width: 768px)  { .facts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .facts-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 64px; } }
.fact-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-top: 3px solid var(--primary);
}
.fact-card:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -20px rgba(20,30,60,0.18); }
.fact-card--blue   { border-top-color: var(--primary); }
.fact-card--purple { border-top-color: var(--accent); }
.fact-card--amber  { border-top-color: #d66228; }
.fact-card__step {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--foreground);
  opacity: 1;
}
.fact-card__title { font-family: var(--font-serif); font-weight: 500; font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; color: var(--foreground); }
.fact-card__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.fact-card__list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted-foreground);
}
.fact-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.5;
}

/* Footer social row */
.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 28px 0 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 8px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.10);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.social-link:hover,
.social-link:focus-visible {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* === Team v2 (editorial directory) === */
.team-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 8px; }
@media (min-width: 768px) { .team-stats { grid-template-columns: repeat(4, 1fr); } }
.team-stat { background: var(--background); padding: 24px 20px; }
.team-stat__num { font-family: var(--font-serif); font-size: 36px; line-height: 1; letter-spacing: -0.02em; color: var(--foreground); }
.team-stat__label { margin-top: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-foreground); }

.team-section { padding: 56px 0; border-top: 1px solid var(--border); }
.team-section:first-of-type { border-top: 0; }
.team-section__head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 32px; }
.team-section__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--primary); }
.team-section__title { font-family: var(--font-serif); font-weight: 500; font-size: 28px; line-height: 1.15; letter-spacing: -0.012em; color: var(--foreground); }
@media (min-width: 768px) { .team-section__title { font-size: 32px; } }

.lead-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 768px) { .lead-grid { grid-template-columns: repeat(3, 1fr); } }
.lead-card { background: rgba(246,244,239,0.6); border: 1px solid var(--border); display: flex; flex-direction: column; }
.lead-card__media { aspect-ratio: 1 / 1; overflow: hidden; background: #ffffff; border-radius: 50%; border: 1px solid var(--border); position: relative; margin: 24px auto 0; width: calc(100% - 48px); max-width: 320px; }
.lead-card__media img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; border-radius: 50%; }
.lead-card__body { padding: 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.lead-card__name { font-family: var(--font-serif); font-weight: 500; font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; color: var(--foreground); }
.lead-card__role { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--primary); }
.lead-card__bio { font-size: 15px; line-height: 1.65; color: var(--muted-foreground); }

.member-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 600px) { .member-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .member-grid { grid-template-columns: repeat(3, 1fr); } }
.member-card { background: var(--background); border: 1px solid var(--border); padding: 24px; display: flex; flex-direction: column; gap: 16px; transition: box-shadow 0.2s ease, transform 0.2s ease; }
.member-card:hover { box-shadow: 0 12px 28px -16px rgba(20,20,40,0.18); transform: translateY(-2px); }
.member-card__head { display: flex; align-items: center; gap: 16px; }
.member-portrait { width: 72px; height: 72px; flex: none; border-radius: 50%; overflow: hidden; background: #ffffff; border: 1px solid var(--border); }
.member-portrait img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; border-radius: 50%; }
.member-portrait--initials { display: grid; place-items: center; color: #fff; font-family: var(--font-serif); font-weight: 500; font-size: 24px; letter-spacing: 0.02em; border: 0; }
.member-portrait--initials.tone-blue   { background: linear-gradient(135deg, #2D6BF0, #6E5CE6); }
.member-portrait--initials.tone-purple { background: linear-gradient(135deg, #6E5CE6, #B45BCF); }
.member-portrait--initials.tone-teal   { background: linear-gradient(135deg, #2BB5A6, #2D6BF0); }
.member-portrait--initials.tone-amber  { background: linear-gradient(135deg, #E08A2B, #C4541A); }
.member-portrait--initials.tone-leaf   { background: linear-gradient(135deg, #4FA76B, #2BB5A6); }
.member-card__name { font-family: var(--font-serif); font-weight: 500; font-size: 18px; line-height: 1.25; letter-spacing: -0.01em; color: var(--foreground); }
.member-card__role { margin-top: 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-foreground); }
.member-card__bio { font-size: 14.5px; line-height: 1.65; color: var(--muted-foreground); }
.member-card__bio p { margin: 0 0 10px; }
.member-card__bio p:last-child { margin-bottom: 0; }
.member-card details { font-size: 14.5px; line-height: 1.65; color: var(--muted-foreground); }
.member-card details summary { cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #1646A8; list-style: none; padding-top: 4px; }
.member-card details summary::-webkit-details-marker { display: none; }
.member-card details summary:hover,
.member-card details summary:focus-visible { color: #0D2E70; text-decoration: underline; }
.member-card details[open] summary { color: var(--foreground); }
.member-card details summary::after { content: " →"; }
.member-card details[open] summary::after { content: " ↑"; }
.member-card details > p { margin-top: 10px; }

.section--tight { padding: 32px 0; }
.cta-band { background: linear-gradient(135deg, #0a1633 0%, #1a2a52 100%); color: #fff; padding: 36px 32px; }
@media (min-width: 768px) { .cta-band { padding: 48px 56px; } }
.cta-band__inner { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
@media (min-width: 768px) { .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; } }
.cta-band__title { font-family: var(--font-serif); font-weight: 500; font-size: 26px; line-height: 1.2; letter-spacing: -0.012em; color: #fff; }
@media (min-width: 768px) { .cta-band__title { font-size: 30px; } }
.cta-band__sub { margin-top: 10px; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.78); max-width: 640px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
.cta-band .btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.cta-band .btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.7); }

/* ============================================================
   Mobile responsiveness — fixes & polish
   ============================================================ */

/* Safety net: prevent any accidental horizontal scroll on mobile.
   No production page is allowed to overflow horizontally. */
html, body { overflow-x: hidden; }
body { max-width: 100%; }

/* Long words/URLs/titles must not push the layout wider than the viewport. */
h1, h2, h3, h4, p, a, li {
  overflow-wrap: break-word;
  word-wrap: break-word;
}
h1, h2, h3, h4 { hyphens: manual; }

/* ---------- Mobile menu — robust full-height drawer ---------- */
/* Use dynamic viewport units so the drawer fills the screen even with
   the iOS Safari URL bar visible/hidden. Fall back to vh on older browsers. */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 1000;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  height: 100vh;
  height: 100dvh;
  width: min(360px, 88vw);
  max-width: 100%;
  z-index: 1001;
}
.mobile-menu__close {
  z-index: 2;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--foreground);
}
.mobile-menu__list a { padding: 6px 0; }

/* When menu is open, lock body scroll robustly. JS already sets overflow:hidden,
   this handles iOS rubber-band edge cases. */
body:has(.mobile-menu.is-open) { overflow: hidden; touch-action: none; }

/* ---------- Container — slightly tighter padding on the smallest phones ---------- */
@media (max-width: 360px) {
  :root { --container-pad: 16px; }
}

/* ---------- Trust strip — comfortable spacing on small screens ---------- */
@media (max-width: 480px) {
  .trust-strip__grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px 12px;
    padding: 18px 0;
  }
  .trust-strip__item {
    font-size: 10px;
    text-align: center;
    line-height: 1.35;
  }
}

/* ---------- Card titles inside rule/tick/legal grids — avoid ugly hyphenation ---------- */
@media (max-width: 480px) {
  .card__title,
  .rule-card__title,
  .tick-card__title {
    font-size: 18px;
    line-height: 1.3;
  }
  .card { padding: 22px 20px; }
}

/* ---------- Hero / page hero typography polish on small screens ---------- */
@media (max-width: 420px) {
  .hero__title { font-size: clamp(34px, 9vw, 44px); line-height: 1.05; }
  .page-hero__title { font-size: clamp(30px, 8vw, 40px); line-height: 1.1; }
  .hero__lead, .page-hero__lead { font-size: 15px; line-height: 1.6; }
}

/* ---------- Action buttons — wrap rather than overflow on narrow screens ---------- */
.hero__actions,
.page-hero__actions,
.contact-cta__actions {
  flex-wrap: wrap;
}
.btn { max-width: 100%; }

/* On very narrow phones, primary CTAs go full-width for easier tapping. */
@media (max-width: 380px) {
  .hero__actions .btn,
  .page-hero__actions .btn { width: 100%; }
}

/* ---------- Venture detail header buttons row ---------- */
.venture-hero__actions { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }

/* ---------- Team — leadership & member cards on mobile ---------- */
@media (max-width: 640px) {
  .lead-grid { grid-template-columns: 1fr; gap: 24px; }
  .lead-card__media { aspect-ratio: 1 / 1; max-width: 260px; }
  .member-grid { grid-template-columns: 1fr; gap: 20px; }
  .member-card { padding: 20px; }
  .member-card__head { gap: 14px; }
  .member-portrait { width: 64px; height: 64px; }
  .member-card__name { font-size: 16px; line-height: 1.3; }
  .member-card__role { font-size: 11px; }
}

/* ---------- Footer — keep brand columns from getting cramped ---------- */
@media (max-width: 480px) {
  .site-footer { padding: 48px 0 28px; }
  .site-footer__top { gap: 36px; margin-bottom: 40px; }
  .site-footer__cols { gap: 28px; }
}

/* ---------- Global safety — never cause horizontal scroll ---------- */
html, body { overflow-x: hidden; }
img, svg, video, iframe { max-width: 100%; height: auto; }
pre, code { white-space: pre-wrap; word-break: break-word; }
table { display: block; max-width: 100%; overflow-x: auto; }
.container, .site-footer__cols, .lead-grid, .member-grid, .venture-grid, .rule-cards, .tick-cards, .legal-grid, .delivery-grid, .workrow, .facts-grid { min-width: 0; }
* { word-wrap: break-word; overflow-wrap: break-word; }

/* ---------- Forms — full width on mobile ---------- */
.form-field input,
.form-field select,
.form-field textarea { max-width: 100%; box-sizing: border-box; }

/* ============================================================
   Audit fixes — form input overflow safety + contrast polish
   ============================================================ */

/* Form-row uses CSS grid: grid items default to min-width:auto which lets
   their intrinsic content push past 1fr and overflow the viewport. Force
   columns to honor their fr share. */
.form-row > .field { min-width: 0; }
.field input,
.field select,
.field textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* Eyebrow / role labels — slightly stronger weight for legibility on small caps */
.eyebrow,
.team-card__role,
.member-card__role,
.lead-card__role,
.section-intro__eyebrow {
  color: var(--foreground);
}

/* Restore subtle muted feel without sacrificing contrast */
.team-section__eyebrow { color: var(--foreground); opacity: 0.85; }

/* ============================================================
   Audit pass 2 — additional safety
   ============================================================ */

/* Belt-and-braces overflow guard for the contact form column.
   Some mobile UAs (older Safari) honor flex/grid item intrinsic widths
   in ways that can let `select` widgets push past 100% of the parent. */
.form-card { min-width: 0; max-width: 100%; }
.contact-grid > * { min-width: 0; }
.form-card select { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }

/* Strategic Partnerships — small attribution line under the cards */
.partner-attribution {
  font-size: 14px;
  color: var(--muted-foreground);
  margin: 24px 0 8px;
  font-style: italic;
}
