/* ============================================================
   Direction 5: The ink line (the marked gallery with Question rail type)
   ============================================================ */
/* Self-hosted fonts (SIL Open Font License, see /fonts/OFL.txt). Latin subset only: the site uses nothing outside it. */
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/atkinson-hyperlegible-latin-400.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: "Atkinson Hyperlegible"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/atkinson-hyperlegible-latin-400-italic.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: "Atkinson Hyperlegible"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/atkinson-hyperlegible-latin-700.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: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("/fonts/schibsted-grotesk-latin-var.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: "Nanum Pen Script"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/nanum-pen-script-latin-400.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; }
/* Metric-matched fallbacks: Arial scaled and lifted to the real fonts' width, ascent and descent, so the swap when the web fonts arrive does not move the layout. */
@font-face { font-family: "Schibsted Fallback"; font-weight: 100 599; src: local("Arial"); size-adjust: 101.8%; ascent-override: 95.9%; descent-override: 25.3%; line-gap-override: 0%; }
@font-face { font-family: "Schibsted Fallback"; font-weight: 600 900; src: local("Arial Bold"), local("Arial-BoldMT"); size-adjust: 101.8%; ascent-override: 95.9%; descent-override: 25.3%; line-gap-override: 0%; }
@font-face { font-family: "Atkinson Fallback"; font-weight: 100 599; src: local("Arial"); size-adjust: 99.2%; ascent-override: 95.8%; descent-override: 29.2%; line-gap-override: 0%; }
@font-face { font-family: "Atkinson Fallback"; font-weight: 600 900; src: local("Arial Bold"), local("Arial-BoldMT"); size-adjust: 99.2%; ascent-override: 95.8%; descent-override: 29.2%; line-gap-override: 0%; }
:root {
  /* The wall: a warm near-white, like a lit gallery wall. Never #fff. */
  --wall: oklch(98.2% 0.0035 90);
  --wall-2: oklch(95.6% 0.005 90);      /* a second room: the calculator band and the photo frame */
  --field: oklch(99.4% 0.002 90);       /* inside form fields, a touch lighter than the wall */
  --ink: oklch(23% 0.008 265);          /* graphite: all text */
  --ink-2: oklch(44% 0.008 265);        /* captions and quiet text, about 7:1 on the wall */
  --hair: oklch(88.5% 0.004 265);       /* hairlines: decoration only */
  --edge: oklch(52% 0.008 265);         /* field and outlined-button boundary, above 3:1 on the wall */
  /* The one contrast colour: a deep cinnabar, the red of Hara's own Muji work. It is the only warm,
     saturated thing outside the illustration, so it reads as "act here" on a grey-white wall, and at
     about 6:1 it carries light text on it and stands as text on the wall. Used only on Call, Calculate,
     ticked boxes, the price result, the 500, the selected switch button, the hero Call underline, the 500 ring, the ink line and its dots. */
  --accent: oklch(49% 0.165 30);
  --accent-deep: oklch(42% 0.15 30);    /* hover only */
  --on-accent: oklch(98.6% 0.004 90);

  /* The pen: Nanum Pen Script, only on annotations. Graphite pen lines; the red pen is --accent. */
  --pen: "Nanum Pen Script", "Comic Sans MS", cursive;
  --lead: var(--edge);

  --max: 1600px;                        /* the content column, from 1920px wide screens down; it is narrower on smaller screens */
  --gutter: clamp(16px, 3.2vw, 40px);

  /* Question rail type and rail geometry. --rail: where the ink line runs, from the left edge of .wrap.
     --gl: left padding of every section .wrap, so the rail gutter stays empty. */
  --head: "Schibsted Grotesk", "Schibsted Fallback", Arial, sans-serif;
  --body: "Atkinson Hyperlegible", "Atkinson Fallback", Arial, sans-serif;
  --rail: 14px;
  --gl: 40px;
  --phone: 320px;
  --wall-gap: 88px;                     /* room for the pen leaders between the notes and the phone */

  /* Space scale: tight inside groups, wide between rooms */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px; --s11: 160px;
}

@media (min-width: 600px) { :root { --rail: 24px; --gl: 64px; } }
@media (min-width: 1024px) { :root { --rail: 56px; --gl: 120px; } }
/* Wide screens: from 1280 to 1920 the gutters, rail, wall gap, phone and type grow smoothly, so nothing changes at 1280 and below. */
@media (min-width: 1280px) {
  :root {
    --gutter: clamp(40px, calc(40px + (100vw - 1280px) * 0.0625), 80px);
    --gl: clamp(120px, calc(120px + (100vw - 1280px) * 0.0625), 160px);
    --rail: clamp(56px, calc(56px + (100vw - 1280px) * 0.025), 72px);
    --wall-gap: clamp(88px, calc(88px + (100vw - 1280px) * 0.05), 120px);
    --phone: clamp(320px, calc(320px + (100vw - 1280px) * 0.125), 400px);
  }
  html { font-size: clamp(100%, calc(100% + (100vw - 1280px) * 0.003125), 112.5%); }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--wall); color: var(--ink);
  font-family: var(--body); font-weight: 400;
  font-size: 1.0625rem; line-height: 1.55;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--head); letter-spacing: -0.02em; font-kerning: normal; text-wrap: balance; }
