/* ------------------------------------------------------------------
   depthNest — shared styles for all pages
   Tokens: design-tokens.css (imported below). See RESPONSIVE.md.
------------------------------------------------------------------- */

@import url("./design-tokens.css");

/* Fallback metrics to reduce CLS while webfonts (display=swap) load */
@font-face {
  font-family: "Plus Jakarta Sans Fallback";
  src: local("Arial");
  size-adjust: 105%;
  ascent-override: 95%;
  descent-override: 22%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Instrument Serif Fallback";
  src: local("Georgia");
  size-adjust: 102%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
html.nav-lock,
body.nav-lock {
  overflow: hidden;
  touch-action: none;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--text-base);
  background:
    radial-gradient(ellipse 100% 60% at 50% -15%, rgba(14, 165, 233, 0.16), transparent 55%),
    radial-gradient(ellipse 70% 40% at 100% 0%, rgba(29, 78, 216, 0.08), transparent 50%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  overflow-wrap: break-word;
  word-break: break-word;
}

img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}
iframe {
  display: block;
  max-width: 100%;
}

a { color: inherit; text-decoration: none; }
/* Default link hover — avoid overriding .btn labels (explicit rules below). */
a:hover:not(.btn) { color: var(--brand-2); }
a:focus-visible:not(.btn) {
  outline: 2px solid var(--brand-2);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3, h4, h5 { margin: 0; line-height: 1.15; letter-spacing: -0.025em; }
h1 {
  font-size: var(--text-display);
  font-weight: 700;
}
h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
}
h3 { font-size: var(--text-xl); font-weight: 600; }
h4 { font-size: var(--text-lg); font-weight: 600; }
h5 { font-size: var(--text-md); font-weight: 600; }
em { font-family: var(--font-display); font-style: italic; font-weight: 400; color: var(--brand-2); }

p { margin: 0; color: var(--text-dim); }

.container {
  width: min(100% - 2 * var(--space-md), var(--maxw));
  margin-inline: auto;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  box-sizing: border-box;
}
.container--narrow { width: min(100% - 2 * var(--space-md), 880px); margin-inline: auto; }

@media (min-width: 640px) {
  html {
    scroll-padding-top: 80px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: var(--space-2xs) var(--space-sm);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
  max-width: 100%;
  white-space: normal;
}
@media (min-width: 640px) {
  .eyebrow {
    justify-content: flex-start;
    text-align: left;
    white-space: nowrap;
  }
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.2);
}
.eyebrow--center { display: inline-flex; }

/* ===== Buttons ===== */
a.btn {
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--space-sm) var(--space-md);
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: var(--text-base);
  letter-spacing: 0.02em;
  line-height: 1.25;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
  min-height: 44px;
  min-width: 44px;
}
.btn:hover:not(:disabled) { transform: translateY(-1px); }
.btn--sm {
  padding: 10px 14px;
  font-size: var(--text-sm);
  min-height: 44px;
}
.btn--lg { padding: var(--space-sm) var(--space-md); font-size: var(--text-base); }
.btn--block { width: 100%; }

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

.btn:disabled,
.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  pointer-events: none;
}

.btn--primary {
  color: #ffffff;
  background: linear-gradient(145deg, #38bdf8 0%, #2563eb 52%, #1d4ed8 100%);
  box-shadow: 0 12px 28px -12px rgba(29, 78, 216, 0.55),
              0 1px 0 rgba(255, 255, 255, 0.35) inset;
  text-shadow: 0 1px 1px rgba(11, 26, 51, 0.25);
}
.btn--primary:hover:not(:disabled) {
  color: #ffffff;
  box-shadow: 0 16px 36px -10px rgba(29, 78, 216, 0.65);
}

.btn--ghost {
  color: var(--ink);
  background: #ffffff;
  border-color: rgba(15, 40, 80, 0.18);
  box-shadow: 0 4px 16px rgba(15, 40, 80, 0.08);
  text-shadow: none;
}
.btn--ghost:hover:not(:disabled) {
  background: #f0f7ff;
  border-color: rgba(29, 78, 216, 0.35);
  color: var(--brand-2);
  text-shadow: none;
}

a.btn.btn--primary,
a.btn.btn--primary:hover {
  color: #ffffff;
}
a.btn.btn--ghost,
a.btn.btn--ghost:hover {
  color: var(--ink);
}
a.btn.btn--ghost:hover:not(:disabled) {
  color: var(--brand-2);
}

.link-muted { color: var(--text-dim); font-size: var(--text-base); }
.link-muted:hover { color: var(--text); }

/* ===== Nav (base = narrow; min-width for wide) ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  background: rgba(247, 250, 252, 0.86);
  border-bottom: 1px solid var(--line);
}

/* === launch-banner.css start === */
.dn-launch-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  min-height: 3.5rem;
  box-sizing: border-box;
  padding: 8px 16px;
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
  background: #0f172a;
  color: #f8fafc;
  font-size: var(--text-sm);
  line-height: 1.35;
  text-align: center;
}
html.dn-banner-reserve,
html.dn-has-launch-banner {
  --dn-banner-offset: 3.5rem;
}
html.dn-banner-reserve body,
html.dn-has-launch-banner body {
  padding-top: var(--dn-banner-offset, 0px);
}
.dn-launch-banner__text {
  margin: 0;
  max-width: 52rem;
}
.dn-launch-banner__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #38bdf8;
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.dn-launch-banner__cta:hover {
  background: #7dd3fc;
}
.dn-launch-banner__dismiss {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #e2e8f0;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.dn-launch-banner__dismiss:hover,
.dn-launch-banner__dismiss:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}
html.dn-has-launch-banner .nav {
  top: var(--dn-banner-offset, 0px);
}
/* === launch-banner.css end === */
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: auto;
  min-height: 58px;
  padding-block: var(--space-xs);
  gap: var(--space-xs);
  flex-wrap: nowrap;
  position: relative;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-weight: 700;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  min-width: max-content;
  min-height: 44px;
}
.brand__mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(29, 78, 216, 0.14));
  border: 1px solid var(--line-2);
}
.brand__name {
  min-width: 0;
  font-size: var(--text-md);
  line-height: 1.15;
  color: var(--ink);
  white-space: nowrap;
}

.nav__toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-xs);
  flex-shrink: 1;
  min-width: 0;
  flex-wrap: wrap;
}
/* Mobile: hide text links; brand + CTA + toggle only */
.nav__text-link {
  display: none;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-dim);
  white-space: nowrap;
  transition: color 0.15s ease;
}
.nav__toolbar .btn.btn--sm {
  flex-shrink: 0;
  padding: 10px 14px;
  font-size: var(--text-sm);
  min-height: 44px;
}
.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
.nav__toggle:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 3px;
}
.nav__toggle-icon {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
  position: relative;
}
.nav.is-open .nav__toggle-icon {
  background: transparent;
  box-shadow: none;
}
.nav.is-open .nav__toggle-icon::before,
.nav.is-open .nav__toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}
.nav.is-open .nav__toggle-icon::before { transform: rotate(45deg); }
.nav.is-open .nav__toggle-icon::after { transform: rotate(-45deg); }

/* Open panel: stack text links under the bar */
.nav.is-open .nav__toolbar {
  flex-wrap: wrap;
}
.nav.is-open .nav__text-link {
  display: block;
  width: 100%;
  order: 10;
  padding: var(--space-xs) var(--space-2xs);
  border-top: 1px solid var(--line);
  white-space: normal;
}
.nav.is-open .nav__text-link:first-of-type {
  margin-top: 4px;
}
.nav.is-open .nav__toolbar .btn.btn--sm,
.nav.is-open .nav__toggle {
  order: 0;
}

.nav__toolbar .nav__text-link:hover { color: var(--text); }
.nav__toolbar .nav__text-link:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 4px;
  border-radius: 4px;
}
.nav__text-link.is-active {
  color: var(--text);
}
.nav__text-link.is-active::after {
  content: ""; display: block; height: 2px; margin-top: 4px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  border-radius: 2px;
}

/* Desktop nav: show links, hide toggle (literal = --bp-md) */
@media (min-width: 1024px) {
  .nav__inner {
    height: 68px;
    min-height: 68px;
  }
  .nav__toolbar {
    flex-wrap: nowrap;
    flex-shrink: 0;
  }
  .nav__text-link {
    display: inline;
  }
  .nav.is-open .nav__text-link {
    display: inline;
    width: auto;
    order: unset;
    border-top: none;
    white-space: nowrap;
  }
  .nav__toggle {
    display: none;
  }
}


/* ===== Hero (home page) — base narrow; wide at min-width ===== */
.hero {
  position: relative;
  padding: var(--space-3xl) 0 var(--space-2xl);
  overflow: hidden;
}
.hero--streamlined { padding-bottom: var(--space-xl); }

.hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero__bg .grid {
  position: absolute; inset: -10% -10% -40% -10%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 70%);
}
.hero__bg .orb {
  position: absolute;
  width: min(520px, 140vw);
  height: min(520px, 140vw);
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
}
.hero__bg .orb--1 {
  top: -160px; left: -120px;
  background: radial-gradient(closest-side, rgba(14, 165, 233, 0.35), transparent);
}
.hero__bg .orb--2 {
  bottom: -200px; right: -120px;
  background: radial-gradient(closest-side, rgba(29, 78, 216, 0.22), transparent);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}
.hero__copy { max-width: 560px; min-width: 0; }
.hero__copy h1 { margin: var(--space-md) 0 var(--space-sm); overflow-wrap: anywhere; }
.hero__copy .lede {
  font-size: var(--text-base);
  color: var(--text-dim);
  max-width: 34rem;
  line-height: 1.6;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: var(--space-xs);
  margin: var(--space-md) 0 0;
}
.hero__ctas .btn {
  flex: 1 1 12rem;
  justify-content: center;
  white-space: normal;
  text-align: center;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-md);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--line);
}
.trust-row span {
  font-size: var(--text-sm);
  color: var(--muted);
  letter-spacing: 0.01em;
}
.trust-row strong {
  color: var(--text-dim);
  font-weight: 600;
}

/* ----- Hero preview (illustrated dollhouse) ----- */
.hero__preview {
  position: relative;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}
