@font-face {font-family:Bricolage;src:url('../assets/bricolage.woff2') format('woff2');font-display:swap}
:root {font-family:Bricolage,system-ui,sans-serif;scroll-behavior:smooth}
* {box-sizing:border-box}
body {
  --gutter:clamp(20px,5vw,96px);
  --display:Bricolage,system-ui,sans-serif;
  margin:0;background:var(--surface);color:var(--ink);
}
[data-theme="snit"] {--surface:#f4e9dd;--ink:#512334;--accent:#671f34;--button-text:#fff4ec;--display:Georgia,serif}
[data-theme="zout-en-vuur"] {--surface:#201b17;--ink:#fff1db;--accent:#eda974;--button-text:#251b15;--display:Georgia,serif}
[data-theme="laag"] {--surface:#f8edc6;--ink:#203260;--accent:#25458c;--button-text:#fff;--display:Georgia,serif}
[data-theme="vonk"] {--surface:#e5eef9;--ink:#142752;--accent:#243b9c;--button-text:#fff}
[data-theme="stand"] {--surface:#1c231f;--ink:#f4f0e6;--accent:#e17159;--button-text:#171410}
a {color:inherit;text-decoration:none}
a:focus-visible,summary:focus-visible {outline:2px solid currentColor;outline-offset:4px}
.lab-return {
  display:flex;justify-content:space-between;gap:1rem;padding:11px var(--gutter);
  border-bottom:1px solid color-mix(in srgb,currentColor 30%,transparent);font-size:.77rem
}
.lab-return span {opacity:.8}
.masthead {
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.75rem 1.4rem;
  padding:clamp(12px,2vw,24px) var(--gutter)
}
.brand {font-size:clamp(1.45rem,2.4vw,2.85rem);font-weight:740;letter-spacing:-.062em}
.mini-nav {display:flex;flex-wrap:wrap;align-items:center;gap:.55rem clamp(.8rem,2vw,1.8rem);font-size:.85rem}
.mini-nav a:hover {text-decoration:underline;text-underline-offset:.25em}
h1,h2,h3,p {margin:0}
.hero {display:grid;min-width:0}
.hero-copy {position:relative;z-index:1;min-width:0}
.hero-image {position:relative;min-width:0;overflow:hidden}
.hero-image img {display:block;width:100%;height:100%;object-fit:cover}
.hero h1 {font-family:var(--display);font-weight:540;line-height:.91;letter-spacing:-.073em}
.category,.offer small,.hero-note > span {font-size:.72rem;font-weight:660;text-transform:uppercase;letter-spacing:.10em}
.category {margin-bottom:clamp(.55rem,1.7vw,1.2rem)}
.description {font-size:clamp(.91rem,1.2vw,1.12rem);max-width:37ch;line-height:1.53;margin-top:clamp(.65rem,1.8vw,1.35rem)}
.primary {
  display:inline-flex;gap:1.04rem;align-items:center;margin-top:clamp(.75rem,2vw,1.5rem);
  padding:.72rem .94rem;border:1px solid var(--accent);color:var(--button-text);background:var(--accent);font-size:.86rem
}
.primary:hover {background:var(--surface);color:var(--ink)}
.hero-note p {font-size:.87rem;line-height:1.45;margin-top:.55rem}
.hero-index a:hover {text-decoration:underline;text-underline-offset:.25em}
.offer {padding:clamp(42px,7vw,100px) var(--gutter);scroll-margin-top:1rem}
.offer h2 {font:520 clamp(2rem,4.5vw,4.8rem)/1 var(--display);letter-spacing:-.065em;margin-bottom:1.4rem}
.offer-list {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.85rem,2.5vw,2.75rem)}
.offer article,.offer details {border-top:1px solid currentColor;padding:1rem 0;scroll-margin-top:1rem}
.offer h3 {font-size:clamp(1.25rem,2.3vw,2rem);letter-spacing:-.04em;margin:.42rem 0}
.offer p {font-size:.94rem;max-width:36ch;line-height:1.5}
footer {padding:1.2rem var(--gutter);border-top:1px solid currentColor;font-size:.82rem}

/* Snit — an editorial page wrapped around the portrait of the chair. */
[data-theme="snit"] .brand {font-family:Georgia,serif;font-style:italic}
[data-theme="snit"] .masthead {display:grid;grid-template-columns:1fr auto 1fr;align-items:center}
[data-theme="snit"] .brand {grid-area:1/2}
[data-theme="snit"] .mini-nav {display:contents}
[data-theme="snit"] .mini-nav a:first-child {grid-area:1/1;justify-self:start}
[data-theme="snit"] .mini-nav a:last-child {grid-area:1/3;justify-self:end}
.mini-nav a {font-size:inherit}
.chair {
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,.33fr);
  align-items:center;gap:clamp(11px,2.6vw,48px);padding:1.4vw var(--gutter) 0
}
.chair h1 {font-style:italic;font-size:clamp(3rem,7.5vw,8.4rem);max-width:9ch}
.chair .primary {border-radius:2rem}
.chair .hero-image {aspect-ratio:.83;border-radius:51% 51% 3px 3px}
.chair img {object-position:69% center}
.chair .hero-note {align-self:end;border-top:1px solid currentColor;padding:1rem 0 1.2rem}
[data-theme="snit"] .offer-list {grid-template-columns:1fr}
[data-theme="snit"] .offer article {display:grid;grid-template-columns:10ch minmax(0,1fr) minmax(0,1.2fr);gap:1rem;align-items:baseline}

/* Zout & Vuur — full-width counter, with the selection in a dark rail. */
[data-theme="zout-en-vuur"] .brand {font-family:Georgia,serif}
[data-theme="zout-en-vuur"] .mini-nav {gap:0;border-bottom:1px solid #ecd1af85}
[data-theme="zout-en-vuur"] .mini-nav a {padding:.35rem .6rem}
[data-theme="zout-en-vuur"] .mini-nav a+a {border-left:1px solid #ecd1af85}
.counter {isolation:isolate;position:relative;min-height:clamp(450px,51vw,760px);align-items:end}
.counter .hero-image {position:absolute;inset:0;z-index:-2}
.counter img {object-position:60% 54%}
.counter::before {content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#170f0de8,#1c130f79 48%,transparent 78%)}
.counter .hero-copy {padding:clamp(30px,5vw,75px) var(--gutter) clamp(25px,4vw,55px)}
.counter h1 {font-size:clamp(3.3rem,8vw,9rem);max-width:9ch}
.counter .hero-index,.garage .hero-index {display:flex;flex-wrap:wrap}
.counter .hero-index {z-index:1;padding:.85rem var(--gutter);gap:.6rem clamp(1.1rem,3vw,3.3rem);background:#211a16ec;border-top:1px solid #ead8ba67}

/* Laag — a catalogue with a title across the top and a collection card at the side. */
[data-theme="laag"] .masthead {background:#f4df9d}
[data-theme="laag"] .mini-nav a {border-bottom:1px solid currentColor;padding-bottom:2px}
.catalogue {grid-template-columns:minmax(0,3.25fr) minmax(0,1fr);grid-template-areas:'heading heading' 'image note';gap:1.1rem;padding:clamp(17px,3vw,45px) var(--gutter) 0}
.catalogue .hero-copy {grid-area:heading;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:0 1.2rem}
.catalogue .category {grid-column:1/-1}
.catalogue h1 {font-size:clamp(2.8rem,6.7vw,7.2rem)}
.catalogue .primary {width:fit-content}
.catalogue .hero-image {grid-area:image;aspect-ratio:2.25}
.catalogue img {object-position:50% 67%}
.catalogue .hero-note {grid-area:note;background:#253c72;color:#fff6e1;padding:clamp(11px,2vw,28px);display:flex;flex-direction:column;justify-content:end}
[data-theme="laag"] .offer-list {grid-template-columns:1fr}
.offer summary {cursor:pointer;display:flex;align-items:center;gap:.7rem;font-weight:650}
.offer summary::after {content:'+';margin-left:auto}
.offer details[open] summary::after {content:'−'}
.offer details p {margin-top:.7rem}

/* Vonk — a service index is part of the opening, alongside the repair photo. */
[data-theme="vonk"] .mini-nav a {border:1px solid currentColor;border-radius:2rem;padding:.4rem .65rem}
.service {
  grid-template-columns:minmax(0,.84fr) minmax(0,1fr);grid-template-areas:'headline image' 'services image';
  column-gap:clamp(15px,4vw,75px);background:#c9dbf4;padding:clamp(20px,4vw,65px) var(--gutter)
}
.service .hero-copy {grid-area:headline;padding:0 0 clamp(12px,2.4vw,30px)}
.service h1 {font-weight:800;font-size:clamp(2.9rem,6.1vw,7.2rem);max-width:10ch}
.service .hero-image {grid-area:image;min-height:100%}
.service .hero-index {grid-area:services;align-self:end}
.service .hero-index a {display:flex;justify-content:space-between;gap:.7rem;padding:.55rem 0;border-top:1px solid #14275275;font-weight:650}
.service .hero-index span {color:#244897}
[data-theme="vonk"] .offer article {background:#ceddf1;border:0;padding:1rem}

/* Stand — the car comes first, followed by a technical service band. */
[data-theme="stand"] .masthead {border-bottom:1px solid #87958768}
[data-theme="stand"] .mini-nav {text-transform:uppercase;letter-spacing:.07em;font-size:.72rem}
.garage {grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);grid-template-areas:'image image' 'copy services';align-items:end}
.garage .hero-image {grid-area:image;height:clamp(220px,34vw,500px)}
.garage img {object-position:60% 65%}
.garage .hero-copy {grid-area:copy;padding:clamp(15px,3vw,45px) var(--gutter)}
.garage h1 {font-weight:810;font-size:clamp(2.75rem,5.1vw,6rem)}
.garage .hero-index {grid-area:services;gap:.65rem 1rem;padding:1.2rem var(--gutter) 1.2rem 0}
.garage .hero-index a {padding:.55rem 0;border-top:2px solid var(--accent);font-size:.78rem;font-weight:650}
[data-theme="stand"] .offer {background:#292f2b}
[data-theme="stand"] .offer-list {grid-template-columns:1fr}
[data-theme="stand"] .offer article {display:grid;grid-template-columns:10ch minmax(0,1fr) minmax(0,1.3fr);gap:1rem;align-items:baseline}

@media(max-width:650px) {
  .offer-list,.chair,.catalogue,.service,.garage {grid-template-columns:minmax(0,1fr)}
  .chair {gap:1rem;padding-top:.75rem}
  .chair .hero-image {aspect-ratio:1.25}
  .chair .hero-note {padding:.7rem 0 0}
  [data-theme="snit"] .offer article,[data-theme="stand"] .offer article {grid-template-columns:1fr;gap:0}
  .counter {min-height:480px}
  .counter::before {background:linear-gradient(90deg,#170f0de8,#1c130f78)}
  .catalogue {grid-template-areas:'heading' 'image' 'note'}
  .catalogue .hero-copy {display:block}
  .catalogue .hero-image {aspect-ratio:1.65}
  .catalogue .hero-note {min-height:86px}
  .service {grid-template-areas:'headline' 'services' 'image';row-gap:.8rem}
  .service .hero-image {min-height:0;aspect-ratio:1.65}
  .service .hero-copy {padding-bottom:0}
  .garage {grid-template-areas:'image' 'copy' 'services'}
  .garage .hero-index {padding:0 var(--gutter) .75rem}
}
@media(prefers-reduced-motion:reduce) { :root {scroll-behavior:auto} }

/* Compact view inside the lab. The wireframe uses the same elements and grid. */
[data-sample] {overflow:hidden}
[data-sample] body {--gutter:clamp(14px,3.3vw,55px)}
[data-sample] .lab-return,[data-sample] .offer,[data-sample] footer {display:none}
[data-sample] .masthead {padding-block:.8rem;min-height:58px}
[data-sample] .mini-nav {font-size:.73rem}
[data-sample] .hero {min-height:0}
[data-sample] .description {font-size:.88rem}
[data-sample] .hero h1 {font-size:clamp(2.4rem,6vw,6.2rem)}
[data-sample] .chair {padding-top:clamp(10px,2vh,20px)}
[data-sample] .chair .hero-image {height:calc(100svh - 82px);aspect-ratio:auto}
[data-sample] .counter {height:calc(100svh - 58px);grid-template-rows:1fr auto}
[data-sample] .counter .hero-copy {padding-block:1.15rem}
[data-sample] .counter .hero-index {padding-block:.65rem}
[data-sample] .catalogue {height:calc(100svh - 66px);grid-template-rows:auto minmax(0,1fr);padding-top:clamp(14px,3vh,35px)}
[data-sample] .catalogue .hero-image {height:100%;aspect-ratio:auto}
[data-sample] .service {height:calc(100svh - 58px);padding-block:clamp(17px,4vh,37px)}
[data-sample] .service .hero-index a {font-size:.87rem}
[data-sample] .garage .hero-image {height:calc(100svh * .46)}
[data-sample] .garage .hero-copy {padding-block:clamp(12px,3vh,24px)}
[data-sample] .garage .hero-index {padding-block:clamp(12px,3vh,24px)}
[data-sample] .garage h1 {font-size:clamp(2.5rem,5vw,5.4rem)}

[data-wireframe="true"] body {
  --surface:#f1e7db;--ink:#694a5f;--accent:#9b5439;
  color:var(--ink);background:var(--surface)
}
[data-wireframe="true"] .masthead,
[data-wireframe="true"] :is(.chair,.counter,.catalogue,.service,.garage),
[data-wireframe="true"] :is(.counter .hero-index,.catalogue .hero-note) {
  background:transparent;color:var(--ink)
}
[data-wireframe="true"] .masthead {border-bottom:1px solid #694a5f5e}
[data-wireframe="true"] .counter::before {display:none}
[data-wireframe="true"] .hero-image {
  border:1px solid #79566e9c;
  background:
    linear-gradient(to top right,transparent 49.85%,#79566e7a 50%,transparent 50.15%),
    linear-gradient(to top left,transparent 49.85%,#79566e7a 50%,transparent 50.15%)
}
[data-wireframe="true"] .hero-image img {opacity:0}
[data-wireframe="true"] .hero h1 {color:transparent;-webkit-text-stroke:1px #79566ebd}
[data-wireframe="true"] :is(.hero-note,.hero-index) {outline:1px dashed #79566e80;outline-offset:-1px}
[data-wireframe="true"] .description {color:#694a5fba;text-decoration:underline #79566e54;text-underline-offset:.25em}
[data-wireframe="true"] .primary {background:var(--surface);color:#693a4e}
@media(max-width:650px) {
  [data-sample] .masthead {min-height:48px}
  [data-sample] .masthead .brand {font-size:1.2rem}
  [data-sample] .mini-nav {gap:.46rem;font-size:.67rem}
  [data-sample] .category {font-size:.63rem;margin-bottom:.35rem}
  [data-sample] .description {display:none}
  [data-sample] .primary {margin-top:.55rem;padding:.38rem .52rem;font-size:.72rem}
  [data-sample] .hero h1 {font-size:clamp(2.15rem,8vw,3.35rem)}
  [data-sample] .chair .hero-image {height:calc(100svh * .42);aspect-ratio:auto}
  [data-sample] .chair .hero-note {font-size:.78rem}
  [data-sample] .chair .hero-note p {margin-top:.22rem}
  [data-sample] .counter {height:calc(100svh - 52px)}
  [data-sample] .catalogue {height:calc(100svh - 52px);grid-template-rows:auto minmax(0,1fr) auto;gap:.62rem}
  [data-sample] .catalogue .hero-image {max-height:100%;min-height:0}
  [data-sample] .catalogue .hero-note {min-height:0;padding:.48rem}
  [data-sample] .catalogue .hero-note p {margin-top:.18rem}
  [data-sample] .service {height:calc(100svh - 52px);grid-template-rows:auto auto minmax(0,1fr)}
  [data-sample] .service .hero-image {aspect-ratio:auto;max-height:100%}
  [data-sample] .service .hero-index a {padding:.35rem 0;font-size:.73rem}
  [data-sample] .garage .hero-image {height:calc(100svh * .4)}
  [data-sample] .garage .hero-index {padding-top:0}
}
[data-sample] body {display:grid;grid-template-rows:auto minmax(0,1fr);height:100svh}
[data-sample] main {min-height:0}
[data-sample] .hero {height:100%}
[data-sample] .chair .hero-image,[data-sample] .garage .hero-image {height:100%;min-height:0}
[data-sample] .garage {grid-template-rows:minmax(0,1fr) auto}
@media(max-width:650px) {
  [data-sample] .chair {grid-template-rows:auto minmax(0,1fr) auto}
  [data-sample] .garage {grid-template-rows:minmax(0,1fr) auto auto}
}
@media(max-width:300px) {
  [data-theme="snit"] .masthead {grid-template-columns:auto auto;justify-content:space-between;gap:.35rem .4rem}
  [data-theme="snit"] .brand {grid-area:1/1/2/3;justify-self:center}
  [data-theme="snit"] .mini-nav a:first-child {grid-area:2/1}
  [data-theme="snit"] .mini-nav a:last-child {grid-area:2/2}
}
