/* VKU Trans – industrial hazard theme. Square edges, safety yellow, condensed type. */
:root {
  --black: #0E0E0E;
  --asphalt: #161616;
  --steel: #222222;
  --steel-2: #2E2E2E;
  --line-dark: #3A3A3A;
  --yellow: #FFC400;
  --yellow-deep: #E6AF00;
  --concrete: #E9E7E2;
  --concrete-2: #DAD7D0;
  --white: #F7F6F2;
  --ink: #111111;
  --ink-soft: #3B3B3B;
  --grey: #A3A3A3;
  --danger: #FF5A3C;
  --danger-ink: #B3261E;
  --wrap: 1240px;
  --display: "Anton", "Impact", "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --hazard: repeating-linear-gradient(-45deg, var(--yellow) 0 18px, var(--black) 18px 36px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 120px; }
body { margin: 0; background: var(--black); color: var(--white); font-family: var(--body); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--yellow); text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.05; }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.25; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.section--concrete :focus-visible, .ticket :focus-visible, .hero__band :focus-visible { outline-color: var(--black); }
.icon { width: 1.2em; height: 1.2em; flex: none; }
.mono { font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.small { font-size: .9rem; }
.muted { opacity: .75; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--yellow); color: var(--black); padding: 8px 14px; font-weight: 700; }
.skip-link:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* Type */
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.2rem, 5.5vw, 4rem); line-height: .98; letter-spacing: .01em; }
.display--xl { font-size: clamp(3.5rem, 14vw, 9rem); }
.kicker { color: var(--yellow); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 28px; height: 3px; background: currentColor; }
.lead { font-size: 1.15rem; max-width: 62ch; }
.u-yellow { color: var(--yellow); }
.u-yellow-mark { background: var(--yellow); color: var(--black); padding: 0 .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* Buttons – square blocks with an offset shadow */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; padding: .85em 1.4em; border: 3px solid transparent; border-radius: 0;
  font: 700 1rem/1.1 var(--body); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .12s, box-shadow .12s, background .12s, color .12s; }
.btn--yellow { background: var(--yellow); color: var(--black); border-color: var(--yellow); box-shadow: 5px 5px 0 var(--white); }
.btn--yellow:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--white); color: var(--black); }
.btn--black { background: var(--black); color: var(--yellow); border-color: var(--black); box-shadow: 5px 5px 0 var(--yellow-deep); }
.section--concrete .btn--black, .ticket .btn--black { box-shadow: 5px 5px 0 var(--yellow); }
.btn--black:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--yellow); color: var(--yellow); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--black); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 currentColor; }
.btn--sm { padding: .55em .9em; font-size: .85rem; box-shadow: 3px 3px 0 var(--white); }
.btn--lg { padding: 1em 1.7em; font-size: 1.05rem; }
.btn--block { width: 100%; }
@media (max-width: 560px) { .btn { white-space: normal; text-align: center; max-width: 100%; } }

/* Hazard stripes */
.hazard { height: 22px; background: var(--hazard); }
.hazard--thin { height: 10px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 10px, var(--black) 10px 20px); }

/* Top bar + header */
.topbar { background: var(--yellow); color: var(--black); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; }
.topbar__tag { font-weight: 700; }
.topbar__phone { color: var(--black); font-weight: 700; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; font-size: .95rem; }
.topbar__phone:hover { text-decoration: underline; }
@media (max-width: 560px) { .topbar__tag { display: none; } .topbar .wrap { justify-content: center; } }

