/* Painter trade demo. World: a paint tin's printed label and the tinting counter's lid sticker.
   Two inks only: label ink and the painter's own colour (--paint), on bare tin and white sticker stock. */

@font-face { font-family: "Sofia Sans Extra Condensed"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/sofia-sans-extra-condensed-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sofia Sans Extra Condensed"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/sofia-sans-extra-condensed-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Sofia Sans"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/sofia-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sofia Sans"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/sofia-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Martian Mono"; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url("fonts/martian-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #14213d;            /* the label ink */
  --tin: #c9cdcf;            /* bare tin plate */
  --tin-hi: #d8dbdd;
  --tin-lo: #a9afb3;
  --ink-soft: #364156;       /* secondary text on tin: ink thinned, never grey */
  --paper: #f7f8f6;          /* sticker stock */
  --paper-soft: rgba(247, 248, 246, .76);
  --paint: #2f5d4e;          /* the painter's colour, set per prospect */
  --paint-ink: #ffffff;
  --tape: #e7d9a2;           /* masking tape: focus material only */
  --error: #9f2a1f;
  --focus: var(--ink);
  --f-label: "Sofia Sans Extra Condensed", "Arial Narrow", sans-serif;
  --f-body: "Sofia Sans", system-ui, sans-serif;
  --f-mono: "Martian Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gut: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--ink) var(--tin); }
body {
  margin: 0;
  font: 400 1.0625rem/1.6 var(--f-body);
  color: var(--ink);
  background-color: var(--tin);
  /* brushed tin: horizontal grain, drawn once as noise */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='480'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0 .85' numOctaves='2' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .08 0 0 0 0 .13 0 0 0 0 .24 .55 0 0 0 -.22'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: tabular-nums;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
::selection { background: var(--paint); color: var(--paint-ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[id] { scroll-margin-top: 88px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 14px; border-radius: 6px; font-weight: 700; }
.skip:focus { top: 12px; }
.ico { width: 1.05em; height: 1.05em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.wrap { width: min(1240px, 100% - 2 * var(--gut)); margin-inline: auto; }

/* the lid dot: the tinted colour on top of the tin */
.lid { display: inline-block; flex: none; width: .82rem; height: .82rem; border-radius: 50%; background: var(--paint); box-shadow: 0 0 0 2px currentColor; }
.lid-lg { width: .5em; height: .5em; box-shadow: 0 0 0 .07em var(--ink); margin-right: .22em; transform: translateY(-.06em); }

/* ---------- type ---------- */
.h2 {
  margin: 0;
  font: 800 clamp(2.75rem, 6.6vw, 5.75rem)/.9 var(--f-label);
  text-transform: uppercase;
  letter-spacing: .004em;
  text-wrap: balance;
}
.lede { margin: 20px 0 0; max-width: 58ch; font-size: clamp(1.08rem, 1.3vw, 1.22rem); line-height: 1.55; color: var(--ink-soft); text-wrap: pretty; }

/* ---------- buttons: pressed paint goes glossy ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0;
  min-height: 50px; padding: .1em 1.35em 0;
  font: 800 1.3rem/1 var(--f-label); text-transform: uppercase; letter-spacing: .045em;
  border-radius: 6px; border: 2px solid transparent; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), box-shadow .25s var(--ease), transform .12s var(--ease), color .2s;
}
.btn-paint {
  background: var(--paint); color: var(--paint-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 8px 18px -10px rgba(20, 33, 61, .7);
}
.btn-paint:hover { background: color-mix(in oklab, var(--paint) 86%, #000); }
.btn-paint:active {
  transform: translateY(1px);
  box-shadow: inset 0 12px 14px -9px rgba(255, 255, 255, .6), inset 0 -3px 6px rgba(0, 0, 0, .14), 0 3px 8px -6px rgba(20, 33, 61, .7);
}
.btn-line { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-line:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; font-size: 1.12rem; padding-inline: 1em; }
.btn-wide { width: 100%; }

/* ---------- nav: the band across the top of the tin ---------- */
.nav {
  --focus: var(--paper);
  position: fixed; z-index: 50; top: 10px; left: 10px; right: 10px;
  display: flex; align-items: center; gap: clamp(10px, 2vw, 28px);
  height: 58px; padding: 0 9px 0 18px;
  background: var(--ink); color: var(--paper);
  border-radius: 10px;
  box-shadow: 0 10px 30px -18px rgba(20, 33, 61, .9);
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; margin-right: auto; }
.brand-name { font: 800 1.45rem/1 var(--f-label); text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-top: .08em; }
.brand .lid { box-shadow: 0 0 0 2px var(--paper); }
.logo { height: 34px; width: auto; background: var(--paper); border-radius: 5px; padding: 3px 6px; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { font-weight: 600; font-size: .98rem; text-decoration: none; color: var(--paper-soft); }
.nav-links a:hover { color: var(--paper); text-decoration: underline; }
.nav-call { display: inline-flex; align-items: center; gap: 8px; font: 500 .84rem/1 var(--f-mono); text-decoration: none; white-space: nowrap; }
.nav-call:hover span { text-decoration: underline; }
@media (max-width: 960px) { .nav-links { display: none; } }
@media (max-width: 620px) {
  .nav { height: 54px; padding-left: 14px; }
  .nav-call span { display: none; }
  .nav-call { width: 40px; height: 40px; justify-content: center; border: 1.5px solid rgba(247, 248, 246, .5); border-radius: 6px; }
  .nav-call .ico { width: 1.25em; height: 1.25em; }
  .brand-name { font-size: 1.25rem; }
}
@media (max-width: 480px) { .nav .btn-sm { display: none; } }

/* ---------- hero: the scroll-driven repaint ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; }
.js.scrub .hero { height: 360vh; }
@media (orientation: portrait) { .js.scrub .hero { height: 420vh; } }
.stage { position: sticky; top: 0; height: 100svh; min-height: 560px; overflow: hidden; background: #8a8f92; }
.poster, .ending-layer { position: absolute; inset: 0; background-size: cover; background-position: 50% 50%; }
.poster { background-image: url("hero-poster.jpg"); }
.ending-layer { background-image: url("hero-ending.jpg"); opacity: var(--end, 0); }
@media (orientation: portrait) {
  .poster { background-image: url("hero-poster-m.jpg"); }
  .ending-layer { background-image: url("hero-ending-m.jpg"); }
}
html:not(.scrub) .ending-layer { opacity: 1; }
#hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s var(--ease); }
.stage.video-ready #hero-video { opacity: 1; }

.band { position: absolute; opacity: 0; pointer-events: none; }
html:not(.scrub) .band.strip { display: none; }
html:not(.scrub) .band.settle { opacity: 1; pointer-events: auto; --k: 1; }
.band.strip.off { visibility: hidden; }
.settle.off .sticker-actions { visibility: hidden; }
.settle.cta-on { pointer-events: auto; }

.strip { left: clamp(16px, 6vw, 104px); top: clamp(92px, 20vh, 200px); width: min(760px, calc(100% - 32px)); }
.strip-line {
  display: inline-block; margin: 0;
  padding: .13em .26em .05em;
  background: var(--ink); color: var(--paper);
  font: 800 clamp(3rem, 7.6vw, 6rem)/.92 var(--f-label); text-transform: uppercase; letter-spacing: .005em;
  clip-path: inset(0 calc((1 - var(--k, 1)) * 100%) 0 0);   /* rolls on left to right, like a stroke of the roller */
}
.strip-sub {
  display: table; margin: 10px 0 0; max-width: 34ch;
  padding: .55em .8em .5em;
  background: var(--paper); color: var(--ink);
  font: 600 clamp(1rem, 1.3vw, 1.15rem)/1.35 var(--f-body);
  clip-path: inset(0 calc((1 - clamp(0, var(--k, 1) * 1.7 - .7, 1)) * 100%) 0 0);
}
@media (orientation: portrait) {
  .strip { top: auto; bottom: clamp(96px, 16vh, 180px); left: 16px; }
}

.settle { left: clamp(16px, 5vw, 88px); bottom: clamp(16px, 7vh, 72px); width: min(580px, calc(100% - 32px)); }
.sticker {
  background: var(--paper); color: var(--ink);
  border-radius: 14px;
  padding: clamp(20px, 2.4vw, 32px) clamp(20px, 2.6vw, 34px) clamp(20px, 2.4vw, 30px);
  box-shadow: 0 24px 48px -24px rgba(20, 33, 61, .75), 0 2px 6px rgba(20, 33, 61, .2);
  transform: translateY(calc((1 - var(--k, 1)) * 28px));
}
.sticker-h { margin: 0; }
.sticker-name {
  display: block;
  font: 800 clamp(2.7rem, 5.4vw, 4.6rem)/.88 var(--f-label); text-transform: uppercase; letter-spacing: .004em;
  text-wrap: balance;
}
.sticker-name.long { font-size: clamp(2.2rem, 4.1vw, 3.5rem); }
.sticker-tag { display: block; margin-top: .45em; font: 650 clamp(1.15rem, 1.6vw, 1.42rem)/1.2 var(--f-body); }
.tint { margin: 18px 0 20px; border-top: 2px solid var(--ink); }
.tint > div { display: grid; grid-template-columns: 5.6rem 1fr; gap: 12px; padding: 8px 0 7px; border-bottom: 1px dashed rgba(20, 33, 61, .45); align-items: baseline; }
.tint dt { font: 500 .72rem/1.4 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.tint dd { margin: 0; display: flex; align-items: center; gap: 8px; font: 500 .8rem/1.35 var(--f-mono); text-transform: uppercase; letter-spacing: .03em; }
.swatch { flex: none; width: 1.6em; height: 1em; background: var(--paint); box-shadow: inset 0 0 0 1.5px var(--ink); }
.sticker-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sticker-actions .btn { flex: 1 1 auto; }
@media (orientation: portrait) {
  .settle { left: 12px; right: 12px; width: auto; bottom: max(12px, env(safe-area-inset-bottom)); }
  .tint { margin: 14px 0 16px; }
}
@media (max-height: 700px) and (orientation: landscape) {
  .tint { display: none; }
  .sticker-actions { margin-top: 16px; }
}

/* scroll cue: an ink pill with the load ring; the arrow bobs once the video is ready, and it leaves on the first scroll */
.cue {
  position: absolute; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); translate: -50% 0;
  display: flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px;
  background: var(--ink); color: var(--paper); border-radius: 999px;
  box-shadow: 0 12px 26px -14px rgba(20, 33, 61, .9);
  pointer-events: none; transition: opacity .4s var(--ease), translate .5s var(--ease);
}
.cue-label { font: 500 .74rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .14em; padding-top: 1px; }
.stage.moved .cue, html:not(.scrub) .cue { opacity: 0; translate: -50% 10px; }
.ring { width: 32px; height: 32px; overflow: visible; }
.ring circle { fill: none; stroke-width: 3; }
.ring-track { stroke: rgba(247, 248, 246, .3); }
.ring-load { stroke: var(--paper); stroke-dasharray: 126; stroke-dashoffset: var(--ld, 126); transform: rotate(-90deg); transform-origin: 24px 24px; transition: stroke-dashoffset .2s linear; }
.ring-chev { fill: none; stroke: var(--paper); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.stage.video-ready .ring-chev { animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }

/* ---------- sections ---------- */
.sec { padding: clamp(84px, 11vw, 160px) 0; }

/* print-in grammar: the rule draws, then the words land */
.reveal { position: relative; }
.label-head::before, .work-head::before, .quote-head::before {
  content: ""; display: block; height: 6px; width: 100%; max-width: 220px; margin-bottom: 26px;
  background: currentColor; transform-origin: left;
}
.js:not(.rm) .reveal { opacity: 0; transform: translateY(16px); }
.js:not(.rm) .label-head::before, .js:not(.rm) .work-head::before, .js:not(.rm) .quote-head::before { transform: scaleX(0); }
.js:not(.rm) .reveal.in { opacity: 1; transform: none; transition: opacity .8s var(--ease) .18s, transform 1s var(--ease) .18s; }
.js:not(.rm) .reveal.in::before { transform: scaleX(1); transition: transform .7s var(--ease); }

/* prep: the back label of the tin */
.label {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px);
  background: var(--paper);
  border-top: 12px solid var(--ink);   /* the label's printed colour band; labels are square-cut */
  padding: clamp(28px, 5vw, 72px);
  box-shadow: 0 30px 60px -40px rgba(20, 33, 61, .8);
}
.label-head .lede { color: var(--ink-soft); }
.xsec { margin: 0; align-self: center; }
.xsec svg { width: 100%; height: auto; overflow: visible; color: var(--ink); }
.xsec figcaption { margin-top: 10px; font-size: .9rem; line-height: 1.45; color: var(--ink-soft); max-width: 46ch; }
.x-timber { fill: #fff; }
.x-grain { color: rgba(20, 33, 61, .42); }
.x-crack { fill: var(--tin-lo); stroke: var(--ink); stroke-width: 1.2; }
.x-fill { fill: var(--tin-hi); stroke: var(--ink); stroke-width: 1.2; }
.x-fill-dots { color: rgba(20, 33, 61, .55); }
.x-old path { fill: var(--tin-lo); stroke: var(--ink); stroke-width: 1.2; stroke-linejoin: round; }
.x-grime circle { fill: var(--ink); }
.x-sanded { fill: none; stroke: var(--ink); stroke-width: 2; }
.x-primer { fill: #fff; stroke: var(--ink); stroke-width: 1.2; }
.x-coat { fill: var(--paint); stroke: var(--ink); stroke-width: 1.2; }
.x-coat-2 { fill: color-mix(in oklab, var(--paint) 88%, #000); }
.x-frame { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.x-labels path { fill: none; stroke: var(--ink); stroke-width: 1; }
.x-labels text { font: 500 15px var(--f-mono); fill: var(--ink); text-transform: uppercase; letter-spacing: .06em; }
.x-layer, .x-old, .x-old path, .x-grime, .x-label { transform-box: fill-box; transition: transform .9s var(--ease), opacity .7s var(--ease); }
.js:not(.rm) .x-layer { transform: scaleX(0); transform-origin: left center; }
.js:not(.rm) .x-fill, .js:not(.rm) .x-fill-dots { transform: scaleY(0); transform-origin: center top; }
.js:not(.rm) .x-label[data-at] text { fill: var(--ink-soft); }
.js:not(.rm) .x-label[data-at] path { stroke-dasharray: 3 3; }
.x-label.on text { fill: var(--ink) !important; font-weight: 700; }
.x-label.on path { stroke-dasharray: none !important; stroke-width: 1.6; }
.x-layer.on { transform: none !important; }
.x-grime.gone { opacity: 0; }
.x-old.gone .x-flake { transform: translate(6px, -38px) rotate(-14deg); opacity: 0; }
.x-old.gone path:not(.x-flake) { opacity: 0; transition-delay: .25s; }

.row-wrap { grid-column: 1 / -1; position: relative; margin-top: clamp(8px, 2vw, 24px); }
.track { position: absolute; left: 0; right: 0; top: 19px; height: 3px; background: rgba(20, 33, 61, .16); }
.track-fill { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p, 0) * 100%); background: var(--paint); }
.track-head { position: absolute; top: 50%; left: calc(var(--p, 0) * 100%); width: 16px; height: 16px; border-radius: 50%; background: var(--paint); translate: -50% -50%; box-shadow: 0 0 0 4px var(--paper), inset 0 3px 3px rgba(255, 255, 255, .45); }
.row { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); margin: 0; padding: 0; list-style: none; }
.step .n {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--ink);
  font: 500 .82rem/1 var(--f-mono);
  transition: background-color .4s var(--ease), color .4s, border-color .4s;
}
.step.lit .n { background: var(--paint); color: var(--paint-ink); border-color: var(--paint); }
.step h3 { margin: 18px 0 6px; font: 800 1.75rem/.95 var(--f-label); text-transform: uppercase; letter-spacing: .01em; }
.step p { margin: 0; font-size: .97rem; line-height: 1.45; color: var(--ink-soft); }
@media (max-width: 980px) {
  .label { grid-template-columns: 1fr; }
  .x-labels text { font-size: 22px; }
  .xsec { max-width: 560px; }
}
@media (max-width: 760px) {
  .track { left: 19px; right: auto; top: 20px; bottom: 20px; width: 3px; height: auto; }
  .track-fill { width: auto; right: 0; height: calc(var(--p, 0) * 100%); }
  .track-head { left: 50%; top: calc(var(--p, 0) * 100%); }
  .row { grid-template-columns: 1fr; gap: 26px; }
  .step { display: grid; grid-template-columns: 40px 1fr; column-gap: 18px; }
  .step .n { grid-row: span 2; }
  .step h3 { margin-top: 6px; }
  .step p { grid-column: 2; }
}

/* what we paint: the spec panel, printed reversed */
.work { --focus: var(--paper); background: var(--ink); color: var(--paper); }
.work .lede { color: var(--paper-soft); }
.work-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.work-head .btn { margin-top: 32px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table thead th { padding: 0 0 12px; text-align: left; font: 500 .7rem/1.4 var(--f-mono); text-transform: uppercase; letter-spacing: .09em; color: var(--paper-soft); border-bottom: 2px solid var(--paper); }
.spec-table tbody th, .spec-table td { padding: 18px 0 16px; border-bottom: 1px solid rgba(247, 248, 246, .24); vertical-align: baseline; text-align: left; }
.spec-table tbody th { width: 44%; padding-right: 24px; font: 800 clamp(1.4rem, 2vw, 1.75rem)/1 var(--f-label); text-transform: uppercase; letter-spacing: .01em; }
.spec-table td { color: var(--paper-soft); font-size: 1rem; line-height: 1.45; }
@media (max-width: 860px) { .work-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .spec-table thead { display: none; }
  .spec-table tr { display: block; padding: 14px 0; border-bottom: 1px solid rgba(247, 248, 246, .24); }
  .spec-table tbody th, .spec-table td { display: block; width: auto; padding: 0; border: 0; }
  .spec-table td { margin-top: 6px; }
}

/* quote: the tint sticker */
.quote-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.big-call { display: inline-flex; align-items: center; gap: .3em; margin-top: 30px; font: 800 clamp(2.4rem, 4.8vw, 3.9rem)/1 var(--f-label); letter-spacing: .01em; text-decoration: none; }
.big-call .ico { width: .7em; height: .7em; stroke-width: 2.2; }
.big-call:hover span { text-decoration: underline; text-decoration-thickness: 3px; }
.where { margin-top: 34px; }
.where-line { margin: 0 0 12px; font-weight: 600; font-size: 1.1rem; }
.suburbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.suburbs li { padding: 6px 11px 5px; border: 1.5px solid rgba(20, 33, 61, .5); border-radius: 4px; font: 500 .72rem/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .05em; }
.rating { display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; padding: 12px 18px 12px 16px; background: var(--paper); border-radius: 10px; text-decoration: none; box-shadow: 0 12px 26px -18px rgba(20, 33, 61, .8); }
.rating-n { font: 800 2.6rem/1 var(--f-label); padding-top: .06em; }
.rating-stars { display: flex; gap: 2px; color: var(--ink); }   /* ink, not --paint: a pale brand colour would vanish on sticker stock */
.rating-stars svg { width: 18px; height: 18px; fill: currentColor; }
.rating-of { font-size: .95rem; line-height: 1.3; color: var(--ink-soft); }
.rating:hover .rating-of { text-decoration: underline; }

.ticket {
  background: var(--paper); border-radius: 14px;
  padding: clamp(22px, 3.4vw, 40px);
  box-shadow: 0 32px 60px -34px rgba(20, 33, 61, .8), 0 2px 5px rgba(20, 33, 61, .16);
}
.ticket-form { display: grid; gap: 20px; }
.field { margin: 0; padding: 0; border: 0; min-width: 0; }
.field > label:not(.chip), .field > legend {
  display: inline-block; margin: 0 0 4px -6px; padding: 3px 6px 2px;
  font: 500 .7rem/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .09em; color: var(--ink-soft);
  border-radius: 2px; transition: background-color .25s var(--ease), color .25s;
}
.field:focus-within > label:not(.chip), .field:focus-within > legend { background: var(--tape); color: var(--ink); }   /* masking tape on the active field */
.field input, .field textarea {
  display: block; width: 100%; min-height: 48px; margin: 0; padding: 10px 0 9px;
  font: 500 1.1rem/1.4 var(--f-body); color: var(--ink); caret-color: var(--ink);
  background: transparent; border: 0; border-bottom: 2px solid rgba(20, 33, 61, .32); border-radius: 0;
  transition: border-color .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 88px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(54, 65, 86, .78); }
.field input:focus, .field textarea:focus { outline: none; border-bottom: 3px solid var(--ink); padding-bottom: 8px; }
.field.bad input { border-bottom-color: var(--error); }
.err { margin: 6px 0 0; font-size: .92rem; font-weight: 600; color: var(--error); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 999px; font-weight: 600; transition: background-color .2s, color .2s; }
.chip input:checked + span { background: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
.ticket-done { display: grid; gap: 16px; }
.ticket-done:focus { outline: none; }
.done-h { margin: 0; font: 800 2.6rem/.95 var(--f-label); text-transform: uppercase; }
.ticket-done p { margin: 0; }
@media (max-width: 860px) { .quote-grid { grid-template-columns: 1fr; } }

/* footer */
.foot { --focus: var(--paper); background: var(--ink); color: var(--paper); padding: 56px 0 calc(40px + env(safe-area-inset-bottom)); }
.foot-grid { display: grid; grid-template-columns: 1fr auto; gap: 28px 40px; align-items: end; }
.foot-name { display: flex; align-items: center; gap: 12px; margin: 0; font: 800 2rem/1 var(--f-label); text-transform: uppercase; }
.foot-name .lid { box-shadow: 0 0 0 2px var(--paper); }
.foot-line { margin: 10px 0 0; color: var(--paper-soft); }
.foot-facts { margin: 0; padding: 0; list-style: none; text-align: right; font: 500 .84rem/1.9 var(--f-mono); }
.foot-small { grid-column: 1 / -1; margin: 0; padding-top: 22px; border-top: 1px solid rgba(247, 248, 246, .22); font-size: .88rem; color: var(--paper-soft); }
@media (max-width: 620px) { .foot-grid { grid-template-columns: 1fr; } .foot-facts { text-align: left; } }

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