.hero__graphic-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
}
.hero__graphic-wrap picture {
  display: block;
  width: 100%;
}
.hero__graphic--inline,
.hero__graphic-wrap img.hero__graphic,
img.hero__graphic {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: var(--radius-lg);
}
.hero__graphic-fallback {
  display: none;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: var(--radius-lg);
}
.preview {
  background: linear-gradient(180deg, #15233d, #0b1a33);
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  max-width: 100%;
  transform: none;
}
.preview__chrome {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--text-xs); color: rgba(186, 210, 240, 0.7);
  background: rgba(255, 255, 255, 0.04);
  min-width: 0;
}
.preview__chrome span {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}
.preview__chrome span:nth-child(1) { background: #ef4444; opacity: 0.7; }
.preview__chrome span:nth-child(2) { background: #f59e0b; opacity: 0.7; }
.preview__chrome span:nth-child(3) { background: #10b981; opacity: 0.7; }
.preview__chrome em {
  display: block;
  margin-left: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: var(--text-xs);
  font-style: normal;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  min-width: 0;
}

.preview__stage {
  position: relative;
  padding: var(--space-md);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 80%, rgba(14, 165, 233, 0.18), transparent 60%),
    linear-gradient(180deg, #15233d, #0b1a33);
}
.dollhouse { width: 100%; height: auto; }
.scanpts circle { fill: #7dd3fc; filter: drop-shadow(0 0 6px rgba(125, 211, 252, 0.7)); }
.pulse {
  fill: rgba(125, 211, 252, 0.25);
  stroke: #7dd3fc; stroke-width: 1;
  animation: pulse 1.8s ease-out infinite;
  transform-origin: 290px 285px;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Float chips: hidden on small screens to avoid overflow */
.float {
  display: none;
  position: absolute;
  background: rgba(11, 26, 51, 0.88);
  border: 1px solid rgba(14, 165, 233, 0.35);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: var(--space-xs) var(--space-sm);
  min-width: 130px;
  font-size: var(--text-sm);
  color: #eef3fa;
  box-shadow: var(--shadow-1);
}
.float__label { color: rgba(186, 210, 240, 0.75) !important; }
.float__value { color: #ffffff; }
.float__label { font-size: var(--text-xs); color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
.float__value { font-weight: 600; margin-top: 2px; }
.float--measure { top: 60px; left: 16px; }
.float--tag { top: 30px; right: 22px; }
.float--mini { bottom: 22px; right: 22px; min-width: 160px; }

/* sm+ (literal = --bp-sm): perspective preview, float chips */
@media (min-width: 640px) {
  .preview {
    transform: perspective(1400px) rotateY(-6deg) rotateX(4deg);
    box-shadow: var(--shadow-1), var(--shadow-2);
  }
  .preview__chrome em {
    display: inline;
    max-width: none;
  }
  .float {
    display: block;
  }
  .hero__bg .orb {
    width: 520px;
    height: 520px;
  }
}

/* md+ (literal = --bp-md): two-column hero */
@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1.05fr 1fr;
  }
}

/* ===== Page hero (sub-pages) — base narrow; wide at min-width ===== */
.page-hero {
  padding: var(--space-3xl) 0 var(--space-lg);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(125, 211, 252, 0.14), transparent 50%),
    radial-gradient(ellipse at 100% 0%, rgba(59, 130, 246, 0.14), transparent 50%);
}
.page-hero > .container { position: relative; }
.page-hero h1 { margin: var(--space-sm) 0 var(--space-sm); max-width: 880px; overflow-wrap: anywhere; }
.page-hero__sub { font-size: var(--text-md); color: var(--text-dim); max-width: 720px; }
.quote-landing .quote-entry {
  padding: var(--space-lg) 0 var(--space-2xl);
}
.quote-entry__title {
  font-family: var(--font-display, "Instrument Serif", Georgia, serif);
  font-size: clamp(1.35rem, 3.6vw, 1.85rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-md);
  color: var(--text);
  max-width: 36rem;
}
.quote-entry__segment {
  margin: 0 0 var(--space-md);
  color: var(--text-dim);
  font-size: var(--text-base);
}
.quote-entry__fair {
  margin: var(--space-lg) 0 0;
  font-size: var(--text-sm);
  color: var(--text-dim);
  line-height: 1.45;
}
.quote-entry .pricing-mini {
  margin-top: var(--space-sm);
}

/* Booking: no-charge promise always above the fold on mobile */
.book-promo {
  margin: 0 0 var(--space-md);
}
.book-promo--inline {
  max-width: 28rem;
}
.book-promo__row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}
.book-promo__row .book-input {
  flex: 1;
  min-width: 0;
  text-transform: uppercase;
}
.book-promo__row .btn {
  flex-shrink: 0;
  white-space: nowrap;
}
.book-promo__status {
  margin: 0.35rem 0 0;
  font-size: var(--text-sm);
  line-height: 1.4;
  color: var(--text-dim);
  font-weight: 500;
}
.book-promo__status[data-state="ok"] {
  color: #0f766e;
}
.book-promo__status[data-state="err"] {
  color: #b42318;
}

.book-nocharge-banner {
  margin: 0 0 var(--space-md);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: rgba(125, 211, 252, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.22);
  color: var(--text);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.35;
}
@media (min-width: 1024px) {
  .book-nocharge-banner {
    margin-bottom: var(--space-sm);
  }
}

.pricing-nocharge-banner {
  margin: 0 0 var(--space-md);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: rgba(125, 211, 252, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.22);
  color: var(--text);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.35;
}


/* ===== Section base ===== */
.section {
  padding: var(--space-3xl) 0;
  position: relative;
  container-type: inline-size;
  container-name: section;
}
.section--alt {
  background: linear-gradient(180deg, #eef4fb, #e6eef8);
  border-block: 1px solid var(--line);
}
.section--cta {
  padding: var(--space-3xl) 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(14, 165, 233, 0.14), transparent 60%);
}
.section--quote { padding: var(--space-xl) 0 var(--space-3xl); }


.section__head {
  min-width: 0;
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-xl);
}
.section__head--left { text-align: left; margin-left: 0; margin-right: 0; max-width: 720px; }
.section__head h2 { margin: var(--space-sm) 0 var(--space-xs); }
.section__sub { font-size: var(--text-md); color: var(--text-dim); }


/* ===== Grids / cards ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: var(--space-md);
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
}
@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.card-link { display: block; }
.card-link:hover { color: inherit; }
.card-link:hover .card,
.card-link:focus-visible .card {
  border-color: rgba(125, 211, 252, 0.4);
  transform: translateY(-2px);
}
.card-link:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 4px;
  border-radius: var(--radius-lg);
}

.card {
  position: relative;
  min-width: 0;
  border-radius: var(--radius-lg);
  container-type: inline-size;
  container-name: card;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 10px 28px -22px rgba(15, 40, 80, 0.3);
  padding: var(--space-lg);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.card__icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(14, 165, 233, 0.1);
  color: var(--brand-2);
  border: 1px solid rgba(29, 78, 216, 0.15);
  margin-bottom: var(--space-md);
}
.card h3 { margin-bottom: var(--space-xs); }
.card p { margin-bottom: var(--space-sm); }
.card__more { color: var(--brand-2); font-weight: 600; font-size: var(--text-base); }
@container card (max-width: 16rem) {
  .card__icon {
    width: 36px;
    height: 36px;
    margin-bottom: var(--space-sm);
  }
}


.ticks { list-style: none; margin: 0 0 var(--space-md); padding: 0; display: grid; gap: var(--space-xs); }
.ticks li { position: relative; padding-left: 26px; color: var(--text-dim); font-size: var(--text-base); }
.ticks li::before {
  content: ""; position: absolute; left: 4px; top: 8px; width: 12px; height: 6px;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg); border-radius: 1px;
}
.ticks--cross li::before {
  width: 12px; height: 12px;
  border: none;
  background: linear-gradient(45deg, transparent 45%, #ef4444 45%, #ef4444 55%, transparent 55%),
              linear-gradient(-45deg, transparent 45%, #ef4444 45%, #ef4444 55%, transparent 55%);
  transform: none;
  top: 6px;
}
.ticks--light li { color: rgba(255, 255, 255, 0.78); }

.addons { margin-top: 12px; }
.addon {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #ffffff;
  padding: var(--space-md);
}
.addon h4,
.addon h3 { margin-bottom: 6px; }
.addon p { font-size: var(--text-base); }

.centered-note {
  text-align: center; max-width: 720px; margin: var(--space-xl) auto 0;
  color: var(--text-dim); font-size: var(--text-base);
}
.centered-note a { color: var(--brand); }
.centered-note strong { color: var(--text); }

.center-cta {
  margin-top: var(--space-xl);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-sm);
}
.center-cta .btn {
  flex: 0 1 auto;
  white-space: normal;
}
.center-note { text-align: center; margin-top: var(--space-md); font-size: var(--text-base); }

/* ===== Service blocks (services page) ===== */
.service-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}
.service-block--reverse .service-block__media { order: 0; }
.service-block--reverse .service-block__copy {
  min-width: 0;
  order: 0;
}
.service-block__media { min-width: 0; width: 100%; }
.service-block__figure { margin: 0; }
.service-block__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius, 12px);
  object-fit: cover;
  aspect-ratio: 16 / 9;
}
.service-block__figure .work-sample__label { margin-top: 10px; }
.service-block__copy { min-width: 0; }
.service-block__copy h2 { margin: 14px 0 14px; max-width: 580px; }
.service-block__copy p { margin-bottom: 16px; max-width: 580px; }
.service-block__copy .ticks { max-width: 580px; }
.service-block__copy a { color: var(--brand); }


@container section (min-width: 52rem) {
  .service-block {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }
  .service-block--reverse .service-block__media {
    order: 2;
  }
  .service-block--reverse .service-block__copy {
    order: 1;
  }
}

/* Service media: landscape frames (videos + stills) */
.media-video {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  box-shadow: 0 16px 40px -28px rgba(15, 40, 80, 0.35);
}
.media-video video,
.media-video.media-video--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* Drone section: stacked landscape stills (side-by-side is too narrow in the media column) */
.media-drone-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  width: 100%;
  align-items: stretch;
}
.media-drone-pair .media-video {
  aspect-ratio: 16 / 10;
}