.header { position: sticky; top: 0; z-index: 50; background: var(--black); border-bottom: 3px solid var(--yellow); }
.header .wrap { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.wordmark { display: inline-flex; align-items: stretch; text-decoration: none; font-family: var(--display); font-size: 1.9rem; line-height: 1; letter-spacing: .02em; flex: none; }
.wordmark__box { background: var(--yellow); color: var(--black); padding: .14em .22em .1em; }
.wordmark__text { color: var(--white); padding: .14em .25em .1em; border: 3px solid var(--yellow); border-left: 0; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { color: var(--white); text-decoration: none; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: .92rem; padding: 10px 12px; display: inline-flex; gap: 6px; align-items: baseline; border-bottom: 3px solid transparent; }
.nav a .mono { color: var(--yellow); font-size: .68rem; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--yellow); color: var(--yellow); }
.nav .nav__quote { margin-left: 12px; color: var(--black); border-bottom: 3px solid var(--yellow); padding: .7em 1.1em; }
.nav .nav__quote:hover { color: var(--black); }
.header__quote, .menu-toggle { display: none; }
.menu-toggle { margin-left: 8px; background: none; border: 3px solid var(--yellow); color: var(--yellow); width: 46px; height: 46px; align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle .icon { width: 24px; height: 24px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1020px) {
  .header__quote { display: inline-flex; margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: fixed; inset: 111px 0 0 0; background: var(--black); flex-direction: column; align-items: stretch; gap: 0; padding: 12px 16px 32px; overflow-y: auto;
    background-image: linear-gradient(var(--black), var(--black)), var(--hazard); background-size: 100% calc(100% - 14px), 100% 100%; background-repeat: no-repeat; }
  .nav.is-open { display: flex; }
  .nav a { font-family: var(--display); font-weight: 400; font-size: 2.2rem; padding: 10px 4px; border-bottom: 1px solid var(--line-dark); }
  .nav a .mono { font-family: var(--mono); font-size: .8rem; }
  .nav .nav__quote { margin: 20px 0 0; font-size: 1.2rem; justify-content: center; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 420px) { .wordmark { font-size: 1.5rem; } .header__quote { font-size: .75rem; padding: .5em .7em; } }

/* Sections */
.section { padding: 88px 0; }
@media (max-width: 720px) { .section { padding: 60px 0; } }
.section--concrete { background: var(--concrete); color: var(--ink); }
.section--concrete .kicker { color: var(--ink); }
.section--concrete a:not(.btn) { color: var(--ink); }
.section--steel { background: var(--asphalt); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.section-head--split .display { margin: 0; }
.link-arrow { color: var(--yellow); text-decoration: none; border-bottom: 2px solid; padding-bottom: 2px; }
.grid-3 { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }

/* Hero */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(.35) contrast(1.1); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(14,14,14,.95) 0%, rgba(14,14,14,.75) 45%, rgba(14,14,14,.25) 100%), linear-gradient(0deg, rgba(14,14,14,.9), transparent 45%); }
.hero__inner { padding-top: 80px; padding-bottom: 48px; }
.hero__title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(3.2rem, 10vw, 8.5rem); line-height: .9; letter-spacing: .005em; max-width: 11ch; margin-bottom: 36px; }
.hero__title span { display: block; color: var(--yellow); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 18px; }
.hero__band { background: var(--hazard); padding: 14px 0; }
.hero__band p { margin: 0; display: inline-block; background: var(--yellow); color: var(--black); font-family: var(--display); text-transform: uppercase; font-size: clamp(1.3rem, 3.4vw, 2.2rem); padding: .15em .5em; line-height: 1.15; border: 3px solid var(--black); }
.hero__band p span { background: var(--black); color: var(--yellow); padding: 0 .25em; }

/* Three doors */
.doors { display: flex; min-height: 560px; border-bottom: 3px solid var(--yellow); }
.door { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; color: var(--white); text-decoration: none; overflow: hidden; isolation: isolate;
  border-right: 3px solid var(--yellow); transition: flex-grow .45s cubic-bezier(.2,.7,.2,1); }
.door:last-child { border-right: 0; }
.door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(1) contrast(1.15) brightness(.7); transition: filter .45s, transform .6s; }
.door::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14,14,14,.95) 10%, rgba(14,14,14,.2) 70%); }
.door__num { color: var(--yellow); font-size: .9rem; }
.door__title { font-family: var(--display); text-transform: uppercase; font-size: clamp(3rem, 6vw, 5.5rem); line-height: .95; }
.door__text { max-width: 34ch; opacity: 0; max-height: 0; transition: opacity .3s, max-height .45s; }
.door__go { display: inline-block; margin-top: 16px; background: var(--yellow); color: var(--black); padding: 8px 12px; align-self: flex-start; font-weight: 700; }
.door:hover, .door:focus-visible { flex-grow: 1.8; }
.door:hover img, .door:focus-visible img { filter: grayscale(0) contrast(1.05) brightness(.85); transform: scale(1.04); }
.door:hover .door__text, .door:focus-visible .door__text { opacity: 1; max-height: 8em; }
.door:focus-visible { outline-offset: -6px; }
@media (max-width: 820px) {
  .doors { flex-direction: column; min-height: 0; }
  .door { min-height: 300px; border-right: 0; border-bottom: 3px solid var(--yellow); }
  .door:last-child { border-bottom: 0; }
  .door__text { opacity: 1; max-height: none; }
  .door img { filter: grayscale(.4) brightness(.75); }
}

