/* ============================================================
   drchelsea.tech — modern & clean
   Inter only. Warm cream content. Dark cinematic hero (pitch-deck fade).
   Pitch-deck gradient: #FE1AAD → #FF7600
   ============================================================ */

:root {
  /* Warm content palette */
  --paper:    #F7F4EE;
  --paper-2:  #EFE9DD;
  --ink:      #0F0F10;
  --ink-2:    #1A1A1E;
  --mute:     #6B6B70;
  --rule:     #E6DFCF;

  /* Pitch-deck dark palette (hero + footer) */
  --dark:     #17131C;
  --dark-2:   #211B28;
  --dark-txt: #F6F1F4;
  --dark-mute:#D9D0DC;
  --dark-rule:rgba(246,241,244,0.1);

  /* Signature accents */
  --accent:      #FE1AAD;         /* hot pink (pitch deck) */
  --accent-2:    #FF7600;         /* orange (pitch deck) */
  --grad:        linear-gradient(90deg, #FE1AAD 0%, #FF7600 100%);
  --grad-vert:   linear-gradient(180deg, #FE1AAD 0%, #FF7600 100%);

  --bg: var(--paper);
  --text: var(--ink);
  --text-mute: var(--mute);

  /* Rhythm */
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --maxw: 1240px;
  --gutter: 28px;
  --section-y: clamp(80px, 10vw, 140px);

  --f: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* Skip-to-content link for keyboard / screen-reader users */
.skip-link {
  position: absolute;
  top: -48px;
  left: 20px;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  z-index: 100;
  transition: top .2s ease;
}
.skip-link:focus {
  top: 20px;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Visible focus rings for keyboard users (not for mouse clicks) */
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible, a:focus-visible { outline-offset: 4px; }
body {
  margin: 0;
  font-family: var(--f);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  font-feature-settings: "ss01","cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ================= GLOBAL B&W image treatment ================= */
/* Unifies the mixed stage lighting across all content photos.
   SVG icons / branded marks are rendered as <svg> inline, not <img>, so untouched. */
img {
  filter: grayscale(100%) contrast(1.04);
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: var(--section-y) 0; position: relative; }
.visually-hidden { position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* ========= Typography ========= */
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin: 0 0 20px;
}
.eyebrow--light { color: rgba(246,241,244,0.65); }

.section__head { margin: 0 auto 60px; max-width: 820px; text-align: center; }
.section__head .section__lede,
.section__head .stages__countries { margin-left: auto; margin-right: auto; }
.section__title {
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  color: var(--text);
}
.section__lede {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--text-mute);
  max-width: 640px;
  margin: 0 0 24px;
}
.section__cta { margin-top: 56px; text-align: center; }
.section__cta-note { color: var(--text-mute); font-size: 14px; margin: 14px 0 0; }

.former-name { color: var(--text-mute); font-weight: 400; }

/* Gradient utilities (pitch-deck signature) */
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}
.grad-dot {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ========= Buttons ========= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: transform .15s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, background-position .3s ease;
  text-decoration: none;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--grad);
  background-size: 150% 100%;
  background-position: 0% 50%;
  color: #fff;
  border: none;
}
.btn--primary:hover {
  background-position: 100% 50%;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(254,26,173,0.3);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn--ghost-dark {
  background: transparent;
  color: var(--dark-txt);
  border-color: rgba(246,241,244,0.3);
}
.btn--ghost-dark:hover {
  border-color: var(--dark-txt);
  background: rgba(246,241,244,0.05);
  transform: translateY(-1px);
}
.btn--small { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }

.link-arrow {
  font-size: 15px;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1.5px solid var(--rule);
  display: inline-flex;
  gap: 8px;
  transition: border-color .18s ease, color .18s ease, gap .18s ease;
}
.link-arrow:hover { border-color: var(--accent); color: var(--accent); gap: 12px; }

/* ========= Nav (dark variant over dark hero) ========= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.nav--scrolled {
  background: rgba(247,244,238,0.94);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: var(--rule);
}
.nav--scrolled .nav__links a:not(.btn) { color: var(--ink); }
.nav--scrolled .nav__toggle span { background: var(--ink); }

.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo { display: inline-flex; align-items: center; }
.nav__wordmark {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: color .25s ease, background .25s ease;
}
.nav__wordmark .grad-dot {
  background: inherit;
  -webkit-background-clip: inherit;
  background-clip: inherit;
  color: inherit;
}
.nav--scrolled .nav__wordmark {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: var(--ink);
}
.nav--scrolled .nav__wordmark .grad-dot {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
}
.nav__links a:not(.btn) {
  color: var(--dark-txt);
  padding: 8px 0;
  position: relative;
  transition: color .25s ease;
}
.nav__links a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1.5px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }

.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.nav__toggle span {
  width: 22px; height: 1.5px;
  background: var(--dark-txt);
  transition: transform .22s ease, opacity .22s ease, background .22s ease;
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--dark);
    padding: 12px var(--gutter) 24px;
    border-bottom: 1px solid var(--dark-rule);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
  }
  .nav__links a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--dark-rule); color: var(--dark-txt); }
  .nav--scrolled .nav__links { background: var(--paper); border-bottom-color: var(--rule); }
  .nav--scrolled .nav__links a:not(.btn) { border-bottom-color: var(--rule); }
  .nav__links .btn { margin-top: 12px; align-self: flex-start; }
  .nav.is-open .nav__links { transform: translateY(0); opacity: 1; pointer-events: auto; }
}

/* ============================================================
   HERO — dark cinematic, pitch-deck fade
   Photo right, dark overlay fading L→R, text left.
   ============================================================ */
.hero {
  position: relative;
  background: var(--dark);
  color: var(--dark-txt);
  overflow: hidden;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  grid-template-rows: minmax(100vh, auto);
}
/* Soft top vignette so nav wordmark stays legible against the photo */
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 180px;
  background: linear-gradient(to bottom, rgba(23,19,28,0.95) 0%, rgba(23,19,28,0.6) 40%, rgba(23,19,28,0.2) 75%, transparent 100%);
  pointer-events: none;
  z-index: 3;
}
.hero__photo {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.hero__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: grayscale(100%) contrast(1.05) brightness(0.95);
}
.hero__fade {
  position: absolute;
  top: 0; bottom: 0;
  left: -1px; right: 0;
  pointer-events: none;
  background:
    linear-gradient(to right,
      var(--dark) 0%,
      rgba(23,19,28,0.92) 18%,
      rgba(23,19,28,0.55) 40%,
      rgba(23,19,28,0.15) 65%,
      rgba(23,19,28,0) 95%);
}
.hero__text {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  padding: clamp(100px, 14vh, 160px) clamp(28px, 4vw, 80px) clamp(72px, 10vh, 120px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
}
.hero__title {
  font-weight: 800;
  font-size: clamp(52px, 7.5vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 10px 0 10px;
  color: var(--dark-txt);
}
.hero__kicker {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-mute);
  margin: 0 0 36px;
}
.hero__lede {
  font-size: clamp(20px, 1.9vw, 28px);
  font-weight: 500;
  color: var(--dark-txt);
  line-height: 1.3;
  margin: 0 0 40px;
  max-width: 580px;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  background: rgba(246,241,244,0.08);
  border: 1px solid var(--dark-rule);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--dark-mute);
  align-self: flex-start;
}
.hero__tag-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(254,26,173,0.25);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(254,26,173,0.25); }
  50%      { box-shadow: 0 0 0 7px rgba(254,26,173,0.08); }
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero__photo {
    position: relative;
    height: 60vh;
  }
  .hero__photo img { object-position: center 20%; }
  .hero__fade {
    background: linear-gradient(to bottom, rgba(23,19,28,0) 0%, rgba(23,19,28,0.4) 60%, var(--dark) 95%);
  }
  .hero__text {
    grid-column: 1;
    padding: 56px 24px 72px;
    max-width: none;
  }
}

