/* =====================================================================
   Brick2Brick UK + Fence2Fence UK: styles.css (lifted from the design agent proto.css, extended by the builder)
   Read with ../../DESIGN.md. Section banners show where to cut it into
   the build's styles.css. Every colour is a token; no raw hex below the
   token block except inside the two SVG data URIs.
   ===================================================================== */

/* ---------- 1. Fonts (self-hosted latin woff2, subset with fontTools) ---------- */
@font-face { font-family: "Kanit"; src: url("/assets/fonts/kanit-light.woff2?v=eded67d3") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Kanit"; src: url("/assets/fonts/kanit-medium.woff2?v=ed612e55") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Kanit"; src: url("/assets/fonts/kanit-semibold.woff2?v=c510a7c7") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Commissioner"; src: url("/assets/fonts/commissioner-regular.woff2?v=4881d7a2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Commissioner"; src: url("/assets/fonts/commissioner-medium.woff2?v=562b7924") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Commissioner"; src: url("/assets/fonts/commissioner-semibold.woff2?v=3c01a6da") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Azeret Mono"; src: url("/assets/fonts/azeretmono-medium.woff2?v=12bb1f71") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
/* metric-matched fallbacks: fontTools against Arial, English letter frequency (DESIGN.md 3.4) */
@font-face { font-family: "Kanit Fallback"; src: local("Arial"); size-adjust: 105.5%; ascent-override: 104.3%; descent-override: 37.5%; line-gap-override: 0%; }
@font-face { font-family: "Commissioner Fallback"; src: local("Arial"); size-adjust: 101.6%; ascent-override: 100.1%; descent-override: 20.3%; line-gap-override: 0%; }

/* ---------- 2. Tokens ---------- */
:root {
  /* brand, measured from his logo cards (DESIGN.md 2.1) */
  --navy: #1E1A33;          /* Brick2Brick card field */
  --coral: #E73E3F;         /* the coral 2, LTD and line art */
  /* derived */
  --night: #15122A;         /* deepest surface: hero floor, footer, timeline */
  --navy-2: #2A2547;        /* raised panel on navy */
  --navy-3: #3A3560;        /* hover on navy-2, scrubber track */
  --kiln: #CF3439;          /* button fill (white text 5.00:1) */
  --kiln-deep: #B8282E;     /* button hover; also --coral-ink */
  --coral-ink: #B8282E;     /* small coral text on light surfaces (5.46:1 on mortar) */
  --coral-lit: #F06E68;     /* small coral text on navy (5.70:1) */
  --mortar: #F4F0E8;        /* main light surface */
  --sand: #E9E2D4;          /* second light surface, for rhythm */
  --paper: #FFFFFF;         /* cards on mortar/sand */
  --ink: #1E1A33;           /* text on light = the brand navy */
  --muted: #57536B;         /* secondary text on light */
  --on-night: #FFFFFF;
  --on-night-muted: #B8B4CB;
  --line: rgba(30, 26, 51, .14);
  --line-strong: rgba(30, 26, 51, .30);
  --line-night: rgba(255, 255, 255, .14);
  --line-night-strong: rgba(255, 255, 255, .30);
  --glass: rgba(21, 18, 42, .82);   /* doors: text stays AA over the brightest video frame */
  --scrim: rgba(21, 18, 42, .86);   /* plates and caption chips on photos */
  --coral-pale: #FF8F86;            /* coral text on photo plates (5.53:1 worst case) */
  --field: #7E7A90;                 /* form control borders: 3:1+ on paper, mortar, sand */

  /* type */
  --display: "Kanit", "Kanit Fallback", "Arial", sans-serif;
  --text: "Commissioner", "Commissioner Fallback", "Helvetica Neue", Arial, sans-serif;
  --mono: "Azeret Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --fs-hero: clamp(2.125rem, 1.45rem + 3vw, 4.25rem);      /* 34 / 68 */
  --fs-h1: clamp(2.25rem, 1.6rem + 2.8vw, 4.25rem);        /* 36 / 68 */
  --fs-h2: clamp(1.875rem, 1.35rem + 2.2vw, 3.375rem);     /* 30 / 54 */
  --fs-h3: clamp(1.25rem, 1.12rem + .55vw, 1.625rem);      /* 20 / 26 */
  --fs-lead: clamp(1.125rem, 1.06rem + .3vw, 1.3125rem);   /* 18 / 21 */
  --fs-body: 1.0625rem;                                    /* 17 */
  --fs-small: .9375rem;                                    /* 15 */
  --fs-xs: .8125rem;                                       /* 13 */
  --fs-label: .75rem;                                      /* 12, mono caps */

  /* space (4 px base) */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem; --s-10: 8rem;
  --gutter: clamp(1rem, .4rem + 2.8vw, 3.5rem);           /* 16 at 390, 56 at 1440 */
  --sec: clamp(4.5rem, 2.6rem + 7vw, 9.5rem);              /* section padding 72 / 150 */
  --gap: clamp(1rem, .6rem + 1.4vw, 2rem);
  --wrap: 82rem;                                           /* 1312 content max */
  --measure: 66ch;

  --r-1: 3px;      /* buttons, inputs, cards, photos */
  --r-2: 6px;      /* doors, panels */
  --hdr-h: 4.5rem;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-inout: cubic-bezier(.65, 0, .35, 1);
  --t-1: .18s; --t-2: .4s; --t-3: .8s;
}

/* ---------- 3. Reset and base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--mortar); color: var(--ink); font: 400 var(--fs-body)/1.65 var(--text); font-feature-settings: "kern"; -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.04; letter-spacing: -.018em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--s-4); top: -10rem; z-index: 100; padding: var(--s-3) var(--s-4); background: var(--paper); color: var(--ink); border-radius: var(--r-1); }
.skip:focus { top: var(--s-4); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.dark :focus-visible, .hdr--over :focus-visible, .stickybar :focus-visible { outline-color: var(--coral-lit); }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.num { font-variant-numeric: lining-nums tabular-nums; }

/* ---------- 4. Labels, kickers, chips ---------- */
.label { font: 500 var(--fs-label)/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.kicker { display: block; margin-bottom: var(--s-4); color: var(--muted); }
.dark .kicker { color: var(--on-night-muted); }
.two { color: var(--coral); }                         /* the coral 2 in Brick2Brick / Fence2Fence in running display text */
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: .55em; min-height: 2rem; padding: .3rem .8rem; border: 1px solid var(--line-strong); border-radius: 999px; font: 500 var(--fs-label)/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: transparent; }
.chip svg { width: 14px; height: 14px; flex: none; }
.dark .chip { border-color: var(--line-night-strong); color: var(--on-night); background: rgba(21, 18, 42, .35); }
.chip--strong { border-color: transparent; background: var(--paper); }
.dark .chip--strong { background: var(--on-night); color: var(--navy); }

/* ---------- 5. Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 3rem; padding: .7rem 1.25rem; border: 1px solid transparent; border-radius: var(--r-1); font: 600 1rem/1.1 var(--text); letter-spacing: .005em; text-decoration: none; cursor: pointer; transition: background var(--t-1), border-color var(--t-1), color var(--t-1); white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--call { background: var(--kiln); color: #fff; }
.btn--call:hover { background: var(--kiln-deep); }
.btn--ghost { border-color: var(--line-night-strong); color: var(--on-night); }
.btn--ghost:hover { border-color: var(--on-night); }
.btn--line { border-color: var(--line-strong); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); }
.btn--sm { min-height: 2.75rem; padding: .55rem 1rem; font-size: .9375rem; }
.btn .num { font-weight: 600; letter-spacing: .01em; }

/* ---------- 6. The signature: the racked course (DESIGN.md 5) ----------
   Every h1 and h2 sits on "the racked course": three courses of stretcher bond drawn
   in hairlines, racked back at the right end the way a bricklayer leaves a corner,
   the last brick laid in coral. Fence2Fence pages swap it for a close-board run
   stepping down a slope, the last post set in coral. Inline SVG (not <use>), so the
   parts can be coloured and laid in one by one. aria-hidden. */
.course { display: block; width: 181px; height: 31px; margin-top: clamp(1.1rem, .9rem + .8vw, 1.6rem); color: var(--line-strong); overflow: visible; }
.course .bk { fill: none; stroke: currentColor; stroke-width: 1; }
.course .bd { fill: none; stroke: currentColor; stroke-width: 1; stroke-opacity: .55; }
.course .laid { fill: var(--coral); stroke: var(--coral); stroke-width: 1; }
.dark .course { color: rgba(255, 255, 255, .42); }
.course--sm { width: 136px; height: 23px; }
.shead { max-width: 46rem; margin-bottom: clamp(2.5rem, 1.6rem + 3vw, 4.5rem); }
.shead .lead { margin-top: var(--s-5); }
.h2 { font-size: var(--fs-h2); }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); max-width: 44rem; }
.dark .lead { color: var(--on-night-muted); }