figure { margin: 0; }
[role="list"] { list-style: none; margin: 0; padding: 0; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
/* Every section .wrap keeps the rail gutter empty on the left (the header and footer keep their own padding). */
section .wrap, .doubts.wrap { padding-left: var(--gl); max-width: calc(var(--max) + var(--gl) + var(--gutter)); }

/* ---------- The ink line: one red pen line from the Call underline down the rail, a dot at every heading ----------
   The script draws #inkPath and sets html.ink-ready. Until then (and without JS) a plain red rule stands in. */
main { position: relative; }
section .wrap, .doubts.wrap { position: relative; }
.ink { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.ink path { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
/* The dot sits at its heading's first line, on the rail. top stays auto, so it keeps the heading's own line position. */
.dot {
  position: absolute; left: calc(var(--rail) - 6.5px); margin-top: calc(0.52em - 6.5px);
  width: 13px; height: 13px; border-radius: 50%; background-color: var(--accent); pointer-events: none;
}
/* While the line follows the scroll, a dot is an outline until the line reaches its section. */
html.ink-anim section:not(.is-on) .dot { background-color: var(--wall); box-shadow: inset 0 0 0 1.5px var(--accent); }
@media (prefers-reduced-motion: no-preference) { .dot { transition: background-color 0.3s ease-out, box-shadow 0.3s ease-out; } }
/* No-JS stand-in: a straight rule down the rail in every section, ending at the last dot. */
main > section, main > .room { position: relative; }
main > section::before, main > .room::before {
  content: ""; position: absolute; top: 0; bottom: 0; width: 2px; background: var(--accent); pointer-events: none;
  left: calc(max(0px, (100% - (var(--max) + var(--gl) + var(--gutter))) / 2) + var(--rail) - 1px);
}
main > .room--contact::before { bottom: auto; height: calc(var(--s11) + 0.52 * clamp(1.875rem, 1.05rem + 2.3vw, 3.25rem)); }
html.ink-ready main > section::before, html.ink-ready main > .room::before { display: none; }

/* Focus: a graphite ring, visible on the wall and on the red buttons alike. */
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* Three heading sizes only: h1, h2, h3. */
h1 { font-size: clamp(2.25rem, 1.15rem + 4.4vw, 4.5rem); font-weight: 800; line-height: 0.98; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.875rem, 1.05rem + 2.3vw, 3.25rem); font-weight: 700; line-height: 1.04; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }

.ph { color: var(--ink-2); }
.quiet { color: var(--ink-2); }

/* ---------- Hand-drawn marks (from the marked-up page) ---------- */
.mark { display: block; overflow: visible; pointer-events: none; }
.mark path { fill: none; stroke: var(--lead); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
/* Stroke widths are in each SVG's own units, picked so every mark renders at about 2.5px at its usual size.
   (No non-scaling-stroke on marks: dash lengths under it differ between engines.) */
.mark--tick path { stroke-width: 2.8; }
.mark--ring path { stroke-width: 2.8; }
@media (min-width: 700px) { .mark--ring path { stroke-width: 1.8; } }
.mark--accent path { stroke: var(--accent); }
/* Draw-on: only when JS has confirmed motion is welcome. Otherwise every mark is already drawn. */
.draw [data-draw] .mark path { stroke-dasharray: 1 1.2; stroke-dashoffset: 1.05; }
.draw [data-draw].is-drawn .mark path { stroke-dashoffset: 0; transition: stroke-dashoffset var(--dur, 0.6s) cubic-bezier(0.55, 0.1, 0.3, 1) var(--delay, 0s); }
/* Once drawn (transitionend, or a timeout), the dash is removed so a mark can only ever end solid. */
html.draw [data-draw] .mark path.drawn { stroke-dasharray: none; stroke-dashoffset: 0; transition: none; }
.d2 { --delay: 0.4s; } .d4 { --delay: 0.8s; } .d5 { --delay: 1.1s; }

/* Pencil outlines round screenshots and the photo slot: static lines, never dashed, so non-scaling stroke is safe here. */
.pencil { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.pencil path { fill: none; stroke: var(--edge); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }

/* Pen labels and notes: Nanum Pen, graphite. Its letters are small for their size, so never under 24px. */
.pen { display: block; font: 400 1.625rem/1.1 var(--pen); color: var(--ink-2); }
@media (max-width: 599px) { .pen { font-size: 1.5rem; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; flex-direction: column; justify-content: center; align-items: flex-start;
  min-height: 56px; padding: 8px 24px; border: 0; border-radius: 2px;
  font: inherit; font-family: var(--head); font-size: 1rem; font-weight: 700; line-height: 1.25; text-decoration: none; cursor: pointer;
}
.btn--call { background: var(--accent); color: var(--on-accent); min-height: 64px; padding: 10px 28px; }
.btn--call:hover { background: var(--accent-deep); }
.btn--call > span:first-child { font-weight: 800; }
.btn__num { font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); justify-content: center; }
.btn--line:hover { background: oklch(94% 0.004 90); }
.btn--ink { background: var(--ink); color: var(--wall); justify-content: center; }
.btn--ink:hover { background: oklch(33% 0.008 265); }

/* ---------- Header ---------- */
.top__in { display: flex; align-items: center; gap: var(--s4); min-height: 72px; }
/* The logo (Oscar's design, 28 Nov 2026). The arc, HEFESTO and Fé are the image; the red line under the name
   is drawn here, so it draws on load like the hero pen and stays still under reduced motion.
   Phones get the small logo: the H, the line from edge to edge, Fé under its left leg.
   The line positions are measured from each image (see brand/ and HANDOFF.md). */
.logo { margin-right: auto; flex-shrink: 0; display: inline-flex; align-items: center; min-height: 48px; min-width: 48px; text-decoration: none; }
.logo__mark { position: relative; display: block; }
.logo img { display: block; width: auto; height: 64px; }
.logo__line { position: absolute; background: var(--accent); border-radius: 999px; pointer-events: none; }
.logo__line--full { left: 1.854%; width: 96.292%; top: 75.395%; height: 1.836%; }
.logo__line--small { display: none; left: 1.573%; width: 96.862%; top: 71.061%; height: 2.459%; }
@media (prefers-reduced-motion: no-preference) { .logo__line { animation: logo-pen 0.7s linear 0.2s both; } }
@keyframes logo-pen { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
/* Below 1024px the full logo leaves no room for the four links and the phone number, so tablets get the small logo too
   (the <source> media in each page's header matches this). */
@media (max-width: 1023px) {
  .logo img { height: 56px; }
  .logo__line--full { display: none; }
  .logo__line--small { display: block; }
}
.top__nav { display: flex; gap: var(--s1); }
.top__nav a, .top__tel {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; min-width: 48px; padding: 0 12px; white-space: nowrap;
  font-family: var(--head); font-size: 1rem; font-weight: 600; text-decoration: none; color: var(--ink);
}
.top__nav a:hover, .top__tel:hover { text-decoration: underline; }
.top__tel { font-weight: 700; font-variant-numeric: tabular-nums; margin-left: var(--s4); padding-right: 0; }

/* ---------- Hero ---------- */
.hero { padding-top: var(--s5); }
.hero h1, .hero .offer { max-width: 13ch; }
/* Home: the H1 names the service and the area for Google; the offer under it is the big line people read. */
.hero h1.hero__h1 {
  font-family: var(--head); font-size: 1.0625rem; font-weight: 700; line-height: 1.35; letter-spacing: 0; text-wrap: pretty;
  max-width: 34em; margin-bottom: var(--s3);
}
.offer {
  margin: 0; font-family: var(--head); font-size: clamp(2.25rem, 1.15rem + 4.4vw, 4.5rem); font-weight: 800;
  line-height: 0.98; letter-spacing: -0.02em; font-kerning: normal; text-wrap: balance;
}
/* The terms line is its own element, so the space above and below it can be set on its own. */
.offer__terms { margin: 0; font-family: var(--head); text-wrap: balance; }
.lead { font-size: 1.125rem; line-height: 1.5; max-width: 36em; margin-top: var(--s4); }
.svc-line { margin-top: var(--s4); }
/* The gap leaves room for the pen underline under the Call, so it never touches the outline button. */
.actions { display: flex; flex-wrap: wrap; gap: 28px 44px; margin-top: var(--s5); }
/* The hero Call, underlined in red pen: one stroke drawn right to left, so the pen ends at the left end, where the ink line carries on. */
.callwrap { position: relative; display: inline-block; vertical-align: top; }
.callwrap .btn { position: relative; z-index: 1; }
.mark--underline { --delay: 0.2s; --dur: 0.7s; position: absolute; left: -3%; top: calc(100% + 5px); width: 106%; height: 14px; }
/* Level pace, so the pen is still moving when the ink line takes over. */
.draw [data-draw].is-drawn .mark--underline path { transition-timing-function: linear; }
/* Tablet and desktop: a clear gap between the hero and the example profile (phones keep their own, smaller gap below). */
.exhibit-title { margin-top: var(--s9); }
/* The illustration, themed only through its own hooks. */
.gbp {
  --gbp-accent: var(--accent);
  --gbp-accent-ink: var(--on-accent);
  --gbp-switch-track: oklch(93.4% 0.004 90);
  --gbp-switch-ink: var(--ink);
  --gbp-note-font: var(--pen);
  --gbp-note-color: var(--ink-2);
  --gbp-label-size: 1rem;
  --gbp-label-weight: 400;
  --gbp-frame: oklch(21% 0.006 265);
  --gbp-marker-bg: oklch(25% 0.008 265);
  --gbp-marker-ink: var(--on-accent);
}
.exhibit { margin-top: var(--s5); }
/* The wide-screen pen note (Oscar's sketch) shows only on the 12-column wall. */
.hero-note { display: none; }
/* The six profile notes are pen notes, in Oscar's hand. */
.gbp-notes li { font-size: 1.5rem; line-height: 1.15; }
/* Pen leaders from each note to its part: drawn by the script, only while the wall is hung. */
.leaders { display: none; }
.leaders .mark path { stroke-width: 2; }

/* ---------- Rooms (sections) ---------- */
.room { padding-top: var(--gap, var(--s10)); }
.room--do { --gap: var(--s10); }
.room--work { --gap: var(--s9); }
.room--check { --gap: var(--s11); }
.room--promise { --gap: var(--s10); }
.room--doubts { --gap: var(--s9); }
.room--cost { margin-top: var(--s10); padding-block: var(--s9); background: var(--wall-2); }
.room--who { --gap: var(--s10); }
.room--where { --gap: var(--s9); }
.room--contact { --gap: var(--s11); }
.room h2 { margin-bottom: var(--s4); }

/* What I do: an index, name over line */
.do__list { display: grid; gap: var(--s6) var(--s8); margin-top: var(--s5); }
/* Who it is for, under the "What I do" heading (moved from the hero, 25 Nov). */
.do__who { color: var(--ink-2); max-width: 30em; margin-top: var(--s3); }
.do__list li { font-size: 1.0625rem; max-width: 30em; }
.do__list h3 { margin-bottom: var(--s1); }

/* Recent work: screenshots hung like prints, the same scale for before and after */
.work { display: grid; gap: var(--s7); }
.work__text p { max-width: 30em; }
.work__text p + p { margin-top: var(--s3); }
.hang__pair { display: grid; grid-template-columns: minmax(0, 3.3fr) minmax(0, 1fr); gap: var(--s3); align-items: end; }
.hang img { width: 100%; box-shadow: 0 0 0 1px var(--hair); background: var(--wall-2); }
.hang figcaption { margin-top: var(--s3); }
/* The After screenshots sit in pencilled frames (a browser and a phone). The Before stays a plain print. */
.device { position: relative; background: var(--wall-2); }
.device--browser { aspect-ratio: 1000 / 680; }
.device--phone { aspect-ratio: 200 / 430; border-radius: 12%; }
.hang .device img { position: absolute; width: auto; height: auto; box-shadow: none; background: none; object-fit: cover; object-position: top; }
.hang .device--browser img { left: 1.2%; top: 9.4%; width: 97.6%; height: 89.6%; }
.hang .device--phone img { left: 6%; top: 8.4%; width: 88%; height: 87.9%; border-radius: 3px; }
.work__next { max-width: 24em; color: var(--ink-2); }

/* Prints: stock trade photos, hung without captions (they claim nothing; credited in the footer) */
.print img { width: 100%; background: var(--wall-2); }

/* Free check: hanging numerals */
.steps { display: grid; gap: var(--s5); margin: var(--s6) 0 var(--s7); }
.steps li { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: var(--s3); font-size: 1.0625rem; max-width: 34em; }
.steps__n { font-family: var(--head); font-size: 2rem; line-height: 0.9; font-weight: 400; color: var(--ink); font-variant-numeric: tabular-nums; }
.check { display: grid; gap: var(--s8); }

/* Guarantee: the 500 is the one memorable thing on the wall */
.promise { display: grid; gap: var(--s5); align-items: end; }
.promise__num {
  font-family: var(--head); font-size: clamp(7.5rem, 4rem + 22vw, 19rem); font-weight: 800; line-height: 0.78; letter-spacing: -0.05em;
  color: var(--accent); font-variant-numeric: lining-nums; margin-left: -0.04em;
}
/* The red pen ring round the 500. It is sized in em from the digits (the ink is about 1.46em wide and 0.72em tall), so it
   always encloses all three with clear space. The 500 is shifted right by half an em so the ring clears the viewport edge,
   and its font size is capped so the ring stays out of the text column. */
.promise__digits { position: relative; display: inline-block; padding: 0; }
.mark--ring { position: absolute; left: calc(50% + 0.045em); top: 50%; width: 2.97em; height: 1.76em; transform: translate(-50%, -50%); }
.promise__num { margin: 0.4em 0 0.4em 0.45em; font-size: min(calc((100vw - 40px) / 3.0), 13.1rem); }
@media (min-width: 600px) and (max-width: 699px) { .promise__num { font-size: calc((100vw - 40px) / 3.4); } }
@media (min-width: 960px) { .promise__num { font-size: min(14.5vw, 13.1rem); } }
.promise__text p { max-width: 32em; }
.promise__text p + p { margin-top: var(--s3); }
.promise__text .def { color: var(--ink-2); }

/* No time / Money: two wall texts, hung at different heights */
.doubts { display: grid; gap: var(--s8); }
.doubts p { max-width: 30em; }

/* Cost: the one tonal room (see .room--cost above) */
.cost { display: grid; gap: var(--s5); }
.calc h3 { margin-bottom: var(--s2); }
.calc > p { max-width: 32em; }
.ticks { margin: var(--s5) 0; border-top: 1px solid var(--hair); }
.tick {
  position: relative; display: flex; align-items: center; gap: var(--s4); min-height: 56px; padding: 0 var(--s2);
  border-bottom: 1px solid var(--hair); cursor: pointer; font-size: 1.0625rem;
}
/* The input stays real and focusable: transparent, over the drawn box. */
.tick > span:last-child { font-family: var(--head); font-weight: 700; }
.tick input { position: absolute; left: var(--s2); top: 50%; width: 30px; height: 30px; margin: -15px 0 0; opacity: 0; cursor: pointer; color: var(--ink); }
.box { position: relative; flex: none; width: 30px; height: 30px; border: 2px solid var(--edge); border-radius: 3px; background: var(--field); }
.box svg { position: absolute; left: -2px; top: -12px; width: 40px; height: 40px; clip-path: inset(0 100% 0 0); transition: clip-path 0.3s ease-out; }
@media (prefers-reduced-motion: reduce) { .box svg { transition: none; } }
.tick input:checked + .box { border-color: var(--accent); }
.tick input:checked + .box svg { clip-path: inset(0 0 0 0); }
.tick input:focus-visible { outline: none; }
.tick input:focus-visible + .box { outline: 3px solid var(--ink); outline-offset: 3px; }
.calc .btn--call { min-width: 160px; align-items: center; }
.calc__result { margin-top: var(--s5); color: var(--accent); }
.calc__result p { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 400; line-height: 1.25; letter-spacing: -0.015em; }
.calc__result p + p { margin-top: var(--s1); }
.calc__result .ph { font-size: 1rem; letter-spacing: 0; color: var(--ink-2); }
.calc__notes { margin-top: var(--s6); display: grid; gap: var(--s2); }
.calc__notes p { max-width: 34em; }

/* Who: the photo slot is a labelled empty frame, never a stock person */
.who { display: grid; gap: var(--s6); align-items: center; }
.frame {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; width: 100%; max-width: 320px;
  color: var(--ink-2); font-size: 1rem;
}
.who__text p { max-width: 30em; margin-bottom: var(--s5); }

/* Where */
.where { display: grid; gap: var(--s7); }
.where__text > p { max-width: 30em; }
.counties { display: grid; gap: var(--s4); margin-top: var(--s5); }
.counties li { font-size: 1.0625rem; max-width: 30em; }
.counties .county { display: block; font-family: var(--head); font-weight: 700; }
.where__prints { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s4); align-items: start; }

/* Contact */
.contact { display: grid; gap: var(--s7); }
.form { display: grid; gap: var(--s4); max-width: 30rem; margin-top: var(--s5); }
.field label { display: block; margin-bottom: var(--s2); font-family: var(--head); font-size: 1rem; font-weight: 600; }
.field input {
  display: block; width: 100%; min-height: 52px; padding: 0 var(--s4); border: 1.5px solid var(--edge); border-radius: 2px;
  background: var(--field); color: var(--ink); font: inherit; font-size: 1.0625rem;
}
.form .btn { justify-self: start; margin-top: var(--s2); }
.contact__call p { color: var(--ink-2); margin-bottom: var(--s4); }

/* ---------- Footer ---------- */
.foot { margin-top: var(--s11); padding: var(--s8) 0 var(--s7); border-top: 1px solid var(--hair); font-size: 1rem; }
.foot__cols { display: grid; gap: var(--s6); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.foot__cols > div:last-child { grid-column: 1 / -1; }
.foot__h { font-family: var(--head); font-weight: 700; margin-bottom: var(--s2); }
.foot li { color: var(--ink-2); line-height: 1.7; }
.foot a { overflow-wrap: anywhere; display: inline-flex; align-items: center; min-height: 48px; min-width: 48px; color: var(--ink); }
.foot__credit { margin-top: var(--s7); color: var(--ink-2); font-size: 1rem; }

/* ---------- Sticky bar: phones only ---------- */
.form .hp { display: none; } /* the Netlify spam trap, also hidden by the hidden attribute */
.form .hp input { color: var(--ink); background: var(--field); }
.callbar { display: none; }
@media (max-width: 599px) {
  html { scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .callbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; gap: var(--s2);
    padding: var(--s2) max(var(--s2), env(safe-area-inset-right)) calc(var(--s2) + env(safe-area-inset-bottom)) max(var(--s2), env(safe-area-inset-left));
    background: var(--wall); box-shadow: 0 -1px 0 var(--hair);
  }
  .callbar a {
    flex: 1 1 0; display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 2px;
    font-family: var(--head); font-weight: 700; text-decoration: none;
  }
  .callbar a:first-child { background: var(--accent); color: var(--on-accent); }
  .callbar a:last-child { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
  .top__tel { display: none; }
  .top__in { min-height: 60px; gap: var(--s2); }
  .logo img { height: 52px; }
  .logo__line--full { display: none; }
  .logo__line--small { display: block; }
  .top__nav { margin-right: -12px; }
  .top__nav a { padding: 0 10px; }
  /* Four header links do not fit beside the logo on a phone; the sticky bar below already carries Free check. */
  .top__nav a[href="/free-check/"] { display: none; }
  .hero { padding-top: var(--s3); }
  .lead { font-size: 1.0625rem; }
  .actions { margin-top: var(--s4); }
  /* Phones: the promise big, its terms a size down and quieter, then the Call; the sticky bar carries Free check. */
  .offer__terms { display: block; max-width: 22ch; margin-top: 10px; font-size: 1.0625rem; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink-2); }
  .hero:has(.offer) .actions .btn--line { display: none; }
  .hero:has(.offer) .link-row { margin-top: var(--s4); }
  .exhibit-title { margin-top: var(--s7); }
  .room--do { --gap: var(--s9); }
  .room--check, .room--contact { --gap: var(--s10); }
  .room--promise, .room--who { --gap: var(--s9); }
  .room--cost { margin-top: var(--s9); padding-block: var(--s8); }
  .foot { margin-top: var(--s10); }
}
@media (max-width: 360px) {
  /* Small phones (320x568): a tighter hero so the Call clears the sticky bar. */
  .top__in { min-height: 56px; }
  .top__nav { margin-right: 0; }
  .top__nav a { padding: 0 6px; }
  .logo img { height: 48px; }
  .hero { padding-top: var(--s2); }
  .hero h1.hero__h1 { margin-bottom: var(--s2); }
  .hero h1, .hero .offer { font-size: 2rem; }
  .lead { font-size: 1rem; line-height: 1.45; margin-top: var(--s3); }
  .actions { margin-top: var(--s3); }
  .actions .btn--call { min-height: 56px; padding-block: 6px; }
  /* The rail gutter on the left costs width, so the right gutter tightens to hold the hero Call above the bar. */
  section .wrap, .doubts.wrap { padding-right: 10px; }
}

/* ---------- Tablet ---------- */
@media (min-width: 600px) {
  .hero h1, .hero .offer { max-width: none; }
  .do__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .foot__cols > div:last-child { grid-column: auto; }
}
/* Home, tablet and up: the terms sit as a smaller block line under the promise, not inline in the big type. */
@media (min-width: 600px) {
  .hero:has(.offer) .offer__terms { display: block; font-size: 1.5rem; font-weight: 600; line-height: 1.25; letter-spacing: 0; margin-top: 12px; max-width: 30ch; }
}
@media (min-width: 720px) {
  .exhibit .gbp-stage { justify-content: start; }
}

/* Work page: the project note, the list of what changed, and the closing Call */
.project__text p { max-width: 30em; }
.room--project { --gap: var(--s9); }
.room--changed { --gap: var(--s9); }
.room--end { --gap: var(--s10); padding-bottom: var(--s9); }
.changed__list { display: grid; gap: var(--s3); max-width: 36em; }
.changed__list li { font-size: 1.0625rem; padding-left: 1.25em; position: relative; }
.changed__list li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 0.6em; border-top: 1.8px solid var(--edge); }
.changed__text .ph, .changed__text .speed { margin-top: var(--s6); }
.changed__text .speed { max-width: 36em; }
.changed__text .work__next { margin-top: var(--s5); }
.endcall .actions { margin-top: var(--s4); }

/* ---------- Wide: the 12-column wall ---------- */
@media (min-width: 960px) {
  .grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }

  /* Hero: the headline owns the left of the wall, the explanation and the Call answer it on the right. */
  .hero { padding-top: var(--s6); }
  .hero h1, .hero .offer { grid-column: 1 / 8; grid-row: 2; max-width: none; font-size: clamp(3.25rem, 1.6rem + 3.4vw, 4.5rem); text-wrap: balance; }
  .hero h1.hero__h1 { grid-column: 1 / 8; grid-row: 1; max-width: 34em; }
  .hero__side { grid-column: 8 / 13; grid-row: 2; align-self: start; padding-top: 0.6em; }
  .hero__side .lead { margin-top: 0; }
  .hero:has(.offer) { padding-top: var(--s4); }
  .hero:has(.offer) .link-row { margin-top: var(--s4); }
  /* Oscar's sketch, 25 Nov: the hero fills the screen down to a short peek of the example phone (its top shows, not its
     details), so people scroll. Capped so very tall screens don't open a huge gap. The pen note fills the empty space. */
  /* Oscar's markup, 25 Nov: the top line stays at the top; the promise, terms, buttons and link drop as one group to the
     bottom of the space, the red line runs under them, then the pen note. */
  .hero .offer-block { grid-column: 1 / 8; grid-row: 2; }
  .hero:has(.offer) .hero__text { grid-template-rows: auto 1fr auto; min-height: min(calc(100svh - 296px), 720px); }
  /* Space between the top line and the promise. */
  .hero:has(.offer) .offer-block, .hero:has(.offer) .hero__side { grid-row: 2; margin-top: var(--s7); }
  /* The space left over goes between the promise and the terms (at least 64px), so the hero has no dead space; the red
     line runs through the middle of that gap (site.js), so both sit the same distance from it. */
  .hero:has(.offer) .offer-block { display: flex; flex-direction: column; }
  .hero:has(.offer) .offer { margin-bottom: var(--s8); }
  .hero:has(.offer) .offer__terms { margin-top: auto; }
  /* Oscar, 25 Nov: 50px less above and below the red line (100px off the gap). It gives way on short screens, so the
     phone still peeks. */
  .hero:has(.offer) .offer-block::after { content: ""; flex: 1 1 0; max-height: 100px; }
  .hero-note { display: block; position: relative; grid-column: 9 / 13; grid-row: 3; align-self: end; margin: var(--s4) 0 var(--s2); }
  .hero-note .pen { font-size: 1.625rem; }
  .hero-note__arrow { position: absolute; width: 96px; height: 88px; right: calc(100% + 4px); top: 18px; }
  .hero-note__arrow path { stroke: var(--lead); stroke-width: 2; }
  .do { align-items: start; grid-template-rows: auto 1fr; }
  .do > h2 { grid-column: 1 / 5; grid-row: 1; }
  .do > .do__who { grid-column: 1 / 5; grid-row: 2; }
  .do__list { grid-column: 5 / 13; grid-row: 1 / span 2; margin-top: 6px; row-gap: var(--s7); }

  .work { row-gap: var(--s9); }
  .work__text { grid-column: 1 / 5; grid-row: 1; }
  .hang--before { grid-column: 5 / 13; grid-row: 1; }
  .hang--after { grid-column: 1 / 9; grid-row: 2; }
  .work__next { grid-column: 10 / 13; grid-row: 2; align-self: end; margin-bottom: 40px; }
  .hang__pair { grid-template-columns: minmax(0, 6fr) minmax(0, 1.85fr); gap: 24px; }

  .project__text, .changed__text, .endcall__main { grid-column: 1 / 9; }
  .changed__text { grid-column: 1 / 10; }
  .check__main { grid-column: 1 / 8; }
  .check__photo { grid-column: 9 / 13; margin-top: var(--s9); }

  .promise__num { grid-column: 1 / 7; }
  .promise__text { grid-column: 7 / 13; padding-bottom: 6px; margin-left: var(--s7); }

  .doubts__a { grid-column: 1 / 6; }
  .doubts__b { grid-column: 7 / 12; margin-top: var(--s10); }

  .cost__head { grid-column: 1 / 5; }
  .calc { grid-column: 5 / 12; }

  .who__photo { grid-column: 2 / 6; }
  .who__text { grid-column: 7 / 12; }

  .where__text { grid-column: 1 / 6; }
  .where__prints { grid-column: 7 / 13; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; }
  .where__prints .print:first-child { margin-top: var(--s9); }

  .contact__form { grid-column: 1 / 7; }
  /* The Call sits level with the first field: two ways to reach Oscar, side by side. */
  .contact__call { grid-column: 8 / 12; align-self: start; padding-top: calc(var(--s4) + 2.4rem + var(--s5) + 1.6rem + var(--s2)); }
}

/* ---------- Widest: the phone hangs in the middle, labels on both walls ---------- */
@media (min-width: 1180px) {
  /* The wall is hung only once the script below has measured the markers (.is-hung). Without JS the hero keeps the
     stacked tablet layout: title, label, then the phone with its numbered list beside it. */
  /* The exhibit title opens the left wall, level with the top of the phone; the label and switch open the right wall. */
  :is(.hero__grid.is-hung, .js .hero__grid:where(:has([data-gbp]))) { display: grid; grid-template-columns: minmax(0, 1fr) var(--phone) minmax(0, 1fr); column-gap: var(--wall-gap); }
  /* The class "js" is set by /js/early.js in the head, so the hung layout is there from the first paint and the wall does not move when site.js runs. Until site.js has placed the notes they are hidden (visibility, so nothing moves). */
  .js .hero__grid:where(:has([data-gbp])):not(.is-hung) .gbp-notes li { visibility: hidden; }
  :is(.is-hung, :where(.js) .hero__grid:where(:has([data-gbp]))) .hero__text { grid-column: 1 / -1; grid-row: 1; }
  :is(.is-hung, :where(.js) .hero__grid:where(:has([data-gbp]))) .exhibit-title { grid-column: 1; grid-row: 2; align-self: start; margin-top: var(--s9); max-width: 11em; }
  :is(.is-hung, :where(.js) .hero__grid:where(:has([data-gbp]))) .exhibit { grid-column: 1 / -1; grid-row: 2; margin-top: var(--s9); }

  :is(.is-hung, :where(.js) .hero__grid:where(:has([data-gbp]))) .gbp { position: relative; }
  :is(.is-hung, :where(.js) .hero__grid:where(:has([data-gbp]))) .gbp-label,
  :is(.is-hung, :where(.js) .hero__grid:where(:has([data-gbp]))) .gbp-switch { position: absolute; z-index: 1; left: calc(50% + var(--phone) / 2 + var(--wall-gap)); margin: 0; }
  :is(.is-hung, :where(.js) .hero__grid:where(:has([data-gbp]))) .gbp-label { top: -4px; }
  :is(.is-hung, :where(.js) .hero__grid:where(:has([data-gbp]))) .gbp-switch { top: 32px; }
  :is(.is-hung, :where(.js) .hero__grid:where(:has([data-gbp]))) .gbp-stage { display: block; position: relative; }
  :is(.is-hung, :where(.js) .hero__grid:where(:has([data-gbp]))) .gbp-phone { margin-inline: auto; }
  :is(.is-hung, :where(.js) .hero__grid:where(:has([data-gbp]))) .gbp-notes { display: block; max-width: none; }
  /* Left wall: 1, 6, 3. Right wall: 2, 4, 5. --y is set by the script from each marker's measured position. */
  .gbp-notes li { font-size: 1.625rem; }
  :is(.is-hung, :where(.js) .hero__grid:where(:has([data-gbp]))) .gbp-notes li { position: absolute; top: var(--y, 0); width: calc(50% - var(--phone) / 2 - var(--wall-gap)); max-width: 22rem; }
  /* Left-wall notes read towards the phone: right-aligned, with the number circle on the phone side. */
  :is(.is-hung, :where(.js) .hero__grid:where(:has([data-gbp]))) .gbp-notes li[data-n="1"],
  :is(.is-hung, :where(.js) .hero__grid:where(:has([data-gbp]))) .gbp-notes li[data-n="6"],
  :is(.is-hung, :where(.js) .hero__grid:where(:has([data-gbp]))) .gbp-notes li[data-n="3"] { left: auto; right: calc(50% + var(--phone) / 2 + var(--wall-gap)); text-align: right; padding: 0 38px 0 0; }
  :is(.is-hung, :where(.js) .hero__grid:where(:has([data-gbp]))) .gbp-notes li[data-n="1"]::before,
  :is(.is-hung, :where(.js) .hero__grid:where(:has([data-gbp]))) .gbp-notes li[data-n="6"]::before,
  :is(.is-hung, :where(.js) .hero__grid:where(:has([data-gbp]))) .gbp-notes li[data-n="3"]::before { left: auto; right: 0; }
  :is(.is-hung, :where(.js) .hero__grid:where(:has([data-gbp]))) .leaders { display: block; position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
  :is(.is-hung, :where(.js) .hero__grid:where(:has([data-gbp]))) .gbp-notes li[data-n="2"],
  :is(.is-hung, :where(.js) .hero__grid:where(:has([data-gbp]))) .gbp-notes li[data-n="4"],
  :is(.is-hung, :where(.js) .hero__grid:where(:has([data-gbp]))) .gbp-notes li[data-n="5"] { left: calc(50% + var(--phone) / 2 + var(--wall-gap)); }
}

/* ---------- Services pages: each page leads with a different part, within the same anatomy ---------- */
.sx-wide { grid-column: 1 / -1; }
.sx p, .sx li { max-width: 34em; }
.sx p + p { margin-top: var(--s3); }
.sx a:not(.btn) { text-underline-offset: 0.2em; }
.link-row { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s5); margin-top: var(--s4); }
.link-row a { display: inline-flex; align-items: center; min-height: 48px; font-family: var(--head); font-weight: 700; }
.room--svc { --gap: var(--s9); }
.lede { font-family: var(--head); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; max-width: 22em; }
.sx .lede { max-width: 22em; }

/* Hub: four services as an index, name over line, whole row is the link */
.svc-list { display: grid; margin-top: var(--s5); border-top: 1px solid var(--hair); }
.svc-list li { border-bottom: 1px solid var(--hair); max-width: none; }
.svc-list a { display: grid; gap: var(--s1); padding: var(--s5) 0; min-height: 48px; text-decoration: none; }
.svc-list a:hover h3 { text-decoration: underline; text-underline-offset: 0.2em; }
.svc-list h3 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); }
.svc-list span { color: var(--ink-2); max-width: 30em; }

/* Google rankings: Google's own words, set large, with the source under it */
.gquote { margin: var(--s5) 0 0; padding: var(--s5) 0 0; border-top: 1px solid var(--ink); }
.gquote p { font-family: var(--head); font-size: clamp(1.375rem, 1.05rem + 1.3vw, 2rem); line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; max-width: 24em; }
.gquote p + p { margin-top: var(--s4); }
.gquote footer, .gquote .cite { margin-top: var(--s3); font-size: 1rem; color: var(--ink-2); }
.basics { display: grid; gap: var(--s5); margin-top: var(--s5); }
.basics h3 { margin-bottom: var(--s1); }

/* Google Business Profile: six rows, before and after side by side, in pen */
.pairs { margin-top: var(--s5); border-top: 1px solid var(--hair); }
.pairs > li { display: grid; gap: var(--s3); padding: var(--s5) 0; border-bottom: 1px solid var(--hair); max-width: none; }
.pairs h3 { font-size: 1.25rem; }
.pairs .pen { font-size: 1.5rem; line-height: 1.15; max-width: 18em; }
.pairs .tag { display: block; font-family: var(--head); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); margin-bottom: var(--s1); }
.pairs .after .pen { color: var(--ink); }

/* Guarantee */
.guar p { max-width: 32em; }
.guar .def { color: var(--ink-2); }
.guar p + p { margin-top: var(--s3); }

@media (min-width: 960px) {
  .sx-a { grid-column: 1 / 5; }
  .sx-b { grid-column: 5 / 13; }
  .sx-c { grid-column: 1 / 9; }
  .sx-d { grid-column: 9 / 13; align-self: end; }
  .sx-e { grid-column: 1 / 7; }
  .sx-f { grid-column: 7 / 13; }
  .svc-list a { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s6); align-items: baseline; }
  .pairs > li { grid-template-columns: minmax(0, 2fr) minmax(0, 4fr) minmax(0, 4fr); gap: var(--s6); align-items: start; }
  .basics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6) var(--s7); }
}
.gquote__pen { margin-top: var(--s4); }
.basics__after { margin-top: var(--s5); }
.sx ul.link-row li { max-width: none; }
/* Long headlines (service pages): the Call sits level with the headline's last line, so the ink line runs under the headline, not through it. */
@media (min-width: 960px) { .hero--long .hero__side { align-self: end; padding-top: 0; padding-bottom: 14px; } }

/* Privacy notice: the "In short" rows and the sources list */
.short { display: grid; border-top: 1px solid var(--hair); }
.short > div { display: grid; gap: var(--s1); padding: var(--s4) 0; border-bottom: 1px solid var(--hair); }
.short dt { font-family: var(--head); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); }
.short dd { max-width: 34em; }
.policy__dl { display: grid; gap: var(--s2); max-width: 36em; }
.policy__dl dt { font-family: var(--head); font-weight: 700; margin-top: var(--s4); }
.policy__dl dd { max-width: none; }
.policy__updated { color: var(--ink-2); }
.sx-b ul:not(.link-row):not(.svc-list) { display: grid; gap: var(--s2); padding-left: 1.25em; list-style: disc; margin: var(--s3) 0; max-width: 34em; }
.sx-b p + p, .sx-b p + ul, .sx-b ul + p { margin-top: var(--s3); }
.form input[type="hidden"] { color: var(--ink); }
.policy__dl dd, .short dd { margin: 0; }

