/* Tech Parker Appliance Service: the work order.
   One ink (navy) prints the form; the visitor's choices are filled in with the ballpoint blue.
   Palette and contrast are measured in design/tech-parker-appliance.md. */

:root {
  --paper: #F3F6F9;
  --sheet: #FFFFFF;
  --ink: #0B1C3D;
  --steel: #51607A;
  --blue: #1C5FCC;
  --blue-deep: #154DA8;
  --red: #B82D26;
  --navy: #061431;
  --sky: #7CC4F2;
  --rule: #C9D2DE;
  --rule-soft: #E3E8EF;
  --control: #7A889E;
  --tint: #EEF3FB;

  --display: "Sofia Sans Semi Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Sofia Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Fragment Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --sheet-w: 1240px;
  --gut: clamp(20px, 3.4vw, 48px);
  --r: 4px;

  --sa-accent: #1C5FCC;
  --sa-accent-ink: #FFFFFF;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 18px/1.6 var(--body);
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.04; letter-spacing: -0.012em; margin: 0; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(44px, 5.6vw, 78px); font-weight: 500; }
h2 { font-size: clamp(34px, 3.6vw, 52px); }
h3 { font-size: clamp(23px, 1.9vw, 28px); line-height: 1.15; letter-spacing: -0.004em; }
p { margin: 0 0 1em; }
.measure { max-width: 66ch; }
.lede { font-size: clamp(19px, 1.45vw, 21px); line-height: 1.55; color: var(--ink); max-width: 60ch; }
.muted { color: var(--steel); }
.mono { font-family: var(--mono); font-size: 15px; letter-spacing: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--sheet); color: var(--ink); padding: 12px 16px; border: 2px solid var(--blue); border-radius: var(--r); font-weight: 500; }
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- buttons and the phone */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px;
  font: 500 17px/1.1 var(--body); letter-spacing: 0.005em;
  border-radius: var(--r); border: 0; cursor: pointer; text-decoration: none;
  background: var(--blue); color: #fff;
  transition: background-color .16s ease, transform .16s ease;
}
.btn:hover { background: var(--blue-deep); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--ink { background: var(--ink); }
.btn--ink:hover { background: #1B2E57; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--tint); color: var(--ink); }
.btn--small { min-height: 44px; padding: 0 16px; font-size: 16px; }
.tel { font-family: var(--mono); font-size: 16px; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; white-space: nowrap; }
.tel:hover { color: var(--blue); }
.act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.act .or { color: var(--steel); white-space: nowrap; }
.act .or .tel { margin-left: 8px; }

/* ---------------------------------------------------------------- the sheet */
.sheet {
  max-width: var(--sheet-w); margin: 0 auto; background: var(--sheet);
  border-left: 1px solid var(--rule); border-right: 1px solid var(--rule);
  box-shadow: 0 1px 0 var(--rule), 0 30px 60px -40px rgba(11, 28, 61, .22);
}

/* letterhead: the printed band at the top of the form */
.letterhead {
  background: var(--navy); color: #fff;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px;
  padding: 18px var(--gut);
}
.letterhead__logo img { width: 150px; height: auto; }
.letterhead__lines { font-family: var(--mono); font-size: 15px; line-height: 1.75; color: #D9E4F2; }
.letterhead__lines a { color: #fff; text-decoration-color: rgba(255, 255, 255, .45); }
.letterhead__lines a:hover { color: var(--sky); }
.formbox {
  background: #fff; color: var(--ink); border-radius: 2px;
  padding: 12px 16px 10px; min-width: 190px;
  display: grid; gap: 2px; text-align: right;
}
.formbox__title { font-family: var(--mono); font-size: 14px; color: var(--steel); }
.formbox__title .n { display: none; }
.formbox__no { font-family: var(--mono); font-size: 22px; color: var(--red); letter-spacing: .02em; }
.menu-btn { display: none; }

/* the navigation: a ruled row of form cells */
.cells {
  display: flex; align-items: stretch; border-bottom: 1px solid var(--rule);
  background: #fff; position: relative; z-index: 5;
}
.cells ul { display: flex; list-style: none; margin: 0; padding: 0; }
.cells li { display: flex; }
.cells a.cell {
  display: flex; align-items: center; gap: 10px; padding: 0 22px; min-height: 58px;
  color: var(--ink); text-decoration: none; font-size: 17px;
  border-right: 1px solid var(--rule);
}
.cells a.cell::before {
  content: ""; width: 13px; height: 13px; border: 1.5px solid var(--control); border-radius: 2px; flex: none;
}
.cells a.cell[aria-current="page"]::before {
  border-color: var(--blue); background: var(--blue);
  box-shadow: inset 0 0 0 2px #fff;
}
.cells a.cell:hover { background: var(--tint); }
.cells__end { margin-left: auto; display: flex; align-items: center; gap: 18px; padding: 0 var(--gut) 0 22px; }

/* inner page header */
.filed { padding: 30px var(--gut) 0; font-family: var(--mono); font-size: 15px; color: var(--steel); }
.filed ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.filed li + li::before { content: "/"; margin-right: 6px; color: var(--control); }
.filed a { color: var(--steel); }
.pagehead { padding: 18px var(--gut) 40px; display: grid; gap: 22px; }
.pagehead h1 { max-width: 16ch; }
.pagehead .lede { margin: 0; }

/* field row: the boxes along the top of a ticket */
.fields { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.field { padding: 14px 20px 16px; border-right: 1px solid var(--rule); min-width: 0; }
.field:last-child { border-right: 0; }
.field__label { display: block; font-family: var(--mono); font-size: 14px; color: var(--steel); margin-bottom: 4px; }
.field__value { font-size: 18px; line-height: 1.4; color: var(--ink); }
.field__value--fill { color: var(--blue); font-weight: 500; }

/* ruled boxes with a field label in the corner */
.box { padding: 44px var(--gut) 52px; border-bottom: 1px solid var(--rule); position: relative; }
.box__label { display: block; font-family: var(--mono); font-size: 14px; color: var(--steel); margin-bottom: 18px; }
.box__head { display: grid; gap: 14px; margin-bottom: 34px; max-width: 760px; }
.box__head p { margin: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0; border-bottom: 1px solid var(--rule); }
.split > .box { border-bottom: 0; }
.split > * + * { border-left: 1px solid var(--rule); }
.split > div > .box:last-child { border-bottom: 0; }

/* ---------------------------------------------------------------- the story: exploded washer */
.story { position: relative; border-bottom: 1px solid var(--rule); }
.stage { position: relative; overflow: hidden; background: linear-gradient(#fff, #F6F8FB 70%, #EEF2F7); }
.stage__grid { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgba(11, 28, 61, .045) 1px, transparent 1px), linear-gradient(to bottom, rgba(11, 28, 61, .045) 1px, transparent 1px);
  background-size: 32px 32px; mask-image: radial-gradient(ellipse at 50% 55%, #000 30%, transparent 78%); -webkit-mask-image: radial-gradient(ellipse at 50% 55%, #000 30%, transparent 78%); }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .6s ease; }
.stage.is-live canvas { opacity: 1; }
.stage__still { position: relative; z-index: 1; }
.intro { position: relative; z-index: 3; padding: 56px var(--gut) 0; max-width: 700px; }
.intro h1 { margin-bottom: 22px; }
.has-3d .intro h1 { max-width: 20ch; margin-bottom: 18px; }
.has-3d .intro .lede { margin-bottom: 22px; max-width: 64ch; }
.intro .lede { margin-bottom: 28px; }
.hint { display: none; font-family: var(--mono); font-size: 14px; color: var(--steel); margin-top: 26px; }

.parts { position: relative; z-index: 3; background: #fff; border: 1px solid var(--rule); border-radius: 2px; }
.parts__head { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 16px; border-bottom: 1px solid var(--rule); font-family: var(--mono); font-size: 14px; color: var(--steel); }
.parts ol { list-style: none; margin: 0; padding: 0; }
.part { display: grid; grid-template-columns: 30px minmax(0, 1fr) 56px; gap: 12px; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--rule-soft); transition: background-color .3s ease; }
.part:last-child { border-bottom: 0; }
.part__no { font-family: var(--mono); font-size: 15px; color: var(--red); }
.part__name { font-weight: 500; font-size: 17px; line-height: 1.25; display: block; }
.part__fault { font-size: 15px; line-height: 1.35; color: var(--steel); display: block; }
.part img { width: 56px; height: 56px; object-fit: cover; border-radius: 2px; }
.part.is-on { background: var(--tint); }
.part.is-on .part__fault { color: var(--blue); }
.parts__note { margin: 0; padding: 12px 16px 14px; font-size: 15px; line-height: 1.45; color: var(--steel); border-top: 1px solid var(--rule); }

/* static layout (no WebGL, no JS, reduced motion): the still beside the parts list */
.story__static { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 36px var(--gut) 56px; }
.still { position: relative; }
.still img { width: 100%; height: auto; }
.still .tag { position: absolute; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 1.5px solid var(--ink); font-family: var(--mono); font-size: 14px; display: grid; place-items: center; color: var(--red); }

/* live layout (has-3d): a pinned stage, the washer centred, labels drawn over it */
.has-3d .story { height: 430vh; }
.has-3d .stage { position: sticky; top: 0; height: 100vh; height: 100svh; }
.has-3d .story__static { display: block; padding: 0; }
.has-3d .still { display: none; }
.has-3d .intro { position: absolute; left: 0; top: 0; padding-top: clamp(28px, 5vh, 56px); max-width: 1120px; opacity: calc(1 - var(--out, 0)); transform: translateY(calc(var(--out, 0) * -40px)); pointer-events: auto; }
.has-3d .intro.is-gone { visibility: hidden; }
.has-3d .parts { position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(14px, 2.6vh, 28px); display: grid; grid-template-columns: 150px minmax(0, 1fr); opacity: calc(var(--pin, 0) * (1 - var(--end, 0))); transform: translateY(calc((1 - var(--pin, 0)) * 24px)); }
.has-3d .parts__head { flex-direction: column; justify-content: center; align-items: flex-start; gap: 2px; border-bottom: 0; border-right: 1px solid var(--rule); }
.has-3d .parts ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.has-3d .part { grid-template-columns: 22px minmax(0, 1fr); gap: 8px; padding: 12px 14px; border-bottom: 0; border-right: 1px solid var(--rule-soft); opacity: .42; transition: opacity .3s ease, background-color .3s ease; }
.has-3d .part:last-child { border-right: 0; }
.has-3d .part.is-seen { opacity: 1; }
.has-3d .part img { display: none; }
@media (min-width: 1600px) { .has-3d .part { grid-template-columns: 20px minmax(0, 1fr) 44px; } .has-3d .part img { display: block; width: 44px; height: 44px; } }
.has-3d .part__name { font-size: 16px; }
.has-3d .part__fault { font-size: 14px; }
.has-3d .parts__note { display: none; }
.has-3d .hint { display: block; margin: 22px 0 0; }
.outro { display: none; }
.has-3d .outro { display: flex; align-items: center; justify-content: space-between; gap: 24px; position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(14px, 2.6vh, 28px); z-index: 4; background: #fff; border: 1px solid var(--ink); border-radius: 2px; padding: 18px 22px; opacity: var(--end, 0); transform: translateY(calc((1 - var(--end, 0)) * 12px)); pointer-events: none; }
.has-3d .outro p { margin: 0; max-width: 60ch; font-size: 19px; }
.has-3d .outro .btn { flex: none; }
.has-3d .outro.is-on { pointer-events: auto; }
.outro p { margin: 0 0 14px; font-size: 19px; line-height: 1.45; }

.callouts { position: absolute; inset: 0; z-index: 2; pointer-events: none; display: none; }
.has-3d .stage.is-live .callouts { display: block; }
.callouts svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.callouts line { stroke: var(--ink); stroke-width: 1; }
.callouts circle { fill: #fff; stroke: var(--ink); stroke-width: 1.5; }
.callout { position: absolute; left: 0; top: 0; background: #fff; border: 1px solid var(--ink); border-radius: 2px; padding: 7px 11px 8px; min-width: 150px; max-width: 250px; opacity: 0; will-change: transform, opacity; }
.callout b { display: block; font-family: var(--mono); font-weight: 400; font-size: 14px; color: var(--red); }
.callout span { display: block; font-size: 16px; font-weight: 500; line-height: 1.25; }
.callout em { display: block; font-style: normal; font-size: 14px; color: var(--steel); line-height: 1.3; margin-top: 2px; }

/* ---------------------------------------------------------------- the work order */
.wo { border-bottom: 1px solid var(--rule); }
.wo__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 44px var(--gut) 26px; }
.wo__top h2 { max-width: 22ch; }
.wo__no { font-family: var(--mono); font-size: 15px; color: var(--steel); text-align: right; white-space: nowrap; }
.wo__no output { display: block; font-size: 24px; color: var(--red); margin-top: 2px; }
.wo fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.wo__row { display: grid; grid-template-columns: 250px minmax(0, 1fr); border-top: 1px solid var(--rule); }
.wo__key { padding: 20px 20px 20px var(--gut); border-right: 1px solid var(--rule); font-family: var(--mono); font-size: 15px; color: var(--steel); }
.wo__key b { font-weight: 400; color: var(--red); margin-right: 10px; }
.wo__val { padding: 14px 20px; min-width: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 6px 4px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt label { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 16px 6px 10px; border-radius: 2px; cursor: pointer; font-size: 18px; }
.opt label:hover { background: var(--tint); }
.box-tick { width: 24px; height: 24px; border: 1.5px solid var(--control); border-radius: 2px; flex: none; display: grid; place-items: center; background: #fff; }
.box-tick svg { width: 18px; height: 18px; overflow: visible; }
.box-tick path { fill: none; stroke: var(--blue); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; }
.opt--round .box-tick { border-radius: 50%; }
.opt input:checked + label .box-tick { border-color: var(--blue); }
.opt input:checked + label .box-tick path { stroke-dashoffset: 0; transition: stroke-dashoffset .26s cubic-bezier(.3, .7, .3, 1); }
.opt input:checked + label { color: var(--blue); font-weight: 500; }
.opt input:focus-visible + label { outline: 3px solid var(--blue); outline-offset: 2px; }
.sym { display: block; }
.sym + .sym { margin-top: 12px; }
.sym__for { display: none; font-family: var(--mono); font-size: 14px; color: var(--steel); margin: 4px 0 2px 10px; }
.plan { display: block; }
.plan + .plan { border-top: 1px dashed var(--rule); }
.plan__for { display: none; }
/* show only the matching symptoms and plan once the browser can see which box is ticked */
@supports selector(:has(*)) {
  .wo .sym, .wo .plan { display: none; }
  .wo:has(#ap-fridge:checked) .sym--fridge, .wo:has(#ap-washer:checked) .sym--washer, .wo:has(#ap-dryer:checked) .sym--dryer,
  .wo:has(#ap-oven:checked) .sym--oven, .wo:has(#ap-dish:checked) .sym--dish { display: block; }
  .wo:has(#ap-fridge:checked) .plan--fridge, .wo:has(#ap-washer:checked) .plan--washer, .wo:has(#ap-dryer:checked) .plan--dryer,
  .wo:has(#ap-oven:checked) .plan--oven, .wo:has(#ap-dish:checked) .plan--dish { display: block; }
  .wo .sym + .sym { margin-top: 0; }
}
@supports not selector(:has(*)) { .sym__for, .plan__for { display: block; } }
.window { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; padding: 6px 0; }
.window b { display: block; font-weight: 500; }
.window span { display: block; font-family: var(--mono); font-size: 15px; color: var(--blue); margin-top: 2px; }
.window small { grid-column: 1 / -1; font-size: 15px; color: var(--steel); margin-top: 8px; }

.carbon { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); border-top: 1px solid var(--ink); }
.carbon__steps { padding: 34px var(--gut) 40px; border-right: 1px solid var(--rule); }
.carbon__side { padding: 34px var(--gut) 40px 32px; background: #FBFCFE; }
.noted { font-family: var(--mono); font-size: 15px; color: var(--steel); margin: 0 0 18px; min-height: 1.5em; }
.noted strong { font-weight: 400; color: var(--blue); }
.steps { list-style: none; margin: 0 0 30px; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px minmax(0, 1fr); padding: 14px 0; border-bottom: 1px solid var(--rule-soft); }
.steps li:last-child { border-bottom: 0; }
.steps li::before { content: counter(s); font-family: var(--mono); font-size: 16px; color: var(--red); padding-top: 2px; }
.steps b { display: block; font-weight: 500; font-size: 19px; line-height: 1.35; }
.steps span { display: block; color: var(--steel); font-size: 17px; line-height: 1.5; }
.safety { border: 1.5px solid var(--red); border-radius: 2px; padding: 14px 16px; margin: 0 0 22px; font-size: 16px; line-height: 1.5; }
.safety strong { color: var(--red); font-weight: 600; }

/* ---------------------------------------------------------------- attachments (their photos) */
.atts { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 22px; }
.att { margin: 0; }
.att__frame { position: relative; overflow: hidden; border-radius: 2px; background: var(--rule-soft); aspect-ratio: 4 / 5; }
.att__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.att:hover .att__frame img { transform: scale(1.025); }
.att figcaption { margin-top: 10px; font-family: var(--mono); font-size: 14px; line-height: 1.45; color: var(--steel); }
.att figcaption b { font-weight: 400; color: var(--red); margin-right: 8px; }
.atts--mini { --cols: 1; gap: 10px; }
.atts--mini .att { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 14px; align-items: center; }
.atts--mini .att__frame { aspect-ratio: 1; }
.atts--mini figcaption { margin-top: 0; }
.atts--wide .att__frame { aspect-ratio: 4 / 3; }

/* ---------------------------------------------------------------- remarks (reviews) */
.scores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--rule); border-radius: 2px; margin-bottom: 34px; }
.score { padding: 18px 22px; }
.score + .score { border-left: 1px solid var(--rule); }
.score__n { font-family: var(--display); font-size: 64px; line-height: 1; letter-spacing: -0.02em; }
.score__stars { color: var(--blue); letter-spacing: .12em; font-size: 16px; margin-left: 10px; vertical-align: 12px; }
.score__of { display: block; font-family: var(--mono); font-size: 14px; color: var(--steel); margin-top: 8px; }
.remarks { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule); }
.remark { margin: 0; padding: 26px 26px 26px 0; border-bottom: 1px solid var(--rule); }
.remarks--cols .remark { padding-left: 26px; border-right: 1px solid var(--rule); }
.remarks--cols .remark:nth-child(3n + 1) { padding-left: 0; }
.remarks--cols .remark:nth-child(3n) { border-right: 0; }
.remark blockquote { margin: 0 0 16px; font-size: 19px; line-height: 1.55; }
.remark blockquote p { margin: 0; }
.remark figcaption { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.mono-initials { width: 38px; height: 38px; border-radius: 50%; background: var(--tint); color: var(--blue); font-family: var(--mono); font-size: 14px; display: grid; place-items: center; flex: none; }
.remark__who { display: block; font-weight: 500; }
.remark__meta { display: block; font-family: var(--mono); font-size: 14px; color: var(--steel); }
.plan .remark, aside .remarks .remark:first-child { padding-top: 16px; }
.remark.is-clamped blockquote { max-height: 9.6em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.read-more { background: none; border: 0; padding: 8px 0; margin: -8px 0 12px; color: var(--blue); font: 500 16px var(--body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; }
.reply { margin: 14px 0 0; padding: 12px 16px; border-left: 2px solid var(--blue); background: var(--tint); font-size: 16px; line-height: 1.5; }
.reply b { display: block; font-family: var(--mono); font-weight: 400; font-size: 14px; color: var(--steel); margin-bottom: 2px; }
.wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.wall li { padding: 14px 16px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: grid; gap: 2px; align-content: start; }
.wall .stars { color: var(--blue); letter-spacing: .12em; font-size: 15px; }
.wall .who { font-weight: 500; }
.wall .when { font-family: var(--mono); font-size: 14px; color: var(--steel); }
.wall .reply { margin-top: 8px; font-size: 15px; }
.links-row { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 26px; align-items: center; }

/* ---------------------------------------------------------------- terms, area, lists */
.terms { columns: 2; column-gap: 56px; column-rule: 1px solid var(--rule); list-style: none; margin: 0; padding: 0; }
.terms li { break-inside: avoid; padding: 0 0 18px; margin-bottom: 18px; border-bottom: 1px solid var(--rule-soft); font-size: 17px; line-height: 1.55; }
.terms b { display: block; font-weight: 500; font-size: 18px; margin-bottom: 2px; }
.area { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.area svg { width: 100%; height: auto; display: block; }
.area__svg text { font-family: var(--mono); font-size: 16px; fill: var(--ink); }
.area__svg .t-base { fill: var(--blue); }
.area__svg .t-note { fill: var(--steel); font-size: 16px; }
.towns { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.towns li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--rule-soft); }
.towns span { font-family: var(--mono); font-size: 14px; color: var(--steel); text-align: right; }

.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.rows > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--rule-soft); }
.rows b { font-weight: 500; }
.rows .ask { background: none; border: 0; padding: 10px 0; color: var(--blue); font: 500 16px var(--body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; white-space: nowrap; }
.rows .ask:hover { color: var(--blue-deep); }

.svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.svc > a, .svc > div { display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; padding: 22px 22px 24px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; min-height: 100%; }
.svc > a:hover { background: var(--tint); }
.svc .code { font-family: var(--mono); font-size: 14px; color: var(--red); }
.svc h3 { font-size: 27px; }
.svc p { margin: 0; color: var(--steel); font-size: 17px; }
.svc .go { font-family: var(--mono); font-size: 14px; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.svc img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 2px; }

.qa { border-top: 1px solid var(--rule); }
.qa details { border-bottom: 1px solid var(--rule); }
.qa summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-size: 19px; font-weight: 500; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-family: var(--mono); font-size: 22px; color: var(--blue); }
.qa details[open] summary::after { content: "\2212"; }
.qa details > div { padding: 0 0 22px; max-width: 70ch; }

.onfile { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.onfile > div { padding: 18px 20px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.onfile b { display: block; font-family: var(--mono); font-weight: 400; font-size: 14px; color: var(--steel); margin-bottom: 4px; }

.brandlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.brandlist li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.brandlist .name { font-family: var(--display); font-size: clamp(38px, 4.4vw, 60px); line-height: 1; letter-spacing: -0.015em; }
.brandlist .note { color: var(--steel); font-size: 17px; }
.brandlist .note b { color: var(--ink); font-weight: 500; }

/* authorization box at the foot of each page */
.auth { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 40px var(--gut); border-bottom: 1px solid var(--rule); background: var(--tint); }
.auth h2 { font-size: clamp(30px, 2.8vw, 40px); }
.auth p { margin: 8px 0 0; color: var(--steel); }

/* enquiry form */
.enq { display: grid; gap: 18px; max-width: 560px; }
.enq label { display: grid; gap: 6px; font-family: var(--mono); font-size: 14px; color: var(--steel); }
.enq input, .enq textarea { font: 400 18px/1.4 var(--body); color: var(--ink); background: #fff; border: 1.5px solid var(--control); border-radius: 2px; padding: 12px 14px; min-height: 50px; width: 100%; }
.enq textarea { min-height: 130px; resize: vertical; }
.enq input:focus, .enq textarea:focus { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.form__status { min-height: 1.5em; margin: 0; font-size: 17px; }
.form__status.is-ok { color: #1D6B3A; }
.form__status.is-err { color: var(--red); }

/* ---------------------------------------------------------------- footer */
.foot { background: var(--navy); color: #D9E4F2; }
.foot__in { max-width: var(--sheet-w); margin: 0 auto; padding: 56px var(--gut) 32px; display: grid; grid-template-columns: 1.1fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot__logo img { width: 170px; }
.foot h2 { font-family: var(--mono); font-size: 14px; font-weight: 400; color: var(--sky); margin: 0 0 14px; letter-spacing: 0; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 16px; }
.foot a { color: #fff; text-decoration-color: rgba(255, 255, 255, .4); }
.foot a:hover { color: var(--sky); }
.foot__line { max-width: var(--sheet-w); margin: 0 auto; padding: 18px var(--gut) 28px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-family: var(--mono); font-size: 13px; color: #B7C6DA; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .cells a.cell { padding: 0 14px; }
  .foot__in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot__logo { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .letterhead { grid-template-columns: auto 1fr auto; gap: 16px; padding: 12px 16px; }
  .letterhead__logo img { width: 96px; }
  .letterhead__lines { display: none; }
  .formbox { min-width: 0; padding: 8px 12px 6px; }
  .formbox__title { font-size: 14px; }
  .formbox__no { font-size: 18px; }
  .menu-btn { display: inline-flex; }
  .cells { display: none; }
  .cells.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; box-shadow: 0 20px 40px -20px rgba(11, 28, 61, .35); }
  .cells.is-open ul { flex-direction: column; }
  .cells.is-open a.cell { border-right: 0; border-bottom: 1px solid var(--rule); padding: 0 20px; }
  .cells.is-open .cells__end { padding: 16px 20px 20px; margin: 0; flex-wrap: wrap; }
  .headwrap { position: relative; }
  .split, .carbon { grid-template-columns: 1fr; }
  .split > * + * { border-left: 0; border-top: 1px solid var(--rule); }
  .carbon__steps { border-right: 0; border-bottom: 1px solid var(--rule); }
  .carbon__side { padding: 30px var(--gut) 36px; }
  .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field:nth-child(2n) { border-right: 0; }
  .field:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .story__static { grid-template-columns: 1fr; }
  .area { grid-template-columns: 1fr; }
  .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .remarks { --cols: 1 !important; }
  .remarks--cols .remark { padding-left: 0; border-right: 0; }
  .onfile { --n: 1 !important; }
  .auth { grid-template-columns: 1fr; }
  .has-3d .parts { left: var(--gut); right: var(--gut); width: auto; bottom: 14px; display: block; opacity: calc(var(--pin, 0) * (1 - var(--end, 0))); }
  .has-3d .parts__head { flex-direction: row; justify-content: space-between; align-items: baseline; border-right: 0; border-bottom: 1px solid var(--rule); }
  .has-3d .parts ol { display: block; }
  .has-3d .part { grid-template-columns: 26px minmax(0, 1fr) 48px; opacity: 1; border-right: 0; }
  .has-3d .part img { display: block; width: 48px; height: 48px; }
  .has-3d .outro { flex-direction: column; align-items: flex-start; gap: 12px; bottom: 14px; padding: 14px 16px 16px; }
  .has-3d .outro p { font-size: 17px; }
  .has-3d .parts li.part { display: none; }
  .has-3d .parts li.part.is-on { display: grid; }
  .has-3d .parts .parts__note { display: none; }
  .has-3d .parts:not(.has-on) { visibility: hidden; }
  .has-3d .intro { padding-top: 26px; }
}
@media (max-width: 640px) {
  body { font-size: 18px; }
  .box { padding: 34px var(--gut) 40px; }
  .wo__top { flex-direction: column; padding-top: 34px; }
  .wo__no { text-align: left; }
  .wo__row { grid-template-columns: 1fr; }
  .wo__key { border-right: 0; padding: 14px var(--gut) 0; }
  .wo__val { padding: 6px var(--gut) 14px; }
  .opts { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
  .sym .opts { grid-template-columns: 1fr; }
  .window { grid-template-columns: 1fr; gap: 10px; }
  .atts { --cols: 2 !important; gap: 14px; }
  .scores { grid-template-columns: 1fr; }
  .score + .score { border-left: 0; border-top: 1px solid var(--rule); }
  .terms { columns: 1; }
  .area__svg { display: none !important; }
  .svc { grid-template-columns: 1fr; }
  .brandlist li { grid-template-columns: 1fr; gap: 8px; }
  .fields { grid-template-columns: 1fr; }
  .field { border-right: 0; }
  .field + .field { border-top: 1px solid var(--rule); }
  .foot__in { grid-template-columns: 1fr 1fr; }
  .rows > li { grid-template-columns: 1fr; gap: 2px; }
  .rows .ask { justify-self: start; text-align: left; }
  .has-3d .parts, .has-3d .outro { bottom: calc(86px + env(safe-area-inset-bottom)); }
  .formbox__title .w { display: none; }
  .formbox__title .n { display: inline; }
  .has-3d .story { height: 360vh; }
}

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