/* Self-hosted fonts (was Google Fonts) — latin + latin-ext, variable woff2. */
@font-face{font-family:'Archivo';font-style:normal;font-weight:100 900;font-display:swap;src:url('/assets/fonts/archivo-normal-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Archivo';font-style:normal;font-weight:100 900;font-display:swap;src:url('/assets/fonts/archivo-normal-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Fragment Mono';font-style:italic;font-weight:400;font-display:swap;src:url('/assets/fonts/fragment-mono-italic-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Fragment Mono';font-style:italic;font-weight:400;font-display:swap;src:url('/assets/fonts/fragment-mono-italic-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Fragment Mono';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/fragment-mono-normal-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Fragment Mono';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/fragment-mono-normal-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Instrument Sans';font-style:italic;font-weight:400 700;font-display:swap;src:url('/assets/fonts/instrument-sans-italic-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Instrument Sans';font-style:italic;font-weight:400 700;font-display:swap;src:url('/assets/fonts/instrument-sans-italic-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:400 700;font-display:swap;src:url('/assets/fonts/instrument-sans-normal-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:400 700;font-display:swap;src:url('/assets/fonts/instrument-sans-normal-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
/* ============================================================================
   Shutters Newcastle — drafting-table spec book.
   Ink line-work on warm paper, copper on a red-pen budget, dimensions in mono.
   Tokens are the brand kit's :root block verbatim (brand-kit/brand-kit.md).
   ========================================================================== */

:root {
  /* Grounds */
  --paper:        oklch(97.7% 0.009 85);   /* #FAF7F1 */
  --paper-shade:  oklch(94.2% 0.016 83);   /* #F1EBE0 */
  --powder:       oklch(99.4% 0.003 85);   /* #FEFDFB */

  /* Ink */
  --ink:          oklch(19.0% 0.025 273);  /* #10131F */
  --ink-soft:     oklch(42.7% 0.029 275);  /* #4A4E5F */
  --primary:      oklch(22.6% 0.049 272);  /* #141A33 */
  --primary-deep: oklch(16.5% 0.032 274);  /* #0A0D1C */

  /* Copper — the single accent */
  --copper:       oklch(60.8% 0.111 57);   /* #B4703A */
  --copper-deep:  oklch(51.9% 0.111 55);   /* #98551F */
  --copper-ink:   oklch(47.3% 0.109 52);   /* #8A4715 */
  --copper-light: oklch(69.3% 0.112 58);   /* #D08A52 */

  /* Supports */
  --basswood:     oklch(88.5% 0.044 82);   /* #E8D7B9 */
  --anodised:     oklch(87.0% 0.010 87);   /* #D7D4CD */
  --anodised-ink: oklch(53.2% 0.026 269);  /* #666C7C */

  --font-display:    "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body:       "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --font-annotation: "Fragment Mono", "Courier New", monospace;

  --wrap: 1160px;
  --gutter: clamp(1.1rem, 4vw, 2rem);
  --ease: cubic-bezier(.33, .01, .18, 1);
}

/* ── Reset-adjacent ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }  /* before ANY display rule can defeat it */
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
::placeholder { color: color-mix(in oklab, var(--ink) 30%, transparent); }
::selection { background: var(--basswood); color: var(--ink); }
:focus-visible { outline: 2px solid var(--copper-deep); outline-offset: 2px; }

/* ── Type ────────────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); letter-spacing: -0.01em; }
h4 { font-size: 1.08rem; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }
small { color: var(--ink-soft); }

/* The title-block label: Archivo Expanded small caps — a drawing sheet's running head */
.label {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 122;
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--anodised-ink);
}
.label--copper { color: var(--copper-ink); }

/* Drafting annotation: every literal dimension sits in the mono */
.dim {
  font-family: var(--font-annotation);
  font-size: .82em;
  letter-spacing: .01em;
  color: var(--anodised-ink);
}
.dim--copper { color: var(--copper-ink); }

/* Verdict line: recommendation first, reason second. Copper because the decision is here. */
.verdict {
  font-weight: 600;
  color: var(--copper-ink);
}
.verdict::before {
  content: "";
  display: inline-block;
  width: 1.4em; height: .62em;
  margin-right: .45em;
  background: url("/assets/brand/micro/bullet-blade.svg") no-repeat center / contain;
}

/* Links: drawn underlines */
a { color: var(--copper-ink); text-decoration-color: color-mix(in oklab, var(--copper) 50%, transparent); text-underline-offset: 3px; transition: text-decoration-color .25s var(--ease); }
a:hover { text-decoration-color: var(--copper-deep); }

/* Lists take the blade bullet */
.prose ul { list-style: none; padding-left: 1.5em; }
.prose ul > li { position: relative; margin-bottom: .45em; }
.prose ul > li::before {
  content: "";
  position: absolute; left: -1.5em; top: .58em;
  width: .95em; height: .42em;
  background: url("/assets/brand/micro/bullet-blade.svg") no-repeat center / contain;
}
.prose ol { padding-left: 1.4em; }
.prose ol > li { margin-bottom: .45em; }
.prose ol > li::marker { font-family: var(--font-annotation); font-size: .85em; color: var(--copper-ink); }

/* hr IS the dimension rule */
hr {
  border: 0;
  height: 14px;
  margin: 2.6rem auto;
  max-width: 260px;
  background: url("/assets/brand/micro/hr-rule.svg") no-repeat center / contain;
}

blockquote {
  margin: 1.8rem 0;
  padding: .4rem 0 .4rem 3.6rem;
  position: relative;
  font-size: 1.12rem;
  color: var(--ink-soft);
}
blockquote::before {
  content: "";
  position: absolute; left: 0; top: .5rem;
  width: 2.6rem; height: 2rem;
  background: url("/assets/brand/micro/quote-blades.svg") no-repeat center / contain;
}

/* ── Layout ──────────────────────────────────────────────────────────────── */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }

.band { padding-block: clamp(3rem, 7vw, 5.2rem); }
.band--tight { padding-block: clamp(2rem, 4.5vw, 3.2rem); }
.band--shade { background: var(--paper-shade); }
.band--grid {
  background-image: url("/assets/brand/textures/pattern-drafting-grid.svg");
  background-size: 160px 160px;
}
.band--louvre {
  background-image: url("/assets/brand/textures/pattern-louvre-pitch.svg");
}
.band--dark {
  background: var(--primary-deep);
  color: var(--paper);
}
.band--dark.band--grid { background-image: url("/assets/brand/textures/pattern-drafting-grid-reversed.svg"); background-color: var(--primary-deep); }
.band--dark.band--louvre { background-image: url("/assets/brand/textures/pattern-louvre-pitch-reversed.svg"); background-color: var(--primary-deep); }
.band--dark h1, .band--dark h2, .band--dark h3 { color: var(--paper); }
.band--dark .label { color: var(--copper-light); }
.band--dark .dim { color: color-mix(in oklab, var(--paper) 62%, transparent); }
.band--dark .dim--copper, .band--dark .verdict { color: var(--copper-light); }
.band--dark p { color: color-mix(in oklab, var(--paper) 88%, transparent); }
.band--dark a:not(.btn) { color: var(--copper-light); text-decoration-color: color-mix(in oklab, var(--copper-light) 50%, transparent); }
.band--dark a:not(.btn):hover { text-decoration-color: var(--copper-light); }

/* Watermark corner ghost — one per page at most */
.band--watermark { position: relative; overflow: hidden; }
.band--watermark::after {
  content: "";
  position: absolute; right: -60px; bottom: -70px;
  width: 340px; height: 340px;
  background: url("/assets/brand/textures/watermark.svg") no-repeat center / contain;
  pointer-events: none;
}
.band--dark.band--watermark::after { background-image: url("/assets/brand/textures/watermark-reversed.svg"); }

/* Dimension-rail band edge (repeat-x seamless, 160px module) */
.rail-edge { height: 26px; background: url("/assets/brand/textures/motif-dimension-rail.svg") repeat-x center / 160px 26px; }
.band--dark .rail-edge, .rail-edge--reversed { background-image: url("/assets/brand/textures/motif-dimension-rail-reversed.svg"); }

/* Title block: the section header convention — label · rule · fig no. */
.tblock {
  display: flex; align-items: baseline; gap: 1rem;
  margin-bottom: 1.6rem;
}
.tblock::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--anodised);
  transform: translateY(-4px);
}
/* Signature ambient move: the title-block rule draws itself left-to-right the
   first time its section scrolls into view (site.js adds .ruled). Felt, not
   noticed: the sheet being ruled up. Reduced-motion floor kills the transition. */
@media (prefers-reduced-motion: no-preference) {
  .tblock::after { transform-origin: left center; transform: translateY(-4px) scaleX(0); transition: transform 1.1s var(--ease) .15s; }
  .tblock.ruled::after { transform: translateY(-4px) scaleX(1); }
}
.band--dark .tblock::after { background: color-mix(in oklab, var(--paper) 25%, transparent); }
.tblock .fig { font-family: var(--font-annotation); font-size: .74rem; color: var(--anodised-ink); order: 3; }
.band--dark .tblock .fig { color: color-mix(in oklab, var(--paper) 55%, transparent); }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-body);
  font-weight: 600; font-size: .98rem;
  padding: .78em 1.5em;
  border: 1px solid transparent;
  border-radius: 2px;                 /* drawn corners, not pills */
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: 0 0 auto; }
.btn:active { transform: translateY(1px); }
.btn--copper { background: var(--copper-deep); color: var(--powder) !important; }
.btn--copper:hover { background: oklch(46% 0.111 55); }
.btn--ink { background: transparent; color: var(--ink) !important; border-color: var(--ink); }
.btn--ink:hover { background: var(--ink); color: var(--paper) !important; }
.band--dark .btn--ink, .btn--paper { background: transparent; color: var(--paper) !important; border-color: color-mix(in oklab, var(--paper) 55%, transparent); }
.band--dark .btn--ink:hover, .btn--paper:hover { border-color: var(--paper); background: color-mix(in oklab, var(--paper) 10%, transparent); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ── Masthead ────────────────────────────────────────────────────────────── */
.masthead {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in oklab, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  /* drawing-sheet border: one firm rule over one hairline */
  border-bottom: 1px solid var(--anodised);
  box-shadow: 0 3px 0 -2px color-mix(in oklab, var(--ink) 12%, transparent);
}
.masthead__row {
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  min-height: 72px;
}
.masthead__logo { display: flex; align-items: center; text-decoration: none; }
.masthead__logo img { height: 44px; width: auto; }
.nav-primary { display: flex; align-items: center; gap: 1.45rem; }
.nav-primary a:not(.btn) {
  font-weight: 600; font-size: .95rem;
  color: var(--ink);
  text-decoration: none;
  padding: .35rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.nav-primary a:not(.btn):hover { border-bottom-color: var(--anodised-ink); }
/* active page: <body data-page="X"> + [data-nav="X"] */
body[data-page="types"] a[data-nav="types"],
body[data-page="schedule"] a[data-nav="schedule"],
body[data-page="areas"] a[data-nav="areas"],
body[data-page="guides"] a[data-nav="guides"],
body[data-page="about"] a[data-nav="about"] { border-bottom-color: var(--copper-deep) !important; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--anodised); border-radius: 2px;
  min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
  cursor: pointer;
}
.nav-toggle .bars { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink);
  transition: transform .25s var(--ease);
}
.nav-toggle .bars::before { top: -7px; }
.nav-toggle .bars::after { top: 7px; }

/* Mobile drawer */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--anodised);
  background: var(--paper);
  padding: 1rem var(--gutter) 1.4rem;
}
.mobile-nav.open { display: block; }
.mobile-nav a:not(.btn) {
  display: block;
  font-weight: 600; font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  padding: .7rem 0;
  border-bottom: 1px solid var(--anodised);
}
.mobile-nav .btn { margin-top: 1rem; width: 100%; justify-content: center; }
@media (max-width: 920px) {
  .nav-primary { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ── Hero (home) ─────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: center;
  padding-block: clamp(2.6rem, 6vw, 4.6rem);
}
.hero__kicker { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.1rem; }
.hero__kicker .tick { width: 34px; height: 3px; background: var(--copper-deep); }
.hero__lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-soft); max-width: 34em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }
.hero__meta { margin-top: 1.9rem; display: flex; flex-wrap: wrap; gap: 1.4rem; }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
}

