:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
/* Layout: full-bleed panels that alternate paper and ink; each carries a faint perforation field (the acoustic panel itself) that surfaces only while the page moves, with a different perforation per theme or solution. Every image sits whole inside a square frame. */
:root {
  --paper: #F8F9F9;
  --ink: #0D0E0F;
  --paper-2: #5E6367;
  --ink-2: #A2A7AB;
  --rule-paper: #D8DBDD;
  --rule-ink: #2C2F32;
  --slot-paper: #ECEEEF;
  --slot-ink: #17191B;
  --mat-paper: #F1F2F2;
  --mat-ink: #151718;
  --accent: #F9B000;
  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  color-scheme: light;
}

html { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 30;
  background: var(--paper);
}
::selection { background: var(--ink); color: var(--paper); }
.dark ::selection { background: var(--paper); color: var(--ink); }

a { color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.wrap {
  max-width: 76rem;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap {
    padding-left: max(40px, env(safe-area-inset-left, 0px));
    padding-right: max(40px, env(safe-area-inset-right, 0px));
  }
}

/* ---------- header ---------- */
.site-head {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--rule-paper);
}
.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .6rem 2rem;
  padding-block: .95rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -.01em;
}
.brand svg { display: block; flex: none; fill: currentColor; }
.brand .mark { width: 35px; height: 30px; }
.brand .word { width: 106px; height: 12.5px; }
.foot-brand { display: inline-block; color: var(--ink); }
.foot-logo { display: block; width: 112px; height: 120px; fill: currentColor; }
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.nav a {
  display: inline-block;
  text-decoration: none;
  padding-block: .3rem;
  border-bottom: 1px solid transparent;
}
.nav a:hover { border-bottom-color: var(--rule-paper); }
.nav a[aria-current="page"] { border-bottom: 2px solid var(--accent); }
.head-right { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1.6rem; }
.head-cta { white-space: nowrap; }
.head-cta[aria-current="page"] { display: none; }
@media (max-width: 860px) {
  .head-right { display: contents; }
  .head-cta { order: 1; margin-left: auto; }
  .site-head nav { order: 2; flex-basis: 100%; }
}

/* ---------- panels + perforation ---------- */
.panel {
  --bg: var(--paper);
  --fg: var(--ink);
  --fg2: var(--paper-2);
  --rule: var(--rule-paper);
  --slot: var(--slot-paper);
  --mat: var(--mat-paper);
  --dot: var(--ink);
  --dot-max: .12;
  --p: 14px;
  --r: 1.1px;
  position: relative;
  isolation: isolate;
  background: var(--bg);
  color: var(--fg);
}
.panel.dark {
  --bg: var(--ink);
  --fg: var(--paper);
  --fg2: var(--ink-2);
  --rule: var(--rule-ink);
  --slot: var(--slot-ink);
  --mat: var(--mat-ink);
  --dot: var(--paper);
  --dot-max: .17;
}
.panel > .wrap { padding-block: clamp(4.25rem, 9vw, 7.5rem); }
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.7s ease;
  background-image: radial-gradient(circle at center, var(--dot) var(--r), transparent calc(var(--r) + .7px));
  background-size: var(--p) var(--p);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
}
.perf-square { --p: 14px; --r: 1.1px; }
.perf-fine   { --p: 8px;  --r: .7px; }
.perf-coarse { --p: 26px; --r: 2.3px; }
.perf-stagger { --p: 18px; --r: 1.3px; }
.perf-stagger::before {
  background-image:
    radial-gradient(circle at center, var(--dot) var(--r), transparent calc(var(--r) + .7px)),
    radial-gradient(circle at center, var(--dot) var(--r), transparent calc(var(--r) + .7px));
  background-size: var(--p) var(--p), var(--p) var(--p);
  background-position: 0 0, calc(var(--p) / 2) calc(var(--p) / 2);
}
html.is-scrolling .panel.in-view::before {
  opacity: var(--dot-max);
  transition-duration: .45s;
}
@media (prefers-reduced-motion: reduce) {
  .panel::before,
  html.is-scrolling .panel.in-view::before {
    transition: none;
    opacity: calc(var(--dot-max) * .4);
  }
}