/* ===== Placeholders (where real media goes) ===== */
.placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--line-2);
  background:
    repeating-linear-gradient(45deg,
      rgba(125, 211, 252, 0.04) 0 12px,
      rgba(59, 130, 246, 0.04) 12px 24px),
    linear-gradient(180deg, #eef4fb, #e8eef8);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.placeholder::before {
  content: attr(data-label);
  position: absolute; top: 14px; left: 14px;
  font-size: var(--text-xs); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  padding: 4px 9px; border-radius: 999px;
}
.placeholder__hint {
  color: var(--muted); font-size: var(--text-sm); padding: 0 24px;
}
.placeholder--industrial { background-image:
    radial-gradient(circle at 30% 60%, rgba(125, 211, 252, 0.12), transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.12), transparent 50%),
    linear-gradient(180deg, #e8eef8, #e8eef8); }
.placeholder--residential { background-image:
    radial-gradient(circle at 70% 70%, rgba(165, 180, 252, 0.18), transparent 50%),
    linear-gradient(180deg, #e0e9f8, #e8eef8); }
.placeholder--drone { background-image:
    radial-gradient(circle at 50% 30%, rgba(125, 211, 252, 0.18), transparent 50%),
    linear-gradient(180deg, #e6f0fa, #e8eef8); }
.placeholder--marketing { background-image:
    radial-gradient(circle at 30% 50%, rgba(244, 114, 182, 0.15), transparent 50%),
    linear-gradient(180deg, #ebe6f5, #e8eef8); }
.placeholder--office { background-image:
    radial-gradient(circle at 50% 50%, rgba(125, 211, 252, 0.10), transparent 50%),
    linear-gradient(180deg, #eef4fb, #e8eef8); }
.placeholder--retail { background-image:
    radial-gradient(circle at 30% 30%, rgba(251, 191, 36, 0.12), transparent 50%),
    linear-gradient(180deg, #ebe8f5, #e8eef8); }
.placeholder--floorplan {
  background-image:
    linear-gradient(rgba(125, 211, 252, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, 0.18) 1px, transparent 1px),
    linear-gradient(180deg, #eef4fb, #e8eef8);
  background-size: 28px 28px, 28px 28px, 100% 100%;
}
.placeholder--tour { aspect-ratio: 16 / 9; }
.placeholder--portrait {
  aspect-ratio: 4 / 5;
  background-image:
    radial-gradient(circle at 50% 30%, rgba(165, 180, 252, 0.22), transparent 55%),
    linear-gradient(180deg, #e0e9f8, #e8eef8);
}

/* ===== Home: Story (about) section ===== */
.story { text-align: left; }
.story h2 { margin: 14px 0 18px; }
.story p { font-size: var(--text-md); line-height: 1.65; margin-bottom: 16px; max-width: 760px; }
.story p:last-child { margin-bottom: 0; }

/* ===== Home: Values section ===== */
.values { gap: var(--space-lg); }
.value {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  background: rgba(255, 255, 255, 0.02);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.value__num {
  font-family: 'Instrument Serif', serif;
  font-size: var(--text-2xl);
  color: var(--brand-3);
  line-height: 1;
  margin-bottom: 16px;
}
.value h3 { margin-bottom: 10px; }
.value p { font-size: var(--text-base); line-height: 1.6; }

/* ===== Home: Founder section ===== */
.founder {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(125, 211, 252, 0.06), transparent 55%),
    rgba(255, 255, 255, 0.02);
}
.founder__media .placeholder { aspect-ratio: 4 / 5; }
.founder__copy {
  min-width: 0;
}
.founder__copy h2 { margin: 14px 0 14px; max-width: 520px; }
.founder__copy p { font-size: var(--text-md); line-height: 1.6; margin-bottom: 12px; max-width: 560px; }
.founder__copy p a { color: var(--brand); }
.founder__contact {
  margin-top: var(--space-md);
  display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-xs);
  font-size: var(--text-base);
}
.founder__link { color: var(--brand); font-weight: 500; }
.founder__sep { color: var(--muted); }


@container section (min-width: 52rem) {
  .founder {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

/* ===== Tech section ===== */
.tech {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
.tech__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tech__steps li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  padding: 22px 22px 20px;
}
.tech__steps h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.tech__steps h3 span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(125, 211, 252, 0.12);
  border: 1px solid rgba(125, 211, 252, 0.25);
  color: var(--brand);
  font-size: var(--text-sm); font-weight: 700;
}

.tech__viz { display: grid; gap: 14px; position: static; }
.layer {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}
.layer__name {
  font-size: var(--text-xs); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}
.layer svg { width: 100%; height: auto; }

@container section (min-width: 52rem) {
  .tech {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .tech__viz {
    position: sticky;
    top: 96px;
  }
}


.specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}
.specs > div {
  padding: var(--space-sm);
  border: 0;
  background: rgba(255, 255, 255, 0.96);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.specs span { font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.specs strong { font-size: var(--text-base); }


.footnote { margin-top: 18px; text-align: center; font-size: var(--text-sm); color: var(--muted); }

/* ===== Limits ===== */
.limits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: var(--space-md);
  margin-top: 12px;
}
.limits__col {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(255, 255, 255, 0.02);
}
.limits__col h3 { margin-bottom: 14px; }
.limits__col--good { border-color: rgba(52, 211, 153, 0.3); }
.limits__col--watch { border-color: rgba(239, 68, 68, 0.25); }

/* ===== Why list (full page) ===== */
.why__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: var(--space-sm); }
.why__list li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(255, 255, 255, 0.02);
  display: flex; gap: 16px;
}
.why__list .num {
  font-family: 'Instrument Serif', serif;
  font-size: var(--text-2xl);
  color: var(--brand-3);
  line-height: 1;
  min-width: 32px;
}
.why__list h3 { margin-bottom: 4px; }
.why__list p { font-size: var(--text-base); }

.returns div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.02);
}
.returns h3 { margin-bottom: 8px; }
.returns p { font-size: var(--text-base); }

/* ===== CTA ===== */
.cta {
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  align-items: start;
  padding: var(--space-lg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(125, 211, 252, 0.1), transparent 60%),
    linear-gradient(180deg, #eef4fb, #e8eef8);
  box-shadow: var(--shadow-1);
}
.cta--simple { grid-template-columns: 1fr; align-items: start; }
.cta h2 { margin-bottom: 8px; }
.cta p { font-size: var(--text-md); }


@container section (min-width: 52rem) {
  .cta {
    grid-template-columns: 1fr 1fr;
  }
  .cta--simple {
    grid-template-columns: 1.5fr auto;
    align-items: center;
  }
}

/* ===== Examples ===== */
.gallery-preview { gap: var(--space-md); }
.example-tile { display: block; }
.example-tile:hover { color: inherit; }
.example-tile:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 4px;
  border-radius: var(--radius);
}
.example-tile__media {
  position: relative;
  width: 100%; aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 30% 60%, rgba(125, 211, 252, 0.18), transparent 50%),
    linear-gradient(180deg, #e8eef8, #e8eef8);
  border: 1px solid var(--line-2);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.example-tile__media::before {
  content: attr(data-label);
  position: absolute; top: 12px; left: 12px; z-index: 1;
  font-size: var(--text-xs); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  padding: 4px 9px; border-radius: 999px;
}
.example-tile__media--alt {
  background: radial-gradient(circle at 70% 50%, rgba(165, 180, 252, 0.18), transparent 50%),
              linear-gradient(180deg, #e0e9f8, #e8eef8);
}
.example-tile__media--alt2 {
  background: radial-gradient(circle at 50% 70%, rgba(59, 130, 246, 0.2), transparent 50%),
              linear-gradient(180deg, #eef4fb, #e8eef8);
}
.example-tile:hover .example-tile__media,
.example-tile:focus-visible .example-tile__media {
  border-color: rgba(125, 211, 252, 0.5);
  transform: translateY(-2px);
}
.example-tile__media--video {
  background: #e8eef8;
  overflow: hidden;
}
.example-tile__media--video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.example-tile__caption {
  font-size: var(--text-base); color: var(--text-dim); margin-top: 12px; padding: 0 4px;
}

.featured-tour { margin-top: 8px; }
.featured-tour__media {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e8eef8;
  aspect-ratio: 16 / 9;
}
.featured-tour__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: var(--space-md);
}
.example-card {
  display: flex; flex-direction: column; gap: 14px;
}
.example-card__media {
  position: relative; display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-2);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.example-card__media:hover,
.example-card__media:focus-visible {
  border-color: rgba(125, 211, 252, 0.5); transform: translateY(-2px);
}
.example-card__media:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 3px;
}
.example-card__media .placeholder {
  aspect-ratio: 16 / 11;
  border: 0;
  border-radius: 0;
}
.example-card__video-fill {
  aspect-ratio: 16 / 11;
  width: 100%;
  background: #e8eef8;
}
.example-card__video-fill video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.example-card__photo-fill {
  aspect-ratio: 16 / 11;
  width: 100%;
  background: #e8eef8;
  overflow: hidden;
}
.example-card__photo-fill img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.example-card__badge {
  position: absolute; top: 12px; right: 12px;
  font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line-2);
  padding: 4px 9px; border-radius: 999px;
  color: var(--text);
}
.example-card__meta h3 { margin-bottom: 0; }
.example-card__meta p { font-size: var(--text-base); color: var(--text-dim); }

/* ===== Quote form ===== */
.quote-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: start;
}
@container section (min-width: 52rem) {
  .quote-grid {
    grid-template-columns: 1fr 1.4fr;
  }
}

.quote-aside {
  min-width: 0;
  position: static;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(125, 211, 252, 0.08), transparent 60%),
    rgba(255, 255, 255, 0.02);
}
@container section (min-width: 52rem) {
  .quote-aside {
    position: sticky;
    top: 96px;
  }
}
.quote-aside h3 { margin-bottom: 14px; }
.quote-aside__steps {
  margin: 0 0 var(--space-sm); padding: 0; list-style: none; display: grid; gap: var(--space-xs);
}
.quote-aside__steps li {
  font-size: var(--text-base); color: var(--text-dim);
  padding-left: 0;
}
.quote-aside__steps strong { color: var(--text); display: block; margin-bottom: 2px; }
.quote-aside p { font-size: var(--text-base); margin-top: 12px; }
.quote-aside a { color: var(--brand); }

.quote-form {
  min-width: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  background: #ffffff;
  box-shadow: var(--shadow-1);
}


.form {
  min-width: 0;
  display: grid;
  gap: var(--space-sm);
}
.form fieldset {
  border: 0; padding: 0; margin: 0 0 6px;
  display: grid; gap: 14px;
}
.form fieldset + fieldset { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 6px; }
.form legend {
  font-size: var(--text-sm); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  padding: 0; margin-bottom: 4px;
}
.fieldset__hint { font-size: var(--text-base); color: var(--text-dim); margin: -4px 0 6px; }

.form__row {
  min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: var(--space-sm); }

.form label { display: grid; gap: 6px; font-size: var(--text-sm); color: var(--text-dim); }
.form label > span em { color: #ef4444; font-style: normal; font-family: inherit; margin-left: 2px; }
.form legend em { color: #ef4444; font-style: normal; font-family: inherit; margin-left: 2px; }

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form input[type="number"],
.form select,
.form textarea {
  font: inherit;
  font-size: 1rem; /* ≥16px — prevents iOS Safari focus zoom */
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  appearance: none;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
  box-sizing: border-box;
}
.form select {
  background-color: #ffffff;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-dim) 50%),
                    linear-gradient(135deg, var(--text-dim) 50%, transparent 50%);
  background-position: calc(100% - 18px) 18px, calc(100% - 13px) 18px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.form input:focus, .form select:focus, .form textarea:focus {
  border-color: var(--brand-2);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}
.form textarea { resize: vertical; min-height: 92px; }

.form__note { color: var(--muted); font-size: var(--text-sm); text-align: center; margin: 4px 0 0; }
.form__note a { color: var(--brand); }

.form__success {
  margin-top: 6px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(52, 211, 153, 0.4);
  background: rgba(52, 211, 153, 0.1);
}
.form__success strong { color: var(--success); }
.form__success p { margin-top: 4px; color: var(--text-dim); font-size: var(--text-base); }
.form__success em { color: var(--muted); font-style: italic; }

/* Radio chips for service window */
.radio-grid, .check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr));
  gap: 10px;
}
.radio, .check { position: relative; display: block; cursor: pointer; }
.radio input, .check input {
  position: absolute; opacity: 0; pointer-events: none;
}
.radio__chip, .check span {
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
}
.radio__chip strong, .check span strong { color: var(--text); font-size: var(--text-base); }
.radio__chip small, .check span small { color: var(--text-dim); font-size: var(--text-sm); }

.radio:hover .radio__chip, .check:hover span {
  border-color: rgba(125, 211, 252, 0.4);
  background: rgba(125, 211, 252, 0.05);
}
.radio input:checked ~ .radio__chip,
.check input:checked ~ span {
  border-color: var(--brand);
  background: rgba(125, 211, 252, 0.1);
  box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.5);
}
.radio input:focus-visible ~ .radio__chip,
.check input:focus-visible ~ span {
  outline: 2px solid var(--brand-3);
  outline-offset: 2px;
}

/* ===== Footer ===== */
.footer { background: #0b1a33; border-top: 1px solid rgba(14, 165, 233, 0.2); padding: 56px 0 32px; color: #d7e3f4; }
.footer a { color: #9ec9ef; }
.footer a:hover { color: #ffffff; }
.footer .brand__name { color: #ffffff; }
.footer__cols h5 { color: #8ea4c1; }
.footer__cols a { color: #b6cce6; }
.footer .muted { color: #8ea4c1; }
.footer__tag { color: rgba(186, 210, 240, 0.85); }
.footer__muted { color: #8ea4c1; }
.footer__quick a { color: #7dd3fc; }
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
.footer__brand {
  min-width: 0;
}
.footer__brand p { margin-top: 12px; max-width: 320px; font-size: var(--text-base); }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: var(--space-md); }
.footer__cols h5,
.footer__col-title {
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8ea4c1; /* ~6.8:1 on #0b1a33 */
  margin: 0 0 14px;
  font-weight: 600;
}
.footer__cols a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  color: #b6cce6; /* ~10.6:1 on #0b1a33 */
  font-size: var(--text-base);
}
.footer__cols a:hover,
.footer__cols a:focus-visible {
  color: #ffffff;
}
.muted { color: var(--muted); font-size: var(--text-base); display: block; padding: 4px 0; }

.footer__legal {
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--muted);
}
@media (min-width: 1024px) {
  .footer__inner {
    grid-template-columns: 1fr 1.2fr;
  }
}

/* ===== Streamlined funnel (home / quote UX) ===== */


.section--tight { padding: var(--space-2xl) 0; }


.section--band {
  background: linear-gradient(180deg, #eef4fb, #e8f0fa);
  border-block: 1px solid var(--line);
}

.process-band__heading {
  text-align: center;
  font-size: var(--text-2xl);
  font-weight: 700;
  margin: 0 0 var(--space-md);
  letter-spacing: -0.02em;
}
.process-band__lede {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-lg);
  font-size: var(--text-md);
  color: var(--text-dim);
  line-height: 1.55;
}
.process-band {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: var(--space-sm);
  max-width: 960px;
  margin-inline: auto;
}
.process-band > li {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-md);
  background: #ffffff;
  box-shadow: 0 8px 24px -18px rgba(15, 40, 80, 0.25);
  min-width: 0;
}
.process-band__n {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--brand-2);
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(29, 78, 216, 0.2);
}
.process-band div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.process-band strong { color: var(--text); font-size: var(--text-md); }
.process-band span { font-size: var(--text-sm); color: var(--text-dim); line-height: 1.45; }
.process-band__footer {
  margin-top: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}
.process-band__footer > * { flex: 0 1 auto; }

.link-soft { color: var(--brand-2); font-weight: 600; }
.link-soft:hover { color: var(--ink); }

.card--lite .card__icon { display: none; }
.card--lite { padding: var(--space-md); }
.card--lite h3 { margin-bottom: 4px; }
.card--lite p { margin-bottom: var(--space-xs); font-size: var(--text-base); }

.quote-flow {
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-1);
  container-type: inline-size;
  container-name: quote-flow;
}
.quote-flow__ribbon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 16px;
  background: linear-gradient(180deg, #eef6fc, #e8f1fa);
  border-bottom: 1px solid var(--line);
  font-size: var(--text-xs);
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: var(--text-dim);
}
@media (min-width: 640px) {
  .quote-flow__ribbon {
    justify-content: center;
  }
}
.quote-flow__ribbon em {
  font-style: normal;
  color: var(--muted);
  font-family: inherit;
}
.quote-flow__ribbon--steps span[data-ribbon-step] {
  opacity: 0.45;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.quote-flow__ribbon--steps span[data-ribbon-step].is-current {
  opacity: 1;
  color: var(--text);
}

.quote-step__panel {
  padding: var(--space-md);
  border-radius: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  min-width: 0;
}


.quote-step h2.quote-step__title {
  margin: 0 0 6px;
  font-size: var(--text-xl);
  font-weight: 700;
}
.quote-step__sub {
  margin: 0 0 var(--space-md);
  font-size: var(--text-base);
  color: var(--text-dim);
  line-height: 1.5;
}

.quote-estimate-card {
  margin-top: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius);
  border: 1px solid rgba(29, 78, 216, 0.16);
  background: linear-gradient(180deg, #f0f7ff, #ffffff);
  min-width: 0;
  overflow-wrap: anywhere;
}

.quote-estimate-card__label {
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.quote-estimate-card__figure {
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.quote-estimate-card__muted {
  margin-top: 10px;
  font-size: var(--text-sm);
  color: var(--text-dim);
  line-height: 1.45;
}
@container quote-flow (max-width: 28rem) {
  .quote-estimate-card {
    padding: var(--space-sm);
  }
  .quote-estimate-card__figure {
    font-size: var(--text-2xl);
  }
  .quote-step__panel {
    padding: var(--space-sm);
  }
}


.quote-estimate-notice {
  margin: 16px 0 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(29, 78, 216, 0.2);
  background: linear-gradient(180deg, #f0f7ff, #ffffff);
  font-size: var(--text-base);
  color: var(--text-dim);
  line-height: 1.5;
}
.quote-estimate-notice strong {
  display: block;
  color: var(--ink);
  margin-bottom: 6px;
  font-size: var(--text-base);
}

.quote-ack {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 8px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: #ffffff;
  font-size: var(--text-base);
  color: var(--text-dim);
  line-height: 1.45;
  cursor: pointer;
}
.quote-ack input {
  margin-top: 3px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--brand-2);
}
.quote-ack span {
  flex: 1;
}

.quote-wizard-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}
.quote-wizard-actions--split {
  justify-content: space-between;
}
.quote-wizard-actions .btn,
.quote-wizard-actions--split .btn {
  justify-content: center;
  white-space: normal;
  flex: 1 1 10rem;
  width: auto;
  min-width: 0;
}

.quote-summary-bar {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  font-size: var(--text-base);
  color: var(--text-dim);
  line-height: 1.5;
}
.quote-summary-bar strong {
  color: var(--text);
  font-weight: 600;
}

.tag-info-dialog {
  width: calc(100vw - 26px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
  max-width: none;
  margin-inline: auto;
}
.tag-info-dialog__surface {
  padding: var(--space-lg);
}
@media (min-width: 640px) {
  .tag-info-dialog {
    width: auto;
    max-width: 28rem;
  }
}
.tag-info-dialog__gotit {
  min-width: 7rem;
}

/* Quote wizard — one “card” per micro-step */
.quote-subdeck {
  position: relative;
  min-height: 12rem;
  margin-top: 10px;
}
.quote-subpanel[hidden] {
  display: none !important;
}
.quote-prompt {
  margin: 0 0 6px;
  font-size: var(--text-md);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.quote-prompt-sub {
  margin: 0 0 18px;
  font-size: var(--text-base);
  line-height: 1.52;
  color: var(--text-dim);
}
.quote-step__sub--deck {
  max-width: 40rem;
}
.quote-summary-bar--deck {
  margin-top: 0;
}

.quote-substep-meter {
  display: grid;
  gap: 10px;
  margin: 20px 0 6px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.02);
}
.quote-substep-meter__label {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.quote-substep-meter__track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.quote-substep-meter__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-3), var(--brand));
  transition: width 0.28s ease-out;
}
.quote-substep-meter__dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.quote-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.quote-dot.is-done {
  background: rgba(125, 211, 252, 0.45);
}
.quote-dot.is-active {
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.35);
  transform: scale(1.15);
}
.quote-dot.is-upcoming {
  opacity: 0.55;
}

.quote-subpanel--reveal .quote-estimate-card {
  animation: quote-reveal-pop 0.45s ease-out both;
}
@keyframes quote-reveal-pop {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quote-substep-actions {
  margin-top: 28px;
}

.quote-building-sqft-list,
.quote-building-rows-list {
  display: grid;
  gap: 14px;
  margin-top: 6px;
}
.quote-building-grid-head {
  display: none;
  grid-template-columns: minmax(5.5rem, 0.75fr) minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 10px 12px;
  margin-bottom: 4px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.quote-building-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: stretch;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.quote-building-row:last-child {
  border-bottom: 0;
}
@media (min-width: 640px) {
  .quote-building-grid-head {
    display: grid;
  }
  .quote-building-row {
    grid-template-columns: minmax(5.5rem, 0.75fr) minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: center;
    border-bottom: 0;
  }
}
.quote-building-row__label {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text);
}
.quote-building-row select,
.quote-building-row input {
  width: 100%;
  min-width: 0;
}
.quote-building-sqft-row span {
  display: block;
  margin-bottom: 6px;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-dim);
}
.quote-building-sqft-hint {
  margin: 0;
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--text-dim);
}
.quote-field-hint {
  display: block;
  margin-top: 6px;
  font-size: var(--text-sm);
  line-height: 1.45;
  color: var(--text-dim);
}
.quote-input--numeric-text {
  width: 100%;
  max-width: 8rem;
}
.quote-optional {
  font-weight: 400;
  color: var(--muted);
  font-size: var(--text-sm);
}
.quote-addon-kicker {
  margin: 0 0 var(--space-2xs);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-2);
}
.quote-addon-tag {
  display: inline-block;
  margin: 0 0 4px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(29, 78, 216, 0.22);
  background: rgba(14, 165, 233, 0.1);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brand-2);
}
.quote-addon-option .check span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.quote-addon-skip-hint {
  margin: var(--space-md) 0 0;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius);
  border: 1px dashed var(--line-2);
  background: rgba(14, 165, 233, 0.06);
  font-size: var(--text-sm);
  color: var(--text-dim);
  line-height: 1.45;
}
.quote-addon-stack {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}
.quote-addon-option {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.quote-addon-option:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.quote-addon-option .check {
  flex: 1 1 12rem;
  margin: 0;
}
.quote-help-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 11px;
  margin: 0 0 2px 2.35rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  font-family: inherit;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-dim);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.quote-help-pill:hover {
  color: var(--brand);
  border-color: rgba(125, 211, 252, 0.35);
  background: rgba(125, 211, 252, 0.06);
}
.quote-help-pill:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 2px;
}
/* quote-help-pill margin: base above */
.quote-complete {
  padding: 48px 0 64px;
  text-align: center;
}
.quote-complete__card {
  max-width: 36rem;
  margin-inline: auto;
  padding: 32px 28px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}
.quote-complete__title {
  margin: 16px 0 12px;
  font-family: var(--font-display, 'Instrument Serif', serif);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--text);
}
.quote-complete__message {
  margin: 0;
  font-size: var(--text-md);
  line-height: 1.6;
  color: var(--text-dim);
}
/* quote-building rows: base above */

.quote-estimate-rollup {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  border-top: 1px solid var(--line-2);
}
.quote-estimate-rollup__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--text-sm);
  line-height: 1.45;
  color: var(--text-dim);
}
.quote-estimate-rollup__row--building {
  color: var(--text);
}
.quote-estimate-rollup__row--sub {
  font-size: var(--text-sm);
}
.quote-estimate-rollup__amt {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  white-space: nowrap;
}
.quote-estimate-rollup__disc {
  display: block;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--brand-3);
  margin-top: 4px;
}
.quote-estimate-rollup__disc--none {
  color: var(--muted);
}

.quote-step__error {
  margin-top: 12px;
  font-size: var(--text-sm);
  color: #f87171;
}

.quote-step fieldset.fieldset-plain {
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.form fieldset.fieldset-plain {
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.form fieldset.fieldset-plain + fieldset.fieldset-plain {
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}
.form label.fieldset-plain {
  display: grid;
  gap: 6px;
  margin-top: 6px;
}
.form--streamlined textarea { min-height: 64px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.02);
}
.form-details summary {
  cursor: pointer;
  padding: 14px 0;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-dim);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-details summary::-webkit-details-marker { display: none; }
.form-details__badge {
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--muted);
}
.form-details[open] { padding-bottom: 14px; }
.check-grid--tight {
  gap: 8px !important;
  grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr));
}
.addon-hint {
  margin-left: 6px;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--muted);
}

