/* =========================================================
   Extend & Co. — site stylesheet
   ---------------------------------------------------------
   Direction: modern, minimal, natural.
   Linen / sand / stone neutrals, sage accent, clay for
   traditional builds. Very few boxes, generous space.

   SIGHT LINES: every layout snaps to one grid with one gap
   (--gap). Two-column layouts always split 6 | 6, so hero
   text, section headings, splits, card rows, steps, FAQ
   answers, the CTA band and the footer all share the same
   vertical lines.

   BRAND TOKENS: edit :root below. Text colour pairs meet
   WCAG AA contrast.
   ========================================================= */

:root {
  /* --- Natural palette --- */
  --bg: #f7f4ef;           /* linen: page background */
  --surface: #efeae2;      /* sand: alternate sections, cards */
  --surface-2: #e4ddd1;    /* stone: placeholders, active states */
  --line: #ddd5c8;         /* hairlines */
  --ink: #2b2a26;          /* text and headings */
  --muted: #5e5a52;        /* secondary text (6.3:1 on linen) */
  --label: #6c665a;        /* small labels (5:1 on linen) */

  --accent: #4b5945;       /* sage: buttons, links (7.4:1 with white) */
  --accent-hover: #3c4838;
  --prefab: #5f6f55;       /* hup! marker: sage */
  --trad: #9a6a4b;         /* traditional marker: clay */

  --dark: #2f332b;         /* deep olive: CTA band, footer */
  --dark-ink: #efeae2;
  --dark-muted: #c9c2b4;
  --focus: #1a73e8;

  /* --- Type --- */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* --- Grid & rhythm (one gap everywhere = equal sight lines) --- */
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --gap: clamp(24px, 3vw, 40px);
  --space: clamp(72px, 10vw, 136px);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.7; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); margin: 0 0 .6em; font-weight: 400; line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.25rem); font-weight: 300; line-height: 1.06; letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); font-weight: 300; letter-spacing: -.015em; }
h3 { font-size: 1.125rem; font-weight: 500; line-height: 1.35; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--accent-hover); }
ul, ol { padding-left: 1.2em; }
li + li { margin-top: .4em; }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }

/* ---------- Layout primitives ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--space) 0; }
.section--alt { background: var(--surface); }

/* Section head: label + heading on the left half, lead on the right half */
.section-head {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap);
  align-items: end; margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head > * { grid-column: 1; }
.section-head > .lead { grid-column: 2; grid-row: 1 / span 3; align-self: end; margin-bottom: .35em; }
.section-head h2 { margin-bottom: 0; }
@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head > .lead { grid-column: 1; grid-row: auto; margin-top: 1rem; }
}

