
/* Fonts are served with the site (no Google Fonts call): Zilla Slab for headings, Cabin for text and labels */
@font-face { font-family: 'Cabin'; font-style: normal; font-weight: 400; font-display: swap; src: url(/neu/media/fonts/cabin-latin-ext-400-normal.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: 'Cabin'; font-style: normal; font-weight: 400; font-display: swap; src: url(/neu/media/fonts/cabin-latin-400-normal.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: 'Cabin'; font-style: normal; font-weight: 500; font-display: swap; src: url(/neu/media/fonts/cabin-latin-ext-500-normal.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: 'Cabin'; font-style: normal; font-weight: 500; font-display: swap; src: url(/neu/media/fonts/cabin-latin-500-normal.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: 'Cabin'; font-style: normal; font-weight: 600; font-display: swap; src: url(/neu/media/fonts/cabin-latin-ext-600-normal.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: 'Cabin'; font-style: normal; font-weight: 600; font-display: swap; src: url(/neu/media/fonts/cabin-latin-600-normal.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: 'Cabin'; font-style: normal; font-weight: 700; font-display: swap; src: url(/neu/media/fonts/cabin-latin-ext-700-normal.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: 'Cabin'; font-style: normal; font-weight: 700; font-display: swap; src: url(/neu/media/fonts/cabin-latin-700-normal.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: 'Zilla Slab'; font-style: normal; font-weight: 500; font-display: swap; src: url(/neu/media/fonts/zilla-slab-latin-ext-500-normal.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: 'Zilla Slab'; font-style: normal; font-weight: 500; font-display: swap; src: url(/neu/media/fonts/zilla-slab-latin-500-normal.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: 'Zilla Slab'; font-style: normal; font-weight: 600; font-display: swap; src: url(/neu/media/fonts/zilla-slab-latin-ext-600-normal.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: 'Zilla Slab'; font-style: normal; font-weight: 600; font-display: swap; src: url(/neu/media/fonts/zilla-slab-latin-600-normal.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: 'Zilla Slab'; font-style: normal; font-weight: 700; font-display: swap; src: url(/neu/media/fonts/zilla-slab-latin-ext-700-normal.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: 'Zilla Slab'; font-style: normal; font-weight: 700; font-display: swap; src: url(/neu/media/fonts/zilla-slab-latin-700-normal.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; }
/* ------------------------------------------------------------------
   Halzebatz v2 — "Sheet & bench"
   Tokens are the agreed palette, unchanged. Light is the default set;
   the dark set follows the viewer's system unless the switch stamps a
   choice on <html data-theme>. Header and footer are pinned to the
   fixed surface tokens in both themes.
------------------------------------------------------------------ */
:root {
  --paper: #FBF9F6;
  --paper-raised: #FFFFFF;
  --ink: #1A1A1C;
  --ink-soft: #5B5A60;
  --purple: #6B3891;
  --purple-deep: #512A6E;
  --purple-bright: #B98FD1;
  --purple-tint: #F3EBF8;
  --green: #4E8C1E;
  --green-deep: #3C6F14;
  --green-tint: #EDF6E3;
  --on-accent: #FFFFFF;
  --line: #E5E1DA;
  --hover-wash: rgba(33,31,27,0.06);
  --shadow: 0 1px 2px rgba(28,24,20,0.05), 0 14px 30px -16px rgba(28,24,20,0.22);
  --lift-shadow: 0 16px 34px -16px rgba(28,24,20,0.28);
  --badge-shadow: 0 2px 8px rgba(28,24,20,0.25);
  /* derived, no new hues */
  --grid: rgba(26,26,28,0.07);
  --dim: rgba(107,56,145,0.6);
  --band-bg: #6B3891;
  --band-ink: #FFFFFF;
  --band-ink-soft: rgba(255,255,255,0.78);
  --band-line: rgba(255,255,255,0.28);
  --scrim: rgba(15,14,17,0.55);
  --plus-bg: #6B3891;
  --plus-ink: #FFFFFF;
  --rail-bg: #EDF6E3;
  --rail-line: #D6E7C4;
  --rail-k: #3C6F14;
  --idx: #3C6F14;
  --wm-hover: #009B00;
  /* pinned surfaces: header, footer */
  --surface: #FFFFFF;
  --surface-tint: #F0E7F5;
  --surface-tint-green: #ECF6E2;
  --surface-ink: #1A1A1C;
  --surface-ink-soft: #5B5A60;
  --surface-line: #E3E1DD;
  --surface-accent: #4E2765;
  --font-display: 'Zilla Slab', 'Rockwell', Georgia, serif;
  --font-body: 'Cabin', 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Cabin', 'Segoe UI', Roboto, sans-serif; /* label face: the body family, set small, uppercase and tracked */
  --hdr-h: 72px;
  --gutter: 24px;
  --radius: 4px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #1B1420;
    --paper-raised: #251C2C;
    --ink: #F1EFEE;
    --ink-soft: #ACA9AE;
    --purple: #B183C9;
    --purple-deep: #D3B0E3;
    --purple-tint: #2E2333;
    --green: #82C24C;
    --green-deep: #A3DA78;
    --green-tint: #223019;
    --on-accent: #17161A;
    --line: #302F33;
    --hover-wash: rgba(255,255,255,0.08);
    --shadow: 0 1px 2px rgba(0,0,0,0.4), 0 16px 32px -12px rgba(0,0,0,0.5);
    --lift-shadow: 0 16px 34px -14px rgba(0,0,0,0.5);
    --badge-shadow: 0 2px 10px rgba(0,0,0,0.35);
    --grid: rgba(241,239,238,0.07);
    --dim: rgba(177,131,201,0.7);
    --band-bg: #E9DCF2;
    --band-ink: #1A1A1C;
    --band-ink-soft: rgba(26,26,28,0.72);
    --band-line: rgba(26,26,28,0.22);
    --scrim: rgba(15,14,17,0.62);
    --plus-bg: #FFFFFF;
    --plus-ink: #6B3891;
    --rail-bg: var(--paper-raised);
    --rail-line: var(--line);
    --rail-k: var(--purple-deep);
    --idx: var(--purple-deep);
    --wm-hover: #6B3891;
  }
}
:root[data-theme="dark"] {
  --paper: #1B1420;
  --paper-raised: #251C2C;
  --ink: #F1EFEE;
  --ink-soft: #ACA9AE;
  --purple: #B183C9;
  --purple-deep: #D3B0E3;
  --purple-tint: #2E2333;
  --green: #82C24C;
  --green-deep: #A3DA78;
  --green-tint: #223019;
  --on-accent: #17161A;
  --line: #302F33;
  --hover-wash: rgba(255,255,255,0.08);
  --shadow: 0 1px 2px rgba(0,0,0,0.4), 0 16px 32px -12px rgba(0,0,0,0.5);
  --lift-shadow: 0 16px 34px -14px rgba(0,0,0,0.5);
  --badge-shadow: 0 2px 10px rgba(0,0,0,0.35);
  --grid: rgba(241,239,238,0.07);
  --dim: rgba(177,131,201,0.7);
  --band-bg: #E9DCF2;
  --band-ink: #1A1A1C;
  --band-ink-soft: rgba(26,26,28,0.72);
  --band-line: rgba(26,26,28,0.22);
  --scrim: rgba(15,14,17,0.62);
  --plus-bg: #FFFFFF;
  --plus-ink: #6B3891;
  --rail-bg: var(--paper-raised);
  --rail-line: var(--line);
  --rail-k: var(--purple-deep);
  --idx: var(--purple-deep);
  --wm-hover: #6B3891;
}

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--purple-deep); text-underline-offset: 0.15em; }
a:hover { color: var(--purple); }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 4.6vw, 4rem); font-weight: 700; line-height: 1.04; letter-spacing: -0.01em; }
h1:focus { outline: none; }
h2 { font-size: clamp(1.875rem, 2.9vw, 2.5rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.005em; }
h3 { font-size: 1.625rem; font-weight: 600; line-height: 1.2; letter-spacing: 0; }
h4 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; letter-spacing: 0; }
p { margin: 0; }
p + p { margin-top: 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
strong { font-weight: 600; color: var(--ink); }
sup { font-size: 0.6em; }
::selection { background: var(--purple); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.04em; }
.eyebrow { font-family: var(--font-mono); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple-deep); }
.lead { font-size: 1.25rem; line-height: 1.5; color: var(--ink-soft); max-width: 42ch; }
.prose { max-width: 45ch; color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.72; }
.prose strong { color: var(--ink); }
.prose h3 { color: var(--ink); margin-top: 2.2em; margin-bottom: 0.55em; font-size: 1.625rem; }
.prose h3:first-child { margin-top: 0; }
.prose p + p { margin-top: 1.1em; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 14px; background: var(--purple); color: var(--on-accent); border-radius: var(--radius); }
.skip:focus { top: 12px; }
.num { font-variant-numeric: tabular-nums; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { display: flex; flex-direction: column; gap: 10px; padding: 24px 22px 24px 0; }
.stat + .stat { padding-left: 22px; border-left: 1px solid var(--line); }
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: 3rem; line-height: 1; letter-spacing: -0.02em; color: var(--purple); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-num small { font-size: 1.25rem; font-weight: 600; letter-spacing: 0; margin-left: 4px; color: var(--green); }
.stat-label { font-size: 0.875rem; line-height: 1.5; color: var(--ink-soft); }
.stats.duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sec.tint .stat-num { color: var(--surface-accent); }
.sec.tint .stat-num small { color: color-mix(in srgb, var(--green) 60%, var(--surface-ink)); }
.sec.tint .stats, .sec.tint .stat, .sec.tint .stat + .stat { border-color: var(--surface-line); }
.stats.solo { grid-template-columns: 1fr; }
.stats.solo .stat { flex-direction: row; align-items: center; gap: 24px; padding-right: 0; }
.stats.solo .stat-label { max-width: 36ch; }
.stats.duo .stat-label { max-width: 34ch; }
.stats-src { margin-top: 12px; font-size: 0.75rem; line-height: 1.6; color: var(--ink-soft); max-width: 70ch; }
.stats-src a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats.solo .stat { flex-direction: column; align-items: flex-start; gap: 10px; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 20px; border-radius: var(--radius); font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.01em; text-decoration: none; border: 1px solid transparent; cursor: pointer; line-height: 1.2; transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease; }
.btn svg { width: 15px; height: 15px; flex: none; }
.btn-solid { background: var(--purple); color: var(--on-accent); border-color: var(--purple); }
.btn-solid:hover { background: var(--purple-deep); border-color: var(--purple-deep); color: var(--on-accent); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: var(--ink); color: var(--ink); background: var(--hover-wash); }
.btn-band { background: transparent; color: var(--band-ink); border-color: var(--band-line); }
.btn-band:hover { background: var(--band-ink); color: var(--band-bg); border-color: var(--band-ink); }
.btn-band-solid { background: var(--band-ink); color: var(--band-bg); border-color: var(--band-ink); }
.btn-band-solid:hover { opacity: 0.9; color: var(--band-bg); }
.link { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; text-decoration: none; color: var(--purple-deep); }
.link svg { width: 14px; height: 14px; transition: transform .15s ease; }
.link:hover svg { transform: translateX(3px); }

/* ---------------------------------------------------------- header */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 90; background: var(--surface); color: var(--surface-ink); border-bottom: 1px solid var(--surface-line); }
.hdr .wrap { display: flex; align-items: center; gap: 28px; height: var(--hdr-h); }
/* On desktop the bar spreads wider than the page column: logo towards the left
   edge, theme switch towards the right. Phone widths keep the normal gutter. */
@media (min-width: 1280px) { .hdr .wrap { max-width: none; padding-inline: 64px 40px; } }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; color: var(--surface-ink); }
.hdr .logo { height: 100%; }
.logo img { height: 70px; width: auto; object-fit: contain; }
.ftr .logo img { height: 64px; }
.logo .wordmark { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; line-height: 1; transition: color .15s ease; }
.logo:hover .wordmark { color: var(--wm-hover); }
/* Free space in the bar is shared 2 : 1 : 1 between the three spacers: the
   menu keeps its place, Contact sits halfway between menu and switch. */
.nav { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; gap: 4px; }
.hdr .sp { flex: 1 1 0; min-width: 12px; }
.hdr .sp-l { flex-grow: 2; }
.nav > li { position: relative; }
.nav a, .nav .nav-btn { display: inline-flex; align-items: center; gap: 5px; padding: 8px 11px; border-radius: 3px; background: none; border: 0; cursor: pointer; text-decoration: none; color: var(--surface-ink-soft); font-weight: 500; font-size: 0.875rem; white-space: nowrap; }
.nav a:hover, .nav .nav-btn:hover, .nav a.is-current, .nav > li.is-current > .nav-btn { color: var(--surface-ink); background: var(--surface-tint); }
.nav .nav-btn svg { width: 13px; height: 13px; transition: transform .15s ease; }
.nav > li[aria-expanded="true"] > .nav-btn svg, .nav > li:hover > .nav-btn svg { transform: rotate(180deg); }
.dd-menu { position: absolute; left: 0; top: calc(100% + 6px); min-width: 250px; padding: 8px; background: var(--surface); border: 1px solid var(--surface-line); border-radius: 6px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s ease, transform .15s ease, visibility 0s .15s; }
.dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.nav > li:hover > .dd-menu, .nav > li[aria-expanded="true"] > .dd-menu, .nav > li:focus-within > .dd-menu { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity .15s ease, transform .15s ease, visibility 0s; }
.dd-menu a { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 9px 11px; border-radius: 4px; width: 100%; white-space: normal; }
.dd-menu a small { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--surface-ink-soft); font-weight: 500; }
.dd-menu a:hover small, .dd-menu a.is-current small { color: var(--surface-accent); }
.hdr-right { display: flex; align-items: center; gap: 12px; flex: none; }
/* Contact follows the theme like every other solid button (the hero's 3D configurator button included). */
.theme-toggle { width: 38px; height: 38px; padding: 0; border-radius: 50%; border: 1px solid var(--surface-line); background: var(--surface); color: var(--surface-ink-soft); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; transition: color .15s ease, border-color .15s ease; }
.theme-toggle:hover { color: var(--surface-ink); border-color: var(--surface-ink-soft); }
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}
/* 1280 to 1359 px: the header ran 50 px wider than the screen; tighten its spacing there */
@media (min-width: 1280px) and (max-width: 1519px) { .hdr .wrap { gap: 10px; padding-inline: 24px 20px; } .hdr .sp { min-width: 0; } .nav { gap: 0; } .nav a, .nav .nav-btn { padding: 8px 8px; } .hdr-right { gap: 4px; } }
@media (min-width: 1280px) and (max-width: 1379px) { .hdr .logo .wordmark { display: none; } }
/* phones: the language switch made the header wider than the screen; drop the wordmark beside the emblem and tighten the gaps */
@media (max-width: 520px) { .hdr .wrap { gap: 10px; } .hdr .logo .wordmark { display: none; } .hdr-right { gap: 6px; } }
.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--surface-line); background: var(--surface); border-radius: var(--radius); align-items: center; justify-content: center; cursor: pointer; color: var(--surface-ink); }
.burger svg { width: 20px; height: 20px; }
.burger .ic-close { display: none; }
body.nav-open .burger .ic-close { display: block; }
body.nav-open .burger .ic-open { display: none; }
@media (max-width: 1279px) {
  .nav, .hdr .sp-a, .hdr .sp-b, .hdr .btn-contact { display: none; }
  .burger { display: inline-flex; }
}
/* mobile drawer */
.drawer { position: fixed; inset: calc(var(--hdr-h) + env(safe-area-inset-top, 0px)) 0 0 0; z-index: 85; background: var(--surface); color: var(--surface-ink); overflow-y: auto; padding: 8px var(--gutter) 40px; display: none; }
body.nav-open .drawer { display: block; }
body.nav-open { overflow: hidden; }
.drawer details { border-bottom: 1px solid var(--surface-line); }
.drawer summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 16px 0; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; cursor: pointer; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary svg { width: 18px; height: 18px; transition: transform .2s ease; }
.drawer details[open] summary svg { transform: rotate(180deg); }
.drawer .dr-list { padding: 0 0 12px 0; display: grid; gap: 2px; }
.drawer .dr-list a, .drawer > a.dr-top { display: block; padding: 11px 0; color: var(--surface-ink-soft); text-decoration: none; font-weight: 500; font-size: 1.0625rem; }
.drawer > a.dr-top { border-bottom: 1px solid var(--surface-line); font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--surface-ink); padding: 16px 0; }
.drawer .dr-list a.is-current { color: var(--surface-accent); }
.drawer .dr-actions { display: flex; gap: 12px; padding-top: 22px; }

/* ----------------------------------------------------------- pages */
.pg { display: none; }
.pg.is-active { display: block; animation: pgin .28s ease; }
@keyframes pgin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pg.is-active { animation: none; } }

/* title block, like a drawing's */
.sheet { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.sheet::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 92%); mask-image: linear-gradient(180deg, #000 0%, transparent 92%); pointer-events: none; }
.sheet .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px 64px; padding-block: 56px 60px; align-items: end; }
.sheet .crumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 22px; }
.sheet .crumb a { color: var(--purple-deep); text-decoration: none; }
.sheet .crumb a:hover { text-decoration: underline; }
.sheet .crumb span.sep { opacity: 0.5; }
.sheet h1 { max-width: 14ch; }
.sheet .lead { margin-top: 22px; }
.sheet .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin: 0; }
.facts dd { margin: 0; font-family: var(--font-mono); font-weight: 600; font-size: 1.0625rem; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.facts dd small { font-weight: 500; color: var(--ink-soft); font-size: 0.75rem; margin-left: 5px; }
@media (max-width: 900px) {
  .sheet .wrap { grid-template-columns: 1fr; gap: 32px; padding-block: 40px 44px; }
}

/* sections. Three grounds alternate down every page, as in v1: paper, raised
   (white / dark-raised), and the pinned lilac band. Inside the band the ink
   tokens are re-pointed at the fixed surface set so it reads in both themes. */
.sheet { background: var(--paper-raised); }
.sec { padding-block: 84px; border-bottom: 1px solid var(--line); }
.sec.raised { background: var(--paper-raised); }
.sec.tint { background: var(--surface-tint); color: var(--surface-ink); --ink: var(--surface-ink); --ink-soft: var(--surface-ink-soft); --line: rgba(78,39,101,0.2); --purple-deep: var(--surface-accent); --purple: #6B3891; --on-accent: #FFFFFF; --paper: #FFFFFF; --paper-raised: #FFFFFF; --hover-wash: rgba(78,39,101,0.06); --green-deep: #3C6F14; --green-tint: #ECF6E2; --green: #4E8C1E; --idx: var(--surface-accent); }
.toc-layout .sec.tint { padding: 40px 40px 44px; border-radius: 6px; margin-bottom: 64px; }
@media (max-width: 600px) { .toc-layout .sec.tint { padding: 24px 20px 28px; } }
.sec.tight { padding-block: 56px; }
.sec:last-child { border-bottom: 0; }
.sec-head { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px 32px; margin-bottom: 44px; align-items: start; }
.sec-head .idx { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--idx); padding-top: 0.6em; line-height: 1.5; }
.sec-head h2 { max-width: 22ch; }
.sec-head p { margin-top: 14px; color: var(--ink-soft); font-size: 1.0625rem; max-width: 42ch; }
.sec-body { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 32px; align-items: start; }
.sec-body > :first-child { min-width: 0; }
.sec-body.full { grid-template-columns: 1fr; }
.sec-body .side { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; color: var(--ink-soft); line-height: 1.7; padding-top: 4px; }
.sec-body .side strong { display: block; color: var(--ink); font-weight: 600; }
.sec-body .side p + p { margin-top: 14px; }
@media (max-width: 900px) {
  .sec { padding-block: 60px; }
  .sec-head, .sec-body { grid-template-columns: 1fr; gap: 10px; }
  .sec-head { margin-bottom: 30px; }
  .sec-body { gap: 22px; }
  .sec-body .side { order: 2; }
}

/* plates */
.plate { margin: 0; display: grid; gap: 10px; }
.plate .ph { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--purple-tint); }
.plate img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform .5s ease; }
.plate:hover img { transform: scale(1.025); }
@media (prefers-reduced-motion: reduce) { .plate img, .plate:hover img { transition: none; transform: none; } }
.plate figcaption { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.03em; color: var(--ink-soft); line-height: 1.5; display: flex; gap: 12px; align-items: baseline; }
.plate figcaption b { font-weight: 600; color: var(--purple-deep); flex: none; }
.plate .ph.r16 { aspect-ratio: 16 / 9; }
.plate .ph.r4 { aspect-ratio: 4 / 3; }
.plate .ph.r3 { aspect-ratio: 3 / 2; }
.plate .ph.r1 { aspect-ratio: 1; }
.plate .ph.r45 { aspect-ratio: 4 / 5; }
.plate .ph.tall { aspect-ratio: 4 / 5; }
.badge { position: absolute; top: 12px; left: 12px; z-index: 2; font-family: var(--font-mono); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 9px; border-radius: 3px; background: var(--paper-raised); color: var(--purple-deep); box-shadow: var(--badge-shadow); }
.badge.green { color: var(--green-deep); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) { .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid2, .grid3 { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ home */
/* Home hero: full-bleed render under a near-black scrim (from v1). The scrim
   does not follow the theme, so everything on it is pinned light. */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 62%; z-index: 0; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(15,14,17,0.74) 0%, rgba(15,14,17,0.60) 34%, rgba(15,14,17,0.32) 62%, rgba(15,14,17,0.06) 92%); z-index: 1; }