/* ---------- type ---------- */
.eyebrow {
  margin: 0 0 1.4rem;
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.h1, .h2, .h3 { margin: 0; hyphens: auto; overflow-wrap: break-word; text-wrap: balance; }
.h1 {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 720;
  font-size: clamp(2.45rem, 7.2vw, 6.1rem);
  line-height: .98;
  letter-spacing: -.025em;
  max-width: 15ch;
}
.h2 {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 650;
  font-size: clamp(1.75rem, 3.7vw, 3.05rem);
  line-height: 1.06;
  letter-spacing: -.018em;
  max-width: 22ch;
}
.h3 {
  font-family: var(--font-display);
  font-stretch: 104%;
  font-weight: 620;
  font-size: 1.28rem;
  line-height: 1.2;
  letter-spacing: -.005em;
}
.lede {
  margin: 1.6rem 0 0;
  max-width: 38rem;
  font-size: clamp(1.1rem, 1.55vw, 1.3rem);
  line-height: 1.55;
}
.prose { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.6rem; }
.prose p { margin: 0; max-width: 36rem; }
.muted { color: var(--fg2); }
.todo {
  font-style: italic;
  color: var(--fg2);
  border-bottom: 1px dashed var(--fg2);
}

/* ---------- actions ---------- */
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.2rem; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .95rem 1.3rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--accent);
  color: var(--ink);
  border: 1px solid var(--accent);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { background: transparent; color: var(--fg); }
.btn:focus-visible { outline-color: var(--fg); }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--fg); }
.btn.ghost:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.arrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-mono);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  padding-block: .3rem;
  border-bottom: 1px solid var(--fg);
}
.arrow:hover { border-bottom-color: transparent; }

/* ---------- layout pieces ---------- */
.head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
}
.head-row > div { min-width: 0; }
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.25rem, 5vw, 5.5rem);
  align-items: start;
}
.split > * { min-width: 0; }
@media (min-width: 861px) { .split.rev > .slot { order: -1; } }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.hero-split { margin-top: 2.6rem; align-items: center; }
.hero-split .lede { margin-top: 0; }
.hero-split .strip { margin-top: 2.6rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 420px) { .hero-split .strip { grid-template-columns: minmax(0, 1fr); } }

.cols-2, .cols-3, .cols-4 { display: grid; margin-top: 3.25rem; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 3rem; }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.25rem 3rem; }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.25rem 1.6rem; }
.cols-2 > *, .cols-3 > *, .cols-4 > * { min-width: 0; }
@media (max-width: 980px) { .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .cols-3, .cols-2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .cols-4 { grid-template-columns: minmax(0, 1fr); } }

.item {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  padding-top: 1.2rem;
  border-top: 2px solid var(--accent);
}
.item p { margin: 0; color: var(--fg2); }

/* steps: a real sequence, so numbered */
.steps {
  list-style: none;
  margin: 3.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.25rem 1.8rem;
}
.steps li {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  min-width: 0;
  padding-top: 1.2rem;
  border-top: 2px solid var(--accent);
}
.steps li p { margin: 0; color: var(--fg2); }
.num {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .1em;
  color: var(--fg2);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* spec strip */
.strip {
  margin: 3.25rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr));
  gap: 1.4rem 2rem;
}
.strip > div { padding-top: 1rem; border-top: 2px solid var(--accent); min-width: 0; }
.strip dt, .spec dt {
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg2);
}
.strip dd { margin: .35rem 0 0; font-weight: 500; }

/* spec sheet */
.spec { margin: 2.2rem 0 0; display: grid; border-top: 1px solid var(--rule); }
.spec > div {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: .85rem;
  border-bottom: 1px solid var(--rule);
}
.spec dt { padding-top: .25rem; }
.spec dd { margin: 0; min-width: 0; }
@media (max-width: 480px) {
  .spec > div { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
}

/* square image frames: the whole image always fits */
.slot { margin: 0; display: flex; flex-direction: column; gap: .75rem; min-width: 0; }
.photo {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  box-sizing: border-box;
  background: var(--mat);
  border: 1px solid var(--rule);
  overflow: hidden;
}
.photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.slot figcaption { font-size: .92rem; color: var(--fg2); }
.slot .h3 + figcaption { margin-top: -.25rem; }

/* placeholder for an image still to come, with a folded corner */
.slot-box {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.05rem 1.15rem;
  background: var(--slot);
  border: 1px solid var(--rule);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--fg2);
}
.slot-box::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 24px;
  height: 24px;
  background: linear-gradient(to bottom left, transparent 50%, var(--rule) 50%);
}
.slot-box .tag { color: var(--fg); }
.slot-box .src { max-width: 26ch; line-height: 1.5; }

/* cards */
.card {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  text-decoration: none;
  min-width: 0;
}
.card .h3 { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .25em; transition: text-decoration-color .2s ease; }
.card:hover .h3 { text-decoration-color: currentColor; }
.card p { margin: 0; color: var(--fg2); }