/* Ticker */
.ticker { background: var(--yellow); color: var(--black); overflow: hidden; border-bottom: 3px solid var(--black); }
.ticker__track { display: flex; gap: 28px; width: max-content; padding: 14px 0; font-family: var(--display); text-transform: uppercase; font-size: 1.8rem; line-height: 1; animation: ticker 32s linear infinite; }
@keyframes ticker { to { transform: translateX(-33.333%); } }

/* Route */
.route__grid { display: grid; gap: 56px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .route__grid { grid-template-columns: 1fr 1.1fr; align-items: start; } .route__intro { position: sticky; top: 110px; } }
.route__stops { list-style: none; margin: 0; padding: 0 0 0 0; position: relative; }
.route__stops::before { content: ""; position: absolute; left: 31px; top: 10px; bottom: 10px; width: 0; border-left: 4px dashed var(--ink); }
.route__stops li { position: relative; display: flex; gap: 24px; padding: 0 0 40px; }
.route__stops li:last-child { padding-bottom: 0; }
.route__n { flex: none; width: 66px; height: 66px; display: grid; place-items: center; background: var(--black); color: var(--yellow); font-size: 1.1rem; font-weight: 700; position: relative; z-index: 1; border: 3px solid var(--black); }
.route__stops li:last-child .route__n { background: var(--yellow); color: var(--black); }
.route__stops h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 2rem; margin: 6px 0 6px; }
.route__stops p { color: var(--ink-soft); margin: 0; }

/* Coverage */
.coverage__grid { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .coverage__grid { grid-template-columns: 1.1fr 1fr; } }
.towns { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.towns li { border: 2px solid var(--line-dark); padding: 8px 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: .9rem; }
.towns li:first-child { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.towns__more { border-style: dashed !important; color: var(--yellow); border-color: var(--yellow) !important; }

/* Tickets (docket style) */
.ticket { background: var(--white); color: var(--ink); position: relative; border: 3px solid var(--black); box-shadow: 10px 10px 0 var(--yellow); }
.ticket a:not(.btn) { color: var(--ink); }
.ticket__head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; background: var(--black); color: var(--yellow); padding: 10px 18px; font-weight: 700; }
.ticket--cta { display: grid; grid-template-columns: 1fr; }
@media (min-width: 820px) { .ticket--cta { grid-template-columns: 260px 1fr; } }
.ticket__stub { background: var(--yellow); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; border-right: 3px dashed var(--black); font-weight: 700; }
.ticket__stub strong { font-size: 1.8rem; letter-spacing: .04em; }
@media (max-width: 819px) { .ticket__stub { border-right: 0; border-bottom: 3px dashed var(--black); flex-direction: row; flex-wrap: wrap; align-items: center; } .ticket__stub strong { font-size: 1.2rem; } }
.ticket__body { padding: clamp(24px, 4vw, 48px); }
.cta { background: var(--black); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 24px; }
.cta__phone { font-weight: 700; font-size: .9rem; }

/* Page hero */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--asphalt); }
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(.5) contrast(1.1); }
.page-hero:has(.page-hero__img)::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,14,14,.94) 0%, rgba(14,14,14,.7) 55%, rgba(14,14,14,.35)); }
.page-hero__inner { padding-top: clamp(64px, 10vw, 140px); padding-bottom: clamp(48px, 7vw, 96px); }
.page-hero__title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(3rem, 9vw, 7rem); line-height: .92; margin: 0 0 20px; }
.page-hero__title--sm { font-size: clamp(2.4rem, 6vw, 4.6rem); max-width: 18ch; }
.page-hero__lead { font-size: 1.2rem; max-width: 58ch; margin: 0; }
.page-hero--plain { background: var(--black) linear-gradient(transparent 95%, rgba(255,196,0,.06) 95%) 0 0 / 100% 28px; }