.hero .wrap { position: relative; z-index: 2; padding-block: 110px; display: block; }
.hero-text { display: grid; gap: 22px; max-width: 620px; }
.hero .eyebrow { color: var(--purple-bright); }
.hero h1 { font-size: clamp(2.5rem, 4.4vw, 4rem); color: #FFFFFF; max-width: 16ch; }
.hero h1 em { font-style: normal; color: var(--purple-bright); }
.word-swap { display: inline-block; color: var(--purple-bright); transition: opacity .22s ease, transform .22s ease; }
.hero p.lead { color: rgba(255,255,255,0.82); max-width: 520px; margin: 0; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.hero .btn-line.on-paper { border-color: rgba(255,255,255,0.65); color: #FFFFFF; }
.hero .btn-line.on-paper:hover { background: rgba(255,255,255,0.14); border-color: #FFFFFF; }
.stat-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.stat-chip { display: flex; align-items: baseline; gap: 7px; padding: 9px 14px; border: 1px solid rgba(255,255,255,0.28); border-radius: 3px; background: rgba(255,255,255,0.1); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.stat-chip .num { font-family: var(--font-mono); font-weight: 600; color: #FFFFFF; font-size: 0.875rem; }
.stat-chip .label { font-size: 0.75rem; color: rgba(255,255,255,0.78); }
@media (max-width: 900px) {
  .hero { min-height: 560px; }
  .hero .wrap { padding-block: 64px 56px; }
  .hero-text { max-width: 100%; }
  .hero-scrim { background: linear-gradient(180deg, rgba(15,14,17,0.55) 0%, rgba(15,14,17,0.88) 55%, rgba(15,14,17,0.94) 100%); }
}

/* spec rail */
.rail-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 28px; padding-block: 22px; }
.rail-k { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rail-k); }
.rail-h { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.3; letter-spacing: 0; color: var(--ink); margin: 0; }
.rail-s { color: var(--ink-soft); font-size: 1.0625rem; margin: 0; }
@media (max-width: 700px) { .rail-line { gap: 4px 20px; } .rail-s { width: 100%; } }
.rail { border-bottom: 1px solid var(--rail-line); background: var(--rail-bg); }
.rail ul { display: flex; flex-wrap: wrap; }
.rail li { display: flex; align-items: baseline; gap: 10px; padding: 16px 28px 16px 0; margin-right: 28px; border-right: 1px solid var(--line); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--ink-soft); }
.rail li:last-child { border-right: 0; }
.rail li b { font-weight: 600; color: var(--ink); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .rail li { border-right: 0; padding: 10px 0; margin-right: 24px; } }

/* product rows */
.prod { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px 56px; align-items: center; padding-block: 36px; border-top: 1px solid var(--line); }
.prod:first-child { border-top: 0; padding-top: 0; }
.prod.right .plate { order: 2; }
.prod .plate .ph { aspect-ratio: 4 / 3; }
.prod h3 { font-size: 1.625rem; margin-top: 10px; }
.prod p.desc { margin-top: 14px; color: var(--ink-soft); max-width: 39ch; }
.prod .link { margin-top: 20px; }
.prod .meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--ink-soft); }
.prod .meta b { color: var(--ink); font-weight: 600; }
@media (max-width: 800px) { .prod { grid-template-columns: 1fr; } .prod.right .plate { order: 0; } }

/* module counter */
.iso-plus { cursor: pointer; outline: none; }
.iso-plus circle { fill: var(--plus-bg); fill-opacity: 0.88; stroke: none; transform-box: fill-box; transform-origin: center; transition: transform .18s ease; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25)); }
.iso-plus path { stroke: var(--plus-ink); }
.iso-plus:hover circle, .iso-plus:focus-visible circle { transform: scale(1.15); }
.counter { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 48px; align-items: start; }
.counter .iso { position: relative; padding: 8px 0 0; }
/* The drawing sits on a sheet grid that runs the full width of the section
   and fades out towards the page edges, instead of inside a framed box. */
.sec.grid-bleed { position: relative; border-bottom: 0; background: linear-gradient(180deg, var(--paper) 0%, var(--paper-raised) 18%, var(--paper-raised) 82%, var(--paper) 100%); }
.sec.before-bleed { border-bottom: 0; }
.sec.grid-bleed::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%); mask-composite: intersect; pointer-events: none; }
.sec.grid-bleed > .wrap { position: relative; }
.counter .iso svg { width: 100%; height: auto; display: block; color: var(--ink); }
.counter .iso .lbl { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper-raised); }
.seg button { padding: 10px 0; width: 56px; border: 0; background: transparent; cursor: pointer; font-family: var(--font-mono); font-weight: 600; font-size: 0.875rem; color: var(--ink-soft); border-right: 1px solid var(--line); transition: background .15s ease, color .15s ease; }
.seg button:last-child { border-right: 0; }
.seg button:hover { background: var(--hover-wash); color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--purple); color: var(--on-accent); }
.counter .panel { display: grid; gap: 18px; }
.counter .panel .row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.counter .plan { border: 1px solid var(--line); border-radius: var(--radius); background: #FFFFFF; padding: 18px; display: flex; align-items: center; justify-content: center; overflow: hidden; width: fit-content; max-width: 100%; justify-self: start; }
.counter .plan img { max-height: 360px; width: auto; max-width: 100%; object-fit: contain; cursor: zoom-in; transition: transform .5s ease; }
.counter .plan:hover img { transform: scale(1.08); }
@media (prefers-reduced-motion: reduce) { .counter .plan img, .counter .plan:hover img { transition: none; transform: none; } }
.counter .m2 { font-family: var(--font-display); font-weight: 700; font-size: 3rem; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.counter .m2 small { font-family: var(--font-mono); font-weight: 500; font-size: 0.875rem; letter-spacing: 0.06em; color: var(--ink-soft); margin-left: 8px; }
.counter .tag { font-family: var(--font-mono); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple-deep); }
.counter .who { color: var(--ink-soft); }
.counter .also { font-size: 0.875rem; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 14px; }
@media (max-width: 900px) { .counter { grid-template-columns: 1fr; } }

/* case study */
.case { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px 72px; align-items: start; }
.case .shots { display: grid; gap: 16px; }
.case .shots .plate .ph { aspect-ratio: 16 / 9; }
.case h3 { font-size: 1.625rem; }
.case .loc { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-top: 8px; }
.case .desc { margin-top: 18px; color: var(--ink-soft); }
.case h4 { margin-top: 36px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple-deep); }
.case .client { margin-top: 10px; color: var(--ink-soft); font-size: 0.875rem; }
.case .case-title { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.case .case-title .link { margin: 0; font-size: 0.875rem; color: var(--idx); }
.case .case-title .link:hover { color: var(--purple); }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; gap: 28px; } }

/* numbered lists (real sequences and layer stacks only) */
.layers { display: grid; gap: 14px; }
.layers li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: baseline; color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.6; }
.layers li b, .layers li strong { color: var(--ink); font-weight: 600; }
.layers .n { font-family: var(--font-mono); font-weight: 600; font-size: 0.75rem; color: var(--purple-deep); }
.layers.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; }
@media (max-width: 800px) { .layers.two { grid-template-columns: 1fr; } }

/* process line */
.line { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; }
.line::before { content: ""; position: absolute; left: 20px; right: 20px; top: 20px; height: 1px; background: var(--line); }
.line a { position: relative; text-decoration: none; color: inherit; display: grid; gap: 12px; padding-right: 12px; align-content: start; }
.line .node { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--purple); background: var(--paper); color: var(--purple-deep); font-family: var(--font-mono); font-weight: 600; font-size: 0.875rem; display: flex; align-items: center; justify-content: center; transition: background .15s ease, color .15s ease; }
.line a:hover .node { background: var(--purple); color: var(--on-accent); }
.line h4 { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.line p { color: var(--ink-soft); font-size: 0.875rem; }
.line .go { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple-deep); }
@media (max-width: 800px) { .line { grid-template-columns: 1fr 1fr; } .line::before { display: none; } }
@media (max-width: 480px) { .line { grid-template-columns: 1fr; } }

