* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #fafafa;
  --bg-elev: #ffffff;
  --line: #e5e5e5;
  --line-2: #d4d4d4;
  --text: #0a0a0a;
  --muted: #555555;
  --dim: #999999;
  --accent: #0a0a0a;
  --nav-bg: rgba(250,250,250,0.7);
}

html[data-theme="dark"] {
  --bg: #0a0a0a;
  --bg-elev: #111111;
  --line: #1f1f1f;
  --line-2: #2a2a2a;
  --text: #fafafa;
  --muted: #888888;
  --dim: #555555;
  --accent: #ffffff;
  --nav-bg: rgba(10,10,10,0.6);
  --icon-filter: invert(1);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scrollbar-gutter: stable;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
  max-width: 100vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

a { color: inherit; text-decoration: none; }

/* ---- Nav ---- */
nav.top {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-self: center;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-self: end;
}

.nav-toggle {
  display: none;
  background: var(--text);
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--bg);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s, transform 0.2s;
}
.nav-toggle:hover { opacity: 0.88; }
.nav-toggle:active { transform: translateY(1px); }
.nav-toggle span {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  background: var(--bg);
  transition: background 0.12s cubic-bezier(.4,0,.2,1) 0.18s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--bg);
  transition: transform 0.18s cubic-bezier(.4,0,.2,1), top 0.14s cubic-bezier(.4,0,.2,1) 0.18s;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle.open span { background: transparent; transition: background 0.1s cubic-bezier(.4,0,.2,1); }
.nav-toggle.open span::before {
  top: 0;
  transform: rotate(45deg);
  transition: top 0.14s cubic-bezier(.4,0,.2,1), transform 0.18s cubic-bezier(.4,0,.2,1) 0.14s;
}
.nav-toggle.open span::after {
  top: 0;
  transform: rotate(-45deg);
  transition: top 0.14s cubic-bezier(.4,0,.2,1), transform 0.18s cubic-bezier(.4,0,.2,1) 0.14s;
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 100;
  padding: 100px 48px 28px;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.nav-mobile.open {
  display: flex;
  opacity: 1;
}

.nav-mobile-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 24px;
  flex: 1;
}
.nav-mobile-link {
  font-size: clamp(36px, 9vw, 48px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--muted);
  padding: 6px 0 6px 56px;
  position: relative;
  transition: color 0.2s;
}
.nav-mobile-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background-image: url('assets/7c1a9b4f23.svg');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.2s ease;
  filter: var(--icon-filter, none);
}
.nav-mobile-link:hover { color: var(--text); }
.nav-mobile-link:hover::before { opacity: 1; }
.nav-mobile-link.active { color: var(--text); }
.nav-mobile-link.active::before {
  opacity: 1;
  background-image: url('assets/9e2f5d8b14.svg');
}

.nav-mobile-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  padding-top: 16px;
  border-top: 1px solid var(--line);
  gap: 16px;
  flex-wrap: wrap;
}
.nav-mobile-foot .theme-toggle { margin: 0; }

body.menu-open { overflow: hidden; }

@media (max-width: 640px) {
  .nav-inner { padding: 16px 20px; }
  .nav-mobile { padding: 88px 20px 24px; }
}

.footer-loc-active {
  color: var(--text);
  font-weight: 600;
}

.logo {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  transition: opacity 0.2s, transform 0.2s;
}
.logo:hover { opacity: 0.85; transform: translateY(-1px); }
.logo:active { transform: translateY(0); }

.logo-mark {
  width: 10px; height: 10px;
  background: var(--text);
  border-radius: 50%;
  display: inline-block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--muted);
  transition: color 0.2s;
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-left: 18px;
}

.nav-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-image: url('assets/7c1a9b4f23.svg');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.55;
  transition: opacity 0.2s ease, background-image 0s;
  filter: var(--icon-filter, none);
}

.nav-link:hover { color: var(--text); }
.nav-link:hover::before { opacity: 1; }

.nav-link.active { color: var(--text); }
.nav-link.active::before {
  opacity: 1;
  background-image: url('assets/9e2f5d8b14.svg');
}

.nav-cta {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--bg);
  background: var(--text);
  padding: 10px 18px;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { opacity: 0.85; transform: translateY(-1px); }
