/* ==========================================================================
   Down South Roofing · landing page v2 (local preview)
   Clean and modern: rounded photo cards, pill navigation and pill buttons.
   Mobile first. Colors, type and motion come from tokens.css (scoped to .ridgeline).
   ========================================================================== */

/* ---------- Base ---------- */
.ridgeline {
  --gutter: 20px;
  --inset: 8px;              /* hero and footer cards sit this far from the viewport edge */
  --header-h: 60px;
  --header-top: calc(var(--inset) + 6px);
  --grid-gap: 24px;
  --radius-card: 20px;
  --radius-panel: 24px;
  --radius-hero: 24px;
  --line: var(--asphalt-200);
  --muted-display: #8A837B;  /* 3.56:1 on limewash-50: the quiet half of two-tone statements (28px+) only */
  --font-label: var(--font-text);
  scroll-padding-top: calc(var(--header-top) + var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}
@media (min-width: 768px) { .ridgeline { --gutter: 40px; --inset: 12px; --header-h: 64px; --radius-card: 24px; --radius-panel: 32px; --radius-hero: 32px; } }
@media (min-width: 1024px) { .ridgeline { --gutter: clamp(48px, 5vw, 80px); --inset: 14px; --header-h: 68px; --radius-hero: 36px; } }
@media (prefers-reduced-motion: no-preference) { .ridgeline { scroll-behavior: smooth; } }

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font: 400 17px/1.6 var(--font-text);
  font-stretch: 100%;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, figure, ul, ol, dl, dd, fieldset, legend { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; margin: 0; }
button { cursor: pointer; background: none; border: 0; padding: 0; text-align: inherit; }
a { color: inherit; text-decoration-color: var(--marker-500); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
a:hover { color: var(--marker-800); }
a[href^="tel:"], a[href^="sms:"] { white-space: nowrap; } /* never split a phone number */
em { font-style: normal; }
p, dt, dd, figcaption, .msg__bubble { text-wrap: pretty; } /* no one-word last lines */
::selection { background: var(--marker-500); color: var(--asphalt-900); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.hero :focus-visible, .panel--dark :focus-visible, .site-footer :focus-visible, .action-bar :focus-visible,
.chat__head :focus-visible, .booking__summary :focus-visible, .site-header :focus-visible { outline-color: #fff; }
.site-header.is-solid :focus-visible, .site-nav a:focus-visible { outline-color: var(--asphalt-900); }
main:focus { outline: none; }

.container { width: min(100% - 2 * var(--gutter), var(--content-max)); margin-inline: auto; }
/* Single-column grids on phones: keep wide children (like the scrolling day strip) from stretching the page. */
.hero__card, .schedule__panel, .about__grid, .area__grid, .zip-check, .faq__grid, .get-started__grid, .brave, .section-head, .section-head__row, .services__grid,
.site-footer__top, .site-footer__cols, .form, .field, .step, .booking__scroll, .form-done, .board__done, .board__form { grid-template-columns: minmax(0, 1fr); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--asphalt-900); color: var(--limewash-50); padding: 12px 18px; border-radius: 999px;
  font-weight: 650; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--limewash-50); }

.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes typing { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(45, 106, 62, .45); } 70% { box-shadow: 0 0 0 8px rgba(45, 106, 62, 0); } 100% { box-shadow: 0 0 0 0 rgba(45, 106, 62, 0); } }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
@keyframes halo { 0% { transform: scale(.7); opacity: .45; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Type ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 8px; width: max-content; max-width: 100%;
  padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
  font: 600 14px/1.5 var(--font-text); color: var(--asphalt-600);
}
.kicker--dark, .kicker--glass { color: #d3d1ca; }
.kicker--link { min-height: 44px; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(255, 255, 255, .4); }
.kicker--link:hover { color: #fff; text-decoration-color: var(--marker-400); }
.kicker .kicker__arrow { width: 14px; height: 14px; margin-left: 2px; color: rgba(255, 255, 255, .8); transition: transform var(--dur-lift) var(--ease-settle); }
.kicker--link:hover .kicker__arrow { transform: rotate(45deg); }

.h-section {
  font-family: var(--font-display); font-weight: 650; font-stretch: 100%;
  font-size: clamp(2.125rem, 1.35rem + 2.9vw, 4rem); line-height: 1.02; letter-spacing: -.045em;
  text-wrap: balance;
}
.h-section em, .hero__title em, .site-footer__line em { color: var(--marker-400); } /* orange words sit on dark only */

.statement {
  font-family: var(--font-display); font-weight: 600; font-stretch: 100%;
  font-size: clamp(1.75rem, 1.05rem + 2.4vw, 3.5rem); line-height: 1.1; letter-spacing: -.04em;
  color: var(--muted-display); text-wrap: pretty;
}
.statement__lead { color: var(--asphalt-900); }

/* ---------- Buttons ---------- */
.btn {
  --h: 56px; --pad: 26px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 var(--pad);
  border: 1.5px solid transparent; border-radius: 999px;
  font: 600 16.5px/1.1 var(--font-text); letter-spacing: -.01em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--dur-color) ease, color var(--dur-color) ease, border-color var(--dur-color) ease;
}
.btn--m { --h: 48px; --pad: 20px; font-size: 15.5px; }
.btn:has(.btn__arrow) { padding-right: 5px; gap: 14px; }
.btn__arrow {
  width: calc(var(--h) - 10px); height: calc(var(--h) - 10px); flex: none;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--asphalt-900); color: var(--limewash-50);
}
.btn__arrow .icon { width: 20px; height: 20px; stroke-width: 2; transition: transform var(--dur-lift) var(--ease-settle); }
.btn:hover .btn__arrow .icon { transform: rotate(45deg); }
.btn .icon { width: 20px; height: 20px; }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--marker-500); color: var(--asphalt-900); }
.btn--primary:hover { background: var(--marker-400); color: var(--asphalt-900); }
.btn--primary:active { background: var(--marker-550); }
.btn--dark { background: var(--asphalt-900); color: var(--limewash-50); }
.btn--dark:hover { background: var(--asphalt-700); color: var(--limewash-50); }
.btn--dark .btn__arrow, .btn--light .btn__arrow { background: var(--marker-500); color: var(--asphalt-900); }
.btn--light { background: #fff; color: var(--asphalt-900); }
.btn--light:hover { background: var(--limewash-100); color: var(--asphalt-900); }
.btn--glass {
  background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .36); color: #fff;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.btn--glass:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.btn--outline { background: transparent; color: var(--asphalt-900); border-color: var(--asphalt-900); }
.btn--outline:hover { background: var(--asphalt-900); color: var(--limewash-50); }
.btn--outline-dark { background: transparent; color: var(--limewash-50); border-color: rgba(251, 249, 245, .42); }
.btn--outline-dark:hover { background: var(--limewash-50); border-color: var(--limewash-50); color: var(--asphalt-900); }
.btn--ghost { background: transparent; color: var(--asphalt-900); }
.btn--ghost:hover { background: var(--asphalt-100); color: var(--asphalt-900); }
.btn--full { width: 100%; justify-content: space-between; padding-left: 24px; }
.btn--full:not(:has(.btn__arrow)) { justify-content: center; }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--asphalt-100); color: var(--asphalt-500); cursor: not-allowed; transform: none; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading::before {
  content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%;
  border: 2px solid rgba(30, 28, 26, .25); border-top-color: currentColor; animation: spin .8s linear infinite;
}
.btn--dark.is-loading::before { border-color: rgba(251, 249, 245, .3); border-top-color: currentColor; }

.link-action {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px;
  font: 600 16px/1.2 var(--font-text); color: var(--asphalt-900); text-decoration: none;
}
.link-action__arrow {
  width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 50%;
  background: #fff; box-shadow: inset 0 0 0 1px var(--asphalt-300);
  transition: background-color var(--dur-color) ease, box-shadow var(--dur-color) ease;
}
.link-action__arrow .icon { width: 18px; height: 18px; stroke-width: 2; transition: transform var(--dur-lift) var(--ease-settle); }
.link-action:hover { color: var(--asphalt-900); text-decoration: underline; text-decoration-color: var(--marker-500); }
.link-action:hover .link-action__arrow { background: var(--marker-500); box-shadow: none; }
.link-action:hover .link-action__arrow .icon { transform: rotate(45deg); }

.icon-btn {
  width: 44px; height: 44px; display: grid; place-items: center; flex: none;
  border-radius: 50%; color: var(--asphalt-900); box-shadow: inset 0 0 0 1px var(--asphalt-300);
  transition: background-color var(--dur-color) ease, box-shadow var(--dur-color) ease;
}
.icon-btn:hover { box-shadow: inset 0 0 0 1px var(--asphalt-900); }
.icon-btn:disabled { opacity: .4; cursor: not-allowed; }
.icon-btn--plain { box-shadow: none; }
.icon-btn--plain:hover { background: var(--asphalt-100); box-shadow: none; }
.icon-btn--dark { box-shadow: none; color: var(--limewash-50); }
.icon-btn--dark:hover { background: var(--asphalt-800); box-shadow: none; }
.icon-btn .icon { width: 22px; height: 22px; stroke-width: 2; }

.tag {
  display: inline-flex; align-items: center; gap: 6px; width: max-content; min-height: 28px; padding: 0 11px; border-radius: 999px;
  font: 600 11.5px/1 var(--font-text); letter-spacing: .07em; text-transform: uppercase; white-space: nowrap;
}
.tag .icon { width: 14px; height: 14px; }
.tag--demo { box-shadow: inset 0 0 0 1px var(--asphalt-300); color: var(--asphalt-600); }

/* Caption pill over photos */
.photo-tag {
  display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 14px; border-radius: 999px;
  background: rgba(20, 19, 17, .64); color: #fff; font: 600 14px/1 var(--font-text); white-space: nowrap;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}

/* ---------- Header: floats over the hero, becomes a light capsule once past it ---------- */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: var(--z-header);
  padding: var(--header-top) calc(var(--inset) + 8px) 0; pointer-events: none;
  transition: padding .3s var(--ease-settle), transform .4s var(--ease-settle);
}
.js .site-header { position: fixed; }
.site-header.is-tucked { transform: translateY(calc(-100% - 16px)); }
.site-header__inner {
  pointer-events: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px;
  height: var(--header-h); max-width: 1400px; margin-inline: auto; padding: 0 6px 0 12px;
  border-radius: 999px; color: #fff;
  transition: background-color .3s ease, box-shadow .3s ease, color .3s ease;
}
.site-header.is-solid { padding-top: 10px; }
.site-header.is-solid .site-header__inner {
  background: rgba(251, 249, 245, .9); color: var(--asphalt-900);
  -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px);
  box-shadow: 0 0 0 1px rgba(30, 28, 26, .08), 0 16px 36px -20px rgba(20, 19, 17, .45);
}