/* Annotated figure: photo + drawn callout. The annotation is the brand. */
.figure { position: relative; }
.figure img { border: 1px solid var(--anodised); }
.figure figcaption {
  display: flex; justify-content: space-between; gap: 1rem;
  border-bottom: 1px solid var(--anodised);
  padding: .5rem .1rem .55rem;
  font-family: var(--font-annotation);
  font-size: .74rem;
  color: var(--anodised-ink);
}
.band--dark .figure img { border-color: color-mix(in oklab, var(--paper) 22%, transparent); }
.band--dark .figure figcaption { color: color-mix(in oklab, var(--paper) 60%, transparent); border-color: color-mix(in oklab, var(--paper) 22%, transparent); }
/* the leader-line chip pinned over the image */
.callout {
  position: absolute;
  font-family: var(--font-annotation);
  font-size: .72rem;
  color: var(--ink);
  background: color-mix(in oklab, var(--powder) 88%, transparent);
  border: 1px solid var(--anodised-ink);
  padding: .28rem .55rem;
  white-space: nowrap;
}
.callout::before {
  content: "";
  position: absolute;
  width: 1px; height: 34px;
  background: var(--copper);
  left: 50%; bottom: 100%;
}
.callout--below::before { bottom: auto; top: 100%; }

/* ── Type cards (the four-type taxonomy spine) ──────────────────────────── */
.type-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
@media (max-width: 1020px) { .type-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .type-grid { grid-template-columns: 1fr; } }
.type-card {
  display: flex; flex-direction: column;
  background: var(--powder);
  border: 1px solid var(--anodised);
  padding: 1.4rem 1.3rem 1.25rem;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.type-card:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 10px 24px -18px color-mix(in oklab, var(--ink) 55%, transparent); }
