/* Dutch Kills Motor Works v2: Repair Order Feed. Carbon black, colour photos, one carbon-copy blue.
   Type (2026-10-21 pass 2): one family, Saira. Display is Saira Black Italic, the 12 degree slant of a race livery and a pit
   board; prices and the estimate are set in it too. Text is Saira upright with tabular figures. */
@font-face { font-family: 'DK Display'; src: url(fonts/display.woff2) format('woff2'); font-weight: 700 900; font-style: normal; font-display: swap;
  ascent-override: 80%; descent-override: 12%; line-gap-override: 0%; /* box hugs the caps so stacked lines never overlap */ }
@font-face { font-family: 'Saira'; src: url(fonts/saira.woff2) format('woff2'); font-weight: 400 700; font-display: swap; }

:root {
  --ink: #0B0C0E;
  --ink2: #15171B;
  --ink3: #23262C;
  --chalk: #EEEDE8;
  --dim: #A6A7A2;
  --blue: #3B55FF;
  --blue-d: #2A40E6;
  --blue-t: #8293FF;
  --paper: #F2F0E8;
  --pink: #15171C;
  --pdim: #4A4C52;
  --gut: 16px;
  --dock-h: 68px;
  --ro-w: 400px;
  --f13: 14px; --f16: 16px; --f20: 20px; --f28: 28px;
  --d2: clamp(34px, 10vw, 46px);
  --d1: clamp(40px, calc((100vw - 32px) / 7.7), 64px);
  --slant: -12deg;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}
@media (min-width: 900px), (min-width: 700px) and (orientation: landscape) {
  :root { --gut: 32px; --dock-h: 72px; --ro-w: 360px; --d2: clamp(44px, 4.6vw, 72px); --d1: clamp(56px, calc(50vw / 7.6), 128px); }
}
@media (min-width: 1280px) { :root { --gut: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); overscroll-behavior-y: none; -webkit-text-size-adjust: 100%; scroll-padding-top: 0; }
body {
  margin: 0; background: var(--ink); color: var(--chalk); overscroll-behavior-y: none;
  font: 400 var(--f16)/1.5 'Saira', system-ui, sans-serif; font-feature-settings: 'tnum' 1;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom));
}
::selection { background: transparent; color: var(--blue-t); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--blue-t); outline-offset: 3px; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
p, li, figcaption, blockquote { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
ul, ol { padding: 0; list-style: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 50; background: var(--chalk); color: var(--ink); padding: 12px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 16px; }

.kick { font-size: var(--f13); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-t); }
.lead { font-size: var(--f20); line-height: 1.45; max-width: 34em; }
.note { font-size: var(--f13); color: var(--dim); }
.mark, .job-h, .more-h, .yes-h, .war-h .big, .bays-h, .said-h, .visit-h, .ft-name, .mj h3, .pit {
  font-family: 'DK Display', 'Saira', sans-serif; font-weight: 900; text-transform: uppercase; letter-spacing: -.005em;
  padding-right: .12em; /* the slant carries the last letter past its box */
}
.pit { text-transform: none; letter-spacing: 0; padding-right: .06em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px;
  font-size: var(--f16); font-weight: 600; line-height: 1.2; text-decoration: none; text-align: center;
  border: 2px solid transparent; border-radius: 0; background: none; cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; flex: none; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-d); }
.btn--line { border-color: var(--chalk); color: var(--chalk); }
.btn--line:hover { background: var(--chalk); color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--chalk); }
.btn--add .add-off { display: none; }
.btn--add[aria-pressed="true"] { background: transparent; border-color: var(--blue-t); color: var(--chalk); }
.btn--add[aria-pressed="true"] .add-on { display: none; }
.btn--add[aria-pressed="true"] .add-off { display: inline; }
.btn--add[aria-pressed="true"] .add-off::before { content: ''; display: inline-block; width: 10px; height: 6px; margin: 0 10px 4px 0; border: solid var(--blue-t); border-width: 0 0 2px 2px; transform: rotate(-45deg); }

