/* Lancashire Floors — site styles, ported from the approved demo (tokens in tokens.css). Their shop: a yellow fascia with a red carpet-roll spiral and black flared caps,
   blue-framed windows of standing rolls, and green railings along Accrington Road with artificial grass laid against
   them. Railing green leads; fascia yellow only on the logo plate (and the form's button); spiral red only in marks. */

@font-face { font-family: "Fahkwang"; src: url("../fonts/fahkwang-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Fahkwang"; src: url("../fonts/fahkwang-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url("../fonts/albert-var.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 12px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--body); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 50; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: 4px; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--rail); outline-offset: 2px; }

/* ---------- type ---------- */
.h1, .h2, .h3 { font-family: var(--disp); font-weight: 700; margin: 0; text-wrap: balance; }
.h1 { font-size: clamp(29px, 7.4vw, 64px); line-height: 1.06; letter-spacing: -.012em; }
.h2 { font-size: clamp(28px, 5.6vw, 46px); line-height: 1.08; letter-spacing: -.01em; }
.h3 { font-size: clamp(19px, 2.2vw, 22px); line-height: 1.2; font-weight: 600; }
.kick { margin: 0 0 6px; font: 600 12.5px/1.3 var(--disp); letter-spacing: .14em; text-transform: uppercase; color: var(--rail); }
.kick--light { color: var(--yellow); }
.lede { max-width: 62ch; font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 22px; border-radius: 6px;
  background: var(--rail); color: #fff; font: 700 17px/1.1 var(--body); text-decoration: none; border: 0; cursor: pointer; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { background: var(--rail-d); }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: #FFE34A; }
.btn-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--rail); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.btn-link svg { width: 18px; height: 18px; flex: none; }
.link { display: inline-flex; align-items: center; min-height: 44px; color: var(--rail); font-weight: 600; text-underline-offset: 4px; }

