/* Home Furn, meubels en decoratie in Lier. Voorbeeldsite. */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ===== Tokens ===== */
:root {
  --ground: #f2f3f3;
  --ground-2: #e6e7e6;
  --ground-3: #d8dad9;
  --ink: #1c1a17;
  --ink-2: #4b4740;
  --accent: #d97706;
  --accent-press: #b86405;
  --on-accent: #1c1a17;
  --field: #1f1d1a;
  --on-field: #f2f3f3;
  --on-field-2: #cfcac1;
  --wall-living: #cdbcaa;
  --wall-dining: #a7b2a2;
  --wall-sleep: #b3bdca;
  --wall-deco: #ceb3a6;
  --focus: #1d4ed8;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step-0: 1.0625rem;
  --step-1: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);
  --step-2: clamp(1.625rem, 1.35rem + 1.2vw, 2.25rem);
  --step-3: clamp(2rem, 1.4rem + 2.6vw, 3.5rem);
  --step-4: clamp(2.25rem, 1.1rem + 4.8vw, 5.25rem);

  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(88px, 10vw, 160px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 64px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-size: var(--step-0); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[class], ol[class], nav ul, footer ul { list-style: none; padding: 0; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

/* ===== Layout ===== */
.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-top: var(--section); }
main > .section:last-child { padding-bottom: var(--section); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--gutter); top: -100px; z-index: 100; background: var(--ink); color: var(--ground); padding: 12px 18px; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ===== Type ===== */
h1, h2 { font-weight: 800; letter-spacing: -0.035em; line-height: 1; text-wrap: balance; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-weight: 750; letter-spacing: -0.01em; line-height: 1.25; }
.lead { font-size: var(--step-1); line-height: 1.5; max-width: 36ch; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px;
  background: var(--accent); color: var(--on-accent);
  font-weight: 750; font-size: 1.0625rem; text-decoration: none;
  border: 0; border-radius: 0; cursor: pointer;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover { background: var(--accent-press); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--ink { background: var(--ink); color: var(--ground); }
.btn--ink:hover { background: #3a362f; }
.btn--quiet { background: var(--ground-2); color: var(--ink); }
.btn--quiet:hover { background: var(--ground-3); }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 750; text-decoration: underline; }
.text-link svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ground); transition: background-color 0.25s var(--ease); }
.site-header.is-scrolled { background: var(--ground-2); }
.header-bar { display: flex; align-items: center; gap: 10px; min-height: var(--header-h); }
.brand { display: inline-flex; flex-direction: column; justify-content: center; text-decoration: none; margin-right: auto; min-height: 44px; line-height: 1; }
.brand-name { font-weight: 800; font-size: 1.5rem; letter-spacing: -0.05em; white-space: nowrap; }
.brand-name span { color: var(--accent-press); }
.brand-trade { font-size: 1rem; color: var(--ink-2); margin-top: 3px; white-space: nowrap; }
.main-nav ul { display: flex; gap: 2px; }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; font-weight: 650; }
.main-nav a:hover, .main-nav a[aria-current="page"] { text-decoration: underline; }
.head-btn { min-height: 44px; padding: 0 14px; font-size: 1rem; gap: 8px; }
.head-btn svg { width: 18px; height: 18px; }
.menu-toggle { display: none; width: 48px; height: 48px; flex: none; align-items: center; justify-content: center; background: var(--ground-2); border: 0; cursor: pointer; padding: 0; }
.menu-toggle svg { width: 24px; height: 24px; }
@media (max-width: 999px) {
  .menu-toggle { display: inline-flex; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--ground-2); padding: 8px var(--gutter) 20px; display: none; }
  .js .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { min-height: 52px; font-size: 1.1875rem; padding: 0; width: 100%; }
  .no-js .main-nav { position: static; display: block; background: none; padding: 0 0 8px; }
  .brand-trade { display: none; }
}
@media (max-width: 420px) {
  .head-btn { padding: 0 12px; }
  .head-btn .long { display: none; }
}