/* ---------- Wide screens (1440 and up): spend the extra width on columns and pictures, not on line length ---------- */
@media (min-width: 1440px) {
  .grid12 { column-gap: 32px; }
  .do__list { grid-column: 5 / 13; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s9); }
  .calc { grid-column: 5 / 13; }
  .calc .ticks, .calc__notes { max-width: 40rem; }
  .frame { max-width: 400px; }
  .who__photo { grid-column: 2 / 6; }
  .who__text { grid-column: 7 / 12; }
  .where__prints { gap: 32px; }
  .check__photo { grid-column: 9 / 13; }
  :is(.is-hung, :where(.js) .hero__grid:where(:has([data-gbp]))) .gbp-notes li { max-width: 26rem; }
}
@media (min-width: 1280px) {
  .policy__dl { max-width: 34em; }
}

/* Inner pages, 1440 and up: a heading on the left half and its text on the right half, the way the hero is hung, so no
   section is a thin column with empty wall beside it. Text keeps its own 30 to 34em measure. */
@media (min-width: 1440px) {
  .sx-a, .sx-e { grid-column: 1 / 6; }
  .sx-b, .sx-f { grid-column: 7 / 13; }
  .calc .ticks, .calc__notes { max-width: none; }
  /* Single-block sections: heading in the left column, everything else in the right. */
  .sx > .sx-c:only-child, .project__text, .changed__text, .endcall__main, .room--where .where:not(:has(.where__prints)) > .where__text {
    grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; align-items: start; align-content: start;
  }
  .sx > .sx-c:only-child > h2, .project__text > h2, .changed__text > h2, .endcall__main > h2, .where__text > h2 { grid-column: 1; grid-row: 1 / span 6; }
  .sx > .sx-c:only-child > :not(h2), .project__text > :not(h2), .changed__text > :not(h2), .endcall__main > :not(h2),
  .room--where .where:not(:has(.where__prints)) > .where__text > :not(h2) { grid-column: 2; }
  .endcall .actions { justify-content: flex-end; }
  /* Work: the After pair (laptop and phone) fills its row, wider than the Before row above it. */
  .hang--after { grid-column: 1 / 12; }
  /* The free check steps: one row of three (Oscar cut step 4, 28 Nov 2026). */
  .sx-wide .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); margin-bottom: var(--s6); }
  .sx-wide .steps li { grid-template-columns: minmax(0, 1fr); gap: var(--s2); max-width: none; }
  /* The hub's four services: a 2x2 grid under the heading across the whole width. */
  .sx:has(.svc-list) > .sx-a, .sx:has(.svc-list) > .sx-e { grid-column: 1 / -1; }
  .sx:has(.svc-list) > .sx-b, .sx:has(.svc-list) > .sx-f { grid-column: 1 / -1; }
  .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s9); }
  .svc-list a { grid-template-columns: minmax(0, 1fr); gap: var(--s2); }
  .svc-list li:nth-child(n+3) { border-top: 0; }
  .contact__call { grid-column: 8 / 13; justify-self: end; }
}

