/* ==========================================================================
   Upright Scaffolding — site styles
   Scaffold blue, board yellow (ink text on it, never as text), tube grey (lines only, never text) and white. Alumni
   Sans 800 headings, Fira Sans Condensed body. The hero is a scaffold frame drawn in SVG over the whole width,
   standards, ledgers and a brace, with yellow boards on the lifts, the headline and hire estimator in one bay and
   the photograph in the other; couplers at the joints; board-striped section edges. One file.
   ========================================================================== */

@font-face { font-family: "Alumni Fallback"; font-weight: 400 900; src: local("Arial Narrow Bold"), local("ArialNarrow-Bold"), local("Arial Bold"); size-adjust: 79.6%; ascent-override: 90%; descent-override: 22%; line-gap-override: 0%; }
@font-face { font-family: "Fira Condensed Fallback"; font-weight: 100 500; src: local("Arial Narrow"), local("ArialNarrow"), local("Arial"); size-adjust: 113.3%; ascent-override: 96%; descent-override: 27%; line-gap-override: 0%; }
@font-face { font-family: "Fira Condensed Fallback"; font-weight: 600 900; src: local("Arial Narrow Bold"), local("ArialNarrow-Bold"), local("Arial Bold"); size-adjust: 104.9%; ascent-override: 96%; descent-override: 27%; line-gap-override: 0%; }

:root {
  --white: #FFFFFF;
  --paper: #FFFFFF;
  --paper-2: #EEF2F7;
  --blue: #1D5FA8;
  --blue-deep: #15467D;
  --blue-tint: #E3ECF7;
  --board: #E9B82C;
  --board-tint: #FBF0D2;
  --tube: #9AA1A8;
  --ink: #12243A;
  --ink-2: #15467D;
  --text: #16202C;
  --text-2: #445160;
  --muted: #536070;
  --line: rgba(18,36,58,.12);
  --line-strong: rgba(18,36,58,.3);
  --red: #A62A1C;
  --a: var(--blue); --a-ink: var(--blue); --a-tint: var(--blue-tint);
  --b: var(--board); --b-ink: #12243A; --b-tint: var(--board-tint);
  --dark: var(--blue-deep);
  --on-dark: rgba(255,255,255,.9);
  --header-bg: rgba(255,255,255,.96);
  --boards: repeating-linear-gradient(90deg, var(--board) 0 118px, var(--ink) 118px 122px);
  --page-hero-bg: var(--paper-2);
  --footer-bg: #0F2238;
  --shadow: 0 1px 2px rgba(18,36,58,.08), 0 20px 40px -24px rgba(18,36,58,.5);

  --font-head: "Alumni Sans", "Alumni Fallback", "Arial Narrow", Arial, sans-serif;
  --font: "Fira Sans Condensed", "Fira Condensed Fallback", "Arial Narrow", Arial, sans-serif;

  --step--1: clamp(.98rem, .95rem + .15vw, 1.05rem);
  --step-0: clamp(1.08rem, 1.04rem + .22vw, 1.18rem);
  --step-1: clamp(1.35rem, 1.22rem + .6vw, 1.7rem);
  --step-2: clamp(1.7rem, 1.45rem + 1.2vw, 2.4rem);
  --step-3: clamp(2.2rem, 1.75rem + 2.2vw, 3.5rem);
  --step-4: clamp(2.7rem, 1.95rem + 3.6vw, 4.9rem);
  --step-5: clamp(3.1rem, 2rem + 5vw, 6rem);

  --wrap: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(3.75rem, 6.5vw + 1.5rem, 7.5rem);
  --radius: 2px;
  --radius-sm: 2px;
  --btn-radius: 2px;
  --pill: 999px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-size: var(--step-0); line-height: 1.7; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 600; line-height: 1.12; letter-spacing: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--a-ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--a-tint); color: var(--ink); }
