/* Accrington Carpet & Bed Centre · the approved demo's stylesheet, ported as is (tokens in tokens.css).
   Dropped from the demo: the preview note. Added at the end: the live form's states, the plain pages (thank-you,
   404, privacy) and the floating bar's "away" state. reset.css is not loaded: this file carries the demo's own base. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 12px; }
body { margin: 0; background: var(--stone); color: var(--ink); font: 400 17px/1.55 var(--f-b); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
@media (min-width: 700px) { :root { --gut: 28px; } }
@media (min-width: 1000px) { :root { --gut: 40px; } }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 50; border-radius: var(--r); }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.nb { white-space: nowrap; }

/* type */
.h1, .h2, .h3 { font-family: var(--f-d); font-weight: 400; letter-spacing: .01em; margin: 0; line-height: 1.06; text-wrap: balance; }
.h2 { font-size: clamp(30px, 6.6vw, 46px); }
.h3 { font-size: 22px; }
p { margin: 0 0 .8em; }

/* buttons: their fascia charcoal, white words */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px;
  background: var(--ink); color: #fff; border: 0; border-radius: var(--r); font: 600 17px/1 var(--f-b); text-decoration: none;
  cursor: pointer; transition: background-color .2s; position: relative; }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn::after { content: ""; position: absolute; left: 10px; top: 10px; width: 6px; height: 6px; background: var(--lime); border-radius: 1px; }
.btn:hover { background: var(--soot); }
.btn--sm { min-height: 46px; padding: 0 18px; font-size: 16px; }
.btn--full { width: 100%; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--ghost:hover { background: rgba(44, 46, 48, .06); }
.link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; text-decoration: underline;
  text-decoration-thickness: 1.5px; text-underline-offset: 5px; text-decoration-color: var(--sand-d); }
.link svg { width: 18px; height: 18px; transition: transform .2s; }
.link:hover svg { transform: translateX(3px); }

/* string course: the stone band between their two storeys, used as the join between sections */
.course { height: 12px; background: var(--course); border-top: 1px solid var(--sand); border-bottom: 1px solid var(--sand); }


/* header (in flow, on stone) */
.head { background: var(--stone); border-bottom: 1px solid var(--sand); position: relative; z-index: 20; }
.head-in { display: flex; align-items: center; gap: 8px; max-width: var(--max); margin: 0 auto; padding: 8px var(--gut); min-height: 68px; }
.brand { display: block; flex: none; color: var(--ink); text-decoration: none; }
.logo { display: block; height: 52px; width: auto; }
.lt { fill: var(--logo-tile, #2C2E30); } .li { fill: #86D94A; }
.logo--line { display: none; }
@media (min-width: 760px) { .logo--stack { display: none; } .logo--line { display: block; height: 44px; } }
@media (min-width: 1200px) { .logo--line { height: 50px; } }
.head-links { display: none; }
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.ic-btn, .menu-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r); background: transparent;
  border: 1.5px solid var(--line); color: var(--ink); cursor: pointer; }
.ic-btn svg, .menu-btn svg { width: 22px; height: 22px; }
.menu-btn svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menu-word { display: none; }
@media (min-width: 400px) { .menu-btn { width: auto; padding: 0 12px; display: inline-flex; gap: 6px; align-items: center; } .menu-word { display: inline; font-weight: 600; } }
.call-btn { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border-radius: var(--r); background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; }
.call-btn svg { width: 15px; height: 15px; }
.menu { position: absolute; right: var(--gut); top: calc(100% + 6px); background: var(--paper); border: 1px solid var(--sand); border-radius: var(--r);
  box-shadow: 0 14px 30px rgba(28, 29, 30, .16); padding: 8px; min-width: 230px; text-align: right; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu li a { display: block; padding: 11px 12px; font: 400 22px/1.1 var(--f-d); text-decoration: none; border-radius: 3px; }
.menu li a[aria-current] { background: var(--stone); box-shadow: inset -4px 0 0 var(--lime); }
.menu li a:hover { background: var(--stone); }
.menu-meta { font-size: 14px; color: var(--muted); margin: 6px 12px 6px; }
@media (min-width: 1100px) {
  .head-links { display: flex; gap: 22px; margin-left: auto; }
  .head-links a { font-weight: 600; text-decoration: none; padding: 10px 0; position: relative; }
  .head-links a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 3px; background: var(--lime); }
  .head-actions { margin-left: 22px; }
  .menu-btn { display: none; }
}

