/* PSJ Construct, voorbeeldsite. Exaggerated Minimalism (ui-ux-pro-max): wit, zwart en oker. */

@font-face {
  font-family: "Libre Bodoni";
  src: url("../fonts/libre-bodoni-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("../fonts/public-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ground: #ffffff;
  --tone: #f2f2f0;
  --tone-2: #e4e4e1;
  --ink: #171717;
  --soft: #525252;
  --field: #171717;
  --on-field: #ffffff;
  --on-field-soft: #d4d4d4;
  --ochre: #a16207;
  --ochre-deep: #854d0e;
  --ochre-light: #e0b25a;
  --serif: "Libre Bodoni", "Bodoni 72", Didot, Georgia, serif;
  --sans: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --margin: clamp(16px, 4.5vw, 64px);
  --maxw: 1440px;
  --gap: clamp(20px, 2.4vw, 40px);
  --section: clamp(104px, 9vw + 40px, 224px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p, ul, ol, dl, dd, figure, h1, h2, h3 { margin: 0; }
ul, ol { padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; }
::selection { background: var(--ochre-light); color: var(--ink); }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--margin); }
.nowrap { white-space: nowrap; }
.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(--margin); top: -80px; z-index: 100; background: var(--ink); color: var(--ground); padding: 12px 18px; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 8px; }
.demo-note { background: var(--ink); color: var(--ground); font-size: 1rem; line-height: 1.45; padding: 10px var(--margin); text-align: center; }
.demo-note a { display: inline-block; padding: 11px 8px; margin: -11px -8px; color: var(--ground); font-weight: 600; text-underline-offset: 3px; }
.demo-note a:focus-visible { outline: 2px solid var(--ground); outline-offset: -6px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ground); transition: background-color 200ms ease; }
.site-header.is-scrolled { background: var(--tone); }
.bar { display: flex; align-items: center; gap: 14px; min-height: 76px; }
.brand { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; min-height: 48px; align-items: center; margin-right: auto; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.375rem; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; }
.brand-name span { font-family: var(--sans); font-weight: 500; font-size: 1rem; letter-spacing: 0; color: var(--soft); margin-left: 4px; }
.brand-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ochre); flex: none; }
.nav ul { list-style: none; display: flex; gap: 0 4px; }
.nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; text-decoration: none; font-weight: 500; white-space: nowrap; transition: color 160ms ease; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ochre-deep); }
.actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; flex: none; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; padding: 0; border-radius: 50%; }
.menu-btn svg { width: 26px; height: 26px; }

