/* Fortuna Ventures - V3 public styles (dark automotive) */
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/manrope-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/manrope-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/manrope-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/manrope-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/manrope-latin-800-normal.woff2') format('woff2');
}

:root {
  --bg: #0a0b0e;
  --bg-elev: #12141a;
  --bg-panel: #161922;
  --text: #e9ecf2;
  --muted: #a0a8b8;
  --faint: #6e7687;
  --line: rgba(233, 236, 242, 0.1);
  --line-strong: rgba(233, 236, 242, 0.18);
  --accent: #5b9cff;
  --accent-soft: rgba(91, 156, 255, 0.14);
  --accent-ink: #061018;
  --ok: #3ecf8e;
  --warn: #e6b35a;
  --danger: #ff6b6b;
  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 22px;
  --shell: 1160px;
  --gutter: clamp(18px, 4vw, 36px);
  --nav-h: 72px;
  --font: Manrope, system-ui, -apple-system, Segoe UI, sans-serif;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --fv-cookie-h: 0px;
  --fv-bar-h: 0px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #8bb8ff;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 16px;
  z-index: 10000;
  font-weight: 700;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: var(--gutter);
  top: 10px;
}

.shell {
  width: min(100% - 2 * var(--gutter), var(--shell));
  margin-inline: auto;
}

/* ----- Header ----- */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(10, 11, 14, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(10, 11, 14, 0.92);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100% - 2 * var(--gutter), var(--shell));
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
}

.brand-word {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  font-size: 0.92rem;
}

