:root {
  --paper: #f3efe6;
  --paper-deep: #e7e0d4;
  --paper-light: #fbf9f4;
  --ink: #202321;
  --ink-soft: #303431;
  --muted: #666960;
  --line: #c8c1b5;
  --line-dark: #4b4e49;
  --accent: #df702f;
  --accent-hover: #f0833d;
  --accent-dark: #6f2c0c;
  --white: #ffffff;
  --cream: #dfd2b6;
  --anthracite: #363a3b;
  --shadow: rgba(20, 22, 20, .16);
  --transparent: transparent;
  --max: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 1rem; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
svg { display: block; }
.shell { width: min(calc(100% - (var(--gutter) * 2)), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .75rem 1rem; background: var(--paper-light); color: var(--ink); font-weight: 700; }
.skip-link:focus { top: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 10; color: var(--paper-light); border-bottom: 1px solid var(--line-dark); }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { position: relative; display: inline-grid; grid-template-columns: auto auto; align-items: baseline; gap: .38rem; padding-right: 1.5rem; color: inherit; font-weight: 900; line-height: 1; letter-spacing: -.03em; text-decoration: none; }
.brand-main { font-size: 1.06rem; }
.brand-product { color: var(--accent); font-size: 1.06rem; }
.brand-mark { position: absolute; right: 0; top: -.16rem; width: .65rem; height: 1.4rem; border: 2px solid currentColor; border-left: 0; }
.nav { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.6rem); }
.nav a { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.nav a:not(.nav-enquire):hover { color: var(--accent); }
.nav-enquire { padding: .75rem 0; border-bottom: 2px solid var(--accent); }

.hero { position: relative; min-height: 790px; display: grid; align-items: center; overflow: hidden; padding: 9rem 0 5.5rem; background: var(--ink); color: var(--paper-light); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .2; background: repeating-linear-gradient(90deg, var(--transparent) 0, var(--transparent) calc(25% - 1px), var(--line-dark) 25%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr); align-items: center; gap: clamp(3rem, 7vw, 7rem); }
.overline { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-top: .75rem; margin: 0 0 clamp(2.2rem, 5vw, 4.2rem); border-top: 1px solid var(--line); color: var(--muted); font-size: .66rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.overline-light { border-color: var(--line-dark); color: var(--paper-deep); }
h1, h2 { font-weight: 800; letter-spacing: -.06em; line-height: .94; }
h1 { margin: 0; font-size: clamp(3.35rem, 7.1vw, 6.9rem); }
h2 { margin: 0; font-size: clamp(2.65rem, 5.4vw, 5.2rem); }
h1 em, h2 em { color: var(--accent); font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
.hero-lede { max-width: 40rem; margin: 2rem 0 0; color: var(--paper-deep); font-size: clamp(1.05rem, 1.7vw, 1.35rem); }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem 2rem; margin-top: 2.5rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 3.4rem; padding: .8rem 1.2rem; font-size: .69rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; text-decoration: none; }
.button-accent { background: var(--accent); color: var(--ink); }
.button-accent:hover { background: var(--accent-hover); }
.text-link { display: inline-flex; gap: 1rem; align-items: center; padding: .4rem 0; border-bottom: 1px solid currentColor; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.text-link:hover { color: var(--accent-dark); }
.text-link-light { color: var(--paper-light); }
.text-link-light:hover { color: var(--accent); }
.technical-figure { position: relative; margin: 0; padding: 1rem; border: 1px solid var(--line-dark); background: var(--ink-soft); box-shadow: 1.5rem 1.5rem 0 var(--shadow); }
.drawing-label, .technical-figure figcaption { color: var(--paper-deep); font-size: .58rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.drawing-label { display: flex; justify-content: space-between; }
.technical-figure figcaption { max-width: 100%; line-height: 1.45; overflow-wrap: anywhere; }
.technical-figure svg { width: 100%; margin: .5rem 0; }
.deck-lines { fill: none; stroke: var(--paper-deep); stroke-width: 1.5; opacity: .55; }
.structure { fill: none; stroke: var(--paper-deep); stroke-width: 8; opacity: .6; }
.boards { fill: var(--anthracite); stroke: var(--paper-deep); stroke-width: 1.6; }
.clips { fill: var(--accent); stroke: var(--paper-light); stroke-width: 1.2; }
.callouts { fill: none; stroke: var(--accent); stroke-width: 1.5; }
.drawing-text { fill: var(--paper-light); font: 700 10px Arial, sans-serif; letter-spacing: 1px; }
.drawing-text .small { fill: var(--accent); font-size: 7px; }
.hero-index { position: absolute; right: 1.5vw; bottom: -3.8rem; color: var(--ink-soft); font-size: clamp(8rem, 21vw, 19rem); font-weight: 900; line-height: 1; pointer-events: none; }

.section { padding: clamp(5rem, 10vw, 9rem) 0; }
.section-heading { display: grid; grid-template-columns: minmax(190px, .55fr) 1.45fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.section-heading .overline { margin: .4rem 0 0; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr .7fr; gap: 1px; margin-top: clamp(4rem, 8vw, 7rem); background: var(--line); border: 1px solid var(--line); }
.product-grid > * { position: relative; min-height: 390px; margin: 0; padding: clamp(1.5rem, 3.5vw, 3.2rem); background: var(--paper-light); }
.product-grid h3 { max-width: 23rem; margin: 2.7rem 0 1.25rem; font-size: clamp(1.45rem, 2.3vw, 2rem); line-height: 1.12; letter-spacing: -.035em; }
.product-grid p:not(.label) { max-width: 28rem; color: var(--muted); }
.card-number { position: absolute; right: 1.5rem; top: 1.3rem; color: var(--accent); font-size: .65rem; font-weight: 900; }
.label, .footer-label { margin: 0; color: var(--accent-dark); font-size: .65rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.solution-card { overflow: hidden; }
.mini-detail { position: absolute; right: -1.5rem; bottom: 1.5rem; width: 58%; display: grid; gap: .55rem; transform: rotate(-9deg); }
.mini-detail span { height: 1.8rem; background: var(--ink); box-shadow: 0 3px 0 var(--shadow); }
.mini-detail i { position: absolute; right: 16%; top: -1rem; width: .8rem; height: 7rem; background: var(--accent); }
.founder-note { display: flex; flex-direction: column; justify-content: space-between; background: var(--accent); }
.founder-note .label { color: var(--ink); }
.founder-note blockquote { margin: 3rem 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.3rem, 2.3vw, 2rem); line-height: 1.28; }
.founder-note > span { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.method-section { background: var(--paper-deep); }
.method-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 9vw, 9rem); }
.method-copy > p:not(.overline) { max-width: 33rem; margin: 2rem 0; color: var(--muted); font-size: 1.08rem; }
.spec-list { padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.spec-list li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.spec-list li > span { color: var(--accent-dark); font-size: .7rem; font-weight: 900; }
.spec-list h3 { margin: -.25rem 0 .5rem; font-size: clamp(1.35rem, 2.2vw, 1.8rem); letter-spacing: -.03em; }
.spec-list p { max-width: 33rem; margin: 0; color: var(--muted); }

.benefits-section { background: var(--ink); color: var(--paper-light); }
.benefits-section .overline { border-color: var(--line-dark); color: var(--paper-deep); }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.benefit-grid article { min-height: 265px; padding: clamp(1.5rem, 3vw, 2.8rem); background: var(--ink); }
.benefit-icon { display: grid; place-items: center; width: 3rem; height: 3rem; border: 1px solid var(--accent); color: var(--accent); font-size: 1.35rem; }
.benefit-grid h3 { margin: 3.6rem 0 .7rem; font-size: 1.4rem; }
.benefit-grid p { max-width: 19rem; margin: 0; color: var(--paper-deep); }

.colour-section { background: var(--paper-light); }
.colour-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(3rem, 10vw, 10rem); align-items: end; }
.colour-intro > p { max-width: 31rem; margin: 0 0 .4rem; color: var(--muted); font-size: 1.08rem; }
.swatch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: clamp(3.5rem, 7vw, 6rem); }
.swatch { min-height: 270px; display: flex; flex-direction: column; justify-content: space-between; padding: 1.5rem; border: 1px solid var(--line); }
.swatch > span { font-size: .66rem; font-weight: 900; letter-spacing: .15em; }
.swatch h3 { margin: 0 0 .15rem; font-size: 1.25rem; }
.swatch p { margin: 0; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.swatch-white { background: var(--white); }
.swatch-cream { background: var(--cream); }
.swatch-anthracite { background: var(--anthracite); color: var(--white); border-color: var(--anthracite); }

.enquiry { padding: clamp(4.5rem, 8vw, 7rem) 0; background: var(--accent); }
.enquiry-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(3rem, 10vw, 10rem); align-items: end; }
.enquiry .overline { border-color: var(--accent-dark); color: var(--ink); }
.enquiry h2 em { color: var(--ink); }
.enquiry-action p { max-width: 30rem; }
.email-link { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding: 1rem 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); font-size: clamp(.86rem, 1.4vw, 1.08rem); font-weight: 900; text-decoration: none; }
.email-link:hover { color: var(--paper-light); }

.site-footer { padding: 4.5rem 0 1.8rem; background: var(--ink); color: var(--paper-deep); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, .6fr); gap: 3rem; }
.brand-footer { color: var(--paper-light); }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; }
.footer-grid > div:first-child p { margin: .7rem 0 0; color: var(--muted); }
.footer-grid a:not(.brand) { font-size: .82rem; text-underline-offset: .25rem; }
.footer-grid > div:last-child p:last-child { max-width: 10rem; margin: .4rem 0 0; color: var(--muted); font-size: .74rem; }
.footer-label { margin-bottom: .4rem; color: var(--accent); }
.footer-base { display: flex; justify-content: space-between; gap: 2rem; margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); color: var(--muted); font-size: .67rem; letter-spacing: .08em; text-transform: uppercase; }

