/* ==========================================================================
   TED'S DENT WORKS — Design System
   Palette: near-black shop floor + racing red + brushed chrome
   Type: Oswald (display/condensed) + IBM Plex Sans (body) + IBM Plex Mono (data)
   Signature: dent-contour diagnostic linework, used across hero & dividers
   ========================================================================== */

:root {
  --black: #0b0b0c;
  --charcoal: #17181a;
  --charcoal-2: #1f2124;
  --steel: #34373c;
  --steel-light: #6e7278;
  --red: #d71920;
  --red-deep: #7f0e13;
  --red-bright: #ff3b3b;
  --chrome: #c9cdd1;
  --chrome-dim: #8a8e93;
  --white: #f5f4f1;
  --ink: #e7e5e0;
  --ink-dim: #a7a49e;

  --font-display: 'Oswald', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --container: 1180px;
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--white);
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: 4.6rem; line-height: 1.02; font-weight: 700; }
h2 { font-size: 2.9rem; line-height: 1.08; }
h3 { font-size: 1.3rem; letter-spacing: 0.03em; }

p { margin: 0 0 1em; color: var(--ink-dim); }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--red);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover { background: var(--red-bright); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--steel-light);
}
.btn-ghost:hover { border-color: var(--red); color: var(--red); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11,11,12,0.88);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
}
.brand small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--red);
  font-weight: 400;
}
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-dim);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); border-color: var(--red); }

.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-phone {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--white);
  letter-spacing: 0.02em;
  display: none;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--white); display: block; }

.nav-mobile-panel {
  display: none;
  position: fixed;
  top: 78px; left: 0; right: 0; bottom: 0;
  background: var(--black);
  z-index: 99;
  padding: 30px 28px;
  overflow-y: auto;
}
.nav-mobile-panel.open { display: block; }
.nav-mobile-panel ul { list-style: none; margin: 0; padding: 0; }
.nav-mobile-panel li { border-bottom: 1px solid var(--charcoal-2); }
.nav-mobile-panel a {
  display: block;
  padding: 18px 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  text-transform: uppercase;
  color: var(--white);
}
.nav-mobile-panel .sub a { padding-left: 16px; font-size: 1rem; color: var(--ink-dim); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}
@media (min-width: 700px) {
  .nav-phone { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 168px 0 110px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 500px at 82% 20%, rgba(215,25,32,0.16), transparent 60%),
    linear-gradient(180deg, var(--black) 0%, var(--charcoal) 100%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, transparent, black 15%, black 70%, transparent);
}
.hero-contour {
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: 620px;
  max-width: 60vw;
  opacity: 0.55;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 720px; }
.hero-sub { font-size: 1.12rem; color: var(--ink-dim); max-width: 540px; }
.hero-actions { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 56px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--chrome-dim);
  letter-spacing: 0.04em;
}
.hero-meta strong { color: var(--white); display: block; font-family: var(--font-display); font-size: 1.6rem; letter-spacing: 0; text-transform: none; }

.page-hero {
  padding: 150px 0 70px;
  background: linear-gradient(180deg, var(--charcoal) 0%, var(--black) 100%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}
.page-hero .eyebrow { margin-bottom: 14px; }
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--steel-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.breadcrumb a:hover { color: var(--red); }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-tight { padding: 70px 0; }
.section-alt { background: var(--charcoal); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--steel), transparent);
  margin: 0;
}

/* ---------- Grids & Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 34px 30px;
  border-radius: var(--radius);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--red); transform: translateY(-3px); }

.service-card { display: flex; flex-direction: column; height: 100%; }
.service-card .num {
  font-family: var(--font-mono);
  color: var(--red);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.service-card h3 { margin-bottom: 12px; }
.service-card p { flex: 1; font-size: 0.95rem; }
.service-card .more {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}
.service-card .more::after { content: "→"; transition: transform 0.2s ease; }
.service-card:hover .more::after { transform: translateX(4px); }

/* ---------- Comparison table (PDR vs Body Shop) ---------- */
.compare {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  overflow: hidden;
}
.compare > div { padding: 30px 26px; border-left: 1px solid var(--steel); }
.compare > div:first-child { border-left: none; }
.compare .col-head {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.compare.featured .col-head.on { color: var(--white); }
.compare > div:nth-child(2) { background: var(--charcoal-2); }
@media (max-width: 860px) {
  .compare { grid-template-columns: 1fr; }
  .compare > div { border-left: none; border-top: 1px solid var(--steel); }
  .compare > div:first-child { border-top: none; }
}
.compare-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .compare-2 { grid-template-columns: 1fr; } }

