/* =========================================================
   Viking Pro Appliance Repair — styles
   Brand: black & white wordmark (condensed caps).
   Accent "flame" amber is the only color — swap below.
   ========================================================= */
:root {
  /* brand */
  --ink: #0f131a;          /* near-black from logo */
  --white: #ffffff;
  --flame: #ffb020;        /* accent / CTA — change here to re-theme */
  --flame-deep: #e89400;

  /* surfaces */
  --night-1: #0f131a;
  --night-2: #18202d;
  --night-3: #263248;
  --paper: #f3f1ec;
  --steel-50: #eceff3;
  --steel-200: #c9ced6;
  --steel-400: #9aa4b2;    /* muted text on dark (7:1 on --night-1) */
  --steel-600: #4b5563;    /* muted text on light (7:1 on --paper) */
  --error: #b42318;

  /* type */
  --f-display: "Bebas Neue", "Oswald", Impact, "Arial Narrow", sans-serif;
  --f-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Space Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  /* spacing (8pt) */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px; --s8: 128px;

  --radius: 4px;
  --header-h: 84px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --dur: 200ms;

  --focus: var(--flame);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.sprite { position: absolute; }

.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--s2); top: -100px; z-index: 1000;
  background: var(--flame); color: var(--ink); padding: 12px 18px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: var(--s2); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.on-light, .services, .pricing, .area, .faq, .book-form, .proof { --focus: var(--ink); }

.container { width: min(1200px, 100% - 2 * var(--s3)); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 22px;
  font-family: var(--f-display); font-size: 1.4rem; letter-spacing: .04em; line-height: 1;
  text-decoration: none; border: 2px solid transparent; border-radius: var(--radius);
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), transform 120ms var(--ease-out);
  touch-action: manipulation;
  cursor: pointer;
}
.btn:active { transform: scale(.97); }
.btn-flame { background: var(--flame); color: var(--ink); }
.btn-flame:hover { background: var(--flame-deep); }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-outline { color: var(--white); border-color: var(--white); min-height: 44px; padding: 8px 16px; font-size: 1.2rem; }
.btn-outline:hover { background: var(--white); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #2a3242; }
.btn-outline-dark { color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-block { width: 100%; }

/* ---------- Logo (rebuilt from wordmark so it scales crisply) ---------- */
.logo { display: inline-flex; flex-direction: column; gap: 3px; text-decoration: none; color: var(--white); font-family: var(--f-display); line-height: .9; }
.logo-row { display: flex; align-items: stretch; gap: 10px; }
.logo-box { background: var(--white); color: var(--ink); padding: 4px 10px 1px; font-size: 1.75rem; letter-spacing: .02em; }
.logo-pro { font-size: 1.75rem; display: flex; align-items: center; padding-top: 3px; }
.logo-sub { font-size: 1.06rem; letter-spacing: .075em; }
.logo-lg .logo-box, .logo-lg .logo-pro { font-size: 2.6rem; }
.logo-lg .logo-sub { font-size: 1.6rem; letter-spacing: .06em; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color 250ms var(--ease-out), box-shadow 250ms var(--ease-out);
}
.site-header.is-solid { background: rgba(15, 19, 26, .94); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
@supports (backdrop-filter: blur(8px)) {
  .site-header.is-solid { background: rgba(15, 19, 26, .82); backdrop-filter: blur(10px); }
}
.header-inner {
  width: min(1320px, 100% - 2 * var(--s3)); margin-inline: auto; height: var(--header-h);
  display: flex; align-items: center; gap: var(--s3); color: var(--white);
}
.badge-years {
  display: none; align-items: center; gap: 10px; padding: 6px 12px;
  border: 1.5px solid rgba(255,255,255,.8); color: var(--white);
}
.badge-num { font-family: var(--f-display); font-size: 2.3rem; line-height: .9; color: var(--flame); }
.badge-txt { font-family: var(--f-mono); font-size: .6rem; line-height: 1.25; letter-spacing: .04em; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: var(--s3); }
.site-nav ul { display: flex; gap: var(--s3); }
.site-nav ul a {
  font-family: var(--f-mono); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; padding: 10px 0; display: inline-block; position: relative;
}
.site-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--flame);
  transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out);
}
.site-nav ul a:hover::after, .site-nav ul a[aria-current="true"]::after { transform: scaleX(1); }
.header-call {
  display: none; align-items: center; gap: 8px; text-decoration: none;
  font-family: var(--f-mono); font-weight: 700; font-size: .9rem; min-height: 44px;
}
.header-call .ic { color: var(--flame); }
.menu-btn {
  margin-left: auto; width: 48px; height: 48px; display: grid; place-items: center;
  background: transparent; border: 1.5px solid rgba(255,255,255,.6); border-radius: var(--radius); color: var(--white);
}
.menu-btn .ic { width: 24px; height: 24px; }