.site-header .brand { grid-column: 1; }
.site-nav { grid-column: 2; }
.brand { justify-self: start; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: inherit; text-decoration: none; }
.brand:hover { color: inherit; }
.brand__marks { position: relative; width: 40px; height: 30px; flex: none; }
.brand__marks img { position: absolute; inset: 0; width: 40px; height: 30px; transition: opacity .3s ease; }
.brand__mark--dark, .site-header.is-solid .brand__mark--light { opacity: 0; }
.site-header.is-solid .brand__mark--dark { opacity: 1; }
.brand__mark { width: 40px; height: 30px; }
.brand__text { display: flex; flex-direction: column; gap: 4px; }
.brand__name { font: 800 15px/1 var(--font-display); font-stretch: 112%; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.brand__desc { font: 500 10.5px/1 var(--font-text); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; color: rgba(255, 255, 255, .82); }
.site-header.is-solid .brand__desc, .menu-sheet .brand__desc { color: var(--asphalt-600); }

.site-nav { display: none; }
@media (min-width: 1100px) { .site-nav { display: block; } }
.site-nav ul {
  display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 999px;
  background: #fff; box-shadow: 0 12px 30px -16px rgba(20, 19, 17, .55);
}
.site-header.is-solid .site-nav ul { box-shadow: inset 0 0 0 1px var(--line); }
.site-nav a, .site-nav .nav-more-toggle {
  display: block; padding: 12px 17px; border-radius: 999px;
  font: 600 15px/1 var(--font-text); color: var(--asphalt-800); text-decoration: none; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.site-nav a:hover, .site-nav .nav-more-toggle:hover { background: var(--limewash-100); color: var(--asphalt-900); }
.site-nav a[aria-current="true"], .site-nav .nav-more-toggle[aria-current] { background: var(--marker-500); color: var(--asphalt-900); }
.site-nav a:focus-visible, .site-nav .nav-more-toggle:focus-visible { outline-offset: 1px; outline-color: var(--asphalt-900); }

.site-header__actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 8px; }
.header-phone {
  display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px;
  font: 600 15px/1 var(--font-text); color: inherit; text-decoration: none; white-space: nowrap;
}
.header-phone .icon { width: 18px; height: 18px; }
.header-phone:hover { color: inherit; text-decoration: underline; }
@media (min-width: 1440px) { .header-phone { display: inline-flex; } }
.header-cta { display: none; }
@media (min-width: 768px) { .header-cta { display: inline-flex; } }
.menu-toggle {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .34); color: #fff;
  font: 600 15px/1 var(--font-text);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: background-color .3s ease, color .3s ease;
}
.menu-toggle .icon { width: 20px; height: 20px; stroke-width: 2; }
.menu-toggle:hover { background: rgba(255, 255, 255, .26); }
.site-header.is-solid .menu-toggle { background: var(--asphalt-900); box-shadow: none; color: var(--limewash-50); }
@media (min-width: 1100px) { .menu-toggle { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: var(--inset) var(--inset) 0; }
.hero__card {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; align-content: end;
  min-height: max(600px, calc(100svh - var(--inset) - 92px));
  padding-top: 290px; /* keeps the header and the crew member's face clear of the copy */
  border-radius: var(--radius-hero);
  background: var(--asphalt-950); color: #fff;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 22% 0%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 19, 17, .55) 0, rgba(20, 19, 17, 0) 150px);
}
.hero__caption { display: none; }
.hero__content { position: relative; z-index: 0; padding: 0 20px 24px; }
/* The shade starts just above the copy, so the text always sits on a dark ground whatever its length. */
.hero__content::before {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; top: -90px;
  background: linear-gradient(180deg, rgba(20, 19, 17, 0) 0, rgba(20, 19, 17, .66) 90px, rgba(20, 19, 17, .9) 60%, var(--asphalt-950) 100%);
}
.hero__title {
  margin-top: 18px; max-width: 12ch;
  font-family: var(--font-display); font-weight: 700; font-stretch: 100%;
  font-size: clamp(2.625rem, 1.4rem + 5vw, 4.5rem); line-height: .98; letter-spacing: -.05em;
  text-wrap: balance;
}
.hero__lead { margin-top: 16px; max-width: 34em; font-size: clamp(16.5px, 1rem + .3vw, 19px); line-height: 1.55; color: rgba(255, 255, 255, .86); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero__reach { display: flex; flex-wrap: wrap; gap: 0 22px; margin-top: 12px; }
.hero__reach a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 600 15px/1.2 var(--font-text); color: #fff; text-decoration: none; }
.hero__reach a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--marker-400); }
.hero__reach .icon { width: 18px; height: 18px; color: var(--marker-400); }
@media (max-width: 599px) {
  .hero__actions .btn { width: 100%; }
  .hero__actions .btn--primary { justify-content: space-between; padding-left: 24px; }
}
@media (min-width: 768px) {
  .hero__card { padding-top: 300px; min-height: max(680px, calc(100svh - 2 * var(--inset))); }
  .hero__media img { object-position: 20% 0%; }
  .hero__content { padding: 0 40px 40px; }
  .hero__content::before { top: -140px; background: linear-gradient(180deg, rgba(20, 19, 17, 0) 0, rgba(20, 19, 17, .62) 140px, rgba(20, 19, 17, .9) 70%, var(--asphalt-950) 100%); }
  .hero__lead { max-width: 30em; }
}
/* Desktop: the photo holds the left side and fades into the dark card; the copy sits on the right. */
@media (min-width: 1024px) {
  .hero__card {
    grid-template-columns: repeat(12, minmax(0, 1fr)); align-content: stretch; align-items: end;
    min-height: clamp(640px, calc(100svh - 2 * var(--inset)), 920px); padding-top: 0;
  }
  /* A warm glow laid over both the photo's fade and the dark side, so there is no seam where they meet. */
  .hero__card::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: radial-gradient(55% 60% at 100% 0%, rgba(242, 107, 29, .16), transparent 70%);
  }
  .hero__media { right: 40%; }
  .hero__media::after { right: -3px; } /* covers the photo layer's edge pixel, which can round past the fade */
  .hero__media img { object-position: 30% 0%; }
  .hero__media::after {
    background:
      linear-gradient(90deg, rgba(20, 19, 17, 0) 42%, rgba(20, 19, 17, .6) 74%, var(--asphalt-950) 100%),
      linear-gradient(180deg, rgba(20, 19, 17, .5) 0, rgba(20, 19, 17, 0) 20%, rgba(20, 19, 17, 0) 74%, rgba(20, 19, 17, .5) 100%);
  }
  .hero__caption { display: inline-flex; position: absolute; left: 24px; bottom: 24px; }
  .hero__content { grid-column: 7 / -1; padding: 140px clamp(32px, 4.5vw, 72px) clamp(40px, 5vw, 72px) 0; }
  .hero__content::before { display: none; }
  .hero__title { font-size: clamp(3rem, 1.1rem + 4.3vw, 5.75rem); max-width: 11ch; }
  .hero__lead { max-width: 28em; }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; padding-block: clamp(22px, 2vw, 32px); border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 55s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; flex: none; align-items: center; }
.marquee__list li {
  display: flex; align-items: center;
  font: 400 clamp(22px, .9rem + 1.7vw, 40px)/1.1 var(--font-display); font-synthesis: none; letter-spacing: -.035em; white-space: nowrap;
  padding-inline-end: clamp(36px, 4vw, 64px);
}
.marquee__list li::after {
  content: none;
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 5vw + 40px, 136px); }
.section--sunken { background: var(--limewash-100); }
/* Tighter transitions for the paired homepage sections. */
body:not(.inner-page) #work, body:not(.inner-page) #team { padding-bottom: clamp(24px, 3vw, 48px); }
#work + #financing, #team + #process { padding-top: clamp(24px, 3vw, 48px); }
.section-head { display: grid; gap: 20px; margin-bottom: clamp(36px, 4vw, 64px); }
.section-head__row { display: grid; gap: 16px; }
.section-head__note { max-width: 42ch; font-size: 17px; line-height: 1.6; color: var(--asphalt-600); }
@media (min-width: 1024px) {
  .section-head__row { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); align-items: end; gap: 64px; }
}

/* Keep the services heading and its destination together across desktop. */
#services .section-head__row > .text-route { margin-top: 0; justify-self: start; white-space: nowrap; }
@media (min-width: 1024px) {
  #services .section-head__row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(24px, 3vw, 48px); }
  #services-title { white-space: nowrap; }
}

/* Rounded dark panels (scheduler, Built for the Brave). On phones they reach closer to the screen edge. */
.panel { border-radius: var(--radius-panel); }
.panel--dark { background: radial-gradient(90% 70% at 0% 0%, rgba(242, 107, 29, .15), transparent 60%), var(--asphalt-950); color: var(--limewash-50); }
.panel--dark a:not(.btn):hover { color: #fff; }
.panel--dark { position: relative; isolation: isolate; }
.panel--dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 138, 61, .09), transparent 62%);
  opacity: 0; transition: opacity .6s ease;
}
.panel--dark.is-lit::before { opacity: 1; }
@media (max-width: 767px) { .panel { margin-inline: calc(var(--inset) - var(--gutter)); } }