.footer--streamlined {
  padding: 0 0 32px;
  border-top: 1px solid rgba(14, 165, 233, 0.2);
  background: #0b1a33;
}
.footer__bar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.footer__tag {
  flex: 1 1 14rem;
  margin: 0;
  font-size: var(--text-base);
  color: rgba(186, 210, 240, 0.7);
  max-width: 100%;
}
.footer__quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: var(--text-base);
  flex: 0 1 auto;
}
.footer__quick a {
  color: #7dd3fc;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 4px;
}
.footer__quick a:hover,
.footer__quick a:focus-visible { color: #ffffff; }
.footer__muted {
  color: #8ea4c1; /* AA on navy — was 0.45 alpha (~3.3:1) */
  font-size: var(--text-sm);
}
.footer > .footer__contact {
  margin: 12px auto 0;
  max-width: var(--maxw);
  padding: 0 1.25rem 4px;
  font-size: var(--text-sm);
  color: #8ea4c1;
  line-height: 1.45;
}
.footer__contact a {
  color: #7dd3fc;
  text-decoration: none;
}
.footer__contact a:hover,
.footer__contact a:focus-visible {
  color: #ffffff;
}
.footer__contact-inline {
  margin: 8px 0 0;
  font-size: var(--text-sm);
  line-height: 1.45;
}
.footer--streamlined .footer__inner {
  padding-top: 44px;
}

.cta--narrow { width: min(640px, 100%); margin-inline: auto; }
.section--cta--inline {
  padding: 48px 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(14, 165, 233, 0.12), transparent 65%);
}

/* —— Conversion: proof, sample tour, FAQ, differentiators —— */
.proof-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: var(--space-sm);
  margin-top: 8px;
}
.proof-card {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 28px -22px rgba(15, 40, 80, 0.28);
}
.proof-card__stat {
  display: block;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: var(--text-3xl);
  font-weight: 400;
  color: var(--brand-2);
  line-height: 1.1;
  margin-bottom: 8px;
}
.proof-card p {
  margin: 0;
  font-size: var(--text-base);
  color: var(--text-dim);
  line-height: 1.45;
}
.proof-strip__note {
  margin: 18px 0 0;
  font-size: var(--text-xs);
  color: var(--text-dim); /* was --muted @ 4.06:1; text-dim passes AA */
  line-height: 1.5;
  max-width: 52rem;
}
.proof-strip__note a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }

.tour-demo {
  display: grid;
  gap: var(--space-md);
  container-type: inline-size;
  container-name: tour;
}
.tour-demo__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: none;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #060a12;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.tour-demo__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.tour-demo__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}
.tour-demo__meta p {
  margin: 0;
  font-size: var(--text-base);
  color: var(--text-dim);
  max-width: 36rem;
  line-height: 1.45;
}
@container tour (max-width: 36rem) {
  .tour-demo__meta {
    flex-direction: column;
    align-items: flex-start;
  }
}


.use-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: var(--space-sm);
  margin-top: 8px;
}
.use-card {
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 22px -20px rgba(15, 40, 80, 0.28);
}
.use-card h3 {
  margin: 0 0 8px;
  font-size: var(--text-md);
  color: var(--text);
}
.use-card p {
  margin: 0;
  font-size: var(--text-base);
  color: var(--text-dim);
  line-height: 1.5;
}

.diff-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-base);
  margin-top: 12px;
}
.diff-table th:nth-child(2),
.diff-table td:nth-child(2) {
  display: none;
}
@media (min-width: 640px) {
  .diff-table th:nth-child(2),
  .diff-table td:nth-child(2) {
    display: table-cell;
  }
}
.diff-table th,
.diff-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.45;
}
.diff-table th {
  color: var(--muted);
  font-weight: 600;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.diff-table td:first-child {
  color: var(--text);
  font-weight: 500;
  width: 28%;
}
.diff-table td { color: var(--text-dim); }
.diff-table .diff-yes { color: #047857; font-weight: 600; }
.diff-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 8px;
  max-width: 720px;
  margin-inline: auto;
}
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0;
  background: rgba(255, 255, 255, 0.88);
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--text);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--brand-2);
  font-weight: 500;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p {
  margin: 0;
  padding: 0 18px 16px;
  font-size: var(--text-base);
  color: var(--text-dim);
  line-height: 1.55;
}
.faq-list details a { color: var(--brand); }

.cite-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 12px;
  margin: 20px 0 12px;
}
.cite-stats__item {
  padding: 18px;
  border-left: 2px solid var(--brand);
  background: rgba(14, 165, 233, 0.08);
}
.cite-stats__item strong {
  display: block;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: var(--text-2xl);
  color: var(--brand-2);
  margin-bottom: 6px;
}
.cite-stats__item span {
  font-size: var(--text-base);
  color: var(--text-dim);
  line-height: 1.4;
}

/* proof-strip / cite-stats / use-grid: intrinsic / base above */
/* tour-demo__frame already 16/10 in base; diff-table col2 hidden on mobile below */

.form.form--streamlined fieldset.fieldset-plain + fieldset.fieldset-plain {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 18px;
}


/* Quote + footer: min-width authoring; no max-width layout media. */


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


/* —— Professional polish: soft reveals —— */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    animation: reveal-in 0.7s ease both;
  }
  .reveal--delay {
    animation-delay: 0.12s;
  }
  .hero__copy { animation: reveal-in 0.65s ease both; }
  .hero__preview { animation: reveal-in 0.8s ease 0.1s both; }
}
@keyframes reveal-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.proof-card {
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.proof-card:hover {
  border-color: rgba(125, 211, 252, 0.35);
  transform: translateY(-2px);
  background: #ffffff;
}

.use-card {
  transition: border-color 0.2s ease, background 0.2s ease;
}
.use-card:hover {
  border-color: rgba(125, 211, 252, 0.3);
  background: rgba(255, 255, 255, 0.95);
}

.tour-demo__frame {
  box-shadow: var(--shadow-1), 0 0 0 1px rgba(125, 211, 252, 0.08);
}

.section--band {
  background: linear-gradient(180deg, #eef4fb, #e8f0fa);
}

/* ===== Path chooser (single-site vs portfolio) ===== */
.section--path-chooser {
  padding: var(--space-xl) 0 var(--space-2xl);
}
.section--path-chooser--tight {
  padding: var(--space-lg) 0 var(--space-xl);
}
.path-chooser {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  align-items: stretch;
  max-width: 920px;
  margin-inline: auto;
}
@media (min-width: 640px) {
  .path-chooser {
    grid-template-columns: 1fr 1fr;
  }
}
.path-chooser__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 10px 28px -22px rgba(15, 40, 80, 0.3);
}
.path-chooser__card--primary {
  border-color: rgba(29, 78, 216, 0.28);
  background:
    linear-gradient(165deg, rgba(56, 189, 248, 0.14) 0%, rgba(255, 255, 255, 0.96) 42%),
    var(--panel);
  box-shadow: var(--shadow-1), 0 0 0 1px rgba(56, 189, 248, 0.18);
}
.path-chooser__card--secondary {
  background: rgba(255, 255, 255, 0.88);
}
.path-chooser__card h3 {
  margin: var(--space-xs) 0 var(--space-xs);
  font-size: var(--text-xl);
  color: var(--text);
}
.path-chooser__card p {
  margin: 0 0 var(--space-md);
  color: var(--text-dim);
  font-size: var(--text-base);
  line-height: 1.55;
  flex: 1 1 auto;
}
.path-chooser__actions {
  margin-top: auto;
  display: grid;
  gap: var(--space-xs);
}
.path-chooser__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  text-align: center;
  white-space: normal;
}
.path-chooser__note {
  margin: 0 !important;
  font-size: var(--text-sm);
  color: var(--muted);
  text-align: center;
  line-height: 1.4;
  flex: 0 0 auto !important;
}

/* ===== Pricing page ===== */
.pricing-guarantee {
  border: 1px solid var(--line-2);
  border-left: 4px solid var(--brand);
  background: var(--panel);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-1);
}
.pricing-guarantee h2 {
  margin: 0 0 var(--space-xs);
  font-size: var(--text-xl);
}
.pricing-guarantee p {
  margin: 0;
  color: var(--text-dim);
  font-size: var(--text-base);
  line-height: 1.55;
  max-width: 62ch;
}
.pricing-guarantee__lock {
  margin: var(--space-sm) 0 0;
  font-weight: 600;
  color: var(--text);
}
.portfolio-scoping__cta {
  margin: 0 0 var(--space-md);
}

