/* =========================================================
   VALUE CREATOR — UI PROTOTYPE
   Palette source: COLOR_PALETTE.png
   ========================================================= */
:root {
  /* Raw palette (exact hex from COLOR_PALETTE.png) */
  --white:    #FFFFFF;
  --black:    #000000;
  --blue:     #008CFF;  /* primary CTA */
  --steel:    #3B6BA1;  /* borders / secondary */
  --navy-900: #080D2D;  /* reserved (not used in black theme) */
  --navy-700: #0E1B4F;  /* reserved (not used in black theme) */
  --sky:      #69BEF4;  /* reserved (accent switched to --blue) */

  /* Semantic tokens — black dominant, sky blue as the pop color */
  --bg:          var(--black);
  --bg-alt:      rgba(255, 255, 255, 0.02);   /* barely-lifted black for alternating sections */
  --surface:     rgba(255, 255, 255, 0.03);   /* card fill */
  --surface-solid: #0A0A0A;
  --text:        var(--white);
  --text-muted:  rgba(255, 255, 255, 0.62);   /* white @ 62% */
  --text-faint:  rgba(255, 255, 255, 0.40);
  --border:      rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.22);
  --accent:      var(--blue);                 /* CTA + pop (#008CFF) */
  --accent-ink:  var(--white);                /* text on accent */
  --accent-soft: rgba(0, 140, 255, 0.12);
  --highlight:   var(--blue);

  /* Type & layout */
  --font: "Manrope", system-ui, -apple-system, Segoe UI, sans-serif;
  --radius: 14px;
  --radius-sm: 10px;
  --container: 1200px;
  --gutter: 24px;
  --nav-h: 72px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
h2 { font-size: clamp(32px, 4.2vw, 52px); }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
.muted { color: var(--text-muted); }
.accent { color: var(--highlight); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }

.section { padding: 120px 0; }
.section--tight { padding: 72px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { margin: 14px 0 16px; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.section-head--row > div:first-child { max-width: 560px; }

.kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--highlight);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  padding: 7px 14px; border: 1px solid var(--border); border-radius: 999px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .3s var(--ease), transform .3s var(--ease), background .3s var(--ease);
}
.card:hover { border-color: var(--border-strong); }

.link { font-weight: 700; font-size: 14px; color: var(--highlight); transition: color .2s; }
.link:hover { color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 700; font-size: 15px;
  height: 50px; padding: 0 24px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--white); color: var(--black); }
.btn--ghost { border-color: var(--border-strong); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Badges / pills ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: .02em;
  padding: 6px 12px; border-radius: 999px;
}
.badge--accent { background: var(--accent); color: var(--accent-ink); }
.badge--metric { position: absolute; top: 14px; left: 14px; background: var(--white); color: var(--black); font-size: 13px; }
.badge--dark { background: var(--black); color: var(--white); }
.pill { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; }
.pill--muted { background: rgba(255,255,255,.06); color: var(--text-muted); }
.pill--accent { background: var(--accent-soft); color: var(--highlight); }

/* ---------- Photo placeholders ---------- */
.ph {
  position: relative; width: 100%;
  display: flex; align-items: center; justify-content: center; text-align: center;
  border: 1px dashed var(--border-strong); border-radius: var(--radius-sm);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 12px, transparent 12px 24px),
    rgba(255,255,255,.015);
  color: var(--text-faint); font-size: 13px; font-weight: 600; padding: 16px;
}
.ph > span:first-child { max-width: 80%; }
.ph--4x5 { aspect-ratio: 4 / 5; }
.ph--4x3 { aspect-ratio: 4 / 3; }
.ph--1x1 { aspect-ratio: 1 / 1; }
.ph--avatar { width: 44px; height: 44px; aspect-ratio: 1; border-radius: 50%; padding: 0; font-size: 10px; flex-shrink: 0; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.is-scrolled { border-bottom-color: var(--border); background: rgba(0, 0, 0, 0.88); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { height: 22px; width: auto; }
.brand__word { font-weight: 800; font-size: 16px; letter-spacing: -0.01em; }
.nav__links { display: flex; gap: 4px; position: absolute; left: 50%; transform: translateX(-50%); }
.nav__links a {
  font-size: 14px; font-weight: 600; color: var(--text-muted);
  padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--white); }
.nav__links a.is-active { color: var(--white); background: rgba(255,255,255,.06); }
.nav__right { display: flex; align-items: center; gap: 12px; }
.nav__toggle { display: none; width: 40px; height: 40px; background: none; border: 1px solid var(--border); border-radius: 10px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav__toggle span { width: 16px; height: 2px; background: var(--white); transition: transform .3s; }
.nav.is-open .nav__toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 88px; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: center; }
.display { font-size: clamp(42px, 6vw, 76px); letter-spacing: -0.035em; line-height: 1.02; margin: 24px 0 24px; }
.lead { font-size: 18px; color: var(--text-muted); max-width: 540px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.hero__meta { display: flex; gap: 40px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--border); }
.hero__meta strong { display: block; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.hero__meta span { font-size: 13px; color: var(--text-muted); }
.hero__visual { position: relative; }
.hero__float {
  position: absolute; left: -32px; bottom: 40px; width: 220px; padding: 16px;
  background: var(--surface-solid); display: grid; gap: 10px;
}
.hero__float p { font-size: 13px; color: var(--text-muted); line-height: 1.45; }

/* ---------- Before / After ---------- */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.compare__col { padding: 44px; }
.compare__col--before { background: rgba(0,0,0,.25); }
.compare__col--after { background: linear-gradient(180deg, rgba(0,140,255,.08), rgba(255,255,255,.01)); }
.compare__head { display: grid; gap: 14px; margin-bottom: 28px; justify-items: start; }
.compare__head h3 { font-size: 24px; }
.compare__divider { width: 1px; background: var(--border); position: relative; }
.compare__divider span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); border: 1px solid var(--border-strong); color: var(--highlight); font-weight: 700;
}
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.list li { position: relative; padding-left: 34px; font-size: 15px; }
.list li::before {
  position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
}
.list--x li { color: var(--text-muted); }
.list--x li::before { content: "✕"; background: rgba(255,255,255,.06); color: var(--text-faint); }
.list--check li::before { content: "✓"; background: var(--accent); color: var(--accent-ink); }

