/* Virginia Dental Care - New Patients landing.
   Standalone stylesheet (no framework). Design tokens mirror the main site. */

:root {
  color-scheme: light;
  --ink: #121212;
  --muted: #5d5d5d;
  --brand-fill: #121212;
  --on-brand: #ffffff;
  --brand-deep: #050505;
  --gold: #c7a44a;
  --mist: #f4f4f2;
  --line: #d8d8d2;
  --surface: #ffffff;
  --page: #ffffff;
  --header-bg: rgba(5, 5, 5, 0.96);
  --hero-bg: #050505;
  --booking-bg: #f4f4f2;
  --warm-panel: #050505;
  --warm-text: #ffffff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.1);
  --display: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f5f5f2;
  --muted: #bdbdb7;
  --brand-fill: #f5f5f2;
  --on-brand: #050505;
  --brand-deep: #ffffff;
  --gold: #d2b25b;
  --mist: #111111;
  --line: #2a2a2a;
  --surface: #0b0b0b;
  --page: #050505;
  --header-bg: rgba(5, 5, 5, 0.94);
  --booking-bg: #0b0b0b;
  --warm-panel: #f5f5f2;
  --warm-text: #050505;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
}

svg {
  flex: 0 0 auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  color: #050505;
  background: var(--gold);
  font-weight: 850;
}

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

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

/* ---------- Icons ---------- */