/* ---------- header (scrolls away with the stage) ---------- */
.hd { position: absolute; top: 0; left: 0; right: 0; z-index: 6; display: flex; align-items: center; gap: 8px; padding: 12px var(--gut); pointer-events: none; }
.hd > * { pointer-events: auto; }
.hd-name { display: flex; align-items: center; min-height: 44px; padding: 0 10px; background: var(--ink); text-decoration: none; }
.hd-word { font-size: var(--f13); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.hd-tag { display: inline-flex; align-items: center; padding: 3px 7px; border: 1px solid currentColor; font-size: var(--f13); font-weight: 600; line-height: 1.2; background: var(--ink); color: var(--chalk); }
.hd-call { margin-left: auto; display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 44px; min-height: 44px; padding: 0 12px; background: var(--ink); text-decoration: none; font-size: var(--f16); font-weight: 600; }
.hd-call svg { width: 18px; height: 18px; fill: var(--chalk); }
.hd-call span { display: none; }
@media (min-width: 600px) { .hd-call span { display: inline; } }
@media (max-width: 399px) { .hd-word { letter-spacing: .03em; } .hd { gap: 6px; } }
@media (max-width: 374px) { .hd-w2 { display: none; } }

/* ---------- stage ---------- */
.stage { position: relative; display: grid; grid-template-columns: 100%; grid-template-rows: max(380px, calc(var(--app-h, 100svh) * .6)) auto; }
.stage-ph { grid-area: 1 / 1; position: relative; overflow: hidden; }
.stage-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.stage-h1 { grid-area: 1 / 1; align-self: end; position: relative; z-index: 2; padding: 0 var(--gut) 20px; pointer-events: none; }
.mark { display: block; font-size: var(--d1); line-height: .92; }
.kicker { display: block; margin-top: max(16px, calc(var(--d1) * .3)); font-size: var(--f16); font-weight: 600; line-height: 1.35; max-width: 22em; }
.ro { position: relative; background: var(--paper); color: var(--pink); }
.ro--stage { grid-area: 2 / 1; margin: 16px var(--gut) 0; padding: 16px; }
.ro-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 12px; white-space: nowrap; padding-bottom: 12px; border-bottom: 1px dashed rgba(21, 23, 28, .4); font-size: var(--f13); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.ro-top .live { display: inline-flex; align-items: center; gap: 8px; letter-spacing: 0; text-transform: none; color: var(--blue); }
.dot { width: 8px; height: 8px; background: currentColor; display: inline-block; flex: none; }
.ro-offer { margin-top: 14px; font-size: var(--f20); font-weight: 500; line-height: 1.3; }
.ro-acts { display: flex; gap: 8px; margin-top: 16px; }
.ro-acts .btn--blue { flex: 1 1 auto; }
.ro .btn--line { border-color: var(--pink); color: var(--pink); }
.ro .btn--line:hover { background: var(--pink); color: var(--paper); }
.ro .btn--line .wide { display: none; }
.ro-rate { margin-top: 12px; font-size: var(--f13); color: var(--pdim); }
.ro-hint { display: none; }

@media (min-width: 400px) { .ro .btn--line .wide { display: inline; } }
@media (max-width: 399px) { .ro-acts .btn { padding: 0 14px; } .ro-acts .btn svg { display: none; } }

@media (min-width: 900px), (min-width: 700px) and (orientation: landscape) {
  .stage { grid-template-columns: 1fr var(--ro-w); grid-template-rows: 100%; height: var(--app-h, 100svh); min-height: 600px; column-gap: var(--gut); }
  .stage-ph { grid-area: 1 / 1 / 2 / 3; }
  .stage-ph img { object-position: 46% 40%; }
  .stage-h1 { grid-area: 1 / 1; padding: 0 0 var(--gut) var(--gut); }
  .kicker { font-size: var(--f20); }
  .ro--stage { grid-area: 1 / 2; align-self: end; margin: 96px var(--gut) var(--gut) 0; padding: 20px 24px 22px; }
  .ro-hint { display: block; margin-top: 4px; font-size: var(--f13); color: var(--pdim); }
  .ro-acts { flex-direction: column; }
  .ro .btn--line .wide { display: inline; }
}
@media (orientation: landscape) and (max-height: 500px) {
  .ro-hint, .ro-rate { display: none; }
  .ro-offer { font-size: var(--f16); }
  .stage { min-height: 360px; }
  .kicker { margin-top: 12px; font-size: var(--f16); }
}

/* ---------- job chapters ---------- */
.job { position: relative; background: var(--ink); }
.job-ph { display: block; height: max(340px, calc(var(--app-h, 100svh) * .56)); overflow: hidden; }
.job-ph img { width: 100%; height: 100%; object-fit: cover; }
.job-card { position: relative; padding: 28px var(--gut) 56px; border-top: 4px solid var(--blue); }
.job-no { font-size: var(--f13); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-t); }
.job-h { font-size: var(--d2); line-height: .9; max-width: 10em; }
.job-price { margin-top: max(18px, calc(var(--d2) * .34)); font-size: var(--f20); line-height: 1.35; }
.job-price b { font-size: var(--f28); font-weight: 900; color: var(--chalk); }
.split { display: flex; height: 6px; margin-top: 18px; max-width: 420px; }
.split-p { width: calc(var(--p) * 1%); background: var(--blue); }
.split-l { flex: 1; background: var(--chalk); opacity: .85; }
.split-k { display: flex; justify-content: space-between; gap: 16px; max-width: 420px; margin-top: 12px; font-size: var(--f13); color: var(--dim); }
.job-inc { margin-top: 22px; display: grid; gap: 8px; max-width: 32em; }
.job-inc li { position: relative; padding-left: 20px; }
.job-inc li::before { content: ''; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; background: var(--blue); }
.said-one { margin-top: 24px; padding-left: 16px; border-left: 2px solid var(--blue); max-width: 32em; }
.said-one p { font-size: var(--f20); line-height: 1.35; }
.said-one p::before { content: '\201C'; } .said-one p::after { content: '\201D'; }
.said-one footer { margin-top: 8px; font-size: var(--f13); color: var(--dim); }
.ba { margin-top: 24px; max-width: 420px; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ba-one { position: relative; }
.ba-one img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.ba-tag { position: absolute; left: 8px; top: 8px; padding: 2px 6px; background: var(--ink); font-size: var(--f13); font-weight: 600; }
.ba figcaption { margin-top: 12px; }
.ba q { display: block; font-size: var(--f16); font-weight: 500; quotes: '\201C' '\201D'; }
.ba .src { display: block; margin-top: 6px; font-size: var(--f13); color: var(--dim); }
.job-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.job-acts .btn { flex: 1 1 200px; }

@media (min-width: 900px), (min-width: 700px) and (orientation: landscape) {
  .job { min-height: max(calc(var(--app-h, 100svh) - var(--dock-h)), 600px); display: flex; align-items: flex-end; padding: var(--gut); }
  .job-ph { position: absolute; inset: 0; height: auto; }
  .job-card { width: min(580px, 52vw); padding: 28px 36px 32px; background: var(--ink); }
  .job-card--wide { width: min(1000px, 100%); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); column-gap: 40px; align-content: start; }
  .job-card--wide > * { grid-column: 1; }
  .job-card--wide > .ba { grid-column: 2; grid-row: 1 / span 6; align-self: end; margin-top: 0; max-width: none; }
  .job-inc { margin-top: 18px; gap: 6px; }
  .said-one, .ba { margin-top: 20px; }
  .job-acts { margin-top: 24px; }
  .job--r { justify-content: flex-end; }
  .job-acts .btn { flex: 0 1 auto; }
}
@media (orientation: landscape) and (max-height: 500px) {
  .job { min-height: 0; display: block; padding: 0; }
  .job-ph { position: relative; height: 70vh; }
  .job-card { width: auto; }
}