/* ===== Hero ===== */
.hero { padding-top: clamp(8px, 2vw, 24px); }
.hero-grid { row-gap: 24px; align-items: center; }
.hero-copy { grid-column: 1 / -1; }
.hero-copy h1 { max-width: 16ch; }
.hero-copy .lead { margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-media { grid-column: 1 / -1; margin-inline: calc(var(--gutter) * -1); overflow: hidden; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; animation: drift 16s var(--ease) both; }
.hero-facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; margin-top: 8px; }
.hero-facts dt { color: var(--ink-2); }
.hero-facts dd { font-weight: 750; font-size: var(--step-1); line-height: 1.25; margin-top: 2px; }
@media (min-width: 1000px) {
  .hero-media { grid-column: 1 / span 6; grid-row: 1 / span 2; margin: 0 0 0 calc(var(--gutter) * -1); }
  .hero-media img { aspect-ratio: auto; height: min(78vh, 720px); }
  .hero-copy { grid-column: 7 / -1; align-self: end; }
  .hero-copy h1 { font-size: clamp(2.25rem, 1.1rem + 3.8vw, 4.25rem); }
  .hero-facts { grid-column: 7 / -1; grid-template-columns: 1fr 1fr; align-self: start; margin-top: 24px; }
}
@keyframes drift { from { transform: scale(1.06); } to { transform: scale(1); } }

