/* Vincent Breugelmans: meubelmaker in Lier.
   Built on the ui-ux-pro-max system for a solo craftsman portfolio (Minimalism & Swiss Style, Hero + Features + CTA):
   monochrome #18181b on #fafafa with one blue accent, Archivo. The blue doubles as the carpenter's chalk line. Phone first. */

:root {
  --bg: #fafafa;
  --ink: #09090b;
  --primary: #18181b;
  --secondary: #3f3f46;
  --surface: #eceef1;
  --surface-2: #dfe3e8;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-ink: #ffffff;

  --font: "Archivo", "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.1rem + 0.65vw, 1.6875rem);
  --step-head: clamp(2rem, 1.1rem + 3.6vw, 4.5rem);
  --step-display: clamp(2.75rem, 1rem + 6vw, 6.5rem);

  --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);
  --t-press: 140ms;
  --t-hover: 180ms;
}

*, *::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); font-size: var(--step-body); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd, fieldset { 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; }

h1, h2, h3 { font-weight: 800; text-wrap: balance; hyphens: none; }
.display { font-size: var(--step-display); line-height: 0.95; letter-spacing: -0.02em; font-stretch: 125%; }
.head { font-size: var(--step-head); line-height: 1; letter-spacing: -0.015em; font-stretch: 112%; }
.title { font-size: var(--step-lead); line-height: 1.2; font-weight: 700; }
.lead { font-size: var(--step-lead); line-height: 1.4; max-width: 30em; }
p { max-width: 36em; text-wrap: pretty; }
p + p { margin-top: 0.85em; }
.muted { color: var(--secondary); }
.small { font-size: var(--step-small); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
figcaption { font-size: var(--step-small); color: var(--ink); max-width: 40em; margin-top: 0.6rem; }

.wrap { width: 100%; max-width: 1560px; margin-inline: auto; padding-inline: var(--margin); }
.section { padding-block: calc(var(--section) / 2); }
.field-ink { background: var(--primary); color: #fff; }
.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: 700; }
.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.5rem; background: var(--accent); color: var(--accent-ink); font-weight: 700; 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(--primary); }
.button-ink:hover { background: #27272a; }
.field-ink .button-ink { background: #fff; color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; font-weight: 700; text-decoration: underline; text-decoration-thickness: 0.09em; text-underline-offset: 0.25em; text-decoration-color: var(--accent); transition: color var(--t-hover) ease; }
.text-link:hover { color: var(--accent); }
.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; }
  .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; flex-direction: column; justify-content: center; margin-right: auto; min-height: 2.75rem; text-decoration: none; line-height: 1; }