/* ---------- About ---------- */
.about__head { margin-bottom: 28px; }
.about__grid { display: grid; gap: 12px; }
.about__photo { position: relative; overflow: hidden; border-radius: var(--radius-card); background: var(--asphalt-200); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo--main { aspect-ratio: 1; }
.about__photo--main img { object-position: 58% 40%; }
.about__photo--side { aspect-ratio: 4 / 3; }
.about__photo--side img { object-position: 50% 22%; }
.about__photo img { transition: transform var(--dur-drift) var(--ease-settle); }
@media (hover: hover) { .about__photo:hover img { transform: scale(1.035); } }
.about__photo .photo-tag { position: absolute; left: 12px; bottom: 12px; }
.about__body { display: grid; gap: 28px; align-content: start; padding-top: 16px; }
.about__copy { display: grid; gap: 22px; justify-items: start; }
.about__copy .statement { font-size: clamp(25px, 2.3vw, 34px); line-height: 1.18; letter-spacing: -.035em; }
.about__text { max-width: 38ch; font-size: 17.5px; line-height: 1.6; color: var(--asphalt-700); }
@media (min-width: 768px) {
  .about__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
  .about__photo--main { grid-column: 1 / span 7; aspect-ratio: auto; min-height: 400px; }
  .about__photo--side { grid-column: 8 / span 5; aspect-ratio: auto; }
  .about__body { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .about__grid { gap: 20px; }
  .about__photo--main { grid-column: 1 / span 5; min-height: clamp(440px, 38vw, 560px); }
  .about__photo--side { grid-column: 6 / span 3; }
  .about__body { grid-column: 9 / span 4; align-content: start; padding: 0 0 4px 8px; }
  .about__copy { grid-template-columns: minmax(0, 1fr); }
}
/* Home base card: fills the top of the text column on desktop and links to the service area map. */
.home-base { display: none; }
@media (min-width: 1024px) {
  .home-base {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px;
    padding: 16px 16px 16px 18px; border-radius: var(--radius-card); background: #fff; box-shadow: 0 0 0 1px var(--asphalt-100);
    color: var(--asphalt-900); text-decoration: none;
    transition: box-shadow var(--dur-lift) ease, transform var(--dur-lift) var(--ease-settle);
  }
  .home-base:hover { color: var(--asphalt-900); transform: translateY(-2px); box-shadow: 0 0 0 1px var(--asphalt-200), var(--elev-1); }
  .home-base:hover .link-action__arrow { background: var(--marker-500); box-shadow: none; }
  .home-base:hover .link-action__arrow .icon { transform: rotate(45deg); }
}
.home-base__map { display: none; width: 100%; height: auto; color: var(--asphalt-400); }
@media (min-width: 1280px) {
  .home-base { grid-template-columns: 148px minmax(0, 1fr) auto; padding: 14px 16px 14px 12px; }
  .home-base__map { display: block; }
}
.home-base__dot { fill: var(--marker-500); }
.home-base__pulse { fill: var(--marker-500); transform-box: fill-box; transform-origin: center; animation: halo 2.6s ease-out infinite; }
.home-base__text { display: grid; gap: 3px; }
.home-base__text small { font: 650 11.5px/1.2 var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--marker-700); }
.home-base__text strong { font: 650 21px/1.1 var(--font-display); letter-spacing: -.03em; }
.home-base__text > span { font-size: 14.5px; line-height: 1.4; color: var(--asphalt-600); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(40px, 4vw, 64px); border-top: 1px solid var(--line); }
.facts > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; padding: 24px 16px 4px 0; }
.facts dd { font: 600 clamp(2.5rem, 1.6rem + 2.6vw, 4.5rem)/1 var(--font-display); letter-spacing: -.05em; color: var(--asphalt-900); white-space: nowrap; }
.facts dt { max-width: 30ch; font-size: 15px; line-height: 1.4; color: var(--asphalt-600); }
.facts__financing { text-decoration: none; }
.facts__financing sup { font-size: .38em; vertical-align: super; margin-left: 3px; }
.facts__financing:hover { color: var(--marker-800); }
.facts__note { margin-top: 20px; font-size: 13px; line-height: 1.5; color: var(--asphalt-600); }
@media (min-width: 1024px) {
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .facts > div { padding: 32px 24px 0; border-left: 1px solid var(--line); }
  .facts > div:first-child { padding-left: 0; border-left: 0; }
}

/* ---------- Services: numbered list with an image panel ---------- */
.services { padding-top: clamp(24px, 3vw, 48px); }
.services__grid { display: grid; gap: 32px; }
.services__panel { display: none; }
.svc-list { display: grid; border-top: 1px solid var(--line); }
.svc {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px 18px;
  padding-block: 28px; border-bottom: 1px solid var(--line);
}
.svc__media { grid-column: 1 / -1; overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--radius-card); background: var(--asphalt-200); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; }
#svc-kitchens .svc__media img { object-position: 50% 62%; }
#svc-baths .svc__media img { object-position: 50% 62%; }
#svc-construction .svc__media img { object-position: 50% 55%; }
.svc__no {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--asphalt-400); font: 600 14px/1 var(--font-text); color: var(--asphalt-700);
  transition: background-color .3s ease, box-shadow .3s ease, color .3s ease;
}
.svc__title { padding-top: 6px; font: 650 clamp(1.625rem, 1.05rem + 1.5vw, 2.75rem)/1.05 var(--font-display); letter-spacing: -.04em; }
.svc__text { margin-top: 10px; max-width: 44ch; font-size: 16.5px; line-height: 1.55; color: var(--asphalt-600); }
.svc .link-action { margin-top: 14px; }
@media (min-width: 1024px) {
  .services__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 88px); align-items: start; }
  .services__panel {
    display: block; position: sticky; top: calc(var(--header-h) + 40px);
    aspect-ratio: 4 / 5; max-height: calc(100vh - var(--header-h) - 80px);
    overflow: hidden; border-radius: var(--radius-panel); background: var(--asphalt-200);
  }
  .services__panel img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transform: scale(1.05); transition: opacity .6s ease, transform 1.2s var(--ease-settle);
  }
  .services__panel img.is-active { opacity: 1; transform: none; }
  .services__tag { position: absolute; left: 16px; bottom: 16px; }
  .svc__media { display: none; }
  .svc { grid-template-columns: 56px minmax(0, 1fr); gap: 28px; padding-block: 40px; }
  .svc__no { width: 56px; height: 56px; font-size: 15px; }
  .svc.is-active .svc__no { background: var(--marker-500); box-shadow: none; color: var(--asphalt-900); }
}

/* ---------- Service area: dot-matrix Texas and a live ZIP check ---------- */
.area { padding-top: 0; } /* follows the services list, which already has room below it */
.area__grid { display: grid; gap: 40px; }
.area .h-section { margin-top: 20px; }
.area__lead { margin-top: 18px; max-width: 30em; font-size: 18px; line-height: 1.6; color: var(--asphalt-600); }
@media (min-width: 1024px) {
  .area__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 88px); align-items: center; }
}

.zip-check { display: grid; gap: 10px; max-width: 460px; margin-top: 32px; }
.zip-check__label { font: 650 15px/1.2 var(--font-text); }
.zip-check__row {
  display: flex; align-items: center; gap: 10px; padding: 5px 5px 5px 18px;
  border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--asphalt-500);
  transition: box-shadow var(--dur-color) ease;
}
.zip-check__row:hover { box-shadow: inset 0 0 0 1px var(--asphalt-800); }
.zip-check__row:focus-within { box-shadow: inset 0 0 0 1.5px var(--asphalt-900); }
.zip-check__row:has(.zip-check__input:focus-visible) { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.zip-check__row.is-invalid { box-shadow: inset 0 0 0 2px var(--error); }
.zip-check__icon { width: 22px; height: 22px; color: var(--marker-700); }
.zip-check__input {
  flex: 1 1 0; width: 0; min-width: 0; height: 48px; /* no intrinsic input width, so the pill never widens the page */ padding: 0; border: 0; background: transparent;
  font: 600 20px/1 var(--font-text); letter-spacing: .04em; font-variant-numeric: tabular-nums; color: var(--asphalt-900);
}
.zip-check__input:focus { outline: none; } /* the whole pill takes the focus ring */
.zip-check__input::placeholder { color: var(--asphalt-500); font-weight: 500; letter-spacing: 0; opacity: 1; }
.zip-check__result:empty { display: none; }
.zip-result {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 14px; align-items: start; margin-top: 6px;
  padding: 16px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--asphalt-100), var(--elev-1);
  animation: rise .45s var(--ease-settle);
}
.zip-result__icon { grid-row: span 2; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--success-bg); color: var(--success); }
.zip-result__icon .icon { width: 20px; height: 20px; stroke-width: 2.4; }
.zip-result--talk .zip-result__icon { background: var(--marker-100); color: var(--marker-700); }
.zip-result--out .zip-result__icon { background: var(--limewash-100); color: var(--asphalt-700); }
.zip-result__title { padding-top: 1px; font: 650 17px/1.3 var(--font-text); }
.zip-result__text { font-size: 15.5px; line-height: 1.5; color: var(--asphalt-600); }
.zip-result__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
@media (max-width: 479px) { .zip-result__actions .btn { flex: 1 1 100%; } }

.metros { display: grid; gap: 22px; margin-top: 36px; }
.metros__title { display: flex; align-items: center; gap: 8px; font: 600 14px/1.3 var(--font-text); color: var(--asphalt-600); }
.metros__list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.metros__list li {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line); font: 600 14px/1 var(--font-text); color: var(--asphalt-800); white-space: nowrap;
  transition: background-color var(--dur-color) ease, color var(--dur-color) ease, box-shadow var(--dur-color) ease;
}
.metros__list li.is-hover { background: var(--asphalt-900); box-shadow: none; color: var(--limewash-50); }
.metros__list li.is-active { background: var(--marker-500); box-shadow: none; color: var(--asphalt-900); }

.area__map {
  margin: 0; padding: clamp(18px, 3vw, 36px) clamp(12px, 3vw, 36px) clamp(18px, 2vw, 26px);
  border-radius: var(--radius-panel); background: #fff; box-shadow: 0 0 0 1px var(--asphalt-100), var(--elev-1);
}
@media (max-width: 767px) { .area__map { margin-inline: calc(var(--inset) - var(--gutter)); } }
/* The map is drawn in a 600-unit viewBox. --k grows the markers and labels as the map gets smaller,
   so the labels read at about 14px on every screen. */