/* ============================================================
   PRESS BAR
   ============================================================ */
.press {
  background: var(--dark);
  color: var(--dark-txt);
  padding: clamp(40px, 5vw, 64px) 0;
  border-top: 1px solid var(--dark-rule);
}
.press__label {
  text-align: center;
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--dark-mute);
  margin: 0 0 24px;
}
.press__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px 44px;
}
.press__logo {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--dark-txt);
  opacity: 0.7;
  transition: opacity .2s ease;
}
.press__logo:hover { opacity: 1; }

/* ============================================================
   STAGES STRIP
   ============================================================ */
.stages {
  padding: clamp(60px, 7vw, 96px) 0;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.stages__head {
  text-align: center;
  margin: 0 auto 36px;
  max-width: 820px;
}
.stages__head .eyebrow { margin: 0 0 10px; }
.stages__note {
  font-size: 13px;
  color: var(--text-mute);
  margin: 0;
  letter-spacing: 0.01em;
}
.stages__countries {
  font-size: clamp(15px, 1.1vw, 17px);
  color: var(--text-mute);
  margin: 10px auto 44px;
  line-height: 1.6;
  max-width: 680px;
  font-weight: 400;
}
.press__logo--placeholder {
  opacity: 0.35;
  border: 1.5px dashed rgba(246,241,244,0.3);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
}
.stages__strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.stages__photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
}
.stages__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;   /* bias toward faces */
  transition: transform .5s ease, filter .3s ease;
}
.stages__photo:hover img { transform: scale(1.04); filter: grayscale(100%) contrast(1.04) brightness(1.05); }
@media (max-width: 1080px) {
  .stages__strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  .stages__strip { grid-template-columns: repeat(2, 1fr); }
}