@media (max-width: 1023px) {
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch;
    padding: var(--s3); gap: var(--s3); background: var(--night-1); border-top: 1px solid rgba(255,255,255,.1);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s linear 180ms;
  }
  .site-nav.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 0; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .site-nav ul a::after { display: none; }
  .nav-cta { align-self: flex-start; }
}
@media (min-width: 1024px) {
  .menu-btn { display: none; }
  .header-call { display: inline-flex; }
}
@media (min-width: 1180px) { .badge-years { display: inline-flex; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100dvh;
  color: var(--white); background: var(--night-1);
  padding: calc(var(--header-h) + var(--s5)) 0 calc(56px + var(--s6));
  display: flex; flex-direction: column; justify-content: center;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 55% at 70% 45%, rgba(73, 96, 140, .55), transparent 70%),
    radial-gradient(ellipse 90% 60% at 50% 100%, rgba(10, 13, 19, .9), transparent 70%),
    linear-gradient(180deg, #1a2233 0%, #141a27 55%, #0f131a 100%);
}
.hero-bg::after { /* faint blueprint texture, top right like the reference pattern */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 90% 10%, #000, transparent 70%);
          mask-image: radial-gradient(ellipse 50% 50% at 90% 10%, #000, transparent 70%);
}
.hero-flag {
  position: absolute; right: max(var(--s3), calc((100% - 1320px) / 2)); top: calc(var(--header-h) + var(--s2));
  display: none; gap: 10px;
  font-family: var(--f-mono); font-weight: 700; font-size: .85rem; line-height: 1.3; letter-spacing: .03em;
  text-transform: uppercase; color: var(--flame);
}
.flag-dot { width: 10px; height: 10px; margin-top: 4px; background: var(--flame); flex: none; }

.hero-grid {
  width: min(1320px, 100% - 2 * var(--s3)); margin-inline: auto;
  display: grid; gap: var(--s5); align-items: center;
}
.frame {
  --c: rgba(255,255,255,.9); --l: 36px; --w: 2px;
  padding: var(--s4) var(--s3);
  background:
    linear-gradient(var(--c),var(--c)) top left / var(--l) var(--w),
    linear-gradient(var(--c),var(--c)) top left / var(--w) var(--l),
    linear-gradient(var(--c),var(--c)) top right / var(--l) var(--w),
    linear-gradient(var(--c),var(--c)) top right / var(--w) var(--l),
    linear-gradient(var(--c),var(--c)) bottom left / var(--l) var(--w),
    linear-gradient(var(--c),var(--c)) bottom left / var(--w) var(--l),
    linear-gradient(var(--c),var(--c)) bottom right / var(--l) var(--w),
    linear-gradient(var(--c),var(--c)) bottom right / var(--w) var(--l);
  background-repeat: no-repeat;
}
.hero h1 {
  font-family: var(--f-display); text-transform: uppercase;
  font-size: clamp(3.1rem, 8.4vw, 5.4rem); line-height: .9; letter-spacing: .01em;
  text-wrap: balance;
}
.barcode { display: flex; align-items: stretch; height: 30px; color: currentColor; }
.barcode span { background: currentColor; display: block; }
.barcode span.gap { background: transparent; }
.barcode-hero { margin: var(--s3) 0 var(--s2); height: 30px; max-width: 420px; }
.hero-sub { max-width: 44ch; color: #d5dbe4; font-size: 1.05rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); padding-left: var(--s3); }

.hero-art { position: relative; max-width: 720px; justify-self: center; width: 100%; }
.range { width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.45)); }
.range-display { font-family: var(--f-mono); font-weight: 700; font-size: 20px; fill: var(--flame); }
.flame { transform-box: fill-box; transform-origin: 50% 100%; animation: flicker 1.6s ease-in-out infinite alternate; }
.flame.f2 { animation-duration: 1.3s; animation-delay: -.4s; }
.flame.f3 { animation-duration: 1.9s; animation-delay: -.9s; }
@keyframes flicker {
  0% { transform: scale(1, 1); opacity: .95; }
  50% { transform: scale(1.04, 1.18); opacity: 1; }
  100% { transform: scale(.97, .92); opacity: .88; }
}
.oven-glow { animation: glow 4s ease-in-out infinite alternate; }
@keyframes glow { from { opacity: .82; } to { opacity: 1; } }

.tag {
  position: absolute; display: grid; gap: 2px;
  background: #f4f4f1; color: var(--ink); padding: 10px 14px 10px 26px; min-width: 150px;
  font-family: var(--f-mono); text-transform: uppercase; box-shadow: 0 8px 18px rgba(0,0,0,.35);
  border-radius: 2px;
}
.tag::before { /* punched hole */
  content: ""; position: absolute; left: 9px; top: 50%; width: 8px; height: 8px; margin-top: -4px;
  border-radius: 50%; background: var(--night-2); box-shadow: inset 0 0 0 1.5px #9aa4b2;
}
.tag-k { font-size: .6rem; color: var(--steel-600); letter-spacing: .05em; }
.tag-v { font-family: var(--f-display); font-size: 1.25rem; line-height: 1; }
.tag-s { display: inline-flex; align-items: center; gap: 4px; font-size: .62rem; font-weight: 700; background: var(--ink); color: var(--flame); padding: 2px 6px; justify-self: start; margin-top: 4px; }
.tag-s .ic { width: 12px; height: 12px; stroke-width: 3; }
.tag-1 { left: 4%; top: 52%; transform: rotate(-6deg); }
.tag-2 { right: 1%; top: 10%; transform: rotate(5deg); }

.scroll-cue {
  position: absolute; bottom: calc(56px + var(--s3)); color: var(--white); display: none;
  width: 48px; height: 48px; place-items: center; text-decoration: none;
}
.scroll-cue .ic { width: 40px; height: 40px; stroke-width: 2.4; }
.scroll-cue-l { left: var(--s3); }
.scroll-cue-r { right: var(--s3); }

@media (min-width: 768px) {
  .hero-flag { display: flex; }
  .frame { padding: var(--s5) var(--s4); }
  .hero-ctas { padding-left: var(--s4); }
  .scroll-cue { display: grid; }
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .hero { padding-top: calc(var(--header-h) + var(--s3)); }
  .hero-art { margin-top: var(--s4); }
}
@media (max-width: 767px) {
  .tag { min-width: 0; padding: 6px 10px 6px 22px; }
  .tag-v { font-size: 1rem; }
  .tag-2 { display: none; }
}

/* Ticker */
.ticker {
  position: absolute; left: 0; right: 0; bottom: 0; height: 56px;
  display: flex; align-items: stretch; background: var(--flame); color: var(--ink);
}
.ticker-toggle {
  flex: none; width: 56px; display: grid; place-items: center;
  background: var(--ink); color: var(--flame); border: 0;
  --focus: var(--white);
}
.ticker-toggle .ic { width: 22px; height: 22px; stroke-width: 2.6; }
.ticker-viewport { overflow: hidden; flex: 1; display: flex; align-items: center; }
.ticker-track {
  display: flex; width: max-content; white-space: nowrap;
  animation: marquee 48s linear infinite;
}
.ticker.is-paused .ticker-track, .ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker-track li {
  display: flex; align-items: center; gap: var(--s3); padding-right: var(--s3);
  font-family: var(--f-mono); font-weight: 700; font-size: .95rem; text-transform: uppercase; letter-spacing: .02em;
}
.ticker-track li::after {
  content: ""; width: 22px; height: 20px; flex: none;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 7px, transparent 7px 9px);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Proof strip ---------- */
.proof { background: var(--white); border-bottom: 1px solid var(--steel-200); }
.proof-list {
  width: min(1200px, 100% - 2 * var(--s3)); margin-inline: auto;
  display: grid; grid-template-columns: repeat(2, 1fr);
}
.proof-list li {
  display: flex; align-items: center; gap: 12px; padding: var(--s3) var(--s2);
  border-right: 1px solid var(--steel-200);
}
.proof-list li:nth-child(2n) { border-right: 0; }
.proof-list strong { font-family: var(--f-display); font-weight: 400; font-size: 2.6rem; line-height: 1; }
.proof-list span { font-family: var(--f-mono); font-size: .78rem; line-height: 1.3; text-transform: uppercase; letter-spacing: .03em; color: var(--steel-600); }
.proof-rating { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; min-height: 44px; }
.proof-rating:hover span { text-decoration: underline; }
.proof-rating .star { color: var(--flame-deep); font-size: .7em; vertical-align: top; margin-left: 2px; text-decoration: none !important; }
.queue-meta a { color: #fff; text-decoration-color: var(--flame); text-underline-offset: 4px; }
.queue-meta a:hover { color: var(--flame); }
.proof-icon { display: grid; place-items: center; width: 44px; height: 44px; background: var(--ink); border-radius: 50%; color: var(--flame) !important; }
.proof-icon .ic { width: 24px; height: 24px; }
@media (min-width: 768px) {
  .proof-list { grid-template-columns: repeat(4, 1fr); }
  .proof-list li { border-right: 1px solid var(--steel-200); justify-content: center; }
  .proof-list li:nth-child(2n) { border-right: 1px solid var(--steel-200); }
  .proof-list li:last-child { border-right: 0; }
}

/* ---------- Sections ---------- */
.section { padding: var(--s7) 0; }
.section-head { max-width: 760px; margin-bottom: var(--s5); }
.eyebrow {
  display: inline-flex; gap: 8px; align-items: center; margin-bottom: var(--s2);
  font-family: var(--f-mono); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
}
.eyebrow span { color: var(--flame-deep); font-size: .7rem; }
h2 { font-family: var(--f-display); font-size: clamp(2.6rem, 5.5vw, 4.25rem); line-height: .95; text-transform: uppercase; text-wrap: balance; }
.lede { margin-top: var(--s2); font-size: 1.15rem; max-width: 60ch; color: var(--steel-600); }
.lede a { font-weight: 600; }

/* Services */
.services { background: var(--paper); }
.service-grid { display: grid; gap: 1px; background: var(--steel-200); border: 1px solid var(--steel-200); grid-template-columns: 1fr; }
.service-card {
  background: var(--paper); padding: var(--s4) var(--s3);
  display: grid; grid-template-columns: auto 1fr; column-gap: var(--s2); row-gap: 6px; align-content: start;
  transition: background-color var(--dur) var(--ease-out);
}
.service-card:hover { background: var(--white); }
.svc-ic { grid-row: span 2; width: 44px; height: 44px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-family: var(--f-display); font-size: 1.7rem; line-height: 1; padding-top: 4px; }
.service-card p { color: var(--steel-600); font-size: 1rem; line-height: 1.5; }
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }

.brand-band {
  margin-top: var(--s5); padding: var(--s4); background: var(--ink); color: var(--white);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3);
}
.brand-main { display: flex; align-items: center; gap: var(--s2); }
.brand-label { font-family: var(--f-mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--steel-400); }
.brand-name { font-family: var(--f-display); font-size: 3rem; line-height: 1; background: var(--white); color: var(--ink); padding: 4px 16px 0; }
.brand-note { max-width: 48ch; color: #d5dbe4; }
.brand-note a { color: var(--flame); font-weight: 600; }

/* Pricing */
.pricing { background: var(--steel-50); }
.price-grid { display: grid; gap: var(--s3); }
.price-ticket {
  position: relative; background: var(--white); border: 2px solid var(--ink); padding: var(--s4);
  display: flex; flex-direction: column; gap: var(--s2);
}
.price-ticket::before, .price-ticket::after { /* ticket notches */
  content: ""; position: absolute; top: 58px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--steel-50); border: 2px solid var(--ink);
}
.price-ticket::before { left: -11px; clip-path: inset(0 0 0 50%); }
.price-ticket::after { right: -11px; clip-path: inset(0 50% 0 0); }
.pt-head {
  display: flex; justify-content: space-between; padding-bottom: var(--s2); border-bottom: 2px dashed var(--steel-200);
  font-family: var(--f-mono); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
}
.pt-head span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.price-ticket h3 { font-family: var(--f-display); font-size: 2rem; line-height: 1; }
.price { font-family: var(--f-display); font-size: 5.5rem; line-height: .85; }
.price .cur { font-size: 2.6rem; vertical-align: top; margin-right: 2px; }
.pt-list { display: grid; gap: 10px; }
.pt-list li { display: flex; gap: 10px; align-items: flex-start; }
.pt-list .ic { margin-top: 3px; stroke-width: 2.6; }
.price-ticket .barcode { height: 34px; margin-top: auto; padding-top: var(--s2); }
.price-ticket .btn { margin-top: var(--s1); }
.is-urgent { background: var(--ink); color: var(--white); --focus: var(--flame); }
.is-urgent .pt-head { border-bottom-color: rgba(255,255,255,.25); color: var(--flame); }
.is-urgent .pt-list .ic { color: var(--flame); }