.visually-hidden { 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: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: var(--pill); font-weight: 700; }
.skip:focus { top: 1rem; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 2 * var(--gutter)); }
.section { padding-block: var(--section); }
.section.tight { padding-block: calc(var(--section) * .6); }
.section.white { background: var(--white); }
.section.dark { background: var(--dark); color: #fff; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark p { color: var(--on-dark); }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: 0; line-height: .98; text-transform: none; }
.h4 { font-family: var(--font); font-weight: 600; line-height: 1.2; }
.faq-item summary { font-family: var(--font); font-weight: 600; font-size: var(--step-0); }
.section.steel { background: var(--paper-2); }
.section.boarded { border-top: 10px solid transparent; border-image: var(--boards) 10; }
.kicker { font-family: var(--font); font-weight: 600; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-deep); margin: 0 0 .9rem; display: inline-flex; align-items: center; gap: .6rem; }
.kicker::before { content: ""; width: 1.6rem; height: .5rem; background: var(--board); box-shadow: inset -3px 0 0 var(--ink); flex: none; }
.section.dark .kicker { color: #fff; }
.display em, .h1 em, .h2 em { font-style: normal; color: var(--blue); }
.section.dark .h2 em { color: var(--board); }
.rule { height: 8px; width: 7rem; margin: 1.75rem 0; background: var(--boards); }
.rule span { display: none; }
.btn { font-weight: 600; letter-spacing: .02em; }
.btn-board { background: var(--board); color: var(--ink); border-color: var(--board); }
.btn-board:hover { background: #F2C84A; border-color: #F2C84A; }

/* ---------- Type ---------- */
.display { font-size: var(--step-5); line-height: 1.04; }
.h1 { font-size: var(--step-4); }
.h2 { font-size: var(--step-3); }
.h3 { font-size: var(--step-2); }
.h4 { font-size: var(--step-1); font-family: var(--font); font-weight: 700; }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--text-2); max-width: 40em; }
.section.dark .lede { color: var(--on-dark); }
.section-head { max-width: 50rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.split { max-width: none; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; }
.section-head p:last-child { margin-bottom: 0; }
@media (max-width: 640px) { .section-head.split { grid-template-columns: 1fr; } }
.opt { font-weight: 400; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.6rem; min-height: 3rem; border-radius: var(--btn-radius); border: 2px solid transparent; font-family: var(--font); font-weight: 700; font-size: var(--step-0); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: none; }
.btn .ico { width: 1.1em; height: 1.1em; }
.btn-ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-ink:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn-a { background: var(--a-ink); color: #fff; border-color: var(--a-ink); }
.btn-a:hover { filter: brightness(.92); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--a-tint); border-color: var(--a-tint); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost-light:hover { border-color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; text-decoration: none; color: var(--a-ink); }
.link-arrow .ico { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }
.section.dark .link-arrow { color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: .9rem 1.25rem; align-items: center; margin-top: 2rem; }
.ico { width: 1.25rem; height: 1.25rem; flex: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; isolation: isolate; background: var(--paper); }
.site-header::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--header-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 4.75rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand .mark { width: 2.7rem; height: 2.7rem; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; }
.brand-sub { font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: .35rem; }
.sub-short { display: none; }
.nav { display: flex; align-items: center; gap: 1.25rem; }
.nav-list { display: flex; gap: .1rem; list-style: none; }
.nav-link { display: block; padding: .55rem .8rem; text-decoration: none; font-weight: 700; font-size: var(--step--1); color: var(--text-2); border-radius: var(--btn-radius); white-space: nowrap; }
.nav-link:hover { color: var(--ink); background: var(--a-tint); }
.nav-link.is-active { color: var(--ink); background: var(--a-tint); box-shadow: inset 0 -2px 0 var(--a-ink); }
.nav-extra { display: flex; align-items: center; gap: 1rem; }
.nav-phone { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; font-weight: 700; font-size: var(--step--1); color: var(--ink); white-space: nowrap; }
.nav-phone .ico { width: 1rem; height: 1rem; color: var(--a-ink); }
.nav-cta { padding: .6rem 1.2rem; min-height: 2.6rem; font-size: var(--step--1); }
.nav-toggle { display: none; background: var(--a-tint); border: 2px solid transparent; border-radius: var(--btn-radius); width: 2.9rem; height: 2.9rem; align-items: center; justify-content: center; cursor: pointer; }
.burger { display: flex; flex-direction: column; gap: 5px; width: 20px; }
.burger span { display: block; height: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1240px) { .nav-phone { display: none; } .nav-link { padding-inline: .55rem; } }
@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .brand, .nav-toggle { position: relative; z-index: 2; }
  .nav { position: fixed; inset: 0; z-index: 0; background: var(--paper); flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 6rem var(--gutter) 3rem; gap: 1.5rem; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; gap: .25rem; }
  .nav-link { font-family: var(--font-head); font-weight: 600; font-size: var(--step-2); padding: .7rem 1rem; white-space: normal; color: var(--ink); border-radius: var(--radius-sm); }
  .nav-extra { flex-direction: column; align-items: stretch; gap: 1rem; }
  .nav-phone { display: inline-flex; justify-content: center; font-size: var(--step-1); }
  .nav-cta { width: 100%; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 480px) { .brand-name { font-size: 1.05rem; white-space: normal; line-height: 1.1; max-width: 11rem; } .brand-sub { font-size: .55rem; white-space: nowrap; } .brand .mark { width: 2.2rem; height: 2.2rem; } .sub-long { display: none; } .sub-short { display: inline; } }

/* ---------- Photo ---------- */
.photo { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Standards strip ---------- */
.cert-strip { display: grid; grid-template-columns: 1fr; gap: 1.25rem; padding: clamp(2rem, 4vw, 3rem) 0; border-bottom: 1px solid rgba(255,255,255,.14); }
@media (min-width: 600px) { .cert-strip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cert-strip { grid-template-columns: repeat(4, 1fr); } }
.cert { display: flex; gap: .8rem; align-items: flex-start; }
.cert-ico { width: 2.1rem; height: 2.1rem; border-radius: var(--btn-radius); background: var(--a-ink); color: #fff; display: grid; place-items: center; flex: none; }
.cert-ico .ico { width: 1.1rem; height: 1.1rem; }
.cert strong { display: block; color: #fff; font-size: var(--step--1); font-weight: 700; }
.cert span { display: block; font-size: .84rem; color: var(--on-dark); }
.section .cert-strip { border: 0; padding: 0; }
.section .cert strong { color: var(--ink); }
.section .cert span { color: var(--text-2); }

/* ---------- Tiles ---------- */
.tiles { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 560px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { background: var(--white); border-radius: var(--radius); padding: 1.7rem; display: flex; flex-direction: column; gap: .75rem; box-shadow: 0 1px 0 var(--line); }
.tile .tile-ico { width: 3rem; height: 3rem; border-radius: var(--btn-radius); display: grid; place-items: center; background: var(--a-tint); color: var(--a-ink); }
.tile:nth-child(even) .tile-ico { background: var(--b-tint); color: var(--b-ink); }
.tile .tile-ico .ico { width: 1.4rem; height: 1.4rem; }
.tile h3 { font-size: var(--step-1); }
.tile p { color: var(--text-2); font-size: var(--step--1); margin: 0; }
.section.dark .tile { background: rgba(255,255,255,.08); box-shadow: none; }
.section.dark .tile h3 { color: #fff; }
.section.dark .tile p { color: var(--on-dark); }

/* ---------- Tables (stack on phones) ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); background: var(--white); box-shadow: 0 1px 0 var(--line); }
.vouchers { width: 100%; min-width: 560px; border-collapse: collapse; font-size: var(--step--1); }
.vouchers th, .vouchers td { padding: .8rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.vouchers thead th { font-weight: 700; background: var(--a-tint); color: var(--ink); }
.vouchers th[scope="row"] { font-family: var(--font-head); font-size: var(--step-0); color: var(--ink); }
.vouchers td.n { text-align: right; white-space: nowrap; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.vouchers tbody tr:last-child th, .vouchers tbody tr:last-child td { border-bottom: 0; }
.vouchers tr.is-hit th, .vouchers tr.is-hit td { background: var(--b-tint); }
@media (max-width: 599px) { .table-wrap { overflow: visible; background: transparent; box-shadow: none; } .vouchers { min-width: 0; display: block; } .vouchers thead { display: none; } .vouchers tbody, .vouchers tr, .vouchers th, .vouchers td { display: block; } .vouchers tr { background: var(--white); border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: .8rem; box-shadow: 0 1px 0 var(--line); } .vouchers th[scope="row"] { padding: 0 0 .4rem; } .vouchers td { padding: .2rem 0; border: 0; } .vouchers td.n { text-align: left; } .vouchers td[data-label]::before { content: attr(data-label) ": "; font-weight: 400; color: var(--text-2); } }

/* ---------- Rate card ---------- */
.walks { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 600px) { .walks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .walks { grid-template-columns: repeat(3, 1fr); } }
.walk { background: var(--white); border-radius: var(--radius); padding: clamp(1.2rem, 2vw, 1.7rem); min-width: 0; box-shadow: 0 1px 0 var(--line); display: flex; flex-direction: column; gap: .5rem; }
.walk-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.walk h3 { font-size: var(--step-1); }
.walk .len { font-size: .78rem; font-weight: 700; color: var(--a-ink); background: var(--a-tint); padding: .2rem .6rem; border-radius: var(--pill); white-space: nowrap; }
.walk .price { font-family: var(--font-head); font-weight: 600; font-size: var(--step-3); line-height: 1; color: var(--ink); margin: .2rem 0; }
.walk .price small { font-family: var(--font); font-size: var(--step--1); font-weight: 700; color: var(--muted); }
.walk p { margin: 0; color: var(--text-2); font-size: var(--step--1); flex: 1; }
.extras { list-style: none; display: grid; grid-template-columns: 1fr; gap: .6rem 1.5rem; }
@media (min-width: 700px) { .extras { grid-template-columns: repeat(2, 1fr); } }
.extras li { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding: .7rem 0; border-bottom: 1px dashed var(--line-strong); font-size: var(--step--1); }
.extras li span:first-child { font-weight: 700; }
.extras li strong { font-family: var(--font-head); font-weight: 600; color: var(--ink); text-align: right; flex: 0 1 auto; }
@media (max-width: 600px) { .extras li { flex-direction: column; align-items: flex-start; gap: .1rem; } .extras li strong { text-align: left; } }

/* ---------- Feature ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.feature.flip > .feature-media { order: 2; }
.feature-media .photo { aspect-ratio: 4 / 3; }
.feature-copy .h2 { margin-bottom: 1.25rem; }
.feature-copy p { color: var(--text-2); }
.section.dark .feature-copy p { color: var(--on-dark); }
.check-list { list-style: none; display: grid; gap: .7rem; margin: 1.5rem 0; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; color: var(--text-2); }
.check-list .ico { width: 1.3rem; height: 1.3rem; color: var(--a-ink); background: var(--a-tint); border-radius: 50%; padding: .2rem; margin-top: .15rem; }
.section.dark .check-list li { color: var(--on-dark); }
.section.dark .check-list .ico { color: var(--ink); background: #fff; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature.flip > .feature-media { order: 0; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; list-style: none; }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats li { background: var(--white); border-radius: var(--radius-sm); padding: 1.2rem 1.4rem; box-shadow: 0 1px 0 var(--line); }
.stats strong { display: block; font-family: var(--font-head); font-size: var(--step-3); font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink); }
.stats span { font-size: var(--step--1); color: var(--text-2); }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 800px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }
.review { background: var(--white); border-radius: var(--radius); padding: 1.7rem; display: flex; flex-direction: column; gap: .9rem; box-shadow: 0 1px 0 var(--line); }
.review blockquote { margin: 0; font-size: var(--step-0); line-height: 1.6; flex: 1; }
.review blockquote p { margin: 0; }
.review footer { font-size: var(--step--1); color: var(--text-2); display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; flex-wrap: wrap; }
.review footer strong { color: var(--text); }
.review .kind { font-size: .78rem; font-weight: 700; background: var(--b-tint); color: var(--b-ink); padding: .2rem .65rem; border-radius: var(--pill); width: max-content; max-width: 100%; }
.stars { display: inline-flex; gap: .1rem; }
.stars .star { width: 1rem; height: 1rem; color: var(--a-ink); }
.stars .star.off { color: var(--line-strong); }
.rating-badge { display: inline-flex; align-items: center; gap: .9rem; padding: .8rem 1.2rem; background: var(--white); border-radius: var(--pill); box-shadow: 0 1px 0 var(--line); }
.rating-badge strong { font-family: var(--font-head); font-size: var(--step-2); line-height: 1; color: var(--ink); }
.rating-badge span { font-size: var(--step--1); color: var(--text-2); }
.reviews-note { margin-top: 2rem; color: var(--text-2); max-width: 60ch; font-size: var(--step--1); }

/* ---------- Find us ---------- */
.areas-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 600px) { .areas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .areas-grid { grid-template-columns: repeat(3, 1fr); } }
.area { background: var(--white); border-radius: var(--radius); padding: 1.5rem; min-width: 0; box-shadow: 0 1px 0 var(--line); }
.area h3 { font-size: var(--step-1); }
.area p { margin: .5rem 0 0; font-size: var(--step--1); color: var(--text-2); }
.map { width: 100%; aspect-ratio: 16 / 7; border: 0; border-radius: var(--radius); filter: grayscale(.35); }
.map-wide { margin-top: clamp(2rem, 4vw, 3.5rem); }
@media (max-width: 700px) { .map { aspect-ratio: 4 / 3; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--dark); color: #fff; padding-block: clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.cta-band .h2 { color: #fff; margin-bottom: .75rem; }
.cta-band p { color: var(--on-dark); max-width: 44rem; margin: 0; }
.cta-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; position: relative; z-index: 1; }
.cta-actions { display: flex; gap: .9rem; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; } .cta-actions { justify-content: flex-start; } }

/* ---------- Page hero (inner) ---------- */
.page-hero { padding: clamp(2.5rem, 5vw, 5rem) 0 clamp(2.5rem, 5vw, 4.5rem); background: var(--page-hero-bg); }
.page-hero .display { font-size: calc(var(--step-4) * .95); margin-bottom: 1.25rem; }
.page-hero .lede { margin-bottom: 0; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.page-hero-media .photo { aspect-ratio: 4 / 3; }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; } }

/* ---------- Service page ---------- */
.service-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .8fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.service-body p { color: var(--text-2); }
.service-body .lede { color: var(--text); }
.aside-card { background: var(--white); border-radius: var(--radius); padding: 1.6rem; position: sticky; top: 6rem; box-shadow: 0 1px 0 var(--line); }
.aside-card + .aside-card { margin-top: 1.5rem; position: static; }
.aside-card .h4 { margin-bottom: 1rem; }
.aside-note { font-size: var(--step--1); color: var(--text-2); }
.aside-card .price { font-size: var(--step--1); color: var(--text-2); border-top: 1px solid var(--line); padding-top: 1rem; margin: 1rem 0; }
.aside-card .btn { width: 100%; white-space: normal; }
.service-nav { list-style: none; display: grid; gap: .1rem; }
.service-nav a { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .6rem .6rem; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: var(--step--1); border-radius: var(--radius-sm); }
.service-nav a.is-active, .service-nav a:hover { background: var(--a-tint); }
.service-nav .ico { width: 1rem; height: 1rem; }
@media (max-width: 900px) { .service-layout { grid-template-columns: 1fr; } .aside-card { position: static; } }

/* ---------- Forms ---------- */
.field label { display: block; font-weight: 700; font-size: var(--step--1); margin-bottom: .4rem; }
.field input, .field textarea, .field select { width: 100%; padding: .85rem 1.1rem; font: inherit; font-size: var(--step-0); color: var(--text); background: var(--white); border: 2px solid var(--line-strong); border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23333333'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 1.2rem; padding-right: 2.6rem; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--a-ink); box-shadow: 0 0 0 3px var(--a-tint); }
.field textarea { resize: vertical; min-height: 7rem; }
.field .hint { font-size: .85rem; color: var(--text-2); margin: .35rem 0 0; }
.field .error { font-size: .88rem; color: var(--red); font-weight: 700; margin: .4rem 0 0; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--red); }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form { background: var(--white); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); display: grid; gap: 1.1rem; box-shadow: 0 1px 0 var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-alert { padding: 1rem 1.25rem; border-radius: var(--radius-sm); font-weight: 700; margin: 0; }
.form-alert.ok { background: var(--a-tint); color: var(--ink); border: 1px solid var(--a-ink); }
.form-alert.bad { background: #F9E6E3; color: #7A1F18; border: 1px solid #EBB8B3; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-aside { display: grid; gap: 1.1rem; }
.contact-card { background: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 1px 0 var(--line); }
.contact-card.urgent { background: var(--dark); color: #fff; }
.contact-card.urgent h2, .contact-card.urgent a { color: #fff; }
.contact-card.urgent p { color: var(--on-dark); }
.contact-card.urgent .ico { color: #fff; }
.contact-card h2 { font-size: var(--step-1); margin-bottom: .8rem; }
.contact-card p { margin: 0 0 .5rem; font-size: var(--step--1); }
.contact-card a { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 700; padding: .3rem 0; max-width: 100%; overflow-wrap: anywhere; }
.contact-card .ico { width: 1.05rem; height: 1.05rem; color: var(--a-ink); }
.address-block { display: flex; gap: .6rem; align-items: flex-start; line-height: 1.5; }
.hours-list { list-style: none; display: grid; gap: .5rem; }
.hours-list li { display: flex; justify-content: space-between; gap: 1rem; font-size: var(--step--1); border-bottom: 1px dashed var(--line-strong); padding-bottom: .5rem; }
.hours-list strong { text-align: right; }
.field, .form-row > *, .contact-aside, .contact-card { min-width: 0; }
.field select, .field input, .field textarea { max-width: 100%; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ & prose ---------- */
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.2rem 0; font-family: var(--font-head); font-weight: 600; font-size: var(--step-1); color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ico { width: 1.2rem; height: 1.2rem; transform: rotate(90deg); transition: transform .3s var(--ease); flex: none; color: var(--a-ink); }
.faq-item[open] .faq-ico { transform: rotate(-90deg); }
.faq-body { padding: 0 0 1.4rem; color: var(--text-2); max-width: 64ch; }
.faq-body p:last-child { margin: 0; }
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--step-2); margin: 2.25rem 0 .75rem; }
.prose p, .prose li { color: var(--text-2); }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1.25em; }
.legal-meta { font-size: var(--step--1); color: var(--text-2); border-left: 4px solid var(--a-ink); padding-left: 1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--on-dark); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding: clamp(3rem, 5vw, 4.5rem) 0 2.5rem; }
.brand-footer { color: #fff; }
.brand-footer .brand-sub { color: var(--on-dark); }
.footer-tag { margin: 1.25rem 0; font-size: var(--step--1); max-width: 36ch; color: var(--on-dark); }
.social-row { display: flex; gap: .6rem; }
.social { width: 2.6rem; height: 2.6rem; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; display: grid; place-items: center; color: #fff; transition: background-color .2s, border-color .2s; }
.social:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.social .ico { width: 1.1rem; height: 1.1rem; }
.footer-h { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: #fff; margin-bottom: 1rem; font-family: var(--font); }
.footer-address { font-size: var(--step--1); line-height: 1.7; }
.footer-contact { margin-top: .9rem; display: grid; gap: .1rem; font-size: var(--step--1); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-contact a, .footer-links a, .footer-bottom a { display: inline-block; padding: .3rem 0; overflow-wrap: anywhere; }
.footer-links { list-style: none; display: grid; gap: .1rem; font-size: var(--step--1); }
.footer-hours { list-style: none; display: grid; gap: .5rem; font-size: var(--step--1); margin-bottom: 1.25rem; }
.footer-hours li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed rgba(255,255,255,.22); padding-bottom: .5rem; }
.footer-hours strong { color: #fff; text-align: right; }
.site-footer a.btn-light { color: var(--ink); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.2); padding: 1.25rem 0 .5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .84rem; color: var(--on-dark); }
.footer-bottom p { margin: 0; }
.footer-bottom .legal { display: flex; gap: 1.25rem; }
.footer-bottom a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: .2em; }
.footer-fine { padding: .5rem 0 2rem; }
.footer-fine p { margin: 0; font-size: .78rem; color: var(--on-dark); }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal (transform only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { transform: translateY(14px); transition: transform .6s var(--ease); }
  .reveal.in, .no-js .reveal { transform: none; }
  .reveal.instant { transition: none; }
  .reveal.d1 { transition-delay: .06s; } .reveal.d2 { transition-delay: .12s; } .reveal.d3 { transition-delay: .18s; } .reveal.d4 { transition-delay: .24s; }
}
@media print { .site-header, .cta-band, .nav-toggle, .skip, .social-row { display: none !important; } }

/* ---------- Hero: the scaffold frame, boards on the lifts, copy and estimator in one bay, the photo in the other ---------- */
.hero { background: var(--white); padding: clamp(1rem, 2vw, 1.5rem) 0 0; }
.hero-frame { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.frame-svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.frame-svg .tube { fill: none; stroke: var(--tube); stroke-width: 7; vector-effect: non-scaling-stroke; stroke-linecap: square; }
.hero-bay { position: relative; z-index: 1; padding: clamp(2rem, 4vw, 3.25rem) clamp(1.25rem, 3vw, 2.5rem) clamp(2.5rem, 4.5vw, 3.75rem); }
.hero-copy { background: transparent; }
.hero-title { margin-bottom: .8rem; font-size: clamp(3rem, 2rem + 3.2vw, 4.4rem); line-height: .92; }
.hero .lede { margin-bottom: 1.2rem; font-size: clamp(1.08rem, 1.02rem + .3vw, 1.25rem); }
.hero-photo { padding: clamp(1rem, 2vw, 1.5rem); display: flex; align-items: center; }
.hero-photo .photo { width: 100%; aspect-ratio: 4 / 3; border-radius: 0; }
.board-row { position: relative; z-index: 2; height: 14px; background: var(--boards); margin: 0 -.25rem; }
.coupler { position: absolute; z-index: 2; width: 18px; height: 18px; background: var(--ink); border: 3px solid var(--tube); transform: translate(-50%, -50%); }
.est { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem .8rem; background: var(--blue-deep); padding: 1rem 1.1rem 1.1rem; border-top: 6px solid var(--board); }
.ef { display: grid; gap: .3rem; min-width: 0; }
.ef.wide { grid-column: 1 / -1; }
.ef label { font-weight: 600; font-size: var(--step--1); color: #fff; }
.est select, .est input { width: 100%; min-height: 2.9rem; padding: .5rem .75rem; font: inherit; font-size: var(--step-0); color: var(--ink); background: #fff; border: 2px solid transparent; border-radius: 2px; }
.est select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2312243A'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") right .5rem center / 1.1rem no-repeat; padding-right: 2rem; }
.est select:focus, .est input:focus { outline: none; border-color: var(--board); }
.est .btn { grid-column: 1 / -1; }
@media (min-width: 1100px) { .hero .est { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); align-items: end; } .hero .est .btn { grid-column: auto; } }
.est-note { margin: .8rem 0 0; font-size: var(--step--1); color: var(--text-2); }
.est-note strong { color: var(--ink); }
@media (max-width: 900px) {
  .hero-frame { grid-template-columns: 1fr; }
  .frame-svg .mid { display: none; }
  .hero-photo { padding-top: 0; }
  .coupler.mid { display: none; }
}

/* ---------- Service cards: a tube rail and a board edge ---------- */
.service-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 600px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }
.service-grid > * { display: flex; }
.service-card { width: 100%; background: var(--white); display: flex; flex-direction: column; position: relative; border: 4px solid var(--tube); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.service-card:hover, .service-card:focus-within { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue); }
.card-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-2); border-bottom: 10px solid transparent; border-image: var(--boards) 10; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.service-card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 1rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.card-title { font-size: var(--step-2); }
.card-title a { text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card-text { color: var(--text-2); font-size: var(--step--1); margin: 0; flex: 1; }
.card-from { font-weight: 600; font-size: var(--step--1); margin: .3rem 0 0; color: var(--blue-deep); }

/* ---------- People ---------- */
.people-grid { display: grid; grid-template-columns: 1fr; gap: 1.75rem; }
@media (min-width: 900px) { .people-grid { grid-template-columns: repeat(2, 1fr); } }
.person { background: var(--white); border: 4px solid var(--tube); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); height: 100%; }
.person-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }
.person-body { padding: 1.3rem 1.5rem 1.5rem; }
.person-role { font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-deep); margin: 0 0 .3rem; }
.person h3 { font-size: var(--step-3); margin-bottom: .6rem; }
.person p { font-size: var(--step--1); color: var(--text-2); }
.person .check-list { margin: 1rem 0 0; gap: .4rem; font-size: var(--step--1); }
@media (max-width: 640px) { .person { grid-template-columns: 1fr; } .person-media img { aspect-ratio: 4 / 3; } }

/* ---------- Estimator page ---------- */
.est-grid { display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .est-grid { grid-template-columns: 1fr; } }
.answer { background: var(--white); border: 4px solid var(--tube); padding: clamp(1.3rem, 3vw, 2rem); }
.answer .label { display: inline-block; font-weight: 600; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; background: var(--blue); color: #fff; padding: .25rem .65rem; margin-bottom: .8rem; }
.answer h2 { font-size: var(--step-3); margin-bottom: 1rem; }
.figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.2rem 0; }
@media (max-width: 680px) { .figs { grid-template-columns: 1fr; } }
.figs div { background: var(--paper-2); padding: 1rem 1.1rem; border-top: 8px solid var(--tube); }
.figs div:first-child { background: var(--board); border-top-color: var(--ink); }
.figs span { display: block; font-size: .92rem; font-weight: 600; color: var(--text-2); }
.figs div:first-child span { color: var(--ink); }
.figs strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: var(--step-4); color: var(--ink); line-height: .95; }
.figs strong.sm { font-size: var(--step-2); line-height: 1.05; }
.licence { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem 1.1rem; background: var(--blue-tint); color: var(--ink); font-size: var(--step--1); }
.licence .ico { color: var(--blue); margin-top: .2rem; }
.errors { background: #FBE7E3; border-left: 6px solid var(--red); padding: 1rem 1.25rem; }
.errors h2 { font-size: var(--step-2); color: #6B1A10; margin-bottom: .4rem; }
.errors li { color: #6B1A10; font-weight: 600; margin-left: 1.1rem; }

/* ---------- Safety ---------- */
.safety { display: grid; grid-template-columns: 1fr; gap: 1.25rem; counter-reset: sf; }
@media (min-width: 600px) { .safety { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .safety { grid-template-columns: repeat(3, 1fr); } }
.sf { background: var(--white); border: 4px solid var(--tube); padding: 1.4rem 1.5rem; counter-increment: sf; position: relative; }
.sf::before { content: counter(sf); position: absolute; top: -4px; right: -4px; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; background: var(--board); color: var(--ink); font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; }
.sf h3 { font-size: var(--step-2); margin-bottom: .4rem; padding-right: 2.6rem; }
.sf p { margin: 0; font-size: var(--step--1); color: var(--text-2); }

/* ---------- Shared-block accents ---------- */
.page-hero { border-bottom: 10px solid transparent; border-image: var(--boards) 10; }
.page-hero-media .photo { border-radius: 0; border: 6px solid var(--tube); }
.walk { border: 4px solid var(--tube); box-shadow: none; }
.walk .price { font-size: var(--step-4); color: var(--blue-deep); }
.walk .len { background: var(--board-tint); color: var(--ink); }
.area { border: 4px solid var(--tube); box-shadow: none; }
.aside-card { border-top: 6px solid var(--board); }
.aside-card .est { padding: .9rem; }
.form { border-top: 6px solid var(--blue); }
.tile { border: 4px solid var(--tube); box-shadow: none; }
.section.dark .tile { border-color: rgba(255,255,255,.2); }
.section.dark .tile .tile-ico { background: var(--board); color: var(--ink); }
.stats li { border-top: 8px solid var(--board); border-radius: 0; }
.section.dark .stats li { background: rgba(255,255,255,.08); }
.section.dark .stats strong { color: #fff; }
.section.dark .stats span { color: var(--on-dark); }
.cta-band { border-top: 10px solid transparent; border-image: var(--boards) 10; }
.cta-band .btn-light { background: var(--board); border-color: var(--board); color: var(--ink); }
.site-header .btn-ink { background: var(--board); border-color: var(--board); color: var(--ink); }
.site-footer a.btn-light { background: var(--board); border-color: var(--board); color: var(--ink); }
.review { border: 4px solid var(--tube); box-shadow: none; }
.review .kind { background: var(--blue); color: #fff; }
.stars .star { color: var(--blue-deep); }
.cert-ico { background: var(--blue); }
.small-note { font-size: var(--step--1); color: var(--text-2); max-width: 62ch; margin-top: 1.25rem; }
