/* Loghra. Peat ground for the plan and the product heads, limestone for reading.
   Gorse is the action colour. Atlantic means fine, gorse means watch, fuchsia means act. */
@font-face { font-family: "Unbounded"; font-weight: 500; font-display: swap; src: url(fonts/unbounded-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Unbounded"; font-weight: 600; font-display: swap; src: url(fonts/unbounded-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 400; font-display: swap; src: url(fonts/instrument-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 500; font-display: swap; src: url(fonts/instrument-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 600; font-display: swap; src: url(fonts/instrument-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2"); }

:root {
  --peat: #1C1714; --peat-2: #2A231F; --peat-3: #3A322D; --peat-4: #5A4E47;
  --gorse: #F5B700; --gorse-deep: #B88700;
  --atlantic: #0F4C5C; --atlantic-lt: #7FC3D3;
  --fuchsia: #D1263F; --fuchsia-lt: #FF8A9A;
  --limestone: #ECEAE4; --chalk: #FAF9F6;
  --ink-soft: #4A433E; --mute: #A39A90; --soft: #CFC7BE; --line: #CFCBC2;
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --wrap: 1240px; --gutter: clamp(18px, 4vw, 48px);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--limestone); color: var(--peat); font: 400 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gorse); outline-offset: 3px; }
img, svg, video { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.035em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.2vw, 4.4rem); line-height: 1.04; }
h2 { font-size: clamp(1.6rem, 3.3vw, 2.7rem); line-height: 1.1; }
h3 { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.25; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--gorse); padding: 10px 14px; z-index: 50; }
.skip:focus { left: 8px; }

/* Wordmark: the o is the survey target, filled quadrants top-right and bottom-left */
.wordmark { display: inline-flex; align-items: baseline; font-family: var(--display); font-weight: 600; letter-spacing: -0.035em; line-height: 1; text-decoration: none; }
.wordmark svg { width: 0.66em; height: 0.66em; margin: 0 0.02em 0 0.04em; align-self: center; transform: translateY(0.06em); }
.target-ring { fill: none; stroke: currentColor; }
.target-q { fill: var(--gorse); }