.i {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.i-17 { width: 17px; height: 17px; }
.i-18 { width: 18px; height: 18px; }
.i-22 { width: 22px; height: 22px; }
.i-24 { width: 24px; height: 24px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(10px, 1.25vw, 18px);
  align-items: center;
  min-height: 72px;
  padding: 12px clamp(18px, 3vw, 40px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  grid-column: 1;
  grid-row: 1;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
}

.brand-emblem {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: contain;
}

.brand-wordmark {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.brand-rule {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gold);
}

.brand strong,
.brand small {
  display: block;
  color: #ffffff;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand strong {
  font-family: "Avenir Next Condensed", "Arial Narrow", var(--display);
  font-size: clamp(0.98rem, 1.12vw, 1.24rem);
  font-weight: 900;
  letter-spacing: 0.06em;
}

.brand small {
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.24em;
}

.site-nav {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  display: flex;
  gap: clamp(10px, 1vw, 16px);
  align-items: center;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.site-nav a {
  padding: 8px 0;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--gold);
}

.header-actions {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  gap: 8px;
  align-items: center;
}

.social-links {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.social-links a {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: #050505;
}

.phone-link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 850;
  white-space: nowrap;
}

.theme-toggle,
.menu-button {
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  color: #ffffff;
  background: #050505;
  cursor: pointer;
  line-height: 1;
}

.theme-toggle {
  width: 40px;
  height: 40px;
}

.menu-button {
  grid-column: 4;
  grid-row: 1;
  display: none;
  width: 46px;
  height: 46px;
}

.theme-toggle .icon-sun,
:root[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

:root[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

.menu-button .icon-close,
.site-header.is-open .menu-button .icon-open {
  display: none;
}

.site-header.is-open .menu-button .icon-close {
  display: block;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--on-brand);
  background: var(--brand-fill);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.btn-secondary {
  color: var(--brand-deep);
  border-color: var(--line);
  background: var(--surface);
}

.site-header .btn-primary {
  min-height: 40px;
  padding: 0 14px;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
  background: transparent;
  box-shadow: none;
  font-size: 0.76rem;
}

.btn-gold,
.hero .btn-primary,
.photo-banner .btn-primary,
.cta-band .btn-primary {
  color: #050505;
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: none;
}

.btn-ghost,
.hero .btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.42);
  background: transparent;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(470px, 1fr) auto;
  min-height: calc(100svh - 72px);
  max-height: 900px;
  align-items: center;
  overflow: hidden;
  padding: clamp(44px, 7vw, 82px) clamp(20px, 6vw, 76px) clamp(54px, 5vw, 78px);
  background: var(--hero-bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  filter: grayscale(1) contrast(1.04);
  object-fit: cover;
  object-position: 60% 40%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.74), rgba(5, 5, 5, 0.48) 34%, rgba(5, 5, 5, 0.76) 66%, rgba(5, 5, 5, 0.94)),
    linear-gradient(90deg, rgba(5, 5, 5, 0.62), rgba(5, 5, 5, 0.18), rgba(5, 5, 5, 0.64));
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 1;
  grid-row: 1;
  align-self: center;
  width: min(1100px, 100%);
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: #ffffff;
  font-family: var(--display);
  font-size: clamp(2.6rem, 5.4vw, 5rem);
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.hero h1 em {
  color: var(--gold);
  font-style: normal;
}

.hero-lede {
  max-width: 740px;
  margin: 24px auto 0;
  color: #ededed;
  font-size: clamp(1.05rem, 1.45vw, 1.24rem);
  font-weight: 460;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.hero-panel {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(170px, 1fr));
  width: min(var(--max), 100%);
  margin: 0 auto;
  overflow: hidden;
  transform: translateY(-40px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(5, 5, 5, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-panel div {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 12px;
  padding: 17px 20px;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 850;
}

.hero-panel svg {
  color: var(--gold);
}

.hero-panel div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

/* ---------- Sections ---------- */

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0;
  scroll-margin-top: 92px;
}

.section-tint {
  width: 100%;
  padding-inline: max(20px, calc((100vw - var(--max)) / 2));
  background: var(--booking-bg);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 38px;
}

.section-heading > span,
.kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

h2.title,
.section-heading h2 {
  margin: 0;
  color: var(--brand-deep);
  font-family: var(--display);
  font-size: 3.4rem;
  font-weight: 420;
  line-height: 0.98;
}

.section-heading p,
.lede {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.why-grid article,
.financing-grid article {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.06);
}

.why-grid .icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--gold);
  background: #050505;
}

.why-grid h3,
.financing-grid h3 {
  margin: 0;
  color: var(--brand-deep);
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.02;
}

.why-grid p,
.financing-grid p {
  margin: 0;
  color: var(--muted);
  font-weight: 560;
}

.financing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.split-media {
  position: relative;
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  max-height: 560px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  filter: grayscale(1) contrast(1.05);
  object-fit: cover;
}

.split-media img.badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 78px;
  height: 78px;
  min-height: 0;
  max-height: none;
  padding: 8px;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  filter: none;
  object-fit: contain;
}

.split.reverse .split-media {
  order: 2;
}

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

.steps li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 2px 16px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--mist);
}

.steps .num {
  grid-row: span 2;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--on-brand);
  background: var(--brand-fill);
  font-weight: 950;
}

.steps strong {
  font-size: 1.02rem;
  font-weight: 950;
}

.steps p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.checklist li {
  position: relative;
  padding-left: 26px;
  font-weight: 750;
}

.checklist li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--gold);
  border-radius: 50%;
  content: "";
}

.note {
  margin: 22px 0 0;
  padding: 16px 18px;
  border-left: 3px solid var(--gold);
  background: var(--mist);
  color: var(--muted);
  font-size: 0.95rem;
}