.tx-wrap { container-type: inline-size; }
.tx-map { --k: 1.8; --tx-near: currentColor; --tx-mid: currentColor; display: block; width: 100%; height: auto; overflow: visible; color: var(--asphalt-200); }
/* Neutral dot layers do not imply a mileage limit. */
.tx-dots__near { stroke: var(--tx-near, currentColor); }
.tx-dots__mid { stroke: var(--tx-mid, currentColor); }
@container (min-width: 340px) { .tx-map { --k: 1.6; } }
@container (min-width: 400px) { .tx-map { --k: 1.38; } }
@container (min-width: 460px) { .tx-map { --k: 1.22; } }
@container (min-width: 520px) { .tx-map { --k: 1.08; } }
@container (min-width: 600px) { .tx-map { --k: 1; } }
@container (min-width: 680px) { .tx-map { --k: .92; } }
.tx-k { transform: scale(var(--k)); }
.tx-city__label, .tx-home__label, .tx-home__sub, .tx-pin__label {
  font: 650 14.5px/1 var(--font-text); fill: var(--asphalt-900);
  paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round;
}
.tx-home__label, .tx-pin__label { font-weight: 750; }
.tx-home__sub { font-size: 9.5px; font-weight: 700; letter-spacing: .1em; fill: var(--marker-700); }
.tx-city__mark { transition: transform var(--dur-lift) var(--ease-settle); }
.tx-city__dot { fill: var(--asphalt-900); transition: fill .3s ease; }
.tx-city--t2 .tx-city__dot { fill: var(--asphalt-500); }
.tx-city__halo { fill: var(--marker-500); opacity: 0; }
.tx-city--t2 .tx-city__label { opacity: 0; transition: opacity .25s ease; }
.tx-city.is-hover .tx-city__mark, .tx-city.is-active .tx-city__mark { transform: scale(1.35); }
.tx-city.is-hover .tx-city__label, .tx-city.is-active .tx-city__label { opacity: 1; }
.tx-city.is-active .tx-city__dot { fill: var(--marker-500); }
.tx-city.is-active .tx-city__halo { animation: halo 1.8s ease-out infinite; }
.tx-home__dot { fill: var(--marker-500); stroke: #fff; stroke-width: 2.5px; }
.tx-home__ring { fill: none; stroke: var(--marker-500); stroke-width: 2px; opacity: .5; }
.tx-home__pulse { fill: var(--marker-500); animation: halo 2.6s ease-out infinite; }
.tx-home.is-active .tx-home__mark { transform: scale(1.3); }
.tx-home__mark { transition: transform var(--dur-lift) var(--ease-settle); }
.tx-pin { opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.tx-pin.is-on { opacity: 1; }
.tx-pin__dot { fill: var(--asphalt-900); stroke: #fff; stroke-width: 2.5px; }
.tx-pin__halo { fill: var(--asphalt-900); opacity: 0; }
.tx-pin.is-on .tx-pin__halo { animation: halo 1.8s ease-out infinite; }
.tx-route { fill: none; stroke: var(--asphalt-900); stroke-width: calc(2.5px * var(--k)); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.tx-route.is-drawn { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--ease-settle); }
.area__legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 14px; font: 600 13.5px/1.3 var(--font-text); color: var(--asphalt-600); }
.area__legend > span { display: inline-flex; align-items: center; gap: 8px; }
.legend-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--asphalt-900); }
.legend-dot--home { background: var(--marker-500); box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--marker-500); }
.legend-dot--near { background: var(--marker-500); }
.legend-dot--mid { background: var(--marker-300); }

/* ---------- Scheduler ---------- */
.schedule { padding-top: 0; } /* Keep the section's bottom padding before the background changes. */
.schedule__panel { display: grid; gap: 32px; padding: 40px 12px 12px; }
.schedule__intro { padding-inline: 12px; }
.schedule .h-section { margin-top: 20px; }
.schedule__lead { margin-top: 18px; max-width: 32em; font-size: 18px; line-height: 1.6; color: var(--asphalt-300); }
.checklist { display: grid; gap: 12px; margin-top: 26px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.45; color: var(--asphalt-200); }
.checklist .icon { width: 22px; height: 22px; padding: 4px; margin-top: 0; border-radius: 50%; background: var(--marker-500); color: var(--asphalt-900); stroke-width: 3; }
.checklist a { color: var(--limewash-50); font-weight: 650; }
@media (min-width: 768px) { .schedule__panel { padding: 56px 48px 48px; } .schedule__intro { padding: 0; } }
@media (min-width: 1024px) {
  .schedule__panel { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 80px); padding: clamp(48px, 5vw, 80px); align-items: start; }
  .schedule__intro { position: sticky; top: calc(var(--header-h) + 56px); }
}

.board { container-type: inline-size; background: #fff; color: var(--asphalt-900); border-radius: var(--radius-card); padding: 20px 16px 24px; }
@media (min-width: 768px) { .board { padding: 28px; } }
.board__head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.board__heading { display: contents; }
.board__head .tag { grid-column: 1 / -1; grid-row: 2; justify-self: start; }
.board__nav, .windows-nav { display: flex; flex: none; gap: 5px; }
.board__group-heading { width: 100%; display: flex !important; align-items: center; justify-content: space-between; gap: 10px; }
.board__group-heading > span:first-child { min-width: 0; line-height: 1.4; }
.board__group-heading .icon-btn { width: 32px; height: 32px; padding: 0; flex: none; }
.board__group-heading .icon-btn .icon { width: 17px; height: 17px; }
@media (pointer: coarse) {
  /* Keep a generous touch target around the smaller visible circle. */
  .board__group-heading .icon-btn { position: relative; }
  .board__group-heading .icon-btn::before { content: ''; position: absolute; inset: -6px; }
  .board__nav, .windows-nav { gap: 12px; }
}
.board__title { font: 650 22px/1.15 var(--font-display); letter-spacing: -.03em; }
.board__range { margin-top: 18px; font: 600 12px/1.3 var(--font-text); letter-spacing: .07em; text-transform: uppercase; color: var(--asphalt-600); }
.board__group { margin-top: 16px; }
.board__nojs { font-size: 15px; color: var(--asphalt-700); }
.field-label { display: block; margin-bottom: 10px; padding: 0; font: 650 15px/1.2 var(--font-text); color: var(--asphalt-900); }
.field-label__sub { font-weight: 400; color: var(--asphalt-600); }
.board__form { display: grid; gap: 18px; margin-top: 18px; }
.board__form .field-row { align-items: start; }
.board__form .field { align-content: start; }
.board__form .input { height: 54px; }
.board.is-loading .days, .board.is-loading .windows { opacity: .4; pointer-events: none; }
.board__pick {
  display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 10px 16px; border-radius: 16px;
  background: var(--limewash-100); font: 600 15.5px/1.3 var(--font-text); color: var(--asphalt-600);
}
.board__pick .icon { color: var(--asphalt-500); }
.board__pick.is-set { background: var(--marker-50); box-shadow: inset 0 0 0 1.5px var(--marker-500); color: var(--asphalt-900); }
.board__pick.is-set .icon { color: var(--marker-700); }

.days { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 8px; margin: -4px -4px -8px; scrollbar-width: thin; }
.day { position: relative; flex: 0 0 76px; scroll-snap-align: start; }
@media (min-width: 600px) { .days { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); overflow: visible; } }
.day input, .window input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.day input:disabled, .window input:disabled { cursor: not-allowed; }
.day__box {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; height: 94px;
  border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--asphalt-400);
  transition: box-shadow var(--dur-color) ease, background-color var(--dur-color) ease;
}
.day__dow { font: 600 11.5px/1 var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--asphalt-600); }
.day__num { font: 650 28px/1 var(--font-display); letter-spacing: -.04em; }
.day__avail { font: 650 12px/1 var(--font-text); color: var(--success); white-space: nowrap; }
.day:hover .day__box { box-shadow: inset 0 0 0 1.5px var(--asphalt-900); }
.day input:checked + .day__box { background: var(--asphalt-900); box-shadow: none; color: var(--limewash-50); }
.day input:checked + .day__box .day__dow { color: var(--asphalt-300); }
.day input:checked + .day__box .day__avail { color: var(--marker-400); }
.day input:disabled + .day__box { background: var(--limewash-100); box-shadow: none; color: var(--asphalt-500); }
.day input:disabled + .day__box .day__num { text-decoration: none; }
.day input:disabled + .day__box .day__avail, .day input:disabled + .day__box .day__dow { color: var(--asphalt-500); }
.day input:focus-visible + .day__box, .window input:focus-visible + .window__box { outline: 3px solid var(--asphalt-900); outline-offset: 3px; }

.windows { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; padding: 5px 4px 10px; margin: -5px -4px 0; }
.window { position: relative; flex: 0 0 174px; scroll-snap-align: start; }
.window__box {
  display: grid; grid-template-columns: 16px minmax(0, 1fr); align-items: center; gap: 10px; min-height: 60px; padding: 8px 15px;
  border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--asphalt-400);
  font: 600 14px/1.2 var(--font-text); font-variant-numeric: tabular-nums; white-space: nowrap;
  transition: box-shadow var(--dur-color) ease, background-color var(--dur-color) ease;
}
.window__box .icon { width: 16px; height: 16px; color: var(--asphalt-600); }
.window__label { display: grid; gap: 3px; }
.window__status { font-size: 11px; font-weight: 400; }
.window:hover .window__box { box-shadow: inset 0 0 0 1.5px var(--asphalt-900); }
.window input:checked + .window__box { background: var(--marker-50); box-shadow: inset 0 0 0 2px var(--marker-500); }
.window input:checked + .window__box .icon { color: var(--marker-700); stroke-width: 2.4; }
.window input:disabled + .window__box { background: var(--limewash-100); box-shadow: none; color: var(--asphalt-600); }
.windows__empty { grid-column: 1 / -1; padding: 14px 16px; border-radius: 16px; background: var(--limewash-100); font-size: 15px; color: var(--asphalt-700); }