/* ---------- Facts: ONS counts and the Google Maps survey, each with its source ---------- */
.facts { display: grid; gap: var(--s6); margin-top: var(--s5); }
.sx .facts li { display: grid; gap: var(--s2); align-content: start; max-width: none; padding-top: var(--s4); border-top: 1px solid var(--ink); }
.fact__n { font-family: var(--head); font-weight: 800; font-size: clamp(2.5rem, 1.9rem + 2.6vw, 4rem); line-height: 1; letter-spacing: -0.02em; }
.fact__t { max-width: 31em; }
.fact__src { display: flex; flex-wrap: wrap; column-gap: var(--s5); align-items: center; color: var(--ink-2); font-size: 1rem; }
.fact__src a { display: inline-flex; align-items: center; min-height: 48px; text-underline-offset: 0.2em; }
.sx .facts__mean { margin-top: var(--s6); max-width: 30em; font-family: var(--head); font-weight: 600; font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.75rem); line-height: 1.25; }
@media (min-width: 960px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s7) var(--s8); }
}
.sx .facts__note { margin-top: var(--s6); max-width: 34em; color: var(--ink-2); font-size: 1rem; }
.sx .facts__note + .facts__mean { margin-top: var(--s4); }

/* ---------- Free-check form: one step at a time (Oscar's picks, 29 Nov 2026: A tick rows, B numbered steps, C tab note) ---------- */
.qf { max-width: 34rem; }
.qf fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.qf legend { padding: 0; margin-bottom: var(--s2); font-family: var(--head); font-weight: 800; font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); line-height: 1.15; }
.qf-hint { color: var(--ink-2); margin-bottom: var(--s4); }
.qf-step[hidden], .qf-other[hidden], .qf-phone[hidden], .qf-email[hidden], .qf [hidden] { display: none; }
.qf-step:focus { outline: none; }
.qf:not(.is-steps) .qf-step + .qf-step { margin-top: var(--s7); }
/* Steps left: numbered circles joined by a hairline; done = ticked, current = red pen ring */
.qf-prog:empty { display: none; }
.qf-prog__txt { font-family: var(--head); font-weight: 700; color: var(--ink-2); }
.qf-prog__dots { display: flex; align-items: center; margin-top: var(--s3); max-width: 24rem; padding: 0 6px; }
.qf-dot { position: relative; flex: none; width: 40px; height: 40px; display: grid; place-items: center; border: 1.5px solid var(--edge); border-radius: 50%; background: var(--field); font-family: var(--head); font-weight: 700; color: var(--ink-2); }
.qf-dot.is-now { border-color: transparent; color: var(--ink); }
.qf-dot.is-done { border-color: var(--accent); }
.qf-dot svg.mark--ring { position: absolute; left: -8px; top: -8px; width: 54px; height: 54px; transform: none; }
.qf-dot svg.mark--tick { position: absolute; left: 4px; top: -4px; width: 34px; height: 34px; }
.qf-link { flex: 1; height: 1.5px; background: var(--hair); }
.qf-link.is-done { background: var(--edge); }
/* Answers: tick rows, like the price calculator. The input stays real and focusable, over the drawn box. */
.qf-opts { border-top: 1px solid var(--hair); }
.qf-opt { position: relative; display: flex; align-items: center; gap: var(--s4); min-height: 56px; padding: 0 var(--s2); border-bottom: 1px solid var(--hair); cursor: pointer; }
.qf-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; color: var(--ink); }
.qf-opt__t { font-family: var(--head); font-weight: 700; font-size: 1.0625rem; }
.qf-opt input[type="radio"] ~ .box { border-radius: 50%; }
.qf-opt input:checked ~ .box { border-color: var(--accent); }
.qf-opt input:checked ~ .box svg { clip-path: inset(0 0 0 0); }
.qf-opt input:focus-visible { outline: none; }
.qf-opt input:focus-visible ~ .box { outline: 3px solid var(--ink); outline-offset: 3px; }
.qf-county { margin: var(--s5) 0 var(--s2); font-family: var(--head); font-weight: 700; color: var(--ink-2); }
.qf-hint + .qf-county { margin-top: 0; }
/* The stage holds the steps; glide() in site.js animates its height so the buttons below glide, not jump. */
.qf-stage { display: flow-root; }
/* Where are you based: a county opens its towns underneath it, indented a little; the other counties stay listed
   (Oscar's pick, 29 Nov 2026). */
