/* Kozina: meubelmaker in Koningshooikt.
   Built on the ui-ux-pro-max "Home Decoration & Interior Design" system (Minimalism & Swiss Style,
   scroll-triggered storytelling): warm grey on a warm white ground, Outfit with Work Sans.
   Accent changed from amber to the green of the first design-system run (see research.md). Phone first. */

:root {
  --bg: #f5f4f2;
  --ink: #0f172a;
  --stone: #78716c;
  --stone-2: #a8a29e;
  --stone-d: #57534e;
  --surface: #e9e7e4;
  --surface-2: #dfd9d4;
  --muted: #334155;
  --accent: #15803d;
  --accent-hover: #166534;
  --accent-ink: #ffffff;

  --font-display: "Outfit", "Avenir Next", system-ui, sans-serif;
  --font-text: "Work Sans", "Helvetica Neue", system-ui, sans-serif;

  --step-small: 1rem;
  --step-body: clamp(1.0625rem, 1rem + 0.22vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.12rem + 0.6vw, 1.625rem);
  --step-head: clamp(2rem, 1.25rem + 3.2vw, 4.25rem);
  --step-display: clamp(2rem, 0.9rem + 4.6vw, 5.25rem);

  --margin: clamp(1rem, 4vw, 3.5rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(5.5rem, 10vw, 11rem);
  --header-h: 4.25rem;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-text); font-size: var(--step-body); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:target { scroll-margin-top: calc(var(--header-h) + 1rem); }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; text-wrap: balance; hyphens: none; overflow-wrap: normal; }