/* ---------- more jobs ---------- */
.more { padding: 72px var(--gut) 80px; border-top: 4px solid var(--blue); }
.more-h { font-size: var(--d2); line-height: .92; max-width: 11em; }
.more-row { display: grid; gap: 40px; margin-top: max(32px, calc(var(--d2) * .5)); }
.mj img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.mj h3 { margin-top: 18px; font-size: var(--f28); line-height: 1; }
.mj-p { margin-top: 12px; font-size: var(--f20); }
.mj-p b { font-size: var(--f28); font-weight: 900; }
.mj p:not(.mj-p) { margin-top: 6px; color: var(--dim); }
.mj .btn { margin-top: 18px; width: 100%; }
.more-note { margin-top: 32px; font-size: var(--f13); color: var(--dim); }
@media (min-width: 760px) { .more-row { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* ---------- yes ---------- */
.yes { display: grid; background: var(--ink2); }
.yes-ph, .visit-ph { overflow: hidden; }
.yes-ph img { width: 100%; height: 100%; max-height: 70vh; object-fit: cover; }
.yes-txt { padding: 56px var(--gut) 72px; }
.yes-h { font-size: var(--d2); line-height: .92; max-width: 8em; }
.yes .lead { margin-top: max(18px, calc(var(--d2) * .3)); }
.sms { display: grid; gap: 10px; margin-top: 32px; max-width: 440px; }
.sms li { max-width: 86%; padding: 12px 14px; background: var(--ink3); line-height: 1.4; }
.sms li.out { justify-self: end; background: var(--blue); color: #fff; }
.sms .t { display: block; margin-bottom: 4px; font-size: var(--f13); color: var(--dim); }
.sms li.out .t { color: #E3E7FF; }
.yes .note { margin-top: 14px; }
@media (min-width: 900px) {
  .yes { grid-template-columns: 5fr 6fr; min-height: var(--app-h, 100svh); }
  .yes-ph, .visit-ph { overflow: hidden; }
.yes-ph img { max-height: none; }
  .yes-txt { align-self: center; padding: 80px var(--gut) 80px 64px; }
}

/* ---------- warranty ---------- */
.war { background: var(--ink); }
.war-txt { padding: 72px var(--gut) 64px; }
.war-h .kick { display: block; }
.war-h .big { display: block; font-size: var(--d2); line-height: .94; }
@media (min-width: 900px) { .war-h .big { font-size: clamp(56px, 6.2vw, 120px); } }
.war-h .big:nth-of-type(2) { color: var(--blue-t); }
.war-p { margin-top: 28px; font-size: var(--f20); line-height: 1.45; max-width: 32em; }
.war .note { margin-top: 12px; }
.war-ph { display: block; height: max(300px, calc(var(--app-h, 100svh) * .55)); overflow: hidden; order: 2; }
.war-ph img { width: 100%; height: 100%; object-fit: cover; }
.war { display: flex; flex-direction: column; }
.war-txt { order: 1; }
@media (min-width: 900px) {
  .war { position: relative; min-height: max(var(--app-h, 100svh), 720px); justify-content: center; }
  .war-ph { position: absolute; inset: 0; height: auto; }
  .war-txt { position: relative; z-index: 1; padding: 96px var(--gut); max-width: 62vw; }
}

/* ---------- bay board ---------- */
.bays { padding: 80px var(--gut); border-top: 4px solid var(--blue); }
.bays-h { font-size: var(--d2); line-height: .9; max-width: 15em; }
.bays .lead { margin-top: max(18px, calc(var(--d2) * .3)); }
.board { display: grid; gap: 20px; margin-top: 40px; }
.day { display: grid; gap: 10px; align-content: start; }
.day-h { font-size: var(--f13); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.day-h b { color: var(--chalk); }
.day-s { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.slot { white-space: nowrap; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 52px; padding: 4px 2px; border: 1px solid #3A3D44; background: none; cursor: pointer; font-size: var(--f13); font-weight: 600; line-height: 1.25; transition: background-color .15s var(--ease), border-color .15s var(--ease); }
.slot small { display: none; font-size: var(--f13); font-weight: 400; color: var(--dim); }
.slot:hover { background: var(--blue); border-color: var(--blue); }
.slot:hover small { color: #E3E7FF; }
.drop { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--ink3); }
.drop li { color: var(--dim); }
.drop b { display: block; margin-bottom: 4px; color: var(--chalk); font-weight: 600; }
@media (min-width: 900px) {
  .board { grid-template-columns: repeat(6, 1fr); gap: 12px; }
  .day-s { grid-template-columns: 1fr; gap: 8px; }
  .slot { font-size: var(--f16); min-height: 64px; }
  .slot small { display: block; }
  .drop { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

/* ---------- reviews ---------- */
.said { padding: 80px var(--gut); background: var(--ink2); }
.said-h { font-size: var(--d2); line-height: .92; }
.said-rate { margin-top: max(18px, calc(var(--d2) * .3)); font-size: var(--f16); }
.said-row { display: grid; gap: 32px; margin-top: 40px; }
.said-row blockquote { padding-top: 18px; border-top: 2px solid var(--blue); }
.said-row p { font-size: var(--f20); line-height: 1.4; }
.said-row p::before { content: '\201C'; } .said-row p::after { content: '\201D'; }
.said-row footer { margin-top: 12px; font-size: var(--f13); color: var(--dim); }
.said-foot { display: grid; gap: 20px; margin-top: 40px; justify-items: start; }
@media (min-width: 900px) {
  .said-row { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .said-foot { grid-template-columns: 1fr auto; align-items: center; }
}

/* ---------- visit ---------- */
.visit { display: grid; background: var(--ink); }
.visit-ph img { width: 100%; height: 100%; max-height: 64vh; object-fit: cover; object-position: 50% 70%; }
.visit-txt { padding: 56px var(--gut) 72px; }
.visit-h { font-size: var(--d2); line-height: .92; max-width: 8em; }
.visit-open { display: flex; align-items: center; gap: 10px; margin-top: max(18px, calc(var(--d2) * .3)); font-size: var(--f20); color: var(--blue-t); }
.hours { width: 100%; max-width: 440px; margin-top: 24px; border-collapse: collapse; }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px solid var(--ink3); text-align: left; font-weight: 400; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--blue-t); font-weight: 600; }
.addr { margin-top: 28px; font-style: normal; font-size: var(--f20); line-height: 1.4; }
.visit-p { margin-top: 10px; color: var(--dim); max-width: 32em; }
.visit-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
@media (min-width: 900px) {
  .visit { grid-template-columns: 5fr 6fr; }
  .visit-ph img { max-height: none; }
  .visit-txt { padding: 88px var(--gut) 88px 64px; }
}

/* ---------- footer ---------- */
.ft { padding: 64px var(--gut) 40px; }
.ft-name { font-size: var(--d2); line-height: .92; max-width: 7em; }
.ft-p { margin-top: max(18px, calc(var(--d2) * .3)); max-width: 40em; color: var(--dim); }
.ft-p .hd-tag { margin-right: 8px; }
.ft-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 18px; }
.ft-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-underline-offset: 4px; }

/* ---------- dock: the repair order on screen ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 8px;
  padding: 8px var(--gut) calc(8px + env(safe-area-inset-bottom)); background: var(--ink); border-top: 1px solid var(--ink3);
  transform: translateY(110%); transition: transform .26s var(--ease); visibility: hidden;
}
.dock.is-on { transform: none; visibility: visible; }
.rail { display: none; }
.dock-ro { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 52px; min-width: 0; padding: 0 4px; background: none; border: 0; text-align: left; cursor: pointer; }
.dock-l { font-size: var(--f13); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-t); }
.dock-v { font-size: var(--f16); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.dock-call { display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 52px; min-height: 52px; border: 1px solid #3A3D44; text-decoration: none; font-weight: 600; }
.dock-call svg { width: 18px; height: 18px; fill: var(--chalk); }
.dock-calltx, .dock-book .wide { display: none; }
.dock-book { padding: 0 20px; gap: 0; }
.dock-ro.is-bump .dock-v { color: var(--blue-t); }
@media (min-width: 1024px) {
  .dock { grid-template-columns: auto 1fr auto auto; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
  .rail { display: flex; align-self: stretch; margin: -10px 0; }
  .rail a { position: relative; display: flex; align-items: center; padding: 0 12px; min-height: 44px; font-size: var(--f13); font-weight: 600; text-decoration: none; color: var(--dim); }
  .rail a i { position: absolute; left: 12px; right: 12px; top: 0; height: 3px; background: var(--ink3); transition: background-color .2s var(--ease); }
  .rail a.is-cur { color: var(--chalk); }
  .rail a.is-cur i { background: var(--chalk); }
  .rail a.is-add i { background: var(--blue); }
  .rail a:hover { color: var(--chalk); }
  .dock-ro { flex-direction: row; align-items: center; gap: 14px; padding: 0 16px; border-left: 1px solid var(--ink3); }
  .dock-call { padding: 0 16px; }
  .dock-calltx, .dock-book .wide { display: inline; }
}

/* ---------- ticket dialog ---------- */
.ticket { color-scheme: light; width: 100%; max-width: 100%; height: var(--app-h, 100%); max-height: none; margin: 0; padding: 0; border: 0; background: var(--paper); color: var(--pink); overscroll-behavior: contain; }
.ticket::backdrop { background: rgba(5, 6, 8, .72); }
.ticket[open] { display: block; }
.tk { height: 100%; overflow-y: auto; overscroll-behavior: contain; }
.tk-top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 20px; background: var(--paper); border-bottom: 1px dashed rgba(21, 23, 28, .4); }
.tk-h { font-size: var(--f13); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tk-h .num { margin-left: 10px; color: var(--blue); }
.tk-x { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
.tk-x svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; fill: none; }
.tk-body { padding: 8px 20px 40px; }
.tk-sec { margin: 0; padding: 22px 0; border: 0; border-bottom: 1px dashed rgba(21, 23, 28, .3); min-width: 0; }
.tk-sec legend { padding: 0; float: left; width: 100%; margin-bottom: 14px; font-size: var(--f13); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.tk-jobs { display: grid; gap: 6px; clear: both; }
.opt { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 12px; border: 1px solid rgba(21, 23, 28, .25); cursor: pointer; background: #FBFAF6; }
.opt input { width: 20px; height: 20px; margin: 0; accent-color: var(--blue); flex: none; }
.opt span { display: flex; flex-direction: column; flex: 1; min-width: 0; font-size: var(--f13); color: var(--pdim); }
.opt span b { font-size: var(--f16); font-weight: 600; color: var(--pink); }
.opt .pr { flex: none; font-size: var(--f16); font-weight: 600; color: var(--pink); }
.opt:has(input:checked) { border-color: var(--blue); box-shadow: inset 4px 0 0 var(--blue); }
.tk-est { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 16px; font-size: var(--f13); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.tk-est b { font-size: var(--f20); letter-spacing: 0; text-transform: none; color: var(--blue); }
.tk-fine { margin-top: 8px; font-size: var(--f13); color: var(--pdim); }
.tk-car { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; clear: both; }
.tk-car label { display: grid; gap: 6px; font-size: var(--f13); font-weight: 600; }
.tk-car label.w { grid-column: 1 / -1; }
.tk-car em { font-style: normal; font-weight: 400; color: var(--pdim); }
.tk-car select, .tk-car input { width: 100%; height: 50px; padding: 0 12px; border: 1px solid rgba(21, 23, 28, .45); border-radius: 0; background: #fff; color: var(--pink); font: 400 var(--f16) 'Saira', sans-serif; }
.tk-car select:focus-visible, .tk-car input:focus-visible { outline: 2px solid var(--blue); outline-offset: 0; }
.tk-days { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; clear: both; }
.tk-days button { min-height: 52px; padding: 4px 0; border: 1px solid rgba(21, 23, 28, .25); background: #FBFAF6; font-size: var(--f13); font-weight: 600; line-height: 1.25; cursor: pointer; }
.tk-days button[aria-selected="true"] { background: var(--pink); color: var(--paper); border-color: var(--pink); }
.tk-times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.tk-times button { min-height: 48px; border: 1px solid rgba(21, 23, 28, .25); background: #FBFAF6; font-size: var(--f16); font-weight: 600; cursor: pointer; }
.tk-times button[aria-checked="true"] { background: var(--blue); color: #fff; border-color: var(--blue); }
.tk-times button:disabled { opacity: .35; cursor: default; text-decoration: line-through; }
.tk-leave { display: grid; gap: 6px; clear: both; }
.tk-leave .opt input[disabled] + span { opacity: .45; }
.tk-err { min-height: 1.5em; margin-top: 14px; font-size: var(--f13); font-weight: 600; color: #B3261E; }
.tk-go { width: 100%; margin-top: 6px; }
.tk-done { padding: 32px 20px 48px; display: grid; gap: 14px; justify-items: start; }
.tk-done[hidden] { display: none; }
.tk-stamp { padding: 4px 10px; border: 2px solid var(--blue); color: var(--blue); font-size: var(--f13); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.tk-big { font-size: var(--f28); font-weight: 600; line-height: 1.2; }
.tk-sum { font-size: var(--f16); line-height: 1.5; }
.tk-done .btn { width: 100%; }
@media (min-width: 640px) {
  .ticket { width: 520px; margin: 0 0 0 auto; }
}

/* ---------- motion ---------- */
@keyframes dk-x { from { opacity: 0; transform: translateX(-56px) skewX(-10deg); } to { opacity: 1; transform: none; } }
@keyframes dk-y { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes dk-zoom { from { transform: scale(1.08); } to { transform: none; } }
html.motion .stage-ph img { animation: dk-zoom .6s cubic-bezier(.16, 1, .3, 1) both; }
html.motion .stage-h1 .mark { animation: dk-x .34s cubic-bezier(.16, 1, .3, 1) .05s both; }
html.motion .stage-h1 .mark + .mark { animation-delay: .12s; }
html.motion .stage-h1 .kicker { animation: dk-y .3s cubic-bezier(.16, 1, .3, 1) .2s both; }
html.motion .ro--stage { animation: dk-y .36s cubic-bezier(.16, 1, .3, 1) .14s both; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* narrow phones */
@media (max-width: 399px) { .job-price { font-size: var(--f16); } }
@media (max-width: 359px) { .day-s { grid-template-columns: repeat(2, 1fr); } }
@media (orientation: landscape) and (max-height: 500px) { .stage-ph img { object-position: 60% 0%; } }