.qf-counties { border-top: 1px solid var(--hair); }
.qf-towns { margin-left: var(--s4); padding-left: var(--s3); border-left: 2px solid var(--hair); border-bottom: 1px solid var(--hair); }
.qf-towns:empty { display: none; }
.qf-towns .qf-opts { border-top: 0; }
.qf-towns .qf-opt:last-child { border-bottom: 0; }
.qf-towns > .qf-other { margin: var(--s2) 0 var(--s4); }
.qf-other, .qf .qf-phone, .qf .qf-email { margin-top: var(--s4); }
.qf-sub { margin: var(--s5) 0 var(--s2); font-family: var(--head); font-weight: 600; }
.qf-err { color: var(--accent); font-weight: 700; }
.qf-err:empty { display: none; }
.qf-nav { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.qf-nav .btn { margin-top: 0; }
.qf-back { min-height: 52px; padding: 0 var(--s4); background: none; border: 0; color: var(--ink); font-family: var(--head); font-weight: 700; font-size: 1rem; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.qf-back:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.qf-done:focus { outline: none; }
.qf-done__h { font-family: var(--head); font-weight: 800; font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); margin-bottom: var(--s2); }
/* Corner note about their details: a small tab that opens on tap. It shows once they start the form. */
.dn { position: fixed; z-index: 40; right: var(--s4); bottom: var(--s4); max-width: min(22rem, calc(100vw - 32px)); background: var(--field); border-radius: 2px; box-shadow: 0 0 0 1px var(--hair), 0 10px 30px oklch(23% 0.008 265 / 0.12); }
.dn[hidden] { display: none; }
.dn__tab { display: flex; align-items: center; min-height: 52px; padding: 0 56px 0 var(--s4); background: none; border: 0; font-family: var(--head); font-weight: 700; font-size: 1rem; color: var(--ink); cursor: pointer; text-align: left; }
.dn__tab:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }
.dn__body { padding: 0 var(--s5) var(--s4); }
.dn__body[hidden] { display: none; }
.dn__body p { font-size: 1rem; margin-bottom: var(--s2); }
.dn__body a { display: inline-flex; align-items: center; min-height: 48px; color: var(--ink); }
.dn__x { position: absolute; top: 2px; right: 2px; width: 48px; height: 48px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: var(--ink); font-size: 1.5rem; line-height: 1; }
.dn__x:focus-visible { outline: 3px solid var(--ink); outline-offset: -4px; }
/* Phones: no spare corner (and the call bar sits at the bottom), so the note sits in the page under the form. */
/* Phones: the note sits in the page under the form, and below the call bar when they cross while scrolling. */
@media (max-width: 599.98px) { .dn { position: relative; z-index: auto; right: auto; bottom: auto; max-width: none; margin-top: var(--s6); } }
@media print { .dn { display: none; } }

/* Who section without the photo (the publish/ build, made by tools/build-publish.py, which adds
   class "who--solo" to the who grid). Option A, "text stays where it is": no rule, the text keeps
   columns 7-12 and the left side is empty.
   Option B, "text moves left": the text starts at column 1 and lines up with "Where I work" below.
   Only applies when build-publish.py is run with --who b, which adds data-who="b". Nothing here
   changes site/, which keeps the photo placeholder. */
@media (min-width: 960px) {
  .who--solo[data-who="b"] .who__text { grid-column: 1 / 7; }
}