/* Mini calculator (live quote — totals from remote only) */
.pricing-mini {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-lg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-1);
}
.pricing-mini__resume {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--text-dim);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs) var(--space-sm);
}
.pricing-mini__reset {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: var(--text-sm);
  color: var(--brand);
  text-decoration: underline;
  cursor: pointer;
  min-height: 44px;
}
.pricing-mini__price-block {
  text-align: center;
  padding: var(--space-md) var(--space-sm);
  border-radius: var(--radius-md);
  background: rgba(238, 244, 251, 0.65);
  border: 1px solid var(--line);
}
.pricing-mini__price-label {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--text-dim);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pricing-mini__total-value {
  margin: var(--space-2xs) 0 var(--space-xs);
  font-size: clamp(2.5rem, 8vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  transition: opacity 120ms ease;
}
.pricing-mini__total-value--pending {
  opacity: 0.72;
}
.pricing-mini__exact {
  margin: 0 auto;
  max-width: 36ch;
  font-size: var(--text-sm);
  line-height: 1.45;
  color: var(--text-dim);
}
.pricing-mini__coverage {
  margin: var(--space-2xs) auto 0;
  max-width: 36ch;
  font-size: var(--text-xs, 0.8125rem);
  line-height: 1.4;
  color: var(--text-dim);
}
.pricing-mini__multi-note {
  margin: var(--space-2xs) auto 0;
  max-width: 40ch;
  font-size: var(--text-xs, 0.8125rem);
  line-height: 1.4;
  color: var(--text-dim);
}
.pricing-mini__code {
  margin: var(--space-sm) auto 0;
  max-width: 28rem;
  text-align: left;
}
.pricing-mini__code > summary {
  cursor: pointer;
  font-size: var(--text-sm);
  color: var(--text-dim);
  list-style: none;
}
.pricing-mini__code > summary::-webkit-details-marker {
  display: none;
}
.pricing-mini__code-body {
  margin-top: var(--space-xs);
}
.pricing-mini__list-price {
  text-decoration: line-through;
  opacity: 0.55;
  font-size: 0.72em;
  font-weight: 500;
  margin-right: 0.35em;
}
.pricing-mini__sale-price {
  font-weight: inherit;
}
.pricing-mini__discount-line {
  margin: 0.25rem 0 0;
  font-size: var(--text-sm);
  color: var(--text-2, #445);
}
.pricing-mini__segments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-2xs);
}
.pricing-mini__seg {
  appearance: none;
  min-height: 44px;
  padding: var(--space-xs) var(--space-2xs);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-md);
  background: var(--panel, #fff);
  color: var(--text);
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
}
.pricing-mini__seg.is-active,
.pricing-mini__seg[aria-pressed="true"] {
  border-color: var(--brand);
  background: rgba(14, 165, 233, 0.1);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--brand);
}
.pricing-mini__seg:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.pricing-mini__slider-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.pricing-mini__sqft-readout {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: var(--space-2xs) var(--space-sm);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.pricing-mini__size-label {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-dim);
  line-height: 1.35;
}
.pricing-mini__slider-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.pricing-mini__range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 44px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
.pricing-mini__range:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}
.pricing-mini__range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: var(--line-2);
}
.pricing-mini__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  margin-top: -11px;
  border-radius: 50%;
  background: var(--brand);
  border: 2px solid #fff;
  box-shadow: var(--shadow-1);
}
.pricing-mini__range::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: var(--line-2);
}
.pricing-mini__range::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand);
  border: 2px solid #fff;
  box-shadow: var(--shadow-1);
}
.pricing-mini__slider-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2xs) var(--space-sm);
  margin: 0;
}
.pricing-mini__exact-toggle,
.pricing-mini__size-help-toggle {
  appearance: none;
  border: 0;
  background: none;
  padding: var(--space-2xs) 0;
  min-height: 44px;
  font: inherit;
  font-size: var(--text-sm);
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
}
.pricing-mini__size-help-toggle[aria-expanded="true"] {
  color: var(--text);
}
.pricing-mini__size-help {
  margin: var(--space-xs) 0 0;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel, #fff);
}
.pricing-mini__size-help-copy {
  margin: 0 0 var(--space-sm);
  font-size: var(--text-sm);
  line-height: 1.45;
  color: var(--text-dim);
}
.pricing-mini__size-help-copy a {
  color: var(--brand);
}
.pricing-mini__size-help-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}
.pricing-mini__size-help-opt {
  appearance: none;
  width: 100%;
  min-height: 44px;
  text-align: left;
  padding: var(--space-xs) var(--space-sm);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-md);
  background: rgba(238, 244, 251, 0.45);
  color: var(--text);
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
}
.pricing-mini__size-help-opt:hover,
.pricing-mini__size-help-opt:focus-visible {
  border-color: var(--brand);
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.pricing-mini__sqft-readout {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: var(--space-2xs) var(--space-sm);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.pricing-mini__size-label {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-dim);
  line-height: 1.35;
}
.pricing-mini__slider-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2xs) var(--space-sm);
  margin: 0;
}
.pricing-mini__exact-toggle-wrap {
  margin: 0;
  text-align: right;
}
.pricing-mini__exact-toggle,
.pricing-mini__size-help-toggle {
  appearance: none;
  border: 0;
  background: none;
  padding: var(--space-2xs) 0;
  min-height: 44px;
  font: inherit;
  font-size: var(--text-sm);
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
}
.pricing-mini__size-help-toggle[aria-expanded="true"] {
  color: var(--text);
}
.pricing-mini__size-help {
  margin: var(--space-xs) 0 0;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel, #fff);
}
.pricing-mini__size-help-copy {
  margin: 0 0 var(--space-sm);
  font-size: var(--text-sm);
  line-height: 1.45;
  color: var(--text-dim);
}
.pricing-mini__size-help-copy a {
  color: var(--brand);
}
.pricing-mini__size-help-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}
.pricing-mini__size-help-opt {
  appearance: none;
  width: 100%;
  min-height: 44px;
  text-align: left;
  padding: var(--space-xs) var(--space-sm);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-md);
  background: rgba(238, 244, 251, 0.45);
  color: var(--text);
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
}
.pricing-mini__size-help-opt:hover,
.pricing-mini__size-help-opt:focus-visible {
  border-color: var(--brand);
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.pricing-mini__details {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  background: var(--panel, #fff);
}
.pricing-mini__details > summary {
  cursor: pointer;
  font-weight: 600;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  list-style: none;
}
.pricing-mini__details > summary::-webkit-details-marker {
  display: none;
}
.pricing-mini__optional {
  font-weight: 500;
  color: var(--muted);
  font-size: var(--text-sm);
}
.pricing-mini__details-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--line);
  margin-top: var(--space-xs);
}
.pricing-mini__details-note {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--text-dim);
  line-height: 1.45;
}
.pricing-mini__contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}
.pricing-mini__reprice {
  margin: 0;
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  border: 1px solid var(--brand);
  background: rgba(14, 165, 233, 0.08);
  font-size: var(--text-sm);
  color: var(--text);
  line-height: 1.45;
}
.pricing-mini__lines {
  list-style: none;
  margin: var(--space-sm) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  text-align: left;
  font-size: var(--text-sm);
}
.pricing-mini__line {
  display: flex;
  justify-content: space-between;
  gap: var(--space-sm);
  color: var(--text-dim);
}
.pricing-mini__line strong {
  color: var(--text);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.pricing-mini__err {
  margin: var(--space-xs) 0 0;
  font-size: var(--text-sm);
  color: #b42318;
}

.pricing-examples {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  overflow: hidden;
}
.pricing-examples li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--line);
  font-size: var(--text-base);
  color: var(--text-dim);
}
.pricing-examples li:last-child {
  border-bottom: none;
}
.pricing-examples strong {
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}

.pricing-travel-blurb {
  margin: 0;
  max-width: 52ch;
  color: var(--text-dim);
  font-size: var(--text-base);
  line-height: 1.55;
}

.pricing-hosting-tiers {
  margin-top: var(--space-md);
}
.pricing-hosting-tiers__intro {
  margin: 0 0 var(--space-xs);
  font-size: var(--text-sm);
  color: var(--muted);
}
.pricing-hosting-tiers__list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-dim);
  font-size: var(--text-sm);
  line-height: 1.55;
}

.pricing-addon-list,
.pricing-travel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-sm);
}
.pricing-addon-list__item,
.pricing-travel-list__item {
  padding: var(--space-md);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
}
.pricing-addon-list__head,
.pricing-travel-list__item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-xs) var(--space-md);
}
.pricing-addon-list__label,
.pricing-travel-list__label {
  color: var(--text);
  font-weight: 600;
  font-size: var(--text-md);
}
.pricing-addon-list__price,
.pricing-travel-list__price {
  color: var(--brand-2);
  font-weight: 700;
  font-size: var(--text-base);
}
.pricing-addon-list__desc {
  margin: var(--space-xs) 0 0;
  color: var(--text-dim);
  font-size: var(--text-base);
  line-height: 1.5;
}

.pricing-multisite {
  padding: var(--space-lg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-1);
}
.pricing-multisite h2 {
  margin: var(--space-sm) 0 var(--space-xs);
}
.pricing-multisite p {
  margin: 0 0 var(--space-md);
  color: var(--text-dim);
  font-size: var(--text-base);
  max-width: 58ch;
  line-height: 1.55;
}

/* ===== Book flow (/book.html) ===== */
.book-page {
  --book-mobile-bar-h: 4.75rem;
}
.book-flow-section {
  padding-bottom: calc(var(--space-3xl) + var(--book-mobile-bar-h));
}
@media (min-width: 1024px) {
  .book-flow-section {
    padding-bottom: var(--space-3xl);
  }
}
.book-layout {
  display: grid;
  gap: var(--space-lg);
  align-items: start;
}
@media (min-width: 1024px) {
  .book-layout {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
    gap: var(--space-xl);
  }
}
.book-layout__main {
  min-width: 0;
}
/* Booking flow: keep readable type ≥14px (a11y / QA floor) */
.book-page {
  --text-xs: 0.875rem;
  --text-sm: 0.875rem;
}
.book-page .btn--sm {
  font-size: 0.875rem;
}
.book-page .footer__col-title {
  font-size: 0.875rem;
}
.book-page small {
  font-size: 0.875rem;
}
.book-step-indicator {
  margin: 0 0 var(--space-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.book-step__title {
  margin: 0 0 var(--space-md);
  font-size: var(--text-2xl);
  scroll-margin-top: 88px;
}
.book-fieldset {
  border: 0;
  margin: 0 0 var(--space-lg);
  padding: 0;
}
.book-fieldset legend {
  font-weight: 700;
  font-size: var(--text-md);
  color: var(--text);
  margin-bottom: var(--space-sm);
  padding: 0;
}
.book-sms-consent {
  margin-top: var(--space-md);
  display: grid;
  gap: var(--space-sm);
}
.book-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  font-weight: 500;
  font-size: var(--text-sm);
  line-height: 1.45;
  color: var(--text);
}
.book-check input {
  margin-top: 0.2rem;
}
.book-label {
  display: block;
  font-weight: 600;
  font-size: var(--text-base);
  margin-bottom: var(--space-2xs);
  color: var(--text);
}
.book-input,
.book-select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: #fff;
  font: inherit;
  font-size: 1rem; /* ≥16px — prevents iOS Safari focus zoom */
  color: var(--text);
  min-height: 44px;
}
.book-input:focus,
.book-select:focus {
  outline: 2px solid var(--brand-2);
  outline-offset: 2px;
}
.book-card-grid {
  display: grid;
  gap: var(--space-sm);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .book-card-grid--types {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .book-card-grid--types {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.book-select-card {
  position: relative;
  display: block;
  cursor: pointer;
  margin: 0;
}
.book-select-card input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.book-select-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 44px;
  padding: var(--space-md);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.book-select-card__body strong {
  color: var(--text);
  font-size: var(--text-base);
}
.book-select-card__body small {
  color: var(--text-dim);
  font-size: var(--text-sm);
  line-height: 1.4;
}
.book-select-card__price {
  margin-top: 6px;
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--brand-2);
}
.book-select-card:hover .book-select-card__body {
  border-color: rgba(29, 78, 216, 0.35);
}
.book-select-card input:checked + .book-select-card__body {
  border-color: var(--brand-2);
  background: rgba(14, 165, 233, 0.08);
  box-shadow: 0 0 0 1px rgba(29, 78, 216, 0.25);
}
.book-select-card input:focus-visible + .book-select-card__body {
  outline: 2px solid var(--brand-2);
  outline-offset: 3px;
}
.book-select-card--portfolio .book-select-card__price {
  color: var(--text);
}
.book-field-error {
  margin: var(--space-xs) 0 0;
  color: #b91c1c;
  font-size: var(--text-sm);
  font-weight: 600;
}
.book-field-error--stack {
  white-space: pre-line;
}
.book-helper-toggle-wrap {
  margin: var(--space-sm) 0 0;
}
.book-text-link {
  background: none;
  border: 0;
  padding: 10px 4px;
  margin: -10px 0;
  color: var(--brand-2);
  font: inherit;
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: underline;
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.book-text-link:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 3px;
}
.book-helper {
  margin-top: var(--space-sm);
  padding: var(--space-md);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(238, 244, 251, 0.9);
  color: var(--text-dim);
  font-size: var(--text-base);
  line-height: 1.5;
}
.book-helper p { margin: 0; }
.book-portfolio-gate {
  margin: var(--space-md) 0;
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(29, 78, 216, 0.25);
  background: rgba(56, 189, 248, 0.1);
}
.book-portfolio-gate p {
  margin: 0 0 var(--space-sm);
  color: var(--text-dim);
}
.book-side-link {
  margin: var(--space-md) 0 0;
  font-size: var(--text-sm);
}
.book-side-link a { color: var(--brand-2); font-weight: 600; }

.book-addon-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-sm);
}
.book-addon__label {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  padding: var(--space-md);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
}
.book-addon__label input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.book-addon__label input:disabled {
  cursor: not-allowed;
}
.book-addon__text {
  display: grid;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.book-addon__text strong { color: var(--text); }
.book-addon__text small { color: var(--text-dim); font-size: var(--text-sm); line-height: 1.4; }
.book-addon__price {
  font-style: normal;
  font-weight: 700;
  color: var(--brand-2);
  font-size: var(--text-base);
}

.book-receipt {
  padding: var(--space-md);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--space-md);
}
.book-receipt h3 {
  margin: 0 0 var(--space-sm);
  font-size: var(--text-lg);
}
.book-receipt__list {
  list-style: none;
  margin: 0 0 var(--space-md);
  padding: 0;
  display: grid;
  gap: 8px;
}
.book-receipt__list li {
  display: flex;
  justify-content: space-between;
  gap: var(--space-sm);
  font-size: var(--text-base);
  color: var(--text-dim);
}
.book-receipt__list strong { color: var(--text); font-weight: 600; }
.book-receipt__totals {
  border-top: 1px solid var(--line);
  padding-top: var(--space-sm);
  display: grid;
  gap: 6px;
}
.book-receipt__totals p {
  display: flex;
  justify-content: space-between;
  margin: 0;
  font-size: var(--text-base);
}
.book-receipt__rush {
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--text-sm) !important;
  color: var(--text-dim);
}
.book-receipt__rush span {
  flex: 1;
  max-width: 28rem;
  line-height: 1.4;
}
.book-receipt__total-row {
  font-size: var(--text-md) !important;
  font-weight: 700;
  color: var(--text);
}
.book-receipt__travel-note {
  display: block !important;
  font-size: var(--text-sm) !important;
  color: var(--muted);
  line-height: 1.4;
}
.book-no-surprise,
.book-fair-both-ways {
  display: block !important;
  margin: var(--space-sm) 0 0 !important;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius);
  background: rgba(14, 165, 233, 0.06);
  border: 1px solid rgba(14, 165, 233, 0.18);
  font-size: var(--text-sm) !important;
  font-weight: 400 !important;
  color: var(--text-dim);
  line-height: 1.45;
}
.book-no-surprise strong,
.book-fair-both-ways strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--text);
  font-weight: 700;
}
.book-fair-both-ways p {
  margin: 0;
}
.book-receipt__meta {
  margin: var(--space-md) 0 0;
  display: grid;
  gap: 8px;
}
.book-receipt__meta div {
  display: grid;
  gap: 2px;
}
.book-receipt__meta dt {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 600;
}
.book-receipt__meta dd {
  margin: 0;
  color: var(--text);
  font-size: var(--text-base);
}
.book-scheduler {
  width: 100%;
  max-width: 100%;
  min-height: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.book-scheduler__placeholder {
  padding: var(--space-lg);
  border: 1px dashed var(--line-2);
  border-radius: var(--radius-lg);
  background: rgba(238, 244, 251, 0.7);
  color: var(--text-dim);
  min-height: 700px;
  box-sizing: border-box;
}
.book-scheduler__placeholder p { margin: 0 0 var(--space-sm); }
.book-scheduler__placeholder p:last-child { margin-bottom: 0; }
.book-scheduler__frame {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 700px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.book-step__lede {
  margin: 0 0 var(--space-md);
  color: var(--text-dim);
  font-size: var(--text-base);
  line-height: 1.5;
  max-width: 40rem;
}
.book-travel-derived {
  margin: var(--space-sm) 0 0;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius);
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.22);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
}
.book-buildings {
  display: grid;
  gap: var(--space-md);
  /* Reserve first-paint space so deferred book.js fill does not tank CLS */
  min-height: 26rem;
}
.book-buildings:not(:empty) {
  min-height: 0;
}
.book-building {
  display: grid;
  gap: var(--space-sm);
  padding: var(--space-md);
  border: 1px solid var(--border, rgba(15, 23, 42, 0.12));
  border-radius: var(--radius, 12px);
  background: var(--surface, #fff);
}
.book-building__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.book-building__title {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-dim, #64748b);
}
.book-building__types {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}
.book-building__types .book-select-card {
  min-height: 100%;
}
.book-building__types .book-select-card__body small {
  display: block;
  margin-top: 0.2rem;
  line-height: 1.35;
}
.book-building-row {
  display: grid;
  gap: 0.65rem;
}
.book-building-row__remove {
  font-size: var(--text-sm);
}
.book-estimator {
  margin: 0 0 var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius);
  border: 1px dashed rgba(59, 130, 246, 0.35);
  background: rgba(14, 165, 233, 0.04);
  display: grid;
  gap: var(--space-sm);
}
.book-estimator__lede {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--text-dim);
}
.book-estimator__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}
.book-estimator__result {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 600;
}
.book-trueup-note {
  margin: var(--space-md) 0 0;
  font-size: var(--text-sm);
  color: var(--text-dim);
  max-width: 40rem;
  line-height: 1.45;
}
.book-trueup-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.book-quote-skeleton {
  display: grid;
  gap: 0.45rem;
  margin: 0.65rem 0 0;
}
.book-quote-skeleton[hidden] {
  display: none !important;
}
.book-quote-skeleton__line {
  display: block;
  height: 0.7rem;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(148, 163, 184, 0.25),
    rgba(148, 163, 184, 0.45),
    rgba(148, 163, 184, 0.25)
  );
  background-size: 200% 100%;
  animation: book-skel 1.2s ease-in-out infinite;
}
.book-quote-skeleton__line--short {
  width: 55%;
}
@keyframes book-skel {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.book-price-live__buildings {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  font-size: var(--text-sm);
}
.book-price-live__buildings li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--text-dim);
  line-height: 1.35;
}
.book-price-live__buildings li strong {
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}
.book-price-panel__quote-err {
  margin: var(--space-sm) 0 0;
  color: #b91c1c;
  font-size: var(--text-sm);
  font-weight: 600;
}
@media (max-width: 720px) {
  .book-building__types {
    grid-template-columns: 1fr;
  }
  .book-estimator__grid {
    grid-template-columns: 1fr;
  }
}
.book-price-live__travel {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0.35rem 0 0;
  font-size: var(--text-sm);
  color: var(--text-dim);
}
.book-price-live__travel strong {
  color: var(--text);
  font-weight: 700;
  text-align: right;
}
.book-travel-disclosure,
.book-receipt__travel-note {
  margin: var(--space-sm) 0;
  font-size: var(--text-sm);
  color: var(--text-dim);
  line-height: 1.45;
}