/* ---------- Work gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.shot { position: relative; overflow: hidden; aspect-ratio: 3 / 4; border-radius: var(--radius-card); background: var(--asphalt-200); }
.shot--a { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
.shot__open { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.shot__open:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
@supports selector(:has(*)) {
  .shot__open:focus-visible { outline: none; }
  .shot:has(.shot__open:focus-visible) { outline: 3px solid var(--color-focus); outline-offset: 3px; }
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-drift) var(--ease-settle); }
.shot:hover img { transform: scale(1.04); }
.shot .photo-tag { position: absolute; left: 12px; bottom: 12px; pointer-events: none; }
.shot__zoom {
  position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; display: grid; place-items: center; pointer-events: none;
  border-radius: 50%; background: rgba(20, 19, 17, .55); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: opacity var(--dur-lift) ease, transform var(--dur-lift) var(--ease-settle);
}
.shot__zoom .icon { width: 18px; height: 18px; stroke-width: 2; }
@media (max-width: 767px) { .shot__zoom { top: 10px; right: 10px; width: 34px; height: 34px; } .shot__zoom .icon { width: 16px; height: 16px; } }
@media (hover: hover) and (pointer: fine) {
  .shot__zoom { opacity: 0; transform: scale(.85); }
  .shot:hover .shot__zoom, .shot:focus-within .shot__zoom { opacity: 1; transform: none; }
}
@media (min-width: 768px) {
  .gallery { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(220px, 23vw, 330px); gap: 16px; }
  .shot { aspect-ratio: auto; }
  .shot--a { grid-column: 1 / span 6; grid-row: span 2; }
  .shot--b, .shot--d { grid-column: 7 / span 3; }
  .shot--c, .shot--e { grid-column: 10 / span 3; }
  .shot .photo-tag { left: 16px; bottom: 16px; }
  .shot__zoom { top: 16px; right: 16px; }
}

/* ---------- Process ---------- */
.steps { display: grid; gap: 12px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.step-card {
  display: grid; align-content: start; gap: 10px; min-height: 230px; padding: 24px;
  border-radius: var(--radius-card); background: #fff; box-shadow: 0 0 0 1px var(--asphalt-100);
}
.step-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.step-card__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--marker-50); color: var(--marker-700); }
.step-card__icon .icon { width: 24px; height: 24px; }
.step-card__no { font: 600 15px/1 var(--font-text); color: var(--asphalt-500); }
.step-card__title { font: 650 24px/1.1 var(--font-display); letter-spacing: -.035em; }
.step-card__text { font-size: 16px; line-height: 1.55; color: var(--asphalt-600); }
.step-card:first-child { background: var(--asphalt-950); box-shadow: none; color: var(--limewash-50); }
.step-card:first-child .step-card__icon { background: var(--marker-500); color: var(--asphalt-900); }
.step-card:first-child .step-card__text, .step-card:first-child .step-card__no { color: var(--asphalt-300); }
.step-card { transition: transform var(--dur-lift) var(--ease-settle), box-shadow var(--dur-lift) ease; }
.step-card__icon { transition: background-color var(--dur-color) ease, color var(--dur-color) ease; }
@media (hover: hover) {
  .step-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--asphalt-100), var(--elev-1); }
  .step-card:first-child:hover { box-shadow: var(--elev-2); }
  .step-card:hover .step-card__icon { background: var(--marker-500); color: var(--asphalt-900); }
}

/* ---------- Built for the Brave ---------- */
body:not(.inner-page) #about { padding-bottom: clamp(32px, 4vw, 56px); }
#about + #brave { padding-block: 0; }
.panel--dark.brave { background: radial-gradient(80% 100% at 100% 0%, rgba(217, 45, 32, .26), transparent 60%), var(--asphalt-950); }
.brave { display: grid; gap: 24px; padding: 32px 24px; }
.brave__crest { width: clamp(112px, 13vw, 176px); height: auto; }
.brave .h-section { margin-top: 18px; font-size: clamp(2rem, 1.3rem + 2.2vw, 3.5rem); }
.brave__text { margin-top: 14px; max-width: 34em; font-size: 17.5px; line-height: 1.6; color: var(--asphalt-300); }
.brave__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 599px) { .brave__actions .btn { width: 100%; } .brave__actions .btn--light { justify-content: space-between; padding-left: 24px; } }
@media (min-width: 768px) {
  .brave { grid-template-columns: auto minmax(0, 1fr); column-gap: 40px; padding: 48px; align-items: center; }
  .brave__actions { grid-column: 2; }
}
@media (min-width: 1200px) {
  .brave { grid-template-columns: auto minmax(0, 1fr) auto; padding: 56px 64px; column-gap: 56px; }
  .brave__actions { grid-column: auto; flex-direction: column; align-items: stretch; }
}

/* ---------- FAQ ---------- */
.faq__grid { display: grid; gap: 40px; }
.faq .h-section { margin-top: 20px; }
.help-card { display: grid; gap: 6px; margin-top: 32px; padding: 24px; border-radius: var(--radius-card); background: var(--limewash-100); }
.help-card__title { font: 650 20px/1.25 var(--font-display); letter-spacing: -.025em; }
.help-card__text { font-size: 16px; color: var(--asphalt-600); }
.help-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
@media (min-width: 1024px) {
  .faq__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 88px); align-items: start; }
  .faq__intro { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--header-h) + 56px); }
  .faq__list { grid-column: 1; grid-row: 1; }
}
.faq__list { display: grid; gap: 10px; }
.qa { border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s ease; }
.qa[open] { box-shadow: inset 0 0 0 1.5px var(--asphalt-900); }
.qa summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 76px; padding: 14px 14px 14px 24px;
  border-radius: 20px; list-style: none; cursor: pointer; font: 650 18px/1.3 var(--font-text);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:focus-visible { outline-offset: -3px; }
.qa__icon { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--limewash-100); stroke-width: 2; transition: transform var(--dur-lift) var(--ease-settle), background-color var(--dur-color) ease; }
.qa summary:hover .qa__icon { background: var(--asphalt-100); }
.qa[open] .qa__icon { transform: rotate(45deg); background: var(--marker-500); color: var(--asphalt-900); }
.qa__a { padding: 0 24px 24px; font-size: 16.5px; line-height: 1.6; color: var(--asphalt-600); }

/* ---------- Get started ---------- */
.get-started__grid { display: grid; gap: 40px; }
.get-started .h-section { margin-top: 20px; }
.get-started__lead { margin-top: 18px; max-width: 30em; font-size: 18px; line-height: 1.6; color: var(--asphalt-600); }
.reach-list { display: grid; gap: 10px; margin-top: 32px; }
.reach-list li { display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--asphalt-100); }
.reach-list__icon { width: 46px; height: 46px; display: grid; place-items: center; flex: none; border-radius: 50%; background: var(--marker-50); color: var(--marker-700); }
.reach-list li > span:last-child { display: grid; gap: 2px; font: 650 17px/1.25 var(--font-text); }
.reach-list small { font: 500 13.5px/1.3 var(--font-text); color: var(--asphalt-600); }
.reach-list a { text-decoration: none; }
.reach-list a:hover { text-decoration: underline; text-decoration-color: var(--marker-500); }
@media (min-width: 1024px) {
  .get-started__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 88px); align-items: start; }
  .get-started__intro { position: sticky; top: calc(var(--header-h) + 56px); }
}