/* Footer agency line */
.footer__agency {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(246,241,244,0.55);
  margin: 10px 0 0;
  font-weight: 500;
}
.footer__agency strong {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

/* ============================================================
   WORK — 3 cards
   ============================================================ */
.work { background: var(--paper); }
.work__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.work__grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1080px) { .work__grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 920px)  { .work__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px)  { .work__grid--4 { grid-template-columns: 1fr; } }

.work__card--build {
  position: relative;
  overflow: hidden;
}
.work__card--build::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad);
  z-index: 1;
}
.work__card--build:hover { border-color: var(--accent); }
.work__card--build .work__card-num { color: var(--accent-2); }

.work__card {
  display: flex;
  flex-direction: column;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius-xl);
  padding: 36px 32px 32px;
  color: var(--ink);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 300px;
}
.work__card:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
}
.work__card-num {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--accent);
  margin-bottom: 24px;
}
.work__card h3 {
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
}
.work__card p {
  color: var(--text-mute);
  font-size: 16px;
  margin: 0 0 28px;
  line-height: 1.55;
  flex-grow: 1;
}
.work__card-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  gap: 6px;
  margin-top: auto;
  align-self: flex-start;
  transition: color .18s ease, gap .18s ease;
}
.work__card:hover .work__card-cta { gap: 10px; }
.work__card:hover .work__card-cta {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   SPEAK (deep section)
   ============================================================ */
.speak { background: var(--paper); }
.speak__topics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 72px;
}
@media (max-width: 920px) { .speak__topics { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .speak__topics { grid-template-columns: 1fr; } }

.topic {
  padding: 28px 24px 26px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  transition: border-color .22s ease, transform .22s ease;
  background: var(--paper);
}
.topic:hover { border-color: var(--ink); transform: translateY(-3px); }
.topic__num {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .28em;
  color: var(--accent);
  margin-bottom: 16px;
}
.topic h4 {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}
.topic p {
  color: var(--text-mute);
  font-size: 14px;
  margin: 0;
  line-height: 1.55;
}

.speak__quote {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px;
  background: var(--paper-2);
  border-radius: var(--radius-xl);
  text-align: center;
  border: 1px solid var(--rule);
}
.speak__quote blockquote {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin: 0 0 20px;
  color: var(--ink);
}
.speak__quote blockquote em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.speak__quote cite {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-mute);
}

/* ============================================================
   ADVISE
   ============================================================ */
.advise { background: var(--paper-2); }
.advise__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 720px) { .advise__grid { grid-template-columns: 1fr; } }

.advise__card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-xl);
  padding: 32px 30px 30px;
  transition: border-color .22s ease, transform .22s ease;
}
.advise__card:hover { border-color: var(--ink); transform: translateY(-3px); }
.advise__card h3 {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
}
.advise__card p {
  color: var(--text-mute);
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
}

/* ============================================================
   PARTNER
   ============================================================ */
.partner { background: var(--paper); }
.partner__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 820px) { .partner__inner { grid-template-columns: 1fr; } }
.partner__photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: 0 20px 50px rgba(15,15,16,0.08);
}
.partner__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--paper); }
.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.5fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 820px) { .about__inner { grid-template-columns: 1fr; } }
.about__photo {
  aspect-ratio: 5 / 8;
  max-width: 300px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: 0 20px 50px rgba(15,15,16,0.08);
}
@media (max-width: 820px) {
  .about__photo { max-width: 260px; margin: 0 auto; }
}
.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.about__text p {
  font-size: 17px;
  color: var(--ink);
  margin: 0 0 18px;
  max-width: 620px;
  line-height: 1.65;
}
.about__text p strong { font-weight: 700; color: var(--ink); }
.about__text p a {
  color: var(--ink);
  border-bottom: 1.5px solid var(--accent);
  font-weight: 500;
  transition: color .18s ease;
}
.about__text p a:hover {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about__credentials {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.about__credentials li {
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink);
}

/* ============================================================
   BUILD / Neon Guard mini-section (dark feature stripe)
   ============================================================ */
.build {
  background: var(--dark);
  color: var(--dark-txt);
}
.build__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 820px) { .build__inner { grid-template-columns: 1fr; } }
.build .eyebrow { color: var(--accent); }
.build .section__title { color: var(--dark-txt); }
.build .section__lede { color: var(--dark-mute); max-width: 580px; }
.build .link-arrow { color: var(--dark-txt); border-bottom-color: var(--dark-rule); }
.build .link-arrow:hover { border-bottom-color: var(--accent); color: var(--accent); }