@media (max-width: 639px) {
  .book-location-grid {
    grid-template-columns: 4.75rem minmax(0, 1fr);
  }
  .book-location-grid > .book-label:first-child {
    grid-column: 1 / -1;
  }
  #bookState {
    max-width: 4.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
  .book-location-grid--contact {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 640px) {
  .book-location-grid {
    grid-template-columns: 2fr 0.7fr 1fr;
  }
  .book-location-grid--contact {
    grid-template-columns: 1fr 1fr;
  }
}

.book-date-range {
  margin-top: var(--space-sm);
}

/* Hotel-style range picker */
.rp {
  display: grid;
  gap: var(--space-md);
}
.rp-tiles {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-sm);
  align-items: stretch;
}
.rp-tiles__arrow {
  align-self: center;
  color: var(--muted);
  font-size: 1.25rem;
  font-weight: 600;
}
.rp-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-1);
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.rp-tile.is-active {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
}
.rp-tile__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.rp-tile__value {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--text);
}
.rp-tile:not(.is-active) .rp-tile__value:empty,
.rp-tile .rp-tile__value {
  min-height: 1.25em;
}
.rp-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 0.35rem;
}
.rp-nav {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
}
.rp-nav:hover,
.rp-nav:focus-visible {
  border-color: var(--brand);
  outline: none;
}
.rp-months {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
.rp-months--single {
  grid-template-columns: 1fr;
}
@media (max-width: 767px) {
  .rp-months {
    grid-template-columns: 1fr;
  }
  .rp-tiles {
    grid-template-columns: 1fr auto 1fr;
    gap: 0.4rem;
  }
  .rp-tile {
    padding: 0.7rem 0.65rem;
  }
  .rp-tile__value {
    font-size: var(--text-sm);
  }
}
.rp-month {
  padding: var(--space-md);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow-1);
}
.rp-month__title {
  margin: 0 0 var(--space-sm);
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--ink);
  text-align: center;
}
.rp-dow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 4px;
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--muted);
}
.rp-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.rp-day {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0.25rem 0.1rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  font-size: var(--text-sm);
  cursor: pointer;
  touch-action: manipulation;
}
.rp-day--empty {
  pointer-events: none;
  min-width: 44px;
  min-height: 44px;
}
.rp-day:hover:not(.rp-day--blocked):not(.rp-day--empty) {
  background: var(--bg-2);
}
.rp-day:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
}
.rp-day--today .rp-day__num {
  box-shadow: inset 0 0 0 1.5px var(--brand-2);
  border-radius: 999px;
  width: 1.7rem;
  height: 1.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.rp-day--in-range {
  background: rgba(14, 165, 233, 0.12);
  border-radius: 0;
}
.rp-day--start,
.rp-day--end,
.rp-day--solo {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
}
.rp-day--start {
  border-radius: 10px 0 0 10px;
}
.rp-day--end {
  border-radius: 0 10px 10px 0;
}
.rp-day--solo,
.rp-day--picked {
  border-radius: 10px;
}
.rp-day--picked {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
}
.rp-day--blocked {
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.55;
}
.rp-day__strike {
  position: absolute;
  left: 18%;
  right: 18%;
  top: 50%;
  height: 1px;
  background: currentColor;
  transform: rotate(-28deg);
  pointer-events: none;
}
.rp-day--first-available {
  min-height: 52px;
  padding-bottom: 0.1rem;
}
.rp-day__first {
  display: block;
  margin: 0.1rem 0 0;
  max-width: 100%;
  padding: 0 0.05rem;
  font-size: 0.875rem; /* 14px floor — a11y QA */
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--brand-2, #1d4ed8);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}
.rp-day--start .rp-day__first,
.rp-day--end .rp-day__first,
.rp-day--solo .rp-day__first {
  color: rgba(255, 255, 255, 0.95);
}
.rp-day--first-available::after {
  content: none;
}
.rp-feedback {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-dim);
  line-height: 1.45;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.book-picker-note {
  margin: 0 0 var(--space-sm);
  color: var(--text);
  font-size: var(--text-sm);
  font-weight: 600;
  max-width: 40rem;
}
.book-date-mode {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 var(--space-sm);
}
.book-date-mode__btn {
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line, #d5dde8);
  background: #fff;
  color: var(--text-dim);
  font: inherit;
  font-size: var(--text-sm);
  padding: 0.4rem 0.9rem;
  cursor: pointer;
}
.book-date-mode__btn.is-primary[aria-pressed="true"] {
  background: var(--brand, #0b1f33);
  border-color: var(--brand, #0b1f33);
  color: #fff;
  font-weight: 700;
}
.book-date-mode__btn:not(.is-primary)[aria-pressed="true"] {
  border-color: var(--text);
  color: var(--text);
  font-weight: 600;
}
.book-date-mode__help,
.book-date-mode__prompt {
  margin: 0 0 var(--space-sm);
  max-width: 40rem;
  font-size: var(--text-sm);
  color: var(--text-dim);
}
.book-date-mode__prompt {
  color: var(--text);
}
.book-duration,
.book-price-live__duration {
  margin: 0 0 var(--space-sm);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text);
}
.book-paths.is-call-primary {
  display: flex;
  flex-direction: column;
}
.book-paths.is-call-primary .book-path--call {
  order: -1;
}
.book-paths.is-call-primary .book-call-link {
  display: inline-block;
  font-size: var(--text-xl, 1.35rem);
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  margin-bottom: var(--space-sm);
}
.book-paths.is-call-primary .book-path--window {
  margin-top: var(--space-sm);
}
.book-paths.is-call-primary .book-path--window .book-step__title,
.book-paths.is-call-primary .book-path--window .book-step__lede {
  display: none;
}
.book-path--call {
  margin: var(--space-md) 0 0;
}
.book-call-link {
  color: var(--text-dim);
  font-size: var(--text-sm);
}
.book-window-extra {
  display: grid;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  max-width: 40rem;
}
.book-text-btn {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  background: none;
  border: 0;
  padding: 0.4rem 0;
  color: var(--text);
  font: inherit;
  font-size: var(--text-sm);
  text-decoration: underline;
  cursor: pointer;
}
.book-text-btn[aria-pressed="true"] {
  font-weight: 700;
}
.book-blackout-line,
.book-addon-note,
.book-duration-note {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--text);
}
.book-chips,
.book-access {
  border: 0;
  padding: 0;
  margin: 0;
}
.book-chips legend,
.book-access legend {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.book-chips__row,
.book-access__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.book-chip,
.book-access__list label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--line, #d5dde8);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: var(--text-sm);
  background: #fff;
  cursor: pointer;
}
.book-chip.is-on,
.book-access__list label.is-on {
  border-color: var(--text);
  font-weight: 600;
}
.book-window-extra input[type="text"],
.book-window-extra input[type="number"] {
  font-size: 1rem;
  min-height: 44px;
  padding: 12px 14px;
  border: 1px solid var(--line-2, #d5dde8);
  border-radius: 10px;
  width: 100%;
  box-sizing: border-box;
}
.book-field--narrow input {
  max-width: 8rem;
}
.rp-day--blackout .rp-day__num {
  text-decoration: line-through;
}
.book-terms {
  display: grid;
  gap: var(--space-sm);
  margin: var(--space-md) 0;
}
.book-terms label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  font-size: var(--text-sm);
  line-height: 1.45;
  color: var(--text);
}
.book-terms input[type="checkbox"] {
  margin-top: 0.2rem;
}
.prose-legal h2 {
  margin-top: var(--space-lg);
  font-size: var(--text-xl);
}
.prose-legal h2:first-child {
  margin-top: 0;
}
.prose-legal p {
  color: var(--text-dim);
  line-height: 1.55;
}
.terms-version-line {
  margin: var(--space-sm) 0 0;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
}
.terms-closing-note {
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid var(--line);
  font-size: var(--text-sm);
  color: var(--muted);
}

.book-lead-form {
  padding: var(--space-lg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(238, 244, 251, 0.55);
  min-height: 0;
  box-sizing: border-box;
}
.book-lead-form__terms {
  border: 0;
  margin: var(--space-md) 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.book-lead-form__terms legend {
  font-weight: 700;
  margin-bottom: var(--space-sm);
}
.book-ack {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.45;
  color: var(--text);
  cursor: pointer;
}
.book-ack input[type="checkbox"] {
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
  margin: 0.15rem 0 0;
  accent-color: var(--accent, #0ea5e9);
}
.book-ack__text {
  flex: 1 1 auto;
  min-width: 0;
}
.book-ack__text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.book-summary-card {
  margin: 0 0 var(--space-md);
  padding: var(--space-md);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.85);
}
.book-summary-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}
.book-summary-card__head h3 {
  margin: 0;
  font-size: var(--text-md);
}
.book-summary-card__edit {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--accent, #0284c7);
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  padding: 0.5rem 0.65rem;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
}
}
.book-summary-card__dl {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem var(--space-md);
}
.book-summary-card__dl div {
  display: grid;
  gap: 2px;
}
.book-summary-card__full {
  grid-column: 1 / -1;
}
.book-summary-card__dl dt {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 600;
}
.book-summary-card__dl dd {
  margin: 0;
  color: var(--text);
  font-size: var(--text-base);
  word-break: break-word;
}
@media (max-width: 640px) {
  .book-summary-card__dl {
    grid-template-columns: 1fr;
  }
}

.book-submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--space-md);
  margin-top: var(--space-md);
}
.book-trust-strip {
  flex: 1 1 12rem;
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.35;
}
.book-trust-strip p {
  margin: 0;
  padding-left: 0.85rem;
  position: relative;
}
.book-trust-strip p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--accent, #0ea5e9);
}
.book-submit-col {
  flex: 1 1 14rem;
  display: grid;
  gap: 0.4rem;
  justify-items: stretch;
}
.book-submit-hint {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.35;
}
.book-confirm {
  padding: var(--space-lg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(238, 244, 251, 0.7);
}
.book-confirm h3 {
  margin: 0 0 var(--space-sm);
  font-size: var(--text-lg);
}
.book-confirm__id {
  margin: 0 0 var(--space-md);
  font-size: var(--text-base);
  color: var(--text-dim);
}
.book-confirm__backup {
  margin: 0 0 var(--space-md);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  font-size: var(--text-sm);
  color: var(--text);
  line-height: 1.4;
}
.book-confirm__meta {
  margin: 0 0 var(--space-md);
  display: grid;
  gap: 0.65rem;
}
.book-confirm__meta div {
  display: grid;
  gap: 2px;
}
.book-confirm__meta dt {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 600;
}
.book-confirm__meta dd {
  margin: 0;
  color: var(--text);
  font-size: var(--text-base);
  font-weight: 600;
}

.book-scheduler:has(.book-lead-form),
.book-scheduler:has(.book-confirm) {
  min-height: 0;
}
.book-lead-form__intro {
  margin: 0 0 var(--space-md);
  color: var(--text-dim);
  font-size: var(--text-base);
  line-height: 1.5;
}
.book-lead-form .book-label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0 0 var(--space-sm);
  font-size: var(--text-sm);
  font-weight: 600;
}
.book-input--area {
  resize: vertical;
  min-height: 5rem;
}
.book-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.book-lead-form__fine {
  margin: var(--space-sm) 0 0;
  font-size: var(--text-sm);
  color: var(--text-dim);
}
.book-lead-success {
  padding: var(--space-lg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}
.book-lead-success p {
  margin: 0;
  line-height: 1.5;
}

.book-desktop-nav {
  display: none;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}
.book-desktop-nav > [hidden] {
  display: none !important;
}
@media (min-width: 1024px) {
  .book-desktop-nav {
    display: flex;
    align-items: center;
  }
}

.book-price-panel {
  display: none;
}
@media (min-width: 1024px) {
  .book-price-panel {
    display: block;
    position: sticky;
    top: 88px;
  }
}
.book-price-panel__inner {
  padding: var(--space-md);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-1);
}
.book-price-panel__inner h3 {
  margin: 0 0 var(--space-sm);
  font-size: var(--text-md);
}
.book-price-live__total {
  display: flex;
  justify-content: space-between;
  gap: var(--space-sm);
  margin: 0 0 8px;
  font-size: var(--text-base);
  color: var(--text-dim);
}
.book-price-live__total strong {
  color: var(--text);
  font-size: var(--text-lg);
}