.nav-cta:active { transform: translateY(0); }

/* "Reach out" → "We'll be in touch" swap once a brief has been submitted.
   Toggled via html.has-submitted from the inline head script + handleSubmit. */
.nav-cta-submitted { display: none; }
html.has-submitted .nav-cta-default { display: none; }
html.has-submitted .nav-cta-submitted { display: inline; }

/* ---- Hero (landing only) ---- */
section.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(80px, 10vh, 120px) 48px 40px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  width: clamp(280px, 32vw, 420px);
  aspect-ratio: 1 / 1;
  pointer-events: none;
  mix-blend-mode: difference;
  margin: 0 auto -3vh;
}
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 720px) {
  .hero-bg {
    width: clamp(200px, 50vw, 320px);
    margin: 0 auto -2vh;
  }
}

h1.hero-title {
  font-size: clamp(36px, 5.2vw, 84px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-align: center;
  max-width: 1280px;
  margin: 0 auto 18px;
  white-space: nowrap;
  font-variant-ligatures: common-ligatures;
  font-feature-settings: "liga" 1, "kern" 1;
}

@media (max-width: 720px) {
  h1.hero-title { white-space: normal; font-size: clamp(26px, 7.2vw, 44px); letter-spacing: -0.025em; }
}

h1.hero-title .accent {
  font-style: normal;
  font-weight: inherit;
  letter-spacing: inherit;
}

.hero-sub {
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 500;
  color: var(--muted);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 32px;
  line-height: 1.5;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--bg);
  background: var(--text);
  padding: 14px 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-primary svg { transition: transform 0.25s; }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  border: 1px solid var(--line-2);
  padding: 14px 24px;
  transition: border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn-ghost:hover { border-color: var(--text); background: rgba(127,127,127,0.05); }

/* ---- Page sections (interior pages) ---- */
.page {
  padding: 140px 48px 80px;
}
.page > section + section {
  margin-top: 80px;
  padding-top: 80px;
  border-top: 1px solid var(--line);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 36px;
  gap: 14px;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--muted);
}

.section-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  max-width: 720px;
}

.section-title .accent {
  font-style: normal;
  font-weight: inherit;
}

.section-lede {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 640px;
}

/* ---- About-style block ---- */
.about-block {
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}
.container > section + section > .about-block {
  margin-top: 96px;
}

.about-block.with-visual {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: center;
  text-align: left;
  max-width: 1240px;
}
.about-block.with-visual .about-statement { text-align: left; }
.about-block.with-visual .about-eyebrow { display: inline-flex; }

.about-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  mix-blend-mode: difference;
}
.about-visual video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.about-block.with-visual.reverse { grid-template-columns: 1.05fr 1fr; }
.about-block.with-visual.reverse .about-visual { order: 2; }
.about-block.with-visual.reverse > .reveal,
.about-block.with-visual.reverse > div:not(.about-visual) { order: 1; }

.about-visual.placeholder {
  mix-blend-mode: normal;
  border: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dim);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(127,127,127,0.03);
}

@media (max-width: 900px) {
  .about-block.with-visual,
  .about-block.with-visual.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-block.with-visual.reverse .about-visual { order: 0; }
  .about-visual { max-width: 280px; }

  /* Center stacked content for cohesion with homepage hero / scenarios / process header */
  .about-block.with-visual > .reveal { text-align: center; }
  .about-block.with-visual .about-statement { text-align: center; }
  .about-block.with-visual .about-eyebrow { align-self: center; }
}

.about-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.about-statement {
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--text);
  text-wrap: balance;
}
.about-statement .dim {
  color: var(--muted);
}

/* ---- Process strip ---- */
.process-header,
.bento-header {
  text-align: center;
  max-width: 720px;
  margin: 96px auto 56px;
}