.build__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 24px;
  background: rgba(246,241,244,0.04);
  border: 1px solid var(--dark-rule);
  border-radius: var(--radius-lg);
}
.stat__num {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--dark-txt);
}
.stat__lbl {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--dark-mute);
}

/* ============================================================
   NEWSLETTER (dark feature stripe)
   ============================================================ */
.newsletter {
  background: var(--dark);
  color: var(--dark-txt);
}
.newsletter__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.newsletter__title {
  color: var(--dark-txt);
  margin-left: auto; margin-right: auto;
}
.newsletter__lede {
  color: var(--dark-mute);
  font-size: clamp(16px, 1.3vw, 18px);
  max-width: 560px;
  margin: 0 auto 32px;
}
.newsletter__form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 520px;
  margin: 0 auto 16px;
}
.newsletter__form input[type="email"] {
  flex: 1 1 240px;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--dark-rule);
  background: rgba(246,241,244,0.06);
  color: var(--dark-txt);
  font-family: var(--f);
  font-size: 15px;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.newsletter__form input[type="email"]::placeholder { color: rgba(246,241,244,0.4); }
.newsletter__form input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(246,241,244,0.1);
  box-shadow: 0 0 0 4px rgba(254,26,173,0.15);
}
.newsletter__note {
  font-size: 12px;
  color: rgba(246,241,244,0.45);
  margin: 0;
}

/* ============================================================
   PODCAST (unused — kept in CSS for future)
   ============================================================ */
.podcast { background: var(--paper-2); }
.podcast__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 820px) { .podcast__inner { grid-template-columns: 1fr; } }
.podcast__listen {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}
.podcast__cover { display: flex; justify-content: center; }
.podcast__cover-inner {
  width: min(380px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(254,26,173,0.35), transparent 60%),
    radial-gradient(80% 60% at 0% 100%, rgba(255,118,0,0.3), transparent 60%),
    var(--dark);
  color: var(--dark-txt);
  box-shadow: 0 20px 50px rgba(15,15,16,0.2);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  text-align: center;
}
.podcast__cover-the {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .34em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}
.podcast__cover-title {
  font-weight: 800;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0;
}
.podcast__cover-with {
  margin-top: 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .18em;
  color: rgba(246,241,244,0.72);
}

/* ============================================================
   BOOK
   ============================================================ */
.book { background: var(--paper); }
.book__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 820px) { .book__inner { grid-template-columns: 1fr; } }
.book__signup {
  display: flex;
  gap: 10px;
  margin: 10px 0 10px;
  max-width: 480px;
  flex-wrap: wrap;
}
.book__signup input[type="email"] {
  flex: 1 1 220px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--rule);
  font-size: 15px;
  font-family: var(--f);
  background: var(--paper);
  color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.book__signup input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(254,26,173,0.12);
}
.book__note { font-size: 13px; color: var(--text-mute); margin: 0; }

.book__cover { display: flex; justify-content: center; }
.book__cover-inner {
  width: min(300px, 100%);
  aspect-ratio: 2 / 3;
  border-radius: 4px 10px 10px 4px;
  background: var(--dark);
  color: var(--dark-txt);
  padding: 40px 28px 28px;
  box-shadow: 0 20px 50px rgba(15,15,16,0.2);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.book__cover-inner::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 6px;
  background: var(--grad-vert);
}
.book__cover-404 {
  font-weight: 800;
  font-size: clamp(60px, 8vw, 96px);
  line-height: 1;
  letter-spacing: -0.035em;
}
.book__cover-title {
  font-weight: 700;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 6px 0 18px;
  letter-spacing: -0.015em;
}
.book__cover-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(246,241,244,0.72);
  line-height: 1.6;
  margin-top: auto;
  margin-bottom: 12px;
}
.book__cover-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--dark-txt);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--paper); }
.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 820px) { .contact__inner { grid-template-columns: 1fr; } }