/* ---------- header ---------- */
.head { position: relative; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--line); }
.head-in { display: flex; align-items: center; gap: 8px; min-height: var(--head-h); padding-top: 8px; padding-bottom: 8px; }
.brand { display: block; flex: none; line-height: 0; border-radius: 6px; }
.brand .logo { display: block; height: 46px; width: auto; }
.head-links { display: none; }
.head-acts { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.ic-btn, .menu-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; min-width: 44px; padding: 0 10px; border: 1.5px solid var(--rail-line); background: var(--card); border-radius: 6px; color: var(--rail); text-decoration: none; cursor: pointer; font-weight: 700; font-size: 15px; }
.ic-btn { width: 44px; padding: 0; }
.ic-btn svg, .menu-btn svg { width: 21px; height: 21px; flex: none; }
.menu-btn svg path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.call-btn { display: inline-flex; align-items: center; gap: 5px; height: 44px; padding: 0 13px; border-radius: 6px; background: var(--rail); color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; }
.call-btn svg { width: 13px; height: 13px; }
.menu-word { display: none; }
@media (min-width: 400px) { .menu-word { display: inline; } .menu-btn { padding: 0 12px; } }
.menu { position: absolute; right: var(--gut); top: calc(100% + 6px); width: min(300px, calc(100vw - 2 * var(--gut))); padding: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 18px 40px -18px rgba(0,0,0,.35); text-align: right; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu li a { display: block; padding: 12px 12px; font: 600 19px/1.2 var(--disp); text-decoration: none; border-radius: 4px; }
.menu li a[aria-current] { color: var(--rail); box-shadow: inset -3px 0 0 var(--red); }
.menu li a:hover { background: var(--rail-pale); }
.menu-call { margin: 6px 12px 4px; font-size: 14px; color: var(--muted); }
@media (min-width: 1100px) {
  .head-links { display: flex; gap: 4px; margin-left: 28px; }
  .head-links a { padding: 10px 12px; font-weight: 600; text-decoration: none; border-radius: 4px; }
  .head-links a[aria-current] { box-shadow: inset 0 -3px 0 var(--red); }
  .head-links a:hover { background: var(--rail-pale); }
  .menu-btn { display: none; }
}
@media (min-width: 1024px) { .brand .logo { height: 58px; } .ic-btn, .menu-btn, .call-btn { height: 48px; } .call-btn { padding: 0 18px; } }

/* ---------- kerb-rail openers: the railings in front of their shop, a slim rail with posts ---------- */
.sec { padding: 48px 0 52px; position: relative; }
@media (min-width: 1024px) { .sec { padding: 80px 0 84px; } }
.opener { position: relative; margin-bottom: 18px; }
.rail-line { display: block; height: 20px; margin-bottom: 12px; max-width: 340px; transform-origin: left;
  background:
    repeating-linear-gradient(90deg, var(--rail) 0 6px, transparent 6px 112px) 0 0 / 100% 100% no-repeat,
    linear-gradient(var(--rail), var(--rail)) 0 4px / 100% 2px no-repeat,
    linear-gradient(var(--rail), var(--rail)) 0 15px / 100% 2px no-repeat,
    repeating-linear-gradient(90deg, transparent 0 7px, var(--rail) 7px 8.5px, transparent 8.5px 14px) 0 4px / 100% 13px no-repeat;
  -webkit-mask: linear-gradient(#000, #000) 0 2px / 100% 18px no-repeat, repeating-linear-gradient(90deg, #000 0 6px, transparent 6px 112px) 0 0 / 100% 3px no-repeat;
          mask: linear-gradient(#000, #000) 0 2px / 100% 18px no-repeat, repeating-linear-gradient(90deg, #000 0 6px, transparent 6px 112px) 0 0 / 100% 3px no-repeat; }
html.js .rail-line { transform: scaleX(.04); transition: transform 1.1s cubic-bezier(.3,.7,.2,1); }
html.js .is-seen .rail-line, html.js .rail-line.is-seen { transform: none; }

/* ---------- hero: One house, three floors (their own style; the named styles come from hero-styles.css) ---------- */
.hero[data-hero-style] { --hero-h: calc(100svh - 64px); --hero-h-d: clamp(560px, calc(100svh - 84px), 860px); }
.hero .hero-copy .h1 { color: inherit; }
.h1-town { position: relative; display: inline-block; white-space: nowrap; }
.tail { position: absolute; left: -2%; right: -4%; bottom: -.16em; width: 106%; height: .3em; overflow: visible; }
.tail path { fill: none; stroke: var(--red); stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hero-tag { margin: 14px 0 0; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 40ch; }
.hero-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 16px; }
.hero .btn-main { min-width: 0; }
[data-hero-tone="dark"] .hero-tag { color: rgba(255,255,255,.86); }
[data-hero-tone="dark"] .btn-link { color: #fff; }
[data-hero-tone="dark"] .btn-main { background: var(--yellow); color: var(--ink); }

/* the house style */
.hero[data-hero-style="house"] { display: block; min-height: 0; height: auto; padding: 18px 0 26px; background: var(--paper); color: var(--ink); }
.hero[data-hero-style="house"] .hero-photo,
.hero[data-hero-style="house"] .hero-veil,
.hero[data-hero-style="house"] .hero-bg,
.hero[data-hero-style="house"] .hero-caption { display: none; }
.hero[data-hero-style="house"] .hero-copy { position: relative; inset: auto; transform: none; width: auto; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.hero:not([data-hero-style="house"]) .house { display: none; }
.house { margin: 16px auto 0; max-width: calc(var(--max) + 2 * var(--gut)); padding: 0 var(--gut); }
.house-band { position: relative; display: grid; grid-template-columns: minmax(0,1fr) 11px minmax(0,1fr) 11px minmax(0,1fr); height: clamp(262px, 74vw, 300px); border-radius: 4px; overflow: hidden; background: #2B2F2E; }
.hp { position: relative; min-width: 0; overflow: hidden; }
.hp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hp-hall img { object-position: 50% 62%; }
.hp-living img { object-position: 46% 78%; }
.hp-bed img { object-position: 40% 70%; }
/* door bars: brushed metal strips with two screws, like the bars in Jordan's photos; no shine, no movement once in */
.bar { position: relative; z-index: 2; display: block; background:
  repeating-linear-gradient(180deg, rgba(255,255,255,.07) 0 1px, rgba(0,0,0,.05) 1px 3px),
  linear-gradient(90deg, var(--steel-1) 0, var(--steel-2) 22%, var(--steel-3) 48%, var(--steel-2) 74%, var(--steel-1) 100%);
  box-shadow: -2px 0 3px rgba(0,0,0,.28), 2px 0 3px rgba(0,0,0,.28); }
.bar i { position: absolute; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #F1F2F1 0, #A8ADAC 70%, #7D8382 100%); box-shadow: inset 0 0 0 .5px rgba(0,0,0,.35); }
.bar i::after { content: ""; position: absolute; left: 1px; right: 1px; top: 50%; height: 1px; margin-top: -.5px; background: #6E7473; transform: rotate(-35deg); }
.bar i:first-child { top: 22%; } .bar i:last-child { top: 74%; }
.house-labels { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 11px; }
.house-labels li { min-width: 0; font: 600 13px/1.25 var(--disp); color: var(--ink); }
.house-labels b { font-weight: 600; }
.house-labels li::first-letter { text-transform: uppercase; }
.house-cap { margin: 10px 0 0; font-size: 15px; line-height: 1.4; color: var(--ink); }
.house-cap span { display: block; font-size: 13.5px; color: var(--muted); }
@media (min-width: 600px) { .house-labels li { font-size: 15px; } .house-band { height: clamp(300px, 52vw, 420px); } }
@media (min-width: 900px) {
  .hero[data-hero-style="house"] { padding: 40px 0 44px; }
  .hero[data-hero-style="house"] .hero-copy { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 12px 56px; align-items: end; }
  .hero[data-hero-style="house"] .hero-copy .h1 { grid-row: span 2; }
  .hero[data-hero-style="house"] .hero-tag { margin: 0; }
  .hero[data-hero-style="house"] .hero-acts { margin: 0; }
  .house { margin-top: 30px; }
  .house-band { height: clamp(320px, 28vw, 430px); grid-template-columns: minmax(0,1fr) 16px minmax(0,1fr) 16px minmax(0,1fr); }
  .bar i { width: 8px; height: 8px; margin-left: -4px; }
  .house-labels { gap: 16px; margin-top: 12px; }
  .house-labels li { font-size: 18px; }
  .house-cap { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; font-size: 17px; }
  .house-cap span { display: inline; font-size: 14.5px; }
}
@media (max-width: 899.98px) {
  .hero[data-hero-style="house"] { display: flex; flex-direction: column; padding-top: 14px; }
  .hero[data-hero-style="house"] .hero-copy { display: contents; }
  .hero[data-hero-style="house"] .hero-copy > * { margin-left: var(--gut); margin-right: var(--gut); }
  .hero[data-hero-style="house"] .h1 { order: 1; }
  .hero[data-hero-style="house"] .house { order: 2; margin-top: 12px; }
  .hero[data-hero-style="house"] .hero-acts { order: 3; margin-top: 14px; }
  .hero[data-hero-style="house"] .hero-tag { order: 4; margin-top: 10px; font-size: 16px; }
  .hero[data-hero-style="house"] .house-cap { margin-top: 6px; font-size: 13.5px; line-height: 1.35; }
  .hero[data-hero-style="house"] .house-cap span { display: inline; font-size: 13px; }
}
/* the entrance: the panels slide together from the hallway outward, then the bars press into the seams (intro only) */
html.js .hero[data-hero-style="house"].is-intro .hp-living { animation: hp-in .8s .25s both cubic-bezier(.2,.75,.2,1); }
html.js .hero[data-hero-style="house"].is-intro .hp-bed { animation: hp-in .8s .5s both cubic-bezier(.2,.75,.2,1); }
html.js .hero[data-hero-style="house"].is-intro .hp-hall { animation: hp-fade .6s both ease-out; }
html.js .hero[data-hero-style="house"].is-intro .bar { animation: bar-in .45s both cubic-bezier(.3,.8,.3,1.1); }
html.js .hero[data-hero-style="house"].is-intro .bar:nth-of-type(1) { animation-delay: 1.05s; }
html.js .hero[data-hero-style="house"].is-intro .bar:nth-of-type(2) { animation-delay: 1.25s; }
@keyframes hp-in { from { transform: translateX(42%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes hp-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bar-in { from { transform: scaleY(.15); opacity: 0; } to { transform: none; opacity: 1; } }
/* headline opening (live: Tail line): words rise, the red tail draws under Burnley */
html.js .h1[data-opening="tail"].is-open .h1-a,
html.js .h1[data-opening="tail"].is-open .h1-b { display: inline-block; animation: rise .7s both cubic-bezier(.2,.75,.2,1); }
html.js .h1[data-opening="tail"].is-open .h1-b { animation-delay: .12s; }
html.js .h1[data-opening="tail"].is-open .tail path { stroke-dasharray: 1; animation: draw .9s .55s both cubic-bezier(.5,0,.2,1); }
@keyframes rise { from { transform: translateY(.45em); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* the named styles (switcher): their own type over the photo */
.hero[data-hero-style="side-bleed"] .h1, .hero[data-hero-style="horizon-fade"] .h1 { font-size: clamp(29px, 6.6vw, 60px); }
@media (min-width: 900px) { .hero[data-hero-style="side-bleed"] .hero-copy, .hero[data-hero-style="horizon-fade"] .hero-copy { max-width: 560px; } }
.hero[data-hero-style="horizon-fade"] .tail path { stroke: var(--yellow); }
.hero[data-hero] { --hs-top: 12px; }
.hs [data-style="house"] .hs-prev { --_g: var(--paper); }
.hs [data-style="house"] .hs-prev::before { background-image: url("../img/thumb-house.webp"); top: 34%; }
.hs [data-style="house"] .hs-prev::after { content: none; }

/* ---------- reviews band ---------- */
.rv { background: var(--rail); color: #fff; padding: 14px 0 12px; }
.rv-h { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 10px; font: 600 15px/1.3 var(--body); }
.rv-h b { font: 700 26px/1 var(--disp); }
.rv-big-stars { display: inline-flex; gap: 2px; color: var(--yellow); }
.rv-big-stars svg { width: 18px; height: 18px; }
.rail { position: relative; }
.rail-track { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 10px; margin: 0; padding: 0 0 4px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail-track::-webkit-scrollbar { display: none; }
.rv-card { scroll-snap-align: start; min-width: 0; }
.rv-card figure { margin: 0; height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; padding: 11px 13px 6px; background: #fff; color: var(--ink); border-radius: 4px; border-top: 3px solid var(--yellow); }
.rv-card blockquote { margin: 0; }
.rv-card p { margin: 0; font-size: 15px; line-height: 1.42; }
.rv-card figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 13.5px; color: var(--muted); }
.rv-card figcaption b { color: var(--ink); }
.rv-stars { display: inline-flex; gap: 1px; color: #C99A06; }
.rv-stars svg { width: 13px; height: 13px; }
.rv-more { margin-left: auto; min-height: 44px; padding: 0 4px; background: none; border: 0; color: var(--rail); font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.rail-ctl { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 6px; }
.rail-n { margin-right: auto; font-size: 14px; opacity: .85; }
.rail-b { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 6px; border: 1.5px solid rgba(255,255,255,.5); background: transparent; color: #fff; cursor: pointer; }
.rail-b svg { width: 20px; height: 20px; }
.rail-b:disabled { opacity: .35; cursor: default; }
@media (min-width: 700px) { .rail-track { grid-auto-columns: calc((100% - 20px) / 3); } }
@media (min-width: 1200px) { .rail-track { grid-auto-columns: calc((100% - 30px) / 4); } .rv { padding: 28px 0 24px; } }

/* ---------- under one roof (ranges) ---------- */
.roof { background: var(--card); }
.ranges { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.ranges a { display: flex; align-items: center; gap: 10px; min-height: 64px; height: 100%; padding: 10px 10px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); text-decoration: none; }
.ranges a:hover { border-color: var(--rail); }
.tile-ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 4px; background: var(--rail-pale); color: var(--rail); }
.tile-ic svg { width: 32px; height: 32px; }
.tile-ic .a, svg .a { stroke: var(--red); }
.rg-t { display: flex; flex-direction: column; min-width: 0; }
.rg-t b { font: 600 16px/1.2 var(--disp); }
.rg-t span { font-size: 13.5px; line-height: 1.3; color: var(--muted); }
.more { margin: 18px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
@media (min-width: 768px) { .ranges { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; } .ranges a { padding: 14px; } .rg-t b { font-size: 18px; } .rg-t span { font-size: 14.5px; } }
.roof-pic { display: none; }
@media (min-width: 1024px) {
  .roof .wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-rows: auto auto auto 1fr; gap: 0 56px; }
  .roof .opener, .roof .lede, .roof .roof-pic, .roof .more { grid-column: 1; }
  .roof .ranges { grid-column: 2; grid-row: 1 / span 4; align-self: start; margin-top: 0; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .roof-pic { display: block; margin: 8px 0 0; }
  .roof-pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
  .roof-pic figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }
}
html.js .ranges li { opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s; }
html.js .is-seen .ranges li { opacity: 1; transform: none; }
html.js .is-seen .ranges li:nth-child(n+4) { transition-delay: .08s; } html.js .is-seen .ranges li:nth-child(n+7) { transition-delay: .16s; }

/* ---------- signature: Turn a sample over ---------- */
.turn { background: var(--paper); }
.turn-lede { margin-bottom: 14px; }
.samples { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; perspective: 1100px; }
.smp { min-width: 0; }
.smp-b { display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 4px; }
.smp-in { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .55s cubic-bezier(.3,.7,.25,1); }
.smp-b[aria-pressed="true"] .smp-in { transform: rotateY(180deg); }
.smp-front, .smp-back { position: absolute; inset: 0; border-radius: 4px; overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.smp-front { box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 6px 14px -10px rgba(0,0,0,.5); }
.smp-front img { width: 100%; height: 100%; object-fit: cover; }
.smp-tag { position: absolute; left: 6px; bottom: 6px; padding: 3px 7px; border-radius: 3px; background: rgba(247,246,241,.94); color: var(--ink); font: 600 11.5px/1.2 var(--disp); letter-spacing: .06em; text-transform: uppercase; }
/* the back of a sample: hessian-coloured card with their label */
.smp-back { transform: rotateY(180deg); display: flex; flex-direction: column; gap: 4px; padding: 9px 9px 8px; text-align: left; color: var(--ink);
  background: repeating-linear-gradient(45deg, rgba(0,0,0,.035) 0 2px, transparent 2px 5px), repeating-linear-gradient(-45deg, rgba(0,0,0,.03) 0 2px, transparent 2px 5px), #EFE7D6;
  border: 2px solid var(--rail); }
.smp-co { font: 600 9.5px/1.2 var(--disp); letter-spacing: .12em; text-transform: uppercase; color: var(--rail); border-bottom: 1px solid rgba(29,74,64,.35); padding-bottom: 3px; }
.smp-range { font: 700 15px/1.1 var(--disp); }
.smp-words { flex: 1; min-height: 0; overflow: hidden; font-size: 11.5px; line-height: 1.3; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
.smp-date { font-size: 10.5px; line-height: 1.2; color: var(--muted); }
.smp-live { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; min-height: 44px; padding: 10px 12px; border-left: 3px solid var(--red); background: var(--card); font-size: 15px; line-height: 1.35; }
.smp-live svg { width: 20px; height: 20px; flex: none; color: var(--rail); }
@media (min-width: 600px) { .samples { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; } .smp-back { padding: 12px; gap: 6px; } .smp-co { font-size: 11px; } .smp-range { font-size: 19px; } .smp-words { font-size: 13px; } .smp-date { font-size: 12px; } }
@media (min-width: 1100px) { .samples { grid-template-columns: repeat(6, minmax(0,1fr)); } }
@media (max-width: 599.98px) { .smp-back { padding: 7px; gap: 3px; } .smp-words { font-size: 10.5px; line-height: 1.25; } .smp-date { display: none; } }

/* ---------- from shop to floor ---------- */
.how { background: var(--rail-pale); }
.steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; counter-reset: s; }
.steps li { position: relative; min-width: 0; display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 2px 12px; padding: 14px 14px 12px; background: var(--card); border-radius: 4px; border-top: 3px solid var(--rail); }
.steps svg { grid-row: span 3; width: 44px; height: 44px; color: var(--rail); }
.steps .h3 { align-self: center; }
.steps p { margin: 2px 0 0; font-size: 15.5px; color: var(--muted); }
.steps blockquote { margin: 6px 0 0; font-size: 15px; font-style: italic; }
.steps cite { display: block; font-style: normal; font-size: 13px; color: var(--muted); margin-top: 2px; }
.landlord { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; padding: 10px 14px; background: var(--card); border-radius: 4px; border-left: 4px solid var(--yellow); }
.landlord svg { width: 36px; height: 36px; color: var(--rail); flex: none; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; } .steps li { grid-template-columns: 1fr; padding: 18px; } .steps svg { grid-row: auto; } }

/* ---------- quote form ---------- */
.quote { background: var(--paper); }
.measure { position: relative; background: var(--rail); color: #fff; border-radius: 6px; overflow: hidden; }
.measure-rail { height: 12px; background: linear-gradient(var(--yellow), var(--yellow)) 0 0 / 100% 2px no-repeat, linear-gradient(var(--yellow), var(--yellow)) 0 100% / 100% 2px no-repeat, repeating-linear-gradient(90deg, var(--yellow) 0 3px, transparent 3px 26px); opacity: .85; }
.measure-in { padding: 20px 16px 22px; }
.measure-h { color: #fff; }
.measure-lede { margin: 8px 0 16px; color: #DCE7E2; }
.mform { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { font-weight: 700; font-size: 17px; color: #fff; padding: 0; }
.field label span, .field legend span { font-weight: 400; color: #C9DAD3; }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 4px; border: 2px solid transparent; background: #fff; color: var(--ink); font: 400 17px/1.4 var(--body); }
.field textarea { min-height: 80px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--yellow); }
.err { display: none; color: #FFD9D9; font-size: 14.5px; }
.field.bad .err { display: block; }
.field.bad input { border-color: #FF8A8A; }
.picks { display: flex; flex-wrap: wrap; gap: 8px; }
.picks legend { margin-bottom: 8px; width: 100%; }
.picks label { position: relative; }
.picks input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.picks label span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 4px; border: 1.5px solid rgba(255,255,255,.55); color: #fff; font-weight: 600; font-size: 17px; cursor: pointer; }
.picks input:checked + span { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.picks input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 17px; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--yellow); flex: none; }
.check small { color: #C9DAD3; font-size: 14.5px; }
.mform .btn { justify-self: start; }
.mform-done { display: flex; gap: 8px; align-items: flex-start; margin: 0; padding: 12px; background: rgba(255,255,255,.1); border-radius: 4px; }
.mform-done[hidden] { display: none; }
.mform-done svg { width: 22px; height: 22px; flex: none; color: var(--yellow); }
.mform-or { margin: 0; color: #DCE7E2; font-size: 15.5px; }
.mform-or a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-weight: 700; }
@media (min-width: 900px) {
  .measure-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 0 56px; padding: 36px 40px 40px; }
  .measure-in > .kick, .measure-in > .measure-h, .measure-in > .measure-lede { grid-column: 1; }
  .mform { grid-column: 2; grid-row: 1 / span 4; grid-template-columns: 1fr 1fr; }
  .mform .picks, .mform .field:has(textarea), .mform .check, .mform .btn, .mform-done, .mform-or { grid-column: 1 / -1; }
}

/* ---------- find us ---------- */
.find { background: var(--card); }
.find-grid { display: grid; gap: 18px; }
.map-frame { position: relative; height: 300px; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); background: #EEEDE6; }
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.m-ground { fill: #EFEEE8; }
.m-bld path { fill: #DEDCD2; stroke: #CFCDC2; stroke-width: .6; }
.m-green path { fill: #DCE6DD; }
.m-svc { stroke: #fff; stroke-width: 3; }
.m-min { stroke: #fff; stroke-width: 6; stroke-linecap: round; }
.m-majc { stroke: #C6C9C3; stroke-width: 14; stroke-linecap: round; }
.m-maj { stroke: #fff; stroke-width: 10.5; stroke-linecap: round; }
.m-route { fill: none; stroke: var(--rail); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.is-drawn .m-route { stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s cubic-bezier(.45,0,.2,1); }
.m-lab { font: 600 13px var(--body); fill: #626866; letter-spacing: .02em; paint-order: stroke; stroke: #fff; stroke-width: 3px; }
.m-lab--main { font: 700 15px var(--disp); fill: var(--rail); }
.m-lab--s { font-size: 11px; }
.m-pin-halo { fill: rgba(211,36,43,.16); }
.m-pin-plate { fill: var(--yellow); stroke: var(--ink); stroke-width: 1.4; }
.m-pin-roll { fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; }
.m-tag rect { fill: var(--rail); }
.m-tag text { font: 700 14px var(--body); fill: #fff; }
.map-front { position: absolute; left: 10px; bottom: 10px; width: 34%; max-width: 230px; min-width: 112px; padding: 0; border: 3px solid #fff; border-radius: 3px; background: #fff; box-shadow: 0 8px 20px -8px rgba(0,0,0,.5); cursor: zoom-in; text-align: left; }
.map-front img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.map-front-lab { display: block; padding: 3px 4px 2px; font-size: 11.5px; line-height: 1.2; font-weight: 600; color: var(--ink); }
html.js .map-front { opacity: 0; transition: opacity .6s 1.8s; }
html.js .is-drawn .map-front { opacity: 1; }
.map-credit { position: absolute; right: 0; bottom: 0; margin: 0; padding: 2px 6px; font-size: 11px; line-height: 1.3; color: var(--ink); background: rgba(255,255,255,.78); border-top-left-radius: 3px; }
.map-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.map-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 12px; }
.find-addr { font-size: 19px; line-height: 1.35; margin-bottom: 6px; }
.find-line { color: var(--muted); }
.hours-h { display: flex; align-items: center; gap: 8px; margin: 12px 0 6px; }
.hours-h svg { width: 22px; height: 22px; color: var(--rail); }
.hours { list-style: none; margin: 0 0 14px; padding: 0; max-width: 360px; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 8px; border-bottom: 1px solid var(--line); font-size: 16px; }
.hours li.is-today { background: var(--rail-pale); font-weight: 700; border-left: 3px solid var(--rail); }
.find-call { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.find-call a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--rail); }
.find-call svg { width: 20px; height: 20px; }
.find-note { font-size: 15px; color: var(--muted); }
@media (min-width: 900px) {
  .find-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: start; }
  .map-frame { height: 480px; }
  .map-front { width: 220px; }
}

/* ---------- inner pages ---------- */
.page-head { padding: 28px 0 26px; background: var(--paper); border-bottom: 1px solid var(--line); }
.h1--page { font-size: clamp(30px, 6.4vw, 60px); max-width: 20ch; margin-bottom: 12px; }
.page-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 6px; }
@media (min-width: 1024px) { .page-head { padding: 56px 0 50px; } }
.svc { background: var(--card); }
.svc-list { display: grid; gap: 8px; }
.sv { border: 1px solid var(--line); border-radius: 4px; background: var(--paper); }
.sv summary { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 12px; cursor: pointer; list-style: none; }
.sv summary::-webkit-details-marker { display: none; }
.sv-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sv-h { font-size: 21px; }
.sv-d { font-size: 14.5px; color: var(--muted); }
.sv-plus { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--rail); }
.sv-plus::before, .sv-plus::after { content: ""; position: absolute; left: 7px; right: 7px; top: 12.5px; height: 2px; background: var(--rail); }
.sv-plus::after { transform: rotate(90deg); transition: transform .25s; }
.sv[open] .sv-plus::after { transform: rotate(0); }
.sv-body { display: grid; gap: 14px; padding: 0 12px 14px; }
.sv-body img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.sv-body p { margin: 0 0 8px; }
.sv-body blockquote { margin: 8px 0 0; padding-left: 12px; border-left: 3px solid var(--red); font-style: italic; }
.sv-body cite { display: block; font-style: normal; font-size: 14px; color: var(--muted); }
@media (min-width: 768px) { .sv-body { grid-template-columns: 300px minmax(0,1fr); gap: 22px; padding: 4px 18px 18px; } .sv-body--text { grid-template-columns: minmax(0,1fr); } .sv summary { padding: 12px 18px; } }
.svc-free { background: var(--rail-pale); }
.free { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.free li { min-width: 0; padding: 14px; background: var(--card); border-radius: 4px; border-top: 3px solid var(--rail); }
.free svg { width: 40px; height: 40px; color: var(--rail); }
.free p { margin: 4px 0 0; font-size: 15px; color: var(--muted); }
@media (min-width: 900px) { .free { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; } }
.pull { margin: 22px 0 0; max-width: 60ch; padding: 4px 0 4px 16px; border-left: 4px solid var(--red); font: 600 clamp(19px, 2.2vw, 24px)/1.35 var(--disp); }
.pull cite { display: block; margin-top: 6px; font: 400 15px var(--body); color: var(--muted); }
.port { background: var(--card); padding-top: 28px; }
.pt-grid figure { margin: 0; cursor: zoom-in; }
.pt-grid figcaption { font-size: 13.5px; line-height: 1.3; margin-top: 5px; color: var(--muted); }
.jordan { background: var(--rail-pale); }
.about { background: var(--card); }
.about-grid { display: grid; gap: 22px; }
.about-shop { margin: 0; }
.about-shop img { border-radius: 4px; width: 100%; }
.about-shop figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 56px; align-items: center; } }
.notice { background: var(--paper); }
.notes { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.notes li { min-width: 0; padding: 16px; background: var(--card); border-radius: 4px; border-top: 3px solid var(--rail); }
.notes blockquote { margin: 8px 0 4px; font-style: italic; }
.notes cite { font-style: normal; font-size: 14px; color: var(--muted); }
@media (min-width: 768px) { .notes { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; } }

/* ---------- footer, dock, dialog ---------- */
.foot { background: var(--rail-d); color: #DCE7E2; padding: 18px 0 92px; font-size: 14.5px; line-height: 1.45; }
.foot p { margin: 0 0 6px; }
.foot a { color: #fff; }
.foot-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.foot-brand .logo { height: 46px; width: auto; }
.foot-soc { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 6px; border: 1px solid rgba(255,255,255,.35); }
.foot-soc svg { width: 22px; height: 22px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 0 16px; }
.foot-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.foot p > a[href^="tel"] { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 900px) { .foot { padding-bottom: 28px; } }
.dock { position: fixed; z-index: 40; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); display: flex; gap: 8px; padding: 6px; background: rgba(20,55,48,.96); border-radius: 8px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5);
  transform: translateY(140%); transition: transform .3s; }
.dock.is-on { transform: none; }
.dock a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 6px; font-weight: 700; text-decoration: none; }
.dock svg { width: 20px; height: 20px; flex: none; }
.dock-call { background: var(--yellow); color: var(--ink); }
.dock-quote { color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.dock-quote svg .a { stroke: var(--yellow); }
@media (min-width: 900px) { .dock { left: auto; right: 20px; bottom: 20px; width: 380px; } }
.photo-dlg { width: min(96vw, 1100px); max-height: 92vh; padding: 0; border: 0; border-radius: 6px; background: #111; color: #fff; }
.photo-dlg::backdrop { background: rgba(0,0,0,.75); }
.photo-dlg img { width: 100%; max-height: 80vh; object-fit: contain; }
.photo-dlg p { margin: 0; padding: 10px 14px; font-size: 15px; }
.dlg-x { position: absolute; right: 8px; top: 8px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; }
.dlg-x svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .rail-line { transform: none; }
  html.js .ranges li { opacity: 1; transform: none; }
  html.js .map-front { opacity: 1; }
  .m-route { stroke-dashoffset: 0; }
}

/* ---------- client site additions (not in the demo) ---------- */
/* footer copyright line (where the demo's preview credit sat) */
.foot-credit { font-size: 12.5px; opacity: .8; }
.foot-text p { margin: 0 0 6px; }
/* the free-measure form on the starter's form contract (assets/js/site.js marks bad fields with aria-invalid) */
.field:has([aria-invalid="true"]) .err { display: block; }
.field input[aria-invalid="true"] { border-color: #FF8A8A; outline: none; }
.mform-privacy { margin: 0; color: #DCE7E2; font-size: 14.5px; }
.mform-privacy a { color: #fff; }
.mform-status { margin: 0; font-weight: 700; color: #fff; }
.mform-status:empty { display: none; }
.mform-unconnected { margin: 0; }
.mform-send { display: grid; justify-items: start; gap: 6px; }
.mform-note { margin: 0; color: #DCE7E2; font-size: 14.5px; }
.mform-alt { min-height: 44px; padding: 0; border: 0; background: none; color: #fff; font: inherit; font-size: 15.5px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
@media (min-width: 900px) {
  .mform-privacy, .mform-status, .mform-unconnected, .mform-send, .mform > .u-visually-hidden { grid-column: 1 / -1; }
}
/* the starter's own pages (privacy, thank you, not found) in this design */
.c-page-header { padding: 48px 0 8px; }
.c-page-header h1 { font-family: var(--disp); font-weight: 700; font-size: clamp(29px, 6vw, 52px); line-height: 1.08; }
.l-prose { padding-bottom: 56px; }
.l-prose h1, .l-prose h2, .l-prose h3 { font-family: var(--disp); line-height: 1.15; margin: 1.2em 0 .4em; }
.l-prose h1 { font-size: clamp(29px, 6vw, 52px); margin-top: 48px; }
.l-stack { padding-bottom: 32px; }
.c-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 22px; border-radius: 6px; background: var(--rail); color: #fff; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; }

/* Phones: the Call and free-measure buttons sit under the hero photo, the headline above it (Yusuf, 4 Nov 2026).
   Laptops keep the buttons beside the photo with the headline. */
@media (max-width: 899.98px) {
  .hero[data-hero-style="side-bleed"] .hero-copy { display: contents; }
  .hero[data-hero-style="side-bleed"] .hero-copy > * { order: -1; margin-left: var(--hero-gut); margin-right: var(--hero-gut); }
  .hero[data-hero-style="side-bleed"] .hero-copy > .h1 { margin-top: calc(var(--hero-top) + 52px); }
  .hero[data-hero-style="side-bleed"] .hero-copy > .hero-tag { margin-bottom: 16px; }
  .hero[data-hero-style="side-bleed"] .hero-copy > .hero-acts { order: 1; margin-top: 16px; margin-bottom: 4px; }
}