/* ---------- 7. Sections and rhythm ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 1rem + 4vw, 6rem); align-items: center; }
.split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split > .shead { margin: 0; }
@media (max-width: 899px) { .split, .split--even { grid-template-columns: minmax(0, 1fr); } }
.sec { padding: var(--sec) 0; }
.sec--sand { background: var(--sand); }
.sec--paper { background: var(--paper); }
.dark { color: var(--on-night); }
.night { background: var(--night); color: var(--on-night); }
.night--navy { background: var(--navy); }
/* the bond texture: stretcher bond in white hairlines at 5%, only on navy surfaces that ask for it */
.bond-tex { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='32'%3E%3Cpath d='M0 .5H96M0 16.5H96M.5 0V16M48.5 0V16M24.5 16V32M72.5 16V32' fill='none' stroke='%23fff' stroke-opacity='.05'/%3E%3C/svg%3E"); background-size: 96px 32px; }

/* ---------- 8. Header with the side switch ---------- */
.hdr { position: absolute; inset: 0 0 auto 0; z-index: 30; height: var(--hdr-h); color: var(--on-night); }
.hdr__in { display: flex; align-items: center; gap: var(--s-5); height: 100%; }
.hdr--over::before { content: ""; position: absolute; inset: 0 0 -3rem 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(21, 18, 42, .78) 0%, rgba(21, 18, 42, .42) 55%, rgba(21, 18, 42, 0) 100%); }
.hdr__logo { display: block; flex: none; line-height: 0; }
.hdr__logo svg, .hdr__logo img { height: 34px; width: auto; }
.hdr--light { color: var(--ink); background: var(--mortar); border-bottom: 1px solid var(--line); position: relative; }
.side { display: inline-flex; align-items: stretch; margin-left: var(--s-3); border: 1px solid var(--line-night-strong); border-radius: var(--r-1); }
.hdr--light .side { border-color: var(--line-strong); }
.side__opt { position: relative; display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: 0 .9rem; font: 500 .9375rem/1 var(--text); text-decoration: none; color: inherit; opacity: .78; }
.side__seg { position: relative; display: flex; align-items: stretch; }
.side__seg + .side__seg { border-left: 1px solid var(--line-night-strong); }
.hdr--light .side__seg + .side__seg { border-left-color: var(--line-strong); }
.side__more { display: inline-grid; place-items: center; width: 2.25rem; margin-left: -.55rem; padding: 0; border: 0; background: none; color: inherit; opacity: .7; cursor: pointer; }
.side__more:hover, .side__more[aria-expanded="true"] { opacity: 1; }
.side__more[aria-expanded="true"] .side__chev { transform: rotate(180deg); }
.side__opt svg { width: 18px; height: 18px; color: var(--coral); }
.side__opt:hover { opacity: 1; }
.side__opt[aria-current="true"] { opacity: 1; background: rgba(255, 255, 255, .08); }
.hdr--light .side__opt[aria-current="true"] { background: var(--paper); }
.side__opt[aria-current="true"]::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: -1px; height: 2px; background: var(--coral); }
.side__chev { width: 10px !important; height: 10px !important; color: inherit !important; transition: transform var(--t-1); }
.nav { display: flex; gap: var(--s-5); margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav a { font: 500 .9375rem/1 var(--text); text-decoration: none; opacity: .86; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: .35em; text-decoration-thickness: 1px; }
.hdr__call { margin-left: var(--s-2); }
.burger { display: none; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid var(--line-night-strong); border-radius: var(--r-1); background: none; cursor: pointer; }
.burger i { display: block; width: 18px; height: 1.5px; margin: 5px auto; background: currentColor; }
.hdr__callm { display: none; }
@media (max-width: 1179px) {
  .nav { display: none; }
  .side { margin-left: auto; }
  .burger { display: block; }
}
@media (max-width: 899px) {
  :root { --hdr-h: 3.75rem; }
  .side, .hdr__call { display: none; }
  .hdr__logo svg, .hdr__logo img { height: 26px; }
  .hdr__callm { display: inline-flex; margin-left: auto; min-height: 2.75rem; padding: .5rem .85rem; }
  .burger { display: block; }
}
/* the slim side switch row under the header on inner pages, < 900 px */
.siderow { display: none; }
@media (max-width: 899px) {
  .siderow { display: grid; grid-template-columns: 1fr 1fr; position: absolute; top: var(--hdr-h); left: 0; right: 0; z-index: 29; background: rgba(30, 26, 51, .92); border-top: 1px solid var(--line-night); border-bottom: 1px solid var(--line-night); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  .siderow a { position: relative; display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 2.75rem; font: 500 .875rem/1 var(--text); color: var(--on-night-muted); text-decoration: none; }
  .siderow a + a { border-left: 1px solid var(--line-night); }
  .siderow a svg { width: 16px; height: 16px; color: var(--coral); }
  .siderow a[aria-current="true"] { color: var(--on-night); }
  .siderow a[aria-current="true"]::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 0; height: 2px; background: var(--coral); }
}

/* ---------- 9. Home first screen: the drone and the two doors ---------- */
.hero { position: relative; min-height: max(44rem, 100svh); display: flex; flex-direction: column; color: var(--on-night); background: var(--night); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero__media video { opacity: 0; transition: opacity 1.4s var(--ease-inout); }
.hero__media video.is-playing { opacity: 1; }
/* 28 Oct (Carol, Liam's side): lighter again so the photo's colour pops; the shade stays heaviest behind the words */
.hero__grade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(21, 18, 42, .9) 0%, rgba(21, 18, 42, .72) 32%, rgba(21, 18, 42, .2) 64%, rgba(21, 18, 42, .06) 100%),
  linear-gradient(0deg, rgba(21, 18, 42, .96) 0%, rgba(21, 18, 42, .55) 26%, rgba(21, 18, 42, 0) 52%),
  linear-gradient(180deg, rgba(21, 18, 42, .7) 0%, rgba(21, 18, 42, 0) 18%); }
.hero__grade::after { content: ""; position: absolute; inset: 0; background: var(--navy); mix-blend-mode: multiply; opacity: .2; }
.hero__title { text-shadow: 0 2px 28px rgba(21, 18, 42, .55), 0 1px 3px rgba(21, 18, 42, .45); }
.hero .kicker, .hero .hero__lede { color: var(--on-night); text-shadow: 0 1px 12px rgba(21, 18, 42, .75), 0 1px 2px rgba(21, 18, 42, .65); }
/* homepage only: the photo grade takes 10% colour out of every image; give it back here, and a touch more */
.home main img, .home main video { filter: saturate(1.15) contrast(1.04); }
.hero__body { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--hdr-h) + clamp(2rem, 1rem + 5vh, 6rem)); padding-bottom: clamp(1.5rem, 1rem + 2vh, 2.5rem); }
.hero__text { max-width: 66rem; }
.hero__title { font-size: var(--fs-hero); line-height: 1.0; letter-spacing: -.024em; max-width: 15.8em; }
.hero__lede { margin-top: var(--s-5); font-size: var(--fs-lead); line-height: 1.5; color: var(--on-night-muted); max-width: 36rem; }
.hero .chips { margin-top: var(--s-5); }
.hero__foot { display: flex; align-items: center; justify-content: flex-end; gap: var(--s-3); margin-top: clamp(1.5rem, 1rem + 2vh, 2.5rem); margin-bottom: var(--s-3); }
.capchip { display: inline-flex; align-items: center; gap: .6rem; padding: .35rem .75rem .35rem .6rem; border-radius: 999px; background: var(--glass); border: 1px solid var(--line-night); font: 500 .6875rem/1.25 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-night); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.capchip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); flex: none; }
.pausebtn { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--line-night-strong); background: rgba(21, 18, 42, .55); color: var(--on-night); cursor: pointer; }
.pausebtn svg { width: 14px; height: 14px; }
.pausebtn .i-play { display: none; }
.pausebtn[aria-pressed="true"] .i-play { display: block; }
.pausebtn[aria-pressed="true"] .i-pause { display: none; }

/* the two doors */
.doors { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.door { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(1rem, .6rem + 1.2vw, 1.75rem); min-height: 9.5rem; padding: clamp(1.25rem, .9rem + 1.2vw, 2rem) clamp(1.25rem, .8rem + 1.6vw, 2.5rem); color: var(--on-night); text-decoration: none; background: var(--glass); border: 1px solid var(--line-night); backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.1); transition: background var(--t-2) var(--ease-out), border-color var(--t-2); }
.door--b { border-radius: var(--r-2) 0 0 var(--r-2); border-right: 0; padding-right: clamp(3rem, 2rem + 2.4vw, 5rem); }
.door--f { border-radius: 0 var(--r-2) var(--r-2) 0; border-left: 0; padding-left: clamp(3rem, 2rem + 2.4vw, 5rem); }
.door:hover { background: rgba(42, 37, 71, .86); border-color: var(--line-night-strong); }
.door__mark { width: auto; height: clamp(3rem, 2.4rem + 1.6vw, 4.25rem); color: var(--coral); }
.door--f .door__mark { height: clamp(2.25rem, 1.8rem + 1.2vw, 3.125rem); }
.door__name { display: block; font: 600 clamp(1.375rem, 1.1rem + 1vw, 2.125rem)/1.05 var(--display); letter-spacing: -.012em; }
.door__what { display: block; margin-top: .45rem; font-size: var(--fs-small); line-height: 1.45; color: var(--on-night-muted); }
.door__go { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid var(--line-night-strong); transition: background var(--t-2) var(--ease-out), border-color var(--t-2), transform var(--t-2) var(--ease-out); }
.door__go svg { width: 18px; height: 18px; }
.door:hover .door__go { background: var(--kiln); border-color: var(--kiln); transform: translateX(3px); }
/* the hinge: the coral 2 both companies share, set in the seam between the doors */
.hinge { position: absolute; left: 50%; top: 50%; z-index: 2; width: 3.75rem; height: 3.75rem; margin: -1.875rem 0 0 -1.875rem; display: grid; place-items: center; border-radius: 50%; background: var(--night); border: 1px solid var(--line-night-strong); color: var(--coral); pointer-events: none; }
.hinge svg { width: 1.45rem; height: auto; }
.seam { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; margin-left: -.5px; background: linear-gradient(180deg, transparent, var(--line-night-strong) 22%, var(--line-night-strong) 78%, transparent); }
@media (max-width: 899px) {
  .hero { min-height: calc(100svh - 3.5rem); }
  .hero__media img { object-position: 55% 40%; }
  .hero__grade { background:
    linear-gradient(0deg, rgba(21, 18, 42, .97) 0%, rgba(21, 18, 42, .9) 48%, rgba(21, 18, 42, .35) 72%, rgba(21, 18, 42, .55) 100%); }
  .hero__body { padding-top: calc(var(--hdr-h) + 5.5rem); padding-bottom: var(--s-4); }
  .hero__title { font-size: clamp(2rem, 1.2rem + 3.6vw, 2.75rem); line-height: 1.02; }
  .hero__lede { display: none; }
  .hero .chips { margin-top: var(--s-4); gap: .4rem; }
  .hero .chip { min-height: 1.75rem; font-size: .6875rem; padding: .25rem .65rem; }
  .hero__foot { order: -1; justify-content: flex-start; margin: 0 0 var(--s-4); }
  .hero .kicker { font-size: .6875rem; letter-spacing: .1em; }
  .chip--opt { display: none; }
  .hero__foot .pausebtn { display: none; }
  .capchip { font: 500 .75rem/1.25 var(--text); letter-spacing: 0; text-transform: none; }
  .doors { grid-template-columns: 1fr; margin-top: var(--s-5); }
  .door { grid-template-columns: auto 1fr auto; min-height: 5.25rem; padding: .9rem 1rem; gap: .9rem; }
  .door--b { border-radius: var(--r-2) var(--r-2) 0 0; border-right: 1px solid var(--line-night); border-bottom: 0; }
  .door--f { border-radius: 0 0 var(--r-2) var(--r-2); border-left: 1px solid var(--line-night); border-top: 0; }
  .door__mark { height: 2.6rem; }
  .door--f .door__mark { height: 1.9rem; }
  .door--b, .door--f { padding: .9rem 1rem; }
  .door__name { font-size: 1.3125rem; }
  .door__what { margin-top: .2rem; font-size: .8125rem; }
  .door__go { width: 2.5rem; height: 2.5rem; }
  .hinge { left: auto; right: 4.25rem; top: 50%; width: 2.25rem; height: 2.25rem; margin: -1.125rem 0 0 0; }
  .hinge svg { width: .95rem; }
  .seam { left: 1rem; right: 1rem; top: 50%; bottom: auto; width: auto; height: 1px; margin: 0; background: linear-gradient(90deg, transparent, var(--line-night-strong) 12%, var(--line-night-strong) 88%, transparent); }
}

