/* ══════════════════════════════════════════════════════════════
   DollarNet — pendulum wipe editorial
   ink #141414 · bone #ece7dd · display Alexandria · mono Plex
   ══════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Alexandria';
  src: url('/fonts/alex-arabic.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+FD3E-FD3F;
}
@font-face {
  font-family: 'Alexandria';
  src: url('/fonts/alex-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face { font-family: 'Plex Mono'; src: url('/fonts/plexmono-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Plex Mono'; src: url('/fonts/plexmono-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Plex Mono'; src: url('/fonts/plexmono-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --ink: #141414;
  --bone: #ece7dd;
  --bone-2: #e3ddd1;
  --muted: #6f6b62;
  --muted-ink: #a8a297;
  --line: rgba(20, 20, 20, 0.16);
  --line-strong: rgba(20, 20, 20, 0.36);
  --line-ink: rgba(236, 231, 221, 0.16);
  --line-ink-strong: rgba(236, 231, 221, 0.36);
  --display: 'Alexandria', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Plex Mono', ui-monospace, 'SFMono-Regular', monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--display);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }
::selection { background: var(--ink); color: var(--bone); }

.hidden { display: none !important; }
.mono { font-family: var(--mono); }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }

/* ── Pills ─────────────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 999px;
  border: 1px solid transparent; background: transparent; color: inherit;
  font: inherit; font-size: 13.5px; font-weight: 600; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.9,.25,1), background .2s, color .2s, opacity .2s;
}
.pill:hover { transform: translateY(-2px); }
.pill:disabled { cursor: default; transform: none; opacity: .45; }
.pill-sm { height: 36px; padding: 0 16px; font-size: 12px; }
.pill-line { border-color: currentColor; }
.pill-block { display: flex; width: 100%; height: 50px; margin-top: 18px; }
.pill-ink { background: var(--ink); color: var(--bone); }

/* ══ HERO · pendulum wipe ═════════════════════════════════ */
.hero {
  position: relative; width: 100%; height: 100vh; height: 100svh;
  overflow: hidden; container-type: size; isolation: isolate;
  --g: clamp(16px, 3.4cqw, 48px);
  background: var(--ink); color: var(--bone);
  font-family: var(--display);
}
.hero-face { position: absolute; inset: 0; overflow: hidden; }
.hero-face.is-bone { background: var(--bone); color: var(--ink); z-index: 0; }
.hero-face.is-ink { background: var(--ink); color: var(--bone); z-index: 2; }
.hero-wash {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% -12%, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0) 62%),
    radial-gradient(90% 60% at 50% 115%, rgba(0, 0, 0, .14), rgba(0, 0, 0, 0) 70%);
}
.is-bone .hero-wash { opacity: .35; }

.hero-bar {
  position: absolute; left: var(--g); right: var(--g); top: var(--g);
  height: 44px; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; z-index: 3;
}
.brand {
  font-size: 16px; line-height: 1; letter-spacing: .22em; font-weight: 700;
  text-transform: uppercase; text-decoration: none; color: inherit;
  white-space: nowrap; margin: 0;
}
.hero-links {
  position: absolute; left: 50%; top: 0; height: 44px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none;
}
.hero-links a {
  color: inherit; text-decoration: none; font-size: 13.5px; font-weight: 600;
  line-height: 1; white-space: nowrap; padding: 3px 0;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .3s;
}
.hero-links a:hover, .hero-links a:focus-visible { background-size: 100% 1px; }