.display { font-size: var(--step-display); line-height: 1; letter-spacing: -0.03em; }
.head { font-size: var(--step-head); line-height: 1.04; letter-spacing: -0.025em; }
.title { font-size: var(--step-lead); line-height: 1.2; letter-spacing: -0.01em; font-weight: 600; }
.lead { font-size: var(--step-lead); line-height: 1.4; max-width: 30em; }
.small { font-size: var(--step-small); }
p { max-width: 36em; text-wrap: pretty; }
p + p { margin-top: 0.85em; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.br-wide { display: none; }
@media (min-width: 48em) { .br-wide { display: inline; } }

/* ---------- frame ---------- */
.wrap { width: 100%; max-width: 1560px; margin-inline: auto; padding-inline: var(--margin); }
.section { padding-block: calc(var(--section) / 2); }
.field-stone { background: var(--stone-d); color: #fff; }
.field-stone .muted { color: #eeece9; }
.field-surface { background: var(--surface); }

.skip-link { position: absolute; left: var(--margin); top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: 0.8rem 1.1rem; text-decoration: none; font-weight: 600; border-radius: 999px; }
.skip-link:focus { top: 0.75rem; }

/* ---------- controls ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 3.25rem; padding: 0 1.6rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: var(--step-small); text-decoration: none; white-space: nowrap; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.button:hover { background: var(--accent-hover); }
.button:active { transform: scale(0.97); }
.button-ink { background: var(--ink); }
.button-ink:hover { background: #1e293b; }
.text-link { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; font-weight: 600; text-decoration: underline; text-decoration-thickness: 0.08em; text-underline-offset: 0.25em; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); transition: text-decoration-color var(--t-hover) ease, color var(--t-hover) ease; }
.text-link:hover { text-decoration-color: currentColor; color: var(--accent); }
.field-stone .text-link:hover { color: #fff; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.actions { display: flex; flex-direction: column; align-items: stretch; gap: 0.75rem; }
.actions .button { min-height: 3.5rem; font-size: 1.0625rem; }
@media (min-width: 40em) {
  .actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; }
  .actions .button { min-height: 3.25rem; font-size: var(--step-small); }
}

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); }
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.wordmark { display: inline-flex; align-items: center; gap: 0.55rem; margin-right: auto; text-decoration: none; min-height: 2.75rem; }
.wordmark svg { width: 1.9rem; height: 1.9rem; transition: transform 400ms var(--ease-out); }
.wordmark:hover svg { transform: translateY(-3px); }
.wordmark span { font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; letter-spacing: -0.04em; line-height: 1; }
.nav-main { display: none; }
.nav-main ul { display: flex; gap: 1.75rem; }
.nav-main a { position: relative; display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 500; font-size: var(--step-small); text-decoration: none; }
.nav-main a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.5rem; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease-out); }
.nav-main a:hover::after, .nav-main a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 0.4rem; }
.header-phone { display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; min-width: 2.75rem; min-height: 2.75rem; border-radius: 999px; font-weight: 600; font-size: var(--step-small); text-decoration: none; white-space: nowrap; transition: background-color var(--t-hover) ease; }
.header-phone:hover { background: var(--surface); }
.header-phone span { display: none; }
.header-actions .button { min-height: 2.75rem; padding-inline: 1.1rem; }
.menu { position: relative; }
.menu summary { list-style: none; display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; border-radius: 999px; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover { background: var(--surface); }
.menu:not([open]) .menu-panel { display: none; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 0.5rem); width: min(19rem, calc(100vw - 2rem)); background: var(--stone-d); color: #fff; padding: 0.75rem 1.25rem 1rem; border-radius: 1.25rem; }
.menu-panel a { display: flex; align-items: center; min-height: 3rem; text-decoration: none; font-family: var(--font-display); font-size: var(--step-lead); font-weight: 600; }
.menu-panel a:hover { color: #bbf7d0; }
.menu-icon { width: 1.5rem; height: 1.5rem; }
@media (min-width: 64em) {
  .nav-main { display: block; }
  .menu { display: none; }
  .header-phone span { display: inline; }
  .header-phone { padding-inline: 0.8rem; }
}
@media (max-width: 23.5em) { .wordmark span { font-size: 1.5rem; } .header-actions .button { padding-inline: 0.85rem; } }

/* ---------- story: the house cut open ---------- */
.story { padding-top: clamp(1.75rem, 5vw, 4.5rem); padding-bottom: calc(var(--section) / 2); }
.story-grid { display: grid; gap: 1.75rem var(--gutter); }
.story-title { grid-column: 1 / -1; }
.story-intro { display: grid; gap: 1.5rem; align-content: start; }
.facts { display: grid; gap: 0.15rem; font-size: var(--step-small); }
.facts li { display: flex; gap: 0.6rem; align-items: baseline; }
.facts strong { font-weight: 600; }
.house { position: relative; }
.house-svg { width: 100%; height: auto; }
.house .rm { transition: opacity 500ms var(--ease-out); cursor: pointer; }
.house[data-active] .rm { opacity: 0.22; }
.house[data-active="ramen"] .rm[data-room="ramen"], .house[data-active="hal"] .rm[data-room="hal"], .house[data-active="leef"] .rm[data-room="leef"], .house[data-active="keuken"] .rm[data-room="keuken"], .house[data-active="bad"] .rm[data-room="bad"], .house[data-active="slaap"] .rm[data-room="slaap"], .house[data-active="zolder"] .rm[data-room="zolder"] { opacity: 1; }
.rooms { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.rooms a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1rem; border-radius: 999px; background: var(--surface); font-weight: 500; font-size: var(--step-small); text-decoration: none; transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.rooms a:hover { background: var(--surface-2); }
.rooms a:active { transform: scale(0.96); }
.rooms a[aria-current="true"] { background: var(--accent); color: #fff; }
.chapters { display: grid; gap: clamp(3.5rem, 8vw, 5rem); margin-top: 1.5rem; }
.chapter h2 { margin-top: 1rem; }
.chapter p { margin-top: 0.85rem; }
.chapter ul { margin-top: 1rem; display: grid; gap: 0.5rem; }
.chapter li, .ticks li { position: relative; padding-left: 1.5rem; }
.chapter li::before, .ticks li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.65rem; height: 0.65rem; border-radius: 50%; background: var(--accent); }
.room-crop { width: 100%; height: auto; }
@media (min-width: 64em) {
  .story-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
  .story-intro { grid-column: 1 / span 5; grid-row: 2; }
  .house { grid-column: 6 / -1; grid-row: 2 / span 2; position: sticky; top: calc(var(--header-h) + 1rem); }
  .house-svg { max-height: calc(100vh - var(--header-h) - 10.5rem); width: auto; margin-left: auto; margin-right: 0; }
  .rooms { justify-content: flex-end; }
  .chapters { grid-column: 1 / span 5; grid-row: 3; margin-top: 3rem; gap: 0; }
  .chapter { min-height: 72vh; padding-block: 3rem; }
  .chapter .room-crop { display: none; }
}

/* ---------- section heads ---------- */
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2.25rem, 5vw, 4rem); }
@media (min-width: 56em) { .section-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; column-gap: var(--gutter); } }

/* ---------- stairs (werkwijze) ---------- */
.stairs-wrap { display: grid; gap: 2.5rem var(--gutter); }
.stairs { display: grid; gap: 1.75rem; }
.stairs li { display: grid; gap: 0.35rem; padding: 1.25rem 1.25rem 1.4rem; background: var(--surface); border-radius: 1.25rem; }
.stairs .when { font-family: var(--font-display); font-weight: 600; color: var(--accent); font-size: var(--step-body); }
.stairs h3 { font-size: var(--step-lead); line-height: 1.2; }
.stairs-film video { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 1.25rem; background: var(--surface); }
.stairs-film figcaption { margin-top: 0.6rem; font-size: var(--step-small); color: var(--muted); }
@media (min-width: 64em) {
  .stairs-wrap { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto; }
  .stairs { grid-column: 1 / -1; grid-row: 1; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem var(--gutter); }
  .stairs li { grid-column: span 5; }
  .stairs li:nth-child(1) { grid-column: 1 / span 5; }
  .stairs li:nth-child(2) { grid-column: 3 / span 5; }
  .stairs li:nth-child(3) { grid-column: 5 / span 5; }
  .stairs li:nth-child(4) { grid-column: 7 / span 5; }
  .stairs li:nth-child(5) { grid-column: 8 / span 5; }
  .stairs-film { grid-column: 1 / span 5; grid-row: 1; align-self: end; margin-bottom: 0; }
  .stairs li:nth-child(4), .stairs li:nth-child(5) { position: relative; z-index: 1; }
}

/* ---------- engravings and photographs ---------- */
.plate { mix-blend-mode: multiply; }
.plate img { background: transparent; }
.photo-bw { filter: grayscale(1) contrast(1.04); }
figcaption { font-size: var(--step-small); color: var(--ink); max-width: 40em; }
.workshop { display: grid; gap: 2rem var(--gutter); }
.workshop-band img { width: 100%; height: auto; }
.workshop-band figcaption { margin-top: 0.75rem; }
.workshop-body { display: grid; gap: 2rem var(--gutter); }
.materials { display: grid; gap: 1.5rem; }
.materials dt { font-family: var(--font-display); font-weight: 600; font-size: var(--step-lead); line-height: 1.2; }
.materials dd { margin-top: 0.3rem; max-width: 34em; }
.profile-plate img { width: 100%; max-height: 36rem; object-fit: contain; object-position: left top; }
@media (min-width: 56em) {
  .workshop-body { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
  .workshop-body .materials { grid-column: 1 / span 7; grid-template-columns: 1fr 1fr; column-gap: var(--gutter); }
  .workshop-body .profile-plate { grid-column: 9 / -1; }
}

/* ---------- region ---------- */
.region { display: grid; gap: 2rem var(--gutter); }
.region-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 1.25rem; }
.region-photo figcaption { margin-top: 0.6rem; }
.address { font-family: var(--font-display); font-size: var(--step-lead); font-weight: 600; line-height: 1.3; }
.towns { columns: 2; column-gap: var(--gutter); margin-top: 1rem; font-weight: 500; line-height: 1.9; }
.towns li { break-inside: avoid; white-space: nowrap; }
@media (min-width: 56em) {
  .region { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
  .region-photo { grid-column: 1 / span 7; }
  .region-body { grid-column: 9 / -1; }
}

/* ---------- faq ---------- */
.faq { display: grid; gap: 2rem var(--gutter); }
.faq-intro p { margin-top: 1rem; }
.faq-list details { background: var(--surface); border-radius: 1.25rem; }
.faq-list details + details { margin-top: 0.5rem; }
.faq-list summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.5rem; padding: 0.9rem 1.25rem; cursor: pointer; font-weight: 600; line-height: 1.35; border-radius: 1.25rem; transition: background-color var(--t-hover) ease; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--accent); transition: transform var(--t-hover) var(--ease-out); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { background: var(--surface-2); }
.faq-list details > div { padding: 0 1.25rem 1.3rem; }
@media (min-width: 64em) {
  .faq { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .faq-intro { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
  .faq-list { grid-column: 7 / -1; }
}

/* ---------- closing ---------- */
.closing { display: grid; gap: 2rem var(--gutter); align-items: center; }
.closing p { margin-top: 1.25rem; }
.closing .actions { margin-top: 2rem; }
.closing-photo img { width: 100%; border-radius: 1.25rem; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 56em) {
  .closing { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .closing-body { grid-column: 1 / span 6; }
  .closing-photo { grid-column: 8 / -1; }
}

/* ---------- inner pages ---------- */
.page-hero { padding-top: clamp(1.75rem, 5vw, 4.5rem); }
.page-hero .lead { margin-top: 1.25rem; }
.page-hero .actions { margin-top: 1.75rem; }
.page-figure { margin-top: clamp(2rem, 5vw, 4rem); }
.page-figure svg { width: 100%; height: auto; }
.page-figure.plate img { width: 100%; }
.items { display: grid; gap: 2.5rem var(--gutter); }
.item figure { border-radius: 1.25rem; overflow: hidden; background: var(--surface); }
.item h3 { margin-top: 1rem; }
.item p { margin-top: 0.4rem; }
.item ul { margin-top: 0.75rem; display: grid; gap: 0.35rem; }
@media (min-width: 48em) { .items { grid-template-columns: 1fr 1fr; } }
@media (min-width: 72em) { .items { grid-template-columns: repeat(3, minmax(0, 1fr)); } .items > :nth-child(3n + 2) { margin-top: 3rem; } }
.split { display: grid; gap: 2rem var(--gutter); align-items: center; }
.split + .split { margin-top: var(--section); }
.split-body ul { margin-top: 1rem; display: grid; gap: 0.5rem; }
.split-body p { margin-top: 1rem; }
.split figure img, .split figure video { width: 100%; height: auto; }
.split figure.rounded img, .split figure.rounded video, .split figure.rounded svg { border-radius: 1.25rem; }
@media (min-width: 56em) {
  .split { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .split > figure { grid-column: 1 / span 6; }
  .split > .split-body { grid-column: 8 / -1; }
  .split.flip > figure { grid-column: 7 / -1; grid-row: 1; }
  .split.flip > .split-body { grid-column: 1 / span 5; grid-row: 1; }
}
.prices { display: grid; gap: 0.5rem; }
.prices div { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding: 1rem 1.25rem; background: var(--surface); border-radius: 1rem; }
.prices dt { font-weight: 500; }
.prices dd { font-family: var(--font-display); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- contact ---------- */
.contact { display: grid; gap: 3rem var(--gutter); }
.contact-side { display: grid; gap: 2rem; align-content: start; }
@media (min-width: 64em) {
  .contact { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .contact-form { grid-column: 1 / span 7; }
  .contact-side { grid-column: 8 / -1; padding-left: var(--gutter); }
}
.form-grid { display: grid; gap: 1.4rem var(--gutter); }
@media (min-width: 40em) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label, .field legend { display: block; font-weight: 600; font-size: var(--step-small); margin-bottom: 0.45rem; padding: 0; }
.field .req { color: var(--accent); }
.field input, .field select, .field textarea { width: 100%; min-height: 3.25rem; padding: 0.8rem 1.1rem; background: #fff; border: 0; border-radius: 1rem; box-shadow: inset 0 0 0 2px var(--surface-2); font-size: max(1rem, var(--step-body)); transition: box-shadow var(--t-hover) ease; } /* taste-skill-ignore: form fields keep their edge */
.field textarea { min-height: 9rem; resize: vertical; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { box-shadow: inset 0 0 0 2px var(--stone-2); } /* taste-skill-ignore: form field hover */
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 3px var(--accent); } /* taste-skill-ignore: form field focus */
.field [aria-invalid="true"] { box-shadow: inset 0 0 0 3px #b42318; } /* taste-skill-ignore: form field error */
.field .hint { margin-top: 0.4rem; font-size: var(--step-small); color: var(--muted); }
.field .error { margin-top: 0.4rem; font-size: var(--step-small); color: #b42318; font-weight: 600; }
.field .error:empty { display: none; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.check { position: relative; }
.check input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.check span { display: inline-flex; align-items: center; min-height: 3rem; padding: 0 1.1rem; border-radius: 999px; background: var(--surface); font-weight: 500; font-size: var(--step-small); transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }
.check:hover span { background: var(--surface-2); }
.check input:checked + span { background: var(--accent); color: #fff; }
.check input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } /* taste-skill-ignore: honeypot, hidden */
.form-error { margin-top: 1.5rem; padding: 0.9rem 1.1rem; border-radius: 1rem; background: #fdecea; color: #8a1c12; font-weight: 600; font-size: var(--step-small); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }
.form-foot .button { min-height: 3.5rem; }
@media (max-width: 40em) { .form-foot .button { width: 100%; } }
.form-done { background: var(--stone-d); color: #fff; padding: clamp(1.5rem, 4vw, 3rem); border-radius: 1.5rem; }
.form-done h2 { font-size: var(--step-lead); }
.form-done p { margin-top: 1rem; }
.form-done .actions { margin-top: 1.5rem; }
.contact-block h2 { font-size: var(--step-lead); line-height: 1.2; }
.contact-block p, .contact-block address { margin-top: 0.5rem; font-style: normal; }
.contact-block .big { display: inline-flex; align-items: center; min-height: 2.75rem; font-family: var(--font-display); font-size: var(--step-lead); font-weight: 600; text-decoration: none; }
.contact-block .big:hover { color: var(--accent); }
.contact-side figure img { width: 100%; border-radius: 1.25rem; }
.contact-side figcaption { margin-top: 0.5rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--stone-d); color: #fff; padding-top: clamp(3.5rem, 8vw, 6.5rem); overflow: hidden; }
.footer-cols { display: grid; gap: 2.25rem var(--gutter); }
.footer-cols h2 { font-size: var(--step-body); margin-bottom: 0.6rem; }
.footer-cols p, .footer-cols address { font-style: normal; font-size: var(--step-small); line-height: 1.7; }
.footer-cols ul { display: grid; font-size: var(--step-small); }
.footer-cols a { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; min-width: 2.75rem; text-decoration: none; }
.footer-cols a:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.footer-cols .button { margin-top: 1rem; text-decoration: none; }
.footer-cols .button:hover { text-decoration: none; }
@media (min-width: 48em) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64em) { .footer-cols { grid-template-columns: 5fr 3fr 4fr; } }
.footer-credits { margin-top: 3rem; font-size: var(--step-small); color: #ffffff; max-width: 38em; line-height: 1.85; }
.footer-credits a { color: #fff; }
.footer-name { display: flex; align-items: flex-end; gap: 0.06em; margin-top: clamp(2rem, 5vw, 3.5rem); font-family: var(--font-display); font-weight: 700; font-size: clamp(4.5rem, 24vw, 22rem); line-height: 0.78; letter-spacing: -0.06em; white-space: nowrap; transform: translateY(0.1em); }
.footer-name svg { width: 0.62em; height: 0.62em; margin-bottom: 0.1em; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .rise { opacity: 0; transform: translateY(0.4em); animation: rise 1000ms var(--ease-expo) forwards; animation-delay: calc(var(--i, 0) * 110ms + 80ms); }
  .js .build .rm, .js .build .structure { animation: build 900ms var(--ease-expo) backwards; }
  .js .build .structure { animation-delay: 0ms; }
  .js .build .rm[data-room="hal"] { animation-delay: 250ms; }
  .js .build .rm[data-room="leef"] { animation-delay: 350ms; }
  .js .build .rm[data-room="keuken"] { animation-delay: 450ms; }
  .js .build .rm[data-room="bad"] { animation-delay: 550ms; }
  .js .build .rm[data-room="slaap"] { animation-delay: 650ms; }
  .js .build .rm[data-room="zolder"] { animation-delay: 750ms; }
  .js .build .rm[data-room="ramen"] { animation-delay: 900ms; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes build { from { opacity: 0; transform: translateY(900px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
}
.crop-fixed { aspect-ratio: 4 / 3; width: 100%; height: auto; }
