:root {
  --bg: #0b0c0e;
  --surface: #12151a;
  --surface-2: #181c23;
  --border: #2a303c;
  --text: #f3f1ed;
  --muted: #b1b8c5;
  --accent: #ff5a1f;
  --accent-bright: #ff7847;
  --accent-ink: #0b0c0e;
  --sans: 'Manrope', system-ui, -apple-system, sans-serif;
  --serif: 'Cormorant Garamond', Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.65 var(--sans);
  overflow-x: visible;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
}

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

button, select, input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
}

h1, h2, h3, h4, p, ol, ul, fieldset {
  margin: 0;
  padding: 0;
}

fieldset {
  border: 0;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 200;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  padding: 12px 20px;
}

.skip-link:focus {
  left: 12px;
}

/* Review bar */
.review-bar {
  background: #161920;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px 4%;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-back {
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

/* Header */
.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 18px 4%;
  border-bottom: 1px solid var(--border);
  background: rgba(11, 12, 14, 0.94);
  position: relative;
  z-index: 40;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
}

.brand-mark {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--text);
}

.brand-sub {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted);
  border-left: 2px solid var(--accent);
  padding-left: 10px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.site-nav a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 0;
  transition: color 0.2s;
}

.site-nav a:hover {
  color: var(--text);
}

.header-cta {
  justify-self: end;
  background: var(--surface-2);
  border: 1px solid var(--accent);
  color: var(--text);
  padding: 10px 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}

.header-cta:hover {
  background: var(--accent);
  color: var(--accent-ink);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  padding: 8px 12px;
  min-height: 44px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

/* Hero — Imposing Full-Bleed Dark Garage + Bottom Spec Rail */
.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: #090a0d;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: radial-gradient(circle at 72% 45%, #331c12 0%, #12151c 52%, #090a0d 100%);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 12, 14, 0.94) 0%, rgba(11, 12, 14, 0.78) 44%, rgba(11, 12, 14, 0.18) 78%, rgba(11, 12, 14, 0.55) 100%),
    linear-gradient(180deg, rgba(11, 12, 14, 0.35) 0%, transparent 45%, rgba(11, 12, 14, 0.92) 100%);
}

.hero-coord {
  position: absolute;
  top: 28px;
  right: 4%;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text);
  background: rgba(11, 12, 14, 0.78);
  border: 1px solid var(--border);
  padding: 6px 12px;
}

.hero-content {
  padding: 78px 4% 48px;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.signal-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  display: inline-block;
  box-shadow: 0 0 12px var(--accent);
}

.hero h1 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(54px, 7.6vw, 118px);
  line-height: 0.88;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  margin: 22px 0 24px;
  color: var(--text);
}

.hero h1 .accent-stroke {
  color: var(--accent-bright);
  display: inline-block;
}

.hero-lead {
  font-size: 16px;
  line-height: 1.7;
  color: #d7dbe2;
  max-width: 540px;
  margin-bottom: 34px;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 26px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  transition: transform 0.2s, background 0.2s;
}

.btn-primary:hover {
  background: var(--accent-bright);
  transform: translateY(-2px);
}

.btn-arrow {
  font-size: 18px;
  line-height: 1;
}

.btn-ghost {
  background: rgba(18, 21, 26, 0.85);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 22px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
}

.btn-ghost:hover {
  border-color: var(--text);
}

/* Bottom Spec Rail */
.spec-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  background: rgba(14, 16, 20, 0.92);
  backdrop-filter: blur(8px);
}

.spec-cell {
  padding: 20px 24px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spec-cell:last-child {
  border-right: 0;
}

.spec-index {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-bright);
}

.spec-val {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
}

.spec-meta {
  font-size: 12px;
  color: var(--muted);
}

/* Section Headers */
.services-section,
.diag-section,
.process-section,
.faq-section {
  padding: 96px 4%;
  border-bottom: 1px solid var(--border);
}

.section-header {
  max-width: 1360px;
  margin: 0 auto 52px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

.section-header h2,
.diag-controls h2,
.process-copy h2,
.faq-intro h2 {
  font-size: clamp(38px, 4.6vw, 68px);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-top: 14px;
}

.section-header h2 em,
.diag-controls h2 em,
.process-copy h2 em,
.faq-intro h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.01em;
  color: #d7dbe2;
}

.section-intro {
  max-width: 440px;
  font-size: 14px;
  color: var(--muted);
}

/* Numbered Horizontal Service Rows */
.service-rows {
  max-width: 1360px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.service-row {
  display: grid;
  grid-template-columns: 96px 1.6fr 0.9fr auto;
  gap: 28px;
  align-items: center;
  padding: 32px 20px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.service-row:hover {
  background: var(--surface);
}

.row-num {
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--accent-bright);
  font-variant-numeric: tabular-nums;
}

.row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.row-tags span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 4px 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--muted);
}

.row-main h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.row-main p {
  font-size: 14px;
  color: var(--muted);
  max-width: 600px;
}

.row-metrics {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 1px solid var(--border);
  padding-left: 24px;
}

.metric-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.metric-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.metric-time {
  font-size: 12px;
  color: var(--muted);
}