.type-card__fig {
  position: absolute; top: .8rem; right: .95rem;
  font-family: var(--font-annotation); font-size: .7rem; color: var(--anodised-ink);
}
.type-card img { width: 76px; height: 76px; margin-bottom: .9rem; }
.type-card h3 { margin-bottom: .3rem; }
.type-card p { font-size: .93rem; color: var(--ink-soft); margin-bottom: .9rem; }
.type-card .verdict { font-size: .9rem; margin-top: auto; }
.type-card .go {
  margin-top: .8rem;
  font-weight: 600; font-size: .9rem; color: var(--copper-ink);
  display: inline-flex; align-items: center; gap: .4em;
}
.type-card .go::after { content: "\2192"; transition: transform .25s var(--ease); }
.type-card:hover .go::after { transform: translateX(3px); }

/* ── Exposure bands (the three-band local story, drawn) ─────────────────── */
.exposure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 860px) { .exposure { grid-template-columns: 1fr; } }
.exposure__card {
  background: var(--powder);
  border: 1px solid var(--anodised);
  border-top: 3px solid var(--ink);
  padding: 1.3rem 1.25rem;
}
.exposure__card .dist { font-family: var(--font-annotation); font-size: .76rem; color: var(--anodised-ink); display: block; margin-bottom: .5rem; }
.exposure__card h3 { font-size: 1.12rem; }
.exposure__card p { font-size: .95rem; color: var(--ink-soft); }

