/* ==========================================================================
   COASTAL BOAT DETAILING LLC: styles.css
   Palette from the client's own material: the dark gray of the wrapped trailer
   (charcoal), the logo's sky-blue boat and turquoise palms. Sky blue fills every
   quote button; a deeper blue carries links on light grounds (passes AA).
   Panchang (wide display caps, the hull-decal feel of marine brands), Switzer
   body, Gambetta italic decks: all self-hosted Fontshare. Square geometry,
   hairlines, no shadows. Chassis mirrors Brightwild / Coastal Valley Charters.
   ========================================================================== */
@font-face { font-family: "Panchang"; src: url("/assets/fonts/Panchang-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Panchang"; src: url("/assets/fonts/Panchang-Extrabold.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("/assets/fonts/Switzer-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("/assets/fonts/Switzer-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("/assets/fonts/Switzer-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Gambetta"; src: url("/assets/fonts/Gambetta-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --char: #24282C;            /* trailer charcoal */
  --char-2: #2F3438;
  --char-3: #3B4146;
  --sky: #5BC4E4;             /* logo boat: button FILL only */
  --sky-deep: #0B6E8A;        /* sky for TEXT on light grounds (AA) */
  --teal: #66D1C9;            /* logo palms */
  --foam: #F4F8F9;
  --mist: #E2EEF1;
  --paper: #FFFFFF;
  --ink: #1D2226;
  --muted: #4E5A62;
  --line: rgba(36,40,44,0.16);
  --line-strong: #24282C;
  --on-dark: #F2F7F8;
  --on-dark-muted: rgba(242,247,248,0.76);
  --dark-line: rgba(242,247,248,0.22);

  --font-display: "Panchang", "Arial Black", "Helvetica Neue", sans-serif;
  --font-body: "Switzer", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-accent: "Gambetta", Georgia, "Times New Roman", serif;

  --fs-hero: clamp(1.65rem, 3.6vw, 3.35rem);
  --fs-h1: clamp(1.6rem, 3.5vw, 3.1rem);
  --fs-h2: clamp(1.3rem, 2.6vw, 2.3rem);
  --fs-h3: clamp(0.98rem, 1.35vw, 1.2rem);
  --fs-body: 1.0625rem;
  --fs-sm: 0.9375rem;
  --fs-label: 0.8rem;

  --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem; --sp-5: 1.5rem; --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4rem;
  --container: 1240px; --container-narrow: 860px; --container-wide: 1560px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --promo-h: 40px; --nav-h: 84px; --bar-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--promo-h) + var(--nav-h) + 12px); }
body { margin: 0; background: var(--foam); color: var(--ink); font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.6; -webkit-font-smoothing: antialiased; padding-top: calc(var(--promo-h) + var(--nav-h)); }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p, figure, blockquote { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
picture { display: contents; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; line-height: 1.08; letter-spacing: -0.005em; margin: 0; color: var(--char); text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
.deck { font-family: var(--font-accent); font-style: italic; font-size: clamp(1.15rem, 1.6vw, 1.38rem); line-height: 1.45; max-width: 56ch; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.center-text { text-align: center; } .mx-auto { margin-inline: auto; }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 3000; background: var(--char); color: var(--on-dark); padding: 0.75rem 1rem; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--sky-deep); outline-offset: 3px; }
.section--dark :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .cta-band :focus-visible, .site-header :focus-visible, .promo-bar :focus-visible, .qpop :focus-visible { outline-color: var(--sky); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tight-top { padding-top: clamp(2rem, 4vw, 3rem); }
.section--mist { background: var(--mist); }
.section--dark { background: var(--char); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: var(--on-dark); }
.section--dark p { color: var(--on-dark-muted); }
.section--dark .deck { color: var(--on-dark); }
.section--wall { overflow: hidden; }
.mt-3 { margin-top: var(--sp-3); } .mt-5 { margin-top: var(--sp-5); } .mt-6 { margin-top: var(--sp-6); } .mt-7 { margin-top: var(--sp-7); }

/* Section head: headline leads, deck and link sit beside it. No eyebrows. */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--sp-4) var(--sp-7); margin-bottom: clamp(1.75rem, 4vw, 3rem); border-bottom: 1.5px solid var(--line-strong); padding-bottom: var(--sp-5); }
.section-head > h2 { flex: 1 1 420px; max-width: 20ch; }
.section-head__side { flex: 1 1 320px; max-width: 48ch; display: flex; flex-direction: column; gap: var(--sp-3); align-items: flex-start; }
.section-head__side .deck { font-size: 1.12rem; }
.section--dark .section-head { border-color: var(--dark-line); }

/* ------------------------------------------------------------- BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; font-family: var(--font-body); font-weight: 700; font-size: 0.92rem; letter-spacing: 0.07em; text-transform: uppercase; line-height: 1; padding: 1.05rem 1.45rem; min-height: 48px; border: 2px solid var(--char); background: transparent; color: var(--char); cursor: pointer; text-align: center; white-space: nowrap; max-width: 100%; transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease); }
.btn .arrow { width: 18px; height: 18px; flex: none; transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn svg:not(.arrow) { width: 18px; height: 18px; flex: none; }
.btn-lg { padding: 1.2rem 1.8rem; font-size: 0.98rem; }
.btn-sm { padding: 0.7rem 1rem; min-height: 44px; font-size: 0.8rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--sky); border-color: var(--sky); color: var(--char); }
.btn-primary:hover { background: var(--char); border-color: var(--char); color: var(--sky); }
.section--dark .btn-primary:hover, .hero .btn-primary:hover, .cta-band .btn-primary:hover, .site-footer .btn-primary:hover, .quote-panel__head .btn-primary:hover, .side-card--dark .btn-primary:hover, .g-cta .btn-primary:hover, .qpop .btn-primary:hover { background: var(--on-dark); border-color: var(--on-dark); color: var(--char); }
.btn-dark { background: var(--char); color: var(--on-dark); }
.btn-dark:hover { background: var(--paper); color: var(--char); }
.btn-ghost:hover { background: var(--char); color: var(--on-dark); }
.btn-ghost--light { border-color: var(--on-dark); color: var(--on-dark); }
.btn-ghost--light:hover { background: var(--on-dark); color: var(--char); }
@media (max-width: 480px) { .btn { white-space: normal; line-height: 1.2; } }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
.cta-row--center { justify-content: center; }
.text-link { font-weight: 700; font-size: var(--fs-label); letter-spacing: 0.09em; text-transform: uppercase; border-bottom: 2px solid var(--sky); padding-bottom: 3px; }
.text-link:hover { color: var(--sky-deep); }
.section--dark .text-link:hover, .loc-panel .text-link { color: var(--on-dark); }

.rating { display: inline-flex; align-items: center; gap: 0.55rem; font-size: var(--fs-sm); padding: 0.55rem 0.8rem; border: 1.5px solid var(--line-strong); background: var(--paper); line-height: 1.2; }
.rating svg { width: 18px; height: 18px; flex: none; }
.rating strong { font-family: var(--font-display); font-size: 1.05rem; }
.rating__n { color: var(--muted); font-size: 0.85rem; }
.rating--light { background: transparent; border-color: var(--dark-line); color: var(--on-dark); }
.rating--light .rating__n { color: var(--on-dark-muted); }
.rating:hover { border-color: var(--sky); }

/* ------------------------------------------------------------ PROMO BAR */
.promo-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 1001; height: var(--promo-h); background: #1A1D20; color: var(--on-dark); font-weight: 500; font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; }
.promo-bar__inner { display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 3vw, 2.5rem); height: 100%; padding-inline: var(--gutter); }
.promo-bar__item { white-space: nowrap; }
.promo-bar__call { white-space: nowrap; min-height: 40px; display: inline-flex; align-items: center; }
.promo-bar__call strong { color: var(--sky); font-weight: 700; margin-left: 0.35rem; }
.promo-bar__call:hover strong { text-decoration: underline; }
.promo-bar__link { background: var(--sky); color: var(--char); font-weight: 700; padding: 0 0.85rem; white-space: nowrap; align-self: stretch; display: inline-flex; align-items: center; }
.promo-bar__link:hover { background: var(--on-dark); }
@media (max-width: 1180px) { .promo-bar__item--wide { display: none; } }
@media (max-width: 760px) { .promo-bar__call { display: none; } .promo-bar__inner { justify-content: space-between; gap: 0.75rem; } .promo-bar__item { min-width: 0; overflow: hidden; text-overflow: ellipsis; } .promo-bar__link { flex: none; } }
@media (max-width: 480px) { .promo-bar__long { display: none; } }