.hero-tools { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.clock { font-size: 11px; letter-spacing: .08em; opacity: .55; padding-inline-end: 8px; }
.tool {
  appearance: none; border: 0; background: transparent; color: inherit; font: inherit;
  font-size: 13px; font-weight: 600; line-height: 1; height: 40px; padding: 0 12px;
  border-radius: 999px; display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer; white-space: nowrap;
}
.tool:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.tool svg { width: 18px; height: 18px; flex: none; }
.tool .dot {
  width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none;
  animation: dot-pulse 2.4s ease-in-out infinite;
}
.tool b { font-family: var(--mono); font-size: 13px; font-weight: 500; }
.tool-menu { display: none; }
@keyframes dot-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

.hero-head {
  position: absolute; left: var(--g); right: var(--g); top: 42%;
  transform: translateY(-50%); margin: 0; text-align: center;
  white-space: pre-line; font-family: var(--display); font-weight: 800;
  line-height: 1; letter-spacing: 0; pointer-events: none;
  user-select: none; -webkit-user-select: none;
}
.hero-line {
  display: block;
  animation: hero-rise .9s cubic-bezier(.2,.9,.25,1) both;
}
@keyframes hero-rise { from { opacity: 0; transform: translateY(38%); } to { opacity: 1; transform: none; } }

.hero-foot {
  position: absolute; left: var(--g); right: var(--g); bottom: var(--g);
  display: flex; flex-direction: column; align-items: center; gap: 18px; z-index: 3;
}
.hero-tagline {
  margin: 0; font-size: 15px; line-height: 1.6; text-align: center;
  opacity: .78; max-width: 36em;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 10px; height: 50px;
  padding: 0 26px; border-radius: 999px; font-size: 14.5px; font-weight: 600;
  line-height: 1; text-decoration: none; white-space: nowrap; color: var(--ink);
  background: var(--bone); border: 0; cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.9,.25,1);
}
.hero-cta:hover { transform: translateY(-2px); }
.hero-cta svg { width: 17px; height: 17px; transition: transform .25s; }
.hero-cta:hover svg { transform: translateX(-3px); }
.hero-face.is-bone .hero-cta { background: var(--ink); color: var(--bone); }