.eyebrow { display: block; font-family: var(--font); font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--label); margin-bottom: 1rem; }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.7; color: var(--muted); }
.text-muted { color: var(--muted); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .center { text-align: center; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.2rem; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.note-box { background: var(--surface); padding: 18px 22px; border-radius: var(--radius); color: var(--ink); }
.section--alt .note-box { background: var(--bg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; padding: .8em 1.6em; border-radius: 999px;
  font: 500 .95rem/1.2 var(--font); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); color: #fff; }
.btn--secondary { background: transparent; color: var(--ink); border-color: #b9b0a2; }
.btn--secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: var(--bg); color: var(--ink); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--ghost-light { background: transparent; color: var(--dark-ink); border-color: rgba(239,234,226,.45); }
.btn--ghost-light:hover { border-color: var(--dark-ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

/* ---------- Header ---------- */
.topbar { display: none; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247,244,239,.94); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: var(--gap); min-height: 80px; }

.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); flex: none; }
.logo:hover { color: var(--ink); }
.logo svg { width: 44px; height: auto; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--font-head); font-weight: 500; font-size: 1.05rem; letter-spacing: .24em; white-space: nowrap; }
.logo-name .amp { color: var(--label); font-weight: 400; }
.logo-tag { font-family: var(--font-head); font-size: .55rem; letter-spacing: .38em; text-transform: uppercase; color: var(--muted); margin-top: 6px; white-space: nowrap; }

.nav-toggle { display: none; align-items: center; gap: 8px; background: none; border: 1px solid #b9b0a2; border-radius: 999px; color: var(--ink); font: 500 .9rem var(--font); padding: 8px 16px; min-height: 44px; cursor: pointer; }
.nav-toggle-bars { display: inline-block; width: 16px; height: 1.5px; background: currentColor; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: currentColor; }
.nav-toggle-bars::before { top: -5px; } .nav-toggle-bars::after { top: 5px; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.main-nav li + li { margin-top: 0; }
.main-nav a { display: block; padding: 8px 10px; color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 500; white-space: nowrap; border-radius: 999px; transition: background-color .2s var(--ease); }
.main-nav a:hover { background: var(--surface); color: var(--ink); }
.main-nav a[aria-current="page"] { background: var(--surface-2); }
.main-nav .nav-phone a { color: var(--muted); }
@media (min-width: 1241px) and (max-width: 1520px) { .main-nav .nav-phone { display: none; } }
.main-nav .nav-cta { margin-left: 8px; }
.main-nav .nav-cta a { background: var(--accent); color: #fff; padding: 11px 20px; }
.main-nav .nav-cta a:hover, .main-nav .nav-cta a[aria-current="page"] { background: var(--accent-hover); color: #fff; }

@media (max-width: 1300px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); display: none; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 24px; gap: 0; }
  .main-nav a { padding: 16px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .main-nav a:hover, .main-nav a[aria-current="page"] { background: none; color: var(--accent); }
  .main-nav .nav-cta { margin: 16px 0 0; }
  .main-nav .nav-cta a { text-align: center; border-radius: 999px; border: 0; padding: 14px 20px; }
  .main-nav .nav-cta a:hover, .main-nav .nav-cta a[aria-current="page"] { color: #fff; background: var(--accent-hover); }
  .no-js .main-nav { display: block; position: static; }
}
@media (max-width: 420px) { .logo svg { width: 36px; } .logo-name { font-size: .92rem; letter-spacing: .18em; } .logo-tag { letter-spacing: .26em; } }

/* ---------- Home hero: heading | lead, then a full-width image ---------- */
.hero { padding: clamp(32px, 4.5vw, 64px) 0 0; }
.hero .hero-grid h1 { font-size: clamp(2.3rem, 4.2vw, 3.5rem); }
.hero-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.hero-grid h1 { margin-bottom: 0; }
.hero-side .lead { margin-bottom: 0; }
.hero-side .btn-row { margin-top: 1.75rem; }
/* Feature image: full-bleed and tall so the extension is the first thing people see */
.hero-image { margin: clamp(28px, 3.5vw, 48px) 0 0; }
.hero-image img { width: 100%; aspect-ratio: 16 / 9; max-height: calc(100vh - 80px); object-fit: cover; object-position: 50% 55%; background: var(--surface-2); }
.trust-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 16px; font-size: .9rem; color: var(--muted); }
.trust-list li { margin: 0; padding-top: 16px; border-top: 1px solid var(--line); }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { margin-top: 1.5rem; }
  .hero-image img { aspect-ratio: 4 / 3; max-height: none; }
  .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Inner page hero: same 6 | 6 sight line ---------- */
.hero--page { padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.hero--page.has-media { border-bottom: 0; padding-bottom: 0; }
.hero--page .container { display: block; }
.hero--page .container > div:first-child { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.hero--page .container > div:first-child > * { grid-column: 1; }
.hero--page .breadcrumb { grid-column: 1 / -1 !important; grid-row: 1; }
.hero--page .tag { grid-row: 2; }
.hero--page h1 { grid-row: 3; margin-bottom: 0; }
.hero--page .lead { grid-column: 2 !important; grid-row: 3; margin: 0; }
.hero--page .btn-row { grid-column: 2 !important; grid-row: 4; margin-top: 1.75rem; }
.hero--page .hero-media { margin-top: clamp(40px, 6vw, 72px); }
.hero--page .hero-media img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 820px) {
  .hero--page .container > div:first-child { grid-template-columns: 1fr; }
  .hero--page .container > div:first-child > * { grid-column: 1 !important; grid-row: auto !important; }
  .hero--page .lead { margin-top: 1.25rem; }
  .hero--page .hero-media img { aspect-ratio: 4 / 3; }
}

.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 2rem; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #b9b0a2; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Grids (all share --gap, so columns line up) ---------- */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); align-items: center; }
.split > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* ---------- Cards: no heavy boxes; equal heights, aligned bottoms ---------- */
.card { background: var(--surface); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; }
.section--alt .card { background: var(--bg); }
.card h3 { margin-bottom: .5em; }
.card p:last-child { margin-bottom: 0; }
.card .btn-row { margin-top: auto; padding-top: 1.5rem; }
.card--media, .section--alt .card--media { padding: 0; background: transparent; }
.card--media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); transition: opacity .3s var(--ease); }
.card--media:hover img { opacity: .92; }
.card--media .card-body { padding: 20px 0 0; display: flex; flex-direction: column; flex: 1; }

.service-card { padding: clamp(28px, 3.5vw, 48px); }
.service-card h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 300; letter-spacing: -.01em; margin-bottom: .5em; }
.service-card ul { flex-grow: 1; margin-bottom: 1.5rem; }
.service-card .btn-row { padding-top: 0; }

.tag { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; justify-self: start; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--label); margin-bottom: 1rem; }
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.tag--prefab { color: var(--accent); }
.tag--trad { color: #7e5238; }

.icon-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.icon-list li { position: relative; padding-left: 22px; }
.icon-list li::before { content: ""; position: absolute; left: 0; top: .8em; width: 10px; height: 1.5px; background: var(--prefab); }
.icon-list--trad li::before { background: var(--trad); }
.icon-list--cross li::before { background: #b9b0a2; }

/* ---------- Key facts: four equal columns ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); margin: 0; }
.fact { padding-top: 20px; border-top: 1px solid var(--ink); }
.fact dt { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--label); }
.fact dd { margin: 10px 0 0; font-family: var(--font-head); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 300; line-height: 1.15; letter-spacing: -.01em; }
.fact dd small { display: block; margin-top: 6px; font-family: var(--font); font-size: .875rem; color: var(--muted); letter-spacing: 0; }
@media (max-width: 820px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; } }

/* ---------- Steps: number + title | description, on the 6 | 6 line ---------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; border-top: 1px solid var(--line); }
.steps > li { counter-increment: step; margin: 0; padding: 32px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.steps > li::before { content: counter(step, decimal-leading-zero); grid-column: 1; grid-row: 1; font-family: var(--font-head); font-size: .9rem; font-weight: 500; color: var(--prefab); letter-spacing: .06em; margin-bottom: 8px; }
.steps > li > h3 { grid-column: 1; grid-row: 2; margin: 0; font-family: var(--font-head); font-size: clamp(1.2rem, 1.8vw, 1.45rem); font-weight: 400; }
.steps > li > p { grid-column: 2; grid-row: 1 / span 2; margin: 0; color: var(--muted); }
.steps > li > .step-meta { grid-column: 2; grid-row: 3; margin-top: 10px; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--label); }
.steps--trad > li::before { color: var(--trad); }
.split .steps > li { grid-template-columns: 1fr; padding: 22px 0; }
.split .steps > li > *, .split .steps > li::before { grid-column: 1 !important; grid-row: auto !important; }
.split .steps > li > h3 { margin-bottom: 4px; }
@media (max-width: 820px) {
  .steps > li { grid-template-columns: 1fr; }
  .steps > li > *, .steps > li::before { grid-column: 1 !important; grid-row: auto !important; }
  .steps > li > h3 { margin-bottom: 8px; }
}

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare-table caption { caption-side: bottom; text-align: left; padding-top: 16px; font-size: .875rem; color: var(--muted); }
.compare-table th, .compare-table td { padding: 22px 24px 22px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare-table thead th { border-bottom: 1px solid var(--ink); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--label); padding-bottom: 16px; }
.compare-table thead th:nth-child(2) { color: var(--accent); }
.compare-table thead th:nth-child(3) { color: #7e5238; }
.compare-table tbody th { width: 22%; font-weight: 500; color: var(--ink); }
.compare-table td { width: 39%; }
.compare-table .verdict { display: block; font-weight: 600; margin-bottom: 4px; }
.compare-table .note { color: var(--muted); font-size: .95rem; }

/* ---------- Decision helper ---------- */
.helper { background: var(--bg); border-radius: var(--radius); padding: clamp(24px, 4vw, 56px); }
.helper fieldset { border: 0; padding: 0 0 28px; margin: 0 0 28px; border-bottom: 1px solid var(--line); }
.helper legend { font-family: var(--font-head); font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 400; color: var(--ink); margin-bottom: 16px; padding: 0; }
.helper .q-num { color: var(--prefab); margin-right: .5em; font-size: .9rem; font-weight: 500; }
.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option label { display: block; height: 100%; padding: 14px 16px 14px 46px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; position: relative; line-height: 1.45; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.option label::before { content: ""; position: absolute; left: 16px; top: 16px; width: 18px; height: 18px; border: 1.5px solid #8f877a; border-radius: 50%; background: #fff; }
.option label:hover { border-color: #b9b0a2; }
.option input:checked + label { border-color: var(--accent); background: #f1f3ee; }
.option input:checked + label::before { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3.5px #fff; }
.option input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 2px; }
.helper-result { margin-top: 2rem; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: var(--surface); border-left: 3px solid var(--accent); }
.helper-result[data-route="traditional"] { border-left-color: var(--trad); }
.helper-error { color: #9b2c1f; font-weight: 600; margin-top: 1rem; }

/* ---------- FAQ: question left, answer on the right-hand sight line ---------- */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 24px 56px 24px 0; font-family: var(--font-head); font-size: clamp(1.05rem, 1.5vw, 1.2rem); font-weight: 400; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 300 1.6rem/1 var(--font); color: var(--muted); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .faq-body { padding: 0 0 28px calc(50% + var(--gap) / 2); color: var(--muted); }
.faq .faq-body p:last-child { margin-bottom: 0; }
@media (max-width: 820px) { .faq .faq-body { padding-left: 0; } }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--gap); }
.filter-btn { min-height: 42px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font: 500 .9rem var(--font); color: var(--ink); cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.filter-btn:hover { border-color: #b9b0a2; }
.filter-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.project-meta { list-style: none; padding: 12px 0 0; margin: auto 0 0; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 18px; }
.project-meta li { margin: 0; }
.project-meta strong { color: var(--ink); font-weight: 500; }
[hidden] { display: none !important; }

/* ---------- Testimonials ---------- */
.quote { margin: 0; padding: 0 0 0 24px; border-left: 1px solid var(--ink); }
.quote p { font-family: var(--font-head); font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 300; line-height: 1.5; color: var(--ink); letter-spacing: -.005em; }
.quote footer { font-size: .85rem; color: var(--muted); }

/* ---------- CTA band: 6 | 6 sight line ---------- */
.cta-band { background: var(--dark); color: var(--dark-ink); padding: clamp(64px, 9vw, 120px) 0; }
.cta-band .container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.cta-band h2 { color: #fff; margin-bottom: 0; }
.cta-band p { margin: 1rem 0 0; color: var(--dark-muted); }
.cta-band .btn-row { margin-top: 0; }
@media (max-width: 820px) { .cta-band .container { grid-template-columns: 1fr; row-gap: 2rem; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 500; font-size: .95rem; margin-bottom: 8px; padding: 0; }
.field .hint { display: block; font-size: .875rem; color: var(--muted); margin: -4px 0 8px; }
.field .req { color: #9b2c1f; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #b9b0a2; border-radius: var(--radius);
  font: 1rem/1.4 var(--font); color: var(--ink); background: #fff; transition: border-color .2s var(--ease);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #8f877a; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--accent); }
.field [aria-invalid="true"] { border-color: #9b2c1f; }
.field-error { color: #9b2c1f; font-size: .875rem; font-weight: 600; margin: 6px 0 0; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.radio-inline { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.radio-inline label, .check label { display: inline-flex; align-items: flex-start; gap: 10px; font-weight: 400; margin: 0; cursor: pointer; min-height: 32px; }
.radio-inline input, .check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.hp-field { position: absolute; left: -9999px; }
.form-status { padding: 16px 20px; border-radius: var(--radius); font-weight: 500; }
.form-status--ok { background: #e6ebe1; color: #34402f; }
.form-status--err { background: #f3e3dc; color: #7a2a16; }
.contact-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.contact-panel { background: var(--surface); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); position: sticky; top: 110px; }
.contact-panel dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; }
.contact-panel dt { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--label); padding-top: 3px; }
.contact-panel dd { margin: 0; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } .contact-panel { position: static; } }

/* ---------- Footer: four columns on the grid ---------- */
.site-footer { background: var(--dark); color: var(--dark-muted); padding: clamp(64px, 8vw, 104px) 0 32px; font-size: .92rem; border-top: 1px solid rgba(239,234,226,.12); }
.site-footer a { color: var(--dark-ink); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.site-footer h2 { font-family: var(--font); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--dark-ink); margin-bottom: 1.25rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: .6em; }
.site-footer .logo { color: var(--dark-ink); margin-bottom: 1.25rem; }
.site-footer .logo-tag { color: var(--dark-muted); }
.site-footer .logo-name .amp { color: var(--dark-muted); }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: clamp(48px, 6vw, 80px); padding-top: 24px; border-top: 1px solid rgba(239,234,226,.15); font-size: .85rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* =========================================================
   hup! specification tables
   ========================================================= */
.spec-table { min-width: 560px; }
.spec-table tbody th { width: 30%; }
.spec-table td { width: auto; color: var(--muted); }
.spec-table thead th:nth-child(n) { color: var(--label); }

/* =========================================================
   Design your hup! — configurator (same 6 | 6 sight line)
   ========================================================= */
.designer-section { padding-top: clamp(40px, 6vw, 72px); }
.designer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.designer-preview { position: sticky; top: 104px; }
.designer-stage { position: relative; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.designer-stage svg { width: 100%; height: auto; display: block; }
.designer-caption { font-size: .85rem; margin-top: 12px; }

.hotspots { position: absolute; inset: 0; pointer-events: none; }
.hotspot { position: absolute; transform: translate(-50%, -50%); pointer-events: auto; }
.hotspot-btn {
  width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; background: var(--accent); color: transparent;
  font-size: 0; cursor: pointer; box-shadow: 0 0 0 4px rgba(75, 89, 69, .25); position: relative; padding: 0;
}
.hotspot-btn::before { content: "+"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font: 600 16px/1 var(--font); }
.hotspot-btn[aria-expanded="true"]::before { content: "\2212"; }
.hotspot-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.hotspot-pop {
  position: absolute; z-index: 5; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%);
  width: min(240px, 60vw); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 14px; font-size: .85rem; line-height: 1.5; box-shadow: 0 8px 24px rgba(43, 42, 38, .12);
}
.hotspot-pop strong { display: block; margin-bottom: 2px; }
.hotspot-pop p { margin: 0; color: var(--muted); }

.designer-panel { background: var(--surface); border-radius: var(--radius); padding: clamp(20px, 3vw, 40px); }
.designer-progress { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 6px; }
.designer-progress li { margin: 0; }
.designer-progress button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 4px 12px 4px 4px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg); font: 500 .8rem var(--font); color: var(--muted); cursor: pointer;
}
.designer-progress .num { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--ink); font-size: .75rem; }
.designer-progress .is-done .num { background: var(--prefab); color: #fff; }
.designer-progress [aria-current="step"] { border-color: var(--accent); color: var(--ink); }
.designer-progress [aria-current="step"] .num { background: var(--accent); color: #fff; }
.designer-step-title { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-bottom: .3em; }
.designer-step-title:focus { outline: none; }
.designer-step-title .q-num { font-size: .8rem; font-weight: 500; color: var(--prefab); margin-right: .75em; vertical-align: middle; }
.designer-group { border: 0; padding: 0; margin: 0 0 24px; }
.designer-group legend { font-weight: 600; font-size: .95rem; margin-bottom: 10px; padding: 0; }
.designer .options { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.designer .option label { padding: 12px 12px 12px 40px; font-size: .92rem; }
.designer .option label::before { left: 12px; top: 14px; width: 16px; height: 16px; }
.designer .option-label { display: block; }
.designer .option-hint { display: block; font-size: .8rem; color: var(--muted); margin-top: 2px; }
.options--swatch .option label { display: flex; align-items: center; gap: 10px; }
.swatch { width: 22px; height: 22px; border-radius: 50%; flex: none; border: 1px solid rgba(0, 0, 0, .12); }
.designer-nav { margin-top: 8px; justify-content: space-between; }
.designer-nav .btn[hidden] { display: none; }
.designer-summary { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0 0 8px; padding: 20px; background: var(--bg); border-radius: var(--radius); }
.designer-summary dt { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--label); padding-top: 3px; }
.designer-summary dd { margin: 0; }
.designer-note { min-height: 1.5em; margin-top: 12px; font-size: .9rem; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
@media (max-width: 900px) {
  .designer { grid-template-columns: 1fr; }
  .designer-preview { position: static; }
  .hotspot-btn { width: 22px; height: 22px; }
}

/* =========================================================
   Home page — minimal layout
   ========================================================= */
.hero--home { padding-top: clamp(48px, 7vw, 104px); }
.hero--home .hero-grid h1 { font-size: clamp(2.4rem, 4.4vw, 3.9rem); line-height: 1.05; letter-spacing: -.025em; }
.hero--home .hero-side .lead { max-width: 30em; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }

/* Route tiles: photo-led, no box, whole tile is the link */
.route-tile { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.route-tile:hover { color: var(--ink); }
.route-tile-media { overflow: hidden; border-radius: var(--radius); background: var(--surface-2); }
.route-tile-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
.route-tile:hover .route-tile-media img { transform: scale(1.03); }
.route-tile-body { padding-top: 24px; display: flex; flex-direction: column; flex: 1; }
.route-tile-body h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 300; letter-spacing: -.015em; margin-bottom: .35em; }
.route-tile-body p { color: var(--muted); max-width: 32em; }
.arrow-link { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; font-weight: 500; color: var(--accent); }
.arrow-link::after { content: "\2192"; transition: transform .25s var(--ease); }
.route-tile:hover .arrow-link::after, .route-tile:focus-visible .arrow-link::after { transform: translateX(4px); }
.route-tile:focus-visible { outline: 2px solid var(--focus); outline-offset: 6px; border-radius: var(--radius); }
.route-note { margin: clamp(32px, 4vw, 48px) 0 0; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .route-tile:hover .route-tile-media img { transform: none; } }

/* Inline steps: four columns on the shared grid, no boxes */
.steps-inline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.steps-inline li { margin: 0; padding-top: 20px; border-top: 1px solid var(--ink); }
.steps-inline .num { display: block; font-family: var(--font-head); font-size: .9rem; font-weight: 500; color: var(--prefab); margin-bottom: 14px; letter-spacing: .06em; }
.steps-inline h3 { font-family: var(--font-head); font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 400; margin-bottom: .4em; }
.steps-inline p { margin: 0; color: var(--muted); }
@media (max-width: 960px) { .steps-inline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } }
@media (max-width: 520px) { .steps-inline { grid-template-columns: 1fr; } }

/* =========================================================
   Home hero gallery — soft cross-fade with a slow drift
   ========================================================= */
.hero-gallery {
  position: relative; margin-top: clamp(28px, 3.5vw, 48px); overflow: hidden; background: var(--dark);
  height: min(calc(100vh - 80px), 56.25vw); min-height: 440px;
}
.hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide.is-active img { animation: hero-drift 9s ease-out both; }
@keyframes hero-drift { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-gallery::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 40%; z-index: 2; pointer-events: none;
  background: linear-gradient(to top, rgba(28, 30, 25, .55), rgba(28, 30, 25, 0));
}
.hero-slide figcaption {
  position: absolute; z-index: 3; bottom: 30px;
  right: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  color: #f7f4ef; font-size: .85rem; letter-spacing: .04em; opacity: 0; transition: opacity .8s .6s var(--ease);
}
.hero-slide.is-active figcaption { opacity: .9; }
.hero-gallery-ui { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 4; display: flex; align-items: center; gap: 16px; }
.hero-dots { display: flex; gap: 2px; }
.hero-dots button { width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.hero-dots span { display: block; width: 32px; height: 2px; background: rgba(247, 244, 239, .45); transition: background-color .3s var(--ease), width .3s var(--ease); }
.hero-dots [aria-current="true"] span { background: #f7f4ef; width: 40px; }
.hero-dots button:focus-visible { outline: 2px solid #fff; outline-offset: -6px; }
.hero-pause {
  min-height: 32px; padding: 4px 14px; border-radius: 999px; border: 1px solid rgba(247, 244, 239, .5);
  background: transparent; color: #f7f4ef; font: 500 .8rem var(--font); cursor: pointer;
}
.hero-pause:hover { border-color: #f7f4ef; }
.hero-pause:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.no-js .hero-gallery-ui { display: none; }
@media (max-width: 820px) {
  .hero-gallery { height: 92vw; min-height: 320px; }
  .hero-slide figcaption { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
  .hero-slide.is-active img { animation: none; }
}

/* Home feature image: single full-bleed photo with a gentle drift-in on load */
.hero-image--feature { overflow: hidden; background: var(--dark); }
.hero-image--feature img { animation: hero-drift 2.8s var(--ease) both; }
@media (prefers-reduced-motion: reduce) { .hero-image--feature img { animation: none; } }

/* =========================================================
   Slideshow (hup! extensions page) — cross-fade, arrows,
   counter, progress, pause, swipe. Lazy-loads each photo.
   ========================================================= */
.slideshow { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--dark); aspect-ratio: 16 / 9; max-height: calc(100vh - 120px); width: 100%; }
.slideshow:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.slide.is-active { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto !important; border-radius: 0 !important; }
.slide.is-active img { animation: hero-drift 7s ease-out both; }
.slide::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(24, 26, 22, .72), rgba(24, 26, 22, .3) 45%, rgba(24, 26, 22, 0)); }
.slide figcaption, .slideshow-bar { text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
.slide figcaption { position: absolute; z-index: 2; left: clamp(16px, 2.5vw, 28px); bottom: 64px; color: #f7f4ef; font-size: clamp(.95rem, 1.3vw, 1.1rem); opacity: 0; transform: translateY(6px); transition: opacity .7s .4s var(--ease), transform .7s .4s var(--ease); }
.slide.is-active figcaption { opacity: 1; transform: none; }
.slide-kind { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(247, 244, 239, .8); margin-bottom: 4px; }
.slideshow-arrow {
  position: absolute; z-index: 4; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(247, 244, 239, .6); background: rgba(28, 30, 25, .25); color: #fff; font-size: 1.2rem; cursor: pointer;
  display: grid; place-items: center; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); transition: background-color .25s var(--ease);
}
.slideshow-arrow:hover { background: rgba(28, 30, 25, .5); }
.slideshow-arrow:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.slideshow-prev { left: clamp(10px, 2vw, 20px); }
.slideshow-next { right: clamp(10px, 2vw, 20px); }
.slideshow-bar { position: absolute; z-index: 4; left: clamp(16px, 2.5vw, 28px); right: clamp(16px, 2.5vw, 28px); bottom: 18px; display: flex; align-items: center; gap: 16px; color: #f7f4ef; font-size: .85rem; }
.slideshow-count { font-variant-numeric: tabular-nums; min-width: 3.5em; }
.slideshow-progress { flex: 1; height: 2px; background: rgba(247, 244, 239, .3); position: relative; overflow: hidden; }
.slideshow-progress span { position: absolute; inset: 0 auto 0 0; width: 10%; background: #f7f4ef; transition: width .6s var(--ease); }
.slideshow-pause { min-height: 32px; padding: 4px 14px; border-radius: 999px; border: 1px solid rgba(247, 244, 239, .5); background: transparent; color: #f7f4ef; font: 500 .8rem var(--font); cursor: pointer; }
.slideshow-pause:hover { border-color: #f7f4ef; }
.slideshow-pause:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.no-js .slideshow-arrow, .no-js .slideshow-bar { display: none; }
@media (max-width: 820px) {
  .slideshow { aspect-ratio: 4 / 3; }
  .slideshow-arrow { width: 40px; height: 40px; top: 12px; transform: none; }
  .slideshow-prev { left: auto; right: 60px; }
  .slideshow-next { right: 12px; }
  .slide figcaption { bottom: 56px; right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .slide, .slide figcaption { transition: none; }
  .slide.is-active img { animation: none; }
}

/* =========================================================
   Gallery (projects.html) — even grid, matching crops,
   short captions. Same --gap as every other grid.
   ========================================================= */
.gallery-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.gallery-item { margin: 0; }
.gallery-item figure { margin: 0; }
.gallery-media { overflow: hidden; border-radius: var(--radius); background: var(--surface-2); }
.gallery-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
.gallery-item:hover .gallery-media img { transform: scale(1.03); }
.gallery-item figcaption { padding-top: 14px; font-family: var(--font-head); font-size: 1.05rem; font-weight: 400; color: var(--ink); line-height: 1.35; }
.gallery-item figcaption .tag { display: flex; margin-bottom: 6px; font-family: var(--font); }
.gallery-note { margin-top: clamp(32px, 4vw, 48px); padding-top: 20px; border-top: 1px solid var(--line); font-size: .9rem; }
@media (max-width: 960px) { .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .gallery-item:hover .gallery-media img { transform: none; } }

/* Social icons (footer + contact panel) */
.social-links { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.social-links li { margin: 0 !important; }
.social-links a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid currentColor; text-decoration: none; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.social-links svg { width: 20px; height: 20px; }
.social-links--footer a { color: var(--dark-ink); border-color: rgba(239,234,226,.35); }
.social-links--footer a:hover { background: var(--dark-ink); color: var(--dark); border-color: var(--dark-ink); text-decoration: none; }
.social-links--contact { margin-top: 0; }
.social-links--contact a { color: var(--accent); border-color: var(--line); background: var(--bg); }
.social-links--contact a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.social-links a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* =========================================================
   Home page — conversion refinements
   ========================================================= */
.hero-reassure { margin: 14px 0 0; font-size: .875rem; color: var(--muted); }
.proof-strip { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); border-bottom: 1px solid var(--line); }
.proof-strip li { margin: 0; padding: 22px 0 24px; display: flex; flex-direction: column; gap: 2px; }
.proof-strip strong { font-family: var(--font-head); font-weight: 400; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink); }
.proof-strip span { font-size: .875rem; color: var(--muted); }
.route-best { font-size: .95rem; color: var(--muted); padding-top: 12px; border-top: 1px solid var(--line); margin-bottom: 1.25rem; }
.route-best strong { color: var(--ink); font-weight: 600; }
@media (max-width: 820px) {
  .proof-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 0; }
  .proof-strip li { padding: 16px 0; }
}

/* Mobile quick-contact bar: always one tap from a call, a chat or an enquiry */
.mobile-cta { display: none; }
@media (max-width: 820px) {
  .mobile-cta {
    display: grid; grid-template-columns: auto auto 1fr; gap: 8px; align-items: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(247, 244, 239, .97); border-top: 1px solid var(--line);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .mobile-cta a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid #b9b0a2; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .9rem; }
  .mobile-cta svg { width: 18px; height: 18px; }
  .mobile-cta .mobile-cta-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}

/* ---------- hup! benefits ---------- */
.benefits { row-gap: clamp(32px, 4vw, 56px); }
.benefit h3 { margin: 1.25rem 0 .4em; }
.benefit p { color: var(--muted); margin: 0; }
.benefit-icon { display: grid; place-items: center; width: 112px; aspect-ratio: 1; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.benefit-icon img { width: 84%; height: auto; }
@media (max-width: 640px) {
  .benefit { display: grid; grid-template-columns: 88px 1fr; column-gap: 20px; align-items: start; }
  .benefit-icon { width: 88px; grid-row: span 2; }
  .benefit h3 { margin-top: .2rem; }
}


/* ---------- Featured project (Gallery) ---------- */
.project-feature { gap: clamp(32px, 6vw, 96px); }
.project-feature-media { margin: 0; }
.project-feature-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 60%; border-radius: var(--radius); }
.project-feature-media figcaption { margin-top: .75rem; font-size: .8rem; color: var(--label); }
.project-specs { margin: 2rem 0 0; border-top: 1px solid var(--line); }
.project-specs > div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.project-specs dt { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--label); align-self: center; }
.project-specs dd { margin: 0; color: var(--ink); }
@media (max-width: 640px) { .project-specs > div { grid-template-columns: 7.5rem 1fr; } }
.project--flip > .project-feature-media { order: 2; }
.project-quote { margin: 2rem 0 0; padding: 0 0 0 24px; border-left: 1px solid var(--ink); }
.project-quote p { font-family: var(--font-head); font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 300; line-height: 1.55; color: var(--ink); margin: 0 0 .75rem; }
.project-quote footer { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--label); }
.project-more { max-width: 46rem; text-align: center; margin-inline: auto; }
@media (max-width: 820px) { .project--flip > .project-feature-media { order: 0; } }
.project-quote p + p { margin-top: 0; }
.project-quote footer { margin-top: 1rem; }
.project-quote .stars { display: flex; gap: 4px; margin: 0 0 1rem; }
.project-quote .stars svg { width: 18px; height: 18px; fill: var(--accent); }

/* ---------- Footer intro ---------- */
.footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 40px; padding-bottom: clamp(32px, 4vw, 48px); margin-bottom: clamp(36px, 4.5vw, 56px); border-bottom: 1px solid rgba(239,234,226,.15); }
.footer-top .logo { margin-bottom: 0; }
.footer-tagline { font-family: var(--font-head); font-weight: 300; font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.4; color: var(--dark-ink); margin: 0; }
.footer-grid li { line-height: 1.5; }

/* ---------- See it in person ---------- */
.visit-points { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.visit-points li { display: grid; gap: .25rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.visit-points strong { font-family: var(--font-head); font-weight: 400; font-size: 1.15rem; color: var(--ink); }
.visit-points span { color: var(--muted); }
@media (max-width: 900px) { .footer-grid { row-gap: 44px; } }
@media (max-width: 520px) { .footer-grid { row-gap: 40px; } .footer-top { flex-direction: column; align-items: flex-start; } }

/* hup! savings */
.savings { list-style: none; margin: 0; padding: 0; counter-reset: save; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px) var(--gap); }
.savings li { counter-increment: save; border-top: 1px solid var(--line); padding-top: 20px; }
.savings li::before { content: counter(save, decimal-leading-zero); display: block; font-family: var(--font-head); font-weight: 300; font-size: 1.6rem; line-height: 1; color: var(--accent); margin-bottom: 14px; }
.savings h3 { font-size: 1.2rem; margin-bottom: .4em; }
.savings p { color: var(--muted); margin: 0; }
.savings-note { margin: clamp(28px, 4vw, 44px) 0 0; padding: 18px 22px; border-left: 3px solid var(--accent); background: var(--surface); max-width: 46rem; }
@media (max-width: 900px) { .savings { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .savings { grid-template-columns: 1fr; } }

/* hup! roofs and shapes guide */
.guide-jump { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 1.5rem 0 0; padding: 0; }
.guide-jump a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; color: var(--ink); text-decoration: none; background: var(--bg); }
.guide-jump a:hover { border-color: var(--accent); color: var(--accent); }
.guide-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(20px, 2.4vw, 32px); }
.guide-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.guide-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.guide-card { display: flex; flex-direction: column; scroll-margin-top: 96px; }
.guide-thumb { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; }
.section--alt .guide-thumb { background: var(--bg); }
.guide-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; }
.guide-card h3 { font-size: 1.25rem; margin-bottom: .35em; }
.guide-card > p { color: var(--muted); margin: 0 0 .8rem; font-size: .95rem; }
.guide-facts { list-style: none; margin: auto 0 0; padding: 0; font-size: .85rem; }
.guide-facts li { padding: 7px 0; border-top: 1px solid var(--line); }
.guide-tags { margin: auto 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .8rem; }
.guide-tags-label { width: 100%; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--label); }
.guide-tag { padding: 3px 10px; border-radius: 999px; background: rgba(75, 89, 69, .1); color: var(--accent); font-weight: 500; }
.guide-note { margin-top: 1.5rem; font-size: .85rem; color: var(--muted); max-width: 44rem; }
.roof-strip { list-style: none; margin: clamp(24px, 3vw, 36px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.roof-strip a { display: block; color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 500; }
.roof-strip .guide-thumb { margin-bottom: 8px; }
.roof-strip a:hover { color: var(--accent); }
@media (max-width: 980px) { .guide-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .guide-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) { .guide-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .roof-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .guide-grid--4, .guide-grid--3 { grid-template-columns: 1fr; } }
.guide-grid > li, .roof-strip > li, .savings > li, .guide-facts > li { margin-top: 0; }
.guide-card > p.guide-tags { margin: auto 0 0; padding-top: 6px; color: inherit; }
@media (max-width: 460px) {
  .guide-grid--4, .guide-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  #roof-systems .guide-grid { grid-template-columns: 1fr; }
  .guide-card h3 { font-size: 1.05rem; }
  .guide-card > p { font-size: .85rem; }
  .guide-tag { padding: 2px 8px; }
}
.guide-jump > li { margin: 0; } .guide-jump a { line-height: 1.2; }
.hero--page .guide-jump { grid-column: 1 / -1; margin-top: clamp(20px, 3vw, 32px); }

/* Downloads */
.downloads { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(32px, 4vw, 48px); }
.download { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin: 0; max-width: 60rem; }
.download-cover { display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 40px -24px rgba(47, 51, 43, .45); transition: transform .2s ease; }
.download-cover:hover { transform: translateY(-3px); }
.download-cover img { display: block; width: 100%; height: auto; }
.download h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .4em; }
.download p { color: var(--muted); }
.download-meta { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--label) !important; margin: 0 0 1.2rem; }
@media (max-width: 600px) { .download { grid-template-columns: 1fr; } .download-cover { max-width: 220px; } }
