/* Van Thielen Hendrik: keukens en interieur op maat.
   Built on the ui-ux-pro-max "Architecture / Interior" system: exaggerated minimalism, ink on white,
   one brass accent (the colour of the handles), Josefin Sans. */

:root {
  --bg: #ffffff;
  --ink: #171717;
  --ink-2: #404040;
  --surface: #e8ecf0;
  --surface-2: #cfd5db;
  --muted: #475569;
  --accent: #a16207;
  --accent-hover: #854d0e;
  --accent-ink: #ffffff;
  --dark: #171717;
  --dark-ink: #ffffff;
  --dark-muted: #c6ccd3;

  --font: "Josefin Sans", "Avenir Next", "Futura", system-ui, sans-serif;

  --step-small: 1rem;
  --step-body: clamp(1.125rem, 1.06rem + 0.28vw, 1.3125rem);
  --step-lead: clamp(1.375rem, 1.16rem + 0.9vw, 1.875rem);
  --step-head: clamp(2.5rem, 1.45rem + 4.4vw, 6.25rem);
  --step-display: clamp(2.125rem, 0.3rem + 7.9vw, 9.75rem);

  --margin: clamp(1rem, 3vw, 3rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(6rem, 11vw, 12rem);
  --header-h: 4.75rem;

  --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);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-reveal: 800ms;
}