.hero-shade {
  position: absolute; left: 0; top: 0; width: 72px; transform-origin: 0 0;
  z-index: 1; pointer-events: none;
  background: linear-gradient(to left, rgba(0, 0, 0, .22), rgba(0, 0, 0, .06) 40%, rgba(0, 0, 0, 0));
}
.hero-rope {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4;
  pointer-events: none; overflow: visible;
}
.charm-box {
  position: absolute; left: 0; top: 0; z-index: 5; will-change: transform;
  filter: drop-shadow(9px 14px 9px rgba(0, 0, 0, .34)) drop-shadow(2px 3px 2px rgba(0, 0, 0, .24));
}
.charm {
  position: relative; display: block; width: 100%; height: 100%; padding: 0; margin: 0;
  border: 0; background: transparent; cursor: grab; touch-action: none;
  transform-origin: 50% 1%; -webkit-tap-highlight-color: transparent;
}
.charm:active { cursor: grabbing; }
.charm img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; -webkit-user-drag: none; }
.hero a:focus-visible, .hero button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.charm:focus-visible { outline-color: #9a9a9a; }

.hero-sheet {
  position: absolute; inset: 0; z-index: 7; display: flex; flex-direction: column;
  padding: var(--g); background: var(--ink); color: var(--bone);
  transform: translateY(-102%); visibility: hidden;
  transition: transform .5s cubic-bezier(.2,.9,.25,1), visibility 0s .5s;
}
.hero-sheet[data-open="true"] { transform: translateY(0); visibility: visible; transition: transform .5s cubic-bezier(.2,.9,.25,1); }
.sheet-top { height: 44px; display: flex; align-items: center; justify-content: space-between; }
.hero-sheet ul { list-style: none; margin: auto 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.hero-sheet ul a {
  color: inherit; text-decoration: none; font-family: var(--display); font-weight: 800;
  font-size: clamp(34px, 11cqw, 64px); line-height: 1.1; display: block;
}
.hero-sheet > .hero-cta { background: var(--bone); color: var(--ink); align-self: flex-start; }

/* ── Reveal-on-scroll ──────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.9,.25,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-line, .hero-sheet, .hero-cta, .hero-cta svg, .hero-links a { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ══ Account band ════════════════════════════════════════ */
.account-band { background: var(--bone); border-bottom: 1px solid var(--line-strong); }
.acct {
  display: flex; align-items: center; gap: 22px; padding: 20px 0 18px;
  border-bottom: 1px solid var(--line);
}
.acct-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.acct-avatar {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; flex: none;
}
.acct-name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.acct-name b { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-name small { font-size: 10px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.acct-nums { display: flex; gap: 30px; margin-inline-start: auto; }
.acct-nums div { display: flex; flex-direction: column; gap: 2px; align-items: center; }
.acct-nums span { font-size: 10px; color: var(--muted); letter-spacing: .1em; }
.acct-nums b { font-family: var(--mono); font-size: 16px; font-weight: 500; }
.acct-extra { padding: 14px 0 22px; display: flex; flex-direction: column; gap: 10px; }
.acct-extra:has(.my-offers.hidden):has(.bookings:empty) { display: none; }
.my-offers { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.my-offers-head { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; margin-inline-end: 4px; }
.offer-chip {
  display: inline-flex; flex-direction: column; gap: 2px; padding: 8px 12px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--bone-2);
}
.offer-chip b { font-size: 12px; font-weight: 600; }
.offer-chip small { font-size: 10px; color: var(--muted); font-family: var(--mono); }
.bookings { display: flex; flex-direction: column; }
.booking {
  display: flex; align-items: center; gap: 14px; padding: 10px 0;
  border-top: 1px solid var(--line); font-size: 12px;
}
.booking:first-child { border-top: 0; }
.bk-name { font-weight: 600; }
.bk-meta { color: var(--muted); font-size: 10.5px; }
.bk-code {
  font-size: 10px; color: var(--muted); padding: 2px 8px;
  border: 1px dashed var(--line-strong); border-radius: 8px; white-space: nowrap;
}
.bk-code b { color: var(--ink); font-size: 12px; letter-spacing: .08em; }
.bk-status {
  margin-inline-start: auto; font-family: var(--mono); font-size: 10px;
  letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px;
  border: 1px solid var(--line-strong); border-radius: 999px;
}
.bk-status.started { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.bk-status.locked { background: #f5c518; color: #0a0e14; border-color: #f5c518; }
.bk-lock { flex-basis: 100%; color: #7a5c00; font-size: 11px; }
.bk-unlock { flex-basis: 100%; display: flex; gap: 8px; align-items: center; }
.bk-unlock-input {
  width: 108px; height: 32px; padding: 0 10px; text-align: center;
  border: 1px solid #d9b44a; border-radius: 10px; background: #fff8e1;
  font-size: 15px; letter-spacing: .28em; color: var(--ink);
}
.bk-unlock-input:focus { outline: 2px solid #d9b44a; outline-offset: 1px; }
.bk-unlock .pill { height: 32px; padding: 0 14px; font-size: 11px; }
.bk-status.failed, .bk-status.cancelled { opacity: .5; }
.bk-error { color: #8a1c0b; font-size: 11px; }
.bk-cancel { height: 30px; padding: 0 12px; font-size: 11px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; cursor: pointer; }

/* ══ Live stats ══════════════════════════════════════════ */
.stats { background: var(--ink); color: var(--bone); border-top: 1px solid var(--line-ink); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid > div {
  padding: 32px 12px; text-align: center; display: flex; flex-direction: column;
  align-items: center; gap: 8px; border-inline-start: 1px solid var(--line-ink);
}
.stats-grid > div:first-child { border-inline-start: 0; }
.stats-grid b { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 5.2vw, 68px); line-height: .9; }
.stats-grid span { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-ink); }

/* ══ Sections ════════════════════════════════════════════ */
.section { padding: clamp(64px, 9vw, 124px) 0; }
.section-ink { background: var(--ink); color: var(--bone); }
.sec-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; margin-bottom: clamp(36px, 5.5vw, 66px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted);
}
.section-ink .eyebrow { color: var(--muted-ink); }
.eyebrow .idx { opacity: .55; }
.sec-head h2 {
  margin: 0; font-family: var(--display); font-weight: 800;
  font-size: clamp(38px, 6vw, 84px); line-height: 1.02; letter-spacing: -.01em;
}
.sec-sub { margin: 0; max-width: 46ch; color: var(--muted); font-size: 13.5px; line-height: 1.9; }
.section-ink .sec-sub { color: var(--muted-ink); }

.seg {
  display: inline-flex; flex-wrap: wrap; justify-content: center;
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; margin-top: 8px;
}
.section-ink .seg { border-color: var(--line-ink-strong); }
.seg-btn {
  padding: 8px 16px; border: 0; background: transparent; color: inherit;
  font: inherit; font-size: 12px; font-weight: 600; border-radius: 999px;
  cursor: pointer; transition: background .2s, color .2s;
}
.seg-btn.is-on { background: var(--ink); color: var(--bone); }
.section-ink .seg-btn.is-on { background: var(--bone); color: var(--ink); }
.seg-btn:not(.is-on):hover { background: color-mix(in srgb, currentColor 8%, transparent); }

/* ══ Rates ═══════════════════════════════════════════════ */
.rates-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong);
}
.rate {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 34px 20px; border-inline-start: 1px solid var(--line);
  transition: background .3s, color .3s;
}
.rate:first-child { border-inline-start: 0; }
.rate:hover { background: var(--ink); color: var(--bone); }
.rate-name { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; opacity: .75; }
.rate-num { font-family: var(--display); font-weight: 800; font-size: clamp(56px, 7vw, 96px); line-height: .9; }
.rate-unit { font-size: 11px; opacity: .6; }

/* ══ Stations board ══════════════════════════════════════ */
.board { border-top: 1px solid var(--line-ink-strong); }
.board-head, .st-row {
  display: grid;
  grid-template-columns: 56px minmax(120px, 1.05fr) minmax(190px, 1.5fr) 108px 150px 104px 118px;
  gap: 14px; align-items: center;
}
.board-head {
  padding: 12px 0; font-family: var(--mono); font-size: 9.5px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted-ink);
  border-bottom: 1px solid var(--line-ink);
}
.board-head .bh-device { grid-column: span 2; }
.grp-row {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  padding: 26px 0 10px; border-top: 1px solid var(--line-ink);
}
.grp-row:first-child { border-top: 0; padding-top: 16px; }
.grp-name { font-family: var(--display); font-weight: 800; font-size: clamp(20px, 2.6vw, 30px); line-height: 1; text-transform: uppercase; }
.grp-meta { font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; color: var(--muted-ink); text-transform: uppercase; }
.grp-rate { margin-inline-start: auto; }
.st-row {
  padding: 14px 0; border-bottom: 1px solid var(--line-ink); font-size: 12.5px;
  transition: background .25s;
}
.st-row:hover { background: rgba(236, 231, 221, .035); }
.st-id { font-size: 10.5px; color: var(--muted-ink); letter-spacing: .06em; }
.st-name { font-family: var(--display); font-weight: 700; font-size: 17px; line-height: 1.2; }
.st-specs { font-size: 11px; color: var(--muted-ink); line-height: 1.6; }
.st-specs.is-empty { opacity: .45; }
.st-status { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; white-space: nowrap; }
.st-status i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex: none; }
.st-status.free i { animation: dot-pulse 2.4s ease-in-out infinite; }
.st-status.busy { color: var(--muted-ink); }
.st-status.off { color: var(--muted-ink); opacity: .45; }
.st-eta { font-size: 11px; color: var(--muted-ink); }
.st-eta b { color: var(--bone); font-family: var(--mono); font-weight: 500; }
.st-rate { font-family: var(--display); font-weight: 800; font-size: 20px; white-space: nowrap; }
.st-rate small { font-family: var(--mono); font-size: 9px; font-weight: 400; color: var(--muted-ink); margin-inline-start: 3px; }
.st-action { display: flex; justify-content: flex-end; }
.st-action .pill { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.st-action .pill:hover { transform: none; background: #fff; }
.st-action .pill:disabled { background: transparent; color: var(--muted-ink); border-color: var(--line-ink-strong); opacity: .55; }
.board-loading, .board-empty {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 48px 12px; font-size: 12px; color: var(--muted-ink);
}
.spinner {
  width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid var(--line-ink-strong); border-top-color: var(--bone);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ══ Offers menu ═════════════════════════════════════════ */
.menu { display: flex; flex-direction: column; border-top: 1px solid var(--line-strong); }
.menu-row {
  display: grid; grid-template-columns: auto minmax(40px, 1fr) auto;
  align-items: center; gap: 20px; width: 100%;
  padding: 22px 12px; margin-inline: -12px; border: 0;
  border-bottom: 1px solid var(--line); background: transparent; color: inherit;
  font: inherit; text-align: start; cursor: pointer;
  transition: background .25s, color .25s, padding .25s;
}
.menu-row:hover { background: var(--ink); color: var(--bone); }
.menu-main { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.tag {
  font-family: var(--mono); font-size: 9px; letter-spacing: .14em;
  text-transform: uppercase; border: 1px solid currentColor; border-radius: 999px;
  padding: 3px 8px; opacity: .6;
}
.tag.on { opacity: 1; }
.menu-name { font-family: var(--display); font-weight: 700; font-size: clamp(19px, 2.6vw, 28px); line-height: 1.2; }
.menu-dur { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; opacity: .55; }
.leader { border-bottom: 1px dotted currentColor; opacity: .22; margin-bottom: 9px; }
.menu-price { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.mp-main { display: flex; align-items: baseline; gap: 4px; font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3.6vw, 44px); line-height: .9; }
.mp-main small { font-family: var(--mono); font-size: 10px; font-weight: 400; opacity: .6; }
.menu-price em { font-family: var(--mono); font-size: 9.5px; font-style: normal; opacity: .5; letter-spacing: .04em; }
.menu-row:hover .tag { opacity: 1; }

/* ══ Steps ═══════════════════════════════════════════════ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-ink-strong); }
.step { padding: 30px 26px; border-inline-start: 1px solid var(--line-ink); }
.step:first-child { border-inline-start: 0; }
.step-n { font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em; color: var(--muted-ink); }
.step h3 { margin: 20px 0 12px; font-family: var(--display); font-weight: 700; font-size: clamp(23px, 2.9vw, 32px); line-height: 1.15; }
.step p { margin: 0; font-size: 12.5px; line-height: 1.95; color: var(--muted-ink); }

/* ══ Gallery ═════════════════════════════════════════════ */
.gallery { background: var(--bone); padding-top: clamp(64px, 9vw, 124px); }
.gallery-head { margin-bottom: clamp(32px, 4vw, 56px); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--ink); }
.gallery-grid figure { position: relative; margin: 0; overflow: hidden; background: var(--ink); }
.gallery-grid img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s cubic-bezier(.2,.9,.25,1); }
.gallery-grid figure:hover img { transform: scale(1.025); }
.gallery-grid figcaption {
  position: absolute; bottom: 12px; inset-inline-end: 12px;
  font-size: 9px; letter-spacing: .18em; color: var(--bone);
  background: rgba(20, 20, 20, .55); padding: 4px 8px;
}

/* ══ CTA ═════════════════════════════════════════════════ */
.cta { background: var(--ink); color: var(--bone); padding: clamp(90px, 13vw, 170px) 0; }
.cta-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.cta .eyebrow { color: var(--muted-ink); margin-bottom: 14px; }
.cta h2 { margin: 0 0 26px; font-family: var(--display); font-weight: 800; font-size: clamp(46px, 9vw, 120px); line-height: .98; letter-spacing: -.01em; }
.cta .hero-cta { height: 54px; padding: 0 30px; font-size: 15px; }

/* ══ Footer ══════════════════════════════════════════════ */
.colophon { background: var(--bone); color: var(--ink); border-top: 1px solid var(--line-strong); padding: 60px 0 24px; }
.colo-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.colo-mark { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(42px, 7.5vw, 92px); line-height: .9; letter-spacing: -.01em; text-transform: uppercase; }
.colo-note { margin: 0; max-width: 38ch; font-size: 12.5px; line-height: 1.9; color: var(--muted); }
.colo-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; padding: 34px 0; }
.colo-grid:has(#footer-contact.hidden) { grid-template-columns: 1fr 1fr; }
.colo-col h4 { margin: 0 0 12px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.colo-col p, .colo-col a { display: block; margin: 0 0 6px; font-size: 12.5px; color: var(--ink); text-decoration: none; }
.colo-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.colo-col p:empty { display: none; }
.colo-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 18px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 9px; letter-spacing: .1em; color: var(--muted);
}

/* ══ Modals ══════════════════════════════════════════════ */
.scrim {
  position: fixed; inset: 0; z-index: 40; display: flex; align-items: center;
  justify-content: center; padding: 20px; background: rgba(20, 20, 20, .58);
  backdrop-filter: blur(3px);
}
.sheet {
  width: min(440px, 100%); max-height: 88svh; overflow: auto;
  background: var(--bone); color: var(--ink); padding: 26px;
  border: 1px solid var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sheet-head h3 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.1; }
.sheet-x {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: transparent; font-size: 20px; line-height: 1; color: inherit; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.sheet-x:hover { background: var(--ink); color: var(--bone); }
.sheet-sub { margin: 8px 0 18px; font-size: 12px; color: var(--muted); }
.sheet form label { display: block; margin: 14px 0 0; font-size: 11.5px; font-weight: 600; }
.sheet input, .sheet select {
  width: 100%; margin-top: 6px; padding: 12px;
  border: 1px solid var(--line-strong); background: var(--bone-2);
  color: var(--ink); font: inherit; font-size: 13px; border-radius: 0;
}
.sheet input:focus, .sheet select:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.hint { margin: 10px 0 0; font-size: 10.5px; color: var(--muted); }
.form-error { margin: 12px 0 0; font-size: 11.5px; color: #8a1c0b; }
.demo-hint { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.demo-hint code { background: var(--bone-2); padding: 1px 5px; }
.book-venue { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); margin: 16px 0; }
.book-ico { font-size: 26px; line-height: 1; }
.book-venue b { display: block; font-size: 14px; }
.book-venue small { display: block; font-size: 10.5px; color: var(--muted); margin-top: 2px; }
.book-cost { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; margin: 16px 0 4px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 11.5px; }
.book-cost span { color: var(--muted); }
.book-cost b { font-size: 12px; font-weight: 600; text-align: end; }
.book-note { margin: 10px 0 12px; font-size: 11px; line-height: 1.7; color: var(--muted); }
.switch-row { display: flex; align-items: center; gap: 10px; margin-top: 14px; cursor: pointer; }
.switch-row input { width: 17px; height: 17px; margin: 0; accent-color: var(--ink); }
.switch-row span { font-size: 12px; font-weight: 600; }

/* ══ Toasts ══════════════════════════════════════════════ */
.toasts {
  position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%);
  z-index: 60; display: flex; flex-direction: column; gap: 8px; align-items: center;
  pointer-events: none; width: min(92vw, 520px);
}
.toast {
  background: var(--ink); color: var(--bone); border: 1px solid var(--line-ink-strong);
  padding: 12px 20px; border-radius: 999px; font-size: 12px; font-weight: 600;
  text-align: center; box-shadow: 0 16px 40px rgba(0, 0, 0, .25);
}
.toast.err { background: #7a1f12; color: #fff; }

/* ══ Container / responsive ══════════════════════════════ */
@container (max-width: 860px) {
  .hero-links { display: none; }
  .tool-menu { display: inline-flex; }
  .tool-label { display: none; }
}
@container (max-width: 520px) {
  .brand { font-size: 13.5px; letter-spacing: .18em; }
  .tool { padding: 0 8px; }
  .hero-tagline { font-size: 13px; }
  .hero-cta { height: 46px; padding: 0 22px; font-size: 13.5px; }
  .clock { display: none; }
}

@media (max-width: 1080px) {
  .board-head, .st-row {
    grid-template-columns: 46px minmax(96px, 1fr) minmax(130px, 1.2fr) 92px 126px 82px 102px;
    gap: 10px;
  }
  .st-specs { font-size: 10.5px; }
}

@media (max-width: 900px) {
  .wrap { width: min(1240px, 100% - 36px); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid > div:nth-child(3) { border-inline-start: 0; }
  .stats-grid > div:nth-child(n + 3) { border-top: 1px solid var(--line-ink); }
  .steps { grid-template-columns: 1fr; }
  .step { border-inline-start: 0; border-top: 1px solid var(--line-ink); }
  .step:first-child { border-top: 0; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid img { aspect-ratio: 16 / 10; }
  .colo-top { flex-direction: column; align-items: flex-start; }
  .colo-grid { grid-template-columns: 1fr 1fr; }
  .menu-row { gap: 14px; }
}

@media (max-width: 760px) {
  .board-head { display: none; }
  .board { border-top: 1px solid var(--line-ink-strong); }
  .st-row {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "id name action"
      "specs specs specs"
      "status eta rate";
    gap: 7px 12px; align-items: center; padding: 16px 2px;
  }
  .st-id { grid-area: id; }
  .st-name { grid-area: name; font-size: 16px; }
  .st-action { grid-area: action; }
  .st-action .pill:disabled { display: none; }
  .st-specs { grid-area: specs; }
  .st-status { grid-area: status; }
  .st-eta { grid-area: eta; }
  .st-rate { grid-area: rate; justify-self: end; margin: 0; font-size: 18px; }
  .grp-row { padding-top: 22px; }
  .menu-row { grid-template-columns: 1fr auto; }
  .leader { display: none; }
  .menu-main { gap: 8px; }
  .menu-dur { flex-basis: 100%; }
  .menu-price { align-items: flex-end; }
  .mp-main { font-size: 28px; }
  .rates-list { grid-template-columns: 1fr; }
  .rate { border-inline-start: 0; border-top: 1px solid var(--line); }
  .rate:first-child { border-top: 0; }
  .acct { flex-wrap: wrap; gap: 12px; }
  .acct-nums { margin-inline-start: 0; }
  .acct .pill { margin-inline-start: auto; }
  .booking { flex-wrap: wrap; }
  .bk-status { margin-inline-start: 0; }
  .colo-grid { grid-template-columns: 1fr; gap: 8px; padding: 26px 0; }
  .colo-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}

@media (max-width: 520px) {
  .wrap { width: calc(100% - 28px); }
  .stats-grid b { font-size: 38px; }
  .sec-head h2 { font-size: 34px; }
  .cta h2 { font-size: 42px; }
  .sheet { padding: 20px; }
  .toasts { bottom: 14px; }
}