.doctor {
  display: grid;
  grid-template-columns: minmax(260px, 0.5fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.doctor-photo img {
  width: 100%;
  max-height: 560px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  filter: grayscale(1) contrast(1.05);
  object-fit: cover;
  object-position: center top;
}

.doctor h2 {
  margin: 0;
  color: var(--brand-deep);
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.05;
}

.doctor .role {
  display: block;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.doctor p {
  max-width: 620px;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
  color: var(--brand-deep);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 5px;
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: 10px;
  max-width: 860px;
}

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

.faq summary {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  font-weight: 850;
  list-style: none;
  cursor: pointer;
}

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

.faq summary::after {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  content: "+";
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

/* ---------- CTA band ---------- */

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 5vw, 52px);
  color: var(--warm-text);
  background: var(--warm-panel);
  border: 1px solid rgba(199, 164, 74, 0.42);
}

.cta-band h2 {
  margin: 0;
  color: var(--warm-text);
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 420;
  line-height: 1;
}

.cta-band p {
  max-width: 600px;
  margin: 14px 0 0;
  color: var(--warm-text);
  opacity: 0.86;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

:root[data-theme="dark"] .cta-band .btn-ghost {
  color: #050505;
  border-color: rgba(5, 5, 5, 0.5);
}

/* ---------- Location ---------- */

.location {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: stretch;
}

.location address {
  display: grid;
  gap: 18px;
  margin: 26px 0;
  font-style: normal;
}

.location address div {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-weight: 700;
}

.location address svg {
  margin-top: 3px;
  color: var(--gold);
}

.map-panel {
  min-height: 380px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.map-panel iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}

/* ---------- Footer ---------- */

.site-footer {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 34px 18px 38px;
  color: #ffffff;
  text-align: center;
  border-top: 1px solid rgba(199, 164, 74, 0.42);
  background: #050505;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 8px;
  font-weight: 900;
}

.site-footer nav span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.site-footer a:hover {
  text-decoration: underline;
}

.mobile-bottom-bar {
  display: none;
}

/* ---------- Responsive ---------- */

@media (min-width: 1121px) and (max-width: 1380px) {
  .site-nav {
    gap: clamp(8px, 0.95vw, 13px);
    font-size: 0.68rem;
  }

  .phone-link {
    font-size: 0.82rem;
  }
}

@media (max-width: 1120px) {
  .site-header {
    padding: 12px 18px;
  }

  .menu-button {
    display: inline-grid;
    grid-column: 3;
    justify-self: end;
  }

  .site-nav,
  .header-actions {
    display: none;
  }

  .site-header.is-open {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-header.is-open .menu-button {
    grid-column: 2;
  }

  .site-header.is-open .site-nav,
  .site-header.is-open .header-actions {
    grid-column: 1 / -1;
    display: grid;
    justify-self: stretch;
    justify-items: start;
    gap: 14px;
  }

  .site-header.is-open .site-nav {
    grid-row: 2;
    padding-top: 8px;
  }

  .site-header.is-open .header-actions {
    grid-row: 3;
    grid-auto-flow: column;
    justify-content: start;
    flex-wrap: wrap;
    padding-bottom: 8px;
  }

  .site-header.is-open .header-actions {
    display: flex;
  }

  .hero {
    min-height: auto;
    max-height: none;
  }

  .hero-panel {
    transform: none;
    margin-top: 28px;
  }

  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .doctor,
  .location,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-media {
    order: 0;
  }

  .split-media img {
    min-height: 320px;
    max-height: 460px;
  }

  .doctor-photo img {
    max-height: 480px;
  }

  .financing-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 92px;
  }

  .site-header {
    min-height: 68px;
    padding: 12px 16px;
  }

  .brand-logo {
    gap: 10px;
  }

  .brand-emblem {
    flex-basis: 54px;
    width: 54px;
    height: 54px;
  }

  .brand strong {
    font-size: clamp(0.72rem, 3vw, 0.96rem);
  }

  .brand small {
    font-size: 0.52rem;
    letter-spacing: 0.18em;
  }

  .hero {
    grid-template-rows: auto auto;
    padding: 56px 18px 28px;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 9.5vw, 2.8rem);
    line-height: 1.04;
  }

  .eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.16em;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-panel {
    grid-template-columns: 1fr;
    width: 100%;
    margin-bottom: 68px;
  }

  .hero-panel div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 0;
  }

  .section {
    width: calc(100% - 32px);
    padding: 64px 0;
    scroll-margin-top: 84px;
  }

  .section-tint {
    width: 100%;
    padding-inline: 16px;
  }

  h2.title,
  .section-heading h2 {
    font-size: 2.45rem;
  }

  .why-grid,
  .financing-grid {
    grid-template-columns: 1fr;
  }

  .steps li {
    grid-template-columns: 1fr;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .location address div {
    font-size: 0.98rem;
  }

  .map-panel,
  .map-panel iframe {
    min-height: 320px;
  }

  .mobile-bottom-bar {
    position: sticky;
    bottom: 0;
    z-index: 70;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid #d8d8d2;
    background: #ffffff;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.12);
  }

  .mobile-bottom-bar a {
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ffffff;
    background: #050505;
    font-weight: 950;
  }

  .mobile-bottom-bar a + a {
    color: #050505;
    background: var(--gold);
  }
}

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

/* ---------- v2: lighter copy, more visual ---------- */

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.chip {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 9px 14px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(5, 5, 5, 0.5);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.chip svg {
  color: var(--gold);
}

.section-dark {
  width: 100%;
  padding-inline: max(20px, calc((100vw - var(--max)) / 2));
  color: #ffffff;
  background: #050505;
}

.section-dark .section-heading > span {
  color: var(--gold);
}

.section-dark .section-heading h2 {
  color: #ffffff;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.tile {
  display: grid;
  justify-items: start;
  gap: 12px;
  padding: 28px 22px;
  color: #ffffff;
  border: 1px solid #050505;
  background: #050505;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.12);
  transition:
    transform 160ms ease,
    border-color 160ms ease;
}

/* On the dark theme the page is black, so the tiles get a subtle edge */
:root[data-theme="dark"] .tile {
  border-color: rgba(255, 255, 255, 0.16);
  background: #111111;
}

.tile:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}

.tile .ico {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--gold);
  border: 2px solid var(--gold);
  border-radius: 50%;
}

.tile h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1;
}