/* short phones (375 x 667 and smaller): keep h1 + both doors + Call in the first screen */
@media (max-width: 899px) and (max-height: 740px) {
  .hero__body { padding-top: calc(var(--hdr-h) + 1.25rem); }
  .hero__foot, .hero .kicker { display: none; }
  .hero__title { font-size: clamp(1.625rem, 1rem + 3vw, 2rem); }
  .hero .course { margin-top: .75rem; width: 136px; height: 23px; }
  .hero .chips { margin-top: .75rem; }
  .hero .chip:not(.chip--strong) { display: none; }
  .doors { margin-top: .9rem; }
  .door { min-height: 4.5rem; padding-top: .65rem !important; padding-bottom: .65rem !important; }
  .door__what { display: none; }
}

/* ---------- 10. Trust strip ---------- */
.trust { background: var(--navy); color: var(--on-night); border-top: 1px solid var(--line-night); }
.trust__list { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
.trust__item { display: flex; flex-direction: column; gap: .35rem; padding: clamp(1.25rem, .9rem + 1.2vw, 2rem) clamp(1rem, .6rem + 1.2vw, 1.75rem); border-left: 1px solid var(--line-night); }
.trust__item:first-child { border-left: 0; padding-left: 0; }
.trust__big { font: 600 clamp(1.25rem, 1.05rem + .7vw, 1.75rem)/1.08 var(--display); letter-spacing: -.01em; }
.trust__big em { white-space: nowrap; }
.trust__big em { font-style: normal; color: var(--coral); }
.trust__small { font-size: var(--fs-xs); line-height: 1.45; color: var(--on-night-muted); }
@media (max-width: 899px) {
  .trust__list { grid-template-columns: 1fr 1fr; }
  .trust__item { padding: 1.1rem .9rem; border-top: 1px solid var(--line-night); }
  .trust__item:nth-child(-n+2) { border-top: 0; }
  .trust__item:nth-child(odd) { border-left: 0; padding-left: 0; }
}

/* ---------- 11. Photo frames and the date plate ---------- */
.ph { position: relative; overflow: hidden; border-radius: var(--r-1); background: var(--navy-2); }
.ph img, .ph video { width: 100%; height: 100%; object-fit: cover; }
.ph::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); pointer-events: none; }
.plate { position: absolute; left: .75rem; bottom: .75rem; z-index: 1; display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .55rem; border-radius: 2px; background: var(--scrim); color: var(--on-night); font: 500 .6875rem/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.plate b { font-weight: 500; color: var(--coral-pale); }

/* service cards (light) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.card { position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r-1); overflow: hidden; text-decoration: none; transition: transform var(--t-2) var(--ease-out), box-shadow var(--t-2); }
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(21, 18, 42, .45); }
.card .ph { aspect-ratio: 4 / 3; border-radius: 0; }
.card__body { padding: var(--s-5) var(--s-5) var(--s-6); }
.card__title { font: 600 var(--fs-h3)/1.1 var(--display); letter-spacing: -.01em; }
.card__text { margin-top: var(--s-2); font-size: var(--fs-small); color: var(--muted); }
.card__go { margin-top: auto; padding: 0 var(--s-5) var(--s-5); display: flex; align-items: center; gap: .5rem; color: var(--coral-ink); }
.card__go svg { width: 16px; height: 16px; transition: transform var(--t-2) var(--ease-out); }
.card:hover .card__go svg { transform: translateX(4px); }
@media (max-width: 899px) { .cards { grid-template-columns: 1fr; } }

/* ---------- 12. Entrance page hero (the split with the other door) ---------- */
.entr { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4.4fr) minmax(0, 2fr); min-height: min(52rem, 100svh); background: var(--night); color: var(--on-night); overflow: hidden; }
.entr__text { display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--hdr-h) + var(--s-8)) clamp(1.5rem, .5rem + 4vw, 5rem) clamp(2.5rem, 1.5rem + 3vw, 4.5rem) max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.badge { display: inline-flex; align-items: center; gap: .7rem; align-self: flex-start; margin-bottom: var(--s-6); padding: .5rem .85rem .5rem .6rem; border: 1px solid var(--line-night-strong); border-radius: var(--r-1); background: rgba(21, 18, 42, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.badge svg { height: 24px; width: auto; color: var(--coral); }
.badge span { font: 600 1.0625rem/1 var(--display); letter-spacing: -.005em; }
.badge small { display: block; margin-top: .2rem; font: 500 .625rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-night-muted); }
.entr__title { font-size: var(--fs-h1); max-width: 11.5em; }
.entr .lead { margin-top: var(--s-5); max-width: 32rem; }
.entr__ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.entr .chips { margin-top: var(--s-6); }
.entr__media { position: relative; }
.entr__media .ph { position: absolute; inset: 0; border-radius: 0; }
.entr__media .ph::after { box-shadow: none; }
.entr__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s var(--ease-inout); }
.entr__media video.is-playing { opacity: 1; }
.entr__media .plate { left: 1rem; bottom: 1rem; }
.entr__media .pausebtn { position: absolute; right: 1rem; bottom: 1rem; z-index: 2; }
/* the other door: a narrow lit strip of the sister company's work */
.other { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: var(--s-5); color: var(--on-night); text-decoration: none; overflow: hidden; border-left: 1px solid var(--line-night-strong); }
.other img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.55) brightness(.62); transition: filter var(--t-3) var(--ease-out), transform var(--t-3) var(--ease-out); }
.other::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(21, 18, 42, .96), rgba(21, 18, 42, .35) 60%, rgba(21, 18, 42, .55)); }
.other > * { position: relative; z-index: 2; }
.other:hover img { filter: saturate(.9) brightness(.8); transform: scale(1.03); }
.other__k { color: var(--on-night-muted); }
.other__mark { width: 2.25rem; height: auto; margin: var(--s-4) 0 var(--s-3); color: var(--coral); }
.other__name { font: 600 1.375rem/1.05 var(--display); letter-spacing: -.01em; }
.other__what { margin-top: .4rem; font-size: var(--fs-xs); color: var(--on-night-muted); }
.other__go { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-top: var(--s-5); border-radius: 50%; border: 1px solid var(--line-night-strong); }
.other:hover .other__go { background: var(--kiln); border-color: var(--kiln); }
.other__go svg { width: 16px; height: 16px; }
@media (max-width: 1023px) {
  .entr { grid-template-columns: 1fr; min-height: 0; }
  .entr__text { padding: var(--s-6) var(--gutter) var(--s-7); }
  .entr__media { order: -1; aspect-ratio: 4 / 3; max-height: 30rem; }
  .entr__media .ph::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 9rem; z-index: 1; background: linear-gradient(180deg, rgba(21, 18, 42, .85), rgba(21, 18, 42, 0)); }
  .entr__media .ph::after { content: ""; position: absolute; inset: auto 0 0 0; height: 5rem; box-shadow: none; background: linear-gradient(0deg, var(--night), rgba(21, 18, 42, 0)); }
  .other { flex-direction: row; flex-wrap: wrap; align-items: center; gap: .25rem 1rem; padding: 1.1rem var(--gutter); border-left: 0; border-top: 1px solid var(--line-night-strong); min-height: 6rem; }
  .other__k { flex-basis: 100%; }
  .other__mark { width: 1.9rem; margin: 0; }
  .other__name { font-size: 1.1875rem; }
  .other__what { display: none; }
  .other__go { margin: 0 0 0 auto; }
}