/* Services rows */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 56px; }
.jump a { color: var(--white); text-decoration: none; border: 2px solid var(--line-dark); padding: 8px 12px; }
.jump a:hover { border-color: var(--yellow); color: var(--yellow); }
.svc { display: grid; grid-template-columns: 1fr; gap: 28px; padding: 40px 0; border-top: 1px solid var(--line-dark); scroll-margin-top: 100px; }
@media (min-width: 860px) {
  .svc { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
  .svc:nth-child(odd of .svc) .svc__media { order: 2; }
}
.svc > * { min-width: 0; }
.svc__media { position: relative; aspect-ratio: 4 / 3; border: 3px solid var(--yellow); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2) contrast(1.05); }
.svc__num { position: absolute; top: -3px; left: -3px; background: var(--yellow); color: var(--black); padding: 8px 12px; font-size: 1rem; font-weight: 700; }
.svc__title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.8rem, 4vw, 3rem); display: flex; gap: 14px; align-items: center; overflow-wrap: anywhere; }
.svc__title .icon { color: var(--yellow); width: .9em; height: .9em; }
.ticks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 8px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; background: var(--yellow); clip-path: polygon(0 0, 100% 50%, 0 100%); }

/* Facts */
.fact { border: 3px solid var(--ink); padding: 28px; background: var(--white); }
.fact__n { display: inline-block; background: var(--ink); color: var(--yellow); padding: 4px 10px; margin-bottom: 18px; font-weight: 700; }
.fact p { margin: 0; color: var(--ink-soft); }
.facts--dark .fact { background: transparent; border-color: var(--line-dark); }
.facts--dark .fact p { color: var(--grey); }
.facts--dark .fact__n { background: var(--yellow); color: var(--black); }

/* Van picker */
.picker__grid { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .picker__grid { grid-template-columns: 1.15fr 1fr; } }
.sizes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.size { border: 3px solid var(--ink); padding: 10px 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; text-decoration: none; color: var(--ink) !important; background: transparent; }
.size:hover { background: var(--ink); color: var(--yellow) !important; }
.size.is-active, .size.is-active:hover { background: var(--yellow); color: var(--ink) !important; box-shadow: 4px 4px 0 var(--ink); }
.van-card { background: var(--black); color: var(--white); border: 3px solid var(--black); box-shadow: 10px 10px 0 var(--yellow); }
.van-card__head { display: flex; justify-content: space-between; background: var(--yellow); color: var(--black); padding: 10px 18px; font-weight: 700; }
.van-card__rows { margin: 0; padding: 8px 22px; }
.van-card__rows div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--line-dark); align-items: baseline; flex-wrap: wrap; }
.van-card__rows dt { color: var(--grey); }
.van-card__rows dd { margin: 0; font-family: var(--display); text-transform: uppercase; font-size: 1.6rem; line-height: 1.1; color: var(--yellow); text-align: right; }
.van-card__note { padding: 12px 22px 0; font-size: .9rem; color: var(--grey); }
.van-card .btn { margin: 4px 22px 22px; width: calc(100% - 44px); background: var(--yellow); color: var(--black); border-color: var(--yellow); box-shadow: 5px 5px 0 var(--white); }
.van-card.htmx-settling { animation: flash .35s; }
@keyframes flash { from { box-shadow: 10px 10px 0 var(--white); } }