.tile p {
  margin: 0;
  color: #d6d6d0;
  font-weight: 600;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.step-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 30px 26px 28px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.06);
}

.step-card:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -22px;
  width: 22px;
  height: 2px;
  background: var(--gold);
  content: "";
}

.step-card .big {
  color: var(--gold);
  font-family: var(--display);
  font-size: 4.6rem;
  font-weight: 500;
  line-height: 0.8;
}

.step-card .ico {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--brand-deep);
}

.step-card h3 {
  margin: 0;
  color: var(--brand-deep);
  font-family: var(--display);
  font-size: 1.9rem;
  font-weight: 500;
  line-height: 1;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.photo-banner {
  position: relative;
  display: grid;
  min-height: 380px;
  place-items: center;
  padding: 64px 20px;
  overflow: hidden;
  background: #050505;
  text-align: center;
}

.photo-banner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  filter: grayscale(1) contrast(1.05);
  object-fit: cover;
  object-position: center 40%;
}

.photo-banner::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 5, 5, 0.72), rgba(5, 5, 5, 0.28), rgba(5, 5, 5, 0.72));
  content: "";
}

.photo-banner .inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 24px;
  max-width: 820px;
}

.photo-banner h2 {
  margin: 0;
  color: #ffffff;
  font-family: var(--display);
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  font-weight: 450;
  line-height: 1;
  text-transform: uppercase;
}

.photo-banner h2 em {
  color: var(--gold);
  font-style: normal;
}

.bring {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.bring li {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 850;
}

.bring li:last-child {
  grid-column: 1 / -1;
}

.bring .ico {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--gold);
  background: #050505;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mini-grid article {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  background: var(--surface);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.06);
}

.mini-grid .ico {
  color: var(--brand-deep);
}

.mini-grid h3 {
  margin: 0;
  color: var(--brand-deep);
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1;
}