/* ---------------------------------------------------------------- HEADER
   Dark header: the logo was drawn for a dark ground (the gray trailer wrap). */
.site-header { position: fixed; top: var(--promo-h); left: 0; right: 0; z-index: 1000; background: var(--char); color: var(--on-dark); border-bottom: 1px solid var(--dark-line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); height: var(--nav-h); max-width: var(--container-wide); margin-inline: auto; padding-inline: var(--gutter); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand__logo { height: 70px; width: auto; }   /* sized by HEIGHT so the badge never sets the header height */
.primary-nav { display: flex; align-items: center; gap: clamp(0.5rem, 1.2vw, 1.2rem); }
.nav-list { display: flex; align-items: center; gap: clamp(0.05rem, 0.5vw, 0.5rem); }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.6rem 0.45rem; border-bottom: 2px solid transparent; white-space: nowrap; color: var(--on-dark); }
.nav-link:hover, .nav-link[aria-expanded="true"], .nav-link[aria-current="page"] { border-bottom-color: var(--sky); }
.nav-link .caret { width: 11px; height: 11px; transition: transform 0.25s var(--ease); }
.nav-link[aria-expanded="true"] .caret { transform: rotate(180deg); }
.has-dropdown > .dropdown { position: absolute; top: calc(100% + 10px); left: 0; min-width: 320px; background: var(--paper); color: var(--ink); border: 1.5px solid var(--char); padding: var(--sp-3); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(6px); transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s; z-index: 20; }
.has-dropdown > .dropdown::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.has-dropdown.open > .dropdown, .has-dropdown:hover > .dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.dropdown__list { display: flex; flex-direction: column; }
.dropdown__link { display: block; padding: 0.65rem var(--sp-3); }
.dropdown__link:hover { background: var(--char); color: var(--on-dark); }
.dropdown__link strong { display: block; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.01em; line-height: 1.2; }
.dropdown__link span { display: block; font-size: 0.82rem; color: var(--muted); margin-top: 3px; }
.dropdown__link:hover span { color: var(--on-dark-muted); }
.dropdown__foot { margin-top: var(--sp-2); padding-top: var(--sp-2); border-top: 1px solid var(--line); }
.nav-quote__btn { padding: 0.85rem 1.1rem; font-size: 0.82rem; }
.header-call { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 2px solid var(--dark-line); color: var(--on-dark); flex: none; }
.header-call svg { width: 20px; height: 20px; }
.header-call:hover { border-color: var(--sky); color: var(--sky); }
.header-quote { display: none; padding: 0.7rem 1rem; font-size: 0.82rem; min-height: 44px; }
.hamburger { display: none; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; padding: 10px; z-index: 1100; flex: none; }
.hamburger span { display: block; height: 2px; width: 100%; background: var(--on-dark); transition: transform 0.3s var(--ease), opacity 0.2s var(--ease); }
.drawer-open .hamburger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.drawer-open .hamburger span:nth-child(2) { opacity: 0; }
.drawer-open .hamburger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (max-width: 1220px) { .primary-nav { display: none; } .hamburger { display: flex; } .header-quote { display: inline-flex; } .header-call { display: inline-flex; margin-left: auto; } :root { --nav-h: 74px; } .brand__logo { height: 60px; } }
body.drawer-open .header-quote { visibility: hidden; }

