/* Public site look: direction A, "cinematic dark" (docs/superpowers/specs/2026-10-30-site-redesign-design.md).
   Loaded after styles.css on the public pages only. Admin doesn't load it, so nothing here changes admin. */
:root {
  --bg: #0b0b0b;
  --bg-deep: #131313;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-hover: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.28);
  --text: rgba(255, 255, 255, 0.72);
  --muted: rgba(255, 255, 255, 0.5);
  --footer-bg: #070707;
  --gutter: clamp(16px, 4vw, 40px);
  --topbar-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  letter-spacing: 0.2px;
}
html { scroll-behavior: smooth; }
html:has(dialog[open]) { overflow: hidden; }
h1, h2, h3 { letter-spacing: -0.01em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
body:not(.home) > main { padding-left: var(--gutter); padding-right: var(--gutter); }
.eyebrow { color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; margin: 0 0 16px; }

/* buttons (the base .btn lives in styles.css and is shared with admin) */
.btn { gap: 10px; }
.btn.primary { font-weight: 700; letter-spacing: .03em; }
.btn.ghost { background: transparent; color: var(--ink); border-color: rgba(255, 255, 255, .35); }
.btn.ghost:hover { border-color: var(--ink); background: rgba(255, 255, 255, .06); }
.btn-xl { padding: 16px 30px; font-size: 15px; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.link-more { color: var(--text); font-size: 14px; text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.link-more:hover { color: var(--ink); border-color: var(--blue); }

/* ---------- header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50; height: var(--topbar-h); display: flex; align-items: center; gap: 32px;
  padding: 0 max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  background: rgba(11, 11, 11, .84); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line); transition: background .35s, border-color .35s, height .35s var(--ease);
}
.topbar.scrolled { --topbar-h: 60px; }
/* Home page: the header sits over the hero, transparent until the page scrolls */
.home .topbar { position: fixed; left: 0; right: 0; }
.home .topbar:not(.scrolled):not(.menu-open) { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.topbar .logo { display: block; flex: none; }
.topbar .logo img { display: block; height: 34px; width: auto; }
.topbar nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.topbar nav a:not(.btn) { position: relative; padding: 6px 0; color: rgba(255, 255, 255, .82); font-size: 14px; font-weight: 500; text-decoration: none; }
.topbar nav a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.topbar nav a:not(.btn):hover, .topbar nav a.active { color: var(--ink); }
.topbar nav a:not(.btn):hover::after, .topbar nav a.active::after { transform: scaleX(1); }
.topbar-right { display: flex; align-items: center; gap: 22px; }
@media (max-width: 960px) {
  .topbar { gap: 16px; }
  .topbar-right { margin-left: auto; gap: 14px; }
  .topbar .menu-toggle { border-color: var(--line-strong); }
  .topbar.menu-open .menu-toggle span { background: transparent; }
  .topbar.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
  .topbar.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
  .topbar nav {
    position: fixed; left: 0; right: 0; top: var(--topbar-h); margin: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 28px; background: rgba(11, 11, 11, .97); border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .topbar.menu-open nav { opacity: 1; visibility: visible; transform: none; }
  .topbar nav a:not(.btn) { padding: 16px 0; font-size: 20px; border-bottom: 1px solid var(--line); }
  .topbar nav a:not(.btn)::after { display: none; }
  .topbar nav a.active { color: var(--blue); }
}
@media (max-width: 560px) {
  .topbar .logo img { height: 30px; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--footer-bg); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; padding: 36px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand { align-self: center; }
.footer-brand img { display: block; height: 36px; width: auto; }
.footer-brand p { max-width: 300px; margin: 0 0 22px; }
.site-footer h4 { color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; margin: 6px 0 14px; }
.site-footer p { margin: 0 0 10px; line-height: 1.8; }
.site-footer a:not(.btn) { color: var(--text); text-decoration: none; }
.site-footer a:not(.btn):hover { color: var(--blue); }
.site-footer .social { margin-top: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; line-height: 1.5; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; padding: 18px 0 22px; border-top: 1px solid var(--line); font-size: 13px; }
@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .site-footer { padding-top: 32px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-base { margin-top: 24px; }
}

/* ---------- home page ---------- */
.home main { max-width: none; padding: 0; }
.section { padding: clamp(40px, 5.5vw, 75px) 0; }
.section-tight { padding: 0 0 clamp(32px, 4vw, 55px); }
.section-head { max-width: 720px; margin: 0 0 32px; }
.section-head h2 { color: var(--ink); font-size: clamp(32px, 4.4vw, 56px); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; margin: 0 0 18px; }
.section-head .section-lead { margin: 0; max-width: 600px; color: var(--text); font-size: 17px; }

/* hero */
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: max(660px, 100svh); background: #000; }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; animation: hero-in 1.8s var(--ease) both; }
/* Two photos that take turns (home.js moves the "on" class); the rider sits on the left, the text on the right */
.hero-media img {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 35% 60%;
  filter: grayscale(1) contrast(1.08) brightness(.8); transform: translate3d(0, var(--drift, 0px), 0) scale(1.04);
  opacity: 0; transition: opacity 1.8s ease;
}
.hero-media img.on { opacity: 1; }
.hero-media img + img { object-position: 30% 42%; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(270deg, rgba(11, 11, 11, .96) 0%, rgba(11, 11, 11, .8) 36%, rgba(11, 11, 11, .2) 66%, rgba(11, 11, 11, .05) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(11, 11, 11, 0) 36%),
    linear-gradient(180deg, rgba(11, 11, 11, .65) 0%, rgba(11, 11, 11, 0) 20%);
}
.hero-inner { width: 100%; padding-top: calc(var(--topbar-h) + 56px); padding-bottom: 40px; }
.hero-copy { max-width: 600px; margin-left: auto; zoom: .9; }
.hero h1 { color: var(--ink); font-size: clamp(46px, 5.6vw, 84px); font-weight: 800; line-height: .93; letter-spacing: -.025em; text-transform: uppercase; margin: 0 0 26px; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero-lead { max-width: 500px; margin: 0 0 34px; color: rgba(255, 255, 255, .76); font-size: clamp(16px, 1.25vw, 18px); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 80px 0 0; padding: 24px 0 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.proof dt { color: var(--ink); font-size: clamp(26px, 2.4vw, 36px); font-weight: 500; line-height: 1.1; font-variant-numeric: tabular-nums; }
.proof dd { margin: 6px 0 0; color: rgba(255, 255, 255, .55); font-size: 13px; line-height: 1.5; }
.hero-copy > *, .proof > div { animation: rise 1s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 200ms); }
.scroll-cue { position: absolute; left: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); bottom: 150px; display: flex; flex-direction: column; align-items: center; gap: 14px; color: rgba(255, 255, 255, .5); font-size: 10px; letter-spacing: .3em; text-decoration: none; text-transform: uppercase; }
.scroll-cue span { writing-mode: vertical-rl; }
.scroll-cue::after { content: ''; display: block; width: 1px; height: 56px; background: linear-gradient(var(--blue), transparent); animation: cue 2.2s var(--ease) infinite; }
.scroll-cue:hover { color: var(--ink); }
@keyframes hero-in { from { opacity: 0; transform: scale(1.08); } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* how a fit works: the photo stays pinned while the steps scroll past */
.process { border-top: 1px solid var(--line); }
.process-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.process-media { position: sticky; top: calc(var(--topbar-h) + 32px); aspect-ratio: 4 / 5; max-height: calc(100vh - var(--topbar-h) - 64px); width: 100%; overflow: hidden; background: #111; }
.process-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(.9); opacity: 0; transform: scale(1.06); transition: opacity .9s var(--ease), transform 1.4s var(--ease); }
.process-media img.on { opacity: 1; transform: none; }
.process-media img:first-child { opacity: 1; transform: none; }
.motion .process-media img:first-child:not(.on) { opacity: 0; transform: scale(1.06); }
.process-count { position: absolute; left: 22px; bottom: 20px; z-index: 1; color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .2em; font-variant-numeric: tabular-nums; }
.process-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; height: 3px; background: rgba(255, 255, 255, .15); }
.process-bar i { display: block; height: 100%; width: calc((var(--step, 0) + 1) * 25%); background: var(--blue); transition: width .6s var(--ease); }
.steps-list { list-style: none; margin: 0; padding: 0; }
.step { padding: 7vh 0; border-top: 1px solid var(--line); transition: opacity .5s var(--ease); }
.step:first-child { padding-top: 4vh; border-top: 0; }
.step:last-child { padding-bottom: 11vh; }
.motion .step:not(.active) { opacity: .32; }
.step-num { color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: .2em; }
.step h3 { color: var(--ink); font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; margin: 12px 0 14px; }
.step p { max-width: 460px; margin: 0; font-size: 17px; }
.step-img { display: none; }

/* services */
.services { border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg) 0%, #0f0f0f 100%); }
.svc-group + .svc-group { margin-top: 64px; }
.svc-cat { display: flex; align-items: center; gap: 18px; margin: 0 0 20px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.svc-cat::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.svc { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 32px 28px 26px; background: var(--panel); border: 1px solid var(--line); transition: background .3s, border-color .3s; }
.svc::before { content: ''; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.svc:hover { background: var(--panel-hover); border-color: var(--line-strong); }
.svc:hover::before { transform: scaleX(1); }
.svc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.svc h4 { margin: 0; color: var(--ink); font-size: 22px; font-weight: 600; line-height: 1.25; }
.svc-dur { flex: none; color: var(--muted); font-size: 13px; white-space: nowrap; }
.svc p { flex: 1; margin: 0; font-size: 15px; line-height: 1.65; }
.svc-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--line); }
.svc-price { color: var(--ink); font-size: 26px; font-weight: 500; line-height: 1.2; }
.svc-price.note { color: var(--text); font-size: 16px; }
.svc-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.svc-actions .btn { padding: 10px 22px; }

/* team */
.team { border-top: 1px solid var(--line); }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.member { display: grid; grid-template-columns: minmax(140px, 200px) 1fr; gap: 28px; align-items: center; padding: 20px; background: var(--panel); border: 1px solid var(--line); }
.member-photo { aspect-ratio: 4 / 5; overflow: hidden; background: #151515; }
.member-photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform 1.2s var(--ease); }
.member:hover .member-photo img { transform: scale(1.04); }
.member h3 { color: var(--ink); font-size: 24px; font-weight: 600; margin: 0 0 4px; }
.member-role { color: var(--blue); font-size: 13px; font-weight: 600; letter-spacing: .04em; margin: 0 0 16px; }
.member-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; line-height: 1.5; }
.member-facts li { position: relative; padding-left: 20px; }
.member-facts li::before { content: ''; position: absolute; left: 0; top: 10px; width: 10px; height: 2px; background: var(--blue); }
.team-more { margin: 32px 0 0; }

/* also on offer */
.extras-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.extra { padding: 40px 32px 40px 0; }
.extra + .extra { padding-left: 32px; border-left: 1px solid var(--line); }
.extra-mark { display: block; width: 28px; height: 2px; margin-bottom: 22px; background: var(--blue); }
.extra h3 { color: var(--ink); font-size: 20px; font-weight: 600; margin: 0 0 10px; }
.extra p { margin: 0; font-size: 15px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.faq-grid .section-head { margin: 0; position: sticky; top: calc(var(--topbar-h) + 32px); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 24px 44px 24px 0; color: var(--ink); font-size: 18px; font-weight: 500; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ''; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%); transition: transform .35s var(--ease);
  background: linear-gradient(var(--blue), var(--blue)) center / 14px 2px no-repeat, linear-gradient(var(--blue), var(--blue)) center / 2px 14px no-repeat;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list summary:hover { color: var(--blue); }
.faq-a { padding: 0 44px 26px 0; }
.faq-a p { margin: 0 0 12px; }
.faq-a p:last-child { margin: 0; }
.faq-a ul { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 6px; }
.faq-a li { position: relative; padding-left: 20px; line-height: 1.6; }
.faq-a li::before { content: ''; position: absolute; left: 0; top: 11px; width: 10px; height: 2px; background: var(--blue); }
@supports (interpolate-size: allow-keywords) {
  .faq-list { interpolate-size: allow-keywords; }
  .faq-list details::details-content { height: 0; overflow: clip; transition: height .4s var(--ease), content-visibility .4s allow-discrete; }
  .faq-list details[open]::details-content { height: auto; }
}

/* final call to action */
.cta-band {
  position: relative; padding: clamp(50px, 6.5vw, 90px) 0; text-align: center; border-top: 1px solid var(--line);
  background: radial-gradient(70% 90% at 50% 110%, rgba(0, 173, 238, .18), transparent 70%), linear-gradient(rgba(11, 11, 11, .86), rgba(11, 11, 11, .94)), url('/img/step-transfer.jpg') center / cover;
}
.cta-band h2 { color: var(--ink); font-size: clamp(38px, 6.4vw, 88px); font-weight: 800; line-height: .96; letter-spacing: -.025em; text-transform: uppercase; margin: 0 0 20px; }
.cta-band h2 em { font-style: normal; color: var(--blue); }
.cta-band p { max-width: 520px; margin: 0 auto 34px; font-size: 17px; }

/* phone: booking bar fixed to the bottom of the screen */
.book-bar { display: none; }

@media (max-width: 900px) {
  .team-grid { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .hero { display: block; min-height: 0; padding-bottom: 8px; background: var(--bg); }
  .hero-media { position: relative; inset: auto; height: 60svh; min-height: 360px; max-height: 560px; }
  .hero-media img { object-position: 28% 62%; }
  .hero-media img + img { object-position: 38% 40%; }
  .hero-copy { max-width: none; margin-left: 0; zoom: 1; }
  .hero-shade { inset: 0 0 auto 0; height: 60svh; min-height: 360px; max-height: 560px;
    background: linear-gradient(0deg, var(--bg) 0%, rgba(11, 11, 11, .55) 30%, rgba(11, 11, 11, 0) 60%), linear-gradient(180deg, rgba(11, 11, 11, .6) 0%, rgba(11, 11, 11, 0) 25%); }
  .hero-inner { position: relative; margin-top: -120px; padding-top: 0; padding-bottom: 24px; }
  .hero-lead { margin-bottom: 28px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; margin-top: 44px; }
  .scroll-cue { display: none; }
  .section-head { margin-bottom: 24px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-media { display: none; }
  /* phones: the steps are a sideways swipe, with the next card peeking in from the right */
  .steps-list {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scroll-padding: 0 var(--gutter);
  }
  .steps-list::-webkit-scrollbar { display: none; }
  .step, .step:first-child, .step:last-child { flex: 0 0 84%; scroll-snap-align: start; padding: 0; border-top: 0; }
  .motion .step:not(.active) { opacity: 1; }
  .step h3 { font-size: 24px; margin: 8px 0 10px; }
  .step p { font-size: 15px; }
  .step-img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(1) contrast(1.05); margin-bottom: 18px; }
  .extras-grid { grid-template-columns: 1fr; }
  .extra, .extra + .extra { padding: 28px 0; border-left: 0; }
  .extra + .extra { border-top: 1px solid var(--line); }
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .faq-grid .section-head { position: static; }
  .book-bar {
    display: block; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
    transform: translateY(160%); transition: transform .45s var(--ease);
  }
  .book-bar.show { transform: none; }
  .book-bar .btn { width: 100%; justify-content: space-between; padding: 17px 20px; box-shadow: 0 14px 34px rgba(0, 0, 0, .55); }
  .home .site-footer { padding-bottom: 76px; }
}
@media (max-width: 520px) {
  .member { grid-template-columns: 108px 1fr; gap: 18px; padding: 14px; align-items: start; }
  .member h3 { font-size: 20px; }
  .member-role { margin-bottom: 12px; }
  .member-facts { font-size: 14px; }
  .svc { padding: 26px 20px 20px; }
  .svc-actions { width: 100%; justify-content: space-between; }
}

/* ---------- scroll reveal (home.js adds .motion to <html> unless reduced motion is on) ---------- */
.motion .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.motion .reveal.in { opacity: 1; transform: none; }

/* ---------- booking window ---------- */
dialog.booking {
  width: min(760px, calc(100vw - 32px)); max-width: none; max-height: min(880px, calc(100dvh - 48px)); padding: 0; overflow: hidden;
  border: 1px solid var(--line); border-radius: 0; background: var(--bg-deep); color: var(--text); box-shadow: 0 40px 120px rgba(0, 0, 0, .65);
}
dialog.booking[open] { display: flex; flex-direction: column; animation: dlg-in .45s var(--ease); }
dialog.booking::backdrop { background: rgba(0, 0, 0, .74); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade-in .3s ease; }
@keyframes dlg-in { from { opacity: 0; transform: translateY(16px) scale(.985); } }
@keyframes fade-in { from { opacity: 0; } }
.dlg-head { flex: none; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 26px 32px 20px; border-bottom: 1px solid var(--line); }
.dlg-sub { margin: 0 0 6px; color: var(--muted); font-size: 13px; }
.dlg-head h2 { margin: 0; color: var(--ink); font-size: 26px; font-weight: 700; line-height: 1.2; }
.dlg-head .close { flex: none; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); font-size: 24px; color: var(--text); }
.dlg-head .close:hover { border-color: var(--ink); color: var(--ink); }
.steps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 0; padding: 0; counter-reset: step; font-size: 13px; }
.steps li { counter-increment: step; display: flex; align-items: center; gap: 8px; color: var(--muted); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid var(--line-strong); font-size: 11px; font-weight: 700; }
.steps li.on { color: var(--ink); }
.steps li.on::before { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.dlg-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 26px 32px 0; }
.dlg-body > :last-child:not(.actions) { margin-bottom: 28px; }
.b-section { margin-bottom: 28px; }
.b-label { display: block; margin: 0 0 12px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
dialog.booking .actions {
  position: sticky; bottom: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin: 8px -32px 0; padding: 16px 32px; background: var(--bg-deep); border-top: 1px solid var(--line);
}
dialog.booking .actions .btn { padding: 13px 26px; }
.slot-fitter { color: var(--muted); font-size: 14px; }
.slot-fitter strong { color: var(--ink); font-weight: 600; }

/* fitter choice */
.fitters { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.fitter { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border: 1px solid var(--line-strong); cursor: pointer; transition: border-color .2s, background .2s; }
.fitter input { position: absolute; opacity: 0; pointer-events: none; }
.fitter:hover { border-color: var(--ink); }
.fitter:has(input:checked) { border-color: var(--blue); background: rgba(0, 173, 238, .1); }
.fitter:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.fitter-av { position: relative; flex: none; display: grid; place-items: center; width: 44px; height: 44px; overflow: hidden; background: #222; color: var(--blue); font-size: 14px; font-weight: 700; }
.fitter-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.fitter-av svg { width: 22px; height: 22px; }
.fitter-name { color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.3; }
.fitter-name small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }

/* month calendar */
.days-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.days-head .b-label { margin: 0; }
.days-nav { display: flex; align-items: center; gap: 6px; }
.month-name { min-width: 128px; text-align: center; color: var(--ink); font-size: 14px; font-weight: 600; white-space: nowrap; }
.month-name::first-letter { text-transform: uppercase; }
.icon-btn { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--line-strong); background: none; color: var(--ink); font-size: 18px; }
.icon-btn:hover:not(:disabled) { border-color: var(--ink); }
.icon-btn:disabled { opacity: .3; cursor: default; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.days .dow { padding-bottom: 2px; color: var(--muted); font-size: 11px; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.day { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 58px; padding: 6px 2px; border: 1px solid var(--line-strong); background: none; color: var(--ink); transition: border-color .2s, background .2s, color .2s; }
.day:hover:not(:disabled) { border-color: var(--ink); }
.day:disabled { border-color: var(--line); opacity: .35; cursor: default; }
.day:disabled .d-cnt { color: var(--muted); }
.day .d-num { font-size: 18px; font-weight: 600; line-height: 1.2; }
.day .d-mon { margin-bottom: -2px; color: var(--muted); font-size: 10px; letter-spacing: .06em; line-height: 1; text-transform: uppercase; }
.day .d-cnt { color: var(--blue); font-size: 11px; font-weight: 600; white-space: nowrap; }
.day.other:not(:disabled) { border-style: dashed; }
.day.other:not([aria-pressed="true"]) .d-num { color: var(--muted); font-weight: 500; }
.day.today { border-color: var(--ink); background: rgba(255, 255, 255, .1); }
.day.today:disabled { opacity: 1; }
.day.today .d-mon { color: var(--ink); font-weight: 700; }
.day[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.day[aria-pressed="true"] span { color: var(--on-blue); }
.day.sk { border-color: var(--line); background: linear-gradient(90deg, rgba(255, 255, 255, .03) 0%, rgba(255, 255, 255, .08) 50%, rgba(255, 255, 255, .03) 100%) 0 0 / 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* times */
.times-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 12px; }
.times-head .b-label { margin: 0; }
.times-head span:last-child { color: var(--text); font-size: 14px; }
dialog.booking .times { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
dialog.booking .times button { padding: 12px 0; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); font-size: 15px; font-variant-numeric: tabular-nums; transition: border-color .2s, background .2s; }
dialog.booking .times button:hover { border-color: var(--blue); }
dialog.booking .times button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--on-blue); font-weight: 700; }

/* details form */
.summary { display: grid; gap: 6px; margin-bottom: 24px; padding: 16px 18px; border: 1px solid var(--line); border-left: 2px solid var(--blue); background: var(--panel); font-size: 14px; }
.summary div { display: flex; justify-content: space-between; gap: 12px; }
.summary span { color: var(--muted); }
.summary strong { color: var(--ink); font-weight: 500; text-align: right; }
dialog.booking .field label { font-size: 13px; color: var(--text); }
dialog.booking .field input, dialog.booking .field select, dialog.booking .field textarea { padding: 12px 14px; background: #0d0d0d; font-size: 16px; transition: border-color .2s; }
dialog.booking .field textarea { min-height: 84px; }
dialog.booking .field-count { align-self: flex-end; margin-top: -2px; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
dialog.booking .check { color: var(--text); font-size: 13px; line-height: 1.6; }

/* done */
.done { padding: 24px 0 8px; text-align: center; }
.done h3 { margin: 0 0 12px; color: var(--ink); font-size: 26px; font-weight: 700; }
.done p { margin: 0 0 14px; }
.done strong { color: var(--ink); font-weight: 600; }
.done .btn { margin-top: 10px; }
.tick { display: block; width: 64px; height: 64px; margin: 0 auto 20px; fill: none; stroke: var(--blue); stroke-width: 2; }
.tick circle { stroke-dasharray: 152; stroke-dashoffset: 152; animation: draw .7s var(--ease) forwards; }
.tick path { stroke-width: 3; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .45s .55s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (max-width: 640px) {
  dialog.booking { width: 100%; height: 100%; max-height: none; margin: 0; inset: 0; border: 0; }
  dialog.booking[open] { animation: sheet-up .45s var(--ease); }
  .dlg-head { padding: 14px 16px 14px; }
  .dlg-head h2 { font-size: 22px; }
  .steps { gap: 6px 16px; margin-top: 12px; font-size: 12px; }
  .dlg-body { padding: 20px 16px 0; }
  dialog.booking .actions { margin: 8px -16px 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  dialog.booking .actions .btn { flex: 1 1 auto; }
  dialog.booking .actions:has(.slot-fitter:empty) .slot-fitter { display: none; }
  .fitters { grid-template-columns: 1fr 1fr; }
  .fitter:first-child { grid-column: 1 / -1; }
  .days { gap: 4px; }
  .month-name { min-width: 104px; font-size: 13px; }
  .day { min-height: 50px; }
  .day .d-num { font-size: 16px; }
  .day .d-cnt { font-size: 10px; }
}
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } }

/* ---------- maintenance page (public/maintenance.html) ---------- */
.maintenance main { max-width: none; padding: 0; }
.maintenance .hero-inner { padding-top: 120px; }
.m-logo { position: absolute; top: 28px; left: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); height: 36px; width: auto; }
.maintenance .hero-lead + .hero-lead { margin-top: -18px; color: var(--muted); }
.maintenance .proof { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.maintenance .proof dt { font-size: clamp(18px, 1.6vw, 22px); }
.maintenance .proof a { color: inherit; }
.maintenance .proof a:hover { color: var(--blue); }
@media (max-width: 800px) {
  .maintenance .hero-inner { padding-top: 0; }
  .m-logo { top: 20px; height: 30px; }
  .maintenance .proof { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------- inner pages (about, service, contact, legal, booking, 404) ----------
   Each starts with a full-width .page-head (optionally over a photo); the content below sits in .page-body. */
body:not(.home) > main { max-width: none; padding: 0 0 clamp(36px, 4.5vw, 65px); }
.page-body { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.page-narrow { max-width: calc(760px + 2 * var(--gutter)); }

.page-head { position: relative; isolation: isolate; overflow: hidden; margin-bottom: clamp(24px, 3.5vw, 48px); border-bottom: 1px solid var(--line);
  background: radial-gradient(55% 130% at 88% -10%, rgba(0, 173, 238, .13), transparent 70%), var(--bg); }
.page-head-media { position: absolute; inset: 0; z-index: -2; }
.page-head-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; filter: grayscale(1) contrast(1.05) brightness(.7); animation: hero-in 1.6s var(--ease) both; }
.page-head:has(.page-head-media)::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(11, 11, 11, .95) 0%, rgba(11, 11, 11, .8) 40%, rgba(11, 11, 11, .35) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(11, 11, 11, 0) 45%);
}
.page-head-inner { max-width: var(--max); margin: 0 auto; padding: clamp(36px, 5vw, 75px) var(--gutter) clamp(20px, 2.5vw, 36px); }
.page-head:has(.page-head-media) .page-head-inner { padding-top: clamp(60px, 7.5vw, 110px); }
.page-head h1 { max-width: 900px; margin: 0; color: var(--ink); font-size: clamp(40px, 6vw, 84px); font-weight: 800; line-height: .95; letter-spacing: -.025em; text-transform: uppercase; }
.page-head h1 em { font-style: normal; color: var(--blue); }
.page-lead { max-width: 620px; margin: 24px 0 0; color: rgba(255, 255, 255, .78); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.7; }
.page-head .back { display: inline-flex; gap: 8px; margin-bottom: 28px; color: var(--muted); font-size: 14px; text-decoration: none; }
.page-head .back:hover { color: var(--blue); }
.page-head-inner > * { animation: rise 1s var(--ease) both; }
.page-head-inner > :nth-child(2) { animation-delay: 90ms; }
.page-head-inner > :nth-child(3) { animation-delay: 180ms; }
.page-head-inner > :nth-child(4) { animation-delay: 270ms; }
.block + .block { margin-top: clamp(36px, 4.5vw, 65px); }
.block-title { margin: 0 0 32px; color: var(--ink); font-size: clamp(28px, 3.6vw, 46px); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; }

/* about */
.story { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); padding: 0; }
.story h2 { margin: 0; color: var(--ink); font-size: clamp(28px, 3.6vw, 46px); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; }
.story > div + div p { margin: 0 0 18px; font-size: 17px; }
.story > div + div p:first-child { color: var(--ink); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.6; }
.timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; border-bottom: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.timeline div { padding: 28px 0 0; text-align: left; gap: 8px; }
.timeline div + div { border-left: 0; }
.timeline b { color: var(--ink); font-size: clamp(36px, 4.4vw, 64px); font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.timeline span { color: var(--muted); font-size: 15px; }
.values { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.values div { padding: 40px 32px 40px 0; background: none; border: 0; text-align: left; }
.values div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.values b { display: block; color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: .2em; }
.values p { margin: 16px 0 0; color: var(--ink); font-size: 17px; line-height: 1.6; }
.person { grid-template-columns: minmax(220px, 360px) 1fr; align-items: start; gap: clamp(28px, 5vw, 72px); margin: 0; padding: 0; background: none; border: 0; }
.person + .person { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.person .photo { aspect-ratio: 4 / 5; background: #151515; }
.person .photo::before { font-weight: 700; }
.person h3 { margin: 0 0 6px; color: var(--ink); font-size: clamp(28px, 3vw, 40px); font-weight: 700; letter-spacing: -.015em; text-transform: none; }
.person-role { margin: 0 0 22px; color: var(--blue); font-size: 14px; font-weight: 600; }
.person-body > p { font-size: 17px; }
.facts { gap: 32px; margin: 28px 0; padding: 28px 0 0; border-top: 1px solid var(--line); }
.facts h4 { margin: 0 0 12px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .2em; }
.facts li { color: var(--ink); font-size: 15px; }
.contact-line { gap: 10px 28px; padding-top: 0; border-top: 0; }
.contact-line a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.contact-line a:hover { color: var(--blue); border-color: var(--blue); }

/* service */
.service-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 6vw, 96px); }
.service-details { max-width: 700px; font-size: 17px; }
.service-details h3 { margin: 40px 0 14px; font-size: 22px; font-weight: 600; }
.service-details h3:first-child { margin-top: 0; }
.service-aside { top: calc(var(--topbar-h) + 32px); gap: 6px; padding: 32px 28px; background: var(--panel); border: 1px solid var(--line); border-top: 2px solid var(--blue); }
.service-aside .aside-price { color: var(--ink); font-size: 40px; font-weight: 600; }
.service-aside .muted { color: var(--muted); font-size: 14px; }
.service-aside .btn { margin-top: 18px; padding: 16px 24px; }
.service-aside .hint { margin-top: 10px; }

/* contact */
.contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 5vw, 72px); padding: 0; }
.contact-info { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; align-content: start; }
.contact-block { padding: 24px 0 28px; border-top: 1px solid var(--line); }
.contact-block h4 { margin: 0 0 10px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .2em; }
.contact-block p { font-size: 17px; line-height: 1.6; }
.contact-block p a { color: var(--ink); text-decoration: none; }
.contact-block p a:hover { color: var(--blue); }
.map { min-height: 520px; border: 1px solid var(--line); }
.map iframe { min-height: 520px; }

/* legal pages and 404 */
.legal { max-width: 760px; margin: 0; padding: 0; font-size: 17px; }
.legal h2 { margin: 48px 0 14px; color: var(--ink); font-size: 24px; font-weight: 700; }
.legal h2:first-child { margin-top: 0; }
.legal-updated { margin: 18px 0 0; color: var(--muted); font-size: 14px; }

/* booking management page (link from the emails) */
.panel { max-width: 640px; padding: 36px 32px; background: var(--panel); border: 1px solid var(--line); border-top: 2px solid var(--blue); }
.panel h2 { margin: 0 0 12px; color: var(--ink); font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; line-height: 1.1; }
.panel .summary { margin: 20px 0 24px; }

@media (max-width: 900px) {
  .contact-info { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .story, .values, .person, .contact, .service-layout { grid-template-columns: 1fr; }
  .story { gap: 20px; }
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .timeline div { padding: 20px 0 0; }
  .timeline span { font-size: 13px; line-height: 1.5; }
  .values div, .values div + div { padding: 28px 0; border-left: 0; }
  .values div + div { border-top: 1px solid var(--line); }
  .person .photo { max-width: none; aspect-ratio: 4 / 3; }
  .person .photo img { object-position: 50% 30%; }
  .person + .person { margin-top: 24px; padding-top: 24px; }
  .contact { gap: 32px; }
  .contact-info { grid-template-columns: 1fr 1fr; }
  .map, .map iframe { min-height: 340px; }
  .service-aside { position: static; }
  .page-head:has(.page-head-media) .page-head-inner { padding-top: 70px; }
  .panel { padding: 28px 20px; }
}
@media (max-width: 520px) {
  .contact-info { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