/* ---- Bento services grid ---- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.bento-card {
  background: var(--bg);
  padding: 32px 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
  transition: background 0.25s ease;
}
.bento-card:hover { background: var(--bg-elev); }
.bento-icon {
  width: 28px;
  height: 28px;
  color: var(--text);
  margin-bottom: 16px;
  display: block;
  flex-shrink: 0;
}
.bento-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--text);
  line-height: 1.2;
}
.bento-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}
@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-icon,
  .process-icon { width: 34px; height: 34px; margin-bottom: 20px; }
  .bento-card { padding: 26px 22px 28px; }
  .process-step { padding: 26px 22px 30px; }
}
.process-title {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 14px 0 18px;
  line-height: 1.1;
}
.process-sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 580px;
  margin: 0 auto;
}
.process-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.process-step {
  padding: 28px 24px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 220px;
  transition: background 0.25s ease;
  position: relative;
}
.process-step:hover { background: rgba(127,127,127,0.04); }
.process-num {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--dim);
  margin: 0;
}
.process-icon {
  width: 28px;
  height: 28px;
  color: var(--text);
  margin-bottom: 16px;
  display: block;
  flex-shrink: 0;
}
.process-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.012em;
  margin-bottom: 8px;
  line-height: 1.2;
}
.process-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}
.process-structure-line {
  text-align: center;
  font-size: 15px;
  color: var(--muted);
  max-width: 620px;
  margin: 56px auto 0;
  line-height: 1.55;
  text-wrap: balance;
}

/* ---- Scenarios list (collapsible) ---- */
.scenarios {
  border-top: 1px solid var(--line);
}

.scenario {
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease;
}
.scenario:hover { background: rgba(127,127,127,0.03); }

.scenario-summary {
  display: grid;
  width: 100%;
  grid-template-columns: 64px 1fr 32px;
  gap: 24px;
  padding: 24px 16px;
  align-items: center;
  cursor: pointer;
  background: transparent;
  border: none;
  font-family: inherit;
  text-align: left;
  color: inherit;
}

.scenario-num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--dim);
}

.scenario-headline {
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--text);
}

.scenario-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  width: 18px;
  height: 18px;
  color: var(--text);
  transition: transform 0.3s cubic-bezier(.4,.0,.2,1);
}
.scenario-toggle svg { display: block; }
.scenario.is-open .scenario-toggle { transform: rotate(180deg); }

.scenario-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(.4,.0,.2,1);
}
.scenario.is-open .scenario-body { grid-template-rows: 1fr; }

.scenario-body > div {
  overflow: hidden;
}

.scenario-detail {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--muted);
  line-height: 1.6;
  max-width: 880px;
  padding: 0 16px 28px 104px;
}

@media (max-width: 720px) {
  .scenario-summary { grid-template-columns: 36px 1fr 24px; gap: 14px; padding: 20px 12px; }
  .scenario-detail { padding: 0 12px 22px 62px; }
}

/* ---- Contact / Book a call ---- */
.cta {
  padding: 140px 48px 80px;
  text-align: center;
  position: relative;
}
.cta .container { width: 100%; }

.cta-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.0;
  margin-bottom: 14px;
}

.cta-sub {
  font-size: 15px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.55;
}

.cta-form {
  transition: opacity 0.32s cubic-bezier(.4,0,.2,1), transform 0.32s cubic-bezier(.4,0,.2,1);
}
.cta-form.fading {
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
}
.cta-success {
  display: none;
  max-width: 640px;
  margin: 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s cubic-bezier(.16,1,.3,1), transform 0.55s cubic-bezier(.16,1,.3,1);
}
.cta-success.visible { display: flex; }
.cta-success.in { opacity: 1; transform: translateY(0); }
.cta-form.hidden { display: none; }
/* When the success state is visible, hide the page intro so we don't show
   "Let's talk." above "Brief sent." simultaneously. */
main.cta:has(.cta-success.visible) .cta-title,
main.cta:has(.cta-success.visible) .cta-sub { display: none; }
.cta-success-visual {
  width: clamp(240px, 26vw, 320px);
  aspect-ratio: 1 / 1;
  mix-blend-mode: difference;
}
.cta-success-visual video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.cta-success-headline {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.cta-success-detail {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 480px;
}
.cta-success-cta {
  margin-top: 16px;
}

.cta-form {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field-full { grid-column: 1 / -1; }

.field-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--muted);
}
.field-label .required {
  color: var(--text);
}