.mini-grid p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 1120px) {
  .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .step-card:not(:last-child)::after {
    display: none;
  }

  .step-card {
    grid-template-columns: auto 1fr;
    column-gap: 22px;
    align-items: start;
  }

  .step-card .big {
    grid-row: span 2;
    font-size: 4rem;
  }

  .step-card .ico {
    display: none;
  }

  .mini-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .tiles {
    grid-template-columns: 1fr;
  }

  .tile {
    grid-template-columns: auto 1fr;
    column-gap: 16px;
    align-items: center;
  }

  .tile .ico {
    grid-row: span 2;
    width: 48px;
    height: 48px;
  }

  .chips {
    justify-content: flex-start;
  }

  .photo-banner {
    min-height: 320px;
    padding: 52px 18px;
  }

  .bring {
    grid-template-columns: 1fr;
  }
}


/* =====================================================================
   v3 proposal: black and gold editorial
   Same tokens as the home; new layout language.
   ===================================================================== */

html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
  transition-delay: var(--d, 0s);
}

html.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Hero ---------- */

.hero3 {
  position: relative;
  padding: clamp(40px, 6vw, 84px) clamp(20px, 6vw, 76px) clamp(130px, 13vw, 190px);
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(640px 460px at 78% 42%, rgba(199, 164, 74, 0.26), transparent 70%),
    radial-gradient(520px 380px at 6% 100%, rgba(199, 164, 74, 0.1), transparent 70%),
    #050505;
}

.hero3-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
  width: min(1240px, 100%);
  margin: 0 auto;
}

.hero3 .eyebrow {
  margin-bottom: 22px;
}

.hero3 h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.1rem, 7.4vw, 6.6rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 0.92;
  text-transform: uppercase;
}

.hero3 h1 span {
  display: block;
}

.hero3 h1 em {
  color: var(--gold);
  font-style: normal;
}

.hero3 .lede3 {
  margin: 24px 0 0;
  color: #ededed;
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero3 .hero-actions {
  justify-content: flex-start;
  margin-top: 32px;
}

.hero3 .btn-primary {
  color: #050505;
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: none;
}

.hero3 .btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.42);
  background: transparent;
}

.hero3-photo {
  position: relative;
  justify-self: center;
  width: min(100%, 500px);
}

.hero3-photo::before {
  position: absolute;
  inset: 24px -24px -24px 24px;
  z-index: 0;
  border: 2px solid var(--gold);
  content: "";
}

.hero3-photo > img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 28%;
  filter: grayscale(1) contrast(1.06);
}

.float {
  position: absolute;
  z-index: 2;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 13px 18px;
  color: #ffffff;
  border: 1px solid var(--gold);
  background: #050505;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.float svg {
  color: var(--gold);
}

.float.a {
  bottom: 38px;
  left: -30px;
}

.float.b {
  top: 30px;
  right: -16px;
}

/* ---------- Ticker ---------- */