/* ---------- Teasers ---------- */
.teasers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.teaser { padding: 32px; display: grid; gap: 14px; align-content: start; }
.teaser:hover { transform: translateY(-4px); background: rgba(255,255,255,.05); }
.teaser__num { font-size: 13px; font-weight: 700; color: var(--text-faint); }
.teaser h3 { font-size: 24px; }
.teaser .link { margin-top: 10px; }

/* ---------- Framework ---------- */

.steps { display: grid; gap: 0; border-top: 1px solid var(--border); }
.step {
  display: grid; grid-template-columns: 56px 120px 1fr 280px; gap: 32px; align-items: center;
  padding: 36px 16px; border-bottom: 1px solid var(--border);
  opacity: .3; transition: opacity .6s var(--ease), background .4s var(--ease);
}
/* Lit = has been spotlighted once (hover or scrolled into view) and stays bright */
.step.is-lit { opacity: 1; }
/* Spotlight = the step under the cursor */
.step:hover { opacity: 1; background: linear-gradient(90deg, rgba(0,140,255,.16), rgba(0,140,255,.04) 55%, transparent); }
.step__index { font-size: 13px; font-weight: 700; color: var(--text-faint); }
.step__letter {
  font-size: 96px; font-weight: 800; line-height: .9; letter-spacing: -0.05em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.28);
  transition: color .4s var(--ease), -webkit-text-stroke-color .4s var(--ease);
}
.step.is-lit .step__letter, .step:hover .step__letter { color: var(--highlight); -webkit-text-stroke-color: var(--highlight); }
.step__body h3 { font-size: 28px; margin-bottom: 10px; }
.step__body p { max-width: 460px; }
.step__deliv { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.step__deliv li {
  font-size: 14px; font-weight: 600; padding: 10px 14px;
  border: 1px solid var(--border); border-radius: 8px; background: rgba(255,255,255,.02);
  display: flex; gap: 10px; align-items: center;
}
.step:hover .step__deliv li { border-color: rgba(0,140,255,.4); }
.step__deliv li { transition: border-color .3s var(--ease); }
.step__deliv li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--highlight); flex-shrink: 0; }

/* ---------- Clients ---------- */
.segmented { display: inline-flex; padding: 5px; border: 1px solid var(--border); border-radius: 999px; gap: 4px; }
.segmented button {
  font-family: inherit; font-size: 14px; font-weight: 700; color: var(--text-muted);
  background: transparent; border: 0; padding: 10px 18px; border-radius: 999px; cursor: pointer;
  transition: background .25s, color .25s;
}
.segmented button.is-active { background: var(--white); color: var(--black); }

.client-view { display: none; animation: fade .45s var(--ease); }
.client-view.is-visible { display: block; }
.client-view + .client-view.is-visible { margin-top: 20px; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case { overflow: hidden; }
.case .ph { border-radius: 0; border: 0; border-bottom: 1px solid var(--border); }
.case__body { padding: 28px; display: grid; gap: 22px; }
blockquote { margin: 0; font-size: 17px; font-weight: 500; line-height: 1.55; }
.person { display: grid; line-height: 1.35; }
.person strong { font-size: 15px; }
.person span { font-size: 13px; color: var(--text-muted); }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { padding: 28px; display: grid; gap: 18px; align-content: space-between; }
.review p { color: var(--text-muted); font-size: 15px; }
.stars { color: var(--highlight); letter-spacing: 3px; font-size: 13px; }
.review__who { display: flex; align-items: center; gap: 12px; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.member { overflow: hidden; }
.member .ph { border-radius: 0; border: 0; border-bottom: 1px solid var(--border); }
.member__body { padding: 24px; }
.member__body h3 { font-size: 20px; }
.role { display: block; font-size: 13px; font-weight: 700; color: var(--highlight); margin: 4px 0 12px; }
.member__body p { font-size: 14px; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a {
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: 50%; transition: border-color .2s, background .2s;
}
.socials svg { width: 15px; height: 15px; fill: var(--text-muted); transition: fill .2s; }
.socials a:hover { border-color: var(--white); background: var(--white); }
.socials a:hover svg { fill: var(--black); }

/* ---------- Newsletter ---------- */
.capture {
  background: var(--white); color: var(--black); border-radius: 20px;
  padding: 72px 56px; text-align: center; display: grid; justify-items: center; gap: 22px;
}
.capture h2 { font-size: clamp(32px, 4.5vw, 52px); letter-spacing: -0.035em; }
.capture > p { color: rgba(0,0,0,.6); max-width: 480px; font-size: 17px; }
.capture__form {
  display: flex; width: 100%; max-width: 480px; gap: 8px; margin-top: 8px;
  padding: 6px; border: 1px solid rgba(0,0,0,.14); border-radius: 999px;
}
.capture__form input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font-family: inherit; font-size: 15px; font-weight: 500; padding: 0 18px; color: var(--black);
}
.capture__form .btn { height: 46px; }
.capture__form:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0,140,255,.25); }
.capture__note { font-size: 13px; color: rgba(0,0,0,.45); }