/* ===== Rooms (each a wall colour) ===== */
.rooms-intro { grid-column: 1 / -1; display: grid; gap: 16px; }
.rooms-intro p { max-width: 46ch; }
@media (min-width: 1000px) { .rooms-intro { grid-template-columns: 1fr 1fr; align-items: end; column-gap: 32px; } .rooms-intro p { font-size: var(--step-1); } }
.room { padding-block: clamp(64px, 8vw, 120px); background: var(--wall); }
.rooms + .room { margin-top: 40px; }
.room-grid { row-gap: 24px; align-items: center; }
.room-media { grid-column: 1 / -1; }
.room-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.room-copy { grid-column: 1 / -1; }
.room-copy > p { margin-top: 14px; max-width: 42ch; }
.room-copy ul { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.room-copy li { background: rgba(255, 255, 255, 0.55); padding: 8px 14px; font-weight: 650; }
.room-copy .paint { margin-top: 20px; display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 650; }
.room-copy .paint i { width: 40px; height: 28px; background: var(--wall); border: 5px solid #fff; filter: brightness(0.9); }
.room--living { --wall: var(--wall-living); }
.room--dining { --wall: var(--wall-dining); }
.room--sleep { --wall: var(--wall-sleep); }
.room--deco { --wall: var(--wall-deco); }
@media (min-width: 1000px) {
  .room-media { grid-column: 1 / span 7; }
  .room-copy { grid-column: 9 / -1; }
  .room--flip .room-media { grid-column: 6 / -1; grid-row: 1; }
  .room--flip .room-copy { grid-column: 1 / span 4; grid-row: 1; }
}

/* ===== Fit tool ===== */
.fit-head { grid-column: 1 / -1; }
.fit-head p { margin-top: 16px; max-width: 46ch; }
.fit-tool { grid-column: 1 / -1; margin-top: 28px; background: var(--ground-2); padding: clamp(18px, 3vw, 36px); display: grid; gap: 20px; }
.fit-control { display: grid; gap: 10px; }
.fit-control label { font-weight: 750; }
.fit-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.fit-row input[type="range"] { flex: 1 1 220px; min-height: 44px; accent-color: var(--accent-press); }
.fit-number { display: flex; align-items: center; gap: 8px; }
.fit-number input { width: 108px; min-height: 52px; padding: 8px 12px; font-size: 1.25rem; font-weight: 750; border: 2px solid #bdb8ae; background: #fff; border-radius: 0; }
.fit-number span { font-weight: 650; }
.wall-svg { width: 100%; height: auto; display: block; background: #fff; }
.wall-svg .wall { fill: var(--wall-living); }
.wall-svg .floor { fill: #b8a48c; }
.wall-svg .sofa { fill: var(--ink); transition: x 0.35s var(--ease), width 0.35s var(--ease); }
.wall-svg .sofa-seat { fill: #4b4740; }
.wall-svg .dim { stroke: var(--ink); stroke-width: 2; fill: none; }
.wall-svg .dim-text { font-family: var(--font); font-size: 18px; font-weight: 750; fill: var(--ink); }
.fit-result { font-size: var(--step-1); font-weight: 650; line-height: 1.4; min-height: 3em; }
.fit-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fit-list li { background: #fff; padding: 12px 14px; display: grid; gap: 2px; transition: background-color 0.3s var(--ease), color 0.3s var(--ease); }
.fit-list li b { font-weight: 750; }
.fit-list li.fits { background: var(--ink); color: var(--ground); }
.fit-list li.tight { background: var(--accent); color: var(--on-accent); }
.fit-note { color: var(--ink-2); max-width: 60ch; }
.no-js .fit-control, .no-js .wall-svg, .no-js .fit-result { display: none; }
@media (min-width: 1000px) {
  .fit-head { grid-column: 1 / span 4; }
  .fit-tool { grid-column: 6 / -1; margin-top: 0; }
  .fit-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ===== Delivery band ===== */
.band { background: var(--field); color: var(--on-field); padding-block: var(--section); margin-top: var(--section); }
.band + .section { padding-top: var(--section); }
.band-grid { row-gap: 28px; align-items: center; }
.band-media { grid-column: 1 / -1; }
.band-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.band-copy { grid-column: 1 / -1; }
.band-copy > p { margin-top: 16px; max-width: 46ch; color: var(--on-field-2); }
.band-steps { margin-top: 24px; display: grid; gap: 18px; counter-reset: step; }
.band-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 14px; align-items: start; }
.band-steps li::before { counter-increment: step; content: counter(step); grid-row: 1 / span 2; width: 44px; height: 44px; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: 1.125rem; }
.band-steps h3 { color: var(--on-field); }
.band-steps p { color: var(--on-field-2); }
@media (min-width: 1000px) {
  .band-media { grid-column: 1 / span 6; }
  .band-copy { grid-column: 8 / -1; }
}

/* ===== Klus (paint) ===== */
.klus-grid { row-gap: 24px; align-items: center; }
.klus-copy { grid-column: 1 / -1; }
.klus-copy p { margin-top: 14px; max-width: 46ch; }
.klus-copy ul { margin-top: 18px; display: grid; gap: 8px; }
.klus-copy li { padding-left: 24px; position: relative; }
.klus-copy li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 12px; height: 12px; background: var(--accent); }
.klus-media { grid-column: 1 / -1; }
.klus-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 1000px) {
  .klus-copy { grid-column: 1 / span 5; }
  .klus-media { grid-column: 7 / -1; }
  .klus-media img { aspect-ratio: 16 / 10; }
}

/* ===== Visit ===== */
.visit-grid { row-gap: 32px; }
.visit-head { grid-column: 1 / -1; }
.visit-head p { margin-top: 14px; max-width: 42ch; }
.visit-head .hero-actions { margin-top: 22px; }
.hours { grid-column: 1 / -1; }
.hours h3 { margin-bottom: 10px; }
.hours table { width: 100%; border-collapse: collapse; font-size: 1.0625rem; }
.hours th, .hours td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--ground-3); }
.hours td { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.hours tr.today th, .hours tr.today td { background: var(--accent); color: var(--on-accent); }
.hours tr.today th { padding-left: 10px; }
.hours tr.today td { padding-right: 10px; }
.address-block { grid-column: 1 / -1; display: grid; gap: 6px; align-content: start; }
.address-block address { font-style: normal; font-size: var(--step-1); font-weight: 700; line-height: 1.35; }
.address-block a { font-weight: 700; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; word-break: break-word; }
.address-block a svg { width: 22px; height: 22px; flex: none; }
@media (min-width: 1000px) {
  .visit-head { grid-column: 1 / span 5; }
  .address-block { grid-column: 1 / span 5; }
  .hours { grid-column: 8 / -1; grid-row: 1 / span 2; }
}

/* ===== FAQ ===== */
.faq-head { grid-column: 1 / -1; }
.faq-list { grid-column: 1 / -1; margin-top: 28px; display: grid; gap: 6px; }
.faq-list details { background: var(--ground-2); }
.faq-list summary { list-style: none; cursor: pointer; min-height: 60px; padding: 16px 56px 16px 20px; position: relative; font-weight: 750; display: flex; align-items: center; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(45deg); transition: transform 0.25s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.faq-list details p { padding: 0 20px 20px; max-width: 64ch; }
@media (min-width: 1000px) { .faq-head { grid-column: 1 / span 4; } .faq-list { grid-column: 6 / -1; margin-top: 0; } }

/* ===== Closing ===== */
.closing { background: var(--accent); color: var(--on-accent); padding-block: clamp(72px, 9vw, 136px); margin-top: var(--section); }
.closing-grid { row-gap: 22px; align-items: end; }
.closing h2 { grid-column: 1 / -1; }
.closing-copy { grid-column: 1 / -1; }
.closing-copy p { font-size: var(--step-1); max-width: 36ch; }
.closing-copy .hero-actions { margin-top: 22px; }
@media (min-width: 1000px) { .closing h2 { grid-column: 1 / span 7; } .closing-copy { grid-column: 8 / -1; } }

/* ===== Subpage ===== */
.page-hero { padding-top: clamp(24px, 4vw, 56px); }
.page-hero h1 { max-width: 14ch; }
.page-hero .lead { margin-top: 20px; }
.page-hero-grid { row-gap: 28px; align-items: end; }
.page-hero-copy { grid-column: 1 / -1; }
.page-hero-media { grid-column: 1 / -1; }
.page-hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 1000px) { .page-hero-copy { grid-column: 1 / span 6; align-self: center; } .page-hero-media { grid-column: 8 / -1; } .page-hero-media img { aspect-ratio: 4 / 5; max-height: 72vh; } }

/* Collection page */
.coll { row-gap: 22px; align-items: start; }
.coll-media { grid-column: 1 / -1; }
.coll-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.coll-copy { grid-column: 1 / -1; }
.coll-copy > p { margin-top: 14px; max-width: 50ch; }
.coll-copy dl { margin-top: 22px; display: grid; gap: 14px; }
.coll-copy dt { font-weight: 750; }
.coll-copy dd { color: var(--ink-2); margin-top: 2px; max-width: 54ch; }
@media (min-width: 1000px) {
  .coll-media { grid-column: 1 / span 6; }
  .coll-copy { grid-column: 8 / -1; }
  .coll--flip .coll-media { grid-column: 7 / -1; grid-row: 1; }
  .coll--flip .coll-copy { grid-column: 1 / span 5; grid-row: 1; }
}

/* Contact */
.contact-grid { row-gap: 48px; margin-top: 36px; }
.form { grid-column: 1 / -1; display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label, fieldset legend { font-weight: 750; }
.req { font-weight: 500; color: var(--ink-2); }
.input { width: 100%; min-height: 54px; padding: 12px 14px; font-size: 1.0625rem; background: #fff; border: 2px solid #c9c4ba; border-radius: 0; transition: border-color 0.2s var(--ease); }
.input:focus { border-color: var(--ink); outline: 3px solid var(--focus); outline-offset: 1px; }
textarea.input { min-height: 150px; resize: vertical; }
.input[aria-invalid="true"] { border-color: #b42318; }
.error { color: #b42318; font-weight: 700; }
.error:empty { display: none; }
.hint { color: var(--ink-2); }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.choice { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; background: var(--ground-2); cursor: pointer; }
.choice input { width: 20px; height: 20px; accent-color: var(--accent-press); margin: 0; flex: none; }
.choice:has(input:checked) { background: var(--ground-3); }
.two { display: grid; gap: 22px; }
@media (min-width: 640px) { .two { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore: honeypot */
.hp input { width: 1px; height: 1px; padding: 0; border: 0; } /* taste-skill-ignore */
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form-status { background: var(--field); color: var(--on-field); padding: 24px; }
.form-status h2 { font-size: var(--step-2); }
.form-status p { margin-top: 10px; }
.form-status a { color: var(--on-field); font-weight: 750; }
.contact-aside { grid-column: 1 / -1; display: grid; gap: 32px; align-content: start; }
.contact-aside h2 { font-size: var(--step-2); }
.contact-strip { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.contact-strip img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (min-width: 1000px) { .form { grid-column: 1 / span 7; } .contact-aside { grid-column: 9 / -1; } .contact-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } .contact-strip img { aspect-ratio: 4 / 3; } }

/* ===== Footer ===== */
.site-footer { background: var(--field); color: var(--on-field); padding-block: clamp(64px, 8vw, 112px) 40px; }
.footer-name { grid-column: 1 / -1; font-weight: 800; font-size: var(--step-4); letter-spacing: -0.05em; line-height: 1; }
.footer-name span { color: var(--accent); }
.footer-cols { grid-column: 1 / -1; display: grid; gap: 28px; margin-top: 44px; }
.footer-cols h2 { font-size: 1rem; font-weight: 750; letter-spacing: 0; color: var(--on-field-2); line-height: 1.4; }
.footer-cols ul { margin-top: 6px; }
.footer-cols a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-field); word-break: break-word; }
.footer-cols address, .footer-cols p { font-style: normal; margin-top: 8px; }
.footer-legal { grid-column: 1 / -1; margin-top: 44px; display: grid; gap: 10px; color: var(--on-field-2); font-size: 1rem; }
.footer-legal p { max-width: 62ch; }
.footer-legal a { color: var(--on-field); }
@media (min-width: 720px) { .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ===== Motion ===== */
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero [data-rise] { animation: rise 0.8s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 60ms); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