.tabs-card { padding: 8px; border-radius: var(--radius-panel); background: #fff; box-shadow: 0 0 0 1px var(--asphalt-100), var(--elev-1); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: var(--limewash-100); }
.tab {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 12px; border-radius: 999px;
  font: 650 15px/1.2 var(--font-text); color: var(--asphalt-700); text-align: center;
  transition: background-color var(--dur-color) ease, color var(--dur-color) ease;
}
.tab .icon { width: 18px; height: 18px; }
.tab:hover { color: var(--asphalt-900); background: rgba(30, 28, 26, .05); }
.tab[aria-selected="true"] { background: var(--asphalt-900); color: var(--limewash-50); }
.tab-panel { padding: 24px 12px 16px; }
.tab-panel:focus-visible { outline-offset: -3px; }
@media (min-width: 768px) { .tab-panel { padding: 32px 24px 24px; } }
@media (max-width: 767px) { .tabs-card { margin-inline: calc(var(--inset) - var(--gutter)); } }
@media (max-width: 479px) { .tab .icon { display: none; } .tab { padding: 0 8px; font-size: 14.5px; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field > label, .field__top label { font: 650 15px/1.2 var(--font-text); }
.field__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.opt { font-weight: 400; color: var(--asphalt-600); }
.field-row { display: grid; gap: 20px; }
@media (min-width: 600px) { .field-row { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; } }
.input {
  width: 100%; min-height: 54px; padding: 12px 16px;
  border: 1px solid var(--asphalt-500); border-radius: 14px; background: #fff;
  font: 450 17px/1.3 var(--font-text); color: var(--asphalt-900);
  transition: border-color var(--dur-color) ease;
}
.input:hover { border-color: var(--asphalt-800); }
.input:focus { outline: 3px solid var(--asphalt-900); outline-offset: 2px; border-color: var(--asphalt-900); }
.input::placeholder { color: var(--asphalt-500); opacity: 1; }
.input[aria-invalid="true"] { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.input--area { min-height: 120px; resize: vertical; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 46px; cursor: pointer; }
.select .icon { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.field-error { display: flex; align-items: flex-start; gap: 6px; font: 550 14px/1.35 var(--font-text); color: var(--error); }
.field-error::before {
  content: ""; width: 16px; height: 16px; flex: none; margin-top: 1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B42318' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4 21 19.5H3z'/%3E%3Cpath d='M12 10v4.5'/%3E%3Cpath d='M12 17.2h.01'/%3E%3C/svg%3E") center / contain no-repeat;
}
.zip-status:empty { display: none; }
.zip-status { font: 600 14px/1.4 var(--font-text); }
.zip-status.is-in { color: var(--success); }
.zip-status.is-talk, .zip-status.is-out, .zip-status.is-unknown { color: var(--asphalt-700); font-weight: 500; }
.error-summary { padding: 14px 18px; border-radius: 16px; background: var(--error-bg); box-shadow: inset 4px 0 0 var(--error); }
.error-summary:focus { outline: 3px solid var(--asphalt-900); outline-offset: 2px; }
.error-summary p { font: 700 15.5px/1.35 var(--font-text); color: var(--error); }
.error-summary ul { display: grid; gap: 4px; margin-top: 8px; padding-left: 18px; list-style: disc; color: var(--error); font-size: 15px; }
.error-summary a { color: var(--error); font-weight: 650; text-decoration-color: var(--error); }
.fine { font-size: 13.5px; line-height: 1.45; color: var(--asphalt-600); text-align: center; }
.counter { font: 600 12px/1 var(--font-text); letter-spacing: .04em; color: var(--asphalt-600); }
.counter.is-near { color: var(--marker-700); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input, .segmented input, .choice input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px;
  border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--asphalt-400);
  font: 600 15px/1 var(--font-text); white-space: nowrap;
  transition: box-shadow var(--dur-color) ease, background-color var(--dur-color) ease;
}
.chip span .icon { width: 18px; height: 18px; }
.chip:hover span { box-shadow: inset 0 0 0 1.5px var(--asphalt-900); }
.chip input:checked + span { background: var(--marker-50); box-shadow: inset 0 0 0 2px var(--marker-500); }
.chip input:checked + span::after {
  content: ""; width: 16px; height: 16px; background: var(--asphalt-900);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.chip input:focus-visible + span, .segmented input:focus-visible + span, .choice input:focus-visible + .choice__box { outline: 3px solid var(--asphalt-900); outline-offset: 3px; }
.chips--small span { min-height: 44px; padding: 0 16px; font-size: 14.5px; }

.segmented { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--limewash-100); box-shadow: inset 0 0 0 1px var(--asphalt-300); }
.segmented label { position: relative; flex: 1 1 0; min-width: 0; }
.segmented span {
  display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 0 12px; border-radius: 999px;
  font: 650 15px/1.1 var(--font-text); color: var(--asphalt-700); text-align: center;
  transition: background-color var(--dur-color) ease, color var(--dur-color) ease;
}
.segmented span .icon { width: 17px; height: 17px; }
.segmented label:hover span { color: var(--asphalt-900); background: rgba(30, 28, 26, .06); }
.segmented input:checked + span { background: var(--asphalt-900); color: var(--limewash-50); }
.segmented--wrap { flex-wrap: wrap; border-radius: 26px; }
.segmented--wrap label { flex: 1 1 auto; }

.check { position: relative; display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding-top: 10px; cursor: pointer; font: 500 15.5px/1.35 var(--font-text); }
.check input { position: absolute; left: 0; top: 10px; width: 24px; height: 24px; margin: 0; opacity: 0; cursor: pointer; }
.check__box {
  width: 24px; height: 24px; flex: none; display: grid; place-items: center;
  border: 1.5px solid var(--asphalt-500); border-radius: 7px; background: #fff; color: transparent;
  transition: background-color var(--dur-color) ease, border-color var(--dur-color) ease;
}
.check__box .icon { width: 16px; height: 16px; stroke-width: 2.8; }
.check input:checked + .check__box { background: var(--marker-500); border-color: var(--marker-500); color: var(--asphalt-900); }
.check input:focus-visible + .check__box { outline: 3px solid var(--asphalt-900); outline-offset: 3px; }
.check small { display: block; margin-top: 3px; font-size: 13.5px; font-weight: 400; color: var(--asphalt-600); }

.choice-grid { display: grid; gap: 8px; }
@media (min-width: 600px) { .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.choice { position: relative; display: block; }
.choice__box {
  display: flex; align-items: center; gap: 14px; min-height: 74px; padding: 12px 14px;
  border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--asphalt-400);
  transition: box-shadow var(--dur-color) ease, background-color var(--dur-color) ease;
}
.choice:hover .choice__box { box-shadow: inset 0 0 0 1.5px var(--asphalt-900); }
.choice__icon { width: 46px; height: 46px; padding: 12px; border-radius: 14px; background: var(--limewash-100); }
.choice__text { flex: 1; display: grid; gap: 3px; min-width: 0; }
.choice__text strong { font: 700 16px/1.2 var(--font-text); }
.choice__text small { font-size: 13.5px; line-height: 1.3; color: var(--asphalt-600); }
.choice__check { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--asphalt-400); color: transparent; }
.choice__check .icon { width: 14px; height: 14px; stroke-width: 2.8; }
.choice input:checked + .choice__box { background: var(--marker-50); box-shadow: inset 0 0 0 2px var(--marker-500); }
.choice input:checked + .choice__box .choice__icon { background: #fff; }
.choice input:checked + .choice__box .choice__check { background: var(--marker-500); box-shadow: none; color: var(--asphalt-900); }
.choice--compact .choice__box { min-height: 64px; }
.choice input:disabled { cursor: not-allowed; }
.choice input:disabled + .choice__box { background: var(--limewash-100); box-shadow: none; color: var(--asphalt-500); }
.choice input:disabled + .choice__box small { color: var(--asphalt-500); }
.choice input:disabled + .choice__box .choice__check { box-shadow: inset 0 0 0 1.5px var(--asphalt-200); }

/* ---------- Success states ---------- */
.form-done, .board__done { display: grid; gap: 16px; }
.form-done:focus, .board__done:focus { outline: none; }
.board__done { margin-top: 22px; }
.done__kicker { display: flex; align-items: center; gap: 8px; font: 600 12px/1.3 var(--font-text); letter-spacing: .07em; text-transform: uppercase; color: var(--success); }
.done__kicker .icon { width: 16px; height: 16px; stroke-width: 2.4; }
.done__title { font: 650 clamp(30px, 2.4vw + 18px, 42px)/1.02 var(--font-display); letter-spacing: -.045em; }
.done__title:focus { outline: none; }
.done__lead { font-size: 16.5px; line-height: 1.55; color: var(--asphalt-700); }
.done__lead strong { color: var(--asphalt-900); }
.ticket-wrap { position: relative; }
.ticket { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ticket div { display: grid; align-content: start; gap: 4px; min-width: 0; padding: 12px 14px; border-radius: 14px; background: var(--limewash-100); }
.ticket .span-2 { grid-column: span 2; }
.ticket dt { font: 600 11.5px/1.2 var(--font-text); letter-spacing: .07em; text-transform: uppercase; color: var(--asphalt-600); }
.ticket dd { font: 600 15px/1.3 var(--font-text); overflow-wrap: anywhere; }
.stamp {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px;
  background: var(--marker-500); color: var(--asphalt-900);
  font: 700 11.5px/1 var(--font-text); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}
.ticket-wrap .stamp { position: absolute; right: 10px; top: -12px; }
.demo-note { display: flex; gap: 8px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--asphalt-300); font-size: 13.5px; line-height: 1.45; color: var(--asphalt-600); }
.demo-note .icon { width: 16px; height: 16px; margin-top: 1px; }
.done__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.note-quote { display: grid; gap: 6px; padding: 14px 16px; border-radius: 16px; background: var(--limewash-100); }
.note-quote p { font-size: 15.5px; line-height: 1.55; overflow-wrap: anywhere; }
.note-quote small { font: 600 11.5px/1.4 var(--font-text); letter-spacing: .07em; text-transform: uppercase; color: var(--asphalt-600); }

/* ---------- Footer ---------- */
.site-footer { padding: 0 var(--inset) var(--inset); background: var(--limewash-100); } /* matches the section above, so the rounded card sits on one colour */
.site-footer__card { overflow: hidden; padding: 56px 20px 24px; border-radius: var(--radius-hero); background: var(--asphalt-950); color: var(--asphalt-300); }
.site-footer__inner { max-width: var(--content-max); margin-inline: auto; }
.site-footer__top { display: grid; gap: 28px; }
.site-footer__line { max-width: 14ch; font: 650 clamp(2.25rem, 1.3rem + 3.6vw, 4.75rem)/1 var(--font-display); letter-spacing: -.05em; color: var(--limewash-50); text-wrap: balance; }
.site-footer__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer__cols { display: grid; gap: 40px; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--asphalt-800); }
.site-footer .brand { color: var(--limewash-50); }
.site-footer .brand__desc { color: var(--asphalt-300); }
.site-footer__brand p { margin-top: 18px; max-width: 30ch; font-size: 15px; line-height: 1.55; }
.site-footer__nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; }
.site-footer__heading { margin-bottom: 14px; font: 600 12.5px/1.3 var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--asphalt-400); }
.site-footer ul { display: grid; gap: 10px; font-size: 15.5px; }
.site-footer a { color: var(--asphalt-300); text-decoration: none; }
.site-footer a:hover { color: var(--limewash-50); }
.site-footer ul a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 2px; transition: background-size var(--dur-lift) var(--ease-settle), color var(--dur-color) ease; }
.site-footer ul a:hover { background-size: 100% 1px; }
.site-footer__base { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--asphalt-800); font-size: 13.5px; color: var(--asphalt-400); }
.preview-note { display: flex; align-items: flex-start; gap: 8px; max-width: 60ch; }
.preview-note .icon { width: 16px; height: 16px; margin-top: 2px; }
.site-footer .to-top { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-left: auto; font: 600 14px/1 var(--font-text); color: var(--asphalt-300); }
.to-top__icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--asphalt-700); transition: background-color var(--dur-color) ease, color var(--dur-color) ease, box-shadow var(--dur-color) ease; }
.to-top__icon .icon { width: 18px; height: 18px; stroke-width: 2; transition: transform var(--dur-lift) var(--ease-settle); }
.site-footer .to-top:hover { color: var(--limewash-50); text-decoration: none; }
.to-top:hover .to-top__icon { background: var(--marker-500); box-shadow: none; color: var(--asphalt-900); }
.to-top:hover .to-top__icon .icon { transform: translateY(-2px); }
@media (max-width: 599px) { .site-footer__cta .btn { width: 100%; } .site-footer__cta .btn--primary { justify-content: space-between; padding-left: 24px; } }
@media (min-width: 768px) { .site-footer__card { padding: 72px 48px 32px; } }
@media (min-width: 1024px) {
  .site-footer__card { padding: 96px clamp(48px, 5vw, 80px) 36px; }
  .site-footer__top { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .site-footer__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
}

/* ---------- Phone action bar: a floating pill ---------- */
.action-bar {
  position: fixed; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); z-index: var(--z-action-bar);
  display: flex; align-items: center; gap: 4px; padding: 6px;
  border-radius: 999px; background: rgba(20, 19, 17, .94); box-shadow: 0 18px 40px -14px rgba(20, 19, 17, .65);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: transform .3s var(--ease-settle), opacity .3s ease;
}
.action-bar__item {
  width: 62px; height: 54px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  border-radius: 999px; color: var(--limewash-50); text-decoration: none; font: 600 12px/1 var(--font-text);
}
.action-bar__item:hover { background: var(--asphalt-800); color: var(--limewash-50); }
.action-bar__item .icon { width: 21px; height: 21px; }
.action-bar__cta {
  flex: 1; height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 5px 0 20px;
  border-radius: 999px; background: var(--marker-500); color: var(--asphalt-900); font: 700 15.5px/1.1 var(--font-text);
}
.action-bar__cta:hover { background: var(--marker-400); }
.action-bar__cta .btn__arrow { width: 44px; height: 44px; }
body.is-typing .action-bar, body.overlay-open .action-bar { transform: translateY(calc(100% + 24px)); opacity: 0; }
@media (max-width: 767px) { .site-footer { padding-bottom: calc(80px + env(safe-area-inset-bottom)); } } /* room for the floating bar */
@media (min-width: 768px) { .action-bar { display: none; } }