/* ---------- Process steps ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
@media (max-width: 900px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 8px; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--red);
  display: block;
  margin-bottom: 14px;
  letter-spacing: 0.1em;
}
.step h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: 0.9rem; margin: 0; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--steel);
  border-bottom: 1px solid var(--steel);
}
.stat { padding: 34px 24px; border-left: 1px solid var(--steel); }
.stat:first-child { border-left: none; }
.stat .n { font-family: var(--font-display); font-size: 2.5rem; color: var(--white); display: block; line-height: 1; }
.stat .l { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-dim); margin-top: 8px; display: block; }
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-left: none; }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid var(--steel); }
}

/* ---------- Brand strip (manufacturer certifications) ---------- */
.brand-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.brand-chip {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--chrome);
  border: 1px solid var(--steel);
  padding: 10px 16px;
  border-radius: var(--radius);
}

/* ---------- Testimonial ---------- */
.testimonial {
  border-left: 2px solid var(--red);
  padding: 6px 0 6px 30px;
}
.testimonial p { font-size: 1.15rem; color: var(--ink); font-style: italic; }
.testimonial .who { font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-dim); text-transform: uppercase; letter-spacing: 0.06em; }
.testimonial .who strong { color: var(--white); }

/* ---------- Before/After interactive swatch ---------- */
.ba {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--steel);
  background: var(--charcoal-2);
  cursor: pointer;
}
.ba svg { width: 100%; height: 100%; display: block; }
.ba .ba-label {
  position: absolute; bottom: 14px; left: 14px;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(11,11,12,0.75); padding: 6px 10px; color: var(--white);
}
.ba .dent-lines { transition: opacity 0.4s ease; }
.ba:hover .dent-lines, .ba.revealed .dent-lines { opacity: 0; }
.ba .hint { position: absolute; top: 14px; right: 14px; font-family: var(--font-mono); font-size: 0.65rem; color: var(--ink-dim); letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Areas list ---------- */
.areas { display: flex; flex-wrap: wrap; gap: 10px; }
.area-chip {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink);
  border: 1px solid var(--steel);
  padding: 9px 16px;
  border-radius: var(--radius);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.area-chip:hover { border-color: var(--red); color: var(--white); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--charcoal-2); }
.info-row .k { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); width: 110px; flex-shrink: 0; padding-top: 3px; }
.info-row .v { color: var(--white); font-size: 1rem; }
.info-row .v span { display: block; color: var(--ink-dim); font-size: 0.88rem; margin-top: 2px; }

.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 8px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  background: var(--charcoal-2);
  border: 1px solid var(--steel);
  color: var(--white);
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border-radius: var(--radius);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--red);
}
.form-note { font-family: var(--font-mono); font-size: 0.72rem; color: var(--steel-light); margin-top: 14px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--red-deep), var(--black) 65%);
  padding: 70px 0;
  text-align: center;
}
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { color: var(--ink); max-width: 480px; margin: 0 auto 30px; }

/* ---------- Footer ---------- */
.footer { background: var(--black); border-top: 1px solid var(--charcoal-2); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { font-size: 0.78rem; letter-spacing: 0.1em; color: var(--red); margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: var(--ink-dim); font-size: 0.9rem; }
.footer a:hover { color: var(--white); }
.footer p { font-size: 0.88rem; }
.footer-social { display: flex; gap: 14px; margin-top: 18px; }
.footer-social a {
  width: 34px; height: 34px; border: 1px solid var(--steel); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 0.7rem;
}
.footer-social a:hover { border-color: var(--red); color: var(--red); }
.footer-bottom {
  border-top: 1px solid var(--charcoal-2);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--steel-light); letter-spacing: 0.04em;
}
.footer-bottom a:hover { color: var(--red); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Misc ---------- */
.tag-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.tag {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--chrome-dim); border: 1px solid var(--steel); padding: 6px 12px; border-radius: var(--radius);
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 36px; } }
.list-check { list-style: none; margin: 0; padding: 0; }
.list-check li { padding: 10px 0 10px 28px; position: relative; border-bottom: 1px solid var(--charcoal-2); font-size: 0.95rem; color: var(--ink); }
.list-check li::before { content: "▸"; color: var(--red); position: absolute; left: 0; }