/* ── Process strip ───────────────────────────────────────────────────────── */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; counter-reset: step; }
@media (max-width: 760px) { .process { grid-template-columns: 1fr; } }
.process__step { position: relative; padding-top: .4rem; }
.process__step img { width: 64px; height: 64px; margin-bottom: .7rem; }
.process__step .stepno { font-family: var(--font-annotation); font-size: .74rem; color: var(--copper-ink); display: block; margin-bottom: .35rem; }
.process__step h3 { font-size: 1.08rem; margin-bottom: .3rem; }
.process__step p { font-size: .95rem; color: var(--ink-soft); }

/* ── Sheet cards (guides, areas) ────────────────────────────────────────── */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .card-grid, .card-grid--2 { grid-template-columns: 1fr; } }
.sheet {
  background: var(--powder);
  border: 1px solid var(--anodised);
  text-decoration: none;
  color: var(--ink);
  display: flex; flex-direction: column;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
a.sheet:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 10px 24px -18px color-mix(in oklab, var(--ink) 55%, transparent); }
.sheet img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; border-bottom: 1px solid var(--anodised); }
.sheet__body { padding: 1.15rem 1.2rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.sheet__body .label { margin-bottom: .45rem; }
.sheet__body h3 { margin-bottom: .35rem; }
.sheet__body p { font-size: .95rem; color: var(--ink-soft); }
.sheet__body .go { margin-top: auto; padding-top: .7rem; font-weight: 600; font-size: .9rem; color: var(--copper-ink); }
.sheet__body .go::after { content: " \2192"; }

/* ── Spec tables ─────────────────────────────────────────────────────────── */
.spec-scroll { overflow-x: auto; }
.spec-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .95rem; }
.spec-table caption { text-align: left; padding-bottom: .6rem; }
.spec-table th {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 116;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--anodised-ink);
  text-align: left;
  border-bottom: 2px solid var(--ink);
  padding: .5rem .7rem;
}
.spec-table td { border-bottom: 1px solid var(--anodised); padding: .62rem .7rem; vertical-align: top; }
.spec-table td:first-child { font-weight: 600; }
.spec-table .num { font-family: var(--font-annotation); font-size: .85em; }
.spec-table tr.hl td { background: color-mix(in oklab, var(--basswood) 38%, transparent); }