.wordmark b { font-weight: 800; font-stretch: 125%; font-size: 1.3rem; letter-spacing: -0.01em; }
.wordmark span { font-size: 1rem; font-weight: 500; margin-top: 0.2rem; }
.wordmark b::after { content: ""; display: block; height: 3px; width: 100%; background: var(--accent); margin-top: 0.25rem; transform: scaleX(0.25); transform-origin: left; transition: transform 400ms var(--ease-out); }
.wordmark:hover b::after { transform: scaleX(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: 600; font-size: var(--step-small); text-decoration: none; }
.nav-main a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.5rem; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease-out); }
.nav-main a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 0.4rem; }
.header-mail { display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; min-width: 2.75rem; min-height: 2.75rem; font-weight: 600; font-size: var(--step-small); text-decoration: none; }
.header-mail span { display: none; }
.header-mail:hover { color: var(--accent); }
.header-actions .button { min-height: 2.75rem; padding-inline: 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; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.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(--primary); color: #fff; padding: 0.75rem 1.25rem 1rem; }
.menu-panel a { display: flex; align-items: center; min-height: 3rem; font-size: var(--step-lead); font-weight: 700; text-decoration: none; }
.menu-panel a:hover { color: #93c5fd; }
.menu-icon { width: 1.5rem; height: 1.5rem; }
@media (min-width: 64em) { .nav-main { display: block; } .menu { display: none; } .header-mail span { display: inline; } }
@media (max-width: 25em) { .wordmark b { font-size: 1.12rem; } .header-actions .button { padding-inline: 0.8rem; } .header-mail { display: none; } }

/* hero with the maker */
.hero { padding-top: clamp(1.75rem, 5vw, 4.5rem); padding-bottom: calc(var(--section) / 2); }
.hero-grid { display: grid; gap: 2rem var(--gutter); }
.hero-intro { display: grid; gap: 1.5rem; align-content: start; }
.facts { display: grid; gap: 0.2rem; font-size: var(--step-small); }
.facts li { display: flex; flex-wrap: wrap; gap: 0 0.6rem; }
.facts strong { font-weight: 700; }
.maker { display: grid; gap: 1.25rem; }
.piece-stage { min-height: 8rem; }
.piece-svg { width: 100%; height: auto; }
.piece-svg text { font-family: var(--font); font-weight: 700; font-size: 96px; }
.pickers { display: none; gap: 1rem; }
.maker-live .pickers { display: grid; }
.pickers fieldset { border: 0; padding: 0; min-width: 0; }
.pickers legend { font-weight: 700; font-size: var(--step-small); margin-bottom: 0.5rem; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 3rem; padding: 0 1rem 0 0.75rem; background: var(--surface); font-weight: 600; font-size: var(--step-small); transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.chip:hover span { background: var(--surface-2); }
.chip:active span { transform: scale(0.96); }
.chip input:checked + span { background: var(--primary); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.chip i { width: 1.6rem; height: 1.6rem; background-size: cover; background-position: center; flex: none; }
.chip-plain span { padding-left: 1rem; }
.field-surface .chip span { background: #ffffff; }
.field-surface .chip:hover span { background: var(--surface-2); }
.field-surface .chip input:checked + span { background: var(--primary); }
.w-kers { background-image: url(wood-kers.jpg); } .w-eik { background-image: url(wood-eik.jpg); } .w-noot { background-image: url(wood-noot.jpg); } .w-es { background-image: url(wood-es.jpg); } .w-beuk { background-image: url(wood-beuk.jpg); }
.maker-result { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; align-items: start; }
.maker-result img { width: 5.5rem; height: 5.5rem; object-fit: cover; }
.maker-result h2 { font-size: var(--step-lead); line-height: 1.2; font-stretch: 100%; }
.maker-result p { margin-top: 0.35rem; }
.maker-result .price { font-weight: 700; margin-top: 0.5rem; }
.maker-result .text-link { margin-top: 0.25rem; }
@media (min-width: 64em) {
  .hero-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
  .hero-intro { grid-column: 1 / span 5; }
  .maker { grid-column: 6 / -1; }
}

/* 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); } }

/* kriekenstraat */
.street { display: grid; gap: 2rem var(--gutter); }
.street .plate-big img { width: 100%; }
.street-body { display: grid; gap: 1.25rem; align-content: start; }
@media (min-width: 56em) {
  .street { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
  .street .plate-big { grid-column: 1 / span 6; grid-row: 1; }
  .street-body { grid-column: 8 / -1; grid-row: 1; }
  }
.plate img { mix-blend-mode: multiply; }

/* rooms */
.rooms { display: grid; gap: 3rem var(--gutter); }
.room svg { width: 100%; height: auto; }
.room h3 { margin-top: 1rem; font-stretch: 112%; }
.room ul { margin-top: 0.6rem; display: grid; gap: 0.3rem; }
.room li, .ticks li { position: relative; padding-left: 1.4rem; }
.room li::before, .ticks li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.8rem; height: 3px; background: var(--accent); }
@media (min-width: 48em) { .rooms { grid-template-columns: 1fr 1fr; } }
@media (min-width: 72em) { .rooms { grid-template-columns: repeat(12, minmax(0, 1fr)); } .room:nth-child(1) { grid-column: 1 / span 7; } .room:nth-child(2) { grid-column: 9 / -1; margin-top: 6rem; } .room:nth-child(3) { grid-column: 1 / span 5; } .room:nth-child(4) { grid-column: 7 / -1; } }

/* woods */
.woods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem var(--gutter); }
.woods img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.woods h3 { margin-top: 0.75rem; font-size: var(--step-lead); font-stretch: 112%; }
.woods p { margin-top: 0.25rem; font-size: var(--step-small); }
@media (min-width: 56em) { .woods { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.woods-plates { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); margin-top: clamp(2.5rem, 5vw, 4rem); }
.woods-plates figure:last-child { margin-top: 3rem; }
@media (min-width: 56em) { .woods-plates { grid-template-columns: repeat(12, minmax(0, 1fr)); } .woods-plates figure:first-child { grid-column: 2 / span 4; } .woods-plates figure:last-child { grid-column: 8 / span 4; } }

/* process */
.process-wrap { display: grid; gap: 2.5rem var(--gutter); }
.process { display: grid; gap: 1.75rem; }
.process h3 { font-size: var(--step-lead); line-height: 1.2; font-stretch: 112%; }
.process .when { color: #93c5fd; font-weight: 700; }
.process p { margin-top: 0.35rem; }
.process-film video { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #27272a; }
.field-ink figcaption { color: #fff; }
@media (min-width: 64em) {
  .process-wrap { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
  .process-film { grid-column: 1 / span 6; }
  .process { grid-column: 8 / -1; }
}

/* faq */
.faq { display: grid; gap: 2rem var(--gutter); }
.faq-intro p { margin-top: 1rem; }
.faq-list details { background: var(--surface); }
.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: 700; line-height: 1.35; 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; } }

/* contact */
.contact { display: grid; gap: 3rem var(--gutter); }
.contact-side { display: grid; gap: 2rem; align-content: start; }
.contact-side img { width: 100%; }
@media (min-width: 64em) { .contact { grid-template-columns: repeat(12, minmax(0, 1fr)); } .contact-form { grid-column: 1 / span 7; } .contact-side { grid-column: 9 / -1; } }
.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: 700; 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 1rem; background: #fff; border: 0; border-radius: 0; 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 #a1a1aa; } /* 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(--secondary); }
.field .error { margin-top: 0.4rem; font-size: var(--step-small); color: #b42318; font-weight: 700; }
.field .error:empty { display: none; }
fieldset.field { border: 0; padding: 0; min-width: 0; }
.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; background: #fdecea; color: #8a1c12; font-weight: 700; 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(--primary); color: #fff; padding: clamp(1.5rem, 4vw, 3rem); }
.form-done h2 { font-size: var(--step-lead); }
.form-done p { margin-top: 1rem; }
.form-done .actions { margin-top: 1.5rem; }
.contact-block h3 { font-size: var(--step-lead); }
.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-weight: 700; font-size: var(--step-body); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 0.25em; word-break: break-all; }

/* footer */
.site-footer { background: var(--primary); 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-decoration-color: #93c5fd; text-underline-offset: 0.25em; }
.footer-cols .button { margin-top: 1rem; }
@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: #fff; max-width: 38em; line-height: 1.85; }
.footer-name { margin-top: clamp(2rem, 5vw, 3.5rem); font-weight: 800; font-stretch: 125%; font-size: clamp(2rem, 10.4vw, 10.5rem); line-height: 0.82; letter-spacing: -0.03em; white-space: nowrap; transform: translateY(0.1em); }
.footer-name span { color: var(--accent); }

/* 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); }
  .piece-stage svg { animation: settle 700ms var(--ease-out); }
  .chalk { animation: chalk 900ms var(--ease-out) 300ms backwards; transform-box: fill-box; transform-origin: left center; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes chalk { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
}