/* ---------- 13. The build story: dated scrubber timeline ---------- */
.tl { background: var(--night); color: var(--on-night); padding: var(--sec) 0; overflow: hidden; }
.tl__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--s-6); margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.5rem); }
.tl__ctrl { display: flex; gap: var(--s-2); }
.rbtn { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid var(--line-night-strong); background: transparent; color: var(--on-night); cursor: pointer; transition: background var(--t-1), border-color var(--t-1); }
.rbtn:hover:not(:disabled) { background: var(--navy-2); border-color: var(--on-night); }
.rbtn:disabled { opacity: .35; cursor: default; }
.rbtn svg { width: 18px; height: 18px; }
/* the scrubber: dated stops on a track */
.scrub { position: relative; margin: 0 0 clamp(1.75rem, 1.2rem + 1.6vw, 3rem); padding: 0; list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.scrub::before, .scrub::after { content: ""; position: absolute; left: 0; top: 1.05rem; height: 1px; }
.scrub::before { right: 0; background: var(--line-night-strong); }
.scrub::after { width: calc((var(--i, 0) + .5) / var(--n, 6) * 100%); background: var(--coral); transition: width var(--t-3) var(--ease-out); }
.scrub__stop { position: relative; display: flex; flex-direction: column; align-items: center; gap: .85rem; padding: .55rem .25rem .25rem; border: 0; background: none; color: var(--on-night-muted); cursor: pointer; text-align: center; }
.scrub__dot { width: 11px; height: 11px; border-radius: 50%; background: var(--night); border: 1px solid var(--line-night-strong); transition: background var(--t-2), border-color var(--t-2), transform var(--t-2) var(--ease-out); z-index: 1; }
.scrub__date { font: 500 var(--fs-label)/1.25 var(--mono); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.scrub__what { font-size: var(--fs-xs); line-height: 1.3; max-width: 11rem; }
.scrub__stop.is-past .scrub__dot { background: var(--coral); border-color: var(--coral); }
.scrub__stop[aria-selected="true"] { color: var(--on-night); }
.scrub__stop[aria-selected="true"] .scrub__dot { background: var(--coral); border-color: var(--coral); transform: scale(1.45); box-shadow: 0 0 0 6px rgba(231, 62, 63, .18); }
.scrub__stop[aria-selected="true"] .scrub__date { color: var(--coral-lit); }
.scrub__stop:hover { color: var(--on-night); }
.scrub__stop--next .scrub__dot { border-style: dashed; }
/* the stage panels share one grid cell so switching never moves the page */
.stages { display: grid; touch-action: pan-y; }
.stage { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 1rem + 2.5vw, 4rem); align-items: center; opacity: 0; visibility: hidden; transition: opacity var(--t-2) var(--ease-out), visibility 0s linear var(--t-2); }
.stage.is-on { opacity: 1; visibility: visible; transition: opacity var(--t-3) var(--ease-out), visibility 0s; }
.no-js .stage { opacity: 1; visibility: visible; grid-area: auto; margin-bottom: var(--s-8); }
.stage__media { position: relative; aspect-ratio: 16 / 11; }
.stage__media > .ph { position: absolute; inset: 0; }
.stage__media--duo { display: grid; grid-template-columns: 1.35fr 1fr; gap: .6rem; }
.stage__media--duo > .ph { position: relative; inset: auto; }
.stage__media--reel .ph { background: var(--navy-2); }
.stage__media--reel .ph .blur { position: absolute; inset: -10%; width: 120%; height: 120%; object-fit: cover; filter: blur(28px) brightness(.45) saturate(.8); }
.stage__media--reel .ph .tall { position: relative; z-index: 1; height: 100%; width: auto; margin: 0 auto; aspect-ratio: 9 / 16; object-fit: cover; }
.stage__media--next { display: grid; place-items: center; border: 1px dashed var(--line-night-strong); border-radius: var(--r-1); background: rgba(255, 255, 255, .02); }
.stage__count { color: var(--on-night-muted); }
.stage__count b { font-weight: 500; color: var(--coral-lit); }
.stage__date { margin-top: var(--s-4); font: 300 clamp(2.5rem, 1.9rem + 2.4vw, 4.25rem)/1 var(--display); letter-spacing: -.03em; }
.stage__title { margin-top: var(--s-3); font: 500 var(--fs-h3)/1.15 var(--display); letter-spacing: -.01em; color: var(--on-night); }
.quote { position: relative; margin: var(--s-6) 0 0; padding: var(--s-5) 0 0; border-top: 1px solid var(--line); }
.quote p { font: 500 var(--fs-lead)/1.5 var(--text); color: var(--ink); }
.quote p::before { content: "\201C"; margin-left: -.42em; color: var(--coral); }
.quote p::after { content: "\201D"; color: var(--coral); }
.quote footer { margin-top: var(--s-3); color: var(--muted); }
.dark .quote { border-top-color: var(--line-night); }
.dark .quote p { color: var(--on-night); }
.dark .quote footer { color: var(--on-night-muted); }
.stage__plain { margin-top: var(--s-5); font-size: var(--fs-small); line-height: 1.6; color: var(--on-night-muted); max-width: 30rem; }
.stage__link { display: inline-flex; align-items: center; gap: .5rem; margin-top: var(--s-5); color: var(--on-night); font-size: var(--fs-small); font-weight: 500; text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: .35em; }
.stage__link svg { width: 14px; height: 14px; }
@media (max-width: 899px) {
  .tl__head { grid-template-columns: 1fr; }
  .tl__ctrl { display: none; }
  .scrub { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 0 var(--gutter); scrollbar-width: none; }
  .scrub::-webkit-scrollbar { display: none; }
  .scrub::before, .scrub::after { left: var(--gutter); }
  .scrub::before { right: auto; width: calc(var(--n) * 7.5rem - 7.5rem); left: calc(var(--gutter) + 3.75rem); }
  .scrub::after { width: calc(var(--i) * 7.5rem); left: calc(var(--gutter) + 3.75rem); }
  .scrub__stop { flex: 0 0 7.5rem; scroll-snap-align: center; }
  .scrub__what { display: none; }
  .stage { grid-template-columns: 1fr; gap: var(--s-5); align-items: start; }
  .stage__media { aspect-ratio: 4 / 3; }
  .stage__media--duo { grid-template-columns: 1fr 1fr; aspect-ratio: 4 / 3; }
  .stage__date { margin-top: var(--s-3); }
}

/* ---------- 14. Plan-view drawing (decorative) ---------- */
.plan { color: var(--on-night); }
.plan .wall { fill: none; stroke: currentColor; stroke-width: 1.25; }
.plan .thin { fill: none; stroke: currentColor; stroke-opacity: .45; stroke-width: .75; }
.plan .new { stroke: var(--coral); stroke-width: 1.5; }
.plan text { font: 500 9px var(--mono); letter-spacing: .12em; fill: currentColor; text-transform: uppercase; }
.plan .tc { fill: var(--coral-lit); }
.plan-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 1rem + 4vw, 6rem); align-items: center; margin-top: var(--sec); padding-top: var(--sec); border-top: 1px solid var(--line-night); }
.plan-note { margin-top: var(--s-3); color: var(--on-night-muted); }
@media (max-width: 899px) { .plan-wrap { grid-template-columns: 1fr; } }

/* ---------- 15. Feature page hero ---------- */
.fhero { position: relative; min-height: min(46rem, 92svh); display: flex; align-items: flex-end; color: var(--on-night); background: var(--night); overflow: hidden; isolation: isolate; }
.fhero__media { position: absolute; inset: 0; z-index: -1; }
.fhero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.fhero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21, 18, 42, .82) 0%, rgba(21, 18, 42, .5) 45%, rgba(21, 18, 42, .1) 75%), linear-gradient(0deg, rgba(21, 18, 42, .98) 0%, rgba(21, 18, 42, .7) 38%, rgba(21, 18, 42, .2) 70%, rgba(21, 18, 42, .5) 100%); }
.fhero__in { padding-top: calc(var(--hdr-h) + var(--s-9)); padding-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.crumbs { margin: 0 0 var(--s-5); padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; color: var(--on-night-muted); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); justify-content: start; gap: var(--s-6); margin: var(--s-6) 0 0; padding: var(--s-5) 0 0; border-top: 1px solid var(--line-night); }
.facts dt { color: var(--on-night-muted); }
.facts dd { margin: .35rem 0 0; font: 500 1.0625rem/1.3 var(--display); }
@media (max-width: 899px) { .facts { grid-template-columns: 1fr 1fr; gap: var(--s-4) var(--s-5); } }

/* ---------- 16. Sticky contact bar (< 768 px) ---------- */
.stickybar { display: none; }
@media (max-width: 767px) {
  .stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 1px; padding-bottom: env(safe-area-inset-bottom); background: var(--line-night); border-top: 1px solid var(--line-night); }
  .stickybar a { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 3.5rem; background: var(--night); color: var(--on-night); font: 600 .9375rem/1 var(--text); text-decoration: none; }
  .stickybar a:first-child { background: var(--kiln); }
  .stickybar svg { width: 17px; height: 17px; }
  body { padding-bottom: 3.5rem; }
}

/* ---------- 18. "After the damage": the insurance stepper, rebuilt course by course ----------
   The six steps are laid as courses of a wall, step 1 at the bottom (DOM order 1 to 6 for
   reading order, shown bottom-up with column-reverse). Alternate courses are offset by half
   a brick, so the stack reads as stretcher bond. WAI-ARIA tabs; ArrowUp/Right = next. */
.ins { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 1rem + 3vw, 4.5rem); align-items: center; }
.rungs { display: flex; flex-direction: column-reverse; gap: 6px; margin: 0; padding: 0; list-style: none; }
.rungs li { display: block; }
.rungs li:nth-child(even) { padding-left: 2.25rem; }
.rungs li:nth-child(odd) { padding-right: 2.25rem; }
.rung { position: relative; display: grid; grid-template-columns: 2.75rem 1fr; align-items: center; width: 100%; min-height: 3.75rem; padding: .6rem 1rem; border: 1px solid var(--line-strong); border-radius: 2px; background: var(--paper); color: var(--ink); text-align: left; cursor: pointer; transition: background var(--t-2) var(--ease-out), border-color var(--t-2), color var(--t-2); }
.rung:hover { border-color: var(--ink); }
.rung__n { font: 500 var(--fs-label)/1 var(--mono); letter-spacing: .1em; color: var(--coral-ink); }
.rung__t { font: 500 1.0625rem/1.2 var(--display); letter-spacing: -.005em; }
.rung[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--on-night); }
.rung[aria-selected="true"] .rung__n { color: var(--coral-lit); }
.rung[aria-selected="true"]::after { content: ""; position: absolute; right: -1px; top: -1px; bottom: -1px; width: 6px; background: var(--coral); border-radius: 0 2px 2px 0; }
.rungs__ground { margin-top: .6rem; padding-top: .55rem; border-top: 2px solid var(--ink); color: var(--muted); }
.ins__panels { display: grid; }
.ins__panel { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity var(--t-2) var(--ease-out), visibility 0s linear var(--t-2); }
.ins__panel.is-on { opacity: 1; visibility: visible; transition: opacity var(--t-3) var(--ease-out), visibility 0s; }
.no-js .ins__panel { opacity: 1; visibility: visible; grid-area: auto; margin-bottom: var(--s-7); }
.ins__panel .ph { aspect-ratio: 4 / 3; }
.ins__panel h3 { margin-top: var(--s-5); font: 600 var(--fs-h3)/1.15 var(--display); }
.ins__panel p { margin-top: var(--s-3); color: var(--muted); max-width: 36rem; }
.ins__job { display: inline-flex; align-items: center; gap: .45rem; margin-top: var(--s-4); color: var(--coral-ink); font-weight: 600; font-size: var(--fs-small); text-decoration: none; }
.ins__job svg { width: 15px; height: 15px; }
@media (max-width: 899px) {
  .ins { grid-template-columns: 1fr; }
  .rungs li:nth-child(even) { padding-left: 1.25rem; }
  .rungs li:nth-child(odd) { padding-right: 1.25rem; }
  .rung { min-height: 3.25rem; }
}