/* ---------- 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); font-size: var(--step-body); line-height: 1.55; font-kerning: normal; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; background: var(--surface); }
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) + 1.5rem); }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- type ---------- */
h1, h2, h3 { font-weight: 700; text-wrap: balance; hyphens: none; }
.display { font-size: var(--step-display); line-height: 0.96; letter-spacing: -0.035em; }
.head { font-size: var(--step-head); line-height: 1; letter-spacing: -0.03em; }
.title { font-size: var(--step-lead); line-height: 1.15; letter-spacing: -0.01em; }
.lead { font-size: var(--step-lead); line-height: 1.32; max-width: 24em; }
.small { font-size: var(--step-small); line-height: 1.5; }
p { max-width: 29em; text-wrap: pretty; }
p + p { margin-top: 0.85em; }
.nums { font-variant-numeric: tabular-nums lining-nums; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- frame ---------- */
.wrap { width: 100%; max-width: 1640px; margin-inline: auto; padding-inline: var(--margin); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.section { padding-block: calc(var(--section) / 2); }
.section-dark { background: var(--dark); color: var(--dark-ink); }
.section-dark .muted { color: var(--dark-muted); }

/* ---------- skip link ---------- */
.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; }
.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.35rem 1.5rem 0; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 600; font-size: var(--step-small); letter-spacing: 0.01em; 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: #333; }
.section-dark .button-ink { background: #fff; color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 0.55rem; min-height: 2.75rem; font-weight: 600; text-decoration: underline; text-decoration-thickness: 0.08em; text-underline-offset: 0.28em; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); transition: text-decoration-color var(--t-hover) ease, color var(--t-hover) ease; }
.text-link:hover { text-decoration-color: currentColor; }
.icon { width: 1.2em; height: 1.2em; flex: none; margin-top: -0.2em; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.wordmark { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; margin-right: auto; padding-block: 0.5rem; }
.wordmark-name { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.03em; }
.wordmark-bar { display: block; height: 4px; width: 2.4rem; background: var(--accent); margin-top: 0.3rem; transition: width 400ms var(--ease-out); }
.wordmark:hover .wordmark-bar { width: 100%; }
.nav-main { display: none; }
.nav-main ul { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-main a { position: relative; display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; font-weight: 600; font-size: var(--step-small); }
.nav-main a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.45rem; height: 3px; 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.5rem; }
.header-phone { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-width: 2.75rem; min-height: 2.75rem; font-weight: 600; font-size: var(--step-small); text-decoration: none; white-space: nowrap; }
.header-phone span { display: none; }
.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; font-weight: 600; font-size: var(--step-small); }
.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(20rem, calc(100vw - 2rem)); background: var(--ink); color: #fff; padding: 1rem 1.25rem 1.25rem; }
.menu-panel a { display: flex; align-items: center; min-height: 3rem; text-decoration: none; font-size: var(--step-lead); font-weight: 600; }
.menu-panel a:hover { color: #f3d9a4; }
.menu-icon { width: 1.5rem; height: 1.5rem; }
@media (min-width: 64em) {
  .nav-main { display: block; }
  .menu { display: none; }
  .header-phone span { display: inline; }
}
@media (max-width: 26em) {
  .wordmark-name { font-size: 1.35rem; }
  .header-actions .button { padding-inline: 0.8rem; }
}

/* ---------- hero (home) ---------- */
.hero { padding-top: clamp(2.5rem, 6vw, 6rem); padding-bottom: clamp(3rem, 5vw, 4rem); }
.hero-grid { display: grid; gap: 2rem var(--gutter); margin-top: clamp(1.75rem, 3vw, 2.75rem); grid-template-areas: "intro" "figure" "form"; }
.hero-intro { grid-area: intro; display: grid; gap: 1.5rem; align-content: start; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
@media (min-width: 68.75em) {
  .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "intro figure" "form figure"; grid-template-rows: auto 1fr; column-gap: clamp(2rem, 4vw, 4.5rem); }
}
.br-wide { display: none; }
@media (min-width: 48em) { .br-wide { display: inline; } }

.kitchen { grid-area: figure; }
.kitchen-svg { width: 100%; height: auto; }
.kitchen-svg text { font-family: var(--font); font-weight: 600; fill: var(--accent); font-size: 96px; }
.kitchen-svg .dim-total { font-size: 112px; }
.kitchen figcaption { margin-top: 1rem; }
@media (max-width: 40em) {
  .kitchen-svg .dim-part { display: none; }
  .kitchen-svg .dim-total { font-size: 190px; }
}

.wall-form { grid-area: form; display: none; align-content: start; }
.kitchen-live .wall-form { display: grid; gap: 1.25rem 2rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.wall-form fieldset, .wall-result { grid-column: 1 / -1; }
.wall-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.wall-form legend, .field-label { display: block; font-weight: 600; font-size: var(--step-small); margin-bottom: 0.5rem; padding: 0; }
.stepper { display: inline-flex; align-items: stretch; background: var(--surface); }
.stepper button { width: 3rem; min-height: 3rem; font-size: 1.5rem; font-weight: 600; line-height: 1; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.stepper button:hover { background: var(--surface-2); }
.stepper button:active { transform: scale(0.92); }
.stepper input { width: 4.5rem; border: 0; background: transparent; text-align: center; font-size: var(--step-body); font-weight: 700; font-variant-numeric: tabular-nums; -moz-appearance: textfield; padding-top: 0.25rem; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper .unit { display: flex; align-items: center; padding-right: 0.25rem; padding-top: 0.25rem; font-weight: 600; }
.finishes { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.finish { position: relative; }
.finish input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.finish span { display: inline-flex; align-items: center; gap: 0.55rem; min-height: 3rem; padding: 0.3rem 0.9rem 0 0.4rem; background: var(--surface); font-weight: 600; font-size: var(--step-small); transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }
.finish span::before { content: ""; width: 2rem; height: 2rem; flex: none; margin-top: -0.3rem; background: #222 center / cover; }
.sw-noot::before { background-image: url(walnut.jpg) !important; }
.sw-eik::before { background-image: url(oak.jpg) !important; }
.sw-grijs::before { background-image: url(grey-oak.jpg) !important; }
.sw-zwart::before { background-color: #222222 !important; }
.sw-wit::before { background-color: #ffffff !important; }
.finish input:checked + span { background: var(--ink); color: #fff; }
.finish input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.finish:hover span { background: var(--surface-2); }
.finish input:checked:hover + span { background: var(--ink); }
.wall-result { display: grid; gap: 0.5rem; }
.wall-result p { max-width: 29em; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding-top: clamp(2.5rem, 6vw, 6rem); }
.page-hero .grid { row-gap: 2rem; align-items: end; }
.page-hero h1 { grid-column: 1 / -1; }
.page-hero .lead { grid-column: 1 / -1; }
.page-hero .hero-actions { grid-column: 1 / -1; justify-content: flex-start; }
@media (min-width: 56em) {
  .page-hero .lead { grid-column: 1 / span 6; }
  .page-hero .hero-actions { grid-column: 8 / -1; justify-content: flex-end; }
}
.page-figure { margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.page-figure svg { width: 100%; height: auto; }
@media (min-width: 56em) { .page-figure svg { width: auto; max-width: 100%; max-height: min(80vh, 760px); margin-inline: auto; } }

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

/* ---------- work grid ---------- */
.work { display: grid; gap: clamp(2.5rem, 4vw, 3.5rem) var(--gutter); grid-template-columns: repeat(12, minmax(0, 1fr)); }
.work-item { grid-column: 1 / -1; position: relative; }
.work-item figure { overflow: hidden; }
.work-item figure a { display: block; }
.work-item svg { width: 100%; height: auto; transition: transform 700ms var(--ease-out); }
.work-item:hover svg { transform: scale(1.025); }
.work-item h3 { margin-top: 1.1rem; }
.work-item h3 a { text-decoration: none; }
.work-item h3 a:hover { color: var(--accent); }
.work-item p { margin-top: 0.5rem; }
.work-item .arrow { display: inline-block; transition: transform var(--t-hover) var(--ease-out); color: var(--accent); }
.work-item:hover .arrow { transform: translateX(0.3em); }
@media (min-width: 48em) {
  .w-7 { grid-column: span 7; } .w-5 { grid-column: span 5; } .w-4 { grid-column: span 4; } .w-8 { grid-column: span 8; } .w-6 { grid-column: span 6; }
  .w-shift { margin-top: clamp(4rem, 9vw, 9rem); }
}

/* ---------- materials ---------- */
.materials { display: grid; gap: 3rem var(--gutter); grid-template-columns: repeat(12, minmax(0, 1fr)); }
.materials-photos { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gutter); }
.materials-photos .ph-main { grid-column: 1 / -1; aspect-ratio: 4 / 3; overflow: hidden; }
.materials-photos .ph-main img { width: 100%; height: 100%; object-fit: cover; }
.materials-photos .ph-small { grid-column: span 3; }
.materials-photos .ph-small img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.materials-photos figcaption { margin-top: 0.6rem; color: var(--dark-muted); font-size: var(--step-small); }
.materials-list { grid-column: 1 / -1; display: grid; gap: 2rem; align-content: start; }
.materials-list dt { font-size: var(--step-lead); font-weight: 700; line-height: 1.1; }
.materials-list dd { margin-top: 0.45rem; color: var(--dark-ink); }
@media (min-width: 64em) {
  .materials-photos { grid-column: 1 / span 7; }
  .materials-list { grid-column: 9 / -1; }
}
.photo-bw { filter: grayscale(1) contrast(1.06); }
@media (prefers-reduced-motion: no-preference) {
  .drift { animation: drift 26s var(--ease-soft) infinite alternate; transform-origin: 30% 40%; }
}
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.14) translate(-2%, 1%); } }

/* ---------- process ---------- */
.process { display: grid; gap: clamp(2rem, 3.4vw, 3rem); counter-reset: none; }
.process-wrap { display: grid; gap: 3rem var(--gutter); grid-template-columns: repeat(12, minmax(0, 1fr)); }
.process-wrap .process { grid-column: 1 / -1; }
.process-film { grid-column: 1 / -1; }
.process-film video { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface); }
.process-film figcaption { margin-top: 0.6rem; font-size: var(--step-small); color: var(--muted); }
@media (min-width: 64em) {
  .process-wrap .process { grid-column: 1 / span 7; }
  .process-film { grid-column: 9 / -1; position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}
.process li { display: grid; gap: 0.35rem 1.5rem; grid-template-columns: minmax(0, 1fr); }
.process .when { font-size: var(--step-lead); font-weight: 700; color: var(--accent); line-height: 1.1; font-variant-numeric: tabular-nums lining-nums; }
.process h3 { font-size: var(--step-lead); line-height: 1.15; }
@media (min-width: 56em) {
  .process li { grid-template-columns: 2.6fr 5fr; align-items: baseline; }
  .process li > p:last-child { grid-column: 2; }
}

/* ---------- region ---------- */
.region { display: grid; gap: 2.5rem var(--gutter); grid-template-columns: repeat(12, minmax(0, 1fr)); }
.region-band { grid-column: 1 / -1; margin-inline: calc(var(--margin) * -1); }
.region-band img { width: 100%; height: clamp(16rem, 42vw, 38rem); object-fit: cover; object-position: 50% 60%; }
.region-band figcaption { padding-inline: var(--margin); }
.region-visit { grid-column: 1 / -1; display: grid; gap: 1rem; align-content: start; }
.region-towns { grid-column: 1 / -1; }
.address-block { font-style: normal; }
.address { font-size: var(--step-lead); line-height: 1.25; font-weight: 700; }
.towns { columns: 2; column-gap: var(--gutter); font-size: var(--step-body); line-height: 1.7; font-weight: 600; }
.towns { list-style: none; padding: 0; }
.towns li { break-inside: avoid; white-space: nowrap; hyphens: none; }
.region-band figcaption { margin-top: 0.6rem; font-size: var(--step-small); color: var(--muted); }
@media (min-width: 56em) {
  .region-visit { grid-column: 1 / span 5; }
  .region-towns { grid-column: 7 / -1; }
  .towns { columns: 3; }
}

/* ---------- faq ---------- */
.faq { display: grid; gap: 2.5rem var(--gutter); grid-template-columns: repeat(12, minmax(0, 1fr)); }
.faq-intro { grid-column: 1 / -1; }
.faq-intro p { margin-top: 1.25rem; }
.faq-list { grid-column: 1 / -1; }
@media (min-width: 64em) {
  .faq-intro { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
  .faq-list { grid-column: 7 / -1; }
}
.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: 1rem 1.25rem 0.75rem; cursor: pointer; font-weight: 700; font-size: var(--step-body); line-height: 1.3; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.75rem; line-height: 1; color: var(--accent); transition: transform var(--t-hover) var(--ease-out); margin-top: -0.2rem; }
.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.4rem; }

/* ---------- closing call ---------- */
.closing { display: grid; gap: 2.5rem var(--gutter); grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; }
.closing-body { grid-column: 1 / -1; }
.closing-body p { margin-top: 1.5rem; }
.closing-body .hero-actions { justify-content: flex-start; margin-top: 2rem; }
.closing-photo { grid-column: 1 / -1; }
.closing-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
@media (min-width: 56em) {
  .closing-body { grid-column: 1 / span 7; }
  .closing-photo { grid-column: 9 / -1; }
}

/* ---------- inner pages: split rows ---------- */
.split { display: grid; gap: 2rem var(--gutter); grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
.split > figure { grid-column: 1 / -1; }
.split > figure svg { width: 100%; height: auto; }
.split > .split-body { grid-column: 1 / -1; }
.split-body h2 + p, .split-body h2 + ul { margin-top: 1.25rem; }
.split-body ul { margin-top: 1.25rem; display: grid; gap: 0.6rem; }
.split-body li { padding-left: 1.4rem; position: relative; }
.split-body li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.6rem; height: 4px; background: var(--accent); }
.split-body .text-link { margin-top: 1.25rem; }
@media (min-width: 56em) {
  .split > figure { grid-column: 1 / span 7; }
  .split > .split-body { grid-column: 8 / -1; }
  .split.flip > figure { grid-column: 6 / -1; grid-row: 1; }
  .split.flip > .split-body { grid-column: 1 / span 5; grid-row: 1; }
}
.split + .split { margin-top: var(--section); }

.included { display: grid; gap: 2rem var(--gutter); grid-template-columns: repeat(12, minmax(0, 1fr)); }
.included dl { grid-column: 1 / -1; display: grid; gap: 1.75rem var(--gutter); }
.included dt { font-size: var(--step-lead); font-weight: 700; line-height: 1.15; }
.included dd { margin-top: 0.35rem; }
@media (min-width: 56em) {
  .included dl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.shapes { display: grid; gap: 2.5rem var(--gutter); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shapes figure svg { width: 100%; height: auto; background: var(--surface); }
.shapes h3 { margin-top: 1rem; }
.shapes p { margin-top: 0.35rem; }
@media (min-width: 64em) { .shapes { grid-template-columns: repeat(4, minmax(0, 1fr)); } .shapes > :nth-child(even) { margin-top: 4rem; } }
@media (max-width: 30em) { .shapes { grid-template-columns: 1fr; } }

.swatches { display: grid; gap: var(--gutter); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.swatches figure img, .swatches .swatch { width: 100%; aspect-ratio: 1; object-fit: cover; }
.swatches figcaption { margin-top: 0.7rem; }
.swatches figcaption strong { display: block; font-size: var(--step-body); }
@media (min-width: 56em) { .swatches { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------- contact ---------- */
.contact { display: grid; gap: 3rem var(--gutter); grid-template-columns: repeat(12, minmax(0, 1fr)); }
.contact-form { grid-column: 1 / -1; }
.contact-side { grid-column: 1 / -1; display: grid; gap: 2rem; align-content: start; }
@media (min-width: 64em) {
  .contact-form { grid-column: 1 / span 7; }
  .contact-side { grid-column: 8 / -1; }
}
.form-grid { display: grid; gap: 1.4rem var(--gutter); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 40em) { .form-grid > * { 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.85rem 1rem 0.6rem; background: var(--surface); border: 0; border-bottom: 3px solid transparent; border-radius: 0; font-size: max(1rem, var(--step-body)); transition: border-color var(--t-hover) ease, background-color var(--t-hover) ease; }
.field textarea { min-height: 9rem; resize: vertical; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { background: #dfe4e9; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); background: #fff; box-shadow: inset 0 0 0 2px var(--ink); } /* taste-skill-ignore: form field focus */
.field [aria-invalid="true"] { border-bottom-color: #b42318; }
.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.3rem 1rem 0; background: var(--surface); font-weight: 600; 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(--ink); 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 0.7rem; 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-done { background: var(--ink); color: #fff; padding: clamp(1.5rem, 4vw, 3rem); }
.form-done h2 { font-size: var(--step-lead); }
.form-done p { margin-top: 1rem; }
.form-done .hero-actions { justify-content: flex-start; margin-top: 1.5rem; }
.form-done .button-ink { background: #fff; color: var(--ink); }
.contact-block h2 { font-size: var(--step-lead); line-height: 1.15; }
.contact-block p, .contact-block address { margin-top: 0.6rem; font-style: normal; }
.contact-block .big { font-size: var(--step-lead); font-weight: 700; text-decoration: none; display: inline-flex; min-height: 2.75rem; align-items: center; }
.contact-block .big:hover { color: var(--accent); }

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: var(--dark-ink); padding-top: clamp(4rem, 8vw, 7rem); overflow: hidden; }
.footer-cols { display: grid; gap: 2.5rem var(--gutter); grid-template-columns: repeat(12, minmax(0, 1fr)); }
.footer-cols > div { grid-column: 1 / -1; }
.footer-cols h2 { font-size: var(--step-body); margin-bottom: 0.75rem; }
.footer-cols p, .footer-cols address { font-style: normal; font-size: var(--step-small); line-height: 1.6; }
.footer-cols ul { display: grid; gap: 0.1rem; font-size: var(--step-small); list-style: none; margin: 0; padding: 0; }
.footer-cols a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; }
.footer-cols a:hover { color: #f3d9a4; text-decoration: underline; text-underline-offset: 0.25em; }
@media (min-width: 48em) {
  .footer-cols > div { grid-column: span 6; }
}
@media (min-width: 64em) {
  .footer-cols > .f-call { grid-column: 1 / span 4; }
  .footer-cols > .f-pages { grid-column: 6 / span 2; }
  .footer-cols > .f-firm { grid-column: 9 / -1; }
}
.f-call .button { margin-top: 1rem; }
.footer-credits { margin-top: 3rem; font-size: var(--step-small); color: var(--dark-muted); max-width: 40em; }
figcaption, dd { max-width: 40em; }
.footer-credits a { color: var(--dark-ink); }
.footer-name { font-weight: 700; font-size: clamp(3.5rem, 17.2vw, 17.5rem); line-height: 0.8; letter-spacing: -0.05em; white-space: nowrap; margin-top: clamp(2.5rem, 5vw, 4rem); transform: translateY(0.12em); color: #fff; }
.footer-name span { color: var(--accent); }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(26px); 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.35em); animation: rise 1000ms var(--ease-expo) forwards; animation-delay: calc(var(--i, 0) * 110ms + 100ms); }
  .js .wipe { clip-path: inset(0 100% 0 0); animation: wipe 1500ms var(--ease-in-out) 350ms forwards; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- picture bands ---------- */
.band { display: grid; gap: var(--gutter); grid-template-columns: repeat(12, minmax(0, 1fr)); }
.band figure { grid-column: span 6; }
.band img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.band .band-wide { grid-column: 1 / -1; }
.band .band-wide img { aspect-ratio: 16 / 9; }
.band figcaption { margin-top: 0.6rem; font-size: var(--step-small); color: var(--muted); }
@media (min-width: 56em) {
  .band figure { grid-column: span 2; }
  .band .band-wide { grid-column: span 6; }
  .band .band-wide img { aspect-ratio: auto; height: 100%; max-height: 32rem; }
}
.strip { margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.strip img { width: 100%; height: clamp(7rem, 14vw, 13rem); object-fit: cover; }

/* ---------- phone first: the call is a real button on small screens ---------- */
@media (max-width: 40em) {
  .hero-actions { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .hero-actions .button, .hero-actions .call-link { width: 100%; justify-content: center; min-height: 3.5rem; font-size: 1.0625rem; }
  .hero-actions .call-link { background: var(--ink); color: #fff; text-decoration: none; padding: 0.35rem 1.25rem 0; }
  .section-dark .hero-actions .call-link { background: #fff; color: var(--ink); }
}
.work-item h3 a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.footer-cols a { min-width: 2.75rem; }
.footer-credits { line-height: 1.9; }