/* ===== hero: two floors ===== */
.hero { padding: 14px 0 22px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "words" "window" "storeys" "acts"; gap: 10px; }
.hero-words { grid-area: words; }
.hero-window { grid-area: window; min-width: 0; }
.storeys { grid-area: storeys; min-width: 0; }
.hero-acts { grid-area: acts; margin: 2px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.hero-h1 { font-size: clamp(29px, 8.1vw, 64px); line-height: 1.02; }
.hero-h1 .ln { display: block; }
.hl { position: relative; white-space: nowrap; z-index: 0; }
.hl::after { content: ""; position: absolute; left: -.05em; right: -.08em; bottom: .02em; height: .3em; background: var(--lime); z-index: -1; transform-origin: left; }
.hero-tag { margin: 6px 0 0; color: var(--muted); font-size: 17px; }
.hero-frame { position: relative; overflow: hidden; border-radius: var(--r); background: var(--ink); aspect-ratio: 16 / 10;
  box-shadow: 0 0 0 1px var(--sand); }
.hero-strip { position: absolute; left: 0; right: 0; top: 0; height: 300%; display: flex; flex-direction: column-reverse; transform: translate3d(0, calc(var(--i) * -33.3333%), 0);
  transition: transform .62s var(--ease); }
.hero-strip figure { margin: 0; height: 33.3334%; flex: none; }
.hero-strip img { width: 100%; height: 100%; object-fit: cover; }
.hero-strip [data-stop="out"] img { object-position: 50% 62%; }
.hero-strip [data-stop="down"] img { object-position: 50% 45%; }
.hero-cap { display: none; margin: 0; padding: 7px 10px; font-size: 14px; line-height: 1.3; background: var(--ink); color: #EDEAE3; border-radius: 0 0 var(--r) var(--r); margin-top: -2px; position: relative; }
.storeys { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 10px; align-items: center; }
.elev { width: 74px; height: auto; overflow: visible; }
.e-nbr { fill: #E2D8C5; stroke: var(--sand); stroke-width: 1; }
.e-nbr-win { fill: #F3EEE4; stroke: var(--sand); stroke-width: 1; }
.e-wall { fill: none; stroke: var(--ink); stroke-width: 2; }
.e-floor { fill: #DDD2BE; transition: fill .4s; }
.e-floor.is-on { fill: var(--lime-soft); }
.e-cornice { fill: var(--course); stroke: var(--ink); stroke-width: 1.4; }
.e-course { fill: var(--course); stroke: var(--sand-d); stroke-width: .8; }
.e-win rect { fill: #F6F2EA; stroke: var(--ink); stroke-width: 1.6; }
.e-win path { stroke: var(--ink); stroke-width: 1; }
.e-bedsign path { stroke: var(--lime); stroke-width: 3; stroke-linecap: round; }
.e-fascia { fill: var(--ink); }
.e-sq { fill: none; stroke: var(--lime); stroke-width: 1.6; }
.e-fascia-t { fill: var(--lime); font: 400 10.5px var(--f-d); letter-spacing: .04em; }
.e-shop rect { fill: #3A3D40; stroke: var(--ink); stroke-width: 1.6; }
.e-shop .e-door { fill: #1E1F21; }
.e-sale text { fill: var(--lime); font: 400 19px var(--f-d); text-anchor: middle; }
.e-stair { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linejoin: round; }
.e-in { opacity: 0; transition: opacity .45s ease; }
.e-face { transition: opacity .45s ease; }
.elev[data-at="down"] .e-face-down, .elev[data-at="up"] .e-face-up { opacity: 0; }
.elev[data-at="down"] .e-in-down, .elev[data-at="up"] .e-in-up { opacity: 1; }
.e-stand rect { fill: #F3EEE4; stroke: var(--ink); stroke-width: 1.4; } .e-stand path { stroke: var(--sand-d); stroke-width: 2.2; }
.e-rail { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.e-bed { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.e-pil { fill: #fff; stroke: var(--ink); stroke-width: 1.2; }
.e-ground { stroke: var(--ink); stroke-width: 2; }
.e-kerb { stroke: var(--sand-d); stroke-width: 1.2; stroke-dasharray: 6 4; }
.e-mark { fill: var(--lime); stroke: var(--ink); stroke-width: 2.4; transition: transform .62s var(--ease); }
.stops { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.stops button { min-height: 58px; padding: 6px 7px; text-align: left; background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r);
  cursor: pointer; display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0; transition: border-color .2s, background-color .2s; }
.stops b { font: 400 17px/1.05 var(--f-d); }
.stops span { font-size: 13px; line-height: 1.2; color: var(--muted); }
.stops [aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: inset 0 -4px 0 var(--lime); }
.stops [aria-checked="true"] span { color: #D8D4CB; }
@media (min-width: 700px) {
  .hero { padding: 26px 0 34px; }
  .hero-cap { display: block; }
  .hero-frame { border-radius: var(--r) var(--r) 0 0; }
  .hero-frame { aspect-ratio: 16 / 9; }
  .storeys { grid-template-columns: 110px minmax(0, 1fr); }
  .elev { width: 110px; }
  .stops button { min-height: 64px; padding: 8px 12px; }
  .stops b { font-size: 20px; }
  .stops span { font-size: 14px; }
}
/* laptop: the building and its directory | the photo window | the words (not words-left with a bleeding photo) */
@media (min-width: 1000px) {
  .hero { padding: 34px 0 44px; }
  .hero-grid { grid-template-columns: 230px minmax(0, 1.25fr) minmax(0, 1fr); grid-template-areas: "storeys window words" "storeys window acts";
    grid-template-rows: 1fr auto; column-gap: clamp(26px, 3vw, 44px); row-gap: 18px; align-items: start; }
  .hero-words { align-self: end; }
  .hero-acts { align-self: start; }
  .hero-frame { aspect-ratio: auto; height: min(560px, calc(100vh - 230px)); min-height: 430px; }
  .storeys { grid-template-columns: 1fr; gap: 18px; align-self: stretch; align-content: end; }
  .elev { width: 100%; }
  .stops { grid-template-columns: 1fr; gap: 8px; }
  .stops button { min-height: 62px; }
  .hero-h1 { font-size: clamp(44px, 4.3vw, 64px); }
  .hero-tag { font-size: 19px; margin-top: 14px; }
}

/* intro (visitors only; html.js is never set for automation): "Lights up the stairs" */
@media (prefers-reduced-motion: no-preference) {
  .js .hero .hero-h1 .ln { opacity: 0; transform: translate(-14px, 22px); animation: tread .7s var(--ease) forwards; }
  .js .hero .hero-h1 .ln:nth-child(2) { animation-delay: .22s; } .js .hero .hero-h1 .ln:nth-child(3) { animation-delay: .44s; }
  .js .hero .hero-h1 .hl::after { transform: scaleX(0); animation: barin .5s var(--ease) 1s forwards; }
  .js .hero .hero-tag { opacity: 0; animation: fadein .6s ease 1.1s forwards; }
  .js .hero .hero-h1 { position: relative; }
  .js .hero .hero-h1::before { content: ""; position: absolute; left: -2px; bottom: -8px; width: 14px; height: 14px; background: var(--lime); border: 2px solid var(--ink); border-radius: 3px;
    opacity: 0; animation: climb 2.2s var(--ease) .1s forwards; pointer-events: none; }
}
@keyframes tread { to { opacity: 1; transform: none; } }
@keyframes barin { to { transform: scaleX(1); } }
@keyframes fadein { to { opacity: 1; } }
@keyframes climb { 0% { opacity: 0; transform: translate(0, 0); } 10% { opacity: 1; } 30% { transform: translate(40px, -1.05em); } 55% { transform: translate(90px, -2.1em); }
  80% { opacity: 1; transform: translate(150px, -3.15em); } 100% { opacity: 0; transform: translate(190px, -3.6em); } }

/* ===== reviews band ===== */
.reviews { background: var(--paper); padding: 14px 0 10px; border-top: 1px solid var(--sand); }
.rv-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 14px; margin-bottom: 8px; }
.rv-h { font-size: clamp(24px, 6.2vw, 36px); }
.rv-score { margin: 0; color: var(--muted); font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.rv-score b { font: 400 22px var(--f-d); color: var(--ink); }
.rv-stars-s svg, .rv-stars svg { width: 15px; height: 15px; color: var(--ink); }
.rv-stars { display: inline-flex; gap: 0; margin-right: 2px; } .rv-stars svg { width: 12px; height: 12px; }
.rv-rail, .rail { position: relative; }
.rv-track, .work-track { list-style: none; margin: 0; padding: 2px 2px 4px; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain; scrollbar-width: none; }
.rv-track::-webkit-scrollbar, .work-track::-webkit-scrollbar { display: none; }
.rv-card { flex: 0 0 84%; scroll-snap-align: start; background: var(--stone); border-radius: var(--r); border-left: 4px solid var(--ink); }
.rv-card figure { margin: 0; padding: 10px 12px; height: 100%; display: flex; flex-direction: column; }
.rv-card blockquote { margin: 0; flex: 1; }
.rv-card blockquote p { margin: 0 0 4px; font-size: 16px; line-height: 1.38; }
.rv-card figcaption { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; }
.rv-card figcaption b { color: var(--ink); }
.rv-more { background: none; border: 0; padding: 0 2px; min-height: 32px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; margin-left: auto; }
@media (min-width: 700px) { .rv-card { flex-basis: 44%; } }
@media (min-width: 1000px) { .reviews { padding: 30px 0 24px; } .rv-card { flex-basis: calc((100% - 30px) / 3.3); } }
.rail-ctl { display: flex; justify-content: flex-end; align-items: center; gap: 6px; margin-top: 6px; }
.rail-n { font-size: 14px; color: var(--muted); margin-right: 6px; font-variant-numeric: tabular-nums; }
.rail-b { width: 44px; height: 44px; display: grid; place-items: center; background: var(--ink); color: #fff; border: 0; border-radius: var(--r); cursor: pointer; }
.rail-b svg { width: 20px; height: 20px; }
.rail-b:disabled { opacity: .35; cursor: default; }

/* ===== floors: the building's two tiers ===== */
.floors { padding: 26px 0 30px; }
.floors .h2 { margin-bottom: 16px; }
.tier { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 14px 0; border-top: 2px solid var(--ink); }
.tier--down { border-top: 0; position: relative; padding-top: 26px; }
.tier--down::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--course); border-top: 1px solid var(--sand); border-bottom: 1px solid var(--sand); }
.tier-lbl { display: flex; align-items: center; gap: 12px; }
.tier-lbl p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.2; }
.tier-lbl b { display: block; font: 400 26px/1.1 var(--f-d); color: var(--ink); }
.tier-n { width: 40px; height: 40px; flex: none; display: grid; place-items: center; background: var(--ink); color: #fff; font: 400 22px var(--f-d); border-radius: var(--r); box-shadow: inset 0 -4px 0 var(--lime); }
.ranges { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.ranges a { display: flex; gap: 12px; align-items: center; padding: 8px 0; text-decoration: none; border-bottom: 1px solid var(--line); min-height: 60px; }
.ranges a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.ranges b { display: block; font: 400 21px/1.1 var(--f-d); }
.ranges span:not(.rsq) { font-size: 15px; color: var(--muted); line-height: 1.35; }
.rsq { width: 46px; height: 46px; flex: none; background: var(--lime); border-radius: var(--r); display: grid; place-items: center; color: var(--ink); }
.rsq svg { width: 32px; height: 32px; }
.tier-img { display: none; }
.more { margin: 12px 0 0; }
@media (min-width: 700px) {
  .tier { grid-template-columns: 170px minmax(0, 1fr) 220px; gap: 22px; align-items: center; }
  .tier-lbl { align-self: start; }
  .tier-img { display: block; width: 100%; height: 170px; object-fit: cover; border-radius: var(--r); }
  .tier--down .tier-img { height: 230px; }
  .tier--down .ranges { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; }
}
@media (min-width: 1000px) { .floors { padding: 40px 0 46px; } .tier { grid-template-columns: 230px minmax(0, 1fr) 300px; } .tier--down .tier-img { height: 260px; } }

/* ===== asked at the counter: their in-shop board (charcoal, lime letters, a lime rule inside the edge) ===== */
.counter { background: var(--soot); color: #F1EEE7; padding: 22px 0; }
.board { background: var(--ink); border-radius: 6px; padding: 16px 14px; position: relative; box-shadow: inset 0 0 0 2px var(--soot), inset 0 0 0 4px var(--lime); }
.board-head .h2 { color: var(--lime); font-size: clamp(28px, 6.4vw, 44px); }
.board-head p { margin: 6px 0 12px; color: #CFCBC2; font-size: 15px; }
.board-qs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -14px 12px; padding: 2px 14px; scroll-padding: 0 14px; overscroll-behavior-x: contain; }
.board-qs::-webkit-scrollbar { display: none; }
.board-qs button { flex: none; max-width: 230px; min-height: 48px; padding: 7px 12px; text-align: left; background: transparent; color: var(--lime);
  border: 1.5px solid rgba(134, 217, 74, .55); border-radius: var(--r); font: 400 17px/1.15 var(--f-d); cursor: pointer; white-space: normal; }
.board-qs button[aria-selected="true"] { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.ans { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.ans[hidden] { display: none; }
.ans img { width: 100%; height: 170px; object-fit: cover; border-radius: var(--r); }
.ans-us { font: 400 20px/1.2 var(--f-d); color: #fff; margin: 0 0 6px; }
.ans blockquote { margin: 0; }
.ans blockquote p { margin: 0 0 4px; font-size: 16px; line-height: 1.45; color: #E8E4DB; }
.ans blockquote footer { font-size: 14px; color: #B9B4AA; }
.ans-acts { margin: 10px 0 0; display: flex; align-items: center; gap: 4px 16px; flex-wrap: wrap; }
.ans-acts .btn { background: var(--lime); color: var(--ink); }
.ans-acts .btn::after { display: none; }
.ans-acts .btn:hover { background: #9BE364; }
.ans-acts .link { text-decoration-color: rgba(255,255,255,.4); color: #fff; }
@media (prefers-reduced-motion: no-preference) { .js .ans:not([hidden]) { animation: ansin .38s var(--ease); } }
@keyframes ansin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (min-width: 700px) {
  .counter { padding: 34px 0; }
  .board { padding: 26px 26px; }
  .ans { grid-template-columns: 0.9fr 1.1fr; gap: 20px; align-items: center; }
  .ans img { height: 280px; }
  .board-qs { margin: 0 0 18px; padding: 2px; flex-wrap: wrap; overflow: visible; }
}
@media (min-width: 1000px) {
  .counter { padding: 46px 0; }
  .board { padding: 34px 36px; }
  .board-body { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 36px; }
  .board-qs { flex-direction: column; flex-wrap: nowrap; margin: 0; }
  .board-qs button { max-width: none; width: 100%; font-size: 19px; min-height: 52px; }
  .ans img { height: 320px; }
  .ans-us { font-size: 25px; }
}

/* ===== work strip ===== */
.work { padding: 26px 0 22px; background: var(--stone); }
.work-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; margin-bottom: 12px; }
.work-track li { flex: 0 0 62%; scroll-snap-align: start; }
.work-track figure { margin: 0; }
.work-track img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.work-track figcaption { font-size: 14px; color: var(--muted); padding-top: 6px; }
@media (min-width: 700px) { .work-track li { flex-basis: 31%; } }
@media (min-width: 1000px) { .work { padding: 40px 0 30px; } .work-track li { flex-basis: calc((100% - 40px) / 4.4); } }

/* ===== quote / measure-up ===== */
.quote { background: var(--paper); padding: 26px 0 30px; }
.quote-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.quote-intro p { color: var(--muted); }
.quote-intro .h2 { margin-bottom: 10px; }
.quote-call { margin: 0; }
.qform { background: var(--stone); border: 1px solid var(--sand); border-radius: 6px; padding: 0 16px 18px; position: relative; overflow: hidden; }
.qform-head { display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; margin: 0 -16px 14px; padding: 12px 16px; }
.qform-head p { margin: 0; font: 400 20px var(--f-d); letter-spacing: .02em; }
.sq { width: 14px; height: 14px; flex: none; background: var(--lime); border-radius: 3px; display: inline-block; }
.chips { border: 0; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips legend { font-weight: 600; font-size: 17px; margin-bottom: 8px; padding: 0; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 13px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--paper); font-size: 17px; }
.chips input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: inset 0 -3px 0 var(--lime); }
.chips input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-weight: 600; font-size: 17px; margin-bottom: 5px; }
.field input, .field textarea { width: 100%; font: 400 17px/1.4 var(--f-b); color: var(--ink); background: #FFFDF8; border: 1.5px solid var(--sand); border-radius: var(--r); padding: 11px 12px; min-height: 48px; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.field.bad input { border-color: #A3261B; }
.qform-note { font-size: 14px; color: var(--muted); margin: 8px 0 0; }
.qform-done { display: flex; gap: 10px; align-items: flex-start; background: var(--paper); border: 1.5px solid var(--ink); border-radius: var(--r); padding: 12px; margin-top: 12px; }
.qform-done[hidden] { display: none; }
.qform-done p { margin: 0; } .small { font-size: 14px; color: var(--muted); }
@media (min-width: 900px) { .quote { padding: 44px 0; } .quote-in { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 50px; align-items: start; } .qform { padding: 0 24px 24px; } .qform-head { margin: 0 -24px 18px; padding: 14px 24px; } }

/* ===== find us ===== */
.find { padding: 26px 0 30px; }
.find .h2 { margin-bottom: 14px; }
.find-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.map { position: relative; height: 300px; border-radius: 6px; overflow: hidden; border: 1.5px solid var(--ink); background: #E4DCCB; }
.m-svg { width: 100%; height: 100%; display: block; }
.m-ground { fill: #E6DECD; }
.m-green path { fill: #D5DCC0; }
.m-water path { fill: #C9D5D8; }
.m-bld path { fill: #D9CDB6; stroke: #C6B79B; stroke-width: .8; }
.m-case path { stroke: var(--sand-d); fill: none; stroke-linecap: round; stroke-linejoin: round; }
.m-case .m-major { stroke-width: 11; } .m-case .m-mid { stroke-width: 13; }
.m-roads path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.m-minor { stroke: #F7F3EB; stroke-width: 5; }
.m-service { stroke: #EFE9DD; stroke-width: 2.6; }
.m-mid { stroke: #FFFDF8; stroke-width: 10; }
.m-major { stroke: #FFFDF8; stroke-width: 8; }
.m-route { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.m-lbl { font: 600 10.5px var(--f-b); letter-spacing: .08em; fill: #6B6253; }
.m-town text { font: 600 11px var(--f-b); fill: var(--ink); letter-spacing: .04em; }
.m-town path { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.m-pin-halo { fill: rgba(134, 217, 74, .35); }
.m-pin-sq { fill: var(--lime); stroke: var(--ink); stroke-width: 3; }
.m-tag rect { fill: var(--ink); }
.m-tag text { fill: #fff; font: 400 14px var(--f-d); }
.m-tag .m-tag-2 { font: 500 11px var(--f-b); fill: #D6D2C9; }
@media (prefers-reduced-motion: no-preference) {
  .js .map:not(.is-drawn) .m-route { stroke-dashoffset: 1; }
  .js .map .m-route { transition: stroke-dashoffset 1.6s var(--ease) .2s; }
  .js .map:not(.is-drawn) .m-pin, .js .map:not(.is-drawn) .m-tag { opacity: 0; }
  .js .map .m-pin, .js .map .m-tag { transition: opacity .5s ease 1.5s; }
  .js .map:not(.is-drawn) .map-front { opacity: 0; transform: translateY(8px); }
  .js .map .map-front { transition: opacity .5s ease 1.7s, transform .5s ease 1.7s; }
}
.map-front { position: absolute; left: 10px; bottom: 10px; width: 128px; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; }
.map-front img { width: 100%; height: 150px; object-fit: cover; object-position: 50% 60%; border: 3px solid #fff; border-radius: 3px; box-shadow: 0 6px 16px rgba(28, 29, 30, .3); }
.map-front-lbl { display: block; font-size: 11.5px; font-weight: 600; line-height: 1.2; background: var(--ink); color: #fff; padding: 4px 6px; border-radius: 3px 3px 0 0; }
.map-go { margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.find-addr { font-size: 19px; line-height: 1.35; }
.find-addr b { font: 400 26px/1.1 var(--f-d); }
.find-note { color: var(--muted); }
.hours { background: var(--ink); color: #EFECE5; border-radius: 6px; padding: 14px 16px 10px; margin: 6px 0 16px; box-shadow: inset 0 0 0 2px var(--ink), inset 0 0 0 3.5px var(--lime); }
.hours .h3 { color: var(--lime); margin-bottom: 8px; }
.hours ul { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 16px; }
.hours li:last-child { border-bottom: 0; }
.hours li.is-today { color: #fff; font-weight: 700; }
.hours li.is-today span:first-child::before { content: ""; display: inline-block; width: 9px; height: 9px; background: var(--lime); border-radius: 2px; margin-right: 8px; }
@media (min-width: 900px) {
  .find { padding: 44px 0; }
  .find-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: start; }
  .map { height: 480px; }
  .map-front { width: 200px; left: 14px; bottom: 14px; }
  .map-front img { height: 240px; }
}

/* ===== footer + dock ===== */
.foot { background: var(--soot); color: #D9D5CC; padding: 18px 0 86px; font-size: 14px; line-height: 1.45; }
.foot-in > * { margin: 0 0 6px; }
.foot .brand { color: #F1EEE7; margin-bottom: 10px; display: inline-block; }
.foot .logo { height: 44px; }
.foot .logo { --logo-tile: #34373A; }
.foot a { color: #fff; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 0 14px; }
.foot-nav a { min-height: 32px; display: inline-flex; align-items: center; }
.foot-credit { color: #A9A49A; font-size: 13px; }
@media (min-width: 900px) { .foot { padding: 26px 0 26px; } }
.dock { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 30; display: flex; gap: 6px; padding: 6px; background: var(--soot); border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .3); transform: translateY(140%); transition: transform .3s var(--ease); }
.dock.is-on { transform: none; }
.dock a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; color: #fff; text-decoration: none; font-weight: 600; font-size: 16px; border-radius: 5px; }
.dock a svg { width: 18px; height: 18px; }
.dock .dock-call { background: var(--lime); color: var(--ink); flex: 1.3; }
.dock .dock-quote svg { fill: none; }
@media (min-width: 900px) { .dock { left: auto; right: 20px; bottom: 20px; width: 380px; } }

/* photo dialog */
.photo-dlg { border: 0; padding: 0; background: var(--soot); color: #fff; max-width: min(94vw, 1100px); border-radius: 6px; }
.photo-dlg::backdrop { background: rgba(20, 20, 20, .78); }
.photo-dlg img { max-height: 80vh; width: auto; max-width: 100%; margin: 0 auto; }
.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: 0; border-radius: var(--r); background: var(--ink); color: #fff; cursor: pointer; }
.dlg-x svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2.2; }

/* ===== inner pages ===== */
.page-top { padding: 24px 0 18px; }
.page-top .h1 { font-size: clamp(32px, 7.4vw, 58px); }
.page-top p { color: var(--muted); max-width: 60ch; margin-top: 10px; }
.svc { padding: 6px 0 30px; }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.svc-list > li { border-bottom: 1px solid var(--sand); }
.svc-list details > summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 12px 0; cursor: pointer; min-height: 66px; }
.svc-list summary::-webkit-details-marker { display: none; }
.svc-list summary .h3 { flex: 1; font-size: 23px; }
.svc-list summary .tog { width: 34px; height: 34px; flex: none; border-radius: var(--r); border: 1.5px solid var(--line); display: grid; place-items: center; transition: transform .25s; }
.svc-list summary .tog::before { content: "+"; font: 400 24px/1 var(--f-b); }
.svc-list details[open] summary .tog { transform: rotate(45deg); }
.svc-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 0 0 18px; }
.svc-body img { width: 100%; height: 220px; object-fit: cover; border-radius: var(--r); }
.svc-body blockquote { margin: 8px 0 0; padding-left: 12px; border-left: 3px solid var(--lime); }
.svc-body blockquote p { margin: 0 0 2px; }
.svc-body blockquote footer { font-size: 14px; color: var(--muted); }
@media (min-width: 800px) { .svc-body { grid-template-columns: 320px minmax(0, 1fr); gap: 26px; } .svc-body img { height: 240px; } }
.port { padding: 4px 0 34px; }
.port .pt { --pt-on-bg: var(--ink); --pt-on-fg: #fff; --pt-focus: var(--ink); --pt-muted: var(--muted); --pt-radius: 4px; --pt-tile-radius: 4px; --pt-min: 150px; }
.port .pt-tab[aria-selected="true"] { box-shadow: inset 0 -3px 0 var(--lime); }
.port figure { margin: 0; }
.port-zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.port figcaption { font-size: 14px; color: var(--muted); padding-top: 5px; }
@media (min-width: 1000px) { .port .pt { --pt-min: 220px; } }
.about { padding: 8px 0 30px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.about-grid img { width: 100%; height: 240px; object-fit: cover; border-radius: var(--r); }
.signs { list-style: none; margin: 10px 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.signs li { background: var(--ink); color: var(--lime); font: 400 17px/1 var(--f-d); padding: 10px 12px; border-radius: var(--r); }
.notice { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.notice li { background: var(--paper); border-left: 4px solid var(--ink); border-radius: var(--r); padding: 12px 14px; }
.notice p { margin: 0 0 4px; }
.notice footer { font-size: 14px; color: var(--muted); }
.steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; }
.steps li::before { content: counter(s); width: 40px; height: 40px; display: grid; place-items: center; background: var(--ink); color: #fff; font: 400 21px var(--f-d); border-radius: var(--r); box-shadow: inset 0 -4px 0 var(--lime); }
.steps b { display: block; font: 400 21px/1.15 var(--f-d); }
.steps p { margin: 2px 0 0; color: var(--muted); font-size: 16px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 46px; } .about-grid img { height: 380px; } .notice { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.svc-lbl { display: flex; align-items: center; gap: 12px; margin: 22px 0 12px; }
.svc-lbl .h2 { font-size: clamp(26px, 6vw, 40px); }
h2.svc-lbl { font-size: clamp(26px, 6vw, 40px); }
.svc-list .rsq { width: 42px; height: 42px; } .svc-list .rsq svg { width: 30px; height: 30px; }
.notice-h { margin-top: 26px; }
.port-h { margin: 16px 0 12px; }
.page-top .hero-acts { margin-top: 14px; }
/* tap targets (probe at 360/390) */
.rv-more { min-height: 44px; padding: 0 4px; }
.foot-nav a, .foot-tel, .foot-credit a { min-height: 44px; display: inline-flex; align-items: center; }
.foot-nav { gap: 0 16px; margin-bottom: 0; }
.foot-in > p { margin-bottom: 2px; }
.menu-meta a { display: inline-block; padding: 10px 0; }
.foot-nav a { min-width: 44px; justify-content: center; }
@media (max-width: 399px) { .stops b { font-size: 15px; } .stops span { font-size: 12.5px; } .stops button { padding: 6px 6px; } }
@media (max-width: 379px) { .hero-frame { aspect-ratio: 16 / 9.2; } }
@media (max-width: 699px) { .ans img { height: 150px; } }
.notice blockquote { margin: 0; }
.svc-list details[open] summary .tog { transform: none; }
.svc-list details[open] summary .tog::before { content: "\2212"; }
/* phone budget: reviews band under 35% of 390x844, footer under 300px */
.rv-h { font-size: clamp(26px, 6.7vw, 36px); }
.reviews { padding: 12px 0 8px; }
.rv-card blockquote p { font-size: 15.5px; line-height: 1.36; }
.rv-card figure { padding: 9px 12px 4px; }
.foot { padding: 14px 0 72px; }
.foot .brand { margin-bottom: 4px; }
.foot .logo { height: 38px; }
.foot-tel { min-height: 0 !important; display: inline !important; padding: 12px 0; margin: -12px 0; }
.foot-credit { margin-top: 2px; }
@media (min-width: 900px) { .foot { padding: 24px 0; } }

/* ===== added for the live site ===== */
/* the measure-up form, wired to the starter's form handling (site.js): errors, status, not-connected note */
.qform .c-field__error { margin: 5px 0 0; color: #A3261B; font-size: 15px; }
.qform [aria-invalid="true"] { outline: 0; border-color: #A3261B; }
.qform .c-form__status:empty { display: none; }
.qform .c-form__status { margin: 8px 0 0; font-weight: 600; }
.qform-note a { color: inherit; }
.c-form__unconnected { margin: 0 0 10px; font-size: 15px; }
/* plain pages: thank-you, 404 and the privacy notice */
.simple { padding: 30px 0 44px; }
.simple .h1 { font-size: clamp(32px, 7.4vw, 58px); margin-bottom: 14px; }
.simple ul { padding-left: 1.2em; }
.simple li a { display: inline-block; padding: 8px 0; }
.legal { padding-top: 26px; padding-bottom: 44px; }
.legal h1 { font: 400 clamp(32px, 7.4vw, 52px)/1.06 var(--f-d); margin: 0 0 16px; }
.legal h2 { font: 400 26px/1.15 var(--f-d); margin: 28px 0 8px; }
.legal ul { padding-left: 1.2em; }
.legal .c-button { min-height: 48px; padding: 0 18px; background: var(--ink); color: #fff; border: 0; border-radius: var(--r); font: 600 16px/1 var(--f-b); cursor: pointer; }
.legal .l-prose { max-width: 70ch; }
/* the reviewer's name links to their review on Google: a 44px tap target without changing the card */
.rv-card figcaption b a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; margin: -12px 0; color: inherit; text-underline-offset: 3px; }