/* FAQ */
.faq__list { display: grid; gap: 10px; max-width: 860px; }
.faq details { border: 2px solid var(--line-dark); }
.faq details[open] { border-color: var(--yellow); }
.faq summary { cursor: pointer; padding: 18px 56px 18px 20px; font-weight: 700; font-size: 1.1rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 1.5rem; color: var(--yellow); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 20px; margin: 0; color: var(--grey); }

/* Logbook */
.tabs { display: flex; gap: 0; margin-bottom: 36px; border: 3px solid var(--yellow); width: fit-content; max-width: 100%; flex-wrap: wrap; }
.tabs a { padding: 12px 20px; color: var(--white); text-decoration: none; font-weight: 700; border-right: 3px solid var(--yellow); }
.tabs a:last-child { border-right: 0; }
.tabs a[aria-current="true"], .tabs a:hover { background: var(--yellow); color: var(--black); }
.pcard { display: flex; flex-direction: column; background: var(--asphalt); border: 2px solid var(--line-dark); text-decoration: none; color: var(--white); transition: border-color .15s, transform .15s; }
.pcard:hover { border-color: var(--yellow); transform: translateY(-4px); }
.pcard__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; display: block; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3); }
.pcard__body { padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.pcard__meta { color: var(--yellow); }
.pcard__title { font-weight: 700; font-size: 1.2rem; line-height: 1.25; }
.pcard__text { color: var(--grey); font-size: .95rem; }
.section--concrete .pcard { color: var(--white); }
.empty { padding: 40px; border: 2px dashed var(--line-dark); text-align: center; }
#logbook-grid.htmx-request { opacity: .5; }

/* Forms */
.form-title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 2rem; }
.form-grid { display: grid; gap: 18px 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field.full, .field:has(textarea), .field:has(input[type=file]), .field:has(.check-line) { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: .95rem; }
.field fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number], .field input[type=date], .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 0; padding: 12px 14px; min-height: 50px; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--yellow); }
.field input[type=file] { font: inherit; padding: 14px; border: 2px dashed var(--ink); background: var(--concrete); width: 100%; }
.req { color: var(--danger-ink); }
.help { font-size: .85rem; color: var(--ink-soft); }
.choice-list { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.choice-list label { display: inline-flex; gap: 8px; align-items: center; border: 2px solid var(--ink); padding: 10px 14px; cursor: pointer; font-weight: 600; background: #fff; }
.choice-list label:has(input:checked) { background: var(--yellow); box-shadow: 3px 3px 0 var(--ink); }
.choice-list input { accent-color: var(--ink); }
.check-line { display: flex; gap: 12px; align-items: flex-start; font-weight: 500 !important; cursor: pointer; }
.check-line input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.errorlist { list-style: none; padding: 0; margin: 0; color: var(--danger-ink); font-weight: 700; font-size: .9rem; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--danger-ink); }
.alert { padding: 14px 18px; margin: 0 0 20px; font-weight: 600; border: 3px solid; }
.alert--error { background: #FFE9E5; color: var(--danger-ink); border-color: var(--danger-ink); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Quote page */
.kind-switch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-bottom: 36px; border: 3px solid var(--ink); background: var(--white); }
.kind { display: flex; flex-direction: column; gap: 2px; padding: 20px; text-decoration: none; color: var(--ink) !important; border-right: 3px solid var(--ink); position: relative; }
.kind:last-child { border-right: 0; }
.kind__n { font-weight: 700; }
.kind__t { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1; }
.kind__d { font-size: .9rem; color: var(--ink-soft); }
.kind:hover { background: var(--concrete-2); }
.kind.is-active { background: var(--yellow); }
.kind.is-active::after { content: ""; position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%); border: 13px solid transparent; border-top-color: var(--ink); border-bottom: 0; }
@media (max-width: 640px) { .kind { padding: 14px 10px; } .kind__d { display: none; } }
.ticket--form { max-width: 980px; }
.ticket__section { border: 0; border-bottom: 2px dashed var(--concrete-2); margin: 0; padding: 28px clamp(18px, 4vw, 40px); min-width: 0; }
.ticket__section > legend { float: left; width: 100%; margin-bottom: 18px; font-weight: 700; color: var(--ink); background: var(--concrete); padding: 6px 10px; }
.ticket__section > legend + * { clear: both; }
.ticket--form .alert { margin: 20px clamp(18px, 4vw, 40px) 0; }
.ticket__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 24px clamp(18px, 4vw, 40px) 32px; }
.ticket__foot p { margin: 0; }
#ticket.htmx-swapping, #ticket.htmx-request { opacity: .6; }