.brand-word span:last-child {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle-bars {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 550;
  padding: 8px 12px;
  border-radius: 999px;
}

.nav-menu a:hover,
.nav-menu a[aria-current='page'] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-phone {
  color: var(--text);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.92rem;
  white-space: nowrap;
}

.nav-phone:hover {
  color: var(--accent);
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn-solid {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-solid:hover {
  background: #8bb8ff;
  color: var(--accent-ink);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ----- Typography ----- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}

.display {
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 0 0 18px;
}

.display em {
  font-style: normal;
  color: var(--accent);
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
  max-width: 58ch;
  margin: 0 0 28px;
}

h1,
h2,
h3,
h4 {
  letter-spacing: -0.025em;
  line-height: 1.15;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  margin: 0 0 14px;
}

h3 {
  font-size: 1.2rem;
  margin: 0 0 8px;
}

p {
  margin: 0 0 1em;
}

.muted {
  color: var(--muted);
}

.fine {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ----- Sections ----- */
.band {
  padding: clamp(48px, 8vw, 96px) 0;
  position: relative;
}

.band-tight {
  padding: clamp(28px, 5vw, 48px) 0;
}

.band-head {
  display: grid;
  gap: 10px;
  margin-bottom: clamp(28px, 4vw, 44px);
  max-width: 46rem;
}

.band-head.wide {
  max-width: none;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .band-head.split-head {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
    gap: 40px;
    max-width: none;
  }
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ----- Hero ----- */
.hero {
  padding: clamp(40px, 7vw, 88px) 0 clamp(28px, 5vw, 48px);
}

.hero-grid {
  display: grid;
  gap: 36px;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: end;
    gap: 48px;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-note {
  font-size: 0.92rem;
  color: var(--faint);
}

.hero-panel {
  background: linear-gradient(160deg, var(--bg-panel), #0e1118 70%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
}

.hero-panel .kpi {
  display: grid;
  gap: 14px;
}

.kpi-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.kpi-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.kpi-row strong {
  color: var(--text);
  font-weight: 700;
}

.kpi-row span {
  color: var(--muted);
  text-align: right;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid var(--line-strong);
  color: var(--muted);
}

.tag.dev {
  color: var(--warn);
  border-color: rgba(230, 179, 90, 0.35);
  background: rgba(230, 179, 90, 0.08);
}

.tag.live {
  color: var(--ok);
  border-color: rgba(62, 207, 142, 0.35);
  background: rgba(62, 207, 142, 0.08);
}

/* ----- Proof strip ----- */
.proof {
  display: grid;
  gap: 14px;
  padding: 22px 0;
  border-block: 1px solid var(--line);
}

@media (min-width: 800px) {
  .proof {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

.proof-item {
  font-size: 0.95rem;
  color: var(--muted);
}

.proof-item strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

/* ----- Audience chips ----- */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  border: 1px solid var(--line-strong);
  background: var(--bg-elev);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ----- Cases ----- */
.case-stack {
  display: grid;
  gap: 28px;
}

@media (min-width: 900px) {
  .case-stack.asymmetric {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: stretch;
  }
  .case-stack.asymmetric .case:first-child {
    transform: translateY(0);
  }
  .case-stack.asymmetric .case:last-child {
    transform: translateY(28px);
  }
}

.case {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.case-media {
  aspect-ratio: 16 / 10;
  background: #0c0e13;
  overflow: hidden;
}

.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Soft-launch: blur preview only; source webp untouched */
.case-media.soft-launch img,
.work-figure.soft-launch img {
  filter: blur(14px);
  transform: scale(1.06);
  transform-origin: center center;
}

.case-media.soft-launch,
.work-figure.soft-launch {
  position: relative;
}

.case-media.soft-launch::after,
.work-figure.soft-launch::after {
  content: 'Coming soon';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  background: rgba(10, 11, 14, 0.72);
  border: 1px solid var(--line-strong);
  pointer-events: none;
  white-space: nowrap;
}


.case-body {
  padding: 22px 22px 24px;
  display: grid;
  gap: 12px;
  flex: 1;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.pill {
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
}

/* ----- Service rows (editorial, not card grid) ----- */
.svc-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.svc-row {
  display: grid;
  gap: 12px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .svc-row {
    grid-template-columns: 72px 1.1fr 1.2fr auto;
    align-items: start;
    gap: 24px;
  }
}

.svc-num {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.svc-row h3 {
  margin: 0;
}

.svc-row p {
  margin: 0;
  color: var(--muted);
}

.svc-row .more {
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}

.svc-row .more:hover {
  color: var(--accent);
}

.svc-row.featured {
  background: var(--bg-panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 26px 22px;
  margin: 18px 0;
}

/* ----- Why / bento ----- */
.bento {
  display: grid;
  gap: 14px;
}

@media (min-width: 800px) {
  .bento {
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .bento .tile-wide {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
  }
}

.tile {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.tile-wide {
  background: linear-gradient(165deg, #152036, var(--bg-elev));
  border-color: rgba(91, 156, 255, 0.25);
}

.tile h3 {
  margin-top: 0;
}

.tile p:last-child {
  margin-bottom: 0;
}

/* ----- Process spine ----- */
.spine {
  display: grid;
  gap: 0;
  position: relative;
}

.spine::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line-strong);
}

@media (min-width: 800px) {
  .spine::before {
    left: 28px;
  }
}

.spine-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 18px 0;
  position: relative;
}

@media (min-width: 800px) {
  .spine-step {
    grid-template-columns: 72px 1fr;
    gap: 28px;
    padding: 22px 0;
  }
  .spine-step:nth-child(even) {
    padding-left: 24px;
  }
}

.spine-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--accent);
  position: relative;
  z-index: 1;
}

/* ----- FAQ ----- */
.faq {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 500;
}

.faq details[open] summary::after {
  content: '–';
}

.faq details p {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 65ch;
}

/* ----- CTA panel ----- */
.cta-panel {
  background: linear-gradient(145deg, #152036 0%, #10131c 55%, #0d1016 100%);
  border: 1px solid rgba(91, 156, 255, 0.28);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 48px);
  box-shadow: var(--shadow);
}

.cta-panel .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 12px;
}

/* ----- Contact layout ----- */
.contact-grid {
  display: grid;
  gap: 36px;
}

@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: start;
  }
}

.aside-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.aside-card + .aside-card {
  margin-top: 14px;
}

.aside-card h3 {
  margin-top: 0;
}

.aside-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.aside-list li {
  display: grid;
  gap: 2px;
}

.aside-list strong {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--faint);
  font-weight: 700;
}

/* ----- Forms ----- */
.field {
  margin-bottom: 16px;
}

.field-row {
  display: grid;
  gap: 14px;
}

@media (min-width: 700px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

.field label,
.field-legend {
  display: block;
  font-weight: 650;
  font-size: 0.92rem;
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #0c0e13;
  color: var(--text);
  font: inherit;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f97a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 40px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.field-error {
  display: none;
  color: var(--danger);
  font-size: 0.85rem;
  margin-top: 6px;
}

.field.invalid .field-error,
fieldset.invalid > .field-error,
.check-group-wrap.invalid > .field-error {
  display: block;
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea,
fieldset.invalid,
.check-group-wrap.invalid {
  border-color: var(--danger);
}

.field-hint {
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--muted);
}

.req {
  color: var(--accent);
}

.fv-form-error,
.fv-spam-error {
  display: none;
  color: var(--danger);
  background: rgba(255, 107, 107, 0.08);
  border: 1px solid rgba(255, 107, 107, 0.35);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin: 0 0 14px;
}

.fv-form-error.is-visible,
.fv-spam-error.is-visible {
  display: block;
}

.fv-form-success {
  text-align: center;
  padding: 28px 18px;
  border: 1px solid rgba(62, 207, 142, 0.35);
  background: rgba(62, 207, 142, 0.08);
  border-radius: var(--radius);
}

.fv-form-success-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(62, 207, 142, 0.18);
  color: var(--ok);
  font-weight: 800;
}

.fv-form-success-actions {
  margin-top: 18px;
}

.fv-hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.fv-turnstile-wrap.invalid .fv-turnstile-widget {
  outline: 2px solid var(--danger);
  outline-offset: 4px;
}

/* ----- Legal prose ----- */
.prose {
  max-width: 68ch;
}

.prose h2 {
  margin-top: 1.6em;
  font-size: 1.35rem;
}

.prose h3 {
  margin-top: 1.3em;
}

.prose ul {
  padding-left: 1.2em;
  color: var(--muted);
}

.prose li {
  margin-bottom: 0.4em;
}

.page-hero {
  padding: clamp(36px, 6vw, 72px) 0 12px;
}

.page-hero .lede {
  margin-bottom: 0;
}

/* ----- Stats ----- */
.stat-row {
  display: grid;
  gap: 16px;
}

@media (min-width: 700px) {
  .stat-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  border-top: 1px solid var(--line-strong);
  padding-top: 14px;
}

.stat strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
  color: var(--text);
}

.stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ----- Footer ----- */
.site-foot {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
  background: #08090c;
}

.foot-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 800px) {
  .foot-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }
}

.foot-brand p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 34ch;
}

.foot-col h4 {
  margin: 0 0 12px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 700;
}

.foot-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.foot-col a {
  color: var(--muted);
  text-decoration: none;
}

.foot-col a:hover {
  color: var(--text);
}

.foot-base {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  color: var(--faint);
  font-size: 0.88rem;
}

.foot-base button {
  background: none;
  border: 0;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ----- Onboarding chrome extras ----- */
.intake-section {
  padding: clamp(32px, 5vw, 64px) 0 96px;
}

.form-progress {
  margin-bottom: 22px;
}

.form-progress-line {
  height: 4px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 14px;
}

.form-progress-fill {
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width 0.25s ease;
}

.form-progress ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.fp {
  text-align: center;
  color: var(--faint);
  font-size: 0.72rem;
}

.fp-dot {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin: 0 auto 4px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-weight: 800;
  font-size: 0.8rem;
}

.fp.active {
  color: var(--text);
}

.fp.active .fp-dot {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

.fp.done .fp-dot {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: rgba(91, 156, 255, 0.4);
}

.fp-label {
  display: none;
}

@media (min-width: 900px) {
  .fp-label {
    display: block;
  }
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.step-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 18px;
}

.choice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  background: #0c0e13;
}

.choice:hover {
  border-color: var(--line-strong);
}

.choice input {
  margin-top: 3px;
}

.check-group,
.choice-list {
  display: grid;
  gap: 8px;
}

.check-group-wrap,
fieldset.field {
  border: 0;
  padding: 0;
  margin: 0 0 16px;
}

.form-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.form-nav .btn.back {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}

.gate-card,
.success-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.gate-card h2 {
  margin-bottom: 10px;
}

.gate-card p {
  color: var(--muted);
}

#co-form-alert {
  display: none;
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 107, 107, 0.08);
  border: 1px solid rgba(255, 107, 107, 0.35);
  color: var(--danger);
}

#co-form-alert.is-visible {
  display: block;
}

#co-form-alert.is-success {
  background: rgba(62, 207, 142, 0.1);
  border-color: rgba(62, 207, 142, 0.35);
  color: var(--ok);
}

#co-review dl {
  display: grid;
  gap: 10px;
}