.dn-save-quote {
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--line);
}
.dn-save-quote[hidden] {
  display: none !important;
}
.dn-save-quote__form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}
.dn-save-quote__label {
  font-size: var(--text-sm);
  color: var(--text-dim);
  line-height: 1.35;
}
.dn-save-quote__row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.dn-save-quote__input {
  flex: 1 1 auto;
  min-width: 0;
}
.dn-save-quote__btn {
  flex: 0 0 auto;
  white-space: nowrap;
}
.dn-save-quote__msg {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.4;
}
.dn-save-quote__msg--err {
  color: #b42318;
}
.dn-save-quote-banner {
  margin: 0 0 var(--space-md);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(238, 244, 251, 0.75);
  font-size: var(--text-sm);
  color: var(--text-dim);
  line-height: 1.45;
}
.dn-save-quote-banner--expired {
  border-color: #f0c7c0;
  background: #fff6f4;
  color: #7a271a;
}

.book-price-panel__note {
  margin: var(--space-sm) 0 0;
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.4;
}

.book-mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px -16px rgba(15, 40, 80, 0.35);
  min-height: var(--book-mobile-bar-h);
  padding-top: 0;
}
.book-mobile-quote {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.book-mobile-quote__toggle {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  margin: 10px 0;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text-dim);
  font: inherit;
  font-size: var(--text-sm);
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
}
.book-mobile-quote__summary strong {
  color: var(--text);
  font-weight: 700;
}
.book-mobile-quote__cta {
  color: var(--brand-2);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.book-mobile-quote.is-open .book-mobile-quote__cta {
  text-decoration: none;
}
.book-mobile-quote.is-open .book-mobile-quote__cta::after {
  content: none;
}
.book-mobile-quote__sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% - 4px);
  max-height: min(50vh, 320px);
  overflow: auto;
  padding: var(--space-sm) var(--space-sm) var(--space-xs);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 -12px 32px -20px rgba(15, 40, 80, 0.4);
  -webkit-overflow-scrolling: touch;
}
.book-mobile-quote__sheet[hidden] {
  display: none !important;
}
.book-mobile-bar__btn {
  flex: 0 0 auto;
  min-height: 44px;
  min-width: 44px;
  margin: 10px 0;
  align-self: flex-end;
}
.book-mobile-bar__btn[hidden],
#bookContinueMobile[hidden] {
  display: none !important;
}
.book-mobile-bar.is-step-4 {
  display: none !important;
}
@media (min-width: 1024px) {
  .book-mobile-bar {
    display: none;
  }
}

/* ===== Portfolio intake (/portfolio.html) ===== */
.portfolio-proof {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .portfolio-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.portfolio-proof__card {
  padding: var(--space-md);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 28px -22px rgba(15, 40, 80, 0.28);
}
.portfolio-proof__card h3 {
  margin: 0 0 var(--space-xs);
  font-size: var(--text-lg);
}
.portfolio-proof__card p {
  margin: 0;
  color: var(--text-dim);
  font-size: var(--text-base);
  line-height: 1.5;
}
.portfolio-todo {
  color: #9a3412 !important;
  font-weight: 600;
  font-size: var(--text-sm) !important;
  border-left: 3px solid #fb923c;
  padding-left: var(--space-sm);
}

.portfolio-form__grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
  margin-bottom: var(--space-md);
}
@media (min-width: 640px) {
  .portfolio-form__grid {
    grid-template-columns: 1fr 1fr;
  }
  .portfolio-form__full {
    grid-column: 1 / -1;
  }
}
.portfolio-form label > span {
  display: block;
  margin-bottom: 6px;
}
.portfolio-optional {
  color: var(--muted);
  font-weight: 500;
  font-size: var(--text-sm);
}
.portfolio-form .book-field-error {
  display: block;
  margin-top: 6px;
}
.portfolio-form input,
.portfolio-form select,
.portfolio-form textarea {
  min-height: 44px;
}
.portfolio-form__needs {
  margin-bottom: var(--space-md);
}
.portfolio-check-grid {
  display: grid;
  gap: var(--space-sm);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .portfolio-check-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.portfolio-check {
  display: flex !important;
  align-items: center;
  gap: var(--space-sm);
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  grid-template-columns: none !important;
}
.portfolio-check input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  min-height: 0;
}
.portfolio-check span {
  color: var(--text);
  font-size: var(--text-base);
  font-weight: 500;
}

.portfolio-success {
  padding: var(--space-lg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-1);
}
.portfolio-success__confirm {
  margin: 0 0 var(--space-md);
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--success);
}
.portfolio-success__heading {
  margin: 0 0 var(--space-2xs);
  font-size: var(--text-xl);
}
.portfolio-success__sub {
  margin: 0 0 var(--space-md);
  color: var(--text-dim);
  font-size: var(--text-base);
}
.portfolio-selfserve {
  margin: 0 0 var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--line);
}
.portfolio-selfserve__cta {
  margin: 0;
}
.portfolio-scheduler {
  width: 100%;
  max-width: 100%;
  min-height: 640px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.portfolio-scheduler__frame {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 640px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.portfolio-compliance {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 720px;
  display: grid;
  gap: var(--space-sm);
}
.portfolio-compliance li {
  padding: var(--space-md);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-dim);
  font-size: var(--text-base);
  line-height: 1.45;
}
.portfolio-compliance strong {
  color: var(--text);
  display: inline;
}

#portfolioFormPanel[hidden],
#portfolioSuccess[hidden] {
  display: none !important;
}

/* ===== Responsive / a11y audit fixes (2026-08) ===== */

/* Inline prose links: expand hit area without reflow */
p a:not(.btn),
li a:not(.btn),
.form__note a,
.proof-strip__note a,
.book-side-link a,
.link-soft {
  position: relative;
}
p a:not(.btn)::after,
li a:not(.btn)::after,
.form__note a::after,
.proof-strip__note a::after,
.book-side-link a::after,
.link-soft::after {
  content: "";
  position: absolute;
  inset: -12px -4px;
}

.nav__toolbar {
  gap: 8px;
}
.nav__text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 6px;
}

/* Sticky book bar must not cover form fields or footer */
.book-page {
  --book-mobile-bar-h: 5.25rem;
}
.book-flow-section {
  padding-bottom: calc(var(--space-3xl) + var(--book-mobile-bar-h) + env(safe-area-inset-bottom, 0px));
}
.book-page .footer {
  padding-bottom: calc(32px + var(--book-mobile-bar-h) + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 1024px) {
  .book-flow-section {
    padding-bottom: var(--space-3xl);
  }
  .book-page .footer {
    padding-bottom: 32px;
  }
}

.book-step__title:focus {
  outline: none;
}
.book-step__title:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 4px;
}

/* Hover polish also available on keyboard focus where cards aren’t links */
.proof-card:focus-within,
.use-card:focus-within {
  border-color: rgba(125, 211, 252, 0.35);
  background: #ffffff;
}

/* Long emails / addresses */
.book-receipt,
.book-price-live,
.portfolio-success,
.footer a,
.form__note {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Ensure selects/check label text don’t inherit sub-16 on controls themselves */
.book-select-card input,
.portfolio-check input,
.radio input,
.check input {
  font-size: 1rem;
}

/* Tour / Matterport embeds: scroll container if third-party overflows */
.tour-demo__frame,
.diff-table-wrap,
.pricing-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

/* Services media pending (no broken 404 requests) */
.media-video--placeholder {
  display: grid;
  place-items: center;
  min-height: 220px;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(14, 165, 233, 0.12), transparent 55%),
    linear-gradient(180deg, #e8eef8, #dce6f4);
  border: 1px dashed var(--line-2);
}
.media-placeholder-label {
  margin: 0;
  padding: var(--space-md);
  text-align: center;
  color: var(--text-dim);
  font-size: var(--text-sm);
  font-weight: 600;
  max-width: 16rem;
}

/* ===== DepthNest graphics pack ===== */
.graphic-scroll {
  width: 100%;
  max-width: 100%;
}
@media (max-width: 639px) {
  .graphic-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
.graphic-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.hero__graphic {
  display: block;
  width: 100%;
  max-width: 100%;
}
.hero__graphic img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

/* One capture dark band */
.section--one-capture {
  position: relative;
  background: #0a1530;
  color: #f8fafc;
  overflow: hidden;
}
.one-capture__bg {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
}
.one-capture__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.section--one-capture .container {
  position: relative;
  z-index: 1;
}
.one-capture__heading {
  margin: 0 0 var(--space-md);
  text-align: center;
  font-size: var(--text-2xl);
  color: #f8fafc;
  max-width: 28ch;
  margin-left: auto;
  margin-right: auto;
}

/* Process: desktop SVG / mobile cards */
.process-graphic--desktop {
  display: none;
  margin: var(--space-md) 0;
}
.process-steps-mobile {
  list-style: none;
  margin: var(--space-md) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-sm);
}
.process-steps-mobile__card {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  padding: var(--space-md);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-1);
}
.process-steps-mobile__card img {
  flex: 0 0 auto;
}
.process-steps-mobile__card strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: var(--text-md);
  color: var(--text);
}
.process-steps-mobile__card span {
  display: block;
  font-size: var(--text-base);
  color: var(--text-dim);
  line-height: 1.45;
}
@media (min-width: 768px) {
  .process-graphic--desktop {
    display: block;
  }
  .process-steps-mobile {
    display: none;
  }
}

/* Verticals hotspots over SVG */
.verticals-graphic {
  position: relative;
  margin: var(--space-md) 0;
}
.verticals-hotspots {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.verticals-hotspots__tile {
  position: absolute;
  left: var(--vx);
  top: var(--vy);
  width: var(--vw);
  height: var(--vh);
  border-radius: var(--radius);
  pointer-events: auto;
}
.verticals-hotspots__tile:hover,
.verticals-hotspots__tile:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 2px;
  background: rgba(47, 95, 234, 0.06);
}
@media (max-width: 767px) {
  /* Hotspots unreliable when SVG scrolls — stack link list instead */
  .verticals-hotspots {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xs);
    margin-top: var(--space-sm);
    pointer-events: auto;
  }
  .verticals-hotspots__tile {
    position: static;
    width: auto;
    height: auto;
    min-height: 44px;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
  }
  .verticals-hotspots__tile .visually-hidden {
    position: static;
    width: auto;
    height: auto;
    clip: auto;
    overflow: visible;
    white-space: normal;
  }
  .verticals-graphic__img {
    display: none;
  }
}

/* Vertical page hero */
.vertical-hero {
  position: relative;
  min-height: clamp(16rem, 42vw, 24rem);
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: #0a1530;
}
.vertical-hero__media {
  position: absolute;
  inset: 0;
}
.vertical-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vertical-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 21, 48, 0.35) 0%,
    rgba(10, 21, 48, 0.82) 100%
  );
}
.vertical-hero__content {
  position: relative;
  z-index: 1;
  padding-bottom: var(--space-lg);
  padding-top: var(--space-3xl);
}
.vertical-hero__content h1 {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.eyebrow--on-dark {
  color: rgba(248, 250, 252, 0.92);
}
.eyebrow--on-dark .dot {
  background: #8fcbff;
}
.vertical-body__icon {
  margin-bottom: var(--space-sm);
}

.portfolio-proof__card--map {
  grid-column: 1 / -1;
}

/* Book add-on icons (CSS only — no JS; addons rendered into #bookAddOns) */
.book-addon__label::before {
  content: "";
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin-top: 0.15rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.book-addon__label:has(input[value="schematic-floor-plan"])::before {
  background-image: url("assets/depthnest-graphics/svg/icons/icon-plan.svg");
}
.book-addon__label:has(input[value="dwg-floor-plan"])::before {
  background-image: url("assets/depthnest-graphics/svg/icons/icon-dwg.svg");
}
.book-addon__label:has(input[value="e57-point-cloud"])::before,
.book-addon__label:has(input[value="bim-revit"])::before {
  background-image: url("assets/depthnest-graphics/svg/icons/icon-cloud.svg");
}
.book-addon__label:has(input[value="drone-aerial"])::before {
  background-image: url("assets/depthnest-graphics/svg/icons/icon-drone.svg");
}
.book-addon__label:has(input[value="hdr-photography"])::before {
  background-image: url("assets/depthnest-graphics/svg/icons/icon-tour.svg");
}
.book-addon__label:has(input[value="after-hours"])::before {
  background-image: url("assets/depthnest-graphics/svg/icons/icon-scanner.svg");
}

/* ===== Work / sample captures (poster first, iframe after click) ===== */
.work-sample {
  scroll-margin-top: 76px;
}
.work-sample__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: start;
}
.work-sample__tour,
.work-sample__copy {
  min-width: 0;
}
.work-sample__label,
.featured-work__label {
  margin: 0 0 10px;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.work-sample__copy h2 {
  margin: 0 0 var(--space-sm);
}
.work-sample__copy h3 {
  margin: var(--space-md) 0 8px;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.work-sample__copy p {
  margin: 0 0 12px;
  max-width: 36rem;
  color: var(--text-dim);
}
.work-legal {
  font-size: var(--text-base);
  color: var(--text-dim);
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
  line-height: 1.5;
}
.work-legal a {
  color: var(--brand);
}

.sample-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e8eef6;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}
@media (max-width: 767px) {
  .sample-embed {
    aspect-ratio: auto;
    height: 65svh;
    min-height: 280px;
  }
}
.sample-embed__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}
.sample-embed__play {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(10, 21, 48, 0.28);
  cursor: pointer;
  color: #fff;
}
.sample-embed__play span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #0a1530;
  border: 1px solid rgba(143, 203, 255, 0.55);
  font-family: var(--font);
  font-size: var(--text-base);
  font-weight: 600;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}