/* Material chips: hatched, because they're section-cut samples */
.chip {
  display: inline-block;
  font-family: var(--font-annotation); font-size: .74rem;
  color: var(--ink);
  border: 1px solid var(--anodised-ink);
  background: url("/assets/brand/textures/pattern-section-hatch.svg") repeat, var(--powder);
  background-size: 64px 64px;
  padding: .22rem .6rem;
  white-space: nowrap;
}

/* ── FAQ / details ───────────────────────────────────────────────────────── */
details {
  border-bottom: 1px solid var(--anodised);
  padding: .35rem 0;
}
details summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  padding: .75rem 1.8rem .75rem 0;
  list-style: none;
  position: relative;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "+";
  font-family: var(--font-annotation);
  position: absolute; right: .2rem; top: .68rem;
  color: var(--copper-ink);
  transition: transform .25s var(--ease);
}
details[open] summary::after { transform: rotate(45deg); }
details .a { padding: 0 0 1rem; color: var(--ink-soft); max-width: 62em; }

/* ── Forms (the enquiry) ─────────────────────────────────────────────────── */
.form-sheet {
  background: var(--powder);
  border: 1px solid var(--anodised);
  border-top: 3px solid var(--copper-deep);
  padding: clamp(1.4rem, 3vw, 2.2rem);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; }
.field label .req { color: var(--copper-ink); }
.field .hint { font-family: var(--font-annotation); font-size: .72rem; color: var(--anodised-ink); }
.field input, .field select, .field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--anodised-ink);
  border-radius: 2px;
  padding: .68rem .8rem;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--copper-deep); outline-offset: 0; border-color: var(--copper-deep);
}
.form-note { font-size: .9rem; color: var(--ink-soft); }
.lead-msg { margin-top: 1.1rem; padding: 1rem 1.2rem; border: 1px solid; font-weight: 500; }
[data-lead-success].lead-msg { border-color: var(--copper-deep); color: var(--copper-ink); background: color-mix(in oklab, var(--basswood) 30%, transparent); }
[data-lead-error].lead-msg { border-color: #a33; color: #822; background: #fbeeee; }
[data-lead-success] .spot { width: 150px; margin: 0 auto .6rem; }

/* ── The Window Schedule (signature) ────────────────────────────────────── */
.schedule-frame {
  background: var(--powder);
  border: 1px solid var(--ink);
  position: relative;
}
/* drawing-sheet double border */
.schedule-frame::before {
  content: "";
  position: absolute; inset: 6px;
  border: 1px solid var(--anodised);
  pointer-events: none;
}
.schedule-frame__head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .6rem;
  padding: 1.1rem 1.5rem .9rem;
  border-bottom: 1px solid var(--anodised);
  position: relative; z-index: 1;
}
.schedule-frame__head .sheetno { font-family: var(--font-annotation); font-size: .74rem; color: var(--anodised-ink); }
.schedule-frame__body { padding: 1.3rem 1.5rem 1.5rem; position: relative; z-index: 1; }
@media (max-width: 640px) {
  .schedule-frame__head, .schedule-frame__body { padding-inline: 1rem; }
}