/* ---------- Revanta-inspired editorial refresh ---------- */
:root {
  --black: #10100f;
  --charcoal: #191917;
  --charcoal-2: #292925;
  --steel: #3f403c;
  --steel-light: #85847c;
  --red: #c72d27;
  --red-deep: #781a17;
  --red-bright: #df3b34;
  --chrome: #d8d3c8;
  --chrome-dim: #99958c;
  --white: #f1eee6;
  --ink: #dedbd2;
  --ink-dim: #aaa69d;
  --paper: #e8e4da;
  --paper-ink: #191917;
  --container: 1280px;
}

body {
  background:
    linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(232,228,218,0.045) 50%, transparent calc(50% + 0.5px)),
    var(--black);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

::selection { background: var(--red); color: var(--white); }

h1 {
  font-size: 7.1rem;
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  font-size: 5rem;
  line-height: 0.94;
  letter-spacing: 0;
}

h3 { font-size: 1.9rem; line-height: 1; }

.container { padding-inline: 56px; }

.eyebrow {
  gap: 14px;
  color: var(--chrome-dim);
  font-size: 0.66rem;
  letter-spacing: 0.28em;
}

.eyebrow::before { width: 36px; background: var(--red); }

.btn {
  min-height: 52px;
  justify-content: center;
  border-radius: 8px;
  padding: 15px 25px;
  letter-spacing: 0.12em;
}

.btn::after { content: "↗"; font-size: 1rem; line-height: 1; }
.btn-primary { background: var(--paper); color: var(--paper-ink); }
.btn-primary:hover { background: var(--red); color: var(--white); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(241,238,230,0.28); }
.btn-ghost:hover { background: var(--white); border-color: var(--white); color: var(--black); }

.nav {
  background: rgba(16,16,15,0.76);
  backdrop-filter: blur(18px);
  border-bottom-color: rgba(241,238,230,0.12);
}