.sample-embed__play:hover span,
.sample-embed__play:focus-visible span {
  background: #122048;
}
.sample-embed__play:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: -4px;
}
.sample-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
}
.sample-embed.is-active .sample-embed__play {
  opacity: 0;
  pointer-events: none;
}
.sample-embed.is-loaded iframe {
  opacity: 1;
  z-index: 3;
  pointer-events: auto;
}
.sample-embed.is-loaded .sample-embed__poster,
.sample-embed.is-loaded .sample-embed__play {
  display: none;
}

.featured-work {
  scroll-margin-top: 80px;
  padding: var(--space-xl) 0 var(--space-lg);
}
#sample-tour {
  scroll-margin-top: 80px;
}
.featured-work__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-top: var(--space-md);
}
.featured-work__meta p {
  margin: 0;
  font-size: var(--text-base);
  color: var(--text-dim);
  max-width: 36rem;
}

@container section (min-width: 52rem) {
  .work-sample__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: var(--space-xl);
    align-items: center;
  }
}

/* —— /pay —— */
.pay-panel {
  display: grid;
  gap: var(--space-md);
  padding: var(--space-lg) 0 var(--space-xl);
  max-width: 28rem;
}
.pay-field {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  font-size: var(--text-sm);
}
.pay-field input {
  font: inherit;
  font-size: 1rem; /* ≥16px — prevents iOS Safari focus zoom */
  font-weight: 500;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line, #d0d7de);
  border-radius: 10px;
  background: #fff;
  color: var(--text, #0b0f17);
  min-height: 44px;
  width: 100%;
  box-sizing: border-box;
}
.pay-hint {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.5;
}
.pay-status {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--text-dim, #5b6570);
}
.pay-status.is-error {
  color: #9b1c1c;
}
.pay-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.pay-actions a[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
}

/* === operators page === */
.operators-form {
  max-width: 40rem;
}
.operators-form .book-location-grid {
  margin-bottom: var(--space-md);
}
.operators-yn {
  display: flex;
  gap: 1rem;
  margin: 0.35rem 0 0.75rem;
}
.operators-yn label {
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.operators-status {
  margin-top: var(--space-md);
  white-space: pre-wrap;
}
.operators-how {
  display: grid;
  gap: var(--space-md);
  margin: 0 0 var(--space-xl);
}
@media (min-width: 800px) {
  .operators-how {
    grid-template-columns: 1fr 1fr;
  }
}
.operators-pays {
  max-width: 40rem;
}
.operators-pays p {
  margin: 0.5rem 0 0;
  color: var(--muted, #4b5563);
  line-height: 1.55;
}

/* Tags add-on (commercial / industrial) — calculator + info modal */
.tags-addon {
  margin-top: var(--space-md);
  display: grid;
  gap: var(--space-md);
}
.tags-addon__building {
  display: grid;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line, #d7dee8);
  border-radius: var(--radius, 10px);
  background: rgba(255, 255, 255, 0.4);
}
.tags-addon__label-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.85rem;
}
.tags-addon__label-row .book-label {
  margin: 0;
}
.tags-addon__what-link {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent, #2563eb);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
}
.tags-addon__what-link:focus-visible {
  outline: 2px solid var(--accent, #2563eb);
  outline-offset: 2px;
  border-radius: 4px;
}
.tags-addon__input {
  max-width: 8rem;
}
.tags-addon__hint {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-dim, #5b6575);
}
.tags-addon__rich {
  margin-top: 0.25rem;
}
.book-addon {
  position: relative;
  display: grid;
  gap: 0.35rem;
}
.book-addon__what {
  justify-self: start;
  margin-left: 2rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent, #1d4ed8);
  font: inherit;
  font-size: var(--text-sm, 0.875rem);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  min-height: 44px;
}
.book-addon__what:hover,
.book-addon__what:focus-visible {
  color: var(--text, #0f172a);
}
.addon-help-dialog__media {
  margin: 0;
  border-radius: var(--radius, 12px);
  overflow: hidden;
  background: var(--surface, #eef2f7);
  aspect-ratio: 16 / 10;
}
.addon-help-dialog__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.addon-help-dialog__blurb,
.addon-help-dialog__why {
  margin: 0;
  line-height: 1.5;
  color: var(--text-dim, #5b6575);
}
.addon-help-dialog__why {
  font-size: 0.95rem;
}
.tag-info-dialog {
  width: calc(100vw - 26px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
  max-width: min(36rem, calc(100vw - 26px));
  margin: auto;
  border: 1px solid var(--line, #d7dee8);
  border-radius: var(--radius, 12px);
  padding: 0;
  background: var(--bg, #f7fafc);
  color: var(--text, #0f172a);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
}
.tag-info-dialog::backdrop {
  background: rgba(15, 23, 42, 0.45);
}
.tag-info-dialog__surface {
  padding: var(--space-lg, 1.25rem);
  display: grid;
  gap: 0.85rem;
}
.tag-info-dialog__title {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.65rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.tag-info-dialog__surface > p {
  margin: 0;
  line-height: 1.5;
  color: var(--text-dim, #5b6575);
}
.tag-info-dialog__examples {
  display: grid;
  gap: 0.65rem;
}
.tag-example-card {
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--line, #d7dee8);
  background: linear-gradient(180deg, #ffffff 0%, #f3f7fb 100%);
}
.tag-example-card strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent, #2563eb);
  margin-bottom: 0.35rem;
}
.tag-example-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--text, #0f172a);
}
.tag-example-card__note {
  margin-top: 0.35rem !important;
  font-size: 0.85rem !important;
  color: var(--text-dim, #5b6575) !important;
}
.tag-info-dialog__footer {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--text, #0f172a);
}
.tag-info-dialog__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.25rem;
}
.tag-info-dialog__gotit {
  min-width: 7rem;
  min-height: 44px;
}
@media (min-width: 640px) {
  .tag-info-dialog {
    width: auto;
  }
  .tag-info-dialog__examples {
    grid-template-columns: 1fr 1fr;
  }
}

.money-table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0;
}
.money-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.money-table th,
.money-table td {
  text-align: left;
  padding: 0.55rem 0.4rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  white-space: nowrap;
}
.money-total {
  font-weight: 600;
}
.money-edit,
.money-waive,
.money-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.money-edit label,
.money-waive label {
  display: grid;
  gap: 0.35rem;
}
.money-edit input,
.money-waive input {
  font: inherit;
  font-size: 1rem;
  min-height: 44px;
  width: 100%;
}

.dn-app-body {
  margin: 0;
  background: var(--bg);
  color: var(--ink, var(--text));
  font-family: var(--font);
  font-size: 1rem;
}
.dn-app-body .dn-app-card h1,
.dn-app-body .dn-app-card h2 {
  color: var(--ink, var(--text));
}
.dn-app-body .dn-app-card p,
.dn-app-body .dn-app-note {
  color: var(--ink-2, var(--text-dim));
}
.dn-app-body #dnGoogle {
  min-height: 44px;
  margin: 1rem 0 0.5rem;
}
.dn-app-body .dn-app-top {
  background: var(--surface, var(--panel));
  color: var(--ink, var(--text));
}
.dn-app {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(4.5rem + env(safe-area-inset-bottom));
}
.dn-app-top,
.dn-app-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.dn-app-top {
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.dn-app-brand {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.05rem;
}
.dn-barcode-wrap {
  background: #fff;
  padding: 12px 8px;
  border-radius: 8px;
}
.dn-barcode {
  display: block;
  width: 100%;
  height: 140px;
}
.dn-barcode-text {
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  text-align: center;
  margin: 0.35rem 0 0.75rem;
}
.dn-app-decision {
  margin: 0.75rem 0;
  padding: 0.75rem;
  border: 1px solid var(--line-2);
  border-radius: 12px;
}
.dn-app-decision p,
.dn-app-field {
  hyphens: manual;
  overflow-wrap: normal;
  word-break: normal;
}
.dn-app-who {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.875rem;
}
.dn-app-btn,
.dn-app-row {
  min-height: 44px;
  min-width: 44px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: var(--panel);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  padding: 0.5rem 0.85rem;
}
a.dn-app-btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.dn-app select,
.dn-app input,
.dn-app textarea {
  font: inherit;
  font-size: 16px;
  min-height: 44px;
  width: 100%;
}
.dn-app textarea {
  min-height: 8rem;
}
.dn-progress {
  display: flex;
  gap: 4px;
  margin: 0.75rem 0;
}
.dn-progress span {
  flex: 1;
  height: 8px;
  border-radius: 99px;
  background: var(--line-2);
}
.dn-progress span.is-done,
.dn-progress span.is-now {
  background: #0f1a33;
}
.dn-help-snip {
  margin: 0 0 0.65rem;
}
.dn-help-snip summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.dn-help-updated {
  color: #0f1a33;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}
.dn-pass {
  margin: 0.5rem 0 1rem;
  padding-left: 1.1rem;
}
.dn-pass li {
  margin: 0.35rem 0;
}
.dn-app-card p,
.dn-app-note {
  overflow-wrap: anywhere;
}
.dn-app-btn--primary,
.dn-app-btn.is-on {
  background: var(--brand-2);
  color: #fff;
  border-color: transparent;
}
.dn-app-nav {
  padding: 0.5rem 1rem 0;
}
.dn-app-main {
  padding: 1rem;
  flex: 1;
}
.dn-app-card h1,
.dn-app-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}
.dn-app-card h2 {
  margin-top: 1rem;
  font-size: 1.05rem;
}
.dn-app-card p,
.dn-app-note,
.dn-app-banner,
.dn-app-pending {
  font-size: 1rem;
  line-height: 1.45;
}
.dn-app-banner,
.dn-app-pending {
  margin: 0;
  padding: 0.75rem 1rem;
}
.dn-app-pending {
  background: #fff7ed;
  color: var(--ink);
}
.dn-app-banner {
  background: var(--bg-2);
}
.dn-app-list {
  display: grid;
  gap: 0.5rem;
}
.dn-app-row {
  display: grid;
  gap: 0.15rem;
  text-align: left;
  width: 100%;
}
.dn-app-check {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  font-size: 1rem;
}
.dn-app-field {
  display: grid;
  gap: 0.35rem;
  margin: 0.65rem 0;
  font-size: 1rem;
}
.dn-app-field input,
.dn-app-field select {
  min-width: 0;
}
.dn-app-push {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
@media (min-width: 1024px) {
  .dn-app {
    display: grid;
    grid-template-columns: 14rem 1fr;
    grid-template-rows: auto auto 1fr;
    padding-bottom: 0;
  }
  .dn-app-top { grid-column: 1 / -1; }
  .dn-app-pending,
  .dn-app-banner { grid-column: 1 / -1; }
  .dn-app-nav {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
  }
  .dn-app-main { padding: 1.5rem; }
}
.dn-guide {
  margin: 0 1rem;
  padding: 1rem;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--panel);
  white-space: pre-wrap;
  font-size: 1rem;
  line-height: 1.45;
}
.dn-chart {
  display: grid;
  gap: 0.65rem;
  margin: 0.75rem 0;
}
.dn-chart-row {
  display: grid;
  gap: 0.2rem;
}
.dn-chart-track {
  display: block;
  height: 12px;
  background: var(--line-2);
  border-radius: 99px;
  overflow: hidden;
}
.dn-chart-bar {
  display: block;
  height: 12px;
  background: #0f1a33;
  min-width: 2px;
}
.dn-report-table {
  overflow-x: auto;
  max-width: 100%;
  margin: 0.75rem 0 1rem;
}
.dn-report-table table {
  border-collapse: collapse;
  width: max-content;
  min-width: 100%;
  font-size: 1rem;
}
.dn-report-table th,
.dn-report-table td {
  text-align: left;
  padding: 0.45rem 0.5rem;
  border-bottom: 1px solid var(--line-2);
  white-space: nowrap;
}


/* G1 paid-search Denver landings — calculator first, tight hero */
.page-hero--ads {
  padding-bottom: 0.75rem;
}
.page-hero--ads .page-hero__schedule {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  color: var(--muted, #64748b);
}
.page-hero--ads .page-hero__phone {
  margin: 0.35rem 0 0;
  font-weight: 600;
}
.page-hero--ads .page-hero__phone a {
  color: inherit;
  text-decoration: none;
}
.section--ads-quote {
  padding-top: 1rem;
}
.dn-ads-landing .nav__toolbar .nav__text-link {
  white-space: nowrap;
}
.dn-ads-landing .footer__legal,
.dn-ads-landing .footer__legal.muted {
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.45;
  padding: 0 1rem 1.25rem;
  display: block;
}
