/* XW Detailing: dark studio look, XW yellow as the one accent. Archivo variable (width + weight). */
@font-face {
  font-family: 'Archivo';
  src: url('/fonts/archivo-wdth.woff2') format('woff2-variations'), url('/fonts/archivo-wdth.woff2') format('woff2');
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
}
:root {
  --bg: #0a0b0d; --bg2: #101216; --panel: rgba(18, 20, 24, .78); --panel-solid: #15171c;
  --line: rgba(255, 255, 255, .11); --line2: rgba(255, 255, 255, .2);
  --ink: #f3f3ef; --muted: #a4a8af; --dim: #74787f;
  --xw: #f3e92e; --xw-ink: #0a0b0d; --ok: #7be0a0; --warn: #f5b25b;
  --r: 14px; --r-lg: 22px; --pill: 999px;
  --edge: clamp(20px, 4vw, 56px);
  --max: 1320px;
  --head-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--head-h); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.55 'Archivo', system-ui, sans-serif; font-stretch: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--xw); outline-offset: 3px; border-radius: 6px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--xw); color: var(--xw-ink); padding: 12px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--max), 100% - var(--edge) * 2); margin-inline: auto; }

/* ---------- type */
.display {
  margin: 0; font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(40px, 6.6vw, 112px); line-height: .88; letter-spacing: -.012em;
}
.display span { display: block; white-space: nowrap; }
.ch-copy > .display { max-width: none; }
.display .out { color: rgba(243, 233, 46, .07); -webkit-text-stroke: max(1.5px, .018em) var(--xw); paint-order: stroke fill; }
.h2 { font-size: clamp(36px, 5vw, 76px); }
.sec .display .out { color: var(--xw); -webkit-text-stroke: 0; }
.hero-h1 { margin: 0; font-size: clamp(40px, 6.6vw, 112px); font-weight: 400; }
.hero-h1 .eyebrow { display: flex; }
.hero-h1 .display { display: block; font-size: 1em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--xw); }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; }
.lede { margin: 20px 0 0; max-width: 40ch; font-size: clamp(16px, 1.3vw, 19px); color: #d7d9dc; }
.muted { color: var(--muted); }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border-radius: var(--pill); border: 1px solid transparent; font-weight: 700; font-size: 15px; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), background-color .18s, border-color .18s, color .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary { background: var(--ink); color: #0a0b0d; }
.btn-primary:hover { background: var(--xw); }
.btn-ghost { background: rgba(255, 255, 255, .06); border-color: var(--line2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--xw); }
.btn .arr { transition: transform .18s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--xw); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.link:hover { color: var(--xw); }

/* ---------- header */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--head-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 0 var(--edge);
  background: linear-gradient(rgba(10, 11, 13, .72), rgba(10, 11, 13, 0)); transition: background-color .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.top.solid { background: rgba(10, 11, 13, .86); border-bottom-color: var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; min-width: 0; }
.brand img { height: 34px; width: auto; }
.status {
  display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 14px; border-radius: var(--pill);
  background: rgba(255, 255, 255, .07); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 13px; color: #dfe1e4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 34ch;
}
.status::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--xw); box-shadow: 0 0 10px var(--xw); }
.nav { display: flex; gap: 6px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font-size: 14px; color: #d4d6d9; text-decoration: none; border-radius: var(--pill); transition: color .15s, background-color .15s; }
.nav a:hover { color: var(--ink); background: rgba(255, 255, 255, .06); }
.top-cta { justify-self: end; }
.top .btn { min-height: 44px; padding: 0 18px; font-size: 14px; }

/* ---------- story (scroll-driven chapters) */
.story { position: relative; background: #050607; }
.stage { position: relative; }
.ch { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.ch-media, .ch-media img, .wash { position: absolute; inset: 0; width: 100%; height: 100%; }
.ch-media img { object-fit: cover; object-position: var(--pos, 50% 50%); transform: scale(var(--s, 1)); transform-origin: var(--origin, 50% 55%); will-change: transform; }
.ch::after { content: ''; position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(90deg, rgba(5, 6, 7, .78) 0%, rgba(5, 6, 7, .35) 42%, rgba(5, 6, 7, 0) 70%),
  linear-gradient(0deg, rgba(5, 6, 7, .85) 0%, rgba(5, 6, 7, 0) 45%); }
.ch-copy { position: relative; z-index: 2; width: min(var(--max), 100% - var(--edge) * 2); margin: 0 auto; padding: 0 0 clamp(120px, 15vh, 160px); }
.ch-copy > * { max-width: 760px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 15px; color: #e3e5e8; }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.stars { color: var(--xw); letter-spacing: 2px; }
.wash { display: none; }

.ch-index { display: none; }
.dock { display: none; }

/* pinned mode (JS on, motion allowed) */
.js-story .story { height: var(--story-h, 760svh); }
.js-story .stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.js-story .ch { position: absolute; inset: 0; min-height: 0; opacity: 0; visibility: hidden; transition: opacity .55s var(--ease), visibility 0s linear .55s; }
.js-story .ch.is-on { opacity: 1; visibility: visible; transition: opacity .55s var(--ease), visibility 0s; }
.js-story .ch-copy > * { transform: translateY(14px); opacity: 0; transition: transform .6s var(--ease), opacity .5s; }
.js-story .ch.is-on .ch-copy > * { transform: none; opacity: 1; }
.js-story .ch.is-on .ch-copy > :nth-child(2) { transition-delay: .05s; }
.js-story .ch.is-on .ch-copy > :nth-child(3) { transition-delay: .1s; }
.js-story .ch.is-on .ch-copy > :nth-child(4) { transition-delay: .15s; }
.js-story .wash { display: block; z-index: 0; }
.js-story .ch[data-canvas] .ch-media { display: none; }
.js-story .ch[data-canvas] { background: transparent; }
.js-story .ch-index {
  display: flex; flex-direction: column; gap: 4px; position: absolute; z-index: 5; right: var(--edge); top: 50%; transform: translateY(-50%);
  margin: 0; padding: 0; list-style: none; counter-reset: ch;
}
.ch-index a { display: grid; grid-template-columns: 26px auto; align-items: center; min-height: 34px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); text-decoration: none; transition: color .2s; }
.ch-index a span:first-child { font-variant-numeric: tabular-nums; }
.ch-index a:hover { color: var(--ink); }
.ch-index a[aria-current='step'] { color: var(--xw); }
.ch-index a[aria-current='step'] span:last-child::before { content: ''; display: inline-block; width: 16px; height: 2px; margin: 0 8px 3px 0; background: var(--xw); vertical-align: middle; }
.js-story .dock {
  display: flex; align-items: center; gap: 8px; position: fixed; z-index: 30; left: 50%; bottom: 22px; transform: translateX(-50%);
  padding: 6px; border-radius: var(--pill); background: rgba(16, 18, 22, .7); border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: opacity .3s, transform .3s var(--ease);
}
.dock.is-away { opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, 20px); transition: opacity .3s, transform .3s var(--ease), visibility 0s linear .3s; }
.dock .btn { min-height: 44px; }
.dock-bar { position: absolute; left: 22px; right: 22px; bottom: 2px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.dock-bar i { display: block; height: 100%; width: 100%; background: var(--xw); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* hero entrance (once, on load) */
@keyframes rise { from { transform: translateY(26px); opacity: 0; } to { transform: none; opacity: 1; } }
[data-enter] .display > span, [data-enter] .lede, [data-enter] .facts, [data-enter] .eyebrow { animation: rise .9s var(--ease) both; }
[data-enter] .display span:nth-child(2) { animation-delay: .08s; }
[data-enter] .lede { animation-delay: .16s; }
[data-enter] .facts { animation-delay: .22s; }

/* ---------- sections */
.sec { padding: clamp(84px, 11vw, 150px) 0; border-top: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head > :first-child { grid-column: 1 / span 7; }
.sec-head > :last-child { grid-column: 8 / span 5; }
.sec-head .lede { margin: 0; }

/* work wall */
.wall { display: grid; grid-auto-flow: dense; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(180px, 19vw, 280px); gap: 12px; }
.tile { position: relative; margin: 0; overflow: hidden; border-radius: var(--r); background: var(--bg2); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile:hover img { transform: scale(1.03); }
.tile.tall { grid-row: span 2; }
.tile.wide { grid-column: span 2; }
.tag { position: absolute; left: 12px; bottom: 12px; right: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag b, .tag span { padding: 6px 10px; border-radius: var(--pill); font-size: 12px; line-height: 1.2; background: rgba(8, 9, 11, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tag b { font-weight: 700; color: var(--xw); }
.wall-foot { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; margin-top: 28px; color: var(--muted); }

/* reviews */
.score { display: flex; align-items: baseline; gap: 18px; }
.score strong { font-size: clamp(36px, 5vw, 76px); font-weight: 900; font-stretch: 125%; line-height: .8; }
.score .stars { font-size: 22px; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.quote { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 28px; border-radius: var(--r-lg); background: var(--bg2); border: 1px solid var(--line); }
.quote blockquote { margin: 0; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; }
.quote p { margin: 0; font-size: 14px; color: var(--muted); }
.quote p b { color: var(--ink); font-weight: 600; }

/* services */
.svc { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.svc li { display: grid; grid-template-columns: minmax(220px, 1.1fr) 1.6fr auto auto; gap: 16px 32px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.svc h3 { margin: 0; font-size: clamp(20px, 1.9vw, 26px); font-weight: 800; font-stretch: 112%; text-transform: uppercase; letter-spacing: -.005em; }
.svc p { margin: 0; color: #c9ccd0; max-width: 56ch; }
.chip { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: var(--pill); border: 1px solid var(--line2); font-size: 13px; color: #dadcdf; white-space: nowrap; }
.svc .btn { min-height: 44px; }
.svc-note { margin: 24px 0 0; color: var(--muted); font-size: 15px; }

/* visit */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.visit-photo { margin: 0; border-radius: var(--r-lg); overflow: hidden; min-height: 560px; }
.visit-photo img { width: 100%; height: 100%; object-fit: cover; }
.visit-info { display: flex; flex-direction: column; }
.addr { margin: 26px 0 0; font-size: clamp(20px, 2vw, 26px); font-style: normal; line-height: 1.35; }
.hours { margin: 26px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 28px; font-size: 16px; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; }
.contact { display: grid; gap: 4px; margin: 26px 0 0; }
.contact a { display: inline-flex; align-items: center; min-height: 44px; font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 56px 0 120px; color: var(--muted); font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot h2 { margin: 0 0 12px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot .fine { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.foot img { height: 40px; width: auto; margin-bottom: 14px; }

/* ---------- booking drawer */
.drawer {
  position: fixed; inset: 14px 14px 14px auto; margin: 0; width: min(460px, calc(100vw - 28px)); height: auto; max-height: none;
  padding: 0; border: 1px solid var(--line2); border-radius: var(--r-lg); color: var(--ink);
  background: rgba(14, 15, 18, .94); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55); overflow: hidden;
}
.drawer[open] { display: flex; flex-direction: column; animation: slidein .42s var(--ease); }
.drawer::backdrop { background: rgba(0, 0, 0, .45); }
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.dr-head { padding: 18px 22px 16px; border-bottom: 1px solid var(--line); }
.dr-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dr-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 12px; border-radius: var(--pill); background: rgba(255, 255, 255, .06); border: 1px solid var(--line); font-size: 12px; color: #d7d9dc; }
.dr-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--xw); }
.x { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; transition: border-color .15s, transform .15s; }
.x:hover { border-color: var(--xw); transform: rotate(90deg); }
.dr-head h2 { margin: 14px 0 12px; font-size: 30px; font-weight: 900; font-stretch: 125%; text-transform: uppercase; line-height: .95; }
.prog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.prog i { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .12); transition: background-color .3s; }
.prog i.on { background: var(--xw); }
.dr-body { flex: 1; overflow-y: auto; padding: 6px 22px 22px; overscroll-behavior: contain; }
.dr-body fieldset { margin: 0; padding: 18px 0 4px; border: 0; }
.dr-body legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 12px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #e5e7ea; }
.dr-body legend .n { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line2); font-size: 11px; letter-spacing: 0; }
.dr-body fieldset.ok legend .n { background: var(--xw); color: var(--xw-ink); border-color: var(--xw); }
.opts { display: grid; gap: 8px; }
.opts.v4 { grid-template-columns: repeat(4, 1fr); }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt label {
  display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03); cursor: pointer; transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.opt label:hover { border-color: var(--line2); }
.opt input:checked + label { border-color: var(--xw); background: rgba(243, 233, 46, .07); box-shadow: 0 0 0 1px var(--xw) inset, 0 0 22px rgba(243, 233, 46, .12); }
.opt input:focus-visible + label { outline: 2px solid var(--xw); outline-offset: 2px; }
.opt input:disabled + label { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.veh label { flex-direction: column; justify-content: center; gap: 6px; min-height: 76px; padding: 10px 6px; font-size: 13px; text-align: center; }
.veh svg { width: 44px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.work label { justify-content: space-between; align-items: flex-start; }
.work b { display: block; font-size: 15px; }
.work small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.work .chip { min-height: 26px; padding: 0 10px; font-size: 12px; flex: none; }
.days { display: grid; grid-auto-flow: column; grid-auto-columns: 84px; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; }
.days label { flex-direction: column; align-items: flex-start; gap: 0; min-height: 66px; padding: 10px 12px; font-size: 14px; line-height: 1.25; }
.days label small { font-size: 12px; color: var(--muted); }
.days label small.few { color: var(--warn); }
.times { grid-template-columns: repeat(4, 1fr); margin-top: 8px; }
.times label { justify-content: center; font-size: 14px; padding: 10px 6px; }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field label { font-size: 13px; color: #d7d9dc; }
.field label i { font-style: normal; color: var(--dim); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line2);
  background: rgba(255, 255, 255, .04); color: var(--ink); font-size: 16px;
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--xw); box-shadow: 0 0 0 3px rgba(243, 233, 46, .18); }
.field [aria-invalid='true'] { border-color: #ff7a6b; }
.err { margin: 0; font-size: 13px; color: #ff9b8f; }
.err:empty { display: none; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); font-size: 13px; color: #cfd2d6; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--xw); flex: none; }
.hp { position: absolute; left: -9999px; }
.sum { margin: 18px 0 0; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.sum h3 { margin: 0 0 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sum dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14px; }
.sum dt { color: var(--muted); }
.sum dd { margin: 0; text-align: right; }
.dr-foot { padding: 14px 22px 18px; border-top: 1px solid var(--line); }
.dr-foot .btn { width: 100%; min-height: 54px; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.dr-foot .btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.dr-note { margin: 10px 0 0; text-align: center; font-size: 12px; color: var(--dim); }
.form-err { margin: 0 0 10px; font-size: 14px; color: #ff9b8f; text-align: center; }
.form-err:empty { display: none; }
.done { flex: 1; display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px 26px; }
.drawer.is-done .dr-body, .drawer.is-done .dr-foot { display: none; }
.drawer.is-done .done { display: flex; }
.done svg { width: 76px; height: 76px; }
.done circle { stroke: var(--xw); stroke-width: 2; fill: none; stroke-dasharray: 230; stroke-dashoffset: 230; animation: draw .7s var(--ease) forwards; }
.done path { stroke: var(--xw); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .45s .45s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h3 { margin: 22px 0 10px; font-size: 30px; font-weight: 900; font-stretch: 125%; text-transform: uppercase; line-height: .95; }
.done .when { margin: 0; color: var(--xw); font-weight: 700; }
.done p { margin: 8px 0 0; color: #cfd2d6; max-width: 34ch; }
.done .actions { justify-content: center; }

/* text notification preview */
.toast {
  position: fixed; z-index: 80; left: 50%; top: 14px; width: min(380px, calc(100vw - 28px)); transform: translate(-50%, -140%);
  display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 12px 14px; border-radius: 18px;
  background: rgba(32, 34, 39, .92); border: 1px solid var(--line2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5); transition: transform .5s var(--ease);
}
.toast.show { transform: translate(-50%, 0); }
.toast img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.toast b { font-size: 14px; }
.toast .t-top { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--muted); }
.toast p { margin: 2px 0 0; font-size: 14px; line-height: 1.35; }

/* ---------- responsive */
@media (max-width: 1080px) {
  .nav { display: none; }
  .top { grid-template-columns: 1fr auto; }
  .top .status { display: none; }
  .quotes { grid-template-columns: 1fr; }
  .svc li { grid-template-columns: 1fr auto; }
  .svc li p { grid-column: 1 / -1; grid-row: 2; }
  .svc li .chip { grid-column: 1; grid-row: 3; justify-self: start; }
  .svc li .btn { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  :root { --head-h: 64px; }
  .brand img { height: 28px; }
  .sec-head { grid-template-columns: 1fr; }
  .sec-head > :first-child, .sec-head > :last-child { grid-column: 1; }
  .wall { grid-template-columns: 1fr 1fr; grid-auto-rows: 46vw; }
  .tile.wide { grid-column: span 2; }
  .visit { grid-template-columns: 1fr; }
  .visit-photo { min-height: 0; aspect-ratio: 4 / 5; }
  .js-story .ch-index { display: none; }
  .ch-copy { padding-bottom: 116px; }
  .drawer { inset: 0; width: 100%; border-radius: 0; border: 0; }
  .svc li { grid-template-columns: 1fr; }
  .svc li .btn { grid-column: 1; grid-row: auto; justify-self: stretch; }
  .svc li .chip { grid-column: 1; grid-row: auto; }
}
@media (max-width: 520px) {
  .display, .hero-h1 { font-size: clamp(30px, 9.4vw, 56px); }
  .h2, .score strong { font-size: clamp(26px, 7.6vw, 44px); }
  .top .btn { padding: 0 14px; }
  .js-story .dock { left: 12px; right: 12px; transform: none; justify-content: stretch; }
  .js-story .dock .btn { flex: 1; padding: 0 12px; }
  .dock.is-away { transform: translateY(20px); }
  .foot-grid { grid-template-columns: 1fr; }
  .pair { grid-template-columns: 1fr; }
  .opts.v4 { grid-template-columns: repeat(2, 1fr); }
  .times { grid-template-columns: repeat(2, 1fr); }
  .score { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