/* Buttons (round) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; text-decoration: none; font-weight: 600; line-height: 1.2; cursor: pointer; white-space: nowrap; transition: background-color 180ms ease, transform 180ms var(--ease-out); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active, .stp:active, .tg:active { transform: scale(0.98); }
.btn-ochre { background: var(--ochre); color: #fff; }
.btn-ochre:hover { background: var(--ochre-deep); }
.btn-ink { background: var(--ink); color: var(--ground); }
.btn-ink:hover { background: #333; }
.btn-tone { background: var(--tone); color: var(--ink); }
.btn-tone:hover { background: var(--tone-2); }
.btn-light { background: var(--ground); color: var(--ink); }
.btn-light:hover { background: var(--tone); }
.btn-big { min-height: 60px; padding: 0 30px; font-size: 1.0625rem; }
.btn-icon { min-width: 48px; padding: 0 16px; }

/* Type */
h1, h2, .serif { font-family: var(--serif); }
h1 { font-weight: 500; letter-spacing: -0.035em; line-height: 0.96; text-wrap: balance; }
h2 { font-size: clamp(2.5rem, 1.3rem + 4.4vw, 5.5rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1; text-wrap: balance; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
.lead { font-size: 1.375rem; line-height: 1.5; max-width: 30em; }
.soft { color: var(--soft); }
.measure { max-width: 36em; }
.stack > * + * { margin-top: 1em; }

/* Hero (one centred moment) */
.hero { padding-top: clamp(32px, 6vw, 96px); text-align: center; }
.hero h1 { font-size: clamp(3.25rem, 1rem + 9.6vw, 11rem); max-width: 9em; margin-inline: auto; }
.hero .lead { margin: 26px auto 0; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.hero-photo { margin: clamp(40px, 5vw, 80px) 0 0; }
.hero-photo .frame { aspect-ratio: 16 / 9; }
.hero-photo figcaption { margin-top: 12px; color: var(--soft); font-size: 1rem; text-align: left; }
.frame { overflow: hidden; background: var(--tone); }
.frame img { width: 100%; height: 100%; object-fit: cover; }

.section { padding-top: var(--section); }
main > .section:last-child { padding-bottom: var(--section); }
.head-row { display: grid; gap: 18px; margin-bottom: clamp(32px, 4vw, 64px); }
.head-row p { max-width: 34em; }

/* Calculator (field) */
.field { background: var(--field); color: var(--on-field); padding-block: var(--section); margin-top: var(--section); }
.field .soft { color: var(--on-field-soft); }
.calc { display: grid; gap: clamp(28px, 4vw, 64px); }
.calc-form { display: grid; gap: 18px; align-content: start; }
.calc-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; }
.calc-row label, .calc-row .lbl { font-weight: 600; }
.stepper { display: inline-flex; align-items: center; background: #262626; border-radius: 999px; }
.stp { width: 48px; height: 48px; border: 0; border-radius: 50%; background: transparent; color: var(--on-field); font-size: 1.375rem; cursor: pointer; transition: background-color 160ms ease, transform 160ms var(--ease-out); }
.stp:hover { background: #3a3a3a; }
.stepper input { width: 72px; height: 48px; border: 0; background: transparent; color: var(--on-field); text-align: center; font-weight: 700; font-size: 1.25rem; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tg { min-height: 48px; padding: 0 20px; border: 0; border-radius: 999px; background: #262626; color: var(--on-field); font-weight: 600; cursor: pointer; transition: background-color 160ms ease; }
.tg[aria-pressed="true"] { background: var(--ochre-light); color: var(--ink); }
.calc-out { display: grid; gap: 22px; align-content: start; }
.unfold { width: 100%; height: auto; }
.unfold .w { fill: #f2f2f0; }
.unfold .c { fill: #e4e4e1; }
.unfold .o { fill: #171717; }
.unfold .lbl { fill: #a3a3a3; font-family: var(--sans); font-size: 18px; font-weight: 600; }
.unfold rect { transition: x 300ms var(--ease-out), y 300ms var(--ease-out), width 300ms var(--ease-out), height 300ms var(--ease-out); }
.figs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.figs dt { color: var(--on-field-soft); font-size: 1rem; }
.figs dd { font-family: var(--serif); font-size: clamp(2.5rem, 1.3rem + 4.4vw, 5.5rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.figs dd small { font-size: 1.375rem; letter-spacing: 0; margin-left: 6px; }
.calc-note { color: var(--on-field-soft); max-width: 36em; }
.calc-cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* Services typographic list */
.svc-list { list-style: none; display: grid; }
.svc-list li { display: grid; gap: 8px; padding-block: clamp(18px, 2.4vw, 32px); }
.svc-list li:nth-child(odd) { background: transparent; }
.svc-name { font-family: var(--serif); font-size: clamp(2.5rem, 1.3rem + 4.4vw, 5.5rem); letter-spacing: -0.03em; line-height: 1; font-weight: 500; }
.svc-list p { color: var(--soft); max-width: 34em; }
.trio { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: clamp(32px, 4vw, 56px); }
.trio figure { margin: 0; }
.trio .frame { aspect-ratio: 4 / 5; }
.trio figcaption { margin-top: 10px; color: var(--soft); font-size: 1rem; }

/* Statement */
.statement { display: grid; gap: clamp(28px, 4vw, 72px); align-items: center; }
.statement .frame { aspect-ratio: 4 / 5; }
.statement-text { display: grid; gap: 22px; }
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 12px; height: 12px; border-radius: 50%; background: var(--ochre); }
.field .ticks li::before { background: var(--ochre-light); }

/* Business */
.biz { display: grid; gap: 8px; }
.biz .frame { aspect-ratio: 3 / 2; }
.biz-copy { display: grid; gap: 18px; align-content: center; padding: 24px clamp(8px, 2vw, 32px); }

/* Area + FAQ */
.area { display: grid; gap: clamp(28px, 4vw, 64px); }
.towns { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 22px; font-family: var(--serif); font-size: clamp(1.375rem, 0.5rem + 3.4vw, 3.5rem); letter-spacing: -0.03em; line-height: 1.2; }
.towns li:first-child { color: var(--ochre-deep); }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--tone); border-radius: 24px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 14px 26px; font-weight: 600; font-size: 1.0625rem; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--ochre); flex: none; transition: transform 220ms var(--ease-out); }
.faq details[open] summary::after { transform: scale(1.6); }
.faq details > div { padding: 0 26px 24px; max-width: 40em; }
.faq details > div p + p { margin-top: 0.7em; }

/* CTA */
.cta { display: grid; gap: 28px; text-align: center; justify-items: center; }
.cta-mail { font-family: var(--serif); font-size: clamp(1.375rem, 0.5rem + 3.4vw, 3.5rem); letter-spacing: -0.03em; overflow-wrap: anywhere; text-decoration-thickness: 2px; text-underline-offset: 10px; display: inline-block; padding-block: 8px; }
.cta-mail:hover { color: var(--ochre-light); }

/* Services page */
.page-head { padding-top: clamp(32px, 6vw, 96px); }
.page-head h1 { font-size: clamp(3rem, 1.2rem + 7vw, 8.5rem); max-width: 10em; }
.page-head .lead { margin-top: 24px; }
.page-head .hero-actions { justify-content: flex-start; }
.service { display: grid; gap: clamp(24px, 4vw, 72px); align-items: center; }
.service .frame { aspect-ratio: 4 / 3; }
.service-copy { display: grid; gap: 18px; }
.service-copy h2 { font-size: clamp(2.5rem, 1.3rem + 4.4vw, 5.5rem); }

/* Contact */
.contact-grid { display: grid; gap: clamp(32px, 5vw, 80px); }
.form { display: grid; gap: 18px; position: relative; }
.form-row { display: grid; gap: 18px; }
.field-l { display: grid; gap: 6px; }
.field-l label { font-weight: 600; }
.hint { color: var(--soft); font-weight: 400; }
.form input, .form select, .form textarea { width: 100%; min-height: 54px; padding: 12px 20px; background: var(--tone); border: 2px solid transparent; border-radius: 18px; font-size: 1.0625rem; }
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--ochre); outline-offset: 0; border-color: var(--ink); background: #fff; }
.form .hp { position: absolute; width: 2px; height: 2px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-status { padding: 20px 24px; background: var(--field); color: var(--on-field); border-radius: 24px; }
.form-status a { color: var(--ochre-light); font-weight: 600; }
.form-error { color: #b42318; font-weight: 600; }
.details { display: grid; gap: 22px; align-content: start; }
.details dl { display: grid; gap: 16px; }
.details dt { color: var(--soft); font-size: 1rem; }
.details dd { font-weight: 600; overflow-wrap: anywhere; }
.details .frame { aspect-ratio: 4 / 3; }
.strip { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.strip .frame { aspect-ratio: 4 / 5; }

/* Footer */
.site-footer { background: var(--field); color: var(--on-field); padding-block: clamp(64px, 7vw, 120px) 40px; }
.foot-name { font-family: var(--serif); font-weight: 500; font-size: clamp(5rem, 1rem + 22vw, 22rem); line-height: 0.8; letter-spacing: -0.05em; }
.foot-name span { color: var(--ochre-light); }
.foot-grid { display: grid; gap: 28px; margin-top: clamp(32px, 4vw, 56px); }
.foot-grid h2 { font-family: var(--sans); font-size: 1.0625rem; font-weight: 600; letter-spacing: 0; margin-bottom: 8px; line-height: 1.3; }
.foot-grid ul { list-style: none; display: grid; }
.foot-grid a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; text-underline-offset: 4px; }
.foot-grid p { color: var(--on-field-soft); }
.foot-grid p strong { color: var(--on-field); }
.credits { margin-top: 40px; color: var(--on-field-soft); font-size: 1rem; max-width: 62ch; }

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .rise { animation: rise 820ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 100ms); }
  @keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
  .js .hero-photo .frame img { transform: scale(1.12); transition: transform 3000ms var(--ease-out); }
  .js .hero-photo.is-in .frame img { transform: scale(1); }
  .frame img { transition: transform 800ms var(--ease-out); }
  .trio .frame:hover img, .service .frame:hover img, .strip .frame:hover img, .biz .frame:hover img { transform: scale(1.03); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
}

@media (max-width: 1179px) {
  .js .menu-btn { display: inline-flex; }
  .js .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--field); padding: 8px var(--margin) 22px; display: none; }
  .js .nav.is-open { display: block; }
  .js .nav ul { flex-direction: column; }
  .js .nav a { color: var(--on-field); font-family: var(--serif); font-size: 2rem; min-height: 60px; padding: 0; }
  .js .nav a:hover, .js .nav a[aria-current="page"] { color: var(--ochre-light); }
  html:not(.js) .bar { flex-wrap: wrap; }
  html:not(.js) .nav { order: 3; width: 100%; }
  html:not(.js) .nav ul { flex-wrap: wrap; }
}
@media (max-width: 479px) {
  .brand-name span, .hide-sm { display: none; }
  .bar { gap: 8px; min-height: 64px; }
  .actions .btn { padding: 0 16px; min-height: 48px; }
}
@media (max-width: 399px) {
  .btn-icon .lbl-mail { display: none; }
  .btn-icon { width: 48px; padding: 0; }
}
@media (min-width: 600px) {
  .trio { grid-template-columns: repeat(3, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .strip { grid-template-columns: repeat(4, 1fr); }
  .svc-list li { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: baseline; column-gap: var(--gap); }
}
@media (min-width: 960px) {
  .head-row { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: var(--gap); }
  .calc { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .statement { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .biz { grid-template-columns: 1fr 1fr 1fr; align-items: stretch; }
  .biz .frame { aspect-ratio: auto; min-height: 420px; }
  .area { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .service { grid-template-columns: 1fr 1fr; }
  .service.flip .frame { order: 2; }
  .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .foot-grid { grid-template-columns: 2fr 1fr 1fr; }
}
.page-head-grid { display: grid; gap: 28px; }
.page-head-grid .frame { aspect-ratio: 16 / 10; margin: 0; }
@media (min-width: 960px) {
  .page-head-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: clamp(32px, 4vw, 72px); }
  .page-head-grid .frame { aspect-ratio: 4 / 5; }
}
.page-head-grid h1 { font-size: clamp(3rem, 1.2rem + 6vw, 6.25rem); }
