/* Taller 27 — styles
   Palette: tyre rubber, work-order paper, the amber of a check-engine lamp (and the painted caliper).
   Type: Anybody (variable width: wide like sidewall lettering, condensed like gauge numerals)
         + Atkinson Hyperlegible Next (made for legibility; quotes get read in a hot waiting room). */

:root {
  --rubber: #15161a;   /* page */
  --panel: #1d1f24;    /* app panels */
  --panel-2: #24272d;
  --line: #33363d;     /* hairlines */
  --paper: #ece8df;    /* text, work-order paper */
  --muted: #a3a5a8;
  --amber: #f4a21b;    /* check-engine lamp, caliper paint */
  --amber-deep: #c97f06;
  --ok: #7fd08a;       /* the green lamp: done */
  --plate-blue: #1d4f9c;

  --font-display: "Anybody", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, sans-serif;

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --bar-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 12px); }
body {
  margin: 0;
  background: var(--rubber);
  color: var(--paper);
  font: 400 1.0625rem/1.55 var(--font-body);
  overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; font-weight: 750; }
p { margin: 0; }
button, input, select { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 50;
  background: var(--amber); color: var(--rubber); padding: .7rem 1rem; border-radius: 6px; font-weight: 700;
}
.skip:focus { top: 1rem; }

/* ---------- Greenhouse ribbon ---------- */
.ribbon {
  display: block;
  padding: .55rem var(--gutter);
  background: var(--amber);
  color: var(--rubber);
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  text-align: left;
  min-height: 44px;
  display: flex; align-items: center;
}
.ribbon:hover { text-decoration: underline; }

/* ---------- top bar (instrument cluster) ---------- */
.bar {
  position: sticky; top: 0; z-index: 30;
  height: var(--bar-h);
  display: flex; align-items: center; gap: 1.25rem;
  padding: 0 var(--gutter);
  background: var(--rubber);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; min-height: 44px; }