.mobile-drawer { position: fixed; inset: 0; z-index: 990; background: var(--foam); padding: calc(var(--promo-h) + var(--nav-h) + 1.25rem) var(--gutter) 2rem; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform 0.4s var(--ease), visibility 0.4s; display: flex; flex-direction: column; gap: var(--sp-5); }
.drawer-open .mobile-drawer { transform: translateX(0); visibility: visible; }
.drawer-buttons { display: grid; gap: var(--sp-3); }
.drawer-buttons__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.drawer-buttons .btn { padding: 1.1rem 1.2rem; font-size: 0.95rem; }
.drawer-nav { display: flex; flex-direction: column; border-top: 1.5px solid var(--char); }
.drawer-nav > li { border-bottom: 1px solid var(--line); }
.drawer-link { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; padding: 0.8rem 0; font-family: var(--font-display); font-weight: 700; font-size: 1rem; text-transform: uppercase; text-align: left; }
.drawer-link .caret { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.drawer-sub { display: none; padding: 0 0 var(--sp-4) var(--sp-3); flex-direction: column; }
.drawer-group.open .drawer-sub { display: flex; }
.drawer-group.open .drawer-link .caret { transform: rotate(180deg); }
.drawer-sub a { display: flex; align-items: center; min-height: 44px; font-weight: 500; font-size: 0.9rem; letter-spacing: 0.05em; text-transform: uppercase; }
.drawer-meta { font-weight: 500; font-size: var(--fs-label); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); display: flex; flex-direction: column; gap: 0.4rem; }
.drawer-tel { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--char); border-bottom: 2px solid var(--sky); align-self: flex-start; }
body.drawer-open { overflow: hidden; }
@media (min-width: 1221px) { .mobile-drawer { display: none; } }

/* ------------------------------------------------------------ SPLIT HERO */
.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); background: var(--char); color: var(--on-dark); min-height: min(calc(100svh - var(--promo-h) - var(--nav-h)), 880px); }
.hero__panel { order: 1; display: flex; align-items: center; padding: clamp(2.5rem, 6vw, 5rem) var(--gutter) clamp(2.5rem, 6vw, 5rem) max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); }
.hero__content { max-width: 680px; }
.hero__media { order: 2; position: relative; overflow: hidden; background: var(--char-2); min-height: 460px; }
.hero__media > picture > img, .hero__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__kicker { font-weight: 700; font-size: var(--fs-label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-bottom: var(--sp-5); }
.hero h1 { color: var(--on-dark); font-size: var(--fs-hero); line-height: 1.06; }
.hero h1 .accent { color: var(--sky); display: block; }
.hero__sub { font-family: var(--font-accent); font-style: italic; font-size: clamp(1.1rem, 1.55vw, 1.35rem); line-height: 1.45; color: var(--on-dark); margin-top: var(--sp-5); max-width: 52ch; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-5); margin-top: var(--sp-5); padding-top: var(--sp-5); border-top: 1px solid var(--dark-line); }
.hero__hint { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 500; font-size: var(--fs-label); letter-spacing: 0.07em; text-transform: uppercase; color: var(--on-dark-muted); }
.hero__hint svg { width: 20px; height: 20px; color: var(--sky); }
.hero__cta { margin-top: var(--sp-6); }
@media (max-width: 900px) {
  /* Stacked on phones and upright tablets: media first, then the words.
     Explicit height, because aspect-ratio + max-height shrank the WIDTH. */
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { order: 1; width: 100%; min-height: 0; height: min(125vw, 58svh); }
  .hero__panel { order: 2; padding: var(--sp-6) var(--gutter) var(--sp-7); }
  .hero__cta .btn { flex: 1 1 100%; }
}

.page-hero { padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 5vw, 3.5rem); border-bottom: 1.5px solid var(--char); background: var(--mist); }
.page-hero h1 { max-width: 18ch; }
.page-hero .deck { margin-top: var(--sp-5); }

/* ---------------------------------------------------------- BEFORE / AFTER
   AFTER sits underneath; BEFORE is clipped from the right by --pos. A native
   range input on top drives it (keyboard, screen reader and touch all work). */
