/* SN Cladding website. All styles.
   Brand (../../../../DESIGN.md): near-black, one orange, Inter, Simon's own photos. Page titles are heavy capitals,
   as in his case study. Section headings are sentence case, labels are kept for data (key facts, tables).
   The layouts follow established UK cladding contractors' sites (see ../../README.md, "Design references"):
   full-width photo heroes, key-facts tables with thin rules, photo cards with the title under the photo,
   a dark sector panel, plain scope lists. No decoration that a real contractor's site would not have.
   Icons (src/_includes/icons.js) are solid shapes in the style of his logo. Drawings (src/_includes/drawings/) are
   thin-line technical drawings of real building parts. They go only where they help a visitor find or understand something. */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --orange: #F39200;        /* the brand orange: buttons, and accents on dark */
  --orange-hi: #FFA21F;     /* button hover */
  --orange-deep: #B34700;   /* orange for text on white */
  --black: #0E0E10;         /* main dark ground */
  --black-2: #141416;       /* panels on dark */
  --plate: #000000;         /* footer, utility bar; behind the logo */
  --white: #FFFFFF;
  --ink: #16161A;           /* headings on white */
  --body: #3A3A3F;          /* body text on white */
  --soft: #6B6B72;          /* labels on white */
  --muted: #B5B5B8;         /* secondary text on dark */
  --line-dark: #2A2A30;     /* a line that shows on dark */
  --line-light: #D9D9DC;
  --grey: #F3F3F4;          /* quiet band on white */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1280px;
  --pad: clamp(16px, 4vw, 40px);
  --sec: clamp(64px, 8vw, 112px);
  --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: 96px; }
body { margin: 0; background: var(--white); color: var(--body); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p, h1, h2, h3, dl, dd, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { color: var(--ink); text-wrap: balance; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--orange); color: #000; padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ───── Type parts ───── */
.label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); line-height: 1.4; }
.statement { font-size: clamp(23px, 2.5vw, 34px); font-weight: 500; line-height: 1.32; letter-spacing: -.018em; color: var(--ink); max-width: 1020px; text-wrap: pretty; }
.arrow { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: square; transition: transform .25s var(--ease); }
a:hover > .arrow, a:hover .card-more .arrow, .btn:hover .arrow { transform: translateX(3px); }

.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.head-row h2, .sectors h2, .tender h2, .scope-head h2, .cta h2 { font-size: clamp(30px, 3.5vw, 48px); font-weight: 800; line-height: 1.04; letter-spacing: -.032em; }
.head-row p { max-width: 460px; font-size: 16px; }

.link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--orange-deep); text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-light { color: var(--orange); }