.brand-mark { width: 30px; height: 30px; color: var(--amber); }
.brand-name { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; }
.brand-name b, .foot-name b { color: var(--amber); font-stretch: 70%; margin-left: .15em; }
.nav { display: none; gap: .25rem; margin-left: auto; }
.nav a {
  text-decoration: none; padding: .55rem .8rem; border-radius: 8px; color: var(--muted);
  min-height: 44px; display: flex; align-items: center; transition: color .2s, background .2s;
}
.nav a:hover { color: var(--paper); background: var(--panel); }
.langs { display: flex; margin-left: auto; border: 1px solid var(--line); border-radius: 10px; padding: 2px; }
.langs button {
  background: none; border: 0; cursor: pointer; min-width: 44px; min-height: 40px; border-radius: 8px;
  color: var(--muted); font-size: .85rem; font-weight: 700;
}
.langs button[aria-pressed="true"] { background: var(--panel-2); color: var(--paper); }
.bar-cta {
  display: none; align-items: center; min-height: 44px; padding: 0 1rem; border-radius: 10px;
  background: var(--paper); color: var(--rubber); font-weight: 700; text-decoration: none;
}
@media (min-width: 900px) {
  .nav { display: flex; }
  .langs { margin-left: 0; }
  .bar-cta { display: flex; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 1.4rem; border-radius: 12px; border: 0; cursor: pointer;
  font-weight: 700; text-decoration: none; transition: transform .2s var(--ease), background .2s;
}
.btn:active { transform: translateY(1px); }
.btn-amber { background: var(--amber); color: var(--rubber); }
.btn-amber:hover { background: #ffb53d; }
.btn-ghost { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--muted); }
.btn-link {
  display: inline-flex; align-items: center; min-height: 48px; color: var(--paper);
  text-underline-offset: .3em; text-decoration-thickness: 1.5px; text-decoration-color: var(--amber);
}

/* ---------- the ride ---------- */
.ride { position: relative; }
.stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; margin-bottom: -100vh; margin-bottom: -100svh;
  overflow: hidden;
}
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .8s var(--ease); }
.stage.is-live canvas { opacity: 1; }
.stage::before { /* drafting grid that shows in the flat phase */
  content: ""; position: absolute; inset: 0; opacity: var(--flat, 0);
  background-image:
    linear-gradient(to right, rgba(236,232,223,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(236,232,223,.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.callout-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.callout-lines path { fill: none; stroke: var(--paper); stroke-width: 1; opacity: .7; }
.callout-lines circle { fill: var(--amber); }
.stage-hud {
  position: absolute; right: var(--gutter); bottom: 1.25rem; display: flex; align-items: center; gap: .7rem;
  font-family: var(--font-display); font-stretch: 70%; font-weight: 700; color: var(--muted); font-size: .95rem;
}
.hud-bar { width: 96px; height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; }
.hud-bar i { display: block; height: 100%; width: 100%; background: var(--amber); transform-origin: left; transform: scaleX(var(--p, 0)); }
.no-3d .stage { display: none; }

.ride-flow { position: relative; z-index: 1; }

.hero {
  min-height: calc(100svh - var(--bar-h));
  padding: 2rem var(--gutter) 2.5rem;
  display: grid; gap: 2rem; align-content: end;
  position: relative;
}
.has-3d .hero { padding-top: 46svh; }
.hero-title {
  font-stretch: 112%; font-weight: 800;
  font-size: clamp(2.3rem, 9.4vw, 5.4rem); line-height: .98; letter-spacing: -.015em;
  max-width: 13ch; text-wrap: balance;
}
.hero-lede { margin-top: 1.25rem; max-width: 36rem; color: #cfcbc2; font-size: 1.1rem; }
.hero-actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; }
.hero-poster { width: min(100%, 420px); justify-self: center; }
.has-3d .hero-poster { display: none; }
.readout {
  margin: 0; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line);
}
.readout div { padding: .9rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; }
.readout dt { color: var(--muted); font-size: .9rem; padding-top: .1rem; }
.readout dd { margin: 0; font-weight: 500; }
.readout [data-open-status].is-open::before,
.readout [data-open-status].is-closed::before {
  content: ""; display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; margin-right: .5rem;
  background: var(--ok); box-shadow: 0 0 0 4px rgba(127,208,138,.18); vertical-align: .05em;
}
.readout [data-open-status].is-closed::before { background: var(--amber); box-shadow: 0 0 0 4px rgba(244,162,27,.18); }
.scroll-cue { display: none; }
@media (max-width: 899px) {
  /* the wheel stays pinned at the top while the hero text scrolls over it */
  .has-3d .readout { background: rgba(21, 22, 26, .94); }
  .stage-hud { display: none; }
  .has-3d .chapter-panel { position: sticky; bottom: 1rem; padding: 1.1rem 1.2rem 1.2rem; }
  .has-3d .chapter-panel p + p, .has-3d .chapter-panel h2 + p { font-size: .98rem; }
  .has-3d .hero-copy { background: linear-gradient(to bottom, transparent, rgba(21,22,26,.9) 3rem); padding-top: 2rem; margin-top: -2rem; }
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-content: center; padding-top: 3rem; padding-bottom: 2rem;
  }
  .has-3d .hero { padding-top: 3rem; }
  .hero-copy { grid-column: 1; }
  /* the title only gets the 7/12 column here, so size it to that, not to the viewport */
  .hero-title { font-size: clamp(2.3rem, 6vw, 5.4rem); }
  .hero-poster { grid-column: 2; grid-row: 1; }
  .readout { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
  .readout div { border-bottom: 0; grid-template-columns: 1fr; gap: .2rem; padding: 1rem 1.5rem 1rem 0; }
  .readout div + div { border-left: 1px solid var(--line); padding-left: 1.5rem; }
  .has-3d .scroll-cue {
    display: block; position: absolute; right: var(--gutter); top: 2rem; color: var(--muted); font-size: .9rem;
  }
}

/* chapters scroll over the pinned wheel */
.chapter { min-height: 125vh; padding: 0 var(--gutter); display: flex; align-items: flex-end; padding-bottom: 12vh; }
.chapter-panel {
  max-width: 26rem; padding: 1.4rem 1.5rem 1.5rem;
  background: rgba(21, 22, 26, .9); border: 1px solid var(--line); border-radius: 16px;
}
.chapter-panel h2 { font-stretch: 105%; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.02; }
.chapter-panel p + p, .chapter-panel h2 + p { margin-top: .8rem; color: #cfcbc2; }
.chapter-num { font-family: var(--font-display); font-stretch: 60%; font-weight: 700; color: var(--amber); margin-bottom: .5rem; font-size: 1rem; }
@media (min-width: 900px) { .has-3d [data-chapter="explode"] { justify-content: flex-end; padding-bottom: 3vh; } }
.chapter-flat { min-height: 240vh; align-items: flex-start; padding-top: 18vh; flex-direction: column; }
.chapter-flat .chapter-panel { max-width: 24rem; }

/* vehicle toggle */
.vehicle { display: inline-flex; margin-top: 1rem; background: var(--rubber); border: 1px solid var(--line); border-radius: 12px; padding: 3px; }
.vehicle button { border: 0; background: none; cursor: pointer; min-height: 44px; padding: 0 .95rem; border-radius: 9px; color: var(--muted); font-weight: 700; font-size: .95rem; transition: background .25s, color .25s; }
.vehicle button[aria-pressed="true"] { background: var(--paper); color: var(--rubber); }

/* parts: callouts in 3D mode, a numbered key under the drawing otherwise */
.parts { list-style: none; margin: 0; padding: 0; }
.part h3 { font-size: 1.15rem; font-stretch: 100%; }
.part-what { color: #cfcbc2; font-size: .95rem; margin-top: .25rem; }
.price { margin-top: .4rem; color: var(--muted); font-size: .9rem; }
.price b { font-family: var(--font-display); font-stretch: 62%; font-weight: 700; font-size: 1.55rem; color: var(--paper); letter-spacing: .01em; line-height: 1; }

.has-3d .exploded-poster { display: none; }
.has-3d .parts {
  position: fixed; inset: 0; z-index: 5; pointer-events: none;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s .35s;
}
.has-3d .parts.is-on { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
.has-3d .part {
  position: absolute; left: 0; top: 0; width: 15.5rem;
  padding: .7rem .85rem .75rem; background: rgba(21, 22, 26, .92);
  border: 1px solid var(--line); border-left: 3px solid var(--amber); border-radius: 4px 10px 10px 4px;
  will-change: transform;
}
.has-3d .part h3 { font-size: 1rem; }
.has-3d .part .part-what { font-size: .85rem; line-height: 1.4; }
@media (max-width: 899px) {
  .has-3d .part { width: 10.5rem; padding: .5rem .6rem; }
  .has-3d .part .part-what { display: none; }
  .has-3d .part .price b { font-size: 1.25rem; }
  .has-3d .part .price { font-size: .78rem; margin-top: .15rem; }
}

.no-3d .chapter, .no-3d .chapter-flat { min-height: 0; padding-top: 3rem; padding-bottom: 3rem; display: block; }
.no-3d .chapter-panel { background: none; border: 0; padding: 0; max-width: 40rem; }
.no-3d .parts-wrap { margin-top: 2rem; }
.no-3d .exploded-poster { width: 100%; max-width: 900px; margin: 0 0 2rem; }
.no-3d .parts { counter-reset: part; display: grid; gap: 0 2.5rem; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.no-3d .part { counter-increment: part; padding: 1rem 0 1rem 2.4rem; border-bottom: 1px solid var(--line); position: relative; }
.no-3d .part::before {
  content: counter(part); position: absolute; left: 0; top: .9rem;
  font-family: var(--font-display); font-stretch: 60%; font-weight: 800; font-size: 1.4rem; color: var(--amber);
}
@media (min-width: 700px) { .no-3d .parts { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .no-3d .parts { grid-template-columns: repeat(3, 1fr); } }

/* ---------- the rest of the menu ---------- */
.more { padding: clamp(4rem, 10vw, 8rem) var(--gutter) 4rem; background: var(--rubber); position: relative; z-index: 2; border-top: 1px solid var(--line); }
.more-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; margin-bottom: 2rem; }
.more-head h2, .quote h2, .track h2, .visit h2 { font-stretch: 112%; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1; letter-spacing: -.01em; max-width: 16ch; }
.more-head .vehicle { margin-top: 0; }
.menu { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--paper); }
.menu li {
  display: grid; grid-template-columns: 1fr auto; gap: .35rem 1.5rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line);
}
.menu h3 { font-size: 1.3rem; font-stretch: 100%; grid-column: 1; }
.menu li > p:not(.price) { grid-column: 1 / -1; color: #cfcbc2; max-width: 44rem; }
.menu .price { grid-column: 2; grid-row: 1; margin: 0; align-self: baseline; text-align: right; }
.menu .price b { font-size: 2rem; }
@media (min-width: 900px) {
  .menu li { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) minmax(9rem, 2fr); align-items: baseline; padding: 1.6rem 0; }
  .menu li > p:not(.price) { grid-column: 2; grid-row: 1; }
  .menu .price { grid-column: 3; }
  .menu .price b { font-size: 2.4rem; }
}
.note { margin-top: 1.25rem; color: var(--muted); font-size: .9rem; max-width: 44rem; }

/* ---------- how quotes work ---------- */
.quote {
  padding: clamp(4rem, 9vw, 7rem) var(--gutter); display: grid; gap: 3rem;
  background: var(--panel); border-block: 1px solid var(--line); position: relative; z-index: 2;
}
.steps { list-style: none; counter-reset: step; margin: 2rem 0 0; padding: 0; max-width: 34rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3rem 1fr; gap: .5rem; padding: .9rem 0; border-top: 1px solid var(--line); font-size: 1.1rem; }
.steps li::before { content: counter(step); font-family: var(--font-display); font-stretch: 55%; font-weight: 800; font-size: 2rem; line-height: 1; color: var(--amber); }
.ticket {
  margin: 0; justify-self: center; width: min(100%, 25rem);
  background: var(--paper); color: var(--rubber); border-radius: 6px; padding: 1.25rem 1.25rem 1.4rem;
  transform: rotate(-1.6deg); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8);
  position: relative;
}
.ticket::after { /* perforated top edge */
  content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 12px;
  background: radial-gradient(circle at 6px 6px, var(--panel) 5px, transparent 5.5px) 0 0 / 16px 12px repeat-x;
}
.ticket-tag { display: inline-block; font-size: .78rem; font-weight: 700; background: var(--rubber); color: var(--amber); padding: .25rem .55rem; border-radius: 4px; }
.ticket-head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: .9rem 0; font-size: .92rem; }
.ticket-head b { font-family: var(--font-display); font-stretch: 120%; font-weight: 800; }
.ticket-photo { width: 100%; height: auto; }
.ticket-lines { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: .95rem; }
.ticket-lines th { text-align: left; font-weight: 400; padding: .45rem 0; border-bottom: 1px dashed #b9b4a8; }
.ticket-lines td { text-align: right; padding: .45rem 0; border-bottom: 1px dashed #b9b4a8; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ticket-lines .total th, .ticket-lines .total td { font-weight: 700; border-bottom: 0; padding-top: .7rem; font-size: 1.1rem; }
.ticket-foot { margin-top: .8rem; font-size: .9rem; color: #45474c; }
@media (min-width: 900px) {
  .quote { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; }
  .ticket { margin-top: -3rem; }
}

/* ---------- tracker ---------- */
.track {
  margin: clamp(3rem, 8vw, 6rem) var(--gutter); padding: clamp(1.25rem, 4vw, 3rem);
  background: var(--panel); border: 1px solid var(--line); border-radius: 22px;
  display: grid; gap: 2.5rem; position: relative; z-index: 2;
}
.track-form > p:not(.demo-flag):not(.hint):not(.try) { margin-top: 1rem; color: #cfcbc2; max-width: 30rem; }
.demo-flag {
  margin-top: 1rem; padding: .6rem .8rem; border-radius: 8px; font-size: .9rem;
  background: rgba(244,162,27,.1); color: #ffd28a; border: 1px dashed rgba(244,162,27,.5); max-width: 30rem;
}
.track form { margin-top: 1.5rem; display: grid; gap: .6rem; max-width: 22rem; }
.plate-label { font-weight: 700; }
.plate {
  background: #f4f3ef; border-radius: 8px; padding: .35rem .5rem .5rem; box-shadow: inset 0 0 0 3px #c9c6bd;
}
.plate-band { display: block; background: var(--plate-blue); color: #fff; font-size: .62rem; letter-spacing: .12em; text-align: center; border-radius: 3px; padding: .15rem 0; font-weight: 700; }
.plate input {
  width: 100%; border: 0; background: transparent; color: #17181c; text-align: center; text-transform: uppercase;
  font-family: var(--font-display); font-stretch: 78%; font-weight: 800; font-size: clamp(2.2rem, 9vw, 3rem); letter-spacing: .08em;
  padding: .1rem 0 0; min-height: 56px;
}
.plate input::placeholder { color: #b5b2aa; }
.plate input:focus-visible { outline: none; }
.plate:focus-within { outline: 3px solid var(--amber); outline-offset: 3px; }
.hint { color: var(--muted); font-size: .88rem; }
.hint.is-error { color: #ffb38a; }
.try { margin-top: 1.2rem; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; color: var(--muted); font-size: .9rem; }
.chip { min-height: 44px; padding: 0 .8rem; border-radius: 8px; border: 1px solid var(--line); background: var(--rubber); cursor: pointer; font-family: var(--font-display); font-stretch: 80%; font-weight: 700; letter-spacing: .04em; }
.chip:hover { border-color: var(--muted); }

.track-out { background: var(--rubber); border-radius: 16px; border: 1px solid var(--line); padding: 1.4rem; min-height: 20rem; }
.track-empty { color: var(--muted); height: 100%; display: grid; place-items: center; text-align: center; min-height: 17rem; }
.job-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; align-items: baseline; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.job-head b { font-family: var(--font-display); font-stretch: 78%; font-weight: 800; font-size: 1.6rem; letter-spacing: .06em; }
.job-head span { color: var(--muted); }
.job-what { margin: .9rem 0 1.1rem; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  position: relative; display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0 .55rem 2rem; color: #6e7177;
  opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease);
  transition-delay: calc(var(--i) * 70ms);
}
.job.is-in .timeline li { opacity: 1; transform: none; }
.timeline li::before { content: ""; position: absolute; left: .3rem; top: 1rem; width: .7rem; height: .7rem; border-radius: 50%; border: 2px solid #4a4d54; background: var(--rubber); }
.timeline li::after { content: ""; position: absolute; left: .62rem; top: 1.85rem; bottom: -.55rem; width: 2px; background: #33363d; }
.timeline li:last-child::after { display: none; }
.timeline li.done { color: var(--paper); }
.timeline li.done::before { background: var(--ok); border-color: var(--ok); }
.timeline li.done::after { background: var(--ok); }
.timeline li.now { color: var(--paper); font-weight: 700; }
.timeline li.now::before { background: var(--amber); border-color: var(--amber); animation: lamp 1.6s ease-in-out infinite; }
.t-time { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 400; white-space: nowrap; }
@keyframes lamp { 50% { box-shadow: 0 0 0 7px rgba(244,162,27,.2); } }
@media (min-width: 900px) { .track { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; } }

/* ---------- visit + book ---------- */
.visit { padding: clamp(3rem, 8vw, 6rem) var(--gutter); display: grid; gap: 3rem; position: relative; z-index: 2; }
.visit address { font-style: normal; font-size: 1.3rem; margin-top: 1.25rem; font-weight: 500; }
.visit-info > p { margin-top: .8rem; color: #cfcbc2; max-width: 30rem; }
.hours { margin-top: 1.5rem; border-collapse: collapse; width: 100%; max-width: 30rem; }
.hours caption { text-align: left; font-weight: 700; padding-bottom: .4rem; }
.hours th, .hours td { padding: .55rem 0; border-top: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.map { margin-top: 1.75rem; width: 100%; max-width: 30rem; height: auto; }
.book { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1rem; align-content: start; }
.book h3 { font-size: 1.7rem; font-stretch: 110%; }
.book .demo-flag { margin-top: 0; }
.book label { display: grid; gap: .35rem; font-weight: 500; font-size: .95rem; }
.book input, .book select {
  min-height: 48px; padding: 0 .8rem; border-radius: 10px; border: 1px solid var(--line); background: var(--rubber);
}
.book input::placeholder { color: #7d8085; }
.book select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(-45deg, transparent 50%, var(--muted) 50%); background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2rem; }
.book-send { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .25rem; }
@media (min-width: 900px) { .visit { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }

/* ---------- footer ---------- */
.foot { padding: 3rem var(--gutter) 3.5rem; border-top: 1px solid var(--line); display: grid; gap: .6rem; color: var(--muted); position: relative; z-index: 2; background: var(--rubber); }
.foot-name { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: clamp(2.5rem, 10vw, 6rem); color: var(--paper); line-height: 1; letter-spacing: -.02em; }
.foot-contact { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.foot a { min-height: 44px; display: inline-flex; align-items: center; color: var(--paper); }

/* ---------- 404 ---------- */
.lost { min-height: 70vh; padding: 4rem var(--gutter); display: grid; align-content: center; gap: 1.25rem; }
.lost h1 { font-stretch: 115%; font-size: clamp(2.4rem, 8vw, 5rem); line-height: 1; max-width: 14ch; }
.lost p { color: #cfcbc2; max-width: 30rem; }
.lost svg { width: 160px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
.no-3d .chapter-num { display: none; }
.bar > .langs:nth-child(2) { margin-left: auto; } /* 404 page: no nav */