.field input,
.field textarea,
.field select {
  background: transparent;
  border: 1px solid var(--line-2);
  padding: 12px 16px;
  font-size: 16px;
  color: var(--text);
  font-family: inherit;
  outline: none;
  border-radius: 0;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.field input:hover,
.field textarea:hover,
.field select:hover { border-color: var(--muted); }
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--text); }
.field input::placeholder,
.field textarea::placeholder { color: var(--dim); }
.field textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.5;
}
/* ---- Custom dropdown (replaces native select for matching site UI) ---- */
.dropdown {
  position: relative;
  width: 100%;
}
.dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  border: 1px solid var(--line-2);
  padding: 12px 16px;
  font-size: 16px;
  color: var(--text);
  font-family: inherit;
  font-weight: 500;
  outline: none;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s;
}
.dropdown-trigger:hover { border-color: var(--muted); }
.dropdown-trigger:focus-visible { border-color: var(--text); }
.dropdown.open .dropdown-trigger { border-color: var(--text); }
.dropdown-value { flex: 1; }
.dropdown-value.empty { color: var(--dim); }
.dropdown-chevron {
  margin-left: 12px;
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.2s cubic-bezier(.4,0,.2,1);
}
.dropdown.open .dropdown-chevron { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  right: 0;
  background: var(--bg);
  border: 1px solid var(--text);
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 20;
  max-height: 240px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s cubic-bezier(.4,0,.2,1);
}
.dropdown.open .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.dropdown-option {
  padding: 11px 14px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  transition: background 0.12s ease;
}
.dropdown-option:hover { background: rgba(127,127,127,0.08); }
.dropdown-option.selected { background: rgba(127,127,127,0.14); }

.dropdown-other-input {
  display: none;
  width: 100%;
  background: transparent;
  border: 1px solid var(--line-2);
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  font-family: inherit;
  outline: none;
  margin-top: 8px;
  transition: border-color 0.2s;
}
.dropdown-other-input.visible { display: block; }
.dropdown-other-input:hover { border-color: var(--muted); }
.dropdown-other-input:focus { border-color: var(--text); }
.dropdown-other-input::placeholder { color: var(--dim); }

.cta-submit {
  background: var(--text);
  color: var(--bg);
  border: none;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  font-family: inherit;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.2s, transform 0.2s;
}
.cta-submit:hover { opacity: 0.9; transform: translateY(-1px); }
.cta-submit svg { transition: transform 0.25s; }
.cta-submit:hover svg { transform: translateX(3px); }

.form-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* ---- SEO directory (fat footer) ---- */
.seo-footer {
  border-top: 1px solid var(--line);
  padding: 56px 48px 40px;
  background: var(--bg);
}
.seo-footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px 28px;
  max-width: 1280px;
  margin: 0 auto;
}
.seo-footer-col {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.seo-footer-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--text);
  margin-bottom: 12px;
}
.seo-footer-col a {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
  transition: color 0.2s;
  position: relative;
  display: inline-block;
  width: fit-content;
  white-space: nowrap;
}
.seo-footer-col a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s cubic-bezier(.4,0,.2,1);
}
.seo-footer-col a:hover { color: var(--text); }
.seo-footer-col a:hover::after { transform: scaleX(1); }
.seo-footer-meta {
  margin: 40px auto 0;
  max-width: 1280px;
  font-size: 12px;
  color: var(--dim);
  line-height: 1.65;
  text-wrap: pretty;
}
.seo-footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin: 36px auto 0;
  max-width: 1280px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.seo-footer-social a {
  color: var(--dim);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, transform 0.2s;
}
.seo-footer-social a:hover { color: var(--text); transform: translateY(-1px); }
.seo-footer-social a:active { transform: translateY(0); }
.seo-footer-social svg { width: 18px; height: 18px; display: block; }
@media (max-width: 1024px) {
  .seo-footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .seo-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .seo-footer { padding: 44px 20px 32px; }
  .seo-footer-meta { margin-top: 32px; }
}
@media (max-width: 420px) {
  .seo-footer-grid { grid-template-columns: 1fr; }
}