.guarantee { display: grid; gap: var(--s3); align-content: center; padding: var(--s2) 0; }
.g-row { display: flex; gap: var(--s2); }
.g-row > .ic { width: 48px; height: 48px; padding: 11px; border-radius: 50%; background: var(--ink); color: var(--flame); }
.g-row h3 { font-family: var(--f-display); font-size: 1.6rem; line-height: 1.05; }
.g-row p { color: var(--steel-600); font-size: 1rem; }
@media (min-width: 768px) { .price-grid { grid-template-columns: 1fr 1fr; } .guarantee { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .price-grid { grid-template-columns: 1fr 1fr .9fr; } .guarantee { grid-column: auto; grid-template-columns: 1fr; padding-left: var(--s3); } }

/* Reviews — "repair log" ticket carousel */
.reviews {
  color: var(--white); overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% 55%, rgba(73, 96, 140, .45), transparent 70%),
    linear-gradient(180deg, #121826 0%, #1b2436 60%, #2b3a55 100%);
}
.queue-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--s2); margin-bottom: var(--s5); }
.queue-head h2 { display: flex; align-items: center; gap: 14px; }
.queue-head .play { color: var(--flame); font-size: .55em; }
.queue-meta { font-family: var(--f-mono); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: #d5dbe4; }

.carousel { position: relative; }
.carousel-track {
  --card-w: min(400px, 84vw);
  display: flex; gap: var(--s3);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: var(--s2) calc(50% - var(--card-w) / 2) var(--s4);
  perspective: 1400px; scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.ticket { flex: 0 0 var(--card-w); scroll-snap-align: center; }
.t-status { font-family: var(--f-mono); font-size: .7rem; text-transform: uppercase; color: var(--steel-400); margin-bottom: 8px; }
.t-status strong { color: var(--flame); display: block; font-size: .85rem; }
.t-card {
  background: #f1f2f4; color: var(--ink); padding: var(--s2); border-radius: 2px;
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
  transform: rotateY(calc(var(--o, 0) * -14deg)) scale(calc(1 - var(--abs, 0) * .07));
  opacity: calc(1 - var(--abs, 0) * .25);
  transition: transform 450ms var(--ease-out), opacity 450ms var(--ease-out);
  transform-origin: center;
  display: flex; flex-direction: column; gap: 10px; min-height: 100%;
}
.t-top { display: flex; justify-content: space-between; align-items: center; background: var(--ink); color: var(--white); padding: 6px 10px; }
.t-logo { font-family: var(--f-display); font-size: 1.3rem; letter-spacing: .03em; line-height: 1; }
.t-logo b { font-weight: 400; color: var(--flame); }
.t-no { font-family: var(--f-mono); font-size: .75rem; }
.t-row { border-bottom: 1.5px solid #c3c8d0; padding-bottom: 8px; }
.t-k { display: block; font-family: var(--f-mono); font-size: .65rem; text-transform: uppercase; color: var(--steel-600); letter-spacing: .04em; }
.t-v { font-family: var(--f-display); font-size: 1.5rem; line-height: 1.05; }
.t-route { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-size: 2.1rem; line-height: 1; text-transform: uppercase; }
.t-route .ic { width: 28px; height: 28px; stroke-width: 2.4; }
.t-card blockquote { margin: 0; flex: 1; }
.t-card blockquote p { font-size: .98rem; line-height: 1.55; }
.t-card blockquote p::before { content: "\201C"; }
.t-card blockquote p::after { content: "\201D"; }
.t-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s2); border-top: 1.5px solid #c3c8d0; padding-top: 10px; }
.t-name { font-family: var(--f-display); font-size: 1.6rem; line-height: 1; }
.barcode-sm { height: 34px; width: 120px; }

.carousel-controls { display: flex; justify-content: center; align-items: center; gap: var(--s3); margin-top: var(--s2); }
.round-btn {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.6);
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.round-btn:hover { background: var(--white); color: var(--ink); }
.round-btn .ic { width: 24px; height: 24px; stroke-width: 2.4; }
.carousel-count { font-family: var(--f-mono); font-size: .85rem; min-width: 12ch; text-align: center; }

/* Service area */
.area { background: var(--paper); }
.area-grid { display: grid; gap: var(--s5); align-items: center; }
.area-list { margin-top: var(--s4); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px var(--s3); }
.area-list li { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-size: 1.6rem; line-height: 1.1; padding: 8px 0; border-bottom: 1px solid var(--steel-200); }
.area-list .ic { color: var(--ink); width: 20px; height: 20px; }
.area-list .area-more { font-family: var(--f-mono); font-size: .85rem; text-transform: uppercase; color: var(--steel-600); grid-column: 1 / -1; border: 0; }
.map-card { margin: 0; background: var(--night-1); color: var(--white); padding: var(--s3); border-radius: var(--radius); }
.map-card svg { width: 100%; height: auto; }
.map-card figcaption { font-family: var(--f-mono); font-size: .75rem; color: var(--steel-400); margin-top: 8px; }
.roads path { stroke: #3a4558; stroke-width: 4; stroke-linecap: round; }
.road-labels text { font-family: var(--f-mono); font-size: 11px; fill: var(--steel-400); letter-spacing: .08em; }
.pin circle { fill: var(--flame); stroke: var(--night-1); stroke-width: 3; }
.pin text { font-family: var(--f-mono); font-size: 13px; font-weight: 700; fill: #eef1f5; text-transform: uppercase; }
.pin-hub circle { fill: var(--white); }
@media (min-width: 960px) { .area-grid { grid-template-columns: 5fr 6fr; } }

/* Booking */
.book { background: var(--night-1); color: var(--white); }
.book .lede { color: #d5dbe4; }
.book .eyebrow span { color: var(--flame); }
.book-grid { display: grid; gap: var(--s5); align-items: start; }
.contact-list { margin-top: var(--s4); display: grid; gap: var(--s2); }
.contact-list li { display: flex; align-items: center; gap: 14px; font-size: 1.05rem; overflow-wrap: anywhere; }
.contact-list .ic { color: var(--flame); width: 24px; height: 24px; }
.contact-list a { text-decoration: none; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.contact-list a:hover { text-decoration: underline; }

#book-form { scroll-margin-top: 16px; }
.book-form { background: var(--white); color: var(--ink); padding: var(--s4) var(--s3); border-radius: var(--radius); display: grid; gap: var(--s3); }
.book-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: var(--s2); min-width: 0; }
.book-form legend { font-family: var(--f-display); font-size: 1.7rem; line-height: 1; margin-bottom: var(--s2); padding: 0; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; gap: var(--s2); }
.field label { font-weight: 600; font-size: .98rem; }
.req { color: var(--error); }
.opt { font-weight: 400; color: var(--steel-600); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; font-size: 1rem;
  background: var(--white); border: 2px solid #8b94a3; border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--flame); }
.field [aria-invalid="true"] { border-color: var(--error); }
.help { font-size: .9rem; color: var(--steel-600); }
.err { font-size: .92rem; color: var(--error); font-weight: 600; }
.err:empty { display: none; }
.urgency { gap: 10px !important; }
.choice {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-height: 52px;
  border: 2px solid var(--steel-200); border-radius: var(--radius); cursor: pointer;
  transition: border-color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}
.choice:hover { border-color: #8b94a3; }
.choice:has(input:checked) { border-color: var(--ink); background: #fff7e6; }
.choice input { width: 20px; height: 20px; accent-color: var(--ink); flex: none; }
.form-note { font-size: .92rem; color: var(--steel-600); }
.form-note a { font-weight: 600; color: var(--ink); }
.form-status { font-weight: 600; padding: 12px 14px; border-radius: var(--radius); border: 2px solid currentColor; }
.form-status:empty { display: none; }
.form-status.is-ok { color: #106b3a; background: #ecfdf3; }
.form-status.is-bad { color: var(--error); background: #fef3f2; }
.form-status a { color: inherit; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
[data-submit][aria-busy="true"] { opacity: .75; cursor: progress; }
[data-submit][aria-busy="true"] .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.book-form.is-sent fieldset, .book-form.is-sent [data-submit], .book-form.is-sent .form-note { display: none; }
.error-summary { border: 2px solid var(--error); background: #fef3f2; padding: var(--s2); border-radius: var(--radius); }
.error-summary h3 { font-family: var(--f-body); font-weight: 700; font-size: 1rem; color: var(--error); margin-bottom: 6px; }
.error-summary ul { list-style: disc; padding-left: 20px; }
.error-summary a { color: var(--error); font-weight: 600; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } .book-form { padding: var(--s5) var(--s4); } }
@media (min-width: 1024px) { .book-grid { grid-template-columns: 5fr 7fr; } .book-intro { position: sticky; top: calc(var(--header-h) + var(--s4)); } }

/* FAQ */
.faq { background: var(--paper); }
.faq-grid { display: grid; gap: var(--s4); }
.faq-list { border-top: 2px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--steel-200); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s2);
  padding: var(--s3) 0; min-height: 56px;
  font-family: var(--f-display); font-size: 1.65rem; line-height: 1.1;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background:
    linear-gradient(var(--white), var(--white)) center / 12px 2px no-repeat,
    linear-gradient(var(--white), var(--white)) center / 2px 12px no-repeat,
    var(--ink);
  transition: transform 250ms var(--ease-out);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: #2a3242; }
.faq-list details p { padding: 0 var(--s5) var(--s3) 0; color: var(--steel-600); max-width: 68ch; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: 4fr 7fr; } }

/* Footer */
.site-footer { background: #090b0f; color: #d5dbe4; padding: var(--s6) 0 var(--s4); }
.footer-grid { display: grid; gap: var(--s4); }
.footer-tag { margin-top: var(--s2); max-width: 36ch; }
.footer-h { font-family: var(--f-mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--flame); margin-bottom: var(--s2); }
.footer-list { display: grid; gap: 6px; overflow-wrap: anywhere; }
.footer-list a { text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.footer-list a:hover { text-decoration: underline; color: var(--white); }
.footer-legal { margin-top: var(--s5); padding-top: var(--s3); border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: 8px; font-size: .85rem; color: var(--steel-400); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

/* Mobile call bar */
.call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px var(--s2) calc(10px + env(safe-area-inset-bottom));
  background: rgba(15,19,26,.96); border-top: 1px solid rgba(255,255,255,.12);
  transform: translateY(110%); transition: transform 250ms var(--ease-out);
}
.call-bar.is-visible { transform: none; }
.call-bar .btn { font-size: 1.25rem; padding-inline: 12px; white-space: nowrap; }
.call-bar { grid-template-columns: 3fr 2fr; }
/* Netlify adds a "Powered by Netlify" badge (about 200 x 64 px) fixed to the bottom-right
   corner on the free plan. Keep the buttons above it and use the strip beside it for hours. */
.call-bar { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
.call-bar-note {
  position: absolute; left: var(--s2); bottom: calc(22px + env(safe-area-inset-bottom));
  margin: 0; font-family: var(--f-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--steel-400);
}
@media (max-width: 767px) { body { padding-bottom: 140px; } }
@media (min-width: 768px) { .call-bar { display: none; } }

/* ---------- Linked service cards (home + area pages) ---------- */
.service-card.has-link { position: relative; }
.service-card.has-link h3 a { text-decoration: none; }
.service-card.has-link h3 a::after { content: ""; position: absolute; inset: 0; }
.service-card.has-link h3 a::before { content: "→"; float: right; margin-left: 8px; color: var(--flame-deep); transition: transform var(--dur) var(--ease-out); }
.service-card.has-link:hover h3 a::before { transform: translateX(4px); }
.service-card.has-link:focus-within { outline: 3px solid var(--ink); outline-offset: -3px; }
.service-card.has-link h3 a:focus-visible { outline: none; }
.area-list a { text-decoration: none; }
.area-list a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- Sub-page hero ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; color: var(--white); background: var(--night-1);
  padding: calc(var(--header-h) + var(--s4)) 0 var(--s6);
}
.page-hero-grid { width: min(1200px, 100% - 2 * var(--s3)); margin-inline: auto; display: grid; gap: var(--s5); align-items: center; }
.page-hero h1 { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(2.8rem, 7.4vw, 5rem); line-height: .92; text-wrap: balance; }
.page-hero .eyebrow-light { color: var(--white); margin-bottom: var(--s2); }
.page-hero .eyebrow-light span { color: var(--flame); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 var(--s2); padding: 0; list-style: none; font-family: var(--f-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--steel-400); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #5b6575; }
.breadcrumbs a { color: #d5dbe4; text-decoration: none; display: inline-block; padding: 6px 0; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--flame); padding: 6px 0; }
.fact-ticket {
  background: #f1f2f4; color: var(--ink); padding: var(--s2); border-radius: 2px; box-shadow: 0 20px 40px rgba(0,0,0,.35);
  max-width: 380px; width: 100%; justify-self: center; transform: rotate(2deg);
}
.ft-top { display: flex; justify-content: space-between; align-items: center; background: var(--ink); color: var(--white); padding: 6px 10px; margin-bottom: 6px; }
.fact-ticket dl { margin: 0; }
.fact-ticket dl div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s2); padding: 10px 0; border-bottom: 1.5px solid #c3c8d0; }
.fact-ticket dt { font-family: var(--f-mono); font-size: .72rem; text-transform: uppercase; color: var(--steel-600); }
.fact-ticket dd { margin: 0; font-family: var(--f-display); font-size: 1.9rem; line-height: 1; }
.ft-foot { font-family: var(--f-mono); font-size: .72rem; text-transform: uppercase; margin: 10px 0; color: var(--steel-600); }
@media (min-width: 1024px) { .page-hero-grid { grid-template-columns: 7fr 4fr; } .page-hero { padding-top: calc(var(--header-h) + var(--s5)); } }

/* ---------- Sub-page content ---------- */
.intro-sec { background: var(--paper); }
.intro-grid { display: grid; gap: var(--s5); align-items: start; }
.prose h2 { margin-bottom: var(--s3); }
.prose p { font-size: 1.12rem; line-height: 1.7; max-width: 64ch; margin-bottom: var(--s2); color: #2a3242; }
.tips-box { background: var(--ink); color: var(--white); padding: var(--s4) var(--s3); border-left: 6px solid var(--flame); --focus: var(--flame); }
.tips-box h3 { font-family: var(--f-display); font-size: 1.8rem; line-height: 1; margin-bottom: var(--s2); }
.tips-box ul { display: grid; gap: var(--s2); }
.tips-box li { display: flex; gap: 12px; align-items: flex-start; color: #d5dbe4; }
.tips-box li .ic { color: var(--flame); margin-top: 3px; }
.tips-box strong { color: var(--white); }
@media (min-width: 1024px) { .intro-grid { grid-template-columns: 7fr 4fr; } .tips-box { position: sticky; top: calc(var(--header-h) + var(--s3)); } }
.problem-grid { display: grid; gap: 1px; background: var(--steel-200); border: 1px solid var(--steel-200); }
.problem-card { background: var(--paper); padding: var(--s4) var(--s3); }
.problem-card h3 { font-family: var(--f-display); font-size: 1.7rem; line-height: 1; margin-bottom: 8px; }
.problem-card p { color: var(--steel-600); }
@media (min-width: 640px) { .problem-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .problem-grid { grid-template-columns: repeat(3, 1fr); } }
.related { background: var(--steel-50); }
.related-h { margin-bottom: var(--s4); }
.related-sub { color: var(--flame-deep); }
.related-grid { display: grid; gap: var(--s4); }
.link-list { display: grid; gap: 10px; }
.link-list a {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s2); min-height: 56px; padding: 10px 18px;
  border: 2px solid var(--ink); background: var(--white); text-decoration: none; font-family: var(--f-display); font-size: 1.45rem; letter-spacing: .02em;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.link-list a:hover { background: var(--ink); color: var(--white); }
@media (min-width: 768px) { .related-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1.2fr 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .ticker-track { animation: none; }
  .ticker-viewport { overflow-x: auto; }
  .reveal { opacity: 1; transform: none; }
  .carousel-track { scroll-behavior: auto; }
}