/* story */
.story { max-width: 42rem; }
.story p { margin: 0; font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.6; }
.story .prose { gap: 1.35rem; }
.quote {
  margin: 3rem 0 0;
  padding-top: 1.6rem;
  border-top: 1px solid var(--rule);
  font-family: var(--font-display);
  font-stretch: 108%;
  font-weight: 560;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.25;
  letter-spacing: -.01em;
  max-width: 30ch;
  text-wrap: balance;
}
.quote footer {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg2);
}

/* contact */
.contact { margin: 2.2rem 0 0; display: grid; border-top: 1px solid var(--rule); }
.contact > div {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 1.05rem;
  border-bottom: 1px solid var(--rule);
  align-items: center;
}
.contact dt {
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg2);
}
.contact dd {
  margin: 0;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1rem;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 500;
}
.contact dd a { text-decoration: none; border-bottom: 1px solid var(--rule); }
.contact dd a:hover { border-bottom-color: var(--fg); }
.copy {
  font-family: var(--font-mono);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: transparent;
  color: var(--fg2);
  border: 1px solid var(--rule);
  padding: .38rem .62rem;
  cursor: pointer;
}
.copy:hover { color: var(--fg); border-color: var(--fg); }
@media (max-width: 480px) {
  .contact > div { grid-template-columns: minmax(0, 1fr); gap: .35rem; }
}
.quick {
  margin: 2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 2rem;
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--fg2);
}

/* footer */
.site-foot {
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--rule-paper);
}
.site-foot .wrap { padding-block: 3.25rem 2.5rem; }
.foot {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 2rem 2.5rem;
}
.foot > div { min-width: 0; }
.foot p { margin: 0; color: var(--paper-2); font-size: .95rem; }
.foot .eyebrow { margin-bottom: .8rem; color: var(--accent); }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .35rem; font-size: .95rem; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: .2em; }
.foot .brand-note { margin-top: .9rem; max-width: 28ch; }
.legal {
  margin-top: 3rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--rule-paper);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 2rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--paper-2);
}
@media (max-width: 860px) { .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .foot { grid-template-columns: minmax(0, 1fr); } }


/* problem / result inside an item */
.item .pr-label {
  margin-top: .55rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg2);
}
.item .pr-label:first-of-type { margin-top: .1rem; }
.item .pr-res { color: var(--fg); font-weight: 500; }

/* werkwijze: the four steps belong to the project route */
.steps-head { margin: 3.75rem 0 0; }
.steps-head + .steps { margin-top: 1.1rem; }

/* one-word solution titles with their trade as a small label */
.item .pr-cat {
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg2);
}
.h3.word {
  font-stretch: 118%;
  font-weight: 680;
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -.015em;
  margin-bottom: .35rem;
}

/* the four units: one landscape rectangle, divided in four */
.units {
  list-style: none;
  margin: 3.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--fg);
}
.units li {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  min-width: 0;
  padding: 1.5rem 1.35rem 1.6rem;
}
.units li + li { border-left: 1px solid var(--fg); }
.units .ico {
  width: 26px;
  height: 26px;
  margin-bottom: .55rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.u-label {
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}
.u-val { font-weight: 500; line-height: 1.4; }
@media (max-width: 760px) {
  .units { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .units li:nth-child(3) { border-left: 0; }
  .units li:nth-child(n+3) { border-top: 1px solid var(--fg); }
  .units li { padding: 1.2rem 1rem 1.3rem; }
}


/* ---------- planner ---------- */
.pl-room { margin-top: 2.6rem; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2rem 2.5rem; }
@media (max-width: 900px) { .pl-room { grid-template-columns: minmax(0, 1fr); } }
.pl-block { display: flex; flex-direction: column; gap: .75rem; min-width: 0; }
.pl-block > .eyebrow, .pl-group > .eyebrow { margin: 0; }
.pl-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1rem; }
.pl-fields-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 560px) { .pl-fields-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pl-field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; font-size: .85rem; color: var(--fg2); }
.pl-field input, .pl-field select,
.pl-form input[type="text"], .pl-form input[type="email"], .pl-form input[type="tel"], .pl-form textarea, .pl-form select {
  font: inherit; font-size: 1rem; color: var(--fg); background: var(--bg);
  border: 1px solid var(--rule); border-radius: 0; padding: .6rem .7rem;
  width: 100%; box-sizing: border-box; min-width: 0;
}
.pl-field select, .pl-form select { padding-right: 2rem; appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--fg) 50%), linear-gradient(135deg, var(--fg) 50%, transparent 50%);
  background-position: calc(100% - 1rem) 55%, calc(100% - .7rem) 55%; background-size: .3rem .3rem; background-repeat: no-repeat; }