/* ---- Footer ---- */
footer {
  padding: 22px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.footer-clock {
  font-variant-numeric: tabular-nums;
  color: var(--text);
  font-weight: 600;
}
.footer-loc {
  color: var(--dim);
}
.footer-left,
.footer-center,
.footer-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-left { justify-content: flex-start; flex: 1 1 auto; }
.footer-center { justify-content: center; flex: 0 0 auto; }
.footer-right { justify-content: flex-end; gap: 20px; flex: 1 1 auto; }
.footer-right a {
  color: var(--dim);
  transition: color 0.2s;
}
.footer-right a:hover { color: var(--text); }

@media (max-width: 760px) {
  footer { padding: 18px 22px; gap: 12px; flex-direction: column; align-items: flex-start; }
  .footer-left,
  .footer-center,
  .footer-right {
    width: 100%;
    justify-content: flex-start;
    gap: 14px;
  }
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-2);
  background: transparent;
  padding: 0;
}
.theme-toggle button {
  background: transparent;
  border: none;
  color: var(--dim);
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  padding: 7px 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s, background 0.2s;
}
.theme-toggle button:hover { color: var(--text); }
.theme-toggle button.active {
  color: var(--bg);
  background: var(--text);
}
.theme-toggle button svg { width: 11px; height: 11px; }

/* ---- Reveal on scroll ---- */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s cubic-bezier(.16, 1, .3, 1), transform 0.55s cubic-bezier(.16, 1, .3, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Page intro (consistent header for interior pages) ---- */
.page-intro {
  max-width: 880px;
  margin: 0 auto 56px;
  text-align: center;
}
.page-intro .section-eyebrow { display: block; margin-bottom: 14px; }
.page-intro h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 18px;
}
.page-intro h1 .accent { font-weight: inherit; }
.page-intro p {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--muted);
  line-height: 1.55;
  text-wrap: balance;
}

/* ---- Mobile centering for stacked sections ---- */
@media (max-width: 900px) {
  .process-step {
    text-align: center;
    align-items: center;
  }
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .process-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-inner { grid-template-columns: 1fr auto; }
  .nav-center { display: none; }
  .nav-right .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 720px) {
  section.hero {
    padding: 96px 20px 60px;
    justify-content: center;
  }
  .hero-bg { margin: 0 auto -1vh; }
  h1.hero-title { margin-bottom: 14px; }
  .hero-sub { margin-bottom: 24px; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    gap: 10px;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 16px 22px;
  }
  .page { padding: 96px 20px 60px; }
  .cta { padding: 96px 20px 60px; }
  .process-strip { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ---- Legal pages (prose) ---- */
.container-narrow {
  max-width: 760px;
}
.legal-meta {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: 18px;
}
.prose {
  margin-top: 56px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}
.prose h2 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--text);
  margin-top: 36px;
  margin-bottom: 10px;
  line-height: 1.3;
}
.prose h2:first-child { margin-top: 0; }
.prose p {
  margin-bottom: 16px;
  text-wrap: pretty;
}
.prose p:last-child { margin-bottom: 0; }
.prose a {
  color: var(--text);
  border-bottom: 1px solid var(--line-2);
  transition: border-color 0.2s, color 0.2s;
}
.prose a:hover { border-color: var(--text); }

/* ---- Blog post list ---- */
.post-list {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.post-item {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.post-item:first-child { border-top: none; padding-top: 0; }
.post-link {
  display: block;
  color: inherit;
  transition: opacity 0.2s;
}
.post-link:hover { opacity: 0.85; }
.post-meta {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--dim);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.post-title {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--text);
}
.post-excerpt {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 12px;
  text-wrap: pretty;
}
.post-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid currentColor;
}

/* ---- Cookie banner ---- */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  z-index: 250;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s cubic-bezier(.16, 1, .3, 1), transform 0.4s cubic-bezier(.16, 1, .3, 1);
  pointer-events: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}
html[data-theme="dark"] .cookie-banner { box-shadow: 0 8px 32px rgba(0,0,0,0.4); }
.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-banner-text { flex: 1; }
.cookie-banner-text a {
  color: var(--text);
  border-bottom: 1px solid var(--line-2);
}
.cookie-banner-text a:hover { border-color: var(--text); }
.cookie-banner-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.cookie-btn {
  font-family: inherit;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 14px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
}
.cookie-btn:hover { color: var(--text); border-color: var(--text); transform: translateY(-1px); }
.cookie-btn:active { transform: translateY(0); }
.cookie-btn.cookie-btn-primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.cookie-btn.cookie-btn-primary:hover { opacity: 0.85; color: var(--bg); }
@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 14px;
  }
  .cookie-banner-actions { justify-content: flex-end; }
}




