#co-review dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--faint);
  font-weight: 700;
}

#co-review dd {
  margin: 0 0 8px;
  color: var(--muted);
}

/* ----- Reveal ----- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ----- Mobile nav ----- */
@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-actions .nav-phone {
    display: none;
  }

  .nav-menu {
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: rgba(8, 9, 12, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 24px var(--gutter) 40px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }

  .nav-menu.open {
    transform: none;
  }

  .nav-menu a {
    padding: 14px 12px;
    font-size: 1.05rem;
    border-radius: 12px;
  }

  .case-stack.asymmetric .case:last-child {
    transform: none;
  }
}

/* Work detail */
.work-detail {
  display: grid;
  gap: 28px;
  margin-bottom: clamp(48px, 8vw, 80px);
}

@media (min-width: 900px) {
  .work-detail {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: start;
  }
  .work-detail.reverse {
    grid-template-columns: 0.9fr 1.1fr;
  }
  .work-detail.reverse .work-copy {
    order: -1;
  }
}

.work-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0c0e13;
}

.work-figure img {
  width: 100%;
  height: auto;
}

.fact-list {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.fact-list div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  font-size: 0.95rem;
}

.fact-list dt,
.fact-list .k {
  color: var(--faint);
  font-weight: 650;
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b9cff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.include-grid {
  display: grid;
  gap: 10px;
}

@media (min-width: 700px) {
  .include-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.include-grid li {
  color: var(--muted);
}

.service-block {
  padding: clamp(28px, 4vw, 40px) 0;
  border-bottom: 1px solid var(--line);
}

.service-block:last-of-type {
  border-bottom: 0;
}

.service-block .outcome {
  display: inline-block;
  margin: 8px 0 16px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--text);
  font-size: 0.92rem;
}

.timeline {
  display: grid;
  gap: 14px;
}

@media (min-width: 800px) {
  .timeline {
    grid-template-columns: repeat(5, 1fr);
  }
}

.timeline article {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.timeline h3 {
  font-size: 0.95rem;
  color: var(--accent);
}

.timeline p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.principle-list {
  display: grid;
  gap: 14px;
}

@media (min-width: 800px) {
  .principle-list {
    grid-template-columns: 1fr 1fr;
  }
}

.principle {
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 16px;
}

.principle h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.principle p {
  margin: 0;
  color: var(--muted);
}

.bio-grid {
  display: grid;
  gap: 28px;
}

@media (min-width: 900px) {
  .bio-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
  }
}

.career {
  display: grid;
  gap: 16px;
}

.career-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: start;
}

.career-item strong {
  color: var(--accent);
  font-size: 1.1rem;
}