.ticket--done { max-width: 760px; margin: 0 auto; padding-bottom: 36px; }
.ticket--done > :not(.ticket__head) { margin-left: clamp(20px, 5vw, 48px); margin-right: clamp(20px, 5vw, 48px); }
.ticket--done .kicker { margin-top: 36px; color: var(--ink); }
.ticket__no { font-size: clamp(2.4rem, 8vw, 4.5rem); font-weight: 700; background: var(--yellow); display: inline-block; padding: 4px 16px; margin-bottom: 20px; border: 3px solid var(--ink); }
.next-steps { list-style: none; padding: 0; display: grid; gap: 10px; margin: 24px 0; }
.next-steps li { display: flex; gap: 14px; align-items: center; font-weight: 600; }
.next-steps .mono { background: var(--ink); color: var(--yellow); padding: 4px 8px; }

/* Contact */
.contact-grid { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.3fr; } }
.dispatch { display: grid; border: 3px solid var(--ink); background: var(--white); }
.dispatch__row { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; border-bottom: 2px dashed var(--concrete-2); text-decoration: none; color: var(--ink) !important; }
.dispatch__row:last-child { border-bottom: 0; }
a.dispatch__row:hover { background: var(--yellow); }
.dispatch__row strong { font-size: 1.25rem; overflow-wrap: anywhere; }
.panel { background: var(--white); border: 3px solid var(--ink); padding: clamp(20px, 4vw, 40px); box-shadow: 10px 10px 0 var(--yellow); }
.thanks { text-align: left; }
.thanks__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; background: var(--yellow); border: 3px solid var(--ink); margin-bottom: 16px; }
.thanks__icon .icon { width: 28px; height: 28px; }

/* About */
.about-grid { display: grid; gap: 48px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.4fr 1fr; } }
.ticket--record { padding-bottom: 20px; }
.ticket--record > a { margin: 0 22px; display: inline-block; }
.record { margin: 0; padding: 8px 22px 12px; }
.record div { padding: 12px 0; border-bottom: 1px dashed var(--concrete-2); }
.record dt { color: var(--ink-soft); }
.record dd { margin: 2px 0 0; font-weight: 700; }

/* Prose / legal */
.prose { max-width: 820px; }
.prose h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.8rem; margin-top: 1.6em; }
.prose--dark h2.display { margin-top: 0; font-size: clamp(2rem, 4vw, 3rem); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 2px solid var(--ink); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--ink); color: var(--yellow); }
.prose code { font-family: var(--mono); font-size: .85em; }

/* Error page */
.error-page { padding-top: 100px; min-height: 70vh; display: flex; flex-direction: column; justify-content: space-between; gap: 80px; }
.error-page__links { display: flex; flex-wrap: wrap; gap: 14px; }

/* Footer */
.footer { background: var(--black); border-top: 3px solid var(--yellow); }
.footer .wrap { padding-top: 64px; padding-bottom: 28px; }
.footer__motto { font-family: var(--display); text-transform: uppercase; font-size: clamp(2.6rem, 8vw, 6.5rem); line-height: .92; margin: 0 0 56px; color: var(--white); }
.footer__motto span { color: var(--yellow); }
.footer__grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.footer__h { font-family: var(--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--yellow); margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: var(--white); text-decoration: none; }
.footer a:hover { color: var(--yellow); text-decoration: underline; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list .icon { color: var(--yellow); margin-top: 3px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 24px; color: var(--grey); font-size: .7rem; }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer__bottom a { color: var(--grey); }
.footer__credits { margin-top: 14px; color: var(--grey); font-size: .62rem; opacity: .75; }
.footer__credits a { color: var(--grey); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