.letters-head { display: flex; justify-content: space-between; align-items: baseline; margin: 96px 0 8px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.letters-head h3 { font-size: 24px; }
.letters { display: grid; grid-template-columns: repeat(3, 1fr); }
.letter { padding: 32px 32px 32px 0; display: grid; gap: 12px; align-content: start; border-bottom: 1px solid var(--border); }
.letter + .letter { padding-left: 32px; border-left: 1px solid var(--border); }
.letter time { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); }
.letter h4 { font-size: 22px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; transition: color .2s; }
.letter:hover h4 { color: var(--highlight); }
.letter p { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- CTA band ---------- */
.cta-band {
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
  padding: 48px 56px; border: 1px solid var(--border-strong); border-radius: var(--radius);
  background: radial-gradient(120% 160% at 100% 0%, rgba(0,140,255,.16), transparent 55%), var(--black);
}
.cta-band h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 8px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 72px 0 32px; background: var(--black); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand p { margin-top: 18px; max-width: 320px; font-size: 14px; }
.footer h5 { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { font-size: 14px; color: var(--text-muted); transition: color .2s; }
.footer ul a:hover { color: var(--white); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .hero__visual { max-width: 460px; }
  .step { grid-template-columns: 40px 80px 1fr; }
  .step__deliv { grid-column: 3; }
  .step__letter { font-size: 72px; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  :root { --gutter: 16px; }
  .section { padding: 80px 0; }
  .nav__links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; transform: none;
    flex-direction: column; gap: 0; padding: 12px 16px 20px;
    background: var(--black); border-bottom: 1px solid var(--border);
    opacity: 0; pointer-events: none; translate: 0 -8px; transition: opacity .25s, translate .25s;
  }
  .nav__links a { padding: 14px 12px; border-radius: 8px; font-size: 16px; }
  .nav.is-open .nav__links { opacity: 1; pointer-events: auto; translate: 0 0; }
  .nav__toggle { display: flex; }
  .compare { grid-template-columns: 1fr; }
  .compare__divider { width: auto; height: 1px; }
  .compare__divider span { transform: translate(-50%,-50%) rotate(90deg); }
  .compare__col { padding: 32px 24px; }
  .teasers, .cases, .reviews, .letters { grid-template-columns: 1fr; }
  .letter, .letter + .letter { padding: 28px 0; border-left: 0; }
  .hero__float { left: 12px; }
  .capture { padding: 52px 24px; }
}
@media (max-width: 560px) {
  .nav .btn--sm { display: none; }
  .hero__meta { gap: 24px; }
  .step { grid-template-columns: 1fr; gap: 14px; padding: 28px 4px; }
  .step__deliv { grid-column: auto; }
  .step__letter { font-size: 56px; }
  .team { grid-template-columns: 1fr; }
  .capture__form { flex-direction: column; border-radius: 16px; }
  .capture__form input { height: 46px; }
  .cta-band { padding: 32px 24px; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   MULTI-PAGE ADDITIONS
   ========================================================= */
#site-header { min-height: var(--nav-h); }
body { animation: pageIn .5s var(--ease); }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

/* Interior page header */
.page-hero { padding: 112px 0 72px; border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(0,140,255,.16), transparent 65%); pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(44px, 7vw, 88px); letter-spacing: -0.04em; margin: 16px 0 20px; max-width: 900px; }
.page-hero p { max-width: 560px; font-size: 18px; }
.crumbs { font-size: 13px; font-weight: 600; color: var(--text-faint); }
.crumbs a:hover { color: var(--white); }

/* Hero glow on home */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -200px; right: -200px; width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(0,140,255,.14), transparent 65%); pointer-events: none;
}
.hero .container { position: relative; }


/* Newsletter capture: black button on the white box */
.capture .btn--primary { background: var(--black); color: var(--white); }
.capture .btn--primary:hover { background: var(--accent); color: var(--accent-ink); }

/* Teaser cards link to pages: show arrow motion */
.teaser .link { transition: transform .25s var(--ease), color .2s; }
.teaser:hover .link { transform: translateX(4px); }

/* =========================================================
   NEWSLETTER POP-UP + LETTERS PAGE
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; pointer-events: none; }
.modal__backdrop {
  position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55);   /* light dim so the letters stay readable behind */
  opacity: 0; transition: opacity .3s var(--ease);
}
.modal__dialog.capture {
  position: relative; width: 100%; max-width: 420px;
  padding: 36px 28px 28px; gap: 14px; border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  opacity: 0; transform: translateY(16px) scale(.97);
  transition: opacity .3s var(--ease), transform .35s var(--ease);
}
.modal.is-open { pointer-events: auto; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__dialog { opacity: 1; transform: none; }
.modal__dialog h2 { font-size: 26px; letter-spacing: -0.03em; line-height: 1.15; }
.modal__dialog > p { font-size: 15px; }
.modal__dialog .capture__form { margin-top: 4px; }
.modal__close {
  position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,.12); background: transparent; color: rgba(0,0,0,.55);
  font-size: 13px; cursor: pointer; transition: background .2s, color .2s;
}
.modal__close:hover { background: var(--black); color: var(--white); }
body.modal-open { overflow: hidden; }