/* ---------- 19. Damage-type switch ---------- */
.dtabs { display: inline-flex; flex-wrap: wrap; gap: 0; margin: clamp(3rem, 2rem + 3vw, 5rem) 0 var(--s-6); padding: 4px; border: 1px solid var(--line-strong); border-radius: var(--r-1); background: var(--paper); }
.dtab { min-height: 2.75rem; padding: 0 1.15rem; border: 0; border-radius: 2px; background: none; font: 500 .9375rem/1 var(--text); color: var(--muted); cursor: pointer; }
.dtab:hover { color: var(--ink); }
.dtab[aria-selected="true"] { background: var(--navy); color: var(--on-night); }
.dpanels { display: grid; }
.dpanel { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); align-items: start; opacity: 0; visibility: hidden; }
.dpanel.is-on { opacity: 1; visibility: visible; transition: opacity var(--t-3) var(--ease-out); }
.no-js .dpanel { opacity: 1; visibility: visible; grid-area: auto; margin-bottom: var(--s-6); }
.jobs { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.jobs li { display: grid; grid-template-columns: 9rem minmax(0, 1fr) auto; gap: var(--s-4); align-items: baseline; padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.jobs__when { color: var(--muted); }
.jobs__where { display: block; font: 500 1.125rem/1.2 var(--display); }
.jobs__what { display: block; margin-top: .2rem; font-size: var(--fs-small); color: var(--muted); }
.jobs a { color: var(--coral-ink); }
.dpanel .ph { aspect-ratio: 4 / 3; }
@media (max-width: 899px) {
  .dtabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .dpanel { grid-template-columns: 1fr; }
  .dpanel .ph { order: -1; }
  .jobs li { grid-template-columns: 1fr auto; }
  .jobs__when { grid-column: 1 / -1; }
}

/* ---------- 20. On site: the reels wall ---------- */
.reels { background: var(--night); color: var(--on-night); padding: var(--sec) 0; overflow: hidden; }
.reels__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--s-6); margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.5rem); }
.reels__row { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(14.5rem, 11rem + 9vw, 19rem); gap: clamp(.75rem, .5rem + .8vw, 1.25rem); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); padding: 0 var(--gutter) var(--s-3); margin: 0 calc(-1 * var(--gutter)); scrollbar-width: thin; scrollbar-color: var(--navy-3) transparent; list-style: none; }
.reel { scroll-snap-align: start; }
.reel__frame { position: relative; aspect-ratio: 9 / 16; border-radius: var(--r-1); overflow: hidden; background: var(--navy-2); }
.reel__frame img, .reel__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(21, 18, 42, .94) 0%, rgba(21, 18, 42, .55) 30%, rgba(21, 18, 42, 0) 55%), linear-gradient(180deg, rgba(21, 18, 42, .5), rgba(21, 18, 42, 0) 22%); pointer-events: none; }
.reel__chip { position: absolute; left: .75rem; top: .75rem; z-index: 2; }
.reel__frame .pausebtn { position: absolute; right: .6rem; top: .6rem; z-index: 2; width: 2.5rem; height: 2.5rem; }
.reel__cap { position: absolute; left: .9rem; right: .9rem; bottom: .9rem; z-index: 2; margin: 0; font-size: var(--fs-small); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.reel__cap::before { content: "\201C"; color: var(--coral); }
.reel__cap::after { content: "\201D"; color: var(--coral); }
.reel__fb { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; margin-top: .35rem; font-size: var(--fs-xs); color: var(--on-night-muted); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: .3em; }
.reel__fb:hover { color: var(--on-night); text-decoration-color: var(--coral); }
.reel__fb svg { width: 13px; height: 13px; }
@media (max-width: 899px) {
  .reels__head { grid-template-columns: 1fr; }
  .reels__head .tl__ctrl { display: none; }
  .reels__row { grid-auto-columns: 68vw; }
}

/* ---------- 21. Before / after slider (genuine same-viewpoint pairs only) ---------- */
.ba { position: relative; margin: 0; max-width: 36rem; }
.ba__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-1); background: var(--navy-2); --pos: 50%; touch-action: pan-y; }
.ba__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 0 0 var(--pos)); }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(21, 18, 42, .25); pointer-events: none; }
.ba__grip { position: absolute; top: 50%; left: var(--pos); width: 3rem; height: 3rem; margin: -1.5rem 0 0 -1.5rem; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--navy); box-shadow: 0 8px 24px -8px rgba(21, 18, 42, .6); pointer-events: none; }
.ba__grip svg { width: 22px; height: 22px; }
.ba__tag { position: absolute; top: .75rem; z-index: 2; padding: .35rem .6rem; border-radius: 2px; background: var(--scrim); color: #fff; font: 500 .6875rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; pointer-events: none; }
.ba__tag--b { left: .75rem; }
.ba__tag--a { right: .75rem; }
.ba__range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba__range:focus-visible + .ba__grip { outline: 2px solid var(--coral-lit); outline-offset: 3px; }
.ba figcaption { margin-top: var(--s-3); font-size: var(--fs-small); color: var(--muted); }
.ba figcaption .label { display: block; margin-bottom: .3rem; color: var(--ink); }

/* ---------- 22. Reviews ---------- */
.rate { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1.1rem; margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.5rem); }
.rate__big { font: 600 clamp(3.5rem, 2.4rem + 4.6vw, 6.5rem)/.9 var(--display); letter-spacing: -.04em; }
.rate__big span { color: var(--coral); }
.rate__chip { display: inline-flex; align-items: center; min-height: 2.25rem; padding: .35rem .9rem; border-radius: 999px; background: var(--navy); color: var(--on-night); font: 500 var(--fs-label)/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.revs { columns: 3 20rem; column-gap: var(--gap); }
.rev { break-inside: avoid; margin: 0 0 var(--gap); padding: var(--s-6) var(--s-6) var(--s-5); background: var(--paper); border-radius: var(--r-1); }
.rev blockquote { margin: 0; }
.rev blockquote p { font-size: var(--fs-body); line-height: 1.6; color: var(--ink); white-space: pre-line; }
.rev blockquote p + p { margin-top: .8em; }
.rev__mark { display: block; height: 1.6rem; margin-bottom: var(--s-3); font: 600 3.25rem/1 var(--display); color: var(--coral); }
.rev footer { margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--line); color: var(--muted); }
.rev--lead { background: var(--navy); }
.rev--lead blockquote p { color: var(--on-night); font-size: var(--fs-lead); line-height: 1.55; }
.rev--lead footer { color: var(--on-night-muted); border-top-color: var(--line-night); }

/* ---------- 23. Areas: the ledger ---------- */
.ledger { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); columns: 2 26rem; column-gap: var(--s-8); }
.ledger li { break-inside: avoid; display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: var(--s-4); padding: .85rem 0; border-bottom: 1px solid var(--line); }
.ledger__place { font: 500 1.0625rem/1.3 var(--display); }
.ledger__what { font-size: var(--fs-small); color: var(--muted); }
.ledger__what a { color: var(--coral-ink); }
@media (max-width: 599px) { .ledger li { grid-template-columns: 1fr; gap: .15rem; } }

/* ---------- 24. Quote form with the side switch ---------- */
.form { display: grid; gap: var(--s-5); }
.form fieldset { margin: 0; padding: 0; border: 0; }
.form legend, .field__label { display: block; margin-bottom: .5rem; font: 600 var(--fs-small)/1.3 var(--text); color: var(--ink); }
.field__hint { display: block; margin-top: .35rem; font-size: var(--fs-xs); color: var(--muted); }
.sides { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
.sideopt { position: relative; }
.sideopt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sideopt span { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; height: 100%; min-height: 5.75rem; padding: .85rem .9rem; border: 1px solid var(--field); border-radius: var(--r-1); background: var(--paper); font: 500 .9375rem/1.25 var(--text); cursor: pointer; transition: border-color var(--t-1), box-shadow var(--t-1); }
.sideopt svg { height: 22px; width: auto; color: var(--coral); }
.sideopt input:checked + span { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy), inset 0 -3px 0 var(--coral); }
.sideopt input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.input, .select, .textarea { width: 100%; min-height: 3rem; padding: .7rem .85rem; border: 1px solid var(--field); border-radius: var(--r-1); background: var(--paper); color: var(--ink); font: 400 1rem/1.4 var(--text); }
.textarea { min-height: 8rem; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231E1A33' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.5rem; }
.yn { display: flex; flex-wrap: wrap; gap: .5rem; }
.yn label { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: 0 .9rem; border: 1px solid var(--field); border-radius: 999px; background: var(--paper); font-size: var(--fs-small); cursor: pointer; }
.yn input { accent-color: var(--navy); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-6); }
.form__note { font-size: var(--fs-small); color: var(--muted); }
.form__note a { color: var(--ink); }
@media (max-width: 767px) { .sides { grid-template-columns: 1fr 1fr; } .row2 { grid-template-columns: 1fr; } }

/* ---------- 25. Guides: article layout, sources, glossary ---------- */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 17rem; gap: clamp(2rem, 1rem + 4vw, 6rem); align-items: start; }
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); line-height: 1.12; }
.prose h3 { margin-top: 1.8em; font: 500 var(--fs-h3)/1.2 var(--display); }
.prose ul { padding-left: 1.1em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--coral); }
.prose a { color: var(--ink); text-decoration-color: var(--coral); text-underline-offset: .2em; }
.callout { padding: var(--s-5) var(--s-5) var(--s-5) var(--s-6); background: var(--paper); border-left: 3px solid var(--coral); border-radius: 0 var(--r-1) var(--r-1) 0; font-size: var(--fs-small); }
.sources { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line-strong); }
.sources ol { margin: .6rem 0 0; padding-left: 1.2em; font-size: var(--fs-small); color: var(--muted); }
.toc { position: sticky; top: 6rem; padding-left: var(--s-5); border-left: 1px solid var(--line-strong); }
.toc ol { margin: .8rem 0 0; padding: 0; list-style: none; display: grid; gap: .6rem; font-size: var(--fs-small); }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover, .toc a[aria-current="true"] { color: var(--ink); }
.az { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0 0 var(--s-6); padding: 0; list-style: none; }
.az a { display: inline-grid; place-items: center; min-width: 2.5rem; height: 2.5rem; border: 1px solid var(--line-strong); border-radius: 2px; font: 500 .8125rem/1 var(--mono); text-decoration: none; }
.az a:hover { background: var(--navy); color: var(--on-night); border-color: var(--navy); }
.terms { margin: 0; }
.terms div { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: var(--s-5); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.terms dt { font: 500 1.125rem/1.3 var(--display); }
.terms dd { margin: 0; color: var(--muted); }
@media (max-width: 1023px) { .article { grid-template-columns: 1fr; } .toc { position: static; order: -1; } }
@media (max-width: 599px) { .terms div { grid-template-columns: 1fr; gap: .25rem; } }

/* ---------- 26. Footer ---------- */
.ftr { background: var(--night); color: var(--on-night); padding: clamp(3.5rem, 2.5rem + 3vw, 6rem) 0 calc(var(--s-6) + env(safe-area-inset-bottom)); }
.ftr__brands { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-5) var(--s-7); padding-bottom: var(--s-7); border-bottom: 1px solid var(--line-night); }
.ftr__brands svg { height: 30px; width: auto; }
.ftr__plus { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1px solid var(--line-night-strong); color: var(--coral); }
.ftr__plus svg { height: .9rem; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s-7); padding: var(--s-7) 0; }
.ftr h2 { margin-bottom: var(--s-4); font: 500 var(--fs-label)/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--on-night-muted); }
.ftr ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.ftr a { color: var(--on-night); text-decoration: none; font-size: var(--fs-small); }
.ftr a:hover { text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: .25em; }
.ftr__area { font-size: var(--fs-small); line-height: 1.6; color: var(--on-night-muted); max-width: 22rem; }
.ftr__phone { display: block; margin-top: var(--s-4); font: 600 1.75rem/1 var(--display) !important; letter-spacing: -.01em; }
.ftr__legal { padding-top: var(--s-5); border-top: 1px solid var(--line-night); font-size: var(--fs-xs); line-height: 1.6; color: var(--on-night-muted); }
.ftr__legal p + p { margin-top: .5rem; }
@media (max-width: 899px) { .ftr__grid { grid-template-columns: 1fr 1fr; } .ftr__grid > :first-child { grid-column: 1 / -1; } }