.ba { display: flex; flex-direction: column; min-width: 0; }
.ba__frame { position: relative; overflow: hidden; background: var(--char-2); border: 1.5px solid var(--char); aspect-ratio: 3 / 4; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ba--l .ba__frame { aspect-ratio: 4 / 3; }
.ba__img, .ba__before { position: absolute; inset: 0; width: 100%; height: 100%; }
.ba__img { object-fit: cover; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba__before .ba__img { position: absolute; inset: 0; }
.ba__frame::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; margin-left: -1.5px; background: var(--paper); box-shadow: 0 0 0 1px rgba(36,40,44,0.35); pointer-events: none; }
.ba__handle { position: absolute; top: 50%; left: var(--pos, 50%); width: 52px; height: 52px; margin: -26px 0 0 -26px; display: flex; align-items: center; justify-content: center; background: var(--sky); color: var(--char); border: 2px solid var(--paper); z-index: 2; pointer-events: none; }
.ba__tag { position: absolute; top: 0.75rem; z-index: 2; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.45rem 0.65rem; background: var(--char); color: var(--on-dark); pointer-events: none; }
.ba__tag--before { left: 0.75rem; }
.ba__tag--after { right: 0.75rem; background: var(--sky); color: var(--char); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; -webkit-appearance: none; appearance: none; background: transparent; }
.ba__range::-webkit-slider-thumb { -webkit-appearance: none; width: 56px; height: 100vh; }
.ba__range::-moz-range-thumb { width: 56px; height: 100%; border: 0; }
.ba__range:focus-visible ~ .ba__handle, .ba__frame:focus-within .ba__handle { outline: 3px solid var(--sky-deep); outline-offset: 2px; }
.ba__cap { display: flex; flex-direction: column; gap: 0.35rem; padding: var(--sp-4) 0 0; align-items: flex-start; }
.ba__cap strong { font-family: var(--font-display); font-size: 0.92rem; text-transform: uppercase; line-height: 1.25; }
.ba__cap span { font-size: var(--fs-sm); color: var(--muted); }
.section--dark .ba__cap span { color: var(--on-dark-muted); }
.ba--hero { position: absolute; inset: 0; }
.ba--hero .ba__frame { position: absolute; inset: 0; aspect-ratio: auto; border: 0; }
.ba-grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.ba-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ba-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ba-grid--1 { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin-inline: auto; }
.ba-grid--1.ba-grid--p { max-width: 520px; }
.ba-rows { display: flex; flex-direction: column; gap: clamp(1.75rem, 4vw, 3rem); }
@media (max-width: 900px) { .ba-grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .ba-grid--3, .ba-grid--2 { grid-template-columns: 1fr; } }
.js .ba.ba--nudge .ba__frame { --pos: 50%; }

/* -------------------------------------------------------------- FACT BAR */
.fact-bar { background: var(--paper); border-bottom: 1.5px solid var(--char); }
.fact-bar__inner { display: grid; grid-template-columns: repeat(5, 1fr); max-width: var(--container-wide); margin-inline: auto; }
.fact-bar__inner--4 { grid-template-columns: repeat(4, 1fr); }
.fact-item { padding: 1.3rem 1.25rem; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
.fact-item:first-child { border-left: 0; }
.fact-item__icon svg { width: 22px; height: 22px; color: var(--sky-deep); }
.fact-item__figure { font-family: var(--font-display); font-weight: 700; font-size: clamp(0.88rem, 1.2vw, 1.05rem); line-height: 1.2; text-transform: uppercase; display: inline-flex; align-items: center; gap: 0.5rem; }
.fact-item__label { font-weight: 500; font-size: var(--fs-label); letter-spacing: 0.05em; color: var(--muted); }
.fact-item__value { font-weight: 700; line-height: 1.3; }
.fact-item--cta { background: var(--sky); border-left-color: var(--char); justify-content: center; }
.fact-item--cta .fact-item__label { color: var(--char); }
.fact-item--cta:hover { background: var(--char); color: var(--sky); }
.fact-item--cta:hover .fact-item__label { color: var(--on-dark); }
.fact-item--cta svg { width: 22px; height: 22px; }
.fact-bar--plain .fact-item__label { text-transform: uppercase; letter-spacing: 0.07em; }
@media (max-width: 1000px) { .fact-bar__inner { grid-template-columns: repeat(2, 1fr); } .fact-item { border-top: 1px solid var(--line); } .fact-item:nth-child(odd) { border-left: 0; } .fact-item--cta { grid-column: 1 / -1; } .fact-item:nth-child(-n+2) { border-top: 0; } }

/* ------------------------------------------------------------- SERVICES */
.svc-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--sp-5); }
.svc-grid > .svc { grid-column: span 2; }
.svc-grid--5 > .svc:nth-child(-n+2) { grid-column: span 3; }
.svc-grid--4 > .svc { grid-column: span 3; }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: 1fr 1fr; } .svc-grid > .svc, .svc-grid--5 > .svc:nth-child(-n+2), .svc-grid--4 > .svc { grid-column: auto; } .svc-grid--5 > .svc:first-child { grid-column: 1 / -1; } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: 1fr; } .svc-grid--5 > .svc:first-child { grid-column: auto; } }
.svc { display: flex; flex-direction: column; background: var(--paper); border: 1.5px solid var(--char); min-width: 0; }
.svc__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1.5px solid var(--char); background: var(--char); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.svc:hover .svc__media img { transform: scale(1.04); }
.svc__body { display: flex; flex-direction: column; gap: var(--sp-3); padding: clamp(1.25rem, 2.4vw, 1.75rem); flex: 1; }
.svc__num { font-family: var(--font-display); font-size: 0.85rem; color: var(--sky-deep); }
.svc__body h3 { font-size: clamp(1rem, 1.5vw, 1.2rem); }
.svc__body p { color: var(--muted); font-size: var(--fs-sm); }
.svc__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: auto; padding-top: var(--sp-3); }
.svc__actions .btn { flex: 1 1 auto; }
.svc__body h3 a { position: relative; }
.svc__body h3 a::after { content: ""; position: absolute; inset: -12px -6px; }

.table-wrap { overflow-x: auto; border: 1.5px solid var(--char); background: var(--paper); }
.match { width: 100%; border-collapse: collapse; }
.match th, .match td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.match thead th { font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; background: var(--char); color: var(--on-dark); }
.match tbody th { font-weight: 700; width: 42%; }
.match td:last-child { text-align: right; width: 1%; white-space: nowrap; }
.match .btn { white-space: nowrap; }
@media (max-width: 620px) { .match thead { display: none; } .match tr { display: grid; grid-template-columns: 1fr auto; gap: 0.25rem 1rem; padding: 0.9rem 1rem; border-bottom: 1px solid var(--line); } .match th, .match td { padding: 0; border: 0; width: auto; } .match tbody th { grid-column: 1 / -1; } .match td:last-child { width: auto; } }

/* ---------------------------------------------------------------- LEDGER */
.ledger { display: grid; grid-template-columns: 1.5fr 1fr; border: 1.5px solid var(--char); background: var(--paper); }
@media (max-width: 860px) { .ledger { grid-template-columns: 1fr; } }
.ledger__main { padding: clamp(1.5rem, 3vw, 2.5rem); }
.ledger__side { padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--char); color: var(--on-dark); display: flex; flex-direction: column; gap: var(--sp-5); }
.ledger__side h3 { color: var(--on-dark); margin-bottom: var(--sp-4); }
.ledger__side .plain-list li { color: var(--on-dark-muted); }
.ledger__side .btn { margin-top: auto; }
.ledger__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 var(--sp-6); margin-top: var(--sp-5); }
@media (max-width: 600px) { .ledger__list { grid-template-columns: 1fr; } }
.ledger__list li { display: flex; gap: var(--sp-3); padding: var(--sp-4) 0; border-top: 1px solid var(--line); align-items: flex-start; }
.ledger__list svg { flex: none; margin-top: 3px; color: var(--sky-deep); width: 20px; height: 20px; }
.ledger__list strong { display: block; font-weight: 700; }
.ledger__list span { display: block; font-size: var(--fs-sm); color: var(--muted); }
.plain-list { display: flex; flex-direction: column; gap: 0.55rem; }
.plain-list li { position: relative; padding-left: 1.25rem; font-size: var(--fs-sm); }
.plain-list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; background: var(--sky); }