/* Newsletter page: compact header, letters right below */
.page-hero--compact { padding: 72px 0 48px; }
.page-hero--compact h1 { font-size: clamp(40px, 6vw, 72px); margin: 12px 0 14px; }
.nl-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.section--letters { padding-top: 0; }
.section--letters .letters-head { margin-top: 0; padding-top: 32px; }

/* =========================================================
   ARTICLE (single letter) PAGE
   ========================================================= */
.container--article { max-width: 720px; }
.container--wide { max-width: 1040px; }
.read-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 60;
  background: var(--accent); transition: width .1s linear;
}

.article__head { padding-top: 80px; padding-bottom: 48px; }
.article__tags { display: flex; gap: 8px; margin: 28px 0 20px; }
.article__head h1 { font-size: clamp(38px, 5.5vw, 60px); letter-spacing: -0.035em; line-height: 1.06; }
.article__dek { font-size: 20px; color: var(--text-muted); margin-top: 20px; line-height: 1.55; }
.article__byline { display: flex; align-items: center; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.article__date { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--text-faint); }
.ph--cover { aspect-ratio: 16 / 9; border-radius: var(--radius); }
.ph--16x9 { aspect-ratio: 16 / 9; }

.article__body { padding-top: 64px; padding-bottom: 40px; font-size: 18px; line-height: 1.8; color: rgba(255,255,255,.86); }
.article__body > * + * { margin-top: 24px; }
.article__body h2 { font-size: 30px; color: var(--white); margin-top: 56px; letter-spacing: -0.025em; }
.article__body strong { color: var(--white); }
.article__body ul, .article__body ol { padding-left: 22px; display: grid; gap: 10px; }
.article__body li::marker { color: var(--accent); font-weight: 700; }
.dropcap::first-letter { float: left; font-size: 68px; line-height: .9; font-weight: 800; padding: 6px 12px 0 0; color: var(--accent); }
.pullquote {
  margin: 48px 0; padding: 4px 0 4px 28px; border-left: 3px solid var(--accent);
  font-size: 26px; font-weight: 700; line-height: 1.4; letter-spacing: -0.015em; color: var(--white);
}
.callout { padding: 24px 28px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--accent-soft); display: grid; gap: 8px; }
.callout p { font-size: 17px; color: var(--white); }
.signoff { font-weight: 700; color: var(--white); }
figure { margin: 40px 0 0; }
figcaption { margin-top: 12px; font-size: 13px; color: var(--text-faint); text-align: center; }