.ticker-wrap {
  --tk-pad: 52px;
  position: relative;
  z-index: 3;
  margin-top: calc(-1 * (var(--tk-pad) + 28px));
  padding: var(--tk-pad) 0;
  overflow: hidden;
  background: linear-gradient(180deg, #050505 50%, transparent 50%);
}

.ticker {
  --tk-tilt: -2.4deg;
  width: 116%;
  margin-left: -8%;
  overflow: hidden;
  color: #050505;
  border-block: 2px solid #050505;
  background: var(--gold);
  transform: rotate(var(--tk-tilt));
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tick 34s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker span {
  padding: 14px 0;
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker span::after {
  display: inline-block;
  margin: 0 28px;
  content: "\2726";
}

@keyframes tick {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Steps with outlined numerals ---------- */

.steps3 {
  display: grid;
  margin-top: 8px;
}

.step3 {
  display: grid;
  grid-template-columns: minmax(150px, 0.38fr) minmax(0, 1fr);
  gap: clamp(20px, 5vw, 64px);
  align-items: center;
  padding: clamp(26px, 4vw, 44px) 0;
  border-top: 1px solid var(--line);
}

.step3:last-child {
  border-bottom: 1px solid var(--line);
}

.step3 .n {
  color: transparent;
  font-family: var(--display);
  font-size: clamp(5.5rem, 13vw, 10.5rem);
  font-weight: 500;
  line-height: 0.8;
  -webkit-text-stroke: 2px var(--gold);
  transition: color 240ms ease;
}

.step3:hover .n {
  color: var(--gold);
}

.step3 h3 {
  margin: 0;
  color: var(--brand-deep);
  font-family: var(--display);
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.step3 p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 650;
}

/* ---------- Plan ---------- */

.plan3 {
  position: relative;
  margin: -44px 0;
  padding: 130px clamp(20px, 6vw, 76px);
  color: #ffffff;
  background:
    radial-gradient(540px 360px at 86% 22%, rgba(199, 164, 74, 0.22), transparent 70%),
    #050505;
  clip-path: polygon(0 44px, 100% 0, 100% calc(100% - 44px), 0 100%);
}

.plan3-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 7vw, 90px);
  align-items: center;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.plan3 .kicker {
  color: var(--gold);
}

.plan3 h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 500;
  line-height: 0.95;
  text-transform: uppercase;
}

.plan3 h2 em {
  color: var(--gold);
  font-style: normal;
}

.plan3 .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.plan3 .btn-primary {
  color: #050505;
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: none;
}

.plan3 .fine {
  margin: 20px 0 0;
  color: #bdbdb7;
  font-size: 0.84rem;
  font-weight: 600;
}

.plan-card {
  position: relative;
  padding: 32px clamp(24px, 4vw, 42px) 30px;
  overflow: hidden;
  color: #050505;
  background: linear-gradient(135deg, #e6cc7c 0%, #c7a44a 48%, #9b7a2c 100%);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  transform: rotate(-2deg);
  transition: transform 280ms ease;
}

.plan-card:hover {
  transform: rotate(0deg) translateY(-4px);
}

.plan-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.38) 50%, transparent 62%);
  mix-blend-mode: overlay;
  pointer-events: none;
  content: "";
}

.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.plan-top img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
}

.plan-price {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  margin: 20px 0 4px;
}

.plan-price b {
  font-family: var(--display);
  font-size: clamp(5rem, 12vw, 8rem);
  font-weight: 500;
  line-height: 0.82;
}

.plan-price span {
  padding-bottom: 8px;
  font-size: 1.1rem;
  font-weight: 950;
  text-transform: uppercase;
}

.plan-list {
  display: grid;
  gap: 11px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  font-weight: 850;
}

.plan-list li {
  display: flex;
  gap: 12px;
  align-items: center;
}

.plan-list svg {
  padding: 3px;
  color: var(--gold);
  background: #050505;
  border-radius: 50%;
}

.plan-add {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 2px solid rgba(5, 5, 5, 0.35);
  font-size: 0.84rem;
  font-weight: 950;
  text-transform: uppercase;
}

.plan-add b {
  font-family: var(--display);
  font-size: 1.9rem;
  font-weight: 500;
}

/* ---------- Ready checklist ---------- */

.ready {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  padding-top: 150px;
}

.ready h2 {
  margin: 0;
  color: var(--brand-deep);
  font-family: var(--display);
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  font-weight: 450;
  line-height: 0.98;
  text-transform: uppercase;
}

.ready h2 em {
  color: var(--gold);
  font-style: normal;
}

.ready .sub {
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 650;
}

.progress {
  display: grid;
  width: 132px;
  height: 132px;
  margin-top: 28px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--gold) calc(var(--p, 0) * 1%), var(--line) 0);
  transition: background 300ms ease;
}

.progress span {
  display: grid;
  width: 108px;
  height: 108px;
  place-items: center;
  border-radius: 50%;
  background: var(--page);
  color: var(--brand-deep);
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 500;
}

.ready-tiles {
  display: grid;
  gap: 12px;
}