/* ------------------------------------------------------------ QUOTE PROMPT */
.quote-prompt { background: var(--sky); border-block: 1.5px solid var(--char); padding-block: clamp(1.75rem, 4vw, 2.75rem); color: var(--char); }
.quote-prompt__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-5); }
.quote-prompt h2 { font-size: clamp(1.15rem, 2.2vw, 1.8rem); }
.quote-prompt p { margin-top: var(--sp-2); font-weight: 500; max-width: 60ch; }
.quote-prompt .btn-ghost:hover { background: var(--char); color: var(--sky); }

/* ---------------------------------------------------------------- REVIEWS */
.rv { display: flex; flex-direction: column; gap: var(--sp-4); background: var(--paper); color: var(--ink); border: 1.5px solid var(--char); padding: clamp(1.25rem, 2.4vw, 1.75rem); min-width: 0; }
.rv__q { display: flex; flex-direction: column; gap: 0.75rem; font-size: var(--fs-sm); line-height: 1.6; }
.rv--featured .rv__q { font-family: var(--font-accent); font-style: italic; font-size: 1.12rem; line-height: 1.5; }
.rv__q p::before { content: none; }
.rv__by { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.4rem var(--sp-3); margin-top: auto; padding-top: var(--sp-3); border-top: 1px solid var(--line); }
.rv__name { font-family: var(--font-display); font-size: 0.8rem; text-transform: uppercase; }
.rv__src { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; color: var(--muted); white-space: nowrap; }
.rv__src svg { width: 16px; height: 16px; }
.section--dark .rv p { color: var(--ink); }
.rv-grid { columns: 2 340px; column-gap: var(--sp-5); }
.rv-grid .rv { break-inside: avoid; margin-bottom: var(--sp-5); }
.home .rv-grid { columns: 3 300px; }
.rv-masonry { columns: 3 300px; column-gap: var(--sp-5); }
.rv-masonry .rv { break-inside: avoid; margin-bottom: var(--sp-5); }
/* Marquee: spacing is margin-right on the card with gap 0 on the track, so one
   set is exactly half the track and -50% lands on the clone with zero drift. */
.mq { display: flex; flex-direction: column; gap: var(--sp-4); margin-top: clamp(2rem, 4vw, 3rem); }
.mq-row { overflow: hidden; }
.mq-track { display: flex; align-items: flex-start; gap: 0; width: max-content; animation: mq-slide var(--mq-dur, 60s) linear infinite; will-change: transform; }
.mq-track--rev { animation-direction: reverse; }
@keyframes mq-slide { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
.mq:hover .mq-track { animation-play-state: paused; }
.rv--mq { flex: 0 0 auto; width: var(--w, 320px); margin-right: var(--sp-4); }
.mq { margin-top: 0; }
@media (prefers-reduced-motion: reduce) { .mq-track { animation: none; } .mq-row { overflow-x: auto; } .rv--mq[aria-hidden="true"] { display: none; } }

/* ------------------------------------------------------------ PHOTO WALL */
.pw-wall { position: relative; }
.pw-row { overflow: hidden; }
.pw-track { display: flex; gap: 0; width: max-content; will-change: transform; animation: pw-slide var(--pw-dur, 80s) linear infinite; }
@keyframes pw-slide { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
.pw-wall:hover .pw-track { animation-play-state: paused; }
.pw { flex: 0 0 auto; width: clamp(240px, 26vw, 380px); aspect-ratio: 4 / 3; margin: 0 var(--sp-3) 0 0; border: 1.5px solid var(--char); overflow: hidden; background: var(--char); }
.pw img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .pw-track { animation: none; } .pw-row { overflow-x: auto; } .pw[aria-hidden="true"] { display: none; } }

/* ---------------------------------------------------------------- SPLITS */
.split, .how-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.how-split { align-items: start; }
@media (max-width: 860px) { .split, .how-split { grid-template-columns: 1fr; } }
.split__media { border: 1.5px solid var(--dark-line); overflow: hidden; aspect-ratio: 4 / 5; max-height: 640px; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body > * + *, .how-split > div > * + * { margin-top: var(--sp-5); }

.loc-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--sp-5); }
.loc-grid > .loc-panel { grid-column: span 2; }
.loc-grid > .loc-panel:nth-child(-n+2) { grid-column: span 3; }
@media (max-width: 900px) { .loc-grid { grid-template-columns: 1fr 1fr; } .loc-grid > .loc-panel, .loc-grid > .loc-panel:nth-child(-n+2) { grid-column: auto; } .loc-grid > .loc-panel:first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .loc-grid { grid-template-columns: 1fr; } .loc-grid > .loc-panel:first-child { grid-column: auto; } }
.loc-panel { position: relative; display: flex; align-items: flex-end; min-height: clamp(280px, 30vw, 420px); border: 1.5px solid var(--char); overflow: hidden; color: var(--on-dark); isolation: isolate; }
.loc-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.9s var(--ease); }
.loc-panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(29,34,38,0.94) 0%, rgba(29,34,38,0.55) 42%, rgba(29,34,38,0) 72%); }
.loc-panel:hover img { transform: scale(1.04); }
.loc-panel__body { display: flex; flex-direction: column; gap: var(--sp-3); padding: clamp(1.25rem, 3vw, 2rem); align-items: flex-start; }
.loc-panel__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, 1.9vw, 1.5rem); text-transform: uppercase; line-height: 1.1; }

.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1.5px solid var(--char); background: var(--paper); }
.who-item { display: flex; flex-direction: column; border-left: 1px solid var(--line-strong); min-width: 0; }
.who-item:first-child { border-left: 0; }
.who-item__media { aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1.5px solid var(--char); background: var(--char); }
.who-item__media img { width: 100%; height: 100%; object-fit: cover; }
.who-item__body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-2); }
.who-item p { font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 1000px) { .who-grid { grid-template-columns: repeat(2, 1fr); } .who-item:nth-child(3) { border-left: 0; } .who-item:nth-child(n+3) { border-top: 1.5px solid var(--char); } }
@media (max-width: 520px) { .who-grid { grid-template-columns: 1fr; } .who-item { border-left: 0; } .who-item + .who-item { border-top: 1.5px solid var(--char); } }