.nav-inner { max-width: none; height: 88px; padding-inline: 56px; }
.brand { letter-spacing: 0; }
.brand-mark { width: 40px; height: 40px; }
.nav-links { gap: 34px; }
.nav-links a { border: 0; position: relative; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 1px;
  height: 1px;
  background: var(--red);
  transition: right 0.25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-cta .btn { min-height: 44px; padding: 11px 20px; }
.nav-mobile-panel { top: 88px; background: var(--paper); }
.nav-mobile-panel li { border-color: rgba(25,25,23,0.14); }
.nav-mobile-panel a { color: var(--paper-ink); font-size: 2.8rem; }
.nav-mobile-panel .sub a { color: #69675f; }

.hero {
  min-height: min(960px, 100svh);
  display: grid;
  align-items: end;
  padding: 190px 0 76px;
  background:
    linear-gradient(90deg, rgba(16,16,15,0.98) 0%, rgba(16,16,15,0.85) 51%, rgba(16,16,15,0.2) 100%),
    radial-gradient(circle at 82% 35%, rgba(199,45,39,0.28), transparent 28%),
    linear-gradient(145deg, #151513 20%, #393a36 58%, #121211 100%);
  border-bottom-color: rgba(241,238,230,0.16);
}

.hero::after {
  content: "30";
  position: absolute;
  right: -0.02em;
  bottom: -0.22em;
  font-family: var(--font-display);
  font-size: 36rem;
  line-height: 1;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(241,238,230,0.1);
  pointer-events: none;
}

.hero-grid {
  background-size: 72px 72px;
  background-image:
    linear-gradient(rgba(241,238,230,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241,238,230,0.06) 1px, transparent 1px);
  mask-image: none;
}

.hero-contour {
  right: 2%;
  width: 640px;
  opacity: 0.72;
  transform: translateY(calc(-50% + var(--hero-shift, 0px)));
}
.hero-inner { max-width: 1050px; margin-left: 0; }
.hero-inner h1 { max-width: 1000px; }
.hero-sub { max-width: 610px; margin-top: 28px; font-size: 1.16rem; }
.hero-edition {
  position: absolute;
  right: 0;
  top: 4px;
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  color: var(--chrome-dim);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
}
.hero-edition span { color: var(--red); }
.hero-meta {
  max-width: 780px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(241,238,230,0.2);
  border-bottom: 1px solid rgba(241,238,230,0.2);
}
.hero-meta > div { padding: 20px 24px 20px 0; }
.hero-meta > div + div { border-left: 1px solid rgba(241,238,230,0.2); padding-left: 24px; }
.hero-meta strong { font-size: 2rem; color: var(--white); }

.stats {
  background: var(--paper);
  color: var(--paper-ink);
  border: 0;
}
.stat { padding: 34px 26px; border-color: rgba(25,25,23,0.15); }
.stat .n { color: var(--paper-ink); font-size: 4.9rem; letter-spacing: 0; }
.stat .l { color: #636159; }

.section { padding: 136px 0; border-bottom: 1px solid rgba(241,238,230,0.1); }
.section-tight { padding: 88px 0; }
.section-alt { background: var(--paper); color: var(--paper-ink); }
.section-alt h1, .section-alt h2, .section-alt h3, .section-alt h4 { color: var(--paper-ink); }
.section-alt p { color: #646159; }
.section-alt .eyebrow { color: #6c6961; }
.section-head { max-width: 850px; margin-bottom: 76px; }
.section-head p { max-width: 610px; font-size: 1.05rem; }

.page-hero {
  min-height: 600px;
  display: grid;
  align-items: end;
  padding: 190px 0 80px;
  background:
    linear-gradient(90deg, rgba(16,16,15,0.96), rgba(16,16,15,0.55)),
    repeating-linear-gradient(120deg, transparent 0 88px, rgba(241,238,230,0.055) 89px 90px),
    linear-gradient(145deg, #242421, #111110 72%);
}
.page-hero::after {
  content: "TDW / BAY AREA";
  position: absolute;
  right: 56px;
  bottom: 34px;
  font: 0.65rem/1 var(--font-mono);
  letter-spacing: 0.2em;
  color: var(--steel-light);
}
.page-hero h1 { max-width: 1100px; }
.page-hero .hero-sub { max-width: 670px; }

.grid-3, .grid-2 { gap: 1px; background: rgba(128,125,116,0.35); }
.card {
  border: 0;
  border-radius: 0;
  padding: 48px;
  background: var(--charcoal);
  overflow: hidden;
}
.section-alt .card { background: var(--paper); outline: 1px solid rgba(25,25,23,0.18); }
.card:hover { border: 0; transform: none; }
.service-card { min-height: 390px; position: relative; transition: background 0.3s ease, color 0.3s ease; }
.service-card::after {
  content: "↗";
  position: absolute;
  right: 32px;
  top: 27px;
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}
.service-card:hover { background: var(--red); }
.service-card:hover::after { transform: translate(4px, -4px); }
.service-card:hover h3, .service-card:hover p, .service-card:hover .num, .service-card:hover .more { color: var(--white); }
.service-card .num { margin-bottom: auto; color: var(--red); }
.section-alt .service-card .num { color: var(--red); }
.service-card h3 { max-width: 300px; margin-top: 60px; }
.service-card .more { border: 0; margin-top: 22px; }

.home .section-alt .grid-3 { grid-template-columns: 1.15fr 0.85fr 1fr; }
.home .section-alt .service-card:first-child { grid-row: span 2; min-height: 780px; background: var(--red); }
.home .section-alt .service-card:first-child h3,
.home .section-alt .service-card:first-child p,
.home .section-alt .service-card:first-child .num,
.home .section-alt .service-card:first-child .more { color: var(--white); }

.compare { border-radius: 0; border-color: rgba(241,238,230,0.16); background: transparent; }
.compare > div { padding: 48px; }
.col-head { color: var(--red); }
.list-check li { border-color: rgba(128,125,116,0.2); }
.list-check li::before { content: "+"; }

.process { gap: 1px; background: rgba(241,238,230,0.13); }
.process .step { min-height: 270px; padding: 34px 28px; background: var(--black); border: 0; }
.process .step::before { font-size: 4.5rem; color: rgba(241,238,230,0.12); }
.process .step:hover::before { color: var(--red); }

.brand-strip { gap: 0; border-top: 1px solid currentColor; border-left: 1px solid currentColor; }
.brand-chip { border: 0; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; border-radius: 0; padding: 14px 20px; }
.section-alt .brand-chip { color: #5f5c55; }

.testimonial { max-width: 1000px; border-left: 0; padding: 0; background: transparent; }
.testimonial::before { content: "“"; display: block; color: var(--red); font: 8rem/0.65 var(--font-display); }
.testimonial p { font-family: var(--font-display); font-style: normal; text-transform: uppercase; font-size: 4rem; line-height: 1.02; letter-spacing: 0; }
.section-alt .testimonial p { color: var(--paper-ink); }

.ba { border: 1px solid rgba(241,238,230,0.18); min-height: 420px; }
.area-chip { border-radius: 8px; padding: 11px 19px; }
.section-alt .area-chip { border-color: rgba(25,25,23,0.2); color: #5f5c55; }

.form-field input, .form-field select, .form-field textarea {
  border: 0;
  border-bottom: 1px solid var(--steel);
  border-radius: 0;
  padding-inline: 0;
  background: transparent;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--red); box-shadow: none; }

.cta-band {
  padding: 160px 0;
  background: var(--red);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "BOOK";
  position: absolute;
  inset: auto -0.05em -0.35em auto;
  font: 700 24rem/1 var(--font-display);
  color: transparent;
  -webkit-text-stroke: 1px rgba(241,238,230,0.2);
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { max-width: 900px; margin-inline: auto; }
.cta-band p { color: rgba(241,238,230,0.78); }
.cta-band .btn-primary { background: var(--white); color: var(--black); }
.cta-band .btn-ghost { border-color: rgba(241,238,230,0.55); }

.footer { padding-top: 90px; background: #0c0c0b; }
.footer-grid { grid-template-columns: 1.5fr 0.8fr 1fr 1.15fr; }
.footer h4 { color: var(--chrome-dim); }
.footer-bottom { border-color: rgba(241,238,230,0.12); }

.reveal { transform: translateY(28px); transition-duration: 0.8s; }
.grid-3 .reveal:nth-child(2), .process .step:nth-child(2) { transition-delay: 0.08s; }
.grid-3 .reveal:nth-child(3), .process .step:nth-child(3) { transition-delay: 0.16s; }
.grid-3 .reveal:nth-child(4), .process .step:nth-child(4) { transition-delay: 0.24s; }

@media (max-width: 1000px) {
  h1 { font-size: 5.6rem; }
  h2 { font-size: 4rem; }
  h3 { font-size: 1.65rem; }
  .container { padding-inline: 36px; }
  .nav-inner { padding-inline: 36px; }
  .home .section-alt .grid-3 { grid-template-columns: 1fr 1fr; }
  .home .section-alt .service-card:first-child { grid-row: auto; min-height: 460px; grid-column: span 2; }
  .hero-contour { opacity: 0.35; right: -18%; width: 620px; }
  .hero::after { font-size: 27rem; }
  .section { padding: 112px 0; }
  .stat .n { font-size: 4rem; }
  .card, .compare > div { padding: 38px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  h1 { font-size: 3.72rem; line-height: 0.92; }
  h2 { font-size: 2.75rem; line-height: 0.98; }
  h3 { font-size: 1.45rem; }
  .container { padding-inline: 20px; }
  .nav-inner { height: 76px; }
  .nav-inner { padding-inline: 20px; }
  .nav-mobile-panel { top: 76px; }
  .nav-mobile-panel a { font-size: 2.08rem; }
  .nav-cta .btn { display: none; }
  .brand small { display: none; }
  .hero { min-height: auto; padding: 150px 0 58px; }
  .hero::after { font-size: 18rem; bottom: 0; }
  .hero-contour { top: 35%; right: -42%; width: 440px; }
  .hero-edition { display: none; }
  .hero-sub { font-size: 1rem; max-width: 100%; }
  .hero-actions .btn { width: 100%; }
  .hero-meta { grid-template-columns: 1fr; }
  .hero-meta > div { padding: 15px 0; }
  .hero-meta > div + div { border-left: 0; border-top: 1px solid rgba(241,238,230,0.2); padding-left: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-bottom: 1px solid rgba(25,25,23,0.15); }
  .page-hero { min-height: 520px; padding: 150px 0 62px; }
  .page-hero::after { display: none; }
  .section { padding: 86px 0; }
  .section-head { margin-bottom: 44px; }
  .card, .compare > div { padding: 30px; }
  .stat .n { font-size: 3.2rem; }
  .home .section-alt .grid-3 { grid-template-columns: 1fr; }
  .home .section-alt .service-card:first-child { grid-column: auto; min-height: 420px; }
  .service-card { min-height: 340px; }
  .testimonial p { font-size: 2.1rem; }
  .cta-band { padding: 96px 0; }
  .cta-band::before { font-size: 13rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