.pl-field input:focus-visible, .pl-field select:focus-visible,
.pl-form input:focus-visible, .pl-form textarea:focus-visible, .pl-form select:focus-visible { outline: 2px solid var(--fg); outline-offset: 1px; }
.pl-walls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1rem; padding: .9rem; background: var(--slot); }
.pl-check { display: flex; align-items: center; gap: .55rem; font-size: .9rem; color: var(--fg); cursor: pointer; }
.pl-check input { width: 1.05rem; height: 1.05rem; margin: 0; accent-color: var(--accent); flex: none; }
.pl-acou { display: flex; flex-direction: column; gap: .7rem; padding: 1.1rem 1.2rem; border: 1px solid var(--rule); background: var(--bg); }
.pl-acou-row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.pl-acou-read { margin: 0; font-family: var(--font-mono); font-size: .8rem; color: var(--fg2); font-variant-numeric: tabular-nums; }
.pl-acou-res { margin: 0; font-size: 1rem; }
.pl-acou-res b { font-family: var(--font-mono); font-weight: 500; }
.pl-hint { margin: 0; font-size: .85rem; line-height: 1.5; color: var(--fg2); }
.pl-tools {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 1.75rem 2.25rem;
  margin-top: 2.4rem;
  padding-top: 1.7rem;
  border-top: 1px solid var(--rule);
}
@media (max-width: 980px) { .pl-tools { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 640px) { .pl-tools { grid-template-columns: minmax(0, 1fr); } }
.pl-group { display: flex; flex-direction: column; gap: .75rem; min-width: 0; }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--fg); }
.seg-btn {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  padding: .75rem .35rem; background: transparent; color: var(--fg); border: 0; cursor: pointer;
}
.seg-btn + .seg-btn { border-left: 1px solid var(--fg); }
.seg-btn[aria-pressed="true"] { background: var(--accent); color: var(--ink); }
.pl-opts { display: flex; flex-direction: column; gap: .65rem; }
.pal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.pal-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: .6rem;
  min-height: 5.6rem; padding: .8rem .4rem .65rem;
  background: transparent; color: var(--fg); border: 1px solid var(--rule); cursor: pointer;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .04em; font-variant-numeric: tabular-nums;
}
.pal-btn:hover { border-color: var(--fg); }
.pal-btn[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.pal-shape {
  display: block; width: calc(var(--w) * .28px); height: calc(var(--h) * .28px);
  background-color: var(--fg);
  background-image: radial-gradient(circle, var(--bg) .85px, transparent 1.25px);
  background-size: 5px 5px; background-position: 1px 1px;
}
.pal-el .pal-btn { min-height: 4.6rem; }
.pal-ico { width: 34px; height: 26px; display: block; fill: none; stroke: var(--fg); stroke-width: 1.5; }
.pl-sel { margin: 0; font-weight: 500; line-height: 1.45; }
.pl-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.btn.sm { padding: .6rem .85rem; font-size: .7rem; }
.btn[disabled] { opacity: .35; pointer-events: none; }
.pl-clear { align-self: flex-start; background: none; border-top: 0; border-left: 0; border-right: 0; color: var(--fg); cursor: pointer; }
.pl-views {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 2rem 2.5rem;
  margin-top: 2.2rem;
  align-items: start;
}
@media (max-width: 980px) { .pl-views { grid-template-columns: minmax(0, 1fr); } }
.pl-drawings { display: flex; flex-direction: column; gap: 1.4rem; min-width: 0; }
.pl-view { display: flex; flex-direction: column; gap: .55rem; min-width: 0; }
.pl-view > .eyebrow { margin: 0; }
.pl-canvas { border: 1px solid var(--rule); background: var(--mat); }
.pl-svg { display: block; width: 100%; height: auto; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.pl-svg.placing { cursor: crosshair; touch-action: none; }
#pl-plan .pl-item { cursor: grab; touch-action: none; }
.pl-svg .pl-item { cursor: pointer; }
.pl-aside { display: flex; flex-direction: column; gap: 1.6rem; min-width: 0; }
.pl-note { margin: 0; font-size: .85rem; color: var(--fg2); }
.pl-legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem 1rem; font-size: .88rem; }
.pl-legend li { display: inline-flex; align-items: center; gap: .55rem; min-width: 0; }
.pl-legend svg { width: 30px; height: 18px; flex: none; }
.pl-facts { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .45rem 1.2rem; font-size: .95rem; font-variant-numeric: tabular-nums; }
.pl-facts dt { color: var(--fg2); }
.pl-facts dd { margin: 0; text-align: right; font-weight: 500; }
.pl-sum { overflow-x: auto; }
.pl-sum table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .9rem; }
.pl-sum th { text-align: left; font-family: var(--font-mono); font-size: .66rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--fg2); padding: .5rem .7rem .5rem 0; border-bottom: 1px solid var(--fg); white-space: nowrap; }
.pl-sum td { padding: .55rem .7rem .55rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.pl-sum .num-col { text-align: right; white-space: nowrap; }
.pl-sum td:nth-child(2) { white-space: nowrap; }
.pl-sum tfoot td { font-weight: 600; border-bottom: 0; }
.pl-els { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; }
.pl-els li { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .04em; padding: .35rem .55rem; border: 1px solid var(--rule); }
/* drawing */
.r-room { fill: var(--paper); }
.r-line { fill: none; stroke: var(--ink); stroke-width: 2; vector-effect: non-scaling-stroke; }
.r-wall { fill: url(#pat-wall); stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.r-plenum { fill: url(#pat-plenum); }
.r-ceil { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-dasharray: 6 4; vector-effect: non-scaling-stroke; }
.r-floor { stroke: var(--ink); stroke-width: 3; vector-effect: non-scaling-stroke; }
.g-minor { stroke: var(--rule-paper); stroke-width: 1; vector-effect: non-scaling-stroke; }
.g-major { stroke: var(--paper-2); stroke-opacity: .4; stroke-width: 1; vector-effect: non-scaling-stroke; }
.b-wand { fill: var(--ink); }
.b-plafond { fill: url(#pat-dots); stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 5 3; vector-effect: non-scaling-stroke; }
.b-baffle { fill: var(--ink); stroke: var(--ink); stroke-width: 1; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; }
.b-mobiel { fill: url(#pat-hatch); stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.b-wheel { fill: var(--paper); stroke: var(--ink); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.e-gap { fill: var(--paper); stroke: none; }
.e-line { fill: none; stroke: var(--ink); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.e-thin { fill: none; stroke: var(--ink); stroke-width: .9; vector-effect: non-scaling-stroke; }
.e-dash { fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-dasharray: 5 3; vector-effect: non-scaling-stroke; }
.e-box { fill: var(--paper); stroke: var(--ink); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.b-hit { fill: transparent; stroke: none; }
.b-out { fill: none; stroke: var(--accent); stroke-width: 3; vector-effect: non-scaling-stroke; }
.p-bg { fill: var(--paper); }
.p-ink { fill: var(--ink); }
.p-line { stroke: var(--ink); stroke-width: 2.2; }
.p-wline { stroke: var(--paper-2); stroke-width: 1; }
.b-lab { font-family: var(--font-mono); text-anchor: middle; dominant-baseline: central; pointer-events: none; fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 3px; stroke-linejoin: round; }
.b-lab.on-ink { fill: var(--paper); stroke: none; }
.dim { font-family: var(--font-mono); fill: var(--paper-2); text-anchor: middle; dominant-baseline: central; }
/* form */
.pl-form { display: flex; flex-direction: column; gap: .9rem; min-width: 0; }
@media (max-width: 480px) { .pl-form .pl-fields { grid-template-columns: minmax(0, 1fr); } }
.pl-form textarea { resize: vertical; line-height: 1.5; }
.pl-form .pl-check { color: var(--fg); align-items: flex-start; line-height: 1.45; }
.pl-form .pl-check input { margin-top: .15rem; }
.pl-cta { display: inline-flex; align-items: center; gap: .9rem; font-size: .8rem; padding: 1.05rem 1.4rem; background: var(--accent); border-color: var(--accent); color: var(--ink); }
.pl-cta:hover { background: transparent; color: var(--fg); border-color: var(--accent); }
.pl-cta span { font-size: 1.1rem; line-height: 0; transition: transform .2s ease; }
.pl-cta:hover span { transform: translateX(4px); }
.pl-err { margin: 0; color: var(--fg); font-weight: 500; }
.pl-sent { margin: 0; padding: 1rem 1.1rem; border-left: 3px solid var(--accent); background: var(--slot); font-weight: 500; }
.pl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pl-out { display: flex; flex-direction: column; gap: .8rem; margin-top: .6rem; padding-top: 1.4rem; border-top: 1px solid var(--rule); }
.pl-out textarea { font-family: var(--font-mono); font-size: .82rem; }
.pl-out .actions { margin-top: 0; }
.hero > .wrap { padding-block: clamp(3.5rem, 7vw, 6rem) clamp(4rem, 8vw, 7rem); }
.page-head > .wrap { padding-block: clamp(3.5rem, 7vw, 6rem) clamp(3.75rem, 7vw, 6rem); }