/* the add-a-window controls */
.sched-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem 1.1rem; margin-bottom: 1.2rem; }
@media (max-width: 640px) { .sched-form { grid-template-columns: 1fr; } }
.sched-form .field--full { grid-column: 1 / -1; }
.optset { display: flex; flex-wrap: wrap; gap: .45rem; }
.optset input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.optset label {
  font-size: .88rem; font-weight: 500;
  border: 1px solid var(--anodised-ink);
  border-radius: 2px;
  background: var(--paper);
  padding: .38rem .7rem;
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.optset input:checked + label { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.optset input:focus-visible + label { outline: 2px solid var(--copper-deep); outline-offset: 2px; }

/* schedule rows: title-block entries */
.sched-rows { border-top: 2px solid var(--ink); margin-top: .4rem; }
.sched-row {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr) auto;
  gap: .35rem 1rem;
  padding: .9rem .2rem;
  border-bottom: 1px solid var(--anodised);
  animation: rowIn .4s var(--ease);
}
@keyframes rowIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.sched-row .wno {
  font-family: var(--font-annotation); font-size: .95rem; color: var(--ink);
  border: 1px solid var(--ink); align-self: start; text-align: center;
  padding: .15rem 0; width: 3rem;
}
.sched-row .spec { min-width: 0; }
.sched-row .spec .where { font-weight: 600; }
.sched-row .spec .tags { font-family: var(--font-annotation); font-size: .74rem; color: var(--anodised-ink); display: block; margin-top: .1rem; }
.sched-row .spec .verdict { display: block; margin-top: .45rem; font-size: .97rem; }
.sched-row .spec .note { font-size: .88rem; color: var(--ink-soft); display: block; margin-top: .25rem; }
.sched-row .rm {
  background: none; border: none; cursor: pointer;
  font-family: var(--font-annotation); font-size: .78rem;
  color: var(--anodised-ink); text-decoration: underline; text-underline-offset: 2px;
  align-self: start; padding: .2rem;
}
.sched-row .rm:hover { color: var(--copper-ink); }
@media (max-width: 560px) {
  .sched-row { grid-template-columns: 3.4rem minmax(0, 1fr); }
  .sched-row .rm { grid-column: 2; justify-self: start; }
}
.sched-empty { text-align: center; padding: 2rem 1rem; color: var(--ink-soft); }
.sched-empty img { width: 160px; margin: 0 auto .8rem; }
.sched-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-top: 1.3rem; }
.sched-actions .count { font-family: var(--font-annotation); font-size: .8rem; color: var(--anodised-ink); }

/* ── Area / guide article furniture ─────────────────────────────────────── */
.page-head { padding-block: clamp(2.2rem, 5vw, 3.6rem) clamp(1.6rem, 3vw, 2.4rem); }
.page-head .crumbs { font-family: var(--font-annotation); font-size: .76rem; color: var(--anodised-ink); margin-bottom: 1rem; }
.page-head .crumbs a { color: var(--anodised-ink); }
.page-head .lede { font-size: clamp(1.02rem, 1.5vw, 1.16rem); color: var(--ink-soft); max-width: 42em; }