/* reasons */
.reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.reasons li { padding: 26px 28px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.reasons h4 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }
.reasons p { color: var(--ink-soft); font-size: 0.875rem; }
.reasons .k { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple-deep); }
@media (max-width: 700px) { .reasons { grid-template-columns: 1fr; } }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; align-content: flex-start; }
.chips { gap: 8px; }
.chip { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.04em; padding: 7px 11px; border: 0; border-radius: 4px; background: #EDF6E3; color: #3C6F14; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chip { background: #2E2333; color: #D9C6E6; } }
:root[data-theme="dark"] .chip { background: #2E2333; color: #D9C6E6; }
.sec.tint .chip { background: rgba(60,111,20,0.12); color: #2F5A10; }

/* news */
.news { display: grid; }
.news article { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px 32px; padding: 26px 0; border-top: 1px solid var(--line); }
.news time { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); padding-top: 0.35em; }
.news h3 { font-size: 1.25rem; }
.news p { margin-top: 8px; color: var(--ink-soft); max-width: 45ch; }
.news .src { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.news .src span { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; padding: 4px 9px; border: 1px solid var(--line); border-radius: 3px; color: var(--ink-soft); }
@media (max-width: 700px) { .news article { grid-template-columns: 1fr; gap: 6px; } }

/* contact band */
.band { background: var(--band-bg); color: var(--band-ink); }
.band .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 36px 56px; padding-block: 72px; }
.band h2 { color: var(--band-ink); max-width: 16ch; }
.band p { color: var(--band-ink-soft); margin-top: 16px; max-width: 33ch; }
.band .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.band .addr { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.band address { font-style: normal; color: var(--band-ink-soft); font-size: 0.875rem; line-height: 1.65; border-top: 1px solid var(--band-line); padding-top: 16px; }
.band address strong { display: block; color: var(--band-ink); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.band address a { color: var(--band-ink); }
@media (max-width: 900px) { .band .wrap { grid-template-columns: 1fr; padding-block: 56px; } }
@media (max-width: 480px) { .band .addr { grid-template-columns: 1fr; } }

/* prev / next */
.pn { border-top: 1px solid var(--line); }
.pn .wrap { display: grid; grid-template-columns: 1fr 1fr; }
.pn a { display: grid; gap: 6px; padding: 30px 0; text-decoration: none; color: inherit; }
.pn a + a { text-align: right; border-left: 1px solid var(--line); padding-left: 24px; }
.pn a:first-child { padding-right: 24px; }
.pn small { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.pn b { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--ink); }
.pn a:hover b { color: var(--purple-deep); }

/* ---------------------------------------------------------- footer */
.ftr { background: var(--surface); color: var(--surface-ink-soft); position: relative; }

/* streetlights: off by day, warm light and a soft beam in dark mode */
.fstrip .bulb { fill: var(--surface-line); stroke: var(--fl); stroke-width: .8; opacity: .8; }
.fstrip .lampline { stroke-width: 1.1; }
.fstrip .hood { fill: var(--fl); stroke: var(--fl); stroke-width: 1; stroke-linejoin: round; opacity: .8; }
.fstrip .beam { opacity: 0; } .fstrip .pool { fill: #F2C96B; opacity: 0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fstrip.night .bulb { fill: #F7D98C; stroke: #F2C96B; opacity: 1; } :root:not([data-theme="light"]) .fstrip.night .beam { opacity: 1; } :root:not([data-theme="light"]) .fstrip.night .pool { opacity: .35; } }
:root[data-theme="dark"] .fstrip.night .bulb { fill: #F7D98C; stroke: #F2C96B; opacity: 1; }
:root[data-theme="dark"] .fstrip.night .beam { opacity: 1; }
:root[data-theme="dark"] .fstrip.night .pool { opacity: .35; }

/* small passer-by walking through the street (3 + walker) */
.walker-s { position: absolute; bottom: 3px; left: -20px; width: 6.5px; height: 13px; overflow: visible; animation: hz-walk-r 55s linear infinite; }
.walker-s .pl { fill: none; stroke: var(--surface-ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.walker-s .pfill { fill: var(--surface); }
.walker-s .legs-b { animation: hz-step .6s steps(1) infinite; }
.walker-s .legs-a { animation: hz-step .6s steps(1) infinite reverse; }
.walker-s .bob { animation: hz-bob .3s ease-in-out infinite alternate; }
@keyframes hz-walk-r { from { left: -20px; } to { left: 100%; } }
@media (prefers-reduced-motion: reduce) { .walker-s { animation: none; left: 22%; } .walker-s .legs-a, .walker-s .legs-b, .walker-s .bob { animation: none; } .walker-s .legs-a { opacity: 0; } }

/* ---------------------------------------------------------------- footer strip drafts */
.fdemo { margin-top: 34px; }
.fdemo h3 { margin: 0 0 4px; }
.fdemo > p { margin: 0 0 14px; color: var(--ink-soft); max-width: 70ch; }
.fdemo-box { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); color: var(--surface-ink-soft); }
.fdemo-ftr { display: flex; gap: 22px; align-items: baseline; padding: 22px 24px 26px; font-size: 0.875rem; }
.fdemo-logo { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; color: var(--surface-ink); }
.fdemo-old { height: 40px; background-repeat: repeat-x; background-position: center bottom; background-size: auto 40px; opacity: .75; border-bottom: 1px solid var(--surface-line); }

.fstrip { position: relative; height: 60px; border-bottom: 1px solid var(--surface-line); overflow: hidden; --fl: var(--surface-ink); }
.fstrip-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.fstrip .fl { fill: none; stroke: var(--fl); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: .72; }
.fstrip .ground { stroke: var(--surface-line); stroke-width: 1; }
.fstrip .crown { fill: var(--green-tint); stroke: var(--green); opacity: .9; }
.fstrip .timber { fill: #D8B588; }
.fstrip .win-dark { fill: var(--surface-ink); opacity: .35; }
.fstrip .house { fill: var(--surface); }
.fstrip .win { fill: #DCE5EC; stroke: var(--fl); stroke-width: 1; opacity: .8; transition: fill .6s ease; }
.fstrip .door { fill: var(--surface-line); stroke: var(--fl); stroke-width: 1; opacity: .8; }
.fstrip .moon { display: none; } .fstrip .stars { visibility: hidden; }

/* option 1: the walker */
.walker { position: absolute; bottom: 3px; left: 100%; width: 34px; height: 49px; overflow: visible; animation: hz-walk 38s linear infinite; }
.walker { will-change: left; }
.walker .fl { opacity: 1; stroke-width: 1.4; }
.walker .body-fill { fill: var(--surface); }
.walker .mod-fill { fill: var(--green); }
.walker .win-line { fill: none; stroke: #fff; stroke-width: .8; }
.walker .eye { fill: var(--surface-ink); }
.walker .legs-b { animation: hz-step .7s steps(1) infinite; }
.walker .legs-a { animation: hz-step .7s steps(1) infinite reverse; }
.walker .bob { animation: hz-bob .35s ease-in-out infinite alternate; }
@keyframes hz-walk { from { left: 100%; } to { left: -40px; } }
@keyframes hz-step { 0% { opacity: 1; } 50% { opacity: 0; } }
@keyframes hz-bob { from { transform: translateY(0); } to { transform: translateY(-0.6px); } }

/* dark mode: option 3 windows light up, moon and a few stars */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fstrip.night .win { fill: #F2C96B; opacity: .95; }
  :root:not([data-theme="light"]) .fstrip.night .moon { display: block; } :root:not([data-theme="light"]) .fstrip.night .stars { visibility: visible; }
  :root:not([data-theme="light"]) .fstrip .timber { fill: #B88F5E; } }
:root[data-theme="dark"] .fstrip.night .win { fill: #F2C96B; opacity: .95; }
:root[data-theme="dark"] .fstrip.night .moon { display: block; } :root[data-theme="dark"] .fstrip.night .stars { visibility: visible; }
:root[data-theme="dark"] .fstrip .timber { fill: #B88F5E; }
.fstrip .moon { position: absolute; left: 186px; top: 5px; width: 16px; height: 16px; fill: #F3EBF8; opacity: .9; }
.fstrip.street2 .moon { left: 236px; top: 3px; }
.fstrip .stars { fill: #F3EBF8; opacity: .6; }
@media (prefers-reduced-motion: reduce) { .walker { animation: none; left: auto; right: 18%; } .walker .legs-a, .walker .legs-b, .walker .bob { animation: none; } .walker .legs-a { opacity: 0; } }

.treeline { height: 40px; background-repeat: repeat-x; background-position: center bottom; background-size: auto 40px; opacity: 0.75; border-bottom: 1px solid var(--surface-line); }
.ftr .top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 2.5fr) minmax(0, 2.5fr); gap: 32px 40px; padding-block: 56px 40px; }
.ftr .brand p { margin-top: 14px; max-width: 23ch; font-size: 0.875rem; }
.ftr h5 { margin: 0 0 14px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--surface-accent); }
.ftr ul { display: grid; gap: 6px; }
.ftr ul a { color: var(--surface-ink-soft); text-decoration: none; font-size: 0.875rem; }
.ftr ul a:hover { color: var(--surface-ink); }
.ftr address { font-style: normal; font-size: 0.875rem; line-height: 1.65; }
.ftr address strong { display: block; color: var(--surface-ink); font-weight: 600; margin-bottom: 4px; }
.ftr address a { color: var(--surface-ink); text-decoration: none; }
.news-follow { margin-top: 40px; padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-raised); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.news-follow h3 { margin: 0 0 4px; }
.news-follow p { margin: 0; color: var(--ink-soft); max-width: 46ch; }
.follow-links { display: flex; flex-wrap: wrap; gap: 10px; }
.follow-links a { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.9375rem; transition: border-color .15s ease, color .15s ease, background .15s ease; }
.follow-links a:hover { border-color: var(--purple); color: var(--purple); }
.follow-links svg { width: 18px; height: 18px; flex: none; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--surface-line); display: inline-flex; align-items: center; justify-content: center; color: var(--surface-ink-soft); transition: background .15s ease, color .15s ease; }
.socials svg { width: 14px; height: 14px; }
.socials a:hover { background: var(--surface-accent); color: #fff; border-color: var(--surface-accent); }
.ftr .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 18px 26px; border-top: 1px solid var(--surface-line); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.04em; }
@media (max-width: 900px) { .ftr .top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ftr .top { grid-template-columns: 1fr; } }

/* -------------------------------------------------------- lightbox */
.lb { position: fixed; inset: 0; z-index: 120; background: rgba(12,10,14,0.92); display: none; align-items: center; justify-content: center; padding: 24px; }
.lb.is-open { display: flex; }
.lb img { max-width: min(96vw, 1400px); max-height: 82vh; object-fit: contain; background: #F3F0EA; border-radius: 4px; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.lb .cap { position: absolute; left: 24px; right: 24px; bottom: 22px; text-align: center; color: rgba(255,255,255,0.8); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.04em; }
.lb button { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.08); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lb button svg { width: 18px; height: 18px; }
.lb .lb-prev, .lb .lb-next { top: 50%; transform: translateY(-50%); }
.lb .lb-prev { left: 18px; right: auto; }
.lb .lb-next { right: 18px; }

/* ------------------------------------------------ sticky page index */
.toc-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: calc(var(--hdr-h) + 28px); display: grid; gap: 2px; }
.toc a { display: block; padding: 7px 12px; border-left: 2px solid var(--line); color: var(--ink-soft); text-decoration: none; font-size: 0.875rem; font-weight: 500; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--purple-deep); border-left-color: var(--purple); }
.toc .toc-t { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); padding: 0 0 8px 12px; }
.toc-layout .sec { padding-block: 0 64px; border-bottom: 0; }
.toc-layout .sec-head { grid-template-columns: 1fr; gap: 6px; margin-bottom: 26px; }
.toc-layout .sec-head .idx { padding-top: 0; }
.toc-layout > div > .sec:last-child { padding-bottom: 0; }
@media (max-width: 1100px) { .toc-layout { grid-template-columns: 1fr; } .toc { position: static; display: flex; flex-wrap: wrap; gap: 4px 6px; margin-bottom: 8px; } .toc .toc-t { width: 100%; } .toc a { border-left: 0; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 0.875rem; } .toc a.is-active { border-color: var(--purple); } }

/* ------------------------------------------------ config carousels */
.cfg { border: 1px solid var(--line); border-radius: 6px; background: var(--paper-raised); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.cc { position: relative; background: #FFFFFF; border-bottom: 1px solid var(--line); overflow: hidden; outline: none; }
.cc-track { display: flex; transition: transform .4s cubic-bezier(.65,0,.35,1); }
.cc-slide { flex: 0 0 100%; aspect-ratio: 16 / 9; margin: 0; padding: 10px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cc-slide img { width: 100%; height: 100%; object-fit: contain; }
.cc-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper-raised); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--badge-shadow); opacity: 0; transition: opacity .15s ease, background .15s ease, color .15s ease; padding: 0; z-index: 2; }
.cc:hover .cc-btn, .cc:focus-within .cc-btn { opacity: 1; }
@media (hover: none) { .cc-btn { opacity: 1; } }
.cc-btn:hover { background: var(--purple); color: var(--on-accent); }
.cc-btn svg { width: 17px; height: 17px; }
.cc-prev { left: 10px; } .cc-next { right: 10px; }
.cc-foot { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; z-index: 2; }
.cc-label { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: #6a6a72; }
.cc-dots { display: flex; gap: 6px; }
.cc-dot { width: 7px; height: 7px; border-radius: 50%; border: 0; background: rgba(30,28,36,0.28); padding: 0; cursor: pointer; transition: width .15s ease, background .15s ease; }
.cc-dot.is-active { background: #512A6E; width: 16px; border-radius: 3px; }
.cfg .body { padding: 20px 22px 22px; display: grid; gap: 8px; }
.cfg .tag { font-family: var(--font-mono); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple-deep); }
.cfg .m2 { font-family: var(--font-display); font-weight: 700; font-size: 3rem; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.cfg .m2 small { font-family: var(--font-mono); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.06em; color: var(--ink-soft); margin-left: 6px; }
.cfg .who { color: var(--ink-soft); font-size: 0.875rem; }
.sheet-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 8px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 3px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); text-decoration: none; cursor: pointer; background: transparent; transition: background .15s ease, color .15s ease, border-color .15s ease; justify-self: start; }
.sheet-link:hover { background: var(--purple); border-color: var(--purple); color: var(--on-accent); }
.sheet-link svg { width: 15px; height: 15px; flex: none; }
.sheet-link .meta { font-size: 0.75rem; opacity: 0.65; }
.sheet-status { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--ink-soft); min-height: 1.1em; }
.cfg.plan-only .plan { background: #FFFFFF; border-bottom: 1px solid var(--line); padding: 18px; display: flex; align-items: center; justify-content: center; min-height: 200px; }
.cfg.plan-only .plan img { max-height: 200px; width: auto; max-width: 100%; object-fit: contain; }

/* pull quote */
.pull { margin: 28px 0 0; padding: 22px 28px; border-left: 3px solid var(--purple); background: var(--paper-raised); border-radius: 0 4px 4px 0; }
.pull p { font-family: var(--font-display); font-weight: 600; font-size: 1.625rem; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); }
.pull.green { border-left-color: #3C6F14; background: linear-gradient(90deg, #EDF6E3 0 66%, transparent 100%); border-radius: 0; }
.pull.green p { color: #1F2A18; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pull.green { border-left-color: #6B3891; background: linear-gradient(90deg, #E9DCF2 0 66%, transparent 100%); } :root:not([data-theme="light"]) .pull.green p { color: #1A1A1C; } }
:root[data-theme="dark"] .pull.green { border-left-color: #6B3891; background: linear-gradient(90deg, #E9DCF2 0 66%, transparent 100%); }
:root[data-theme="dark"] .pull.green p { color: #1A1A1C; }
.note { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; font-size: 0.875rem; color: var(--ink-soft); background: var(--paper-raised); }
.note strong { color: var(--ink); }

/* team */
/* team: portrait tiles, name on the photo, role revealed on hover (2:3 like a print portrait) */
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.person { position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 4px; background: #141216; color: #FFFFFF; text-decoration: none; isolation: isolate; }
.person .pic { position: absolute; inset: 0; }
.person .pic img { position: absolute; inset: 0; max-width: none; width: calc(100% + 36px); height: 100%; object-fit: cover; object-position: center top; filter: grayscale(1) contrast(1.02); opacity: 0.78; transform: translateX(-36px); transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .45s ease, filter .45s ease; }
.person::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,22,0) 45%, rgba(20,18,22,0.78) 100%); pointer-events: none; }
.person .cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px 18px 40px; display: grid; gap: 4px; }
.person b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.1; letter-spacing: 0; text-transform: uppercase; color: #FFFFFF; transform: translateY(22px); transition: transform .4s cubic-bezier(.2,.7,.2,1); text-wrap: balance; }
.person span { display: block; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.86); opacity: 0; transform: translateY(22px); transition: opacity .25s ease, transform .4s cubic-bezier(.2,.7,.2,1); }
.person:hover .pic img, .person:focus-visible .pic img { transform: none; opacity: 1; filter: none; }
.person:hover b, .person:focus-visible b { transform: none; }
.person:hover span, .person:focus-visible span { opacity: 1; transform: none; transition-delay: .06s; }
/* logo tile for people shown without a portrait */
.person.mark { background: #E9DCF2; color: #1A1A1C; }
.person.mark::after { display: none; }
.person.mark .pic img { max-width: none; width: 100%; height: 100%; object-fit: contain; padding: 14% 14% 34%; filter: none; opacity: 1; transform: none; }
.person.mark b { color: #1A1A1C; }
.person.mark span { color: rgba(26,26,28,0.72); }
.person.mark:hover .pic img, .person.mark:focus-visible .pic img { transform: scale(1.04); }
@media (hover: none) { .person .pic img { transform: none; opacity: 1; filter: none; } .person b { transform: none; } .person span { opacity: 1; transform: none; } .person .cap { padding-bottom: 20px; } }
@media (prefers-reduced-motion: reduce) { .person .pic img, .person b, .person span { transition: none; } }
.group { padding-block: 26px 34px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px 32px; }
.group h3 { font-size: 1.0625rem; font-family: var(--font-mono); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple-deep); padding-top: 6px; }
.group p.note-line { grid-column: 2; color: var(--ink-soft); font-size: 0.875rem; }
@media (max-width: 1000px) { .people { grid-template-columns: repeat(3, minmax(0, 1fr)); } .group { grid-template-columns: 1fr; } .group p.note-line { grid-column: 1; } }
@media (max-width: 560px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .person .cap { padding: 14px 14px 18px; } }

/* partners */
.partner { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 16px 32px; align-items: start; padding-block: 30px; border-top: 1px solid var(--line); }
.partner .role { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple-deep); padding-top: 6px; }
.partner h3 { font-size: 1.625rem; }
.partner p { margin-top: 10px; color: var(--ink-soft); max-width: 42ch; }
.partner .link { padding-top: 6px; white-space: nowrap; }
@media (max-width: 900px) { .partner { grid-template-columns: 1fr; gap: 8px; } }
.flow { border: 1px solid var(--line); border-radius: 6px; background: var(--paper-raised); padding: 20px; }
.flow svg { width: 100%; height: auto; display: block; color: var(--ink); }

/* accessories */
.acc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.acc article { border: 1px solid var(--line); border-radius: 6px; background: var(--paper-raised); padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.acc .kind { font-family: var(--font-mono); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple-deep); }
.acc h3 { font-size: 1.625rem; }
.acc p.l { color: var(--ink); font-weight: 500; }
.acc p { color: var(--ink-soft); font-size: 0.875rem; }
.acc .link { margin-top: auto; padding-top: 14px; }
@media (max-width: 900px) { .acc { grid-template-columns: 1fr; } }
.wall { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 56px; align-items: center; }
@media (max-width: 900px) { .wall { grid-template-columns: 1fr; } }

/* certification stripe + marks */
.stripe { height: 34px; margin-block: 40px; background-repeat: repeat-x; background-position: center; background-size: auto 28px; opacity: 0.9; border-radius: 2px; }
.marks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.marks figure { margin: 0; display: grid; gap: 12px; justify-items: start; }
.marks .disc { width: 100%; max-width: 260px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #000; }
.marks img { width: 100%; height: 100%; object-fit: cover; }
.marks figcaption { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--ink-soft); }
.list-rule { display: grid; }
.list-rule li { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 8px 32px; padding: 16px 0; border-top: 1px solid var(--line); }
.list-rule li b { font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; color: var(--ink); }
.list-rule li span { color: var(--ink-soft); font-size: 0.875rem; }
@media (max-width: 700px) { .list-rule li { grid-template-columns: 1fr; } }

/* module assembly steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.step { margin: 0; position: relative; border: 1px solid var(--line); border-radius: 6px; background: var(--paper-raised); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.step:hover { transform: translateY(-4px); box-shadow: var(--lift-shadow); border-color: var(--purple); }
@media (prefers-reduced-motion: reduce) { .step, .step:hover { transition: none; transform: none; } }
.step .ph { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--purple-tint); }
.step .ph img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.step .n { position: absolute; top: 12px; left: 12px; z-index: 2; width: 32px; height: 32px; border-radius: 50%; background: var(--purple); color: var(--on-accent); font-family: var(--font-mono); font-weight: 600; font-size: 0.75rem; display: flex; align-items: center; justify-content: center; box-shadow: var(--badge-shadow); }
.step figcaption { padding: 18px 20px 22px; display: grid; gap: 6px; }
.step figcaption b { font-weight: 600; color: var(--ink); font-size: 1.0625rem; }
.step figcaption p { color: var(--ink-soft); font-size: 0.875rem; line-height: 1.6; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* transport journey grids (v1 treatment) */
.journey-grid { position: relative; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 48px 40px; padding: 8px 12px 24px; }
.journey-grid .connector-layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.connector-path { fill: none; stroke: var(--purple-deep); stroke-width: 2; opacity: 0.5; stroke-dasharray: 6 6; animation: journeyFlow 1.1s linear infinite; }
@keyframes journeyFlow { to { stroke-dashoffset: -24; } }
.journey-card { position: relative; z-index: 1; margin: 0; flex: 1 1 230px; max-width: 300px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: var(--paper-raised); box-shadow: var(--shadow); transform: translateY(var(--stagger, 0px)); transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease, border-color .3s ease; }
.journey-card:hover, .journey-card:focus-within { transform: translateY(calc(var(--stagger, 0px) - 8px)) scale(1.035); box-shadow: var(--lift-shadow); border-color: var(--purple); z-index: 2; }
.journey-card img { display: block; width: 100%; height: 200px; object-fit: cover; cursor: zoom-in; transition: transform .4s ease; }
.journey-card:hover img, .journey-card:focus-within img { transform: scale(1.06); }
.journey-card figcaption { padding: 12px 16px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.03em; line-height: 1.5; color: var(--ink-soft); }
.journey-step { position: absolute; top: 10px; left: 10px; z-index: 2; width: 26px; height: 26px; border-radius: 50%; background: var(--purple-deep); color: #fff; font-family: var(--font-mono); font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
@media (prefers-reduced-motion: reduce) { .connector-path { animation: none; } .journey-card, .journey-card img { transition: none; } }
.map-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 48px; align-items: center; }
@media (max-width: 800px) { .map-row { grid-template-columns: 1fr; } }
.mascot { position: relative; max-width: 380px; margin-inline: auto; }
.mascot img { width: 100%; height: auto; }
/* The illustration's line work is black; a second copy drawn in the dark-mode ink takes over there. */
.mascot .m-dark { display: none; }
:root[data-theme="dark"] .mascot .m-light { display: none; }
:root[data-theme="dark"] .mascot .m-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .mascot .m-light { display: none; }
  :root:not([data-theme="light"]) .mascot .m-dark { display: block; }
}
.mascot .legs { margin-top: 18px; }
.mascot .txt { position: absolute; top: 0; left: 0; right: 0; aspect-ratio: 500 / 348; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; background-color: var(--purple-deep); }
#transportMap { width: 100%; height: auto; display: block; color: var(--ink); }
#transportMap .route-draw { transition: stroke-dashoffset 1.3s cubic-bezier(.4,0,.2,1); }
#transportMap .truck { transition: opacity .2s ease; pointer-events: none; }
#transportMap .reveal-pop { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.4); transition: opacity .45s ease, transform .5s cubic-bezier(.34,1.56,.64,1); }
#transportMap.in-view .reveal-pop { opacity: 1; transform: scale(1); }
#transportMap .reveal-label { opacity: 0; transform: translateY(4px); transition: opacity .5s ease, transform .5s ease; }
#transportMap.in-view .reveal-label { opacity: 1; transform: translateY(0); }
#transportMap .waypoint circle, #transportMap .waypoint-node circle:not(.pulse-ring) { transform-box: fill-box; transform-origin: center; transition: transform .2s ease; }
#transportMap .waypoint:hover circle, #transportMap .waypoint:focus-visible circle, #transportMap .waypoint-node:hover circle:not(.pulse-ring), #transportMap .waypoint-node:focus-visible circle:not(.pulse-ring) { transform: scale(1.35); }
#transportMap .waypoint, #transportMap .waypoint-node { outline: none; }
#transportMap .pulse-ring { fill: none; stroke: currentColor; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
#transportMap.in-view .pulse-ring { animation: transportPulse 2.6s ease-out infinite; }
@keyframes transportPulse { 0% { transform: scale(.9); opacity: .45; } 70%, 100% { transform: scale(2.1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  #transportMap .route-draw, #transportMap .reveal-pop, #transportMap .reveal-label, #transportMap .pulse-ring { transition: none !important; animation: none !important; }
  #transportMap .reveal-pop, #transportMap .reveal-label { opacity: 1 !important; transform: none !important; }
  #transportMap .pulse-ring { display: none !important; }
}

/* 3D configurator frame */
.cfg3d-frame { position: relative; background: var(--paper-raised); border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow); }
.cfg3d-bar { display: flex; align-items: center; gap: 13px; height: 46px; padding: 0 10px 0 16px; border-bottom: 1px solid var(--line); border-radius: 6px 6px 0 0; background: var(--paper-raised); position: relative; z-index: 40; }
.cfg3d-bar-title { font-family: var(--font-mono); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.cfg3d-bar-tag { font-family: var(--font-mono); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple-deep); border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.cfg3d-bar-spacer { flex: 1 1 auto; }
.cfg3d-fs { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: transparent; color: var(--ink); font-family: var(--font-mono); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 13px; border-radius: 3px; cursor: pointer; white-space: nowrap; }
.cfg3d-fs:hover { background: var(--purple); border-color: var(--purple); color: var(--on-accent); }
.cfg3d-fs svg { width: 13px; height: 13px; }
.cfg3d-fs .cfg3d-fs-exit { display: none; }
.cfg3d-frame.is-fs .cfg3d-fs-exit { display: block; }
.cfg3d-frame.is-fs .cfg3d-fs-enter { display: none; }
.cfg3d-shell { position: relative; border-radius: 0 0 5px 5px; }
.cfg3d-root { display: block; }
.cfg3d-tick { position: absolute; width: 13px; height: 13px; border-color: var(--purple); opacity: 0.5; pointer-events: none; z-index: 3; }
.cfg3d-tick-tl { top: 9px; left: 9px; border-left: 1px solid; border-top: 1px solid; }
.cfg3d-tick-tr { top: 9px; right: 9px; border-right: 1px solid; border-top: 1px solid; }
.cfg3d-tick-bl { bottom: 9px; left: 9px; border-left: 1px solid; border-bottom: 1px solid; }
.cfg3d-tick-br { bottom: 9px; right: 9px; border-right: 1px solid; border-bottom: 1px solid; }
.cfg3d-frame.is-fs { position: fixed; inset: 0; z-index: 9999; border: none; border-radius: 0; box-shadow: none; background: var(--paper); }
.cfg3d-frame.is-fs .cfg3d-bar { border-radius: 0; }
.cfg3d-frame.is-fs .cfg3d-tick { display: none; }
.cfg3d-frame.is-fs .cfg3d-shell { border-radius: 0; height: calc(100vh - 46px); }
.cfg3d-frame.is-fs .cfg3d-root, .cfg3d-frame.is-fs .cfg3d-root > div { height: 100% !important; }
body.cfg3d-fs-lock { overflow: hidden; }
@media (max-width: 560px) { .cfg3d-bar { gap: 9px; padding: 0 8px 0 12px; } .cfg3d-bar-tag { display: none; } }
.cfg3d-hint { margin-top: 76px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.02em; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 6px 22px; }
.cfg3d-hint strong { color: var(--ink); }

/* ---------------------------------------------- configurator scene (from v1) */

    /* overflow-x guard: panels can be dragged past the canvas edge (see
       .cfg3d-shell below) — this stops that from opening a page-wide
       horizontal scrollbar. Scoped to this page only. */
    body { overflow-x: hidden; }
    /* Frame around the canvas: a title bar with the fullscreen control, and a
       thin drawing-sheet style tick at each corner, so the tool reads as an
       instrument rather than a bare box. Neither the frame nor the shell may
       be overflow:hidden — panels (Module List, Groups, Tutorial, etc.) are
       meant to be draggable out of the canvas and parked on the surrounding
       page, and clipping here would trap them. */
  .forest-bg {
    position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
    background: linear-gradient(to bottom, #C2E5F4 0%, #DBEFF8 40%, #EAF7FB 62%);
  }
  .forest-bg .fbg-svg { display: block; width: 100%; height: 100%; }
  .fbg-clouds { position: absolute; left: -2%; right: -2%; top: 24%; height: 22%; }
  .fbg-hills { position: absolute; left: -2%; right: -2%; bottom: 38%; height: 15%; }
  .fbg-midbush {
    position: absolute; left: 0; right: 0; bottom: 39%; height: 170px;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2ODAgMTcwIiB3aWR0aD0iNjgwIiBoZWlnaHQ9IjE3MCI+PGNpcmNsZSBjeD0iLTY4MC4wIiBjeT0iMTA0LjEiIHI9IjM5LjciIGZpbGw9IiM1RTlBMzIiLz48Y2lyY2xlIGN4PSIwLjAiIGN5PSIxMDQuMSIgcj0iMzkuNyIgZmlsbD0iIzVFOUEzMiIvPjxjaXJjbGUgY3g9IjY4MC4wIiBjeT0iMTA0LjEiIHI9IjM5LjciIGZpbGw9IiM1RTlBMzIiLz48Y2lyY2xlIGN4PSItNjMwLjQiIGN5PSIxMDEuNSIgcj0iNDcuMSIgZmlsbD0iIzVFOUEzMiIvPjxjaXJjbGUgY3g9IjQ5LjYiIGN5PSIxMDEuNSIgcj0iNDcuMSIgZmlsbD0iIzVFOUEzMiIvPjxjaXJjbGUgY3g9IjcyO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i8+PGNpcmNsZSBjeD0iNTgxLjIiIGN5PSIxMzcuMSIgcj0iMjUuNCIgZmlsbD0iIzkzQzY2MiIvPjxjaXJjbGUgY3g9IjEyNjEuMiIgY3k9IjEzNy4xIiByPSIyNS40IiBmaWxsPSIjOTNDNjYyIi8+PGNpcmNsZSBjeD0iLTY3LjAiIGN5PSIxMzUuOCIgcj0iMjkuMSIgZmlsbD0iIzkzQzY2MiIvPjxjaXJjbGUgY3g9IjYxMy4wIiBjeT0iMTM1LjgiIHI9IjI5LjEiIGZpbGw9IiM5M0M2NjIiLz48Y2lyY2xlIGN4PSIxMjkzLjAiIGN5PSIxMzUuOCIgcj0iMjkuMSIgZmlsbD0iIzkzQzY2MiIvPjxjaXJjbGUgY3g9Ii0zMC42IiBjeT0iMTM2LjYiIHI9IjI2LjkiIGZpbGw9IiM5M0M2NjIiLz48Y2lyY2xlIGN4PSI2NDkuNCIgY3k9IjEzNi42IiByPSIyNi45IiBmaWxsPSIjOTNDNjYyIi8+PGNpcmNsZSBjeD0iMTMyOS40IiBjeT0iMTM2LjYiIHI9IjI2LjkiIGZpbGw9IiM5M0M2NjIiLz48cmVjdCB4PSIwIiB5PSIxNDYiIHdpZHRoPSI2ODAiIGhlaWdodD0iMjQiIGZpbGw9IiM5M0M2NjIiLz48L3N2Zz4=");
    background-repeat: repeat-x; background-position: left bottom; background-size: 680px 170px;
  }
  .fbg-lawn {
    position: absolute; left: -2%; right: -2%; bottom: 0; height: 42%;
    background: linear-gradient(to bottom, #A9CF6B 0%, #8CBE4F 55%, #79AB40 100%);
    border-radius: 50% 50% 0 0 / 14% 14% 0 0;
  }
  .fbg-tree { position: absolute; top: 0; height: 100%; width: 560px; }
  .fbg-tree-l { left: -120px; }
  .fbg-tree-r { right: -120px; transform: scaleX(-1); }
  .fbg-bushes {
    position: absolute; left: 0; right: 0; bottom: 0; height: 150px;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NDAgMTUwIiB3aWR0aD0iNjQwIiBoZWlnaHQ9IjE1MCI+PHBhdGggZD0iTTAsODggUTQ2LDQwIDk2LDg0IFExNDAsMzQgMTkwLDgwIFEyMzYsNDQgMjg2LDg2IFEzMzIsMzYgMzg0LDgyIFE0MzAsNDYgNDgwLDg4IFE1MjgsMzggNTc4LDgwIFE2MTIsNTIgNjQwLDg4IEw2NDAsMTUwIEwwLDE1MCBaIiBmaWxsPSIjM0Y3QTEyIi8+PHBhdGggZD0iTTAsMTEwIFE1OCw3NCAxMTYsMTA4IFExNzAsNjggMjI4LDEwNCBRMjg2LDc2IDM0NCwxMTAgUTQwMCw3MCA0NTgsMTA2IFE1MTYsNzggNTc0LDEwOCBRNjA4LDg4IDY0MCwxMTAgTDY0MCwxNTAgTDAsMTUwIFoiIGZpbGw9IiM1QUFBMTkiLz48cGF0aCBkPSJNMCwxMjggUTcyLDEwNiAxNDQsMTI4IFEyMTYsMTA0IDI4OCwxMjYgUTM2MCwxMDQgNDMyLDEyNiBRNTA0LDEwNiA1NzYsMTI4IFE2MTAsMTIwIDY0MCwxMjggTDY0MCwxNTAgTDAsMTUwIFoiIGZpbGw9IiM4RkJGNTIiLz48L3N2Zz4=");
    background-repeat: repeat-x; background-position: left bottom; background-size: 640px 150px;
  }
  @media (max-width: 1250px) {
    .fbg-tree { width: 400px; }
    .fbg-tree-l { left: -140px; }
    .fbg-tree-r { right: -140px; }
  }
  @media (max-width: 1000px) { .fbg-tree { display: none; } }

  /* This one section swaps the dark page ground for a daylight scene, so the
     type on it has to flip to the light-surface ink tokens. */
  .cfg3d-scene { position: relative; padding-top: 210px; padding-bottom: 150px; border-bottom: 0; }
.cfg3d-scene .sec-head { grid-template-columns: 1fr; }
.cfg3d-scene .sec-head .idx { display: none; }
  @media (max-width: 1000px) { .cfg3d-scene { padding-top: 96px; } }
  .cfg3d-scene > .wrap { position: relative; z-index: 1; }
  .cfg3d-scene .sec-head .idx { color: var(--surface-accent); }
  .cfg3d-scene .sec-head h2 { color: var(--surface-ink); }
  .cfg3d-scene .sec-head p { color: #3F5230; }
  .cfg3d-scene .cfg3d-hint { color: #3F5230; }
  .cfg3d-scene .cfg3d-hint strong { color: #23301A; }
  @media (max-width: 620px) { .forest-bg { display: none; } }

    /* Decorative leaf frame around the tool. Purely ornamental: every part is
       pointer-events:none and sits below the draggable panels, so nothing here
       can catch a drag. --vc is the corner size, --vi how far the thin rules
       sit in from the wrapper edge; the corners are centred on the rule
       junctions and spill outward into the section's own whitespace. */
    .cfg3d-vine {
      --vc: 160px; --vi: 20px; --vine-rule: #35660F;
      position: relative;
      padding: 52px;
      margin-top: 76px;
    }
    .vine-rule, .vine-corner { position: absolute; pointer-events: none; }
    .vine-rule { background: var(--vine-rule); opacity: 0.9; z-index: 1; }
    .vine-rule-t { top: var(--vi); left: var(--vi); right: var(--vi); height: 3px; }
    .vine-rule-b { bottom: var(--vi); left: var(--vi); right: var(--vi); height: 3px; }
    .vine-rule-l { left: var(--vi); top: var(--vi); bottom: var(--vi); width: 3px; }
    .vine-rule-r { right: var(--vi); top: var(--vi); bottom: var(--vi); width: 3px; }
    .vine-corner { width: var(--vc); height: var(--vc); line-height: 0; z-index: 2; }
    .vine-corner .vine-svg { width: 100%; height: 100%; display: block; }
    .vine-tl { top: calc(var(--vi) - var(--vc) / 2); left: calc(var(--vi) - var(--vc) / 2); }
    .vine-tr { top: calc(var(--vi) - var(--vc) / 2); right: calc(var(--vi) - var(--vc) / 2); transform: scaleX(-1); }
    .vine-bl { bottom: calc(var(--vi) - var(--vc) / 2); left: calc(var(--vi) - var(--vc) / 2); transform: scaleY(-1); }
    .vine-br { bottom: calc(var(--vi) - var(--vc) / 2); right: calc(var(--vi) - var(--vc) / 2); transform: scale(-1, -1); }
    @media (max-width: 1300px) {
      .cfg3d-vine { --vc: 128px; padding: 44px; margin-top: 58px; }
      .cfg3d-hint { margin-top: 58px; }
    }
    @media (max-width: 900px) {
      .cfg3d-vine { --vc: 104px; --vi: 14px; padding: 34px; margin-top: 52px; }
      .cfg3d-hint { margin-top: 52px; }
    }
    @media (max-width: 620px) {
      .cfg3d-vine { padding: 0; margin-top: 0; }
      .vine-rule, .vine-corner { display: none; }
      .cfg3d-hint { margin-top: 16px; }
    }


/* ---------------------------------------------- borders and hovers (v1) */
/* Plates open the lightbox, so they carry the v1 card treatment: a hairline
   frame that turns purple and lifts on hover. */
.plate .ph { border: 1px solid var(--line); background: var(--paper-raised); box-shadow: var(--shadow); transition: border-color .2s ease, box-shadow .2s ease; }
.plate:hover .ph { border-color: var(--purple); box-shadow: var(--lift-shadow); }
.hero .plate .ph, [data-nolb] .ph { box-shadow: none; }
.hero .plate:hover .ph { border-color: var(--line); }

/* Product rows become cards again: frame, raised ground, the 3px purple seam
   between picture and text, and the purple tick before the eyebrow. */
.prod { border: 1px solid var(--line); border-radius: 6px; background: var(--paper-raised); box-shadow: var(--shadow); padding: 0; gap: 0; align-items: stretch; margin-top: 24px; transition: border-color .2s ease, box-shadow .2s ease; }
.prod:first-child { margin-top: 0; padding-top: 0; }
.prod:hover { border-color: var(--purple); box-shadow: var(--lift-shadow); }
.prod .plate { gap: 0; }
.prod .plate .ph { border: 0; border-radius: 5px 0 0 5px; box-shadow: none; height: 100%; aspect-ratio: auto; min-height: 300px; }
.prod.right .plate .ph { border-radius: 0 5px 5px 0; }
.prod:hover .plate .ph { border-color: transparent; box-shadow: none; }
.prod .plate figcaption { display: none; }
.prod > div { padding: 34px 36px 36px; border-left: 3px solid var(--purple); }
.prod.right > div { border-left: 0; border-right: 3px solid var(--purple); }
.prod .eyebrow::before { content: ""; display: inline-block; width: 15px; height: 2px; background: var(--purple); vertical-align: middle; margin-right: 9px; position: relative; top: -1px; }
@media (max-width: 800px) {
  .prod > div, .prod.right > div { border-left: 0; border-right: 0; border-top: 3px solid var(--purple); padding: 26px 24px 28px; }
  .prod .plate .ph, .prod.right .plate .ph { min-height: 0; aspect-ratio: 4 / 3; border-radius: 5px 5px 0 0; }
}

/* Permanent purple frames, as v1 gave the project card and the plan cards. */
.case { border: 1px solid var(--purple); border-radius: 6px; background: var(--paper-raised); padding: 24px; box-shadow: var(--shadow); }
.case .shots .plate .ph { box-shadow: none; }
.cfg { border-color: var(--purple); box-shadow: var(--shadow); }
.counter .plan { border-color: var(--purple); }

/* Accessory cards and the flow diagram lift like v1's cards. */
.acc article { transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.acc article:hover { border-color: var(--purple); box-shadow: var(--lift-shadow); transform: translateY(-2px); }
.marks .disc { border: 1px solid var(--line); transition: border-color .2s ease, box-shadow .2s ease; }
.marks figure:hover .disc { border-color: var(--purple); box-shadow: var(--lift-shadow); }
@media (prefers-reduced-motion: reduce) { .acc article, .prod, .plate .ph { transition: none; } }

/* Product cards step left, right, left at three-quarter width, and a thick
   purple stripe runs from each card's far edge out to the edge of the screen,
   centred on the card. */
.prod { position: relative; width: 76%; z-index: 0; }
.prod.right { margin-left: auto; }
.prod::after { content: ""; position: absolute; top: 50%; height: 28px; margin-top: -14px; width: 100vw; background: var(--purple); z-index: -1; transform: scaleX(0); transition: transform .9s cubic-bezier(.65,0,.35,1); }
.prod.left::after { transform-origin: left center; }
.prod.right::after { transform-origin: right center; }
.prod.in::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .prod::after { transition: none; transform: scaleX(1); } }
.prod.left::after { left: calc(100% - 10px); }
.prod.right::after { right: calc(100% - 10px); }
.prod .plate .ph { min-height: 260px; }
.prod > div { padding: 30px 32px 32px; background: var(--paper-raised); position: relative; border-radius: 0 5px 5px 0; }
.prod.right > div { border-radius: 5px 0 0 5px; }
.prod .plate { position: relative; }
#homes { overflow: hidden; position: relative; }
#homes .wrap { position: relative; z-index: 0; }
@media (max-width: 900px) { .prod { width: 100%; } .prod::after { display: none; } }

/* On hover the whole stripe slides away from the picture, and the arrowhead
   that was tucked under the card comes out behind it, pointing at the card. */
.prod::before { content: ""; position: absolute; top: 50%; width: 46px; height: 64px; margin-top: -32px; background: var(--purple); z-index: -1; transition: transform .45s cubic-bezier(.65,0,.35,1); pointer-events: none; }
.prod.left::before { left: calc(100% - 46px); clip-path: polygon(100% 0, 0 50%, 100% 100%); }
.prod.right::before { right: calc(100% - 46px); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.prod.left:hover::before, .prod.left.in:hover::after { transform: translateX(64px) scaleX(1); }
.prod.right:hover::before, .prod.right.in:hover::after { transform: translateX(-64px) scaleX(1); }
.prod::after { transition: transform .9s cubic-bezier(.65,0,.35,1); }
.prod.in::after { transition: transform .45s cubic-bezier(.65,0,.35,1); }
@media (max-width: 900px) { .prod::before { display: none; } }


/* C3 drawing beside its text */
.drawn { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 48px; align-items: center; margin-top: 112px; }
.drawn.wide { grid-template-columns: 1fr minmax(0, 620px); }
.drawn.wide .plate { order: 2; }
.drawn .plate .ph { aspect-ratio: auto; background: transparent; border: 0; box-shadow: none; border-radius: 0; overflow: visible; }
.drawn .plate:hover .ph { border-color: transparent; box-shadow: none; }
.drawn .plate .ph img { position: relative; z-index: 1; }
.drawn .plate:hover img { transform: scale(1.015); }
/* edge-bleed photo pair: each picture runs to its nearest viewport edge and fades out there */
.grid2.bleed { --wrap-edge: max(var(--gutter), calc((100vw - 1280px) / 2 + var(--gutter))); width: 100vw; margin-left: calc(50% - 50vw); gap: 56px; position: relative; }
/* booklet binding: a column of rings on the seam between the two pictures */
.grid2.bleed::after { content: ""; position: absolute; left: 50%; top: 0; height: calc((100vw - 56px) / 3); width: 76px; transform: translateX(-50%); z-index: 3; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2276%22%20height%3D%2226%22%20viewBox%3D%220%200%2076%2026%22%3E%3Ccircle%20cx%3D%226%22%20cy%3D%2213%22%20r%3D%224.2%22%20fill%3D%22rgba%2820%2C20%2C24%2C0.62%29%22/%3E%3Ccircle%20cx%3D%2270%22%20cy%3D%2213%22%20r%3D%224.2%22%20fill%3D%22rgba%2820%2C20%2C24%2C0.62%29%22/%3E%3Crect%20x%3D%224%22%20y%3D%228.5%22%20width%3D%2268%22%20height%3D%229%22%20rx%3D%224.5%22%20fill%3D%22none%22%20stroke%3D%22%235f5f68%22%20stroke-width%3D%223.2%22/%3E%3Crect%20x%3D%224%22%20y%3D%228.5%22%20width%3D%2268%22%20height%3D%229%22%20rx%3D%224.5%22%20fill%3D%22none%22%20stroke%3D%22%23c7c7ce%22%20stroke-width%3D%221.2%22%20stroke-dasharray%3D%2226%2018%22%20stroke-dashoffset%3D%22-6%22/%3E%3C/svg%3E"); background-repeat: repeat-y; background-size: 76px 26px; background-position: center 14px; -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 14px), transparent 100%); mask-image: linear-gradient(180deg, #000 calc(100% - 14px), transparent 100%); }
@media (max-width: 600px) { .grid2.bleed { gap: 24px; } .grid2.bleed::after { display: none; } }
.grid2.bleed .plate .ph { border: 0; border-radius: 0; box-shadow: none; }
.grid2.bleed .plate:hover .ph { border-color: transparent; box-shadow: none; }
.grid2.bleed .plate:first-child .ph { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 80px); mask-image: linear-gradient(90deg, transparent 0, #000 80px); }
.grid2.bleed .plate:last-child .ph { -webkit-mask-image: linear-gradient(270deg, transparent 0, #000 80px); mask-image: linear-gradient(270deg, transparent 0, #000 80px); }
.grid2.bleed .plate:first-child figcaption { padding-left: var(--wrap-edge); }
.grid2.bleed .plate:last-child figcaption { padding-right: var(--wrap-edge); }
@media (max-width: 600px) {
  .grid2.bleed .plate .ph, .grid2.bleed .plate:first-child .ph, .grid2.bleed .plate:last-child .ph { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%); }
  .grid2.bleed .plate figcaption { padding-inline: var(--wrap-edge); }
}

/* photo sheet: page header on a full-bleed photo under the home-hero scrim */
.sheet.photo { background: #0F0E11; border-bottom: 1px solid rgba(255,255,255,0.12); }
.sheet.photo::before { display: none; }
.sheet.photo .sheet-bg { position: absolute; inset: 0; background-size: cover; background-position: center 60%; z-index: 0; }
.sheet.photo .sheet-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(15,14,17,0.90) 0%, rgba(15,14,17,0.76) 34%, rgba(15,14,17,0.46) 62%, rgba(15,14,17,0.16) 92%); }
.sheet.photo { min-height: min(82vh, 760px); display: flex; align-items: flex-end; }
.sheet.photo .wrap { z-index: 2; padding-block: 64px 72px; width: 100%; }
.sheet.photo h1 { color: #FFFFFF; }
.sheet.photo .lead { color: rgba(255,255,255,0.84); }
.sheet.photo .crumb { color: rgba(255,255,255,0.7); }
.sheet.photo .crumb a { color: var(--purple-bright); }
.sheet.photo .btn-line { border-color: rgba(255,255,255,0.65); color: #FFFFFF; }
.sheet.photo .btn-line:hover { background: rgba(255,255,255,0.14); border-color: #FFFFFF; }
.sheet.photo .facts { border-top-color: rgba(255,255,255,0.28); }
.sheet.photo .facts div { border-bottom-color: rgba(255,255,255,0.22); }
.sheet.photo .facts dt { color: rgba(255,255,255,0.7); }
.sheet.photo .facts dd { color: #FFFFFF; }
.sheet.photo .facts dd small { color: rgba(255,255,255,0.7); }

.drawn .drawn-ext { margin-top: 48px; max-width: 560px; }
.drawn .drawn-ext .ph { aspect-ratio: auto; border: 0; box-shadow: none; border-radius: 0; background: transparent; overflow: visible; }
.drawn .drawn-ext:hover .ph { border-color: transparent; box-shadow: none; }


/* dark mode: the whole C3 block sits on one pale pink sheet, full width, fading into the dark above and below */
.drawn { --band-pad: 72px; }
.drawn::before { content: ""; position: absolute; left: var(--band-left, calc(50% - 50vw)); width: var(--band-width, 100vw); top: calc(-1 * var(--band-pad)); bottom: calc(-1 * var(--band-pad)); z-index: 0; pointer-events: none; display: none;
  background-color: #F0E2EA;
  background-image: linear-gradient(rgba(26,26,28,0.09) 1px, transparent 1px), linear-gradient(90deg, rgba(26,26,28,0.09) 1px, transparent 1px);
  background-size: 40px 40px; background-position: var(--gx, 0) var(--gy, 0);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 var(--band-pad), #000 calc(100% - var(--band-pad)), transparent 100%), linear-gradient(90deg, transparent 0, rgba(0,0,0,0.3) 4%, rgba(0,0,0,0.75) 9%, #000 15%, #000 85%, rgba(0,0,0,0.75) 91%, rgba(0,0,0,0.3) 96%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, transparent 0, #000 var(--band-pad), #000 calc(100% - var(--band-pad)), transparent 100%), linear-gradient(90deg, transparent 0, rgba(0,0,0,0.3) 4%, rgba(0,0,0,0.75) 9%, #000 15%, #000 85%, rgba(0,0,0,0.75) 91%, rgba(0,0,0,0.3) 96%, transparent 100%);
  mask-composite: intersect; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .drawn { --ink: #1A1A1C; --ink-soft: #5B5A60; --purple-deep: #512A6E; color: var(--ink); } :root:not([data-theme="light"]) .drawn::before { display: block; } }
:root[data-theme="dark"] .drawn { --ink: #1A1A1C; --ink-soft: #5B5A60; --purple-deep: #512A6E; color: var(--ink); }
:root[data-theme="dark"] .drawn::before { display: block; }
.drawn { position: relative; }
.drawn > * { position: relative; z-index: 1; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .drawn { margin-top: 112px; --band-pad: 84px; } }
:root[data-theme="dark"] .drawn { margin-top: 112px; --band-pad: 84px; }

/* administrative spaces booklet (StPageFlip) */
.book-wrap { position: relative; }
.book { position: relative; margin: 0 auto; }
.book .bk-page { background: #FBF9F6; overflow: hidden; box-shadow: inset 0 0 30px rgba(0,0,0,0.05), 0 1px 0 rgba(0,0,0,0.06); }
.book .bk-page.--left { box-shadow: inset -18px 0 28px -16px rgba(0,0,0,0.30); }
.book .bk-page.--right { box-shadow: inset 18px 0 28px -16px rgba(0,0,0,0.30); }
.bk-in { position: absolute; inset: 0; display: flex; flex-direction: column; }
.bk-in img { flex: 1 1 auto; min-height: 0; width: 100%; object-fit: cover; display: block; }
.bk-in.bk-paper { background: #F3F0EA; padding: 6%; }
.bk-in.bk-paper img { object-fit: contain; }
.bk-cap { flex: none; padding: 10px 16px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.03em; color: #5B5A60; background: #FBF9F6; }
.bk-in.bk-text { padding: 9% 10%; justify-content: center; gap: 12px; background: #FBF9F6; color: #1A1A1C; }
.bk-in.bk-text .idx { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: #512A6E; }
.bk-in.bk-text h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.3; }
.bk-in.bk-text p { font-size: 0.875rem; line-height: 1.55; color: #5B5A60; }
.bk-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; }
.bk-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper-raised); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.bk-nav button:hover { background: var(--purple); color: var(--on-accent); border-color: var(--purple); }
.bk-nav svg { width: 16px; height: 16px; }
.bk-count { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; color: var(--ink-soft); min-width: 4ch; text-align: center; }
/* paper spine: a soft crease where the two pages meet */
.book::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 56px; transform: translateX(-50%); z-index: 5; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.10) 44%, rgba(0,0,0,0.22) 50%, rgba(0,0,0,0.10) 56%, rgba(0,0,0,0) 100%); }
.book.is-single::after { display: none; }
.bk-in.bk-paper .bk-cap { background: transparent; padding-inline: 0; }

.book-wrap .book { box-shadow: 0 1px 0 #E7E2DA, 0 3px 0 #FBF9F6, 0 4px 0 #E7E2DA, 0 6px 0 #FBF9F6, 0 7px 0 #E7E2DA, 0 22px 40px -20px rgba(0,0,0,0.35); }

/* title highlights: green in light mode, plain in dark */
.sheet h1 .hl { color: inherit; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sheet h1 .hl { color: inherit; } }
:root[data-theme="dark"] .sheet h1 .hl { color: inherit; }
/* process line: green in light mode (dark mode keeps the purple) */
.line { --pl-ink: #3C6F14; --pl-fill: #009B00; }
.line .node { border-color: var(--pl-ink); color: var(--pl-ink); }
.line a:hover .node { background: var(--pl-fill); border-color: var(--pl-fill); color: #FFFFFF; }
.line .go { color: var(--pl-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .line { --pl-ink: var(--purple-deep); --pl-fill: var(--purple); } :root:not([data-theme="light"]) .line .node { border-color: var(--purple); } }
:root[data-theme="dark"] .line { --pl-ink: var(--purple-deep); --pl-fill: var(--purple); }
:root[data-theme="dark"] .line .node { border-color: var(--purple); }

/* header emblem: the logo's own lettering turns with the scroll and passes behind the figure's legs */
.logo .emblem { position: relative; display: block; width: 74px; height: 74px; flex: none; margin-block: -2px; top: -6.5px; }   /* the figure sits low in its square; lift it so the mascot is centred on the header */
.logo .emblem img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.logo .emblem .ring { transform: rotate(var(--ring-rot, 0deg)); will-change: transform; z-index: 0; }
.logo .emblem .fig { z-index: 2; }
.logo .emblem .body { position: absolute; inset: 0; z-index: 1; background: var(--surface); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }

/* publications shelf: covers standing on a shelf, slightly turned, lifting on hover */
.shelf { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 40px 34px; padding: 30px 12px 26px; perspective: 1400px; }
.pub { display: grid; gap: 14px; justify-items: center; text-decoration: none; color: inherit; width: 168px; transform-style: preserve-3d; }
.pub .cover { position: relative; color: #1A1A1C; width: 168px; height: 226px; background: #FFFFFF; border-radius: 2px 5px 5px 2px; overflow: hidden; transform: rotateY(-16deg); transform-origin: left center; transition: transform .45s cubic-bezier(.34,1.3,.64,1), box-shadow .45s ease; box-shadow: 8px 14px 30px -12px rgba(20,20,25,0.5), inset 3px 0 6px -3px rgba(0,0,0,0.25); display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 8px; padding: 12px 12px 12px 15px; }
.pub:hover .cover { transform: rotateY(-4deg) translateY(-8px); box-shadow: 10px 26px 40px -14px rgba(20,20,25,0.55), inset 3px 0 6px -3px rgba(0,0,0,0.25); }
.pub .cover::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(90deg, rgba(0,0,0,0.28), rgba(0,0,0,0.05)); }
.pub .cover::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 3px; background: repeating-linear-gradient(180deg, #E7E2DA 0 1px, #FBF9F6 1px 3px); opacity: .9; }
.pub .cover.dark { background: #1A1A1C; color: #FFFFFF; }
.pub .cover.green { background: #EDF6E3; color: #1F2A18; }
.pub .cover.lilac { background: #E9DCF2; color: #1A1A1C; }
.pub .mast { font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.pub .mast.serif { font-family: Georgia, "Times New Roman", serif; font-size: 17px; }
.pub .mast.sans { font-family: var(--font-display); font-size: 20px; }
.pub .rule { height: 1px; background: currentColor; opacity: .5; }
.pub .head { font-family: Georgia, serif; font-weight: 700; font-size: 9.6px; line-height: 1.22; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.pub .head.sans { font-family: var(--font-display); font-weight: 700; font-size: 12px; line-height: 1.12; letter-spacing: -0.01em; -webkit-line-clamp: 3; }
.pub .pic { aspect-ratio: 3 / 2; overflow: hidden; border-radius: 1px; }
.pub .pic.fill { aspect-ratio: auto; align-self: stretch; min-height: 0; }
.pub .pic.tall { aspect-ratio: 3 / 3.2; align-self: stretch; }
.pub .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pub .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; height: 34px; }
.pub .cols i { display: block; background: repeating-linear-gradient(180deg, rgba(26,26,28,0.35) 0 1px, transparent 1px 4px); opacity: .55; }
.pub .kick { font-family: var(--font-mono); font-size: 7.5px; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.4; opacity: .85; }
.pub .cap { display: grid; text-align: center; gap: 2px; }
.pub .cap b { font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.pub .cap span { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--ink-soft); }
.pub .cap b, .pub .cap span { transform: none; }
@media (max-width: 600px) { .shelf { gap: 28px 18px; } .pub { width: 140px; } .pub .cover { width: 140px; height: 190px; } }

/* ------------------------------------------------------------------
   Phones borrow the brochure's cover and its wavy section edges. Colours,
   type and copy stay HBA; only the shapes come from the Broch edition.
   Desktop and tablet keep the photo hero and the drawing grid.
------------------------------------------------------------------ */
:root { --hill: #4E8C1E; --hill-2: #3C6F14; --river: #B98FD1; --sky: #E9DCF2; --mod: #5AAA14; --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 28' preserveAspectRatio='none'%3E%3Cpath d='M0 14C40 0 80 0 120 14S200 28 240 14V28H0z'/%3E%3C/svg%3E"); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --hill: #3C6F14; --hill-2: #2E5610; --river: #6B3891; --sky: #251C2C; --mod: #82C24C; } }
:root[data-theme="dark"] { --hill: #3C6F14; --hill-2: #2E5610; --river: #6B3891; --sky: #251C2C; --mod: #82C24C; }
.brochure { display: none; }
@media (max-width: 760px) {
  .hero { display: none; }
  .brochure { position: relative; display: block; overflow: hidden; background: var(--sky); border-bottom: 1px solid var(--line); }
  .brochure::before { content: ""; position: absolute; inset: 0; background: radial-gradient(150% 59% at 12% 104%, var(--hill) 0 99.6%, transparent 100%), radial-gradient(154% 63% at 12% 104%, var(--river) 0 99.6%, transparent 100%), radial-gradient(70% 22% at 100% 104%, var(--hill-2) 0 99.6%, transparent 100%); pointer-events: none; }
  .brochure .wrap { position: relative; z-index: 2; display: grid; gap: 26px; padding-block: 28px 40px; }
  .brochure .wm { display: grid; gap: 3px; line-height: 1; color: var(--purple-deep); padding-right: 120px; }
  .brochure .wm b { font-family: var(--font-display); font-weight: 700; font-size: 1.875rem; letter-spacing: 0.04em; text-transform: uppercase; }
  .brochure .wm i { font-family: var(--font-display); font-style: normal; font-weight: 500; font-size: 1.0625rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple); }
  .brochure .bubbles { display: grid; gap: 22px; justify-items: start; padding-right: 128px; padding-top: 6px; }
  .brochure .bubble { position: relative; display: grid; gap: 1px; background: var(--purple); color: #FFFFFF; text-decoration: none; padding: 12px 16px 13px; border-radius: 4px; box-shadow: var(--shadow); max-width: 100%; }
  .brochure .bubble::after { content: ""; position: absolute; left: 20px; bottom: -11px; border-style: solid; border-width: 11px 13px 0 0; border-color: var(--purple) transparent transparent transparent; }
  .brochure .bubble small { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.8); }
  .brochure .bubble b { font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; line-height: 1.15; }
  .brochure .bubble span { font-size: 0.875rem; color: rgba(255,255,255,0.9); }
  .brochure .bubble:nth-child(2) { margin-left: 18px; }
  .brochure .cover-text { display: grid; gap: 16px; color: #FFFFFF; padding-top: 18px; }
  .brochure .eyebrow { color: rgba(255,255,255,0.85); }
  .brochure h1 { font-size: clamp(1.75rem, 7vw, 2.3rem); color: #FFFFFF; max-width: 100%; }
  .brochure h1 em { font-style: normal; color: #FFFFFF; text-decoration: underline; text-decoration-color: var(--purple-bright); text-decoration-thickness: 3px; text-underline-offset: 5px; }
  .brochure .word-swap { color: #FFFFFF; }
  .brochure .lead { color: rgba(255,255,255,0.9); font-size: 1.0625rem; }
  .brochure .actions { display: flex; gap: 10px; flex-wrap: wrap; }
  .brochure .btn-solid { background: var(--purple-deep); border-color: var(--purple-deep); color: #FFFFFF; }
  .brochure .btn-line { border-color: rgba(255,255,255,0.7); color: #FFFFFF; }
  .brochure .btn-line:hover { background: rgba(255,255,255,0.14); border-color: #FFFFFF; color: #FFFFFF; }
  .brochure .stat-row { margin-top: 4px; }
  .brochure .stat-chip { background: rgba(255,255,255,0.92); border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .brochure .stat-chip .num { color: var(--purple-deep); }
  .brochure .stat-chip .label { color: #3C3A40; }
  .brochure .cover-mascot { position: absolute; right: -4px; top: 150px; height: 340px; width: auto; aspect-ratio: 397.9 / 947.9; z-index: 1; color: var(--ink); pointer-events: none; }
  .brochure .ribbon { position: absolute; top: 0; right: 0; z-index: 3; width: 170px; height: 170px; overflow: hidden; pointer-events: none; }
  .brochure .ribbon span { position: absolute; top: 34px; right: -84px; width: 300px; padding: 7px 0; background: var(--purple); color: #FFFFFF; text-align: center; font-family: var(--font-mono); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.25; transform: rotate(45deg); box-shadow: var(--badge-shadow); }
  /* waves instead of the drawing grid */
  .sheet::before { background-image: radial-gradient(90% 46% at 30% 122%, var(--hill) 0 99.6%, transparent 100%), radial-gradient(96% 51% at 30% 122%, var(--river) 0 99.6%, transparent 100%); background-size: auto; -webkit-mask-image: none; mask-image: none; }
  .sheet { background: var(--sky); }
  .sheet .wrap { padding-bottom: 120px; }
  .sheet .facts { background: var(--paper-raised); border: 0; border-radius: 6px; padding: 6px 16px; box-shadow: var(--shadow); }
  .sheet.photo::before { display: none; }
  .sheet.photo { background: var(--paper-raised); }
  .sec.grid-bleed::before { background-image: none; -webkit-mask-image: none; mask-image: none; }
  .sec.raised, .sec.grid-bleed { position: relative; border-bottom: 0; }
  .sec.raised::before, .sec.raised::after, .sec.grid-bleed::before, .sec.grid-bleed::after { content: ""; position: absolute; left: 0; right: 0; height: 22px; inset-block: auto; background: var(--paper-raised); -webkit-mask: var(--wave) repeat-x bottom / 180px 22px; mask: var(--wave) repeat-x bottom / 180px 22px; pointer-events: none; }
  .sec.raised::before, .sec.grid-bleed::before { top: -21px; }
  .sec.raised::after, .sec.grid-bleed::after { bottom: -21px; transform: scaleY(-1); }
  .sec.before-bleed { border-bottom: 0; }
  .sec.grid-bleed { background: var(--paper-raised); }
}

/* ---------------------------------------------------- mobile pass */
.shelf-hint { display: none; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); text-align: center; margin-top: 4px; }
@media (max-width: 760px) {
  /* cover: bigger mascot, chips in one swipeable row */
  .brochure .cover-mascot { height: 390px; top: 118px; right: -10px; }
  .brochure .bubbles { padding-right: 150px; }
  .brochure .bubble { padding: 10px 14px 11px; }
  .brochure .bubble b { font-size: 1.0625rem; }
  .brochure .stat-row { display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 6px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .brochure .stat-row::-webkit-scrollbar { display: none; }
  .brochure .stat-chip { flex: none; scroll-snap-align: start; }
  /* drawn plans: one column, drawing under the text */
  .drawn, .drawn.wide { grid-template-columns: 1fr; gap: 28px; margin-top: 64px; --band-pad: 44px; }
  .drawn.wide .plate { order: 0; }
  .drawn .drawn-ext { margin-top: 24px; max-width: 100%; }
  .drawn .plate .ph img { max-height: 70vh; width: auto; max-width: 100%; margin-inline: auto; }
  /* photo title block keeps its light-on-dark facts */
  .sheet.photo .facts { background: transparent; box-shadow: none; padding: 0; border-radius: 0; }
  /* transport map: labels readable at phone width */
  #transportMap text[font-size="10.5"] { font-size: 15px; }
  #transportMap text[font-size="11"] { font-size: 15.5px; }
  #transportMap text[font-size="12"] { font-size: 16.5px; }
  #transportMap text[font-size="14"] { font-size: 19px; }
  #transportMap text[font-size="15"] { font-size: 20px; }
  .map-row { gap: 28px; }
  .map-row .mascot { max-width: 300px; }
  /* publications: one swipeable shelf */
  .shelf { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; gap: 26px; padding: 26px var(--gutter) 22px; margin-inline: calc(-1 * var(--gutter)); scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .shelf::-webkit-scrollbar { display: none; }
  .pub { flex: none; scroll-snap-align: center; width: 150px; }
  .pub .cover { width: 150px; height: 202px; transform: rotateY(-10deg); }
  .pub .head { -webkit-line-clamp: 3; }
  .shelf-hint { display: block; }
  /* journey grids: single column, cards full width */
  .journey-grid { gap: 40px 0; padding: 8px 0 16px; }
  .journey-card { flex: 1 1 100%; max-width: 100%; transform: none; }
  .journey-card img { height: 220px; }
  /* module counter: the seg control and plan stack comfortably */
  .counter .plan { width: 100%; justify-content: center; }
  .counter .panel .row { gap: 12px; }
  /* general: tighter section padding on phones, chips wrap fine */
  .sec { padding-block: 52px; }
  .sec.tight { padding-block: 40px; }
  h1 { font-size: clamp(2rem, 8.4vw, 2.5rem); }
  .lead { font-size: 1.0625rem; }
  /* team tiles: two per row, names readable */
  .person b { font-size: 1.0625rem; }
  .person span { font-size: 0.75rem; }
  /* footer: single column, compact */
  .ftr .top { gap: 26px 24px; padding-block: 36px 28px; }
}


/* ------------------------------------------------- spotlight grid */
.crew-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 28px; }
.chipbtn { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.04em; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper-raised); color: var(--ink-soft); cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.chipbtn em { font-style: normal; opacity: .6; margin-left: 4px; }
.chipbtn:hover { border-color: var(--purple); color: var(--purple-deep); }
.chipbtn.is-on { background: var(--purple); border-color: var(--purple); color: var(--on-accent); }
.chipbtn.is-on em { opacity: .8; }
.crew { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.crew .person { transition: opacity .35s ease, transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; will-change: transform; }
.crew .person .dept { position: absolute; top: 12px; left: 12px; z-index: 3; font-family: var(--font-mono); font-style: normal; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 8px; border-radius: 3px; background: rgba(20,18,22,0.55); color: #FFFFFF; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.crew .person.mark .dept { background: rgba(107,56,145,0.12); color: #512A6E; backdrop-filter: none; -webkit-backdrop-filter: none; }
.crew .person::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; z-index: 3; background: var(--dept-c, var(--purple)); }
.crew .person[data-dept="management"] { --dept-c: #6B3891; }
.crew .person[data-dept="technical"] { --dept-c: #4E8C1E; }
.crew .person[data-dept="sales"] { --dept-c: #B98FD1; }
.crew .person[data-dept="administration"] { --dept-c: #E9DCF2; }
.crew:hover .person:not(:hover), .crew:focus-within .person:not(:focus-visible):not(:hover) { opacity: .48; }
.crew .person:hover, .crew .person:focus-visible { transform: translateY(-8px) scale(1.03); box-shadow: var(--lift-shadow); z-index: 2; }
.crew .person.is-out { display: none; }
.crew .person.is-moving { transition: none; }
@media (hover: none) { .crew:hover .person:not(:hover) { opacity: 1; } .crew .person:hover { transform: none; } }
@media (max-width: 1000px) { .crew { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .crew { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .crew .person .dept { display: none; } }

/* ------------------------------------------ visit request + timeline */
.visit { background: var(--paper-raised); border-bottom: 1px solid var(--line); }
.visit-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px 64px; align-items: center; }
.visit-photo { margin: 0; display: grid; gap: 10px; }
.visit-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.visit-photo figcaption { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--ink-soft); }
.visit-text { display: grid; gap: 16px; }
.visit-text .idx { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--idx); }
.visit-form { display: grid; gap: 12px; margin-top: 8px; max-width: 460px; }
.visit-form label { display: grid; gap: 5px; }
.visit-form label span { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.visit-form input { font: inherit; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-raised); color: var(--ink); }
.visit-form input:focus { outline: 2px solid var(--purple); outline-offset: 1px; border-color: var(--purple); }
.visit-form .btn { justify-self: start; margin-top: 4px; }
.visit-form .link { margin-top: 6px; }
@media (max-width: 900px) { .visit-grid { grid-template-columns: 1fr; } }
.tl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; position: relative; }
.tl::before { content: ""; position: absolute; left: 20px; right: 20px; top: 20px; height: 1px; background: var(--line); }
.tl li { position: relative; display: grid; gap: 8px; align-content: start; padding-right: 12px; }
.tl .n { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--purple); background: var(--paper-raised); color: var(--purple-deep); font-family: var(--font-mono); font-weight: 600; font-size: 0.875rem; display: flex; align-items: center; justify-content: center; transition: background .15s ease, color .15s ease; }
.tl li:hover .n { background: var(--purple); color: var(--on-accent); }
.tl b { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; margin-top: 6px; }
.tl .d { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-deep); }
.tl p { color: var(--ink-soft); font-size: 0.875rem; }
.tl .go { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple-deep); text-decoration: none; margin-top: 4px; }
@media (max-width: 900px) { .tl { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tl::before { display: none; } }
@media (max-width: 480px) { .tl { grid-template-columns: 1fr; } }

/* ------------------------------------------------ dark: header */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --surface: #1E1626; --surface-tint: #33263D; --surface-tint-green: #223019; --surface-ink: #F1EFEE; --surface-ink-soft: #B9B2BE; --surface-line: #3A2F44; --surface-accent: #D3B0E3; }
  :root:not([data-theme="light"]) .hdr { background: rgba(30,22,38,0.94); box-shadow: 0 1px 0 rgba(255,255,255,0.04); }
  :root:not([data-theme="light"]) .logo .emblem .body { background: #1E1626; }
  :root:not([data-theme="light"]) .hdr .btn-contact { background: var(--purple); border-color: var(--purple); color: var(--on-accent); }
  :root:not([data-theme="light"]) .dd-menu { background: rgba(30,22,38,0.98); }
  :root:not([data-theme="light"]) .theme-toggle, :root:not([data-theme="light"]) .burger { background: transparent; }
}
:root[data-theme="dark"] { --surface: #1E1626; --surface-tint: #33263D; --surface-tint-green: #223019; --surface-ink: #F1EFEE; --surface-ink-soft: #B9B2BE; --surface-line: #3A2F44; --surface-accent: #D3B0E3; }
:root[data-theme="dark"] .hdr { background: rgba(30,22,38,0.94); box-shadow: 0 1px 0 rgba(255,255,255,0.04); }
:root[data-theme="dark"] .logo .emblem .body { background: #1E1626; }
:root[data-theme="dark"] .hdr .btn-contact { background: var(--purple); border-color: var(--purple); color: var(--on-accent); }
:root[data-theme="dark"] .dd-menu { background: rgba(30,22,38,0.98); }
:root[data-theme="dark"] .theme-toggle, :root[data-theme="dark"] .burger { background: transparent; }
/* emblem: white line-work version in dark mode (purple lettering and green module unchanged) */
.logo .emblem .ring-light, .logo .emblem .fig-light { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo .emblem .ring-dark, :root:not([data-theme="light"]) .logo .emblem .fig-dark { display: none; }
  :root:not([data-theme="light"]) .logo .emblem .ring-light, :root:not([data-theme="light"]) .logo .emblem .fig-light { display: block; }
}
:root[data-theme="dark"] .logo .emblem .ring-dark, :root[data-theme="dark"] .logo .emblem .fig-dark { display: none; }
:root[data-theme="dark"] .logo .emblem .ring-light, :root[data-theme="dark"] .logo .emblem .fig-light { display: block; }
/* Hero title: three fixed lines, so the swapping word never reflows the rest */
.hero h1 { max-width: none; }
.hero h1 .ln { white-space: nowrap; }
@media (max-width: 760px) { .brochure h1 .ln { white-space: normal; } .brochure h1 .ln:first-child, .brochure h1 .ln:nth-child(3) { white-space: nowrap; } }
/* Photo header (Compact homes): fill the first screen down to the bottom edge */
.sheet.photo { min-height: calc(100vh - var(--hdr-h) - 1px); min-height: calc(100svh - var(--hdr-h) - 1px); }

.tl-note { margin-top: 28px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.04em; line-height: 1.6; color: var(--ink-soft); max-width: 48ch; }
.tl-note::before { content: "* "; }

.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1100px) { .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid4 { grid-template-columns: 1fr; } }
.alt-plans .sec-head h3 { font-size: 1.625rem; }
.alt-plans .cfg.plan-only .plan { min-height: 220px; }
.alt-plans .cfg.plan-only .plan img { max-height: 220px; }

.alt-plans .cfg.plan-only.plan-two .plan { display: grid; gap: 14px; justify-items: center; align-content: start; }
.alt-plans .cfg.plan-only.plan-two .plan figure { margin: 0; display: none; }
.alt-plans .cfg.plan-only.plan-two .plan figure.is-on { display: block; }
.alt-plans .cfg.plan-only.plan-two .plan img { max-height: 220px; }
.floor-seg button { width: auto; padding-inline: 14px; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }

.seg.seg-cfg button { width: auto; padding-inline: 13px; }
.counter .plan[data-plan-switch] { flex-direction: column; gap: 12px; }
.counter .plan .floor-seg { align-self: center; }
.counter .plan .floor-seg[hidden] { display: none; }
.counter .plan .floor-seg button { width: auto; padding-inline: 14px; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }
.iso-plus.is-off { opacity: 0.28; cursor: default; pointer-events: none; }
.counter[data-counter="homes"] .panel .row { flex-wrap: nowrap; } .counter[data-counter="homes"] .panel .row .tag { flex: 1 1 auto; min-width: 0; }

/* envelope compositions: tabs, drawing beside a layer table */
.comp-tabs { flex-wrap: wrap; }
.comp-tabs button { width: auto; padding-inline: 16px; white-space: nowrap; }
.comp-panel { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 32px 48px; align-items: start; margin-top: 28px; }
.comp-panel[hidden] { display: none; }
.comp-panel .plate .ph { aspect-ratio: 4 / 3; }
.comp-dir { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple-deep); margin-bottom: 10px; }
.comp-table table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.comp-table th { text-align: left; font-family: var(--font-mono); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); padding: 0 8px 8px 0; border-bottom: 1px solid var(--line); }
.comp-table td { padding: 8px 8px 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink); }
.comp-table td.n { font-family: var(--font-mono); font-weight: 600; font-size: 0.75rem; color: var(--purple-deep); width: 28px; padding-top: 10px; }
.comp-table td.mm, .comp-table th:last-child { text-align: right; white-space: nowrap; font-family: var(--font-mono); font-size: 0.875rem; }
.comp-table tr.opt td { color: var(--ink-soft); }
.comp-table tr.grp td { padding-top: 16px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); border-bottom: 0; }
.comp-notes { margin-top: 14px; font-size: 0.875rem; color: var(--ink-soft); line-height: 1.55; display: grid; gap: 6px; }
@media (max-width: 900px) { .comp-panel { grid-template-columns: 1fr; } }

/* Home hero shade: lighter in light mode, the original deeper one in dark mode */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero-scrim { background: linear-gradient(100deg, rgba(15,14,17,0.90) 0%, rgba(15,14,17,0.76) 34%, rgba(15,14,17,0.42) 62%, rgba(15,14,17,0.08) 92%); } }
:root[data-theme="dark"] .hero-scrim { background: linear-gradient(100deg, rgba(15,14,17,0.90) 0%, rgba(15,14,17,0.76) 34%, rgba(15,14,17,0.42) 62%, rgba(15,14,17,0.08) 92%); }

/* envelope: pins on the render, to-scale strip, linked highlighting */
.comp-ph { overflow: visible; }
.comp-ph .pin { position: absolute; width: 26px; height: 26px; border-radius: 50%; border: 0; padding: 0; background: #6B3891; color: #fff; font: 600 12px/1 var(--font-mono); display: flex; align-items: center; justify-content: center; transform: translate(-50%, -50%); box-shadow: 0 0 0 3px rgba(255,255,255,0.9), 0 4px 10px rgba(0,0,0,0.25); cursor: pointer; transition: transform .15s ease, background .15s ease; z-index: 2; }
.comp-ph .pin:hover, .comp-ph .pin.is-on { background: #4E8C1E; transform: translate(-50%, -50%) scale(1.2); z-index: 3; }
.comp-ph .pin::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%); background: #1A1A1C; color: #fff; font: 500 12px/1.3 var(--font-body); padding: 6px 10px; border-radius: 4px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s ease; }
.comp-ph .pin.is-on::after, .comp-ph .pin:hover::after { opacity: 1; }
.comp-table tr[data-layer] { cursor: default; }
.comp-table tr.is-on td { background: #F3EBF8; }
.comp-table tr.is-on td.n { color: #fff; }
.comp-table tr.is-on td.n::before { content: ""; }
.comp-table tr.is-on td.n { background: #F3EBF8; }
.comp-table tr.is-on td.n b, .comp-table td.n { }
.comp-table tr.is-on td.n { color: #4E8C1E; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .comp-table tr.is-on td { background: #2E2333; } :root:not([data-theme="light"]) .comp-table tr.is-on td.n { color: #A3DA78; } }
:root[data-theme="dark"] .comp-table tr.is-on td { background: #2E2333; }
:root[data-theme="dark"] .comp-table tr.is-on td.n { color: #A3DA78; }
.comp-strip { margin-top: 18px; }
.comp-strip .axis { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.comp-strip .strip { display: flex; height: 76px; border-radius: 5px; overflow: hidden; border: 1px solid var(--line); }
.comp-strip .band { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding: 6px 2px; min-width: 18px; border-right: 1px solid rgba(0,0,0,0.08); cursor: default; transition: filter .15s ease; }
.comp-strip .band:last-child { border-right: 0; }
.comp-strip .band b { font: 600 11px/1 var(--font-mono); }
.comp-strip .band span { font: 400 9px/1 var(--font-mono); opacity: .7; margin-top: 4px; }
.comp-strip .band.is-on { outline: 3px solid #4E8C1E; outline-offset: -3px; filter: brightness(1.06); }
.comp-strip .strip-note { margin-top: 8px; font-size: 0.75rem; color: var(--ink-soft); }
.comp-strip .band.opt { opacity: .55; background-image: repeating-linear-gradient(135deg, rgba(0,0,0,0.08) 0 4px, transparent 4px 9px); }
@media (max-width: 600px) { .comp-ph .pin { width: 22px; height: 22px; font-size: 11px; } .comp-ph .pin::after { display: none; } }

/* envelope: strip under the picture, table scrolls within the picture's height */
.comp-left { display: grid; gap: 10px; align-content: start; }
.comp-left .comp-strip { margin-top: 6px; }
.comp-table { max-height: var(--left-h, none); overflow: auto; padding-right: 6px; scrollbar-width: thin; }
.comp-table thead th { position: sticky; top: 0; background: var(--paper-raised); z-index: 1; }
.comp-panel { align-items: start; }
@media (max-width: 900px) { .comp-table { max-height: none; } }

/* pin labels: never clipped, flipped away from the nearest edge */
.plate .ph.comp-ph { overflow: visible; }
.plate .ph.comp-ph img { border-radius: var(--radius); cursor: default; }
.plate:hover .ph.comp-ph img { transform: none; }
.comp-ph .pin.tip-right::after { left: auto; right: 0; transform: none; }
.comp-ph .pin.tip-left::after { left: 0; transform: none; }
.comp-ph .pin.tip-below::after { bottom: auto; top: calc(100% + 10px); }

/* Varied configurations headers: the banner compilation behind the title block, at the normal header height */
.sheet.photo.banner { min-height: 0; display: block; }
.sheet.photo.banner .sheet-bg { background-position: center 55%; }
.sheet.photo.banner .wrap { padding-block: 56px 60px; }
.sheet.photo.banner .facts { background: rgba(15,14,17,0.42); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 6px 16px 4px; border-radius: 6px; border-top: 0; }
@media (max-width: 900px) { .sheet.photo.banner .wrap { padding-block: 40px 44px; } }

/* One shade rule for every photo header (home hero, Compact homes, the configuration banners): lighter in light mode, deeper in dark mode */
.sheet.photo .sheet-scrim { display: block; background: linear-gradient(100deg, rgba(15,14,17,0.74) 0%, rgba(15,14,17,0.60) 34%, rgba(15,14,17,0.32) 62%, rgba(15,14,17,0.06) 92%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sheet.photo .sheet-scrim { background: linear-gradient(100deg, rgba(15,14,17,0.90) 0%, rgba(15,14,17,0.76) 34%, rgba(15,14,17,0.42) 62%, rgba(15,14,17,0.08) 92%); } }
:root[data-theme="dark"] .sheet.photo .sheet-scrim { background: linear-gradient(100deg, rgba(15,14,17,0.90) 0%, rgba(15,14,17,0.76) 34%, rgba(15,14,17,0.42) 62%, rgba(15,14,17,0.08) 92%); }

/* Labels moved off the monospace face: slightly heavier and a touch larger so the small uppercase stays legible; figures stay tabular */
.mono, .eyebrow, .sec-head .idx, .sheet .crumb, .facts dt, .facts dd, .counter .tag, .cfg .tag, .seg button, .counter .m2 small, .cfg .m2 small, .stat-chip .num, .layers .n, .line .node, .step .n, .journey-step, .bk-count, .chip, .chipbtn { font-variant-numeric: tabular-nums; }
.sec-head .idx, .eyebrow, .facts dt, .rail-k, .reasons .k, .case h4, .ftr h5, .toc .toc-t, .pn small, .band address strong, .cfg3d-bar-title { font-weight: 600; }

/* Type system: one ten-step scale (faces set in the font tokens) */
@media (max-width: 600px) { body { font-size: 16px; } }
h1 em, h2 em { font-style: normal; }

/* visit request form: sending states, honeypot, consent line */
.visit-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.visit-form .visit-status { font-size: 0.875rem; color: var(--ink); min-height: 1.2em; }
.visit-form .visit-status.is-error { color: #B3261E; }
.visit-form .visit-status:empty { display: none; }
.visit-form .visit-note { font-size: 0.875rem; color: var(--ink-soft); }
.visit-form.is-sent label, .visit-form.is-sent .btn, .visit-form.is-sent .visit-note { display: none; }
.visit-form.is-sent .visit-status { font-size: 1.0625rem; }
.visit-form .btn[disabled] { opacity: .6; cursor: progress; }

/* legal page */
.legal-list li span a { color: var(--purple-deep); }
.ftr .bottom .legal-links { display: inline-flex; flex-wrap: wrap; gap: 6px 18px; }
.ftr .bottom .legal-links a { color: inherit; text-decoration: none; }
.ftr .bottom .legal-links a:hover { text-decoration: underline; }
/* placeholders still to be filled before launch: deliberately loud */
.todo { background: #FFE8A3; color: #4A3700; padding: 1px 6px; border-radius: 3px; font-weight: 600; }

/* Belgian line: full width under the two addresses in the contact band, under Deutschland in the footer */
.band .addr .addr-be { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; }
.band .addr .addr-be strong { margin-bottom: 0; }
.ftr h5.ftr-be { margin-top: 24px; }

/* language switch */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; }
.lang-switch a { color: var(--surface-ink-soft); text-decoration: none; padding: 6px 6px; border-radius: 4px; line-height: 1; }
.lang-switch a:hover { color: var(--surface-ink); background: var(--surface-line); }
.lang-switch a[aria-current="true"] { color: var(--purple); }
:root[data-theme="dark"] .lang-switch a[aria-current="true"] { color: var(--purple-bright); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .lang-switch a[aria-current="true"] { color: var(--purple-bright); } }
@media (max-width: 380px) { .lang-switch a { padding: 6px 4px; } }

/* ---------------------------------------------------------------- mascot cart button */
.cart-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none; width: 45px; height: 44px; border-radius: var(--radius); color: var(--surface-ink); text-decoration: none; --hdr-fill: var(--surface, var(--paper-raised)); }
.cart-btn:hover { background: var(--surface-line); --hdr-fill: var(--surface-line); }
.cart-btn svg { width: 25px; height: 36px; overflow: visible; }
.cart-btn .n { position: absolute; top: 0; right: -2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--purple); color: #fff; font-size: 0.6875rem; font-weight: 700; line-height: 16px; text-align: center; }
.cart-btn .n:empty { display: none; }
.cart-btn .man, .cart-btn .torso, .cart-btn .shin, .cart-btn .thigh { transform-box: fill-box; transform-origin: 50% 50%; }
.cart-btn .head { transform-box: fill-box; transform-origin: 60% 97%; }
.cart-btn .arm { transform-box: fill-box; transform-origin: 50% 100%; }
.cart-btn .mod { opacity: 0; }
.cart-btn.has .mod { opacity: 1; }
/* the drop, played once after something is added */
@keyframes hzc-head { 0% { transform: none; } 16%, 34% { transform: rotate(36deg); } 50% { transform: rotate(-5deg); } 64%, 100% { transform: none; } }
@keyframes hzc-torso { 0% { transform: none; } 16%, 32% { transform: rotate(7deg) scaleX(.93); } 46%, 100% { transform: none; } }
@keyframes hzc-arm { 0% { transform: none; } 16%, 32% { transform: rotate(-13.9deg); } 50% { transform: rotate(4deg); } 64%, 100% { transform: none; } }
@keyframes hzc-mod { 0%, 14% { transform: translateY(-13px); opacity: 0; } 22% { transform: translateY(-13px); opacity: 1; animation-timing-function: cubic-bezier(.55, 0, 1, .6); } 44%, 100% { transform: none; opacity: 1; } }
@keyframes hzc-man { 0%, 44% { transform: none; } 54% { transform: scaleY(.96); } 68% { transform: scaleY(1.008); } 78%, 100% { transform: none; } }
@keyframes hzc-shin { 0%, 44% { transform: none; } 54% { transform: rotate(-7deg); } 68% { transform: rotate(1deg); } 78%, 100% { transform: none; } }
@keyframes hzc-thigh { 0%, 44% { transform: none; } 54% { transform: rotate(13deg); } 68% { transform: rotate(-2deg); } 78%, 100% { transform: none; } }
.cart-btn.drop .head { animation: hzc-head 1.9s ease-in-out 1 both; }
.cart-btn.drop .torso { animation: hzc-torso 1.9s ease-in-out 1 both; }
.cart-btn.drop .arm { animation: hzc-arm 1.9s ease-in-out 1 both; }
.cart-btn.drop .mod { animation: hzc-mod 1.9s linear 1 both; }
.cart-btn.drop .man { animation: hzc-man 1.9s ease-in-out 1 both; }
.cart-btn.drop .shin { animation: hzc-shin 1.9s ease-in-out 1 both; }
.cart-btn.drop .thigh { animation: hzc-thigh 1.9s ease-in-out 1 both; }
/* hover: he looks up over his shoulder and holds it for as long as the pointer stays */
.cart-btn .head, .cart-btn .torso, .cart-btn .arm { transition: transform .45s ease-in-out; }
.cart-btn:not(.drop):hover .head, .cart-btn:not(.drop):focus-visible .head { transform: rotate(22deg); }
.cart-btn:not(.drop):hover .torso, .cart-btn:not(.drop):focus-visible .torso { transform: rotate(3deg) scaleX(.97); }
.cart-btn:not(.drop):hover .arm, .cart-btn:not(.drop):focus-visible .arm { transform: rotate(-7.8deg); }
@media (prefers-reduced-motion: reduce) { .cart-btn .man, .cart-btn .head, .cart-btn .torso, .cart-btn .arm, .cart-btn .shin, .cart-btn .thigh, .cart-btn .mod { animation: none !important; transition: none !important; } }

/* ---------- shop & tour drafts (on top of the site styles) ---------- */
.draft-note { margin: 18px 0 0; padding: 10px 14px; border: 1px dashed #C9A227; background: rgba(240, 200, 60, 0.14); border-radius: var(--radius); font-size: 0.875rem; line-height: 1.5; color: var(--ink); max-width: 72ch; }
.draft-note b { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; margin-right: 6px; color: #8A6D00; }
:root[data-theme="dark"] .draft-note b { color: #E8C860; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .draft-note b { color: #E8C860; } }

/* package grid */
.pk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.pk { display: flex; flex-direction: column; background: var(--paper-raised); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; text-decoration: none; color: var(--ink); transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.pk:hover { border-color: var(--purple); transform: translateY(-2px); box-shadow: var(--shadow); }
.pk .pk-draw { aspect-ratio: 16 / 10 !important; position: relative; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; border-bottom: 3px solid var(--purple); padding: 18px 18px 8px; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; }
.pk .pk-draw svg { width: 100%; height: 100%; color: var(--ink); }
.pk .pk-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pk .tag { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--idx); }
.pk h3 { margin: 0; }
.pk .who { font-size: 0.875rem; color: var(--ink-soft); line-height: 1.5; }
.pk .pk-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.pk .m2 { font-family: var(--font-display); font-weight: 700; font-size: 1.625rem; line-height: 1; }
.pk .m2 small { font-family: var(--font-body); font-weight: 500; font-size: 0.75rem; color: var(--ink-soft); margin-left: 4px; }
.pk .price { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.pk .price small { display: block; font-weight: 500; font-size: 0.75rem; color: var(--ink-soft); }
.pk .go { margin-top: 14px; }
.pk-custom { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 28px; border: 1px dashed var(--line); border-radius: 6px; background: transparent; }
.pk-custom p { color: var(--ink-soft); margin: 0; }

/* package detail */
.pd { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px 56px; align-items: start; }
.pd-view { position: sticky; top: 96px; }
.pd-stage { position: relative; background: var(--paper-raised); border: 1px solid var(--line); border-radius: 6px; aspect-ratio: 4 / 3; overflow: hidden; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 32px 32px; display: flex; align-items: center; justify-content: center; }
.pd-stage > * { max-width: 100%; max-height: 100%; }
.pd-stage svg { width: 92%; height: 92%; color: var(--ink); }
.pd-stage img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.pd-stage img.photo { object-fit: cover; padding: 0; }
.pd-tabs { margin-bottom: 14px; }
.pd-tabs button { width: auto; padding: 10px 16px; }
.pd-cap { margin-top: 10px; font-size: 0.875rem; color: var(--ink-soft); }
.pd-panel h1 { font-size: clamp(2rem, 3.4vw, 2.6rem); margin: 6px 0 10px; }
.pd-panel .lead { margin-bottom: 22px; }
.pd-panel .facts { margin: 18px 0 0; }
.pd-var { margin-top: 6px; }
.pd-var .seg button { width: auto; padding: 10px 16px; }
.pd-label { display: block; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin: 22px 0 8px; }
.pd-price { margin-top: 26px; padding: 22px 22px 20px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper-raised); }
.pd-price .amt { font-family: var(--font-display); font-weight: 700; font-size: 3rem; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pd-price .amt small { font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; color: var(--ink-soft); letter-spacing: 0; margin-left: 8px; }
.pd-price .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pd-list { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 0.9375rem; color: var(--ink-soft); }
.pd-list li { padding-left: 18px; position: relative; }
.pd-list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 2px; background: var(--green); }
.pd-docs { display: flex; flex-wrap: wrap; gap: 8px; }
.back-link { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; text-decoration: none; color: var(--purple-deep); margin-bottom: 18px; }
@media (max-width: 900px) { .pd { grid-template-columns: 1fr; } .pd-view { position: static; } }

/* steps */
.steps { display: flex; gap: 0; margin: 0 0 32px; padding: 0; list-style: none; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.steps li { padding: 12px 18px 12px 0; margin-right: 18px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.steps li.on { color: var(--ink); border-bottom-color: var(--purple); }
.steps li.done { color: var(--green-deep); }
.steps li span { font-weight: 700; margin-right: 6px; }

/* cart */
.cart { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 32px 48px; align-items: start; }
.cart-line { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 18px; background: var(--paper-raised); border: 1px solid var(--line); border-radius: 6px; }
.cart-line .thumb { aspect-ratio: 4 / 3; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 16px 16px; border-radius: 4px; display: flex; align-items: center; justify-content: center; padding: 8px; }
.cart-line .thumb svg { width: 100%; height: 100%; color: var(--ink); }
.cart-line .thumb img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(40,28,20,.18)); }
.cart-line h3 { margin: 4px 0 6px; }
.cart-line .meta { font-size: 0.875rem; color: var(--ink-soft); }
.cart-line .price { font-weight: 700; font-size: 1.25rem; font-variant-numeric: tabular-nums; text-align: right; }
.cart-line .rm { display: block; margin-top: 8px; font-size: 0.875rem; color: var(--ink-soft); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.sum { padding: 22px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper-raised); position: sticky; top: 96px; }
.sum h3 { margin: 0 0 14px; }
.sum dl { margin: 0; display: grid; gap: 10px; }
.sum dl div { display: flex; justify-content: space-between; gap: 16px; font-size: 0.9375rem; }
.sum dt { color: var(--ink-soft); }
.sum dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.sum .total { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; font-size: 1.0625rem; }
.sum .total dd { font-family: var(--font-display); font-size: 1.625rem; }
.sum .btn { width: 100%; justify-content: center; margin-top: 18px; }
.sum .small { margin-top: 12px; font-size: 0.8125rem; color: var(--ink-soft); line-height: 1.5; }
.empty { padding: 48px 24px; text-align: center; border: 1px dashed var(--line); border-radius: 6px; }
@media (max-width: 900px) { .cart { grid-template-columns: 1fr; } .sum { position: static; } .cart-line { grid-template-columns: 96px minmax(0, 1fr); } .cart-line .price { grid-column: 2; text-align: left; } }

/* checkout form */
.co { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 48px; align-items: start; }
.co fieldset { border: 0; margin: 0 0 28px; padding: 0; }
.co legend { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; margin-bottom: 14px; padding: 0; }
.co .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.co .full { grid-column: 1 / -1; }
.co label { display: grid; gap: 5px; }
.co label > span { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.co input, .co select, .co textarea { font: inherit; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-raised); color: var(--ink); width: 100%; box-sizing: border-box; }
.co textarea { min-height: 90px; resize: vertical; }
.co input:focus, .co select:focus, .co textarea:focus { outline: 2px solid var(--purple); outline-offset: 1px; border-color: var(--purple); }
.co .check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9375rem; }
.co .check input { width: auto; margin-top: 3px; }
.pay-opt { display: grid; gap: 10px; }
.pay-opt label { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-raised); cursor: pointer; }
.pay-opt label:has(input:checked) { border-color: var(--purple); box-shadow: inset 0 0 0 1px var(--purple); }
.pay-opt input { width: auto; margin-top: 4px; }
.pay-opt b { display: block; }
.pay-opt small { color: var(--ink-soft); font-size: 0.8125rem; }
.stripe-slot { margin-top: 10px; padding: 18px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--ink-soft); font-size: 0.875rem; text-align: center; }
@media (max-width: 900px) { .co { grid-template-columns: 1fr; } .co .grid { grid-template-columns: 1fr; } }

/* tour */
.tour-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.scene { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--paper-raised); }
.scene .pano { aspect-ratio: 16 / 10; position: relative; background: #1d1a21; display: flex; align-items: center; justify-content: center; color: #cfc9d6; text-align: center; padding: 20px; }
.scene .pano .pnlm-container { position: absolute; inset: 0; }
.scene .cap { padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.scene .cap b { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.scene .cap span { font-size: 0.875rem; color: var(--ink-soft); }
.hint360 { display: inline-flex; gap: 8px; align-items: center; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-top: 12px; }
@media (max-width: 900px) { .tour-grid { grid-template-columns: 1fr; } }

.co .pay-opt label > span, .co .check > span { font-family: var(--font-body); font-size: 0.9375rem; letter-spacing: 0; text-transform: none; color: var(--ink); }
.co .pay-opt label > span small { display: block; margin-top: 2px; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

/* pictures: always the whole picture, never cropped */
.pk .pk-pic { aspect-ratio: 16 / 10; background: #FFFFFF; border-bottom: 3px solid var(--purple); display: flex; align-items: center; justify-content: center; }
.pk .pk-pic img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pd-stage.is-img { background: #FFFFFF; }
.pd-stage.is-img img, .pd-stage.is-plan img { object-fit: contain; padding: 12px; }
.pd-stage.is-plan { background: #FFFFFF; }
.pd-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.pd-thumbs .th { width: 104px; aspect-ratio: 4 / 3; padding: 4px; border: 1px solid var(--line); border-radius: 4px; background: #FFFFFF; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #1A1A1C; }
.pd-thumbs .th img, .pd-thumbs .th svg { width: 100%; height: 100%; object-fit: contain; }
.pd-thumbs .th[aria-pressed="true"] { border-color: var(--purple); box-shadow: 0 0 0 2px var(--purple); }
.pd-thumbs .th:hover { border-color: var(--purple); }
.pd-thumbs .th-iso { --paper-raised: #FFFFFF; }

/* cut-out renders sit on the page, grounded by a soft shadow */
.pk .pk-pic.cut, .pd-stage.is-cut, .pd-thumbs .th-cut { background: var(--paper-raised); }
.pk .pk-pic.cut img, .pd-stage.is-cut img { filter: drop-shadow(0 14px 14px rgba(40, 30, 20, 0.16)); padding: 6% 7%; }
.pk .pk-pic { overflow: hidden; min-height: 0; }
.pk .pk-pic img { box-sizing: border-box; max-height: 100%; min-height: 0; }
.pd-stage img { box-sizing: border-box; }
.scene .pano.pnlm-container { display: block; padding: 0; text-align: left; width: 100%; }
.scene .pano .pnlm-about-msg { display: none !important; }
.scene .pano .pnlm-load-box { background: rgba(30, 22, 38, 0.8); }

/* ---------------------------------------------- cart icon drafts (icons.html) */
.ic { position: relative; display: inline-flex; align-items: center; justify-content: center; color: var(--surface-ink, var(--ink)); border-radius: var(--radius); cursor: pointer; outline-offset: 3px; }
.ic svg { overflow: visible; }
.ic-real { width: 56px; height: 42px; }
.ic-real:hover { background: var(--surface-line); }
.ic-real svg { width: 44px; height: 31px; }
.ic-big svg { width: 100%; max-width: 230px; height: auto; }
.ic-big { width: 100%; padding: 12px 0; }
.ic .n { position: absolute; top: 1px; right: 0; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--purple); color: #fff; font-size: 0.6875rem; font-weight: 700; line-height: 16px; text-align: center; }
.ic .n:empty { display: none; }
.ic-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1240px) { .ic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .ic-grid { grid-template-columns: 1fr; } }
.ic-card { display: flex; flex-direction: column; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg, 12px); background: var(--paper-raised); }
.ic-card p { margin: 0; color: var(--ink-soft); }
.ic-top { display: flex; align-items: center; gap: 12px; }
.ic-top h3 { margin: 0; }
.ic-letter { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--purple); color: var(--on-accent, #fff); font-weight: 700; }
.ic-stage { display: grid; place-items: center; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); min-height: 190px; }
.ic-strip { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 10px 14px; border-radius: var(--radius); background: var(--surface, var(--paper)); border: 1px solid var(--line); }
.ic-langs { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; color: var(--surface-ink-soft, var(--ink-soft)); margin-right: auto; }
.ic-moon { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); }
.ic-seg { align-self: flex-start; }
.ic-seg button { width: auto; padding: 9px 11px; font-family: inherit; white-space: nowrap; }
.ic-ref { display: flex; align-items: center; gap: 16px; margin-top: 28px; padding: 14px 18px; border: 1px dashed var(--line); border-radius: var(--radius); }
.ic-ref p { margin: 0; color: var(--ink-soft); }

/* A: module drops onto screw piles */
.ic-piles .mod { transform: translateY(-9px); opacity: 0; transition: transform .55s cubic-bezier(.3,1.45,.5,1), opacity .2s ease; }
.ic-piles .ghost { opacity: .55; transition: opacity .2s ease; }
.ic-piles:hover .mod, .ic-piles:focus-visible .mod, .ic-piles.has .mod, .ic-piles.play .mod { transform: none; opacity: 1; }
.ic-piles:hover .ghost, .ic-piles:focus-visible .ghost, .ic-piles.has .ghost, .ic-piles.play .ghost { opacity: 0; }

/* B: green roof grows */
.ic-roof .band, .ic-roof .fl { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); opacity: 0; }
.ic-roof .band { transition: transform .45s cubic-bezier(.2,.9,.3,1.3), opacity .15s ease; }
.ic-roof .fl { transition: transform .4s cubic-bezier(.2,.9,.3,1.5) .25s, opacity .15s ease .25s; }
.ic-roof:hover .band, .ic-roof:hover .fl, .ic-roof:focus-visible .band, .ic-roof:focus-visible .fl,
.ic-roof.has .band, .ic-roof.has .fl, .ic-roof.play .band, .ic-roof.play .fl { transform: none; opacity: 1; }

/* C: front door swings open, light inside */
.ic-door .door { transition: opacity .12s ease .08s; }
.ic-door .leaf { transform-box: fill-box; transform-origin: 100% 50%; transform: scaleX(0); opacity: 0; transition: transform .45s cubic-bezier(.3,1.35,.5,1) .05s, opacity .1s ease .05s; }
.ic-door .glow { opacity: 0; transition: opacity .35s ease .1s; }
.ic-door:hover .door, .ic-door:focus-visible .door, .ic-door.has .door, .ic-door.play .door { opacity: 0; }
.ic-door:hover .leaf, .ic-door:focus-visible .leaf, .ic-door.has .leaf, .ic-door.play .leaf { transform: none; opacity: 1; }
.ic-door:hover .glow, .ic-door:focus-visible .glow, .ic-door.has .glow, .ic-door.play .glow { opacity: 1; }

/* truck reference */
.ic-truck .mod { transform: translateY(-7px); opacity: 0; transition: transform .45s cubic-bezier(.2,.9,.3,1.25), opacity .2s ease; }
.ic-truck:hover .mod, .ic-truck:focus-visible .mod { transform: none; opacity: 1; }

/* D: mascot gets the module on his back */
.ic-mascot.ic-real svg { width: auto; height: 40px; }
.ic-mascot.ic-big svg { width: auto; height: 160px; max-width: none; }
.ic-mascot .mod { opacity: 0; }
.ic-mascot .man, .ic-mascot .torso { transform-box: fill-box; transform-origin: 50% 50%; }
.ic-mascot .man { transform-origin: 50% 50%; }
.ic-mascot .head { transform-box: fill-box; transform-origin: 60% 97%; }
.ic-mascot .arm { transform-box: fill-box; transform-origin: 50% 100%; }
/* full drop: look up behind, module falls, buckle, straighten */
@keyframes hzm-head { 0% { transform: none; } 16%, 34% { transform: rotate(36deg); } 50% { transform: rotate(-5deg); } 64%, 100% { transform: none; } }
@keyframes hzm-torso { 0% { transform: none; } 16%, 32% { transform: rotate(7deg) scaleX(.93); } 46%, 100% { transform: none; } }
@keyframes hzm-arm { 0% { transform: none; } 16%, 32% { transform: rotate(-13.9deg); } 50% { transform: rotate(4deg); } 64%, 100% { transform: none; } }
@keyframes hzm-mod {
  0%, 14% { transform: translateY(-13px); opacity: 0; }
  22% { transform: translateY(-13px); opacity: 1; animation-timing-function: cubic-bezier(.55, 0, 1, .6); }
  44%, 100% { transform: none; opacity: 1; } }
@keyframes hzm-buckle {
  0%, 44% { transform: none; }
  54% { transform: translateY(1.2px) scaleY(.95); }
  68% { transform: translateY(-0.2px) scaleY(1.01); }
  78%, 100% { transform: none; } }
/* the man group is centred on his feet (see the invisible box), so scaleY pivots there */
@keyframes hzm-buckle-man { 0%, 44% { transform: none; } 54% { transform: scaleY(.96); } 68% { transform: scaleY(1.008); } 78%, 100% { transform: none; } }
.ic-mascot.has .head, .ic-mascot.play .head { animation: hzm-head 1.9s ease-in-out 1 both; }
.ic-mascot.has .torso, .ic-mascot.play .torso { animation: hzm-torso 1.9s ease-in-out 1 both; }
.ic-mascot.has .arm, .ic-mascot.play .arm { animation: hzm-arm 1.9s ease-in-out 1 both; }
.ic-mascot.has .mod, .ic-mascot.play .mod { animation: hzm-mod 1.9s linear 1 both; }
@keyframes hzm-shin { 0%, 44% { transform: none; } 54% { transform: rotate(-7deg); } 68% { transform: rotate(1deg); } 78%, 100% { transform: none; } }
@keyframes hzm-thigh { 0%, 44% { transform: none; } 54% { transform: rotate(13deg); } 68% { transform: rotate(-2deg); } 78%, 100% { transform: none; } }
.ic-mascot .shin, .ic-mascot .thigh { transform-box: fill-box; transform-origin: 50% 50%; }
.ic-mascot.has .shin, .ic-mascot.play .shin { animation: hzm-shin 1.9s ease-in-out 1 both; }
.ic-mascot.has .thigh, .ic-mascot.play .thigh { animation: hzm-thigh 1.9s ease-in-out 1 both; }
.ic-mascot.has .man, .ic-mascot.play .man { animation: hzm-buckle-man 1.9s ease-in-out 1 both; }
/* hover with an empty cart: looks up over his shoulder and holds it while hovered */
.ic-mascot .head, .ic-mascot .torso, .ic-mascot .arm { transition: transform .45s ease-in-out; }
.ic-mascot:not(.has):not(.play):hover .head, .ic-mascot:not(.has):not(.play):focus-visible .head { transform: rotate(22deg); }
.ic-mascot:not(.has):not(.play):hover .torso, .ic-mascot:not(.has):not(.play):focus-visible .torso { transform: rotate(3deg) scaleX(.97); }
.ic-mascot:not(.has):not(.play):hover .arm, .ic-mascot:not(.has):not(.play):focus-visible .arm { transform: rotate(-7.8deg); }

@media (prefers-reduced-motion: reduce) { .ic-mascot .man, .ic-mascot .head, .ic-mascot .torso, .ic-mascot .arm, .ic-mascot .shin, .ic-mascot .thigh { animation: none !important; } .ic-mascot.has .mod { animation: none !important; opacity: 1; } .ic .mod, .ic .ghost, .ic .band, .ic .fl, .ic .door, .ic .leaf, .ic .glow { transition: none; } }

/* configurator: side-to-side wheel selector (all five on one line, the chosen one in front) */
.pk-wheel { position: relative; margin-top: 8px; outline: none; }
.pkw-stage { position: relative; display: grid; perspective: 1500px; padding: 18px 0 26px; overflow: hidden; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.pkw-stage.dragging { cursor: grabbing; }
.pkw-stage > .pk { grid-area: 1 / 1; justify-self: center; width: min(360px, 76vw); transition: transform .55s cubic-bezier(.2, .8, .25, 1), opacity .4s ease, filter .4s ease, box-shadow .3s ease; will-change: transform; }
.pkw-stage > .pk.jump { transition: none; }
.pkw-stage > .pk { position: relative; }
.pkw-stage > .pk::after { content: ""; position: absolute; inset: 0; background: var(--paper); opacity: var(--pkw-dim, 0); pointer-events: none; transition: opacity .4s ease; }
.pkw-stage > .pk:not(.is-front) .go { visibility: hidden; }
.pkw-stage > .pk.is-front { box-shadow: var(--shadow); border-color: var(--purple); }
.pkw-stage > .pk:hover { transform: var(--pkw-t); }
.pkw-stage > .pk img { -webkit-user-drag: none; user-drag: none; pointer-events: none; }
.pkw-arrow { position: absolute; top: 50%; z-index: 20; width: 48px; height: 48px; margin-top: -40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper-raised); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow); transition: border-color .15s ease, color .15s ease; }
.pkw-arrow:hover { border-color: var(--purple); color: var(--purple); }
.pkw-arrow.prev { left: 4px; } .pkw-arrow.next { right: 4px; }
.pkw-arrow svg { width: 20px; height: 20px; }
.pkw-pick { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.pkw-pick button { min-width: 64px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper-raised); color: var(--ink-soft); font: 600 0.875rem/1 var(--font-body); letter-spacing: 0.04em; cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.pkw-pick button:hover { border-color: var(--purple); color: var(--ink); }
.pkw-pick button[aria-current="true"] { background: var(--purple); border-color: var(--purple); color: var(--on-accent, #fff); }
.pkw-hint { text-align: center; margin: 12px 0 0; font-size: 0.8125rem; color: var(--ink-soft); }
.pk-custom-row { margin-top: 28px; }
.pk-custom { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; row-gap: 6px; padding: 20px 24px; }
.pk-custom > .btn { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
@media (max-width: 640px) { .pkw-arrow { display: none; } .pk-custom { grid-template-columns: 1fr; } .pk-custom > .btn { grid-column: 1; grid-row: auto; justify-self: start; } }
@media (prefers-reduced-motion: reduce) { .pkw-stage > .pk { transition: opacity .2s ease; } }

/* cart with several lines and quantities */
.cart-lines { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.cart-line .line-end { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--paper-raised); }
.qty button { width: 34px; height: 34px; border: 0; background: transparent; color: var(--ink); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.qty button:hover { background: var(--hover-wash, var(--surface-line)); color: var(--purple); }
.qty span { min-width: 24px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .cart-line .line-end { flex-direction: row; align-items: center; justify-content: space-between; grid-column: 1 / -1; } }

/* playground page */
.pg-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pg-tool { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); box-shadow: var(--shadow); }
.pg-tool iframe { display: block; width: 100%; height: 85vh; min-height: 640px; border: 0; }
@media (max-width: 859px) { .pg-tool iframe { height: 92vh; min-height: 720px; } }
.pg-note { margin: 16px 0 0; max-width: 70ch; font-size: 0.9375rem; color: var(--ink-soft); }

/* dark mode: house pictures sit on a very pale purple (the light-mode purple tint) */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pk .pk-pic.cut, :root:not([data-theme="light"]) .pd-stage.is-cut, :root:not([data-theme="light"]) .pd-thumbs .th-cut, :root:not([data-theme="light"]) .cart-line .thumb { background-color: #F3EBF8; --grid: rgba(107, 56, 145, 0.08); } }
:root[data-theme="dark"] .pk .pk-pic.cut, :root[data-theme="dark"] .pd-stage.is-cut, :root[data-theme="dark"] .pd-thumbs .th-cut, :root[data-theme="dark"] .cart-line .thumb { background-color: #F3EBF8; --grid: rgba(107, 56, 145, 0.08); }