.rail { border-left: 1.5px solid currentColor; margin-left: 0.5rem; }
.rail__step { position: relative; padding: 0 0 var(--sp-5) var(--sp-6); }
.rail__step::before { content: ""; position: absolute; left: -7px; top: 0.3rem; width: 12px; height: 12px; background: var(--sky); }
.rail__step:last-child { padding-bottom: 0; }
.rail__time { font-weight: 700; font-size: var(--fs-label); letter-spacing: 0.09em; text-transform: uppercase; color: var(--sky-deep); display: block; margin-bottom: 0.25rem; }
.rail__h { font-size: 0.95rem; line-height: 1.25; margin-bottom: 0.3rem; }
.rail__step p { color: var(--muted); font-size: var(--fs-sm); max-width: 54ch; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
.duo__fig { display: flex; flex-direction: column; gap: var(--sp-3); }
.duo__fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1.5px solid var(--char); }
.duo__fig figcaption { font-size: var(--fs-sm); color: var(--muted); }
.duo__fig figcaption strong { font-family: var(--font-display); font-size: 0.8rem; text-transform: uppercase; color: var(--ink); margin-right: 0.4rem; }
@media (max-width: 620px) { .duo { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- ACCORDION */
.accordion { display: flex; flex-direction: column; border-top: 1.5px solid var(--char); }
.acc-item { border-bottom: 1px solid var(--line-strong); }
.acc-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); min-height: 56px; padding: 1.1rem 0; font-weight: 700; font-size: 1.08rem; text-align: left; }
.acc-trigger:hover { color: var(--sky-deep); }
.acc-icon { position: relative; width: 20px; height: 20px; flex: none; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; top: 50%; left: 50%; background: currentColor; transform: translate(-50%, -50%); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.acc-icon::before { width: 16px; height: 2px; }
.acc-icon::after { width: 2px; height: 16px; }
.acc-trigger[aria-expanded="true"] .acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.js .acc-panel { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.acc-panel__inner { padding: 0 0 1.3rem; color: var(--muted); max-width: 68ch; }
.faq-group + .faq-group { margin-top: clamp(3rem, 6vw, 4.5rem); }
.faq-group > h2 { margin-bottom: var(--sp-5); }

/* ------------------------------------------------ LAYOUT + QUOTE PANEL */
.tour-layout { display: grid; grid-template-columns: 1fr 390px; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.tour-layout > * { min-width: 0; }
@media (max-width: 980px) { .tour-layout { grid-template-columns: 1fr; } }
.quote-panel { position: sticky; top: calc(var(--promo-h) + var(--nav-h) + 1rem); background: var(--paper); border: 1.5px solid var(--char); }
@media (max-width: 980px) { .quote-panel { position: static; } }
.quote-panel__head { background: var(--char); color: var(--on-dark); padding: var(--sp-5); }
.quote-panel__head h2 { color: var(--on-dark); font-size: 1.2rem; }
.quote-panel__head p { color: var(--on-dark-muted); font-size: var(--fs-sm); margin-top: 0.35rem; }
.quote-panel__cta { padding: var(--sp-5); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: var(--sp-3); }
.quote-panel__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.quick-details { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-4); }
.quick-detail { display: flex; gap: var(--sp-3); align-items: flex-start; }
.quick-detail svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--sky-deep); }
.quick-detail__label { font-weight: 500; font-size: var(--fs-label); text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); }
.quick-detail__value { font-weight: 700; }
.quick-detail__value a { border-bottom: 2px solid var(--sky); }

.prose > * + * { margin-top: var(--sp-4); }
.prose h2 { margin-top: var(--sp-7); max-width: 22ch; }
.prose h2:first-child { margin-top: 0; }
.prose p { max-width: 66ch; }
.prose a:not(.btn) { border-bottom: 2px solid var(--sky); font-weight: 500; position: relative; }
.prose a:not(.btn)::after { content: ""; position: absolute; inset: -12px -6px; }

/* --------------------------------------------------------------- GALLERY */
.gallery-filters { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-6); }
.gallery-filter { min-height: 46px; font-weight: 700; font-size: var(--fs-label); letter-spacing: 0.08em; text-transform: uppercase; padding: 0.65rem 1rem; border: 1.5px solid var(--char); transition: background 0.2s var(--ease), color 0.2s var(--ease); }
.gallery-filter:hover { background: var(--mist); }
.gallery-filter[aria-pressed="true"] { background: var(--char); color: var(--on-dark); }
.g-project + .g-project, .g-cta + .g-project, .g-project + .g-cta { margin-top: clamp(2.5rem, 5vw, 4rem); }
.g-project__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--sp-2) var(--sp-5); border-bottom: 1.5px solid var(--char); padding-bottom: var(--sp-3); margin-bottom: var(--sp-5); }
.g-project__head h2 { font-size: clamp(1rem, 1.8vw, 1.4rem); }
.g-project__head p { color: var(--muted); font-size: var(--fs-sm); }
.gallery-masonry { columns: 4 230px; column-gap: var(--sp-4); }
.g-item { break-inside: avoid; margin-bottom: var(--sp-4); overflow: hidden; display: block; border: 1.5px solid var(--char); background: var(--char); }
.g-item img { width: 100%; height: auto; display: block; }
.g-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-5); background: var(--char); color: var(--on-dark); padding: clamp(1.5rem, 4vw, 2.5rem); }
.g-cta h2 { color: var(--on-dark); font-size: clamp(1.1rem, 2vw, 1.6rem); }
.g-cta p { color: var(--on-dark-muted); margin-top: var(--sp-2); }