.contact__direct {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
}
.contact__direct li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
}
.contact__direct li span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.contact__direct a { color: var(--ink); font-weight: 500; }
.contact__direct a:hover {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact__form {
  background: var(--paper-2);
  padding: 36px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--rule);
}
.form__row { margin-bottom: 20px; display: flex; flex-direction: column; }
.form__row label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 8px;
}
.form__row input,
.form__row select,
.form__row textarea {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--rule);
  font-size: 15px;
  font-family: var(--f);
  background: var(--paper);
  color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease;
  width: 100%;
}
.form__row input:focus,
.form__row select:focus,
.form__row textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(254,26,173,0.1);
}
.form__row textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.form__note {
  margin: 20px 0 0;
  padding: 14px 18px;
  background: rgba(254,26,173,0.08);
  border-radius: 10px;
  color: var(--ink);
  font-size: 14px;
  text-align: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: rgba(246,241,244,0.75);
  padding-top: 72px;
}
.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 48px;
  padding-bottom: 56px;
}
@media (max-width: 820px) { .footer__inner { grid-template-columns: 1fr; } }

.footer__wordmark {
  display: inline-block;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--dark-txt);
  margin-bottom: 10px;
}
.footer__tag {
  font-size: 13px;
  color: rgba(246,241,244,0.5);
  margin: 0;
  font-family: ui-monospace, 'JetBrains Mono', monospace;
  letter-spacing: 0.02em;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 520px) { .footer__cols { grid-template-columns: 1fr 1fr; } }
.footer__col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 14px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: 10px; font-size: 14px; }
.footer__col a { color: rgba(246,241,244,0.72); transition: color .18s ease; }
.footer__col a:hover { color: var(--accent); }

.footer__bottom {
  border-top: 1px solid var(--dark-rule);
  padding: 20px 0;
  font-size: 12px;
  color: rgba(246,241,244,0.4);
}
.footer__bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
.footer__bottom p { margin: 0; }

/* ============================================================
   Reveal on scroll + reduced motion
   ============================================================ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Pure-CSS modal (privacy popup) — uses :target
   ============================================================ */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(23,19,28,0.72);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  z-index: 200;
  padding: 20px;
  overflow-y: auto;
  animation: modal-fade .25s ease;
}
.modal-backdrop:target {
  display: flex;
  align-items: center;
  justify-content: center;
}
@keyframes modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal {
  background: var(--paper);
  color: var(--ink);
  padding: 48px 44px 40px;
  width: 100%;
  max-width: 620px;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: var(--radius-xl);
  position: relative;
  box-shadow: 0 40px 100px rgba(0,0,0,0.4);
  animation: modal-slide .3s ease;
}
@keyframes modal-slide {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--ink);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
}
.modal__close:hover {
  background: var(--ink);
  color: var(--paper);
  transform: rotate(90deg);
}
.modal__title {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.modal__lede {
  font-size: 17px;
  color: var(--text-mute);
  margin: 0 0 24px;
}
.modal h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 20px 0 8px;
}
.modal p { margin: 0 0 10px; font-size: 15px; line-height: 1.55; }
.modal p a { color: var(--accent); border-bottom: 1.5px solid rgba(254,26,173,0.3); }
.modal p a:hover { border-color: var(--accent); }
.modal__footer {
  font-size: 12px;
  color: var(--text-mute);
  margin: 28px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}

/* ============================================================
   Legal pages (privacy, terms) — fallback for direct URL access
   ============================================================ */
.legal { padding: 120px 0; background: var(--paper); min-height: 70vh; }
.legal__inner { max-width: 720px; margin: 0 auto; }
.legal__lede {
  font-size: clamp(18px, 1.4vw, 20px);
  color: var(--text-mute);
  margin: 0 0 40px;
}
.legal h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
}
.legal p { margin: 0 0 14px; color: var(--ink); }
.legal p a { color: var(--accent); border-bottom: 1.5px solid rgba(254,26,173,0.3); }
.legal p a:hover { border-color: var(--accent); }
.legal__back { margin-top: 56px; font-weight: 500; }

/* ============================================================
   404
   ============================================================ */
.err-404 {
  background: var(--dark);
  color: var(--dark-txt);
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.err__inner { width: 100%; }
.err__code {
  font-size: clamp(120px, 20vw, 240px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0 0 12px;
}
.err__code .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.err__title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  color: var(--dark-txt);
}
.err__lede {
  color: var(--dark-mute);
  font-size: 18px;
  margin: 0 0 32px;
  max-width: 540px;
}