/* ───── Buttons ───── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border: 1px solid transparent; border-radius: 2px; font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; white-space: nowrap; }
.btn-orange { background: var(--orange); color: #000; }
.btn-orange:hover { background: var(--orange-hi); }
.btn-line { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-line:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #26262b; }
.btn-ghost { border-color: var(--line-light); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ───── Preview bar, utility bar, header ───── */
.preview-bar { background: #26262B; color: var(--muted); font-size: 13px; line-height: 1.45; padding: 9px 0; }
.preview-bar b { color: var(--orange); font-weight: 600; margin-right: 8px; }
.util { background: var(--plate); color: #8E8E94; font-size: 13px; }
.util-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 38px; }
.util-contact { display: flex; gap: 24px; }
.util a { color: var(--white); text-decoration: none; }
.util a:hover { color: var(--orange); }

.hdr { position: sticky; top: 0; z-index: 50; background: var(--black); border-bottom: 1px solid #1F1F24; color: var(--white); }
.hdr-in { display: flex; align-items: center; gap: 32px; min-height: 80px; }
.logo { flex: none; margin-right: auto; }
.logo img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 500; }
.nav > a, .dd-btn { color: rgba(255,255,255,.88); text-decoration: none; padding: 8px 0; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.nav > a:hover, .dd-btn:hover, .nav > a[aria-current] { color: var(--orange); }
.dd { position: relative; }
.dd-btn svg { width: 10px; height: 6px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .2s; }
.dd.open .dd-btn svg { transform: rotate(180deg); }
.dd-panel { display: none; position: absolute; top: calc(100% + 22px); left: -18px; min-width: 270px; background: var(--black-2); border: 1px solid #26262B; border-top: 2px solid var(--orange); padding: 8px; }
.dd.open .dd-panel { display: grid; }
.dd-panel { width: 380px; }
.dd-wide { width: 680px; grid-template-columns: 1fr 1fr; }
.dd-panel a { display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; align-items: center; padding: 12px; text-decoration: none; }
.dd-panel .ico { grid-row: span 2; width: 34px; height: 34px; }
.dd-panel b { font-size: 15px; font-weight: 600; color: rgba(255,255,255,.94); }
.dd-panel span { font-size: 13px; line-height: 1.35; color: #8E8E94; margin-top: 2px; }
.dd-panel a:hover { background: #1F1F24; }
.dd-panel a:hover b { color: var(--orange); }
.menu-btn { display: none; align-items: center; gap: 10px; background: none; border: 1px solid #3A3A40; color: var(--white); padding: 10px 14px; font-size: 14px; font-weight: 600; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 16px; height: 2px; background: currentColor; position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -5px; } .menu-btn span::after { top: 5px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
.mnav { border-top: 1px solid #1F1F24; padding: 8px 0 28px; max-height: calc(100vh - 80px); overflow-y: auto; }
.mnav .label { color: #8E8E94; margin: 20px 0 6px; }
.mnav-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.mnav-list a { padding: 9px 0; font-size: 16px; text-decoration: none; border-bottom: 1px solid #1F1F24; }
.mnav .btn { margin-top: 24px; width: 100%; }
.mnav .btn-call { margin-top: 12px; }

/* ───── Home hero ───── */
.hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(580px, 84vh, 840px); background: var(--black); color: var(--white); overflow: hidden; }
.hero-photo, .phero-photo { position: absolute; inset: 0; }
.hero-photo img, .phero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo img { object-position: 60% 55%; }
.hero-photo::after, .phero-photo::after { content: ""; position: absolute; inset: 0; }
.hero-photo::after { background: linear-gradient(90deg, rgba(10,10,12,.86) 0%, rgba(10,10,12,.62) 42%, rgba(10,10,12,.12) 78%), linear-gradient(0deg, rgba(10,10,12,.7) 0%, rgba(10,10,12,0) 45%); }
.hero-in { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding-top: 120px; padding-bottom: clamp(40px, 6vw, 72px); }
.hero-txt { max-width: 860px; }
.kicker { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.kicker::before { content: ""; width: 32px; height: 2px; background: var(--orange); }
.hero h1 { color: var(--white); font-size: clamp(40px, 5.3vw, 80px); font-weight: 900; line-height: .93; letter-spacing: -.03em; text-transform: uppercase; margin: 20px 0 24px; }
.lede { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; color: rgba(255,255,255,.86); max-width: 580px; margin-bottom: 32px; }
.hero-credit { flex: none; display: grid; grid-template-columns: 1fr auto; column-gap: 24px; align-items: center; width: 330px; padding: 18px 20px 18px 22px; background: rgba(14,14,16,.92); border-left: 3px solid var(--orange); text-decoration: none; }
.hero-credit .label { color: var(--orange); grid-column: 1; }
.hero-credit b { grid-column: 1; font-size: 17px; margin-top: 4px; }
.hero-credit span:not(.label) { grid-column: 1; font-size: 14px; color: var(--muted); }
.hero-credit .arrow { grid-column: 2; grid-row: 1 / span 3; color: var(--orange); width: 20px; height: 20px; }

/* ───── Sections ───── */
.sec { padding: var(--sec) 0; }
.sec-tight { padding-top: 0; }
.sec-grey { background: var(--grey); }
.sec-dark { background: var(--black); color: var(--muted); }
.sec-dark h2, .sec-dark h3 { color: var(--white); }
.sec-dark .head-row p { color: var(--muted); }

/* Statement and key facts */
.intro { padding-bottom: clamp(56px, 7vw, 96px); }
.keyfacts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--ink); }
.keyfacts > div { padding: 20px 24px 0 0; }
.keyfacts > div + div { padding-left: 24px; border-left: 1px solid var(--line-light); }
.keyfacts dt { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.keyfacts dd { margin-top: 8px; font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--ink); }

/* Photo cards (services, projects) */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 56px; }
.card { display: flex; flex-direction: column; text-decoration: none; color: var(--body); font-size: 15px; line-height: 1.5; }
.card-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #DDD; margin-bottom: 18px; }
.cards-2 .card-img { aspect-ratio: 16 / 9; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-img img { transform: scale(1.04); }
.card b { font-size: 20px; font-weight: 700; letter-spacing: -.015em; color: var(--ink); line-height: 1.25; margin-bottom: 6px; }
.card-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; font-size: 14px; font-weight: 600; color: var(--orange-deep); }
.card:hover b { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: var(--orange); }

.also { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; margin-top: 48px; }
.also a { display: grid; grid-template-columns: 1fr auto; align-content: start; column-gap: 12px; height: 100%; padding: 20px 0; border-top: 1px solid var(--ink); text-decoration: none; }
.also b { font-size: 17px; font-weight: 700; color: var(--ink); }
.also span { grid-column: 1; font-size: 14px; line-height: 1.5; margin-top: 4px; }
.also .ico { grid-column: 1 / -1; width: 52px; height: 52px; margin-bottom: 14px; }
.also .arrow { grid-column: 2; grid-row: 2; color: var(--orange-deep); margin-top: 4px; }
.also a:hover b { color: var(--orange-deep); }

/* Featured project */
.feature { position: relative; }
.feature-img { display: block; aspect-ratio: 16 / 8.2; overflow: hidden; background: #222; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.feature:hover .feature-img img { transform: scale(1.025); }
.feature-panel { position: absolute; top: 32px; right: 32px; bottom: 32px; width: min(430px, 40%); display: flex; flex-direction: column; background: var(--black); color: var(--muted); padding: clamp(28px, 3vw, 40px); font-size: 15px; line-height: 1.55; }
.feature-panel .label { color: var(--orange); }
.feature-panel h3 { font-size: clamp(28px, 2.6vw, 36px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin: 12px 0 14px; color: var(--white); }
.feature-panel h3 a { text-decoration: none; }
.feature-panel .link { margin-top: auto; padding-top: 20px; }
.meta { margin-top: 22px; }
.meta > div { display: grid; grid-template-columns: 142px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-dark); }
.meta dt { font-size: 11px; font-weight: 600; letter-spacing: .1em; white-space: nowrap; text-transform: uppercase; color: #8E8E94; padding-top: 3px; }
.meta dd { font-size: 14.5px; color: var(--white); line-height: 1.4; }

/* Two ways to work with us */
.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.way { display: flex; flex-direction: column; border: 1px solid var(--line-light); border-top: 3px solid var(--ink); padding: clamp(28px, 3.5vw, 44px); font-size: 16px; }
.way .label { color: var(--orange-deep); }
.way .ico-way { width: 84px; height: 84px; margin: -4px 0 20px -2px; }
.way h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; margin: 10px 0 14px; }
.way-steps, .way-list { margin: 24px 0 28px; }
.way-steps li, .way-list li { display: flex; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line-light); font-size: 15.5px; font-weight: 500; color: var(--ink); }
.way-steps span { font-size: 13px; font-weight: 700; color: var(--orange-deep); font-variant-numeric: tabular-nums; padding-top: 1px; }
.way-list li::before { content: ""; flex: none; width: 7px; height: 7px; background: var(--orange); margin-top: 8px; }
.way .link { margin-top: auto; }
.wide-shot { margin-top: 24px; }
.wide-shot img { aspect-ratio: 21 / 8; object-fit: cover; width: 100%; }
.wide-shot figcaption { font-size: 14px; margin-top: 12px; color: var(--soft); }

/* Sectors: dark panel */
.sectors { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--black-2); }
.sectors-txt { padding: clamp(32px, 5vw, 64px); }
.sectors-txt .label { color: var(--orange); }
.sectors h2 { margin-top: 12px; }
.sector-list { margin-top: 32px; }
.sector-list a { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; column-gap: 18px; padding: 17px 0; border-top: 1px solid var(--line-dark); text-decoration: none; }
.sector-list li:last-child a { border-bottom: 1px solid var(--line-dark); }
.sector-list b { font-size: 18px; font-weight: 700; color: var(--white); letter-spacing: -.01em; }
.sector-list .ico { grid-row: 1 / span 2; width: 40px; height: 40px; }
.sector-list span { grid-column: 2; font-size: 14px; color: var(--muted); }
.sector-list .chev { grid-column: 3; grid-row: 1 / span 2; width: 20px; height: 20px; fill: none; stroke: var(--orange); stroke-width: 1.8; transition: transform .25s var(--ease); }
.sector-list a:hover b { color: var(--orange); }
.sector-list a:hover .chev { transform: translateX(3px); }
.sectors-img { position: relative; min-height: 420px; }
.sectors-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Accreditations and the products we fit */
#accreditations { padding-top: var(--sec); }
.tender { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 32px 64px; align-items: start; }
.tender p { margin-top: 14px; max-width: 420px; font-size: 16px; }
.makers { display: flex; align-items: center; gap: 20px 48px; flex-wrap: wrap; margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--line-light); }
.makers-solo { margin-top: 0; padding-top: 0; border-top: 0; }   /* the live site before the accreditations come in */
.makers ul { display: flex; flex-wrap: wrap; gap: 12px 44px; }
.makers li { font-size: 21px; font-weight: 800; letter-spacing: -.02em; color: #8A8A90; }

/* Call to action band */
.cta { background: var(--orange); color: #000; padding: clamp(56px, 7vw, 88px) 0; }
.cta-in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px 72px; align-items: center; }
.cta-dw { display: none; }
@media (min-width: 1180px) {
  .cta-in { grid-template-columns: 230px minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px 56px; }
  .cta-dw { display: block; }
}
.cta h2 { color: #000; }
.cta p { font-size: 18px; margin: 16px 0 28px; max-width: 560px; color: rgba(0,0,0,.8); }
.cta-contact { border-left: 1px solid rgba(0,0,0,.25); padding-left: clamp(24px, 4vw, 48px); }
.cta-contact > div { padding: 16px 0; border-bottom: 1px solid rgba(0,0,0,.18); }
.cta-contact > div:first-child { padding-top: 0; }
.cta-contact dt { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(0,0,0,.62); }
.cta-contact dd { font-size: 22px; font-weight: 700; margin-top: 4px; }
.cta-contact a { text-decoration: none; }

/* Footer */
.ftr { background: var(--plate); color: #9A9AA0; font-size: 15px; padding-top: clamp(56px, 7vw, 80px); }
.ftr-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 40px 48px; }
.ftr-brand img { width: 150px; }
.ftr-brand p { margin-top: 18px; max-width: 300px; line-height: 1.55; }
.ftr-h { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin-bottom: 14px; }
.ftr nav a { display: block; padding: 5px 0; text-decoration: none; }
.ftr-list ul { list-style: none; margin: 0; padding: 0; }
.ftr-list li { padding: 5px 0; }
.ftr nav a:hover, .ftr-contact a:hover { color: var(--orange); }
.ftr-contact dl > div { display: grid; grid-template-columns: 64px 1fr; gap: 8px; padding: 6px 0; }
.ftr-contact dt { color: #6E6E74; }
.ftr-contact dd { color: var(--white); }
.ftr-contact a { text-decoration: none; }
.ftr-contact .btn { margin-top: 20px; }
.ftr-legal { margin-top: clamp(48px, 6vw, 72px); padding-bottom: 28px; font-size: 13px; color: #6E6E74; }
.ftr-legal p { padding-top: 22px; border-top: 1px solid #1F1F24; }

/* ───── Project page ───── */
.phero { position: relative; display: flex; align-items: flex-end; min-height: clamp(460px, 72vh, 740px); background: var(--black); color: var(--white); overflow: hidden; }
.phero-photo img { object-position: 50% 45%; }
.phero-photo::after { background: linear-gradient(0deg, rgba(10,10,12,.88) 0%, rgba(10,10,12,.35) 50%, rgba(10,10,12,.15) 100%); }
.phero-in { position: relative; padding-top: 120px; padding-bottom: clamp(40px, 5vw, 64px); }
.crumbs { font-size: 14px; color: rgba(255,255,255,.72); }
.crumbs a { text-decoration: none; color: rgba(255,255,255,.9); }
.crumbs a:hover { color: var(--orange); }
.crumbs span { margin: 0 6px; color: rgba(255,255,255,.4); }
.phero h1 { color: var(--white); font-size: clamp(46px, 7.4vw, 112px); font-weight: 900; line-height: .9; letter-spacing: -.035em; text-transform: uppercase; margin: 20px 0 16px; }
.phero-sub { font-size: clamp(16px, 1.4vw, 19px); color: rgba(255,255,255,.85); max-width: 700px; }
.phero-plain { min-height: 0; }
.phero-plain .phero-in { padding-top: clamp(56px, 7vw, 88px); }
.phero-plain h1 { font-size: clamp(36px, 5.2vw, 72px); }
.phero-plain .phero-sub { color: var(--muted); }
.phero-plain .btns { margin-top: 32px; }
.phero-ico .phero-in { padding-right: calc(var(--pad) + clamp(150px, 16vw, 220px)); }
.phero-mark { position: absolute; right: var(--pad); bottom: clamp(40px, 5vw, 64px); }
.phero-mark .ico { width: clamp(110px, 12vw, 168px); height: auto; aspect-ratio: 1; }

.overview { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 48px clamp(48px, 7vw, 104px); align-items: start; }
.overview-facts { position: sticky; top: 112px; }
.facts { border-top: 2px solid var(--ink); }
.facts > div { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line-light); font-size: 14.5px; line-height: 1.45; }
.facts dt { font-weight: 600; color: var(--ink); flex: none; }
.facts dd { text-align: right; }
.overview-txt .statement { font-size: clamp(22px, 2.2vw, 30px); margin-bottom: 8px; }
.overview-txt h2 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin: 40px 0 4px; }
.overview-txt p:not(.statement) { margin-top: 12px; max-width: 680px; }

.scope { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 32px 64px; align-items: start; }
.scope-head p { margin-top: 14px; font-size: 16px; max-width: 360px; }
.spec { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); }
.spec th, .spec td { padding: 16px 0; border-bottom: 1px solid var(--line-light); text-align: left; vertical-align: top; font-size: 16px; line-height: 1.45; }
.spec th { width: 36%; padding-right: 24px; font-weight: 600; color: var(--ink); }
.spec .fig, .key .fig { display: inline-grid; place-items: center; width: 22px; height: 22px; margin: -2px 10px 0 0; border-radius: 50%; background: var(--orange); color: #000; font-size: 12px; font-weight: 700; vertical-align: middle; }
.scope-dw { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); }
.buildup figcaption { margin-top: 14px; font-size: 13.5px; color: var(--soft); }
/* The roof build-up: the cutaway beside its numbered parts list, then the rest of the specification */
.cutaway { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px 64px; align-items: start; margin-top: clamp(32px, 4vw, 48px); }
.sub-h { font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: var(--ink); }
.key { list-style: none; margin: 18px 0 0; padding: 0; border-top: 2px solid var(--ink); }
.key li { display: grid; grid-template-columns: 34px minmax(0, 1fr); padding: 13px 0; border-bottom: 1px solid var(--line-light); font-size: 15px; line-height: 1.45; }
.key .fig { margin: 1px 0 0; }
.key b { font-size: 16px; font-weight: 600; color: var(--ink); }
.key .ln { display: block; }
.profile { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-light); }
.profile p { flex: none; font-size: 14px; color: var(--soft); line-height: 1.4; }
.profile b { display: block; font-size: 16px; font-weight: 700; color: var(--ink); }
.profile .dw { flex: 1 1 240px; }
.rest { margin-top: clamp(48px, 6vw, 80px); }

.approach { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px clamp(40px, 5vw, 72px); align-items: start; }
.steps li { display: grid; grid-template-columns: 52px 1fr; padding: 24px 0; border-top: 1px solid var(--line-dark); }
.steps li:last-child { border-bottom: 1px solid var(--line-dark); }
.step-num { font-size: 15px; font-weight: 700; color: var(--orange); font-variant-numeric: tabular-nums; padding-top: 2px; }
.steps h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.steps p { font-size: 15.5px; margin-top: 6px; line-height: 1.6; }
.works { display: grid; gap: 24px; }
.works img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
figcaption { font-size: 14px; margin-top: 10px; color: var(--soft); }
.sec-dark figcaption { color: #8E8E94; }

.zoom { display: block; width: 100%; padding: 0; border: 0; background: #222; cursor: zoom-in; overflow: hidden; }
.zoom img { transition: transform .6s var(--ease); }
.zoom:hover img { transform: scale(1.03); }

.ba { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ba img, .gallery img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.ba figcaption b { display: inline-block; margin-right: 10px; padding: 3px 8px; background: var(--black); color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; vertical-align: 1px; }
.ba figcaption b.after { background: var(--orange); color: #000; }
.gallery-h { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin: clamp(48px, 6vw, 80px) 0 24px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.after-gap { margin-top: 48px; max-width: 760px; }

.pnav { border-top: 1px solid var(--line-light); }
.pnav-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 24px; padding-bottom: 24px; flex-wrap: wrap; }
.pnav a { text-decoration: none; color: var(--ink); }
.pnav-all { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.pnav-all svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.pnav-next { display: flex; align-items: center; gap: 18px; }
.pnav-img { width: 112px; aspect-ratio: 3 / 2; overflow: hidden; flex: none; }
.pnav-img img { width: 100%; height: 100%; object-fit: cover; }
.pnav-next b { display: block; font-size: 17px; margin-top: 2px; }
.pnav-next .arrow { color: var(--orange-deep); width: 20px; height: 20px; }
.pnav a:hover b, .pnav-all:hover { color: var(--orange-deep); }

/* ───── "Part of the full site" pages ───── */
.stub-note { display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; padding: 16px 20px; background: var(--grey); border-left: 3px solid var(--orange-deep); font-size: 15px; margin-bottom: 48px; }
.stub-note b { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-deep); }
.stub-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 56px; align-items: start; }
.stub h2 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 16px; }
.ticks li { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line-light); font-size: 16px; color: var(--ink); }
.ticks li::before { content: ""; flex: none; width: 7px; height: 7px; background: var(--orange); margin-top: 9px; }
.stub-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 56px; }

/* ───── Facts still to come from Simon (preview only) ───── */
.gap { border: 1px dashed rgba(179,71,0,.55); background: #FFF8EF; padding: 20px 22px; font-size: 15px; line-height: 1.55; color: var(--body); }
.gap b { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-deep); margin-bottom: 8px; }
.gap ul { padding-left: 18px; list-style: disc; }
.gap li { margin-top: 6px; }
.gapline { display: inline; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--orange-deep); border-bottom: 1px dashed currentColor; }
.ftr .gapline, .sec-dark .gapline { color: var(--orange); }
.cta .gapline { color: #000; font-size: 15px; }

/* ───── Icons: solid shapes in the logo's gradient, cut by thin joints (src/_includes/icons.js) ───── */
.ico { flex: none; width: 40px; height: 40px; }

/* ───── A menu item or a card whose page is not built yet: it shows, but it is not a link (eleventy.config.js) ───── */
.is-soon { pointer-events: none; cursor: default; }
.is-soon .card-more, .is-soon > .arrow, .is-soon .chev { display: none; }

/* ───── Drawings (src/_includes/drawings/) ───── */
.dw { display: block; width: 100%; height: auto; overflow: visible; }
.dw path, .dw circle { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.dw .face { fill: var(--white); }
.dw .under { fill: #DCDCDF; }
.dw .edge { stroke-width: 2; }
.dw .rl { fill: #FDE3B8; stroke: #B86500; }
.dw .under.rl { fill: #F4C47A; }
.dw .ins { stroke: var(--soft); }
.dw .guide { stroke: #9A9AA0; stroke-dasharray: 4 4; }
.dw .leader { stroke: var(--soft); stroke-width: 1; }
.dw .mk { fill: var(--orange); stroke: none; }
.dw .mk-n { font: 700 15px var(--font); text-anchor: middle; fill: #000; }
.dw .thin { stroke-width: .9; }
/* The roof build-up cutaway (scripts/draw-roof-buildup.mjs). Steel is white and grey, the insulation is pale amber,
   the outer sheet is anthracite (its real colour), the existing rafter is a darker grey. */
.dw-cut path { stroke-width: 1.1; }
.dw-cut .st.top { fill: var(--white); }
.dw-cut .st.end { fill: #E6E6EA; }
.dw-cut .sp.top { fill: var(--white); }
.dw-cut .sp.front { fill: #D3D4D9; }
.dw-cut .sp.end { fill: #BFC0C6; }
.dw-cut .ex.top { fill: #A9ACB3; }
.dw-cut .ex.front { fill: #8A8E96; }
.dw-cut .ex.end { fill: #70747C; }
.dw-cut .ins-f { fill: #FBE6BF; }
.dw-cut .ins { stroke: #D6AC66; stroke-width: 1; }
.dw-cut .cut { stroke-width: 1.6; }
.dw-cut .edge { stroke-width: 2; }
.dw-cut .seal { stroke: var(--orange-deep); stroke-width: 2.6; stroke-linecap: round; }
.dw-cut .fix { fill: var(--ink); stroke: none; }
.dw-cut .sh { stroke: #15181B; }
.dw-cut .sh.pan { fill: #3F474E; }
.dw-cut .sh.crest { fill: #56606A; }
.dw-cut .sh.flank { fill: #2A2F35; }
.dw-cut .sh.void { fill: #111315; }
.dw-cut .leader { stroke: var(--ink); stroke-width: 1.2; }
.dw-cut .tip { fill: var(--ink); stroke: none; }
.dw-cut .mk { stroke: var(--white); stroke-width: 2.5; }
.dw-cut .mk-n { font-size: 19px; }
.dw-cut .m { transform-box: fill-box; transform-origin: center; }
.dw-profile { max-width: 420px; }
.dw-profile .edge { stroke-width: 2.2; }
.dw-profile .dim { stroke: var(--soft); stroke-width: 1; }
.dw-profile .dim-t { font: 500 14px var(--font); fill: var(--soft); }
/* the drawing sheet, black lines on the orange band */
.dw-sheet path, .dw-sheet circle { stroke: rgba(0,0,0,.82); stroke-width: 1.3; }
.dw-sheet .sheet { fill: #FFA928; }
.dw-sheet .sheet-back { fill: #E58A00; stroke: rgba(0,0,0,.5); }
.dw-sheet .thin { stroke-width: .8; stroke: rgba(0,0,0,.55); }
.dw-sheet .grid { stroke-width: .8; stroke: rgba(0,0,0,.45); stroke-dasharray: 10 3 2 3; }
.dw-sheet .dim { stroke-width: 1; }
/* the roof plan with a missing sheet, on dark (404) */
.dw-plan path { stroke: rgba(255,255,255,.62); }
.dw-plan .face { fill: var(--black-2); }
.dw-plan .thin { stroke: rgba(255,255,255,.26); }
.dw-plan .gone { stroke: var(--orange); stroke-width: 1.6; stroke-dasharray: 7 5; }
.nf-dw { max-width: 440px; margin: 12px 0 8px; }

/* ───── Photo viewer ───── */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1400px, 94vw); max-height: 94vh; }
.lightbox::backdrop { background: rgba(0,0,0,.9); }
.lightbox img { max-width: 100%; max-height: 84vh; width: auto; margin: 0 auto; }
.lb-cap { color: var(--muted); font-size: 14px; margin-top: 12px; text-align: center; }
.lb-close { display: block; margin: 0 0 10px auto; background: var(--orange); color: #000; border: 0; padding: 9px 16px; font-weight: 600; font-size: 14px; cursor: pointer; }

/* ───── Motion: a quiet fade on load and on scroll ───── */
.js .in { animation: rise .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 100ms); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rv.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .in { animation: none; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .card-img img, .zoom img, .feature-img img, .arrow { transition: none; }
}

/* ───── Desktop menus open on hover too ───── */
@media (hover: hover) and (min-width: 1061px) {
  .dd:hover .dd-panel { display: grid; }
  .dd::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 24px; }
}

/* ───── Smaller screens ───── */
@media (max-width: 1060px) {
  .nav, .hdr-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .hdr-in { min-height: 68px; }
  .logo img { height: 42px; }
  .util { display: none; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .also { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-img { aspect-ratio: 16 / 9; }
  .feature-panel { position: static; width: auto; }
  .ftr-in { grid-template-columns: 1fr 1fr; }
  .overview, .scope, .cutaway, .approach, .tender { grid-template-columns: minmax(0, 1fr); }
  .overview-facts { position: static; }
  .sectors { grid-template-columns: minmax(0, 1fr); }
  .sectors-img { min-height: 300px; order: -1; }
  .buildup { max-width: 720px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { min-height: 0; }
  .hero-photo::after { background: linear-gradient(0deg, rgba(10,10,12,.94) 0%, rgba(10,10,12,.78) 50%, rgba(10,10,12,.3) 100%); }
  .hero-in { flex-direction: column; align-items: stretch; padding-top: 180px; }
  .hero-credit { width: auto; }
  .btns .btn { flex: 1 1 100%; }
  .keyfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .keyfacts > div { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line-light); }
  .keyfacts > div + div { padding-left: 0; border-left: 0; }
  .keyfacts > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line-light); }
  .cards, .cards-2, .also, .ways, .ba, .gallery, .stub-cols, .cta-in, .ftr-in { grid-template-columns: minmax(0, 1fr); }
  .cards { gap: 36px; }
  .card-img { aspect-ratio: 16 / 10; }
  .also { margin-top: 40px; }
  .wide-shot img { aspect-ratio: 16 / 10; }
  .meta > div { grid-template-columns: 132px 1fr; }
  .kicker { font-size: 12px; letter-spacing: .1em; gap: 10px; }
  .kicker::before { width: 20px; }
  .cta-contact { border-left: 0; padding-left: 0; border-top: 1px solid rgba(0,0,0,.25); padding-top: 20px; }
  .makers li { font-size: 18px; }
  .phero { min-height: 520px; }
  .facts > div { font-size: 14px; }
  .spec th { width: 42%; font-size: 15px; } .spec td { font-size: 15px; }
  .dw-cut .m { transform: scale(1.5); }   /* the number markers stay readable on a phone */
  .steps li { grid-template-columns: 40px 1fr; }
  .pnav-in { flex-direction: column; align-items: flex-start; }
  .mnav-list { grid-template-columns: 1fr; }
  .phero-ico .phero-in { padding-right: var(--pad); }
  .phero-mark { display: none; }
  .way .ico-way { width: 68px; height: 68px; }
  .sector-list a { grid-template-columns: 34px 1fr auto; column-gap: 14px; }
  .sector-list .ico { width: 34px; height: 34px; }
}