/* ------------------------------------------------------------- QUOTE FORM */
.quote-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 980px) { .quote-layout { grid-template-columns: 1fr; } }
.q-form { border: 1.5px solid var(--char); background: var(--paper); padding: clamp(1.25rem, 3vw, 2.25rem); display: flex; flex-direction: column; gap: var(--sp-5); }
.q-step { display: flex; flex-direction: column; gap: var(--sp-4); }
.js .q-form .q-step:not(.is-active) { display: none; }
.no-js .q-nav { display: none; }
.no-js .q-step + .q-step { border-top: 1px solid var(--line); padding-top: var(--sp-5); }
.q-step legend { font-family: var(--font-display); font-weight: 700; font-size: clamp(1rem, 1.6vw, 1.25rem); text-transform: uppercase; line-height: 1.2; margin-bottom: var(--sp-4); padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.q-step__n { font-family: var(--font-body); font-size: var(--fs-label); letter-spacing: 0.1em; color: var(--sky-deep); }
.opt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-3); }
@media (max-width: 620px) { .opt-grid { grid-template-columns: 1fr 1fr; } }
.opt { position: relative; display: block; cursor: pointer; min-width: 0; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt span { display: flex; align-items: center; min-height: 56px; padding: 0.8rem 0.9rem; border: 1.5px solid var(--char); font-weight: 700; font-size: 0.95rem; line-height: 1.25; transition: background 0.15s var(--ease), color 0.15s var(--ease); }
.opt input:checked + span { background: var(--char); color: var(--on-dark); box-shadow: inset 5px 0 0 var(--sky); }
.opt input:focus-visible + span { outline: 3px solid var(--sky-deep); outline-offset: 2px; }
.field-row { display: grid; gap: var(--sp-4); }
.field-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 700px) { .field-row--2, .field-row--3 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.field label { font-weight: 700; font-size: var(--fs-label); letter-spacing: 0.08em; text-transform: uppercase; }
.opt-l { font-weight: 500; color: var(--muted); text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--foam); border: 1.5px solid var(--char); border-radius: 0; padding: 0.85rem 0.9rem; width: 100%; min-height: 52px; -webkit-appearance: none; appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--char) 50%), linear-gradient(135deg, var(--char) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.2rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--sky-deep); outline-offset: 1px; }
.field .is-invalid { border-color: #B3261E; background: #FCEEEC; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.q-nav { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: flex-end; margin-top: var(--sp-2); }
.q-nav .btn { flex: 0 1 auto; }
@media (max-width: 480px) { .q-nav .btn { flex: 1 1 auto; } }
.form-status { padding: var(--sp-4); border: 1.5px solid var(--sky-deep); background: #E5F4F9; font-weight: 500; }
.form-status.is-error { border-color: #B3261E; background: #FCEEEC; }
.form-status a { border-bottom: 2px solid currentColor; font-weight: 700; }
.form-fine { font-size: 0.82rem; color: var(--muted); margin-top: var(--sp-3); }
.form-fine a { border-bottom: 1px solid currentColor; position: relative; }
.form-fine a::after { content: ""; position: absolute; inset: -16px -8px; }
.quote-side { display: flex; flex-direction: column; gap: var(--sp-4); position: sticky; top: calc(var(--promo-h) + var(--nav-h) + 1rem); }
@media (max-width: 980px) { .quote-side { position: static; } }
.side-card { border: 1.5px solid var(--char); background: var(--paper); padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); }
.side-card__h { font-size: 1rem; }
.side-card p { font-size: var(--fs-sm); color: var(--muted); }
.side-card__btns { display: flex; flex-direction: column; gap: var(--sp-3); }
.side-card__link { border-bottom: 2px solid var(--sky); font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.side-card--dark { background: var(--char); color: var(--on-dark); }
.side-card--dark .side-card__h { color: var(--on-dark); }
.side-card--dark p { color: var(--on-dark-muted); }
.side-card--photo { padding: 0; }
.side-card--photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hours-list { display: flex; flex-direction: column; gap: 0.3rem; font-size: var(--fs-sm); }
.hours-list strong { display: block; }
.page-hero--quote h1 { max-width: 20ch; }

/* ------------------------------------------------------------- QUOTE POP-UP
   Homepage only, once per session. Hidden by default so no-JS visitors never
   see a dialog they cannot close. Phones get a bottom sheet. */
.qpop[hidden] { display: none; }
.qpop { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: var(--gutter); }
.qpop__backdrop { position: absolute; inset: 0; background: rgba(20,23,26,0.72); }
.qpop__box { position: relative; width: min(640px, 100%); max-height: calc(100svh - 2rem); overflow-y: auto; background: var(--foam); border: 2px solid var(--char); display: flex; flex-direction: column; }
.qpop__head { background: var(--char); color: var(--on-dark); padding: var(--sp-5) 3.5rem var(--sp-5) var(--sp-5); }
.qpop__head h2 { color: var(--on-dark); font-size: clamp(1.1rem, 2.4vw, 1.5rem); }
.qpop__head p { color: var(--on-dark-muted); margin-top: 0.35rem; font-size: var(--fs-sm); }
.qpop__x { position: absolute; top: 0.6rem; right: 0.6rem; width: 44px; height: 44px; font-size: 1.8rem; line-height: 1; color: var(--on-dark); z-index: 2; }
.qpop__x:hover { color: var(--sky); }
.qpop .q-form { border: 0; background: transparent; }
.qpop__alt { padding: 0 clamp(1.25rem, 3vw, 2.25rem) var(--sp-5); font-size: var(--fs-sm); color: var(--muted); }
.qpop__alt a { font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--sky); }
.qpop__no { text-decoration: underline; margin-left: 0.5rem; min-height: 44px; }
.qpop.is-open .qpop__box { animation: qpop-in 0.35s var(--ease); }
@keyframes qpop-in { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 620px) { .qpop { align-items: flex-end; padding: 0; } .qpop__box { width: 100%; max-height: 92svh; border-inline: 0; border-bottom: 0; } }
@media (prefers-reduced-motion: reduce) { .qpop.is-open .qpop__box { animation: none; } }
body.qpop-open { overflow: hidden; }

/* -------------------------------------------------------------- CTA BAND */
.cta-band { position: relative; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); background: var(--char); color: var(--on-dark); }
.cta-band__media { position: relative; min-height: 440px; overflow: hidden; }
.cta-band__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band__inner { padding: clamp(2.5rem, 6vw, 5rem) var(--gutter); display: flex; flex-direction: column; gap: var(--sp-5); justify-content: center; max-width: 860px; }
.cta-band h2 { color: var(--on-dark); font-size: clamp(1.4rem, 3vw, 2.6rem); }
.cta-band p { color: var(--on-dark-muted); font-size: 1.1rem; max-width: 52ch; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band__media { min-height: 0; height: min(100vw, 52svh); } .cta-band .btn { flex: 1 1 100%; } }

/* ---------------------------------------------------------------- FOOTER */
.site-footer { background: var(--char); color: var(--on-dark); border-top: 1px solid var(--dark-line); padding-block: clamp(3rem, 6vw, 5rem) var(--sp-6); }
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-5); padding-bottom: clamp(2rem, 4vw, 3rem); margin-bottom: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--dark-line); }
.footer-cta h2 { color: var(--on-dark); font-size: clamp(1.25rem, 2.6vw, 2.1rem); max-width: 22ch; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: var(--sp-7) var(--sp-6); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand-logo { height: 110px; width: auto; }
.footer-tag { margin-top: var(--sp-4); color: var(--on-dark-muted); font-size: var(--fs-sm); max-width: 38ch; }
.footer-socials { margin-top: var(--sp-4); display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.footer-socials a { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-width: 44px; min-height: 44px; border: 1.5px solid var(--dark-line); padding: 0 0.6rem; font-weight: 700; font-size: 0.85rem; }
.footer-socials a:hover { border-color: var(--sky); color: var(--sky); }
.footer-col h3 { color: var(--on-dark); font-size: 0.9rem; margin-bottom: var(--sp-3); }
.footer-quick { display: flex; flex-direction: column; font-size: var(--fs-sm); }
.footer-quick a { display: flex; align-items: center; min-height: 44px; color: var(--on-dark-muted); }
.footer-quick a:hover { color: var(--sky); }
.footer-quick--mini { flex-direction: row; flex-wrap: wrap; gap: 0 var(--sp-4); margin-top: var(--sp-4); }
.nap { display: flex; flex-direction: column; gap: var(--sp-3); font-size: var(--fs-sm); color: var(--on-dark-muted); }
.nap-row { display: flex; gap: var(--sp-3); align-items: flex-start; }
.nap-row svg { flex: none; margin-top: 3px; color: var(--sky); }
.nap-row a { color: var(--on-dark); min-height: 44px; }
.nap-row a:hover { color: var(--sky); }
.nap-sub { color: var(--on-dark-muted); font-size: 0.88rem; }
.nap-sub--wrap { overflow-wrap: anywhere; }
.nap-hours { display: flex; flex-direction: column; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3); margin-top: clamp(2rem, 4vw, 3rem); padding-top: var(--sp-5); border-top: 1px solid var(--dark-line); font-size: 0.8rem; letter-spacing: 0.03em; color: var(--on-dark-muted); }

/* ------------------------------------------- STICKY MOBILE BAR + DESKTOP NUDGE */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; display: none; grid-template-columns: 1fr 1fr 1.6fr; background: var(--char); border-top: 2px solid var(--sky); padding-bottom: env(safe-area-inset-bottom); transform: translateY(110%); transition: transform 0.35s var(--ease); }
.mobile-bar.visible { transform: translateY(0); }
.mobile-bar__btn { display: flex; align-items: center; justify-content: center; gap: 0.45rem; min-height: var(--bar-h); color: var(--on-dark); font-weight: 700; font-size: 0.86rem; letter-spacing: 0.07em; text-transform: uppercase; border-left: 1px solid var(--dark-line); }
.mobile-bar__btn:first-child { border-left: 0; }
.mobile-bar__btn svg { width: 19px; height: 19px; flex: none; }
.mobile-bar__btn--quote { background: var(--sky); color: var(--char); }
@media (max-width: 900px) { .mobile-bar { display: grid; } body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); } }
body.drawer-open .mobile-bar, body.qpop-open .mobile-bar { display: none; }
.quote-nudge { position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 940; width: 310px; background: var(--char); color: var(--on-dark); border: 2px solid var(--sky); padding: var(--sp-5); display: none; flex-direction: column; gap: var(--sp-3); transform: translateY(140%); transition: transform 0.45s var(--ease); }
.quote-nudge.visible { transform: translateY(0); }
.quote-nudge__title { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; text-transform: uppercase; line-height: 1.25; padding-right: 1.5rem; }
.quote-nudge__meta { font-size: 0.8rem; letter-spacing: 0.04em; color: var(--on-dark-muted); }
.quote-nudge__close { position: absolute; top: 0.3rem; right: 0.4rem; font-size: 1.5rem; line-height: 1; width: 40px; height: 40px; }
@media (min-width: 901px) { .quote-nudge { display: flex; } .page-quote .quote-nudge { display: none; } }