/* Interior pages */
.interior-body { min-height: 100vh; display: flex; flex-direction: column; }
.interior-header { position: static; background: var(--ink); }
.interior-main { flex: 1; padding: clamp(4.5rem, 9vw, 8rem) 0; }
.article-shell { width: min(calc(100% - (var(--gutter) * 2)), 840px); margin-inline: auto; }
.article-head { padding-bottom: 2.5rem; margin-bottom: 3rem; border-bottom: 1px solid var(--line); }
.article-head .overline { margin-bottom: 2rem; }
.article-head h1 { color: var(--ink); font-size: clamp(3rem, 7vw, 5.7rem); }
.article { font-size: 1.05rem; }
.article h2 { margin: 3.2rem 0 1rem; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.1; letter-spacing: -.035em; }
.article p { color: var(--muted); }
.article strong { color: var(--ink); }
.article a { text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .2rem; }
.back-link { display: inline-flex; margin-top: 3rem; color: var(--ink); font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.simple-footer { padding: 1.6rem 0; background: var(--ink); color: var(--muted); font-size: .72rem; }
.simple-footer .shell { display: flex; justify-content: space-between; gap: 1rem; }

.not-found { min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; background: var(--ink); color: var(--paper-light); }
.not-found .site-header { position: static; }
.not-found-main { position: relative; display: grid; align-items: center; overflow: hidden; padding: 5rem 0; }
.not-found-main::after { content: "404"; position: absolute; right: -1rem; bottom: -2rem; color: var(--ink-soft); font-size: clamp(10rem, 35vw, 32rem); font-weight: 900; line-height: .75; pointer-events: none; }
.not-found-content { position: relative; z-index: 1; max-width: 760px; }
.not-found-content .overline { border-color: var(--line-dark); color: var(--accent); }
.not-found-content h1 { font-size: clamp(3.5rem, 9vw, 7.8rem); }
.not-found-content p { max-width: 35rem; margin: 2rem 0; color: var(--paper-deep); font-size: 1.1rem; }

@media (max-width: 900px) {
  .nav a:not(.nav-enquire) { display: none; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .technical-figure { width: min(100%, 650px); }
  .section-heading, .method-grid, .colour-intro, .enquiry-grid { grid-template-columns: 1fr; }
  .section-heading .overline { margin-bottom: 0; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .founder-note { grid-column: 1 / -1; min-height: 270px; }
  .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .footer-grid > div:last-child { grid-column: 2; }
}

@media (max-width: 620px) {
  .header-inner { min-height: 76px; gap: 1rem; }
  .nav { gap: 1rem; }
  .brand { grid-template-columns: 1fr; gap: .1rem; }
  .brand-main, .brand-product { font-size: .82rem; }
  .brand-mark { top: .05rem; height: 1.5rem; }
  .nav-enquire { font-size: .62rem !important; }
  .hero { padding-top: 7.5rem; }
  .hero::before { background: repeating-linear-gradient(90deg, var(--transparent) 0, var(--transparent) calc(50% - 1px), var(--line-dark) 50%); }
  .overline { margin-bottom: 2.3rem; }
  .technical-figure { padding: .7rem; }
  .product-grid, .benefit-grid, .swatch-grid { grid-template-columns: 1fr; }
  .product-grid > * { min-height: 330px; }
  .founder-note { grid-column: auto; min-height: 280px; }
  .benefit-grid article { min-height: 230px; }
  .swatch { min-height: 190px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-base, .simple-footer .shell { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