.row-select-btn {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 13px 18px;
  min-height: 46px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.row-select-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

/* Interactive Diagnostic Selector */
.diag-section {
  background: var(--surface);
}

.diag-grid {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.diag-desc {
  color: var(--muted);
  margin: 18px 0 32px;
  max-width: 580px;
}

.diag-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 4px;
}

.select-wrap select {
  width: 100%;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 15px 16px;
  min-height: 52px;
  font-size: 15px;
  font-weight: 600;
}

.radio-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.radio-card {
  position: relative;
  cursor: pointer;
}

.radio-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  min-height: 76px;
  transition: border-color 0.2s, background 0.2s;
}

.radio-card-body strong {
  font-size: 14px;
  color: var(--text);
}

.radio-card-body small {
  font-size: 12px;
  color: var(--muted);
}

.radio-card input:checked + .radio-card-body {
  border-color: var(--accent);
  background: #1b1716;
  box-shadow: inset 3px 0 0 var(--accent);
}

.radio-card input:focus-visible + .radio-card-body {
  outline: 3px solid var(--accent-bright);
  outline-offset: 2px;
}

.mode-pills {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mode-pill {
  position: relative;
  cursor: pointer;
}

.mode-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mode-pill span {
  display: block;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
}

.mode-pill input:checked + span {
  border-color: var(--accent);
  background: #1b1716;
  color: var(--text);
  font-weight: 700;
}

.mode-pill input:focus-visible + span {
  outline: 3px solid var(--accent-bright);
  outline-offset: 2px;
}

/* Diagnostic Output Box */
.diag-output {
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  padding: 36px;
}

.output-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.output-code {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-bright);
}

.output-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 4px 9px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
}

.output-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 6px;
}

.output-subtitle {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}

.output-range-box {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px;
  margin-bottom: 24px;
}

.range-caption {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.range-value {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent-bright);
  margin: 8px 0 12px;
  font-variant-numeric: tabular-nums;
}

.range-sub {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.range-sub strong {
  color: var(--text);
}

.checklist-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 12px;
}

.output-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.output-checklist li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--text);
}

.output-checklist li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent-bright);
}

.illustrative-note {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* Dark Editorial Process */
.process-layout {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.process-schematic {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px;
}

.schematic-header,
.schematic-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.schematic-header {
  margin-bottom: 16px;
}

.schematic-footer {
  margin-top: 16px;
}

.schematic-svg {
  width: 100%;
  height: auto;
  background: #0b0d11;
}

.process-steps {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.process-steps li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.process-steps li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.step-idx {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-bright);
  padding-top: 4px;
}

.process-steps h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.process-steps p {
  font-size: 14px;
  color: var(--muted);
}

/* FAQ */
.faq-container {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.faq-intro p:not(.eyebrow) {
  color: var(--muted);
  margin-top: 16px;
  max-width: 380px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
}

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

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

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--accent-bright);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-body {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* Footer */
.site-footer {
  background: #07080a;
  padding: 56px 4% 28px;
}

.footer-top {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

.footer-brand {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}

.footer-tagline {
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-nav a:hover {
  color: var(--accent-bright);
}

.footer-bottom {
  max-width: 1360px;
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
}

.footer-back {
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Tablet & Mobile Responsive */
@media (max-width: 1024px) {
  .spec-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .spec-cell:nth-child(2) {
    border-right: 0;
  }
  .spec-cell:nth-child(1),
  .spec-cell:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }
  .service-row {
    grid-template-columns: 64px 1fr;
    gap: 18px;
  }
  .row-metrics {
    grid-column: 2;
    border-left: 0;
    padding-left: 0;
    padding-top: 8px;
  }
  .row-action {
    grid-column: 2;
  }
  .diag-grid,
  .process-layout,
  .faq-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .review-bar {
    font-size: 10px;
    padding: 8px 16px;
  }
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 14px 16px;
    gap: 12px;
  }
  .brand-sub,
  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
  }
  .site-nav.open {
    display: flex;
  }
  .site-nav a {
    padding: 12px 8px;
    font-size: 13px;
  }

  /* Mobile text outside photo so subject is never overlapped */
  .hero {
    min-height: 0;
  }
  .hero-media {
    position: relative;
    inset: auto;
    height: 300px;
    z-index: 1;
  }
  .hero-img {
    object-position: center center;
  }
  .hero-overlay {
    background: linear-gradient(180deg, transparent 65%, var(--bg) 100%);
  }
  .hero-coord {
    top: 12px;
    right: 12px;
    font-size: 9px;
    padding: 5px 8px;
  }
  .hero-content {
    padding: 24px 16px 36px;
    background: var(--bg);
  }
  .hero h1 {
    font-size: clamp(40px, 12vw, 62px);
    margin: 16px 0;
  }
  .hero-lead {
    font-size: 14px;
    margin-bottom: 24px;
  }
  .btn-primary,
  .btn-ghost {
    width: 100%;
    justify-content: space-between;
  }
  .spec-rail {
    grid-template-columns: 1fr;
  }
  .spec-cell {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding: 16px;
  }
  .spec-cell:last-child {
    border-bottom: 0;
  }

  .services-section,
  .diag-section,
  .process-section,
  .faq-section {
    padding: 64px 16px;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
  }
  .service-row {
    grid-template-columns: 1fr;
    padding: 24px 0;
    gap: 12px;
  }
  .row-metrics,
  .row-action {
    grid-column: 1;
  }
  .radio-cards {
    grid-template-columns: 1fr;
  }
  .diag-output {
    padding: 24px 18px;
  }
  .process-steps li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .footer-top {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