/* ---------- Chat launcher ---------- */
.chat-launcher {
  position: fixed; right: 24px; bottom: 24px; z-index: var(--z-launcher);
  display: none; align-items: center; gap: 12px; height: 60px; padding: 0 22px 0 8px;
  border-radius: 999px; background: var(--asphalt-900); color: var(--limewash-50);
  box-shadow: 0 0 0 1px rgba(251, 249, 245, .08), var(--elev-2);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.96);
  transition: transform .4s var(--ease-settle), opacity .3s ease, visibility 0s linear .4s, background-color var(--dur-color) ease;
}
.is-past-hero .chat-launcher { opacity: 1; visibility: visible; transform: none; transition: transform .4s var(--ease-settle), opacity .3s ease, visibility 0s, background-color var(--dur-color) ease; }
.chat-launcher:hover { background: var(--asphalt-700); }
.chat-launcher:focus-visible { outline-color: var(--asphalt-900); }
.chat-launcher__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--marker-500); color: var(--asphalt-900); }
.chat-launcher__icon .icon { width: 22px; height: 22px; stroke-width: 2; }
.chat-launcher__text { display: grid; gap: 4px; text-align: left; }
.chat-launcher__text strong { font: 700 15.5px/1 var(--font-text); white-space: nowrap; }
.chat-launcher__text small { font: 600 10.5px/1 var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--asphalt-300); }
@media (min-width: 768px) { .chat-launcher { display: inline-flex; } }
.chat-launcher[aria-expanded="true"], body.overlay-open .chat-launcher, .at-footer .chat-launcher { opacity: 0; visibility: hidden; transform: translateY(12px); }

/* ---------- Dialog basics ---------- */
.ridgeline.is-locked { overflow: hidden; }
dialog { padding: 0; border: 0; color: inherit; background: transparent; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(20, 19, 17, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

/* ---------- Booking modal ---------- */
.booking { width: 100%; height: 100%; margin: 0; background: var(--limewash-50); }
.booking[open] { display: block; }
@media (min-width: 900px) {
  .booking { width: min(1080px, 100% - 48px); height: min(780px, 100% - 48px); margin: auto; border-radius: 32px; overflow: hidden; box-shadow: var(--elev-3); }
}
.booking__shell { display: grid; grid-template-columns: minmax(0, 1fr); height: 100%; }
@media (min-width: 900px) { .booking__shell { grid-template-columns: 340px minmax(0, 1fr); } }
.booking__summary { display: none; }
@media (min-width: 900px) {
  .booking__summary {
    display: flex; flex-direction: column; align-items: stretch; gap: 16px; padding: 32px 24px 28px;
    background: radial-gradient(100% 60% at 0% 0%, rgba(242, 107, 29, .16), transparent 60%), var(--asphalt-950);
    color: var(--limewash-50);
  }
  .booking__summary .kicker { align-self: flex-start; }
}
.booking__summary-title { margin-top: 4px; font: 650 34px/1 var(--font-display); letter-spacing: -.045em; }
.wo { display: grid; gap: 8px; }
.wo div { display: grid; align-content: start; gap: 5px; padding: 12px 14px; border-radius: 16px; background: rgba(251, 249, 245, .05); box-shadow: inset 0 0 0 1px rgba(251, 249, 245, .1); }
.wo dt { font: 600 11.5px/1.2 var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--asphalt-300); }
.wo dd { display: flex; align-items: flex-start; gap: 6px; font: 600 15px/1.35 var(--font-text); color: var(--asphalt-400); overflow-wrap: anywhere; }
.wo dd.is-set { color: var(--limewash-50); }
.wo dd.is-set::before {
  content: ""; width: 14px; height: 14px; flex: none; margin-top: 3px; background: var(--marker-400);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.booking__summary .stamp { align-self: flex-start; }
.booking__help { margin-top: auto; font-size: 14.5px; line-height: 1.65; color: var(--asphalt-300); }
.booking__help a { color: var(--limewash-50); font-weight: 650; }
.booking__main { display: flex; flex-direction: column; min-height: 0; height: 100%; }
.booking__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 18px 12px 12px 20px; }
@media (min-width: 900px) { .booking__head { padding: 26px 20px 12px 32px; } }
.booking__title { font: 650 22px/1.15 var(--font-display); letter-spacing: -.03em; }
.booking__step { margin-top: 6px; font: 600 12px/1.3 var(--font-text); letter-spacing: .07em; text-transform: uppercase; color: var(--asphalt-600); }
.booking__mini { margin-top: 8px; font: 600 14px/1.3 var(--font-text); color: var(--asphalt-700); }
@media (min-width: 900px) { .booking__mini { display: none; } }
.progress { display: flex; gap: 6px; padding: 0 20px 14px; }
@media (min-width: 900px) { .progress { padding: 0 32px 16px; } }
.progress li { flex: 1; height: 4px; border-radius: 999px; background: var(--asphalt-200); transition: background-color .3s ease; }
.progress li.is-done, .progress li.is-current { background: var(--marker-500); }
.booking__form { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.booking__scroll { flex: 1; display: grid; align-content: start; gap: 20px; overflow-y: auto; padding: 6px 20px 28px; overscroll-behavior: contain; }
@media (min-width: 900px) { .booking__scroll { padding: 6px 32px 28px; } }
.booking__foot { display: flex; align-items: center; gap: 12px; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--limewash-50); }
@media (min-width: 900px) { .booking__foot { padding: 14px 32px 18px; } }
.booking__foot [data-next] { margin-left: auto; min-width: 0; }
@media (max-width: 599px) {
  .booking__foot [data-next] { flex: 1; justify-content: space-between; padding-left: 24px; }
  .booking__back { width: 56px; padding: 0; flex: none; box-shadow: inset 0 0 0 1px var(--asphalt-300); }
  .booking__back-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.step { display: grid; gap: 18px; }
.step__q:focus, .booking__title:focus { outline: none; }
.step__q { padding: 0; margin-bottom: 14px; font: 650 clamp(25px, 1.2vw + 18px, 32px)/1.08 var(--font-display); letter-spacing: -.04em; }
.subfield { display: grid; }
.day-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.day-grid .day { flex: none; }
@media (min-width: 600px) { .day-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.part-grid { display: grid; gap: 8px; }
@media (min-width: 600px) { .part-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.next-steps { display: grid; gap: 8px; }
.next-steps li { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--asphalt-100); }
.next-steps__icon { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--marker-50); color: var(--marker-700); }
.next-steps__icon .icon { width: 20px; height: 20px; }
.next-steps li > span:last-child { display: grid; gap: 2px; font-size: 14.5px; line-height: 1.4; color: var(--asphalt-600); }
.next-steps strong { font-size: 15.5px; color: var(--asphalt-900); }

/* ---------- Mobile menu ---------- */
.menu-sheet { width: 100%; height: 100%; margin: 0; padding: 0 16px 20px; overflow-y: auto; background: var(--limewash-50); }
.menu-sheet[open] { display: flex; flex-direction: column; }
.menu-sheet__head { display: flex; justify-content: space-between; align-items: center; min-height: 76px; padding-left: 12px; }
.menu-sheet .brand { color: var(--asphalt-900); }
.menu-close { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--asphalt-900); color: var(--limewash-50); }
.menu-close .icon { width: 22px; height: 22px; stroke-width: 2; }
.menu-sheet__links { margin-top: 8px; }
.menu-sheet__links a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 66px; padding: 0 12px;
  border-bottom: 1px solid var(--line);
  font: 600 30px/1 var(--font-display); letter-spacing: -.045em; text-decoration: none; color: var(--asphalt-900);
}
.menu-sheet__links a:hover { color: var(--asphalt-900); }
.menu-sheet__links .icon { width: 24px; height: 24px; color: var(--asphalt-500); }
.menu-sheet__brave {
  display: flex; align-items: center; gap: 14px; margin-top: 20px; padding: 14px 18px; border-radius: 20px;
  background: var(--asphalt-950); color: var(--limewash-50); text-decoration: none;
}
.menu-sheet__brave:hover { color: var(--limewash-50); }
.menu-sheet__brave .icon { width: 28px; height: 28px; color: var(--signal); flex: none; }
.menu-sheet__brave span { display: grid; gap: 3px; font-size: 14px; line-height: 1.35; color: var(--asphalt-300); }
.menu-sheet__brave strong { font-size: 17px; color: var(--limewash-50); }
.menu-sheet__brave:focus-visible { outline-color: var(--asphalt-900); }
.menu-sheet__foot { display: grid; gap: 10px; margin-top: auto; padding-top: 24px; }
.menu-contact {
  display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 8px 16px 8px 8px; border-radius: 20px;
  background: #fff; box-shadow: 0 0 0 1px var(--asphalt-100); text-decoration: none; color: var(--asphalt-900);
}
.menu-contact:hover { color: var(--asphalt-900); }
.menu-contact__icon { width: 46px; height: 46px; display: grid; place-items: center; flex: none; border-radius: 50%; background: var(--marker-50); color: var(--marker-700); }
.menu-contact > span:last-child { display: grid; gap: 3px; font: 700 16.5px/1.2 var(--font-text); }
.menu-contact small { font: 500 13px/1.2 var(--font-text); color: var(--asphalt-600); }