/* Header, with the chainage rule as the scroll bar */
.top { position: sticky; top: 0; z-index: 30; background: var(--peat); color: var(--chalk); }
.nav { display: flex; align-items: center; gap: 28px; padding-block: 14px; }
.nav .wordmark { font-size: 25px; margin-right: auto; }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; font-size: 15.5px; }
.nav ul a { text-decoration: none; color: var(--soft); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav ul a:hover, .nav ul a[aria-current="page"] { color: var(--chalk); border-bottom-color: var(--gorse); }
.m-only { display: none; }
.menu-btn { display: none; background: none; border: 2px solid var(--peat-4); color: var(--chalk); font: 600 14px var(--body); min-height: 40px; padding: 0 14px; cursor: pointer; }
.chain { height: 7px; position: relative; background:
    repeating-linear-gradient(90deg, var(--peat-4) 0 1px, transparent 1px 2.5%) left bottom / 100% 4px no-repeat,
    repeating-linear-gradient(90deg, var(--peat-4) 0 1.5px, transparent 1.5px 20%) left bottom / 100% 7px no-repeat, var(--peat); }
.chain i { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--gorse); }
@media (max-width: 1120px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { flex-wrap: wrap; gap: 12px; }
  .nav ul { display: none; order: 5; flex-basis: 100%; flex-direction: column; gap: 0; padding-bottom: 8px; }
  .nav ul.open { display: flex; }
  .nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--peat-3); font-size: 17px; }
  .nav .btn { display: none; }
  .m-only { display: block; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; font: 600 16px var(--body); text-decoration: none; padding: 12px 22px; background: var(--gorse); color: var(--peat); border: 2px solid var(--gorse); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn:hover { background: var(--chalk); border-color: var(--chalk); }
.btn.line { background: transparent; color: inherit; border-color: currentColor; }
.btn.line:hover { background: var(--chalk); color: var(--peat); border-color: var(--chalk); }
.on-light .btn.line:hover, .btn.dark:hover { background: var(--peat); color: var(--chalk); border-color: var(--peat); }
.btn.dark { background: var(--peat); color: var(--chalk); border-color: var(--peat); }
.btn.dark:hover { background: var(--gorse); color: var(--peat); border-color: var(--gorse); }
.btn.sm { min-height: 40px; font-size: 14.5px; padding: 8px 16px; }
.textlink { font-weight: 600; text-decoration: underline; text-decoration-color: var(--gorse); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.textlink:hover { text-decoration-thickness: 4px; }

/* Status flags: always a word as well as a colour */
.flag { display: inline-flex; align-items: center; gap: 7px; font: 500 12px var(--mono); letter-spacing: 0.05em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.flag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.flag.act { background: #F8D6DA; color: #7A0E20; }
.flag.watch { background: #FCEBB8; color: #5B4300; }
.flag.fine { background: #DCE8E4; color: #0B3A46; }

/* Home hero: the plan carries the page */
.hero { background: var(--peat); color: var(--chalk); padding-block: clamp(28px, 5vw, 64px) clamp(36px, 5vw, 72px); overflow: hidden; }
.hero h1 { font-size: clamp(1.9rem, 2.95vw, 2.75rem); line-height: 1.08; }
.hero h1 span { display: block; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-copy { display: grid; gap: 22px; }
.hero-copy .lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--soft); max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { color: var(--mute); font-size: 15px; max-width: 34em; }
.plan { position: relative; }
.plan svg { width: 100%; height: auto; }
.plan .ln { fill: none; stroke: #7A6C63; stroke-width: 1.5; }
.plan .ln.dash { stroke-dasharray: 5 5; }
.plan .fillp { fill: var(--peat-2); stroke: #7A6C63; stroke-width: 1.5; }
.plan .bay { stroke: var(--peat-3); stroke-width: 1; }
.plan text { font: 500 14px var(--mono); letter-spacing: 0.06em; fill: var(--soft); text-transform: uppercase; }
.plan .route { fill: none; stroke: var(--gorse); stroke-width: 2.5; stroke-dasharray: 2 9; stroke-linecap: round; animation: walk 1.6s linear infinite; }
.plan .radius { fill: rgba(245,183,0,.05); stroke: var(--gorse); stroke-width: 1.5; stroke-dasharray: 6 5; }
.plan .clash { fill: var(--fuchsia); opacity: .0; transition: opacity .4s; }
.plan[data-on="clearway"] .clash { opacity: .75; }
.plan .spot { cursor: pointer; }
.plan .spot circle.dot { fill: var(--gorse); }
.plan .spot circle.halo { fill: none; stroke: var(--gorse); stroke-width: 1.5; opacity: .5; }
.plan .spot.on circle.halo { animation: ping 1.8s ease-out infinite; }
.plan .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawin 1.4s cubic-bezier(.3,.6,.2,1) forwards; }
.plan .ret { fill: none; stroke: var(--gorse); stroke-width: 3; }
.plan .ret-g { transition: transform .7s cubic-bezier(.5,0,.2,1); }
@keyframes walk { to { stroke-dashoffset: -22; } }
@keyframes ping { 0% { r: 7; opacity: .8; } 100% { r: 26; opacity: 0; } }
@keyframes drawin { to { stroke-dashoffset: 0; } }
.readout { display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; align-items: center; margin-top: 10px; padding: 18px 20px; background: var(--peat-2); border-left: 4px solid var(--gorse); min-height: 146px; }
.readout .big { font: 600 clamp(2rem, 3.6vw, 2.8rem)/1 var(--display); letter-spacing: -0.04em; color: var(--gorse); font-variant-numeric: tabular-nums; grid-row: 1 / span 3; min-width: 4.6ch; }
.readout .what { font-weight: 600; font-size: 1.05rem; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.readout .say { color: var(--soft); font-size: 15.5px; }
.readout .go { grid-column: 2; font-size: 15px; }
.readout .go a { color: var(--chalk); }
.tabs { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 2px; }
.tabs button { background: none; border: 0; border-top: 3px solid var(--peat-3); color: var(--mute); font: 500 14.5px var(--body); padding: 12px 4px 4px; text-align: left; cursor: pointer; }
.tabs button[aria-selected="true"] { border-top-color: var(--gorse); color: var(--chalk); }
.tabs button:hover { color: var(--chalk); }
.plan-note { margin-top: 10px; color: #8D847A; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .readout { grid-template-columns: 1fr; min-height: 210px; align-content: start; } .readout .big { grid-row: auto; } .readout .go { grid-column: 1; } .tabs button { font-size: 13px; } .hero-actions .btn { flex: 1 1 100%; } }

/* Status board: what is live and what is in pilot, said plainly */
.board { background: var(--chalk); padding-block: clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.board h2 { font-size: clamp(1.2rem, 2vw, 1.6rem); margin-bottom: 24px; }
.stand { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1.5px solid var(--peat); }
.stand > div { padding: 22px 18px 4px 0; display: grid; gap: 10px; align-content: start; justify-items: start; }
.stand > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.stand .n { font: 600 clamp(2.2rem, 4.2vw, 3.4rem)/1 var(--display); letter-spacing: -0.04em; }
.stand .n.w { font-size: clamp(1.3rem, 2.1vw, 1.75rem); line-height: 1.1; min-height: 1.95em; display: flex; align-items: flex-end; }
.stand p:last-child { color: var(--ink-soft); font-size: 15.5px; }
@media (max-width: 1000px) { .stand { grid-template-columns: 1fr 1fr; } .stand > div:nth-child(odd) { padding-left: 0; border-left: 0; } .stand > div:nth-child(n+3) { border-top: 1px solid var(--line); } .stand .n.w { min-height: 0; } }
@media (max-width: 480px) { .stand { grid-template-columns: 1fr; } .stand > div, .stand > div + div { padding: 18px 0 14px; border-left: 0; border-top: 1px solid var(--line); } .stand > div:first-child { border-top: 0; } }
.status { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; color: var(--soft); font-size: 15px; }

/* Sections */
.sec { padding-block: clamp(56px, 8vw, 112px); }
.sec.dark { background: var(--peat); color: var(--chalk); }
.sec-head { display: grid; gap: 16px; max-width: 46em; margin-bottom: clamp(32px, 5vw, 64px); }
.sec-head p { color: var(--ink-soft); font-size: 1.1rem; }
.dark .sec-head p { color: var(--soft); }

/* The four tools: wide rows, figure and words swap sides */
.tool { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; padding-block: clamp(32px, 5vw, 64px); border-top: 1.5px solid var(--peat); }
.tool:nth-of-type(even) .fig { order: 2; }
.tool-copy { display: grid; gap: 16px; align-content: start; }
.tool-copy .name { font: 500 15px var(--mono); letter-spacing: 0.06em; color: var(--ink-soft); }
.tool-copy p { color: var(--ink-soft); max-width: 32em; }
@media (max-width: 860px) { .tool { grid-template-columns: 1fr; } .tool .fig, .tool:nth-of-type(even) .fig { order: 2; } }

/* Figures: small working drawings on a peat panel */
.fig { background: var(--peat); color: var(--chalk); padding: clamp(20px, 3vw, 34px); position: relative; min-height: 300px; display: grid; align-content: space-between; gap: 18px; }
.fig::before, .fig::after { content: ""; position: absolute; width: 22px; height: 22px; border: 0 solid var(--gorse); }
.fig::before { top: 10px; left: 10px; border-top-width: 3px; border-left-width: 3px; }
.fig::after { bottom: 10px; right: 10px; border-bottom-width: 3px; border-right-width: 3px; }
.fig .cap { color: var(--mute); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.fig .num { font: 600 clamp(2.4rem, 5vw, 3.6rem)/1 var(--display); letter-spacing: -0.04em; color: var(--gorse); font-variant-numeric: tabular-nums; }
.fig .num small { font: 500 1rem var(--body); letter-spacing: 0; color: var(--soft); margin-left: 8px; }
.fig .line { color: var(--soft); font-size: 15.5px; max-width: 30em; }
@media (max-width: 560px) { .fig .num small { display: block; margin: 8px 0 6px; } }
/* Control Tower: the pack filling itself */
.slides { display: grid; grid-template-columns: repeat(11, 1fr); gap: 5px; }
.slides i { aspect-ratio: 16 / 10; background: var(--peat-3); transition: background .25s; }
.slides i.built { background: var(--gorse); }
/* Clearway: two lifts, one yard */
.yard svg { width: 100%; height: auto; }
.yard .box { fill: var(--peat-2); stroke: var(--peat-4); stroke-width: 1.5; }
.yard .lift { fill: rgba(245,183,0,.06); stroke: var(--gorse); stroke-width: 1.5; stroke-dasharray: 6 5; transition: transform 1s cubic-bezier(.5,0,.2,1); }
.yard .hit { fill: var(--fuchsia); opacity: 0; transition: opacity .35s .7s; }
.yard.clashing .hit { opacity: .8; }
.yard text { font: 500 10px var(--mono); letter-spacing: 0.08em; fill: var(--mute); text-transform: uppercase; }
.weeks { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.weeks span { font: 500 11.5px var(--mono); letter-spacing: 0.04em; text-align: center; padding: 7px 0; background: var(--peat-3); color: var(--soft); }
.weeks span.hot { background: var(--fuchsia); color: #fff; }
/* Doorway IQ: the count against the limit */
.meter { height: 12px; background: var(--peat-3); position: relative; }
.meter i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--atlantic-lt); transition: width .3s linear, background .3s; }
.meter::after { content: ""; position: absolute; top: -5px; bottom: -5px; left: 80%; width: 2px; background: var(--chalk); }
.meter.watch i { background: var(--gorse); } .meter.act i { background: var(--fuchsia); }
/* Vehicle Access: the plate and its permit */
.plate { display: inline-flex; align-items: stretch; background: var(--chalk); color: var(--peat); border-radius: 4px; overflow: hidden; margin: 0 0 16px; }
.plate i { background: #1F3A93; color: #fff; font: 500 12px var(--mono); font-style: normal; display: flex; align-items: flex-end; padding: 6px 7px; }
.plate b { font: 600 clamp(1.5rem, 3.4vw, 2.5rem)/1 var(--display); letter-spacing: 0.01em; padding: 12px 18px; }
.permit { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 32px; margin: 0; }
.permit dt { font: 500 11.5px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.permit dd { margin: 4px 0 0; font-weight: 600; }
.also h3 .flag { margin-left: 8px; vertical-align: middle; }
/* Dosen: the walk, before and after */
.walks { display: grid; gap: 14px; }
.walks div { display: grid; grid-template-columns: 6.5em 1fr 3.6em; gap: 12px; align-items: center; font-size: 14.5px; color: var(--soft); }
.walks b { height: 10px; background: var(--peat-3); position: relative; display: block; }
.walks b i { position: absolute; inset: 0 auto 0 0; background: var(--peat-4); width: 0; transition: width 1.2s cubic-bezier(.3,.6,.2,1); }
.walks .after b i { background: var(--gorse); }
.walks span:last-child { font: 500 14px var(--mono); color: var(--chalk); text-align: right; }

/* Gorse band */
.band { background: var(--gorse); padding-block: clamp(44px, 6vw, 80px); }
.band .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px 56px; align-items: center; }
.band p { font-size: 1.08rem; max-width: 30em; }
@media (max-width: 760px) { .band .wrap { grid-template-columns: 1fr; } }

/* Who is behind it */
.behind { display: grid; grid-template-columns: 1fr 1fr; gap: 28px clamp(28px, 6vw, 96px); align-items: start; }
.behind .copy { display: grid; gap: 18px; color: var(--ink-soft); max-width: 34em; }
.behind .copy strong { color: var(--peat); font-weight: 600; }
.sites { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--peat); }
.sites li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.sites li span { font: 400 14px var(--mono); color: var(--ink-soft); }
@media (max-width: 760px) { .behind { grid-template-columns: 1fr; } }

/* A real sequence, so it gets chainage */
.steps { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 28px; counter-reset: s; }
.step { display: grid; gap: 12px; align-content: start; padding-top: 20px; border-top: 1.5px solid var(--peat-4); }
.step .ch { font: 500 12.5px var(--mono); letter-spacing: 0.1em; color: var(--gorse); }
.step p { color: var(--soft); font-size: 16px; }
.on-light .step { border-top-color: var(--peat); } .on-light .step .ch { color: var(--gorse-deep); } .on-light .step p { color: var(--ink-soft); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.lead3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: clamp(28px, 4vw, 48px); }
.lead3 > div { background: var(--chalk); border-top: 4px solid var(--gorse); padding: clamp(22px, 2.6vw, 32px); display: grid; gap: 14px; align-content: start; }
.lead3 h3 { font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.15; }
.lead3 p { color: var(--ink-soft); }
@media (max-width: 860px) { .lead3 { grid-template-columns: 1fr; } }

/* Plain lists of points */
.points { display: grid; border-top: 1.5px solid var(--peat); }
.point { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 8px 48px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.point p { color: var(--ink-soft); }
.dark .points { border-top-color: var(--peat-4); } .dark .point { border-bottom-color: var(--peat-3); } .dark .point p { color: var(--soft); }
@media (max-width: 760px) { .point { grid-template-columns: 1fr; } }
.also { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1.5px solid var(--peat); }
.also div { padding: 22px 24px 22px 0; display: grid; gap: 8px; align-content: start; }
.also div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.also p { color: var(--ink-soft); font-size: 15.5px; }
@media (max-width: 860px) { .also { grid-template-columns: 1fr; } .also div, .also div + div { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); } }
.secure { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1.5px solid var(--peat); }
.secure div { padding: 20px 20px 20px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.secure div:nth-child(3n+2), .secure div:nth-child(3n) { padding-left: 20px; border-left: 1px solid var(--line); }
.secure b { font-weight: 600; font-size: 1.05rem; } .secure span { color: var(--ink-soft); font-size: 15.5px; }
@media (max-width: 860px) { .secure { grid-template-columns: 1fr; } .secure div, .secure div:nth-child(3n+2), .secure div:nth-child(3n) { padding: 18px 0; border-left: 0; } }

/* Product page head */
.phead { background: var(--peat); color: var(--chalk); padding-block: clamp(32px, 5vw, 72px); }
.phead .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.phead .copy { display: grid; gap: 20px; }
.phead .name { font: 500 15px var(--mono); letter-spacing: 0.06em; color: var(--gorse); }
.phead h1 { font-size: clamp(1.9rem, 4.4vw, 3.5rem); }
.phead .lede { color: var(--soft); font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 32em; }
.phead .fig { background: var(--peat-2); }
@media (max-width: 860px) { .phead .grid { grid-template-columns: 1fr; } }
.cost { display: grid; grid-template-columns: auto 1fr; gap: 12px clamp(24px, 5vw, 72px); align-items: center; }
.cost .n { font: 600 clamp(3rem, 9vw, 7rem)/0.95 var(--display); letter-spacing: -0.05em; color: var(--peat); }
.cost p { font-size: clamp(1.1rem, 1.8vw, 1.4rem); max-width: 26em; }
.cost .src { grid-column: 2; color: var(--ink-soft); font-size: 15px; }
@media (max-width: 700px) { .cost { grid-template-columns: 1fr; } .cost .src { grid-column: 1; } }
.groups { columns: 3 220px; column-gap: 40px; padding: 0; margin: 0; list-style: none; border-top: 1.5px solid var(--peat); padding-top: 16px; }
.groups li { padding: 9px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.log { background: var(--chalk); color: var(--peat); padding: 22px 24px 18px; }
.lr { display: grid; grid-template-columns: 7.5em 1fr auto; gap: 4px 16px; padding: 13px 0; border-top: 1px solid var(--line); align-items: center; }
.lr .ts { font: 400 12.5px var(--mono); color: #6A645D; } .lr .tx { font-size: 15.5px; line-height: 1.4; }
@media (max-width: 600px) { .lr { grid-template-columns: 1fr; } }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 32px clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.anagram { font: 600 clamp(2.2rem, 6vw, 4rem)/1.05 var(--display); letter-spacing: -0.035em; }
.anagram s { color: #8D847A; text-decoration-color: var(--fuchsia); text-decoration-thickness: 3px; display: block; }

.film-frame { background: var(--peat); aspect-ratio: 16 / 9; }
.film-frame video { width: 100%; height: 100%; background: var(--peat); }
.film-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 12px; color: var(--ink-soft); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; }
form.enquiry { background: var(--peat-2); padding: clamp(22px, 4vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
form.enquiry .full { grid-column: 1 / -1; }
form.enquiry label { display: grid; gap: 8px; align-content: start; font-size: 14px; font-weight: 500; color: var(--soft); }
form.enquiry .req { color: var(--gorse); }
form.enquiry input, form.enquiry select, form.enquiry textarea { width: 100%; font: 16px/1.4 var(--body); color: var(--peat); background: var(--chalk); border: 2px solid var(--chalk); border-radius: 0; padding: 11px 12px; min-height: 48px; }
form.enquiry textarea { min-height: 120px; resize: vertical; }
form.enquiry input:focus, form.enquiry select:focus, form.enquiry textarea:focus { border-color: var(--gorse); outline: none; }
form.enquiry .fine { font-size: 13.5px; color: var(--mute); } form.enquiry .fine a { color: var(--soft); }
form.enquiry .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-list { display: grid; align-content: start; }
.contact-list div { padding: 18px 0; border-bottom: 1px solid var(--peat-3); display: grid; gap: 4px; }
.contact-list div:first-child { border-top: 1px solid var(--peat-3); }
.contact-list .mono { color: var(--mute); font-size: 12.5px; }
.contact-list a, .contact-list span { font-size: 1.08rem; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--gorse); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { form.enquiry { grid-template-columns: 1fr; } }

/* Footer */
footer { background: var(--peat); color: var(--mute); border-top: 1px solid var(--peat-3); padding-block: 36px 96px; }
footer .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 20px 40px; align-items: start; }
footer .wordmark { font-size: 24px; color: var(--chalk); }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; }
footer nav a { text-decoration: none; color: var(--soft); } footer nav a:hover { color: var(--gorse); }
footer .legal { grid-column: 1 / -1; font: 400 12px/1.9 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
@media (max-width: 760px) { footer .wrap { grid-template-columns: 1fr; } }
@media (min-width: 761px) { footer { padding-bottom: 36px; } }

/* On a phone the demo button follows you down the page */
.dock { display: none; }
@media (max-width: 760px) {
  .dock { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--peat); border-top: 1px solid var(--peat-3); transform: translateY(110%); transition: transform .25s; }
  .dock.show { transform: none; } .dock .btn { width: 100%; }
}

/* Legal pages */
.doc { max-width: 760px; padding-block: clamp(40px, 6vw, 80px); }
.doc h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 8px; }
.doc .updated { color: var(--ink-soft); margin-bottom: 32px; }
.doc h2 { font-size: 1.25rem; margin: 36px 0 10px; letter-spacing: -0.02em; }
.doc p + p { margin-top: 12px; } .doc ul { padding-left: 20px; margin: 10px 0 0; } .doc li + li { margin-top: 6px; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15.5px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-top: 1px solid var(--line); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .plan .route, .plan .spot.on circle.halo { animation: none; }
  .plan .draw { animation: none; stroke-dashoffset: 0; }
  .plan .ret-g, .yard .lift, .walks b i, .meter i, .slides i { transition: none; }
}