/* YouTube embed (click-to-load; nothing is fetched from YouTube until clicked) */
.video { margin: 48px 0; }
@media (min-width: 900px) { .video { margin-left: -80px; margin-right: -80px; } }
.yt {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  display: grid; place-items: center; text-align: center;
  border: 1px solid var(--border-strong);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 12px, transparent 12px 24px),
    radial-gradient(circle at 50% 50%, rgba(0,140,255,.12), transparent 60%), #050505;
  background-size: cover; background-position: center;
}
.yt__label { position: absolute; bottom: 18px; left: 0; right: 0; font-size: 13px; font-weight: 600; color: var(--text-faint); line-height: 1.6; }
.yt__label code { color: var(--accent); }
.yt__play {
  width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); transition: transform .25s var(--ease), background .25s;
}
.yt__play svg { width: 30px; height: 30px; fill: var(--white); margin-left: 4px; }
.yt:hover .yt__play { transform: scale(1.08); background: var(--white); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt.has-thumb .yt__label { display: none; }
.yt.is-missing .yt__label { color: var(--highlight); }

.article__share { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 56px !important; padding: 20px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.article__share > span { font-size: 14px; font-weight: 700; }
.article__share .socials { margin: 0; }
.article__cta {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 32px; border: 1px solid var(--border-strong); border-radius: var(--radius);
  background: radial-gradient(120% 160% at 100% 0%, rgba(0,140,255,.14), transparent 55%), var(--black);
}
.article__cta h3 { font-size: 22px; margin-bottom: 4px; }
.article__cta p { font-size: 15px; }
.article__pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.article__pager a { padding: 20px; border: 1px solid var(--border); border-radius: var(--radius-sm); display: grid; gap: 6px; transition: border-color .2s; }
.article__pager a:hover { border-color: var(--accent); }
.article__pager span { font-size: 13px; color: var(--text-faint); font-weight: 600; }
.article__pager strong { font-size: 16px; line-height: 1.35; }
.article__pager .is-next { text-align: right; }

@media (max-width: 560px) {
  .article__head { padding-top: 48px; }
  .article__body { font-size: 17px; }
  .article__body h2 { font-size: 24px; }
  .pullquote { font-size: 21px; padding-left: 18px; }
  .article__pager { grid-template-columns: 1fr; }
  .article__pager .is-next { text-align: left; }
  .article__date { display: none; }
}

/* =========================================================
   SPACING FIX: content directly under an interior page header
   ========================================================= */
.page-hero + .section { padding-top: 64px; }
/* Framework: the header's bottom line doubles as the first divider, so steps start right under it */
.page-hero + .section--steps { padding-top: 0; }
.section--steps .steps { border-top: 0; }

/* =========================================================
   FRAMEWORK PROGRESS LINE (01 → 05)
   A faint track joins the number dots; a white bar fills it as you scroll.
   Dots turn yellow once the bar reaches them.
   --flow-x = horizontal center of the number column
   ========================================================= */
:root { --yellow: #FFD000; }                    /* not in COLOR_PALETTE.png — requested for the stepper */
.steps { --flow-x: 44px; position: relative; }  /* 16 pad + 28 (half of 56 number col) */
.steps__track {                                 /* top/height measured in script.js */
  position: absolute; left: var(--flow-x); top: var(--track-top, 0); height: var(--track-h, 0);
  width: 2px; transform: translateX(-50%); background: rgba(255,255,255,.12); pointer-events: none; z-index: 1;
}
.steps__fill { position: absolute; left: 0; top: 0; width: 100%; height: var(--fill, 0px); background: var(--white); }
.step__index {
  position: relative; z-index: 2;               /* dots sit on top of the line */
  justify-self: center; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; border: 2px solid rgba(255,255,255,.18); background: var(--bg);
  transition: border-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.step.is-reached .step__index { border-color: var(--yellow); color: var(--yellow); box-shadow: 0 0 0 4px rgba(255,208,0,.12); }

@media (max-width: 1024px) { .steps { --flow-x: 36px; } .step__index { width: 40px; height: 40px; } }  /* 16 + 20 */
@media (max-width: 560px) {
  .steps { --flow-x: 24px; }                    /* 4 pad + 20 */
  .step__index { justify-self: start; }
}
.yt:hover .yt__play svg { fill: var(--black); }   /* play icon stays visible when the button turns white */

/* =========================================================
   CLIENTS PAGE — video testimonials + screenshot wall
   ========================================================= */
.jump { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }
.jump a {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px;
  border: 1px solid var(--border-strong); border-radius: 999px; font-size: 14px; font-weight: 700;
  transition: border-color .2s, background .2s;
}
.jump a:hover { border-color: var(--white); background: rgba(255,255,255,.04); }
.jump a span { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }

.block-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.block-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 10px; }
.block-head > .muted { font-size: 14px; }

/* Shared card bits */
.hl { color: var(--accent); }
.kick { display: block; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); }
.who { display: flex; align-items: center; gap: 12px; }

/* Video testimonial cards */
.vt {
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
  padding: 28px; display: grid; gap: 16px; align-content: start;
  transition: border-color .3s var(--ease);
}
.vt:hover { border-color: var(--border-strong); }
.vt h3 { font-size: 22px; line-height: 1.3; letter-spacing: -0.015em; }
.vt p { font-size: 15px; }
.vt .yt { margin-top: 4px; }
.vt--featured { grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; padding: 32px; margin-bottom: 20px; }
.vt--featured .vt__text { display: grid; gap: 16px; }
.vt--featured h3 { font-size: clamp(24px, 2.4vw, 32px); }
.vt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* Screenshot wall: masonry that keeps left→right order (row spans set in script.js) */
.wall { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1px; column-gap: 20px; row-gap: 0; align-items: start; }
.win {
  grid-row-end: span var(--span, 60); margin-bottom: 20px;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg);
  padding: 22px; display: grid; gap: 10px;
  transition: border-color .3s var(--ease);
}
.win:hover { border-color: var(--border-strong); }
.win__head { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.win__head .ph--avatar { width: 36px; height: 36px; }
.win__metric { font-size: 28px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; margin-top: 6px; }
.win p { font-size: 14px; margin-bottom: 6px; }

/* Screenshot frame: same width + radius + backdrop for every image, natural height (nothing cropped) */
.shot {
  position: relative; display: block; width: 100%; padding: 8px; margin: 0;
  border: 1px solid var(--border); border-radius: 12px; background: rgba(255,255,255,.03);
  cursor: zoom-in; font: inherit; color: inherit; text-align: center;
}
.shot .ph, .shot img { display: flex; width: 100%; height: auto; border-radius: 6px; }
.shot .ph { font-size: 12px; }
.shot__zoom {
  position: absolute; right: 16px; bottom: 16px; font-size: 12px; font-weight: 700;
  padding: 6px 10px; border-radius: 999px; background: rgba(0,0,0,.75); color: var(--white);
  opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s;
}
.shot:hover .shot__zoom, .shot:focus-visible .shot__zoom { opacity: 1; transform: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 24px; pointer-events: none; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.88); opacity: 0; transition: opacity .25s; }
.lightbox__body {
  position: relative; width: min(92vw, 640px); max-height: 88vh; overflow: auto;
  opacity: 0; transform: scale(.97); transition: opacity .25s, transform .25s var(--ease);
}
.lightbox__body .ph, .lightbox__body img { width: 100%; height: auto; border-radius: 10px; display: flex; }
.lightbox.is-open { pointer-events: auto; }
.lightbox.is-open .lightbox__backdrop, .lightbox.is-open .lightbox__body { opacity: 1; transform: none; }
.lightbox__close {
  position: fixed; top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 50%; z-index: 1;
  border: 1px solid var(--border-strong); background: var(--black); color: var(--white); cursor: pointer; font-size: 14px;
}

@media (max-width: 1024px) {
  .wall { grid-template-columns: repeat(2, 1fr); }
  .vt--featured { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 680px) {
  .wall { grid-template-columns: 1fr; }
  .vt-grid { grid-template-columns: 1fr; }
  .vt, .vt--featured { padding: 22px; }
}

/* ---------- Clients: tabs ---------- */
.tabs { margin-bottom: 40px; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fade .45s var(--ease); }

/* ---------- Clients: video list — adapts to how many videos there are ----------
   Even count → every card in left/right pairs.
   Odd count  → first card spans the full row (video left, text right), the rest pair up. */
.vt-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.vt__text { display: grid; gap: 16px; align-content: start; }
.vt__media { order: 2; }                         /* normal card: text on top, video below */
.vt-list > .vt:first-child:nth-last-child(odd) {
  grid-column: 1 / -1; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; padding: 32px;
}
.vt-list > .vt:first-child:nth-last-child(odd) .vt__media { order: 0; }
.vt-list > .vt:first-child:nth-last-child(odd) h3 { font-size: clamp(24px, 2.4vw, 32px); }

@media (max-width: 1024px) {
  .vt-list > .vt:first-child:nth-last-child(odd) { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 680px) {
  .vt-list { grid-template-columns: 1fr; }
  .vt-list > .vt:first-child:nth-last-child(odd) { padding: 22px; }
}

/* Testimonial stories: justified (rata kanan-kiri) */
.vt__text p { text-align: justify; text-justify: inter-word; }
/* Lightbox close button only appears while the lightbox is open */
.lightbox__close { opacity: 0; pointer-events: none; transition: opacity .25s; }
.lightbox.is-open .lightbox__close { opacity: 1; pointer-events: auto; }

/* ---------- Client Wins: real images ---------- */
.block-head--intro > div { max-width: 720px; }
.block-head--intro p { margin-top: 14px; font-size: 16px; }
.win__avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border-strong); flex-shrink: 0; }
.shot img { display: block; width: 100%; height: auto; border-radius: 6px; }
.win .shot + .shot { margin-top: 2px; }          /* stacked proofs (e.g. Edbert) */
.lightbox__body img { display: block; }
.wins-disclaimer { margin-top: 28px; font-size: 13px; color: var(--text-faint); max-width: 760px; }

/* ---------- Client Wins: flat bottom ----------
   The last card of each column stretches to the common bottom line (class set in script.js).
   Its screenshot frame takes the extra space and keeps the image centred, uncropped. */
.wins-disclaimer { display: none; }
.win.is-tail { align-self: stretch; display: flex; flex-direction: column; gap: 10px; }
.win.is-tail .shot:last-of-type { flex: 1; display: flex; flex-direction: column; justify-content: center; }

/* =========================================================
   NEWSLETTER — featured grid fix + searchable archive
   ========================================================= */
/* Letters grid: only the first card of each row has no left divider/padding (fixes row 2 misalignment) */
@media (min-width: 861px) {
  .letters .letter:nth-child(3n+1) { padding-left: 0; border-left: 0; }
}

.archive { margin-top: 96px; }
.archive__head { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.archive__head h3 { font-size: 24px; }
.search {
  display: flex; align-items: center; gap: 10px; width: min(100%, 380px); height: 46px; padding: 0 16px;
  border: 1px solid var(--border-strong); border-radius: 999px; background: rgba(255,255,255,.02);
  transition: border-color .2s, box-shadow .2s;
}
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.search svg { width: 18px; height: 18px; fill: none; stroke: var(--text-faint); stroke-width: 2; stroke-linecap: round; flex-shrink: 0; }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--white); font: inherit; font-size: 15px; }
.search input::placeholder { color: var(--text-faint); }
.search input::-webkit-search-cancel-button { filter: invert(1); opacity: .5; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0 8px; }
.chip {
  font: inherit; font-size: 13px; font-weight: 700; color: var(--text-muted); cursor: pointer;
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); background: transparent;
  transition: color .2s, border-color .2s, background .2s;
}
.chip:hover { color: var(--white); border-color: var(--border-strong); }
.chip.is-active { background: var(--white); border-color: var(--white); color: var(--black); }