/* ---------- Chat ---------- */
.chat {
  position: fixed; inset: 0; width: 100%; height: 100%; margin: 0; z-index: var(--z-chat);
  flex-direction: column; overflow: hidden; background: var(--limewash-100);
}
.chat[open] { display: flex; }
.chat::backdrop { background: rgba(20, 19, 17, .35); }
@media (min-width: 768px) {
  .chat { inset: auto 24px 24px auto; width: 400px; height: min(660px, 100% - 120px); border-radius: 28px; box-shadow: var(--elev-3); }
}
.chat__head { display: flex; align-items: center; gap: 12px; height: 68px; flex: none; padding: 0 10px 0 16px; background: var(--asphalt-950); color: var(--limewash-50); }
.chat__avatar { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--asphalt-800); }
.chat__avatar img { width: 26px; height: 20px; }
.chat__who { flex: 1; display: grid; gap: 4px; min-width: 0; }
.chat__title { font: 700 16px/1 var(--font-text); }
.chat__status { display: flex; align-items: center; gap: 6px; font: 600 10.5px/1.2 var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--asphalt-300); }
.chat__dot { width: 7px; height: 7px; border-radius: 50%; background: #3FA35B; animation: pulse 2.4s infinite; }
.chat__person { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; flex: none; background: var(--limewash-50); border-bottom: 1px solid var(--line); font-size: 14px; color: var(--asphalt-700); text-decoration: none; }
.chat__person .icon { width: 16px; height: 16px; }
.chat__person strong { color: var(--asphalt-900); }
.chat__person:hover { background: #fff; color: var(--asphalt-900); }
.chat__log { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 16px; overflow-y: auto; overscroll-behavior: contain; }
.chat__log:focus-visible { outline-offset: -3px; }
.msg { display: grid; gap: 6px; max-width: 88%; }
.msg--bot { align-self: flex-start; }
.msg--user { align-self: flex-end; justify-items: end; }
.msg__who { font: 600 10.5px/1.2 var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--asphalt-600); }
.msg__bubble { padding: 11px 14px; border-radius: 6px 20px 20px 20px; background: #fff; box-shadow: 0 0 0 1px var(--asphalt-200); font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.msg__bubble a { font-weight: 650; }
.msg--user .msg__bubble { border-radius: 20px 6px 20px 20px; background: var(--asphalt-900); box-shadow: none; color: var(--limewash-50); }
.typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--asphalt-400); animation: typing 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
.chat-card { width: 100%; max-width: 300px; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--asphalt-200); }
.chat-card__head { display: flex; justify-content: space-between; gap: 8px; padding: 10px 14px; background: var(--asphalt-900); font: 600 10.5px/1.2 var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--asphalt-300); }
.chat-card__head b { font-weight: 600; color: var(--marker-400); }
.chat-card__body { display: grid; gap: 8px; padding: 12px; }
.chat-card__body p { font-size: 14px; line-height: 1.45; color: var(--asphalt-700); }
.chat-card__row { display: grid; gap: 2px; }
.chat-card__row small { font: 600 10.5px/1.2 var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--asphalt-600); }
.chat-card__row span { font: 650 15px/1.3 var(--font-text); }
.slot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 46px; padding: 0 14px;
  border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--asphalt-400); font: 650 14.5px/1.1 var(--font-text); text-align: left;
}
.slot .icon { width: 16px; height: 16px; color: var(--asphalt-600); }
.slot:hover { box-shadow: inset 0 0 0 1.5px var(--asphalt-900); }
.slot[aria-pressed="true"] { background: var(--marker-50); box-shadow: inset 0 0 0 2px var(--marker-500); }
.slot:disabled { cursor: default; }
.chat__chips { display: flex; flex-wrap: wrap; gap: 8px; flex: none; padding: 0 16px 12px; }
.chat__chips:empty { display: none; }
@media (max-width: 767px) {
  .chat__chips { flex-wrap: nowrap; overflow-x: auto; padding-top: 4px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .chat__chips::-webkit-scrollbar { display: none; }
  .chat-chip { flex: none; }
}
.chat-chip { min-height: 42px; padding: 0 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--asphalt-400); font: 600 14px/1 var(--font-text); white-space: nowrap; transition: box-shadow var(--dur-color) ease; }
.chat-chip:hover { box-shadow: inset 0 0 0 1.5px var(--asphalt-900); color: var(--asphalt-900); }
a.chat-chip { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--asphalt-900); }
a.chat-chip .icon { width: 16px; height: 16px; }
.chat__composer { display: flex; gap: 8px; flex: none; padding: 10px 12px; background: var(--limewash-50); border-top: 1px solid var(--line); }
.chat__input { flex: 1; min-width: 0; min-height: 50px; padding: 0 20px; border: 1px solid var(--asphalt-500); border-radius: 999px; background: #fff; font: 450 16px/1.2 var(--font-text); }
.chat__input:focus { outline: 3px solid var(--asphalt-900); outline-offset: 2px; border-color: var(--asphalt-900); }
.chat__send { width: 50px; height: 50px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--marker-500); color: var(--asphalt-900); }
.chat__send:hover { background: var(--marker-400); }
.chat__disclaimer { flex: none; padding: 0 16px calc(12px + env(safe-area-inset-bottom)); background: var(--limewash-50); font-size: 11.5px; line-height: 1.4; color: var(--asphalt-600); text-align: center; }

/* ---------- Photo viewer ---------- */
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; margin: 0; background: var(--asphalt-950); color: var(--limewash-50); }
.lightbox[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.lightbox::backdrop { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.lightbox__stage { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; min-height: 0; padding: 72px 12px 8px; touch-action: pan-y; }
.lightbox__img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 18px; object-fit: contain;
  opacity: 0; transform: scale(.985); transition: opacity .35s ease, transform .5s var(--ease-settle);
  -webkit-user-select: none; user-select: none; -webkit-user-drag: none;
}
.lightbox__img.is-in { opacity: 1; transform: none; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); }
.lightbox__cap { display: flex; align-items: baseline; gap: 12px; font: 650 17px/1.3 var(--font-text); }
.lightbox__count { font: 600 13px/1 var(--font-text); letter-spacing: .06em; color: var(--asphalt-300); font-variant-numeric: tabular-nums; }
.lightbox__nav { display: flex; gap: 8px; }
.lightbox__btn, .lightbox__close {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%;
  color: var(--limewash-50); box-shadow: inset 0 0 0 1px rgba(251, 249, 245, .3);
  transition: background-color var(--dur-color) ease, color var(--dur-color) ease, box-shadow var(--dur-color) ease;
}
.lightbox__btn:hover { background: var(--limewash-50); color: var(--asphalt-900); box-shadow: none; }
.lightbox__btn .icon, .lightbox__close .icon { width: 22px; height: 22px; stroke-width: 2; }
.lightbox__close { position: absolute; top: calc(12px + env(safe-area-inset-top)); right: 12px; background: var(--limewash-50); color: var(--asphalt-900); box-shadow: none; }
.lightbox__close:hover { background: var(--marker-500); }
.lightbox :focus-visible { outline-color: #fff; }
@media (min-width: 768px) {
  .lightbox__stage { padding: 80px 88px 8px; }
  .lightbox__bar { padding: 16px 32px 28px; }
  .lightbox__close { top: 24px; right: 24px; }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 100px; z-index: var(--z-toast); transform: translate(-50%, 20px);
  max-width: min(92vw, 440px); padding: 12px 18px; border-radius: 16px; background: var(--asphalt-900); color: var(--limewash-50);
  font-size: 14.5px; line-height: 1.4; box-shadow: var(--elev-2); opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s var(--ease-settle);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 768px) { .toast { bottom: 32px; } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-settle), transform .7s var(--ease-settle); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Motion ---------- */
@keyframes hero-media { from { opacity: 0; transform: scale(1.06); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } }
@keyframes hero-drift { to { transform: translateY(7%) scale(1.07); } }
@media (prefers-reduced-motion: no-preference) {
  .hero__media { animation: hero-media 1.6s var(--ease-settle) both; }
  .hero__content > * { animation: rise-in .9s var(--ease-settle) both; }
  .hero__content > :nth-child(1) { animation-delay: .12s; }
  .hero__content > :nth-child(2) { animation-delay: .2s; }
  .hero__content > :nth-child(3) { animation-delay: .3s; }
  .hero__content > :nth-child(4) { animation-delay: .38s; }
  .hero__content > :nth-child(5) { animation-delay: .46s; }
  .hero__caption { animation: rise-in .9s .6s var(--ease-settle) both; }

  /* The hero photo drifts a little slower than the page as it scrolls away (where supported). */
  @supports (animation-timeline: view()) {
    .hero__media img { transform-origin: 50% 100%; animation: hero-drift linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  }

  /* Dialogs fade and settle in, and fade out (where @starting-style is supported). */
  .booking, .menu-sheet, .chat, .lightbox {
    transition: opacity .3s ease, transform .4s var(--ease-settle), overlay .4s allow-discrete, display .4s allow-discrete;
  }
  .booking:not([open]), .menu-sheet:not([open]), .lightbox:not([open]) { opacity: 0; }
  .chat:not([open]) { opacity: 0; transform: translateY(16px); }
  @starting-style {
    .booking[open], .lightbox[open] { opacity: 0; transform: scale(.98); }
    .menu-sheet[open] { opacity: 0; transform: translateY(-8px); }
    .chat[open] { opacity: 0; transform: translateY(16px); }
  }
  dialog::backdrop { transition: background-color .3s ease, overlay .3s allow-discrete, display .3s allow-discrete; }
  @starting-style { dialog[open]::backdrop { background-color: transparent; } }

  /* FAQ answers open and close smoothly (where supported). */
  @supports (interpolate-size: allow-keywords) {
    .faq__list { interpolate-size: allow-keywords; }
    .qa::details-content { block-size: 0; overflow-y: clip; transition: block-size .4s var(--ease-settle), content-visibility .4s allow-discrete; }
    .qa[open]::details-content { block-size: auto; }
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .shot img, .services__panel img { transition: none; }
  .tx-home__pulse, .home-base__pulse, .tx-city__halo, .tx-pin__halo { animation: none; opacity: 0; }
}