.rtile {
  display: flex;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 15px 18px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 1rem;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.rtile:hover {
  transform: translateX(4px);
  border-color: var(--gold);
}

.rtile .ico {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--gold);
  background: #050505;
}

.rtile .tick {
  display: grid;
  width: 30px;
  height: 30px;
  margin-left: auto;
  place-items: center;
  color: transparent;
  border: 2px solid var(--line);
  border-radius: 50%;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.rtile[aria-pressed="true"] {
  border-color: var(--gold);
  background: linear-gradient(90deg, rgba(199, 164, 74, 0.2), transparent 75%), var(--surface);
}

.rtile[aria-pressed="true"] .tick {
  color: #050505;
  border-color: var(--gold);
  background: var(--gold);
}

.ready-msg {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin: 8px 0 0;
  padding: 16px 18px;
  border-left: 4px solid var(--gold);
  background: var(--mist);
  font-weight: 850;
}

.ready-msg[hidden] {
  display: none;
}

/* ---------- Doctor ---------- */

.doc3 {
  display: grid;
  grid-template-columns: minmax(240px, 0.5fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: center;
}

.doc3-photo {
  position: relative;
  width: min(100%, 400px);
  justify-self: center;
}

.doc3-photo::before {
  position: absolute;
  inset: -20px 20px 20px -20px;
  border: 2px solid var(--gold);
  content: "";
}

.doc3-photo img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1) contrast(1.05);
}

.doc3 h2 {
  margin: 0;
  color: var(--brand-deep);
  font-family: var(--display);
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  font-weight: 450;
  line-height: 0.95;
  text-transform: uppercase;
}

.creds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}

.creds span {
  padding: 7px 12px;
  color: #ffffff;
  background: #050505;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

:root[data-theme="dark"] .creds span {
  color: #050505;
  background: var(--gold);
}

.doc3 .role {
  display: block;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Responsive ---------- */

@media (max-width: 1120px) {
  .hero3-inner,
  .plan3-inner,
  .ready,
  .doc3 {
    grid-template-columns: 1fr;
  }

  .hero3-photo {
    width: min(100%, 460px);
    margin-top: 12px;
  }

  .float.a {
    left: -10px;
  }

  .float.b {
    right: -6px;
  }

  .plan-card {
    max-width: 520px;
    margin-inline: auto;
  }
}

@media (max-width: 720px) {
  .hero3 {
    padding-bottom: 120px;
  }

  .ticker-wrap {
    --tk-pad: 34px;
  }

  .hero3 .hero-actions .btn {
    width: 100%;
  }

  .hero3-photo::before {
    inset: 16px -12px -16px 16px;
  }

  .float {
    padding: 10px 12px;
    font-size: 0.7rem;
  }

  .ticker span {
    font-size: 1.15rem;
  }

  .step3 {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
  }

  .step3 .n {
    font-size: 5rem;
  }

  .plan3 {
    padding-block: 110px;
  }

  .plan-card {
    transform: rotate(-1.2deg);
  }

  .ready {
    padding-top: 120px;
  }

  .progress {
    width: 112px;
    height: 112px;
  }

  .progress span {
    width: 90px;
    height: 90px;
    font-size: 2rem;
  }

  .doc3-photo::before {
    inset: -12px 12px 12px -12px;
  }
}

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

  .ticker {
    transform: none;
  }

  .ticker-track {
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    animation: none;
  }

  .plan-card,
  .plan-card:hover {
    transform: none;
  }
}


/* ---------- Steps side by side (desktop) ---------- */

@media (min-width: 1121px) {
  .steps3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(28px, 3.4vw, 56px);
  }

  .step3 {
    grid-template-columns: 1fr;
    gap: 22px;
    align-content: start;
    align-items: start;
    padding: 34px 0 0;
    border-top: 3px solid var(--gold);
  }

  .step3:last-child {
    border-bottom: 0;
  }

  .step3 .n {
    font-size: clamp(6.5rem, 9.5vw, 9rem);
  }
}