.letter-list { display: grid; }
.letter-row {
  display: grid; grid-template-columns: 140px 1fr auto 24px; gap: 28px; align-items: center;
  padding: 24px 12px; border-bottom: 1px solid var(--border); transition: background .2s;
}
.letter-row:hover { background: rgba(255,255,255,.03); }
.letter-row time { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); }
.letter-row h4 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; transition: color .2s; }
.letter-row:hover h4 { color: var(--accent); }
.letter-row p { font-size: 14px; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.letter-row__go { color: var(--text-faint); font-weight: 700; transition: transform .2s, color .2s; }
.letter-row:hover .letter-row__go { color: var(--accent); transform: translateX(4px); }
.letter-row[hidden] { display: none; }
.archive__empty { padding: 48px 0; text-align: center; color: var(--text-muted); }

@media (max-width: 680px) {
  .letter-row { grid-template-columns: 1fr auto; gap: 8px 16px; padding: 20px 4px; }
  .letter-row time { grid-column: 1 / -1; }
  .letter-row__main { grid-column: 1; }
  .letter-row .pill { grid-column: 2; grid-row: 2; align-self: start; }
  .letter-row__go { display: none; }
  .search { width: 100%; }
}

/* Newsletter: archive is the first block under the header */
.archive--top { margin-top: 0; padding-top: 0; }

/* Newsletter: no "All Letters" title — topic chips (left) and search (right) share one row */
.archive__head .chips { margin: 0; }
.archive--top .archive__head { padding-bottom: 24px; }

/* ---------- Newsletter: sort + pagination ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.archive__tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.archive__tools .search { width: 320px; }
.sort { position: relative; display: inline-flex; }
.sort select {
  appearance: none; -webkit-appearance: none; height: 46px; padding: 0 40px 0 18px; cursor: pointer;
  border: 1px solid var(--border-strong); border-radius: 999px; background: rgba(255,255,255,.02);
  color: var(--white); font: inherit; font-size: 14px; font-weight: 700;
}
.sort select:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.sort select option { background: var(--black); color: var(--white); }
.sort::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; margin-top: -5px;
  border-right: 2px solid var(--text-muted); border-bottom: 2px solid var(--text-muted); transform: rotate(45deg); pointer-events: none;
}

.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.pager:empty { display: none; }
.pager button {
  min-width: 42px; height: 42px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--border); background: transparent; color: var(--text-muted);
  font: inherit; font-size: 14px; font-weight: 700; transition: color .2s, border-color .2s, background .2s;
}
.pager button:hover:not(:disabled) { color: var(--white); border-color: var(--border-strong); }
.pager button.is-current { background: var(--white); border-color: var(--white); color: var(--black); }
.pager button:disabled { opacity: .35; cursor: default; }

@media (max-width: 680px) {
  .archive__tools { width: 100%; }
  .archive__tools .search { width: auto; flex: 1 1 100%; }
  .sort, .sort select { width: 100%; }
}

/* =========================================================
   FOOTER — compact (2 rows)
   ========================================================= */
.footer--compact { padding: 48px 0 28px; }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer--compact .footer__brand { display: grid; gap: 10px; max-width: 320px; }
.footer--compact .footer__brand p { margin: 0; font-size: 14px; }
.footer__links { display: flex; gap: 6px 24px; flex-wrap: wrap; }
.footer__links a, .footer__legal a { font-size: 14px; color: var(--text-muted); transition: color .2s; }
.footer__links a:hover, .footer__legal a:hover { color: var(--white); }
.footer__socials { margin: 0; }
.footer--compact .footer__bottom { margin-top: 36px; padding-top: 20px; align-items: center; color: var(--text-faint); }
.footer__legal { display: flex; gap: 20px; }

@media (max-width: 860px) {
  .footer__top { flex-direction: column; align-items: flex-start; gap: 24px; }
}

/* =========================================================
   TEAM — photo cards (rows of 3, last row centred)
   ========================================================= */
.team--people { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.team--people .member { flex: 0 1 calc((100% - 40px) / 3); min-width: 0; }
.member__photo {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-bottom: 1px solid var(--border);
  /* soft brand-blue glow so black clothing separates from the black page */
  background:
    radial-gradient(85% 70% at 50% 38%, rgba(0,140,255,.30), rgba(0,140,255,.06) 60%, transparent 80%),
    linear-gradient(180deg, #0B1022, #050505);
}
.member__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .6s var(--ease); }
.member:hover .member__photo img { transform: scale(1.03); }
.member__ph { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; font-size: 13px; font-weight: 600; color: var(--text-faint); border: 1px dashed var(--border-strong); border-radius: var(--radius) var(--radius) 0 0; }
.team--people .member__body { padding: 22px 24px 24px; display: grid; gap: 4px; justify-items: start; }
.team--people .member__body h3 { font-size: 21px; }
.team--people .role { margin: 0 0 12px; }
.member__ig {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px;
  border: 1px solid var(--border-strong); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--text-muted);
  transition: color .2s, border-color .2s, background .2s;
}
.member__ig svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }
.member__ig:hover { color: var(--white); border-color: var(--white); background: rgba(255,255,255,.04); }

@media (max-width: 1024px) { .team--people .member { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 560px)  { .team--people .member { flex-basis: 100%; } }

/* Team photos: blue → white gradient backdrop (top #008CFF fading to white at the bottom) */
.member__photo { background: linear-gradient(180deg, var(--navy-700) 0%, var(--white) 100%); }  /* dark navy #0E1B4F → white */
.member__ph { color: rgba(0,0,0,.55); border-color: rgba(0,0,0,.25); }

/* =========================================================
   TEAM PAGE v2 — founder spotlight, core team, behind the scenes
   ========================================================= */
.founder-sec { padding-bottom: 40px; }
.founder {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center;
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface);
}
.founder__photo { border-bottom: 0; border-right: 1px solid var(--border); height: 100%; min-height: 100%; }
.founder__text { padding: 48px 48px 48px 0; display: grid; gap: 16px; justify-items: start; }
.founder__text h2 { font-size: clamp(32px, 4vw, 48px); }
.founder__story { color: var(--text-muted); font-size: 17px; max-width: 60ch; }
.founder__quote { margin: 8px 0; padding-left: 20px; border-left: 3px solid var(--accent); font-size: 20px; font-weight: 700; line-height: 1.4; color: var(--white); }

/* Core team: 4 across, square photos */
.team--core { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.team--core .member__photo { aspect-ratio: 1 / 1; }
.team--core .member__body { padding: 20px; display: grid; gap: 4px; justify-items: start; }
.team--core .member__body h3 { font-size: 18px; }
.team--core .role { margin: 0; }
.member__focus { font-size: 14px; color: var(--text-muted); margin: 6px 0 12px; }

/* Behind the scenes: 1 large (2×2) + 4 small */
.bts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 16px; }
.bts__item { margin: 0; min-width: 0; }
.bts__item .ph { height: 100%; aspect-ratio: 1 / 1; border-radius: var(--radius); }
.bts--wide { grid-column: span 2; grid-row: span 2; }
.bts--wide .ph { aspect-ratio: auto; }

@media (max-width: 1024px) {
  .founder { grid-template-columns: 1fr; gap: 0; }
  .founder__photo { border-right: 0; border-bottom: 1px solid var(--border); aspect-ratio: 4 / 5; max-height: 560px; }
  .founder__text { padding: 32px; }
  .team--core { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .founder__text { padding: 24px; }
  .bts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bts--wide { grid-row: span 1; }
  .bts--wide .ph { aspect-ratio: 16 / 10; }
}

/* Core team on phones: one per row, photo left + text right (keeps IG username pills inside the card) */
@media (max-width: 560px) {
  .team--core { grid-template-columns: 1fr; }
  .team--core .member { display: grid; grid-template-columns: 120px minmax(0, 1fr); align-items: center; }
  .team--core .member__photo { border-bottom: 0; border-right: 1px solid var(--border); height: 100%; aspect-ratio: auto; min-height: 150px; }
  .team--core .member__body { padding: 16px; }
  .member__ig { max-width: 100%; }
  .member__ig span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* ---------- Video testimonials: card order = title → subtitle → video → description ----------
   The text wrapper "dissolves" (display: contents) so its pieces can sit around the video.
   Exception: the large first card (odd count) on desktop keeps video left / text right. */
.vt-list .vt__text { display: contents; }
.vt-list .vt h3            { order: 1; }
.vt-list .vt .kick         { order: 2; }
.vt-list .vt .vt__media    { order: 3; }
.vt-list .vt .vt__text > p { order: 4; }

@media (min-width: 1025px) {
  .vt-list > .vt:first-child:nth-last-child(odd) .vt__text { display: grid; gap: 16px; align-content: start; }
}
@media (max-width: 1024px) {
  /* stacked (tablet + phone): the large card follows the same order as the rest */
  .vt-list > .vt:first-child:nth-last-child(odd) .vt__media { order: 3; }
}

/* Paired cards share row tracks (subgrid): titles, subtitles, videos and descriptions line up across a pair */
@media (min-width: 681px) {
  .vt-list > .vt:not(:first-child:nth-last-child(odd)) {
    grid-row: span 4; grid-template-rows: subgrid; row-gap: 16px; align-content: start;
  }
}

/* ---------- Footer polish ---------- */
/* Divider between the two footer rows lines up with the content edges (not the container padding) */
.footer--compact .footer__bottom { border-top: 0; position: relative; }
.footer--compact .footer__bottom::before {
  content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--border);
}

/* Phone: everything centred, links wrap into tidy centred rows, legal links above the copyright */
@media (max-width: 560px) {
  .footer--compact { padding: 44px 0 28px; }
  .footer--compact .footer__top { align-items: center; text-align: center; gap: 22px; }
  .footer--compact .footer__brand { justify-items: center; }
  .footer__links { justify-content: center; gap: 10px 22px; max-width: 250px; }  /* wraps 3 + 2 */
  .footer__links a { font-size: 15px; }
  .footer__socials { justify-content: center; }
  .footer--compact .footer__bottom { flex-direction: column-reverse; align-items: center; text-align: center; gap: 10px; margin-top: 28px; }
  .footer__legal { justify-content: center; }
  .footer--compact .footer__bottom > span { font-size: 12px; }
}

/* Framework on phones: the number dot + progress line get their own left column,
   so the line never runs through the letter, text or deliverables. */
@media (max-width: 560px) {
  .steps { --flow-x: 26px; }                     /* 4px step padding + 22 (half of 44px rail column) */
  .step { grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 12px; align-items: start; }
  .step__index { grid-column: 1; grid-row: 1 / span 3; justify-self: center; width: 40px; height: 40px; }
  .step__letter, .step__body, .step__deliv { grid-column: 2; min-width: 0; }
  .step__letter { text-align: left; font-size: 52px; line-height: 1; }
}