/* ---------- 27. Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  /* the lay-in: bricks (or boards and posts) arrive one by one, the coral one last */
  .js .course > * { opacity: 0; transform: translateY(-5px); transition: opacity .35s var(--ease-out), transform .45s var(--ease-out); transition-delay: calc(var(--i, 0) * 32ms + 150ms); }
  .js .course.is-in > * { opacity: 1; transform: none; }
  .js .course .laid { transition-delay: calc(var(--i) * 32ms + 420ms); }
  .hero__media img { animation: settle 16s var(--ease-out) both; }
}
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .hero__media video { display: none; }
}

/* =====================================================================
   BUILDER ADDITIONS (16 Oct 2026): everything the full site needs beyond the prototype.
   Same tokens, same rules: one heading pattern, hairlines, light/dark rhythm. No inline styles anywhere
   (the CSP has no 'unsafe-inline'), so per-element delays and ratios are classes and nth-child rules here.
   ===================================================================== */

/* ---------- 28. Base additions ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ph picture, .reel__frame picture, .hero__media picture, .fhero__media picture, .other picture, .entr__media picture, .ba__frame picture { display: contents; }
.ph video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s var(--ease-inout); }
.ph video.is-playing { opacity: 1; }
.ph > .pausebtn { position: absolute; right: .75rem; bottom: .75rem; z-index: 2; }
.r-16x9 { aspect-ratio: 16 / 9; } .r-4x3 { aspect-ratio: 4 / 3; } .r-3x2 { aspect-ratio: 3 / 2; } .r-4x5 { aspect-ratio: 4 / 5; } .r-9x16 { aspect-ratio: 9 / 16; }
.ph--empty { aspect-ratio: 4 / 3; background-color: var(--navy); }
/* the course lay-in order and the card stagger, without inline styles */
.course > :nth-child(1) { --i: 0; } .course > :nth-child(2) { --i: 1; } .course > :nth-child(3) { --i: 2; } .course > :nth-child(4) { --i: 3; }
.course > :nth-child(5) { --i: 4; } .course > :nth-child(6) { --i: 5; } .course > :nth-child(7) { --i: 6; } .course > :nth-child(8) { --i: 7; }
.course > :nth-child(9) { --i: 8; } .course > :nth-child(10) { --i: 9; } .course > :nth-child(11) { --i: 10; } .course > :nth-child(12) { --i: 11; }
.course > :nth-child(13) { --i: 12; } .course > :nth-child(14) { --i: 13; } .course > :nth-child(15) { --i: 14; } .course > :nth-child(16) { --i: 15; }
.course > :nth-child(17) { --i: 16; }
.cards > :nth-child(3n+2) { --d: 1; } .cards > :nth-child(3n) { --d: 2; }
.course--missing .gap { fill: none; stroke: var(--coral); stroke-dasharray: 2 2; }
.course--sm { margin-top: .9rem; }
.more { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); margin-top: clamp(2rem, 1.4rem + 2vw, 3rem); }
.morelink { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; font-weight: 600; font-size: var(--fs-small); color: var(--coral-ink); text-decoration: none; }
.morelink svg { width: 16px; height: 16px; transition: transform var(--t-2) var(--ease-out); }
.morelink:hover svg { transform: translateX(3px); }
.dark .morelink { color: var(--coral-lit); }
.btn--line svg, .btn--ghost svg { transition: transform var(--t-2) var(--ease-out); }
.btn--line:hover svg, .btn--ghost:hover svg { transform: translateX(3px); }
.btn .num { font-variant-numeric: lining-nums tabular-nums; }
.sec--night { background: var(--night); color: var(--on-night); }
.reels--join { padding-top: 0; }
.insband + .reels { padding-top: 0; }
a:not([class]) { text-decoration-color: var(--coral); text-underline-offset: .2em; text-decoration-thickness: 1px; }
.chip--strong svg { color: var(--kiln); }

/* ---------- 29. Header: sticky behaviour, side menus, no-JS menu link ---------- */
.hdr { transition: transform var(--t-2) var(--ease-out), background var(--t-2); }
.hdr--stuck { position: fixed; background: var(--night); box-shadow: 0 1px 0 var(--line-night); }
.hdr--light.hdr--stuck { background: var(--mortar); box-shadow: 0 1px 0 var(--line); }
.hdr--stuck.hdr--over::before { display: none; }
.hdr--hide { transform: translateY(-100%); }
.hdr--light { position: absolute; inset: 0 0 auto 0; }
.side .side__opt svg { flex: none; }
.sidemenu { position: absolute; top: calc(100% + .6rem); left: -1px; z-index: 40; width: min(44rem, calc(100vw - 4rem)); padding: var(--s-5); background: var(--night); color: var(--on-night); border: 1px solid var(--line-night-strong); border-radius: var(--r-2); box-shadow: 0 18px 40px -24px rgba(21, 18, 42, .6); }
.side__seg:last-child .sidemenu { left: auto; right: -1px; width: min(36rem, calc(100vw - 4rem)); }
.sidemenu__in { display: grid; grid-template-columns: minmax(0, 1fr) 13rem; gap: var(--s-5); align-items: start; }
.sidemenu__home { display: block; padding-bottom: var(--s-4); margin-bottom: var(--s-3); border-bottom: 1px solid var(--line-night); font: 600 1.375rem/1.1 var(--display); text-decoration: none; }
.sidemenu__home .label { display: block; margin-top: .4rem; color: var(--on-night-muted); font-size: .6875rem; }
.sidemenu__list { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem var(--s-4); margin: 0; padding: 0; list-style: none; }
.sidemenu__list a { display: block; padding: .5rem 0; text-decoration: none; }
.sidemenu__list b { display: block; font: 500 1rem/1.25 var(--text); }
.sidemenu__list small { display: block; margin-top: .15rem; font-size: var(--fs-xs); color: var(--on-night-muted); }
.sidemenu__list a:hover b, .sidemenu__list a[aria-current="page"] b { text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: .3em; }
.sidemenu__ph { aspect-ratio: 4 / 5; }
.side__seg:last-child .sidemenu__list { grid-template-columns: 1fr; }
.nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: .35em; text-decoration-thickness: 2px; }
.menulink { display: none; }
@media (max-width: 1179px) {
  html.no-js .menulink { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 .85rem; border: 1px solid var(--line-night-strong); border-radius: var(--r-1); font-weight: 600; text-decoration: none; }
  .hdr--light .menulink { border-color: var(--line-strong); }
}
.hdr--light .burger { border-color: var(--line-strong); }
.hdr--light .hdr__call, .hdr--light .hdr__callm { color: #fff; }

/* ---------- 30. Mobile menu: a full-screen night sheet split into the two sides ---------- */
.mnav { position: fixed; inset: 0; z-index: 50; overflow-y: auto; overscroll-behavior: contain; background: var(--night); padding: calc(var(--hdr-h) + var(--s-4)) var(--gutter) calc(var(--s-7) + env(safe-area-inset-bottom)); }
.mnav__in { max-width: 34rem; margin: 0 auto; }
.mnav__side { display: flex; align-items: center; gap: .75rem; padding: .25rem 0 .75rem; font: 500 var(--fs-label)/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--on-night-muted); text-decoration: none; }
.mnav__side svg { color: var(--coral); }
.mnav__list { margin: 0 0 var(--s-5); padding: 0; list-style: none; }
.mnav__list a { display: flex; align-items: center; min-height: 2.9rem; font: 500 1.375rem/1.15 var(--display); text-decoration: none; }
.mnav__hinge { position: relative; height: 1px; margin: var(--s-4) 0 var(--s-6); background: var(--line-night-strong); }
.mnav__hinge span { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; margin: -1.125rem 0 0 -1.125rem; border-radius: 50%; background: var(--night); border: 1px solid var(--line-night-strong); color: var(--coral); }
.mnav__more { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s-5); margin: var(--s-4) 0 var(--s-6); padding: var(--s-5) 0 0; list-style: none; border-top: 1px solid var(--line-night); }
.mnav__more a { display: flex; align-items: center; min-height: 2.75rem; font-size: var(--fs-body); text-decoration: none; color: var(--on-night-muted); }
.mnav__acts { display: grid; grid-template-columns: 1fr; gap: var(--s-3); }
.mnav-open { overflow: hidden; }
.mnav-open .hdr { position: fixed; z-index: 60; background: var(--night); color: var(--on-night); transform: none; }
.mnav-open .hdr .hdr__logo svg { color: var(--on-night); }
.burger[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(3.25px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-of-type(2) { transform: translateY(-3.25px) rotate(-45deg); }
.mnav-open .burger { border-color: var(--line-night-strong); color: #fff; }
.burger i { transition: transform var(--t-1); }
@media (min-width: 1180px) { .mnav { display: none !important; } }

/* ---------- 31. Light page hero (services, areas, about, contact, utility) ---------- */
.phero { padding: calc(var(--hdr-h) + clamp(2rem, 1.2rem + 3vw, 4.5rem)) 0 clamp(3rem, 2rem + 4vw, 6rem); background: var(--mortar); }
.phero__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5.5rem); align-items: end; }
.phero--media .phero__in { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.phero .crumbs { color: var(--muted); }
.phero__title { font-size: var(--fs-h1); max-width: 13em; }
.phero .lead { margin-top: var(--s-5); max-width: 40rem; }
.phero__acts { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.phero__ph { aspect-ratio: 4 / 5; max-height: 40rem; }
.badge--light { border-color: var(--line-strong); background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
.badge--light small { color: var(--muted); }
.phero .badge { margin-bottom: var(--s-5); }
@media (max-width: 899px) {
  .phero--media .phero__in { grid-template-columns: 1fr; }
  .phero__ph { order: -1; aspect-ratio: 4 / 3; }
  .phero { padding-top: calc(var(--hdr-h) + 2.75rem + var(--s-5)); }
}

/* ---------- 32. Section body: head left, words right ---------- */
.sbody { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 1rem + 4vw, 6rem); align-items: start; }
.sbody__head { margin: 0; position: sticky; top: calc(var(--hdr-h) + 1.5rem); }
.sbody__main { min-width: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose p, .sbody__main > p { max-width: var(--measure); }
.prose .quote { margin-top: var(--s-6); }
.ticks { margin: 0; padding: 0; list-style: none; max-width: var(--measure); }
.ticks li { position: relative; padding: .6rem 0 .6rem 1.6rem; border-top: 1px solid var(--line); }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.25rem; width: .7rem; height: .35rem; background: var(--coral); }
.sbody__ph { margin-top: var(--s-6); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: var(--s-6); }
.duo .ph { aspect-ratio: 4 / 5; }
@media (max-width: 899px) { .sbody { grid-template-columns: 1fr; } .sbody__head { position: static; } }

/* ---------- 33. Home: feature teaser, insurance band ---------- */
.feat .split { align-items: center; }
.feat .quote { max-width: 38rem; }
.feat__go { margin-top: var(--s-6); }
.feat__ph { aspect-ratio: 4 / 5; max-height: 44rem; }
.insband { background: var(--navy); }
.rung--static { cursor: default; }
.rungs--teaser .rung { pointer-events: none; }
.dark .rung--static { background: var(--navy-2); border-color: var(--line-night-strong); color: var(--on-night); }
.dark .rung--static .rung__n { color: var(--coral-lit); }
.rungs--teaser li:first-child .rung { background: var(--paper); color: var(--ink); }
.rungs--teaser li:first-child .rung__n { color: var(--coral-ink); }
.dark .rungs__ground { border-top-color: var(--on-night); color: var(--on-night-muted); }
.cards--svc { grid-template-columns: repeat(4, 1fr); }
.cards--svc .card__title { font-size: 1.3rem; }
@media (max-width: 1179px) { .cards--svc { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) and (max-width: 1179px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .cards--svc { grid-template-columns: 1fr; } }
.card__meta { margin-bottom: .5rem; color: var(--muted); }
.launch__p { margin-top: var(--s-5); }

/* ---------- 34. Reviews band extras ---------- */
.rev figcaption { margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--line); color: var(--muted); }
.rev--lead figcaption { color: var(--on-night-muted); border-top-color: var(--line-night); }
.phero .rate { margin: var(--s-6) 0 0; }

/* ---------- 35. FAQ ---------- */
.faqs { border-top: 1px solid var(--line-strong); }
.faq { border-bottom: 1px solid var(--line-strong); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 3.5rem; padding: var(--s-4) 0; font: 500 var(--fs-h3)/1.25 var(--display); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 1.1rem; height: 1.1rem; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--coral); transition: transform var(--t-2) var(--ease-out); }
.faq summary i::after { transform: rotate(90deg); }
.faq[open] summary i::after { transform: rotate(0); }
.faq__a { padding: 0 0 var(--s-5); color: var(--muted); max-width: var(--measure); }
.prose .faq summary { font-size: 1.15rem; }

/* ---------- 36. CTA band ---------- */
.cta { background-color: var(--navy); color: var(--on-night); padding: clamp(4rem, 2.5rem + 5vw, 7.5rem) 0; }
.cta__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-7); align-items: end; }
.cta__head { margin: 0; }
.cta__acts { display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: flex-end; }
@media (max-width: 899px) { .cta__in { grid-template-columns: 1fr; } .cta__acts { justify-content: flex-start; } .cta__acts .btn { flex: 1 1 100%; } }