/* ----------------------------------------------------------------- REVEAL
   Progressive enhancement: content is visible by default. Only when JS has
   confirmed it is running (.js) AND armed the observer (.reveal-armed) does
   anything start hidden, so a failed script can never ship a blank section. */
.js.reveal-armed .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js.reveal-armed .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js.reveal-armed .reveal { opacity: 1; transform: none; transition: none; } }

/* ================================================================ SMALL SCREENS */
@media (max-width: 760px) {
  :root { --promo-h: 44px; --fs-label: 0.8rem; }
  .promo-bar { font-size: 0.8rem; }
  .section { padding-block: 3rem; }
  .section-head { gap: var(--sp-3); }
  .section-head > h2 { flex-basis: 100%; }
  .cta-band .btn, .quote-prompt .btn { width: 100%; }
  .quote-prompt__inner .cta-row { width: 100%; }
  .rv--mq { width: min(var(--w, 320px), 84vw); }
}
@media (max-width: 480px) {
  :root { --nav-h: 66px; }
  .brand__logo { height: 52px; }
  .site-header__inner { gap: 0.5rem; }
  .header-quote { padding: 0.7rem 0.75rem; font-size: 0.8rem; }
  .hamburger { width: 44px; padding: 10px 8px; }
  .ba__handle { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
}
@media (max-width: 360px) {
  .brand__logo { height: 46px; }
  .site-header__inner { gap: 0.35rem; }
  .header-quote { padding-inline: 0.55rem; }
  h1, .hero h1 { font-size: 1.42rem; }
}