.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.split--rev { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
@media (max-width: 860px) { .split, .split--rev { grid-template-columns: 1fr; } }
/* grid items default to min-width:auto, which lets a wide table/SVG blow the
   column out past the viewport instead of scrolling inside .spec-scroll */
.split > *, .hero__grid > *, .cta-band__grid > * { min-width: 0; }

.aside-block {
  border: 1px solid var(--anodised);
  border-left: 3px solid var(--copper-deep);
  background: var(--powder);
  padding: 1.2rem 1.3rem;
  font-size: .96rem;
}
.aside-block--basswood { background: color-mix(in oklab, var(--basswood) 45%, var(--powder)); border-left-color: var(--ink); }
.aside-block h3, .aside-block h4 { font-size: 1.02rem; }

.prose { max-width: 68ch; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.5rem; }
.prose img { border: 1px solid var(--anodised); }

/* references block */
.refs { border-top: 2px solid var(--ink); padding-top: 1rem; font-size: .9rem; }
.refs li { margin-bottom: .6rem; color: var(--ink-soft); }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.foot {
  background: var(--primary-deep);
  background-image: url("/assets/brand/textures/pattern-louvre-pitch-reversed.svg");
  color: color-mix(in oklab, var(--paper) 85%, transparent);
}
.foot__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.2rem;
  padding-block: 3.2rem 2.2rem;
}
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot__grid { grid-template-columns: 1fr; } }
.foot__brand img { width: 132px; margin-bottom: 1rem; }
.foot__brand p { font-size: .92rem; }
.foot h4 {
  color: var(--paper);
  font-variation-settings: "wdth" 118;
  font-size: .74rem; letter-spacing: .2em; text-transform: uppercase;
  margin-bottom: .8rem;
}
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: .45rem; }
.foot a:not(.btn) { color: color-mix(in oklab, var(--paper) 82%, transparent); text-decoration: none; font-size: .95rem; }
.foot a:not(.btn):hover { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.foot__legal {
  border-top: 1px solid color-mix(in oklab, var(--paper) 18%, transparent);
  padding-block: 1.2rem 1.6rem;
  font-size: .82rem;
  color: color-mix(in oklab, var(--paper) 58%, transparent);
  display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; justify-content: space-between;
}
.foot__legal a { color: inherit; }

/* ── Enquiry CTA band (partial) ─────────────────────────────────────────── */
.cta-band { text-align: left; }
.cta-band__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 2rem; align-items: center; }
@media (max-width: 820px) { .cta-band__grid { grid-template-columns: 1fr; } }
.cta-band .btn { font-size: 1.05rem; }

/* ── 404 / utility ───────────────────────────────────────────────────────── */
.util-hero { text-align: center; padding-block: clamp(3rem, 8vw, 6rem); }
.util-hero img { width: 260px; margin: 0 auto 1.4rem; }

/* ── Focus-visible parity ────────────────────────────────────────────────────
   Keyboard users get the same affordance hover gives, so the path to the enquiry
   reads the same either way. The global copper :focus-visible outline (top of file)
   stays; these add the card lift and the pointing-arrow nudge on top of it. */
.type-card:focus-visible,
a.sheet:focus-visible {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -18px color-mix(in oklab, var(--ink) 55%, transparent);
}
.type-card:focus-visible .go::after { transform: translateX(3px); }
.btn:focus-visible .arrow { transform: translateX(3px); }
.nav-primary a:not(.btn):focus-visible { border-bottom-color: var(--anodised-ink); }

/* ── "The settle" (node-motion scroll-reveal, JS-armed) ──────────────────────
   motion.js arms only below-the-fold content blocks with `.settle`, then adds
   `.settled` as each scrolls in. The opacity:0 start lives ONLY here, under
   no-preference, and is only ever added at runtime — so no-JS, IO-unsupported and
   reduced-motion visitors always meet fully-drawn, fully-visible content. Never
   move this resting state out of the media query. */
@media (prefers-reduced-motion: no-preference) {
  .settle {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .55s var(--ease), transform .55s var(--ease);
    transition-delay: var(--settle-delay, 0ms);
  }
  .settle.settled { opacity: 1; transform: none; }
}

/* ── Motion floor ────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