/* ---------- 37. Links lists, prev/next, facts, contact actions ---------- */
.links { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.links li { border-bottom: 1px solid var(--line-strong); }
.links a { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 3.5rem; padding: var(--s-4) 0; text-decoration: none; }
.links b { display: block; font: 500 1.125rem/1.25 var(--display); }
.links small { display: block; margin-top: .2rem; font-size: var(--fs-small); color: var(--muted); }
.links svg { flex: none; width: 18px; height: 18px; color: var(--coral-ink); transition: transform var(--t-2) var(--ease-out); }
.links a:hover svg { transform: translateX(4px); }
.links--big b { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: var(--s-7); }
.prevnext a { display: block; padding: var(--s-5); background: var(--paper); border-radius: var(--r-1); text-decoration: none; }
.prevnext a + a { text-align: right; }
.prevnext .label { display: block; color: var(--muted); }
.prevnext b { display: block; margin-top: .4rem; font: 500 1.0625rem/1.3 var(--display); }
@media (max-width: 599px) { .prevnext { grid-template-columns: 1fr; } .prevnext a + a { text-align: left; } }
.factlist { margin: 0; border-top: 1px solid var(--line-strong); }
.factlist div { display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.factlist dt { font: 500 var(--fs-label)/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: .2rem; }
.factlist dd { margin: 0; }
@media (max-width: 599px) { .factlist div { grid-template-columns: 1fr; gap: .2rem; } }
.cacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin: var(--s-7) 0 0; padding: 0; list-style: none; }
.cacts a { display: block; height: 100%; padding: var(--s-5); background: var(--paper); border-radius: var(--r-1); text-decoration: none; transition: box-shadow var(--t-2), transform var(--t-2) var(--ease-out); }
.cacts a:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(21, 18, 42, .45); }
.cacts .label { display: block; color: var(--muted); }
.cacts b { display: block; margin-top: .5rem; font: 600 clamp(1.25rem, 1rem + 1vw, 1.75rem)/1.15 var(--display); overflow-wrap: anywhere; }
.cacts li:first-child a { background: var(--navy); color: var(--on-night); }
.cacts li:first-child .label { color: var(--on-night-muted); }
.cacts__area { margin-top: var(--s-5); color: var(--muted); max-width: 44rem; }
@media (max-width: 899px) { .cacts { grid-template-columns: 1fr; } }
.split--form { align-items: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.opt { font-weight: 400; color: var(--muted); }

/* ---------- 38. Projects: hero lede, steps, gallery, clip card, filter ---------- */
.fhero__lede { margin-top: var(--s-5); max-width: 42rem; }
.fhero .badge { margin-bottom: var(--s-5); }
.fhero .crumbs a, .fhero .crumbs { color: var(--on-night-muted); }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); counter-reset: none; }
.step { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-5) clamp(1.5rem, 1rem + 2vw, 3rem); padding: var(--s-6) 0; border-bottom: 1px solid var(--line); align-items: start; }
.step__n { padding-top: .3rem; color: var(--coral-ink); }
.step__when { color: var(--muted); margin-bottom: .4rem; }
.step__title { font: 500 var(--fs-h3)/1.2 var(--display); margin-bottom: var(--s-3); }
.step__body > p { color: var(--muted); max-width: 34rem; }
.step__body .quote { margin-top: var(--s-4); }
.step__media .ph { aspect-ratio: 4 / 3; }
.step__media .ph--tall { aspect-ratio: 4 / 5; }
.step__media--duo { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.step__media--duo .ph { aspect-ratio: 4 / 5; }
.step:not(:has(.step__media)) .step__body { grid-column: 2 / -1; }
@media (max-width: 899px) { .step { grid-template-columns: 2.5rem minmax(0, 1fr); } .step__media { grid-column: 2; } }
.quote--sm p { font-size: var(--fs-body); }
.quote--big { border-top: 0; padding-top: 0; margin: 0 auto; max-width: 56rem; text-align: left; }
.quote--big p { font: 500 clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem)/1.3 var(--display); letter-spacing: -.01em; }
.quoteband { padding: clamp(4rem, 2.5rem + 5vw, 8rem) 0; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.gfig { margin: 0; }
.gfig .ph { aspect-ratio: 4 / 3; }
.gfig figcaption { margin-top: .6rem; font-size: var(--fs-xs); color: var(--muted); }
.gfig--prose { margin: var(--s-6) 0; }
.gfig--prose .ph { aspect-ratio: 3 / 2; }
@media (max-width: 899px) { .gallery { grid-template-columns: 1fr 1fr; } }
.clipcard { margin: 0; }
.clipcard figcaption .quote { margin-top: var(--s-4); }
.ph video.fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage__media--reel .tallwrap { position: relative; z-index: 1; height: 100%; aspect-ratio: 9 / 16; margin: 0 auto; }
.stage__media--reel .tallwrap img, .stage__media--reel .tallwrap video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage__media--reel .ph { position: absolute; inset: 0; }
.stage__media--reel .plate, .stage__media--reel .pausebtn { z-index: 2; }
.stage__empty { text-align: center; padding: 2rem; }
.stage__empty svg { margin: 0 auto 1.25rem; color: var(--coral); }
.stage__empty .label { color: var(--on-night-muted); }
.plan--stage { width: min(80%, 26rem); height: auto; }
.dtabs--filter { margin-top: 0; }
.dtab[aria-pressed="true"] { background: var(--navy); color: var(--on-night); }
.card.is-hidden { display: none; }

/* ---------- 39. Plan drawings on light, the build-stage strip ---------- */
.plan--light { color: var(--ink); }
.plan--light .tc { fill: var(--coral-ink); }
.plan .post { fill: var(--paper); stroke: currentColor; stroke-width: 1; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.plan-card { margin: 0; padding: var(--s-5); background: var(--mortar); border-radius: var(--r-1); }
.sec--paper .plan-card { background: var(--mortar); }
.plan-card figcaption { margin-top: var(--s-4); font-size: var(--fs-small); color: var(--muted); }
.plan-card figcaption b { display: block; margin-bottom: .2rem; font: 500 1.0625rem/1.25 var(--display); color: var(--ink); }
.plan-card--wide { max-width: 52rem; }
.plans + .plan-note { color: var(--muted); }
@media (max-width: 899px) { .plans { grid-template-columns: 1fr 1fr; } }
.stagestrip { position: relative; overflow-x: auto; padding-bottom: var(--s-4); }
.stagestrip ol { display: grid; grid-template-columns: repeat(7, minmax(7.5rem, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.stagestrip li { padding: var(--s-4) var(--s-4) var(--s-4) 0; border-right: 1px solid var(--line); }
.stagestrip li + li { padding-left: var(--s-4); }
.stagestrip li:last-child { border-right: 0; }
.stagestrip .label { display: block; color: var(--coral-ink); }
.stagestrip b { display: block; margin-top: .4rem; font: 500 1.0625rem/1.2 var(--display); }
.stagestrip__base { margin-top: var(--s-4); }

/* ---------- 40. Guides, privacy, glossary extras ---------- */
.sec--guide { padding-top: calc(var(--hdr-h) + clamp(2rem, 1.2rem + 3vw, 4.5rem)); }
.ghead { max-width: 52rem; margin-bottom: clamp(2.5rem, 1.6rem + 3vw, 4.5rem); }
.ghead .crumbs { color: var(--muted); }
.ghead .lead { margin-top: var(--s-5); }
.prose h2 { scroll-margin-top: 6rem; }
.prose ol { padding-left: 1.3em; }
.prose--narrow { max-width: var(--measure); }
.sources li span { color: var(--muted); font-size: var(--fs-xs); }
.sources a { color: var(--ink); }
.terms div { scroll-margin-top: 6rem; }
.terms dt { scroll-margin-top: 6rem; }
.terms__see { display: block; margin-top: .4rem; font-size: var(--fs-small); color: var(--ink); }
.terms__see a { color: var(--coral-ink); }
.toc a[aria-current="true"] { text-decoration: underline; text-decoration-color: var(--coral); }
@media (max-width: 899px) { .sec--guide { padding-top: calc(var(--hdr-h) + 2.75rem + var(--s-5)); } }

/* ---------- 41. 404 and thanks ---------- */
.nf { min-height: min(46rem, 90svh); display: flex; align-items: center; background: var(--night); color: var(--on-night); padding: calc(var(--hdr-h) + var(--s-7)) 0 var(--s-8); }
.nf__in { text-align: center; }
.nf .course { margin-left: auto; margin-right: auto; }
.nf .lead { margin: var(--s-5) auto 0; }
.nf .phero__title { margin: 0 auto; }
.nf .phero__acts { justify-content: center; }
.nf__doors .btn svg { width: auto; height: 20px; color: var(--coral); }
.nf__call { margin-top: var(--s-4); }
.nf--light { background: var(--mortar); color: var(--ink); }

/* ---------- 42. Footer extras ---------- */
.ftr__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; }
.ftr__contact { margin-top: var(--s-4); }
@media (max-width: 1179px) { .ftr__grid { grid-template-columns: 1fr 1fr 1fr; } .ftr__grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 599px) { .ftr__grid { grid-template-columns: 1fr 1fr; } .ftr__guides { grid-column: 1 / -1; } }

/* ---------- 43. Small screens: tap targets and overflow guards ---------- */
.crumbs li { display: inline-flex; align-items: center; min-height: 1.75rem; }
.crumbs a { display: inline-flex; align-items: center; min-height: 1.75rem; }
@media (max-width: 599px) {
  .phero__acts .btn, .entr__ctas .btn { flex: 1 1 100%; }
  .door__name { font-size: 1.25rem; }
}
.reels__row:focus-visible { outline-offset: 6px; }

/* ---------- 44. Grouped rows, card details ---------- */
.rows > .sbody--row { padding: clamp(2.5rem, 1.6rem + 3vw, 4.5rem) 0; border-top: 1px solid var(--line-strong); }
.rows > .sbody--row:first-child { border-top: 0; padding-top: 0; }
.rows > .sbody--row:last-child { padding-bottom: 0; }
.sbody--row .sbody__head .h2 { font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.5rem); }
.cards--svc > :first-child { grid-column: span 2; }
.cards--svc > :first-child .ph { aspect-ratio: 16 / 9; }
.card__text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 599px) {
  .cards--svc > :first-child { grid-column: auto; }
  .cards--svc .card { display: grid; grid-template-columns: 7rem minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .cards--svc .card .ph, .cards--svc > :first-child .ph { grid-row: 1 / span 2; aspect-ratio: auto; height: 100%; min-height: 7.5rem; }
  .cards--svc .card .plate { display: none; }
  .cards--svc .card__body { padding: var(--s-4) var(--s-4) var(--s-2); }
  .cards--svc .card__title { font-size: 1.15rem; }
  .cards--svc .card__go { padding: 0 var(--s-4) var(--s-4); }
  .rate__chip { letter-spacing: .06em; font-size: .6875rem; }
}
/* ---------- 45. Header tap targets on small phones ---------- */
.hdr__logo { display: flex; align-items: center; min-height: 2.75rem; }
.burger, .hdr__callm { flex: none; }
@media (max-width: 899px) { .hdr__in { gap: var(--s-3); } }
@media (max-width: 359px) {
  .hdr__logo svg { height: 20px; width: auto; }
  .hdr__in { gap: .6rem; }
  .hdr__callm { padding: .5rem .65rem; }
}
.revs:has(> .rev:only-child) { columns: 1; max-width: 48rem; }
/* before / after without JS: the two photos side by side, before on the left */
.no-js .ba__frame { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; aspect-ratio: auto; }
.no-js .ba__frame img { position: static; aspect-ratio: 4 / 5; clip-path: none; }
.no-js .ba__range, .no-js .ba__grip, .no-js .ba__line { display: none; }
.shead__more { margin-top: var(--s-5); color: var(--muted); max-width: 44rem; }
.shead__more p + p { margin-top: .8em; }
.shead__more a { color: var(--ink); }
@media (max-width: 1023px) { .entr__media { aspect-ratio: auto; height: min(75vw, 30rem); max-height: none; } }
.ba--wide { max-width: 64rem; }
.r-3x4 { aspect-ratio: 3 / 4; } .r-13x5 { aspect-ratio: 13 / 5; } .r-1x1 { aspect-ratio: 1; }
.gallery--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: var(--s-7); }
@media (max-width: 899px) { .gallery--4 { grid-template-columns: 1fr 1fr; } }
.fhero--plain { background-color: var(--night); min-height: min(36rem, 80svh); }
/* ---------- 46. Fixer (16 Oct 2026): REVIEW-build and REVIEW-words fixes ---------- */
/* M2: long button labels wrap on the narrowest phones */
@media (max-width: 399px) { .btn { white-space: normal; text-align: center; } }
/* m1: controls that need JS are not shown without it */
html.no-js [data-video-toggle], html.no-js .side__more, html.no-js [data-reels-prev], html.no-js [data-reels-next],
html.no-js [data-tl-prev], html.no-js [data-tl-next] { display: none; }
/* m3: small coral text at AA */
.badge--light .two, .rate .two { color: var(--coral-ink); }
.badge:not(.badge--light) .two, .nf__doors .two { color: var(--coral-lit); }
@media (max-width: 599px) { .trust__big em { color: var(--coral-lit); } }
/* m4: 44 px tap targets */
.ftr ul { gap: 0; }
.ftr li a { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs { align-items: center; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.ledger a, .terms__see a { padding-block: .8rem; margin-block: -.8rem; }
.az { gap: .35rem; }
.az a { min-width: 2.75rem; height: 2.75rem; }
/* m18: the wide first service card no longer makes its row taller */
@media (min-width: 1180px) { .cards--svc > :first-child .ph { aspect-ratio: 11 / 4; } }
/* m19: one-line date plates on cards */
.card .plate { display: block; max-width: calc(100% - 1.5rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* m9: two project cards, two columns */
@media (min-width: 900px) { .cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* A-m6: the reviews are on the Brick2Brick UK page */
.rate__src { flex-basis: 100%; font-size: var(--fs-xs); color: var(--muted); }
.dark .rate__src { color: var(--on-night-muted); }
.chip__src { text-transform: none; letter-spacing: 0; font-family: var(--text); }
/* B-m15: the 16:9 hero still between 600 and 899 px */
@media (min-width: 600px) and (max-width: 899px) { .hero__media img { object-position: 62% 35%; } }
/* before / after without JS: pin the two photos to their columns (before left) */
.no-js .ba__frame source { display: none; }
.no-js .ba__frame picture:first-of-type img { grid-column: 1; grid-row: 1; }
.no-js .ba__frame picture:nth-of-type(2) img { grid-column: 2; grid-row: 1; }
/* A-m30: the number in the sticky bar's call button from 370 px */
.stickybar .sb__n { display: none; }
@media (min-width: 370px) { .stickybar .sb__w { display: none; } .stickybar .sb__n { display: inline; font-variant-numeric: lining-nums tabular-nums; } }
/* M3: with the menu sheet open (900-1179 px) the header keeps only the logo, Call and the close button */
.mnav-open .hdr .side { visibility: hidden; }
/* ---------- 47. For hire (16 Oct 2026): the hire fleet and the hire enquiry box on /machine-hire/ ---------- */
/* one machine = a feature card (photo beside the words); two or more fall into a two-column grid of the same cards */
.fleet { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.fleet--one { grid-template-columns: minmax(0, 1fr); }
.mach { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r-1); overflow: hidden; }
.mach .ph { aspect-ratio: 4 / 3; border-radius: 0; }
.mach__body { display: flex; flex-direction: column; flex: 1; padding: var(--s-6) var(--s-6) var(--s-7); }
.mach__k { color: var(--coral-ink); }
.mach__name { margin-top: var(--s-3); font: 600 var(--fs-h3)/1.1 var(--display); letter-spacing: -.01em; text-wrap: balance; }
.mach__for { margin-top: var(--s-3); font-size: var(--fs-small); color: var(--muted); max-width: 40rem; }
.mach__pts { margin-top: var(--s-5); }
.mach__acts { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: auto; padding-top: var(--s-6); }
@media (min-width: 900px) {
  .fleet--one .mach { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .fleet--one .mach .ph { aspect-ratio: auto; min-height: 32rem; }
  .fleet--one .mach .ph img { position: absolute; inset: 0; }
  .fleet--one .mach__body { justify-content: center; padding: clamp(2rem, 1rem + 2.6vw, 4rem); }
  .fleet--one .mach__name { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem); }
  .fleet--one .mach__for { font-size: var(--fs-body); }
}
@media (max-width: 899px) { .fleet { grid-template-columns: minmax(0, 1fr); } }
.input--postcode { max-width: 14rem; text-transform: uppercase; }
.input--postcode::placeholder { text-transform: none; }

/* 48. One job per section (main session, 22 Oct 2026, Liam: "just want one for each section"):
   a single project card spans the row as a wide image-and-text card from 900px. */
.cards--1 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  .cards--1 .card { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-rows: 1fr auto; }
  .cards--1 .card .ph { grid-row: 1 / span 2; aspect-ratio: auto; height: 100%; min-height: 20rem; }
  .cards--1 .card__body { align-self: center; padding: var(--s-7) var(--s-7) var(--s-4); }
  .cards--1 .card__title { font-size: var(--fs-h2, 2rem); }
  .cards--1 .card__text { -webkit-line-clamp: 4; font-size: var(--fs-body, 1rem); }
  .cards--1 .card__go { padding: 0 var(--s-7) var(--s-7); }
}

/* 49. Town and local pages (main session, 26 Oct 2026): job lists with no place column get the full width
   (the two-column ledger grid squeezed them into its 9.5rem place column) */
.ledger--single li { grid-template-columns: minmax(0, 1fr); }
