@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* Colours from their own logo (#173E1D), rooster mark (#26461D) and page background (#FFFFEE); see ../BRAND.md */
:root {
  --green: #173e1d;
  --green-2: #26461d;
  --green-deep: #0f2a13;
  --paper: #ffffee;
  --paper-2: #f5f5df;
  --white: #ffffff;
  --ink: #1b241c;
  --muted: #4d584e;
  --line: #d9dcc6;
  --line-dark: rgb(255 255 238 / .22);

  --font: 'Fira Sans', 'Segoe UI', system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 4px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --dur-fast: 160ms;
  --dur: 420ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .18em; }
h1, h2, h3 { font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: -.015em; text-wrap: balance; color: var(--green); }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--green); color: var(--paper); }
input, textarea, select { caret-color: var(--green); accent-color: var(--green); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible { outline-color: var(--paper); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--green); color: var(--paper); padding: .7rem 1rem; border-radius: var(--radius); }
.skip:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.3rem;
  font: 500 .9375rem/1 var(--font); text-decoration: none;
  background: var(--green); color: var(--paper);
  border: 1px solid var(--green); border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--green); border-color: var(--green); }
.btn.ghost:hover { background: var(--green); color: var(--paper); }
.on-dark .btn { background: var(--paper); color: var(--green); border-color: var(--paper); }
.on-dark .btn:hover { background: var(--white); }
.on-dark .btn.ghost { background: transparent; color: var(--paper); border-color: rgb(255 255 238 / .7); }
.on-dark .btn.ghost:hover { background: var(--paper); color: var(--green); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }
.brand { display: inline-flex; flex: none; }
.brand-mark { width: auto; height: 40px; }
.nav { display: flex; align-items: center; gap: .15rem; }
.nav-link { padding: .6rem .8rem; font-size: .9375rem; text-decoration: none; color: var(--ink); border-bottom: 2px solid transparent; }
.nav-link:hover { color: var(--green); }
.nav-link[aria-current="page"] { color: var(--green); font-weight: 600; }
.header-phone { margin-left: .75rem; }
.header-phone .num { display: none; }
@media (min-width: 1100px) { .header-phone .num { display: inline; } .header-phone .word { display: none; } }

.menu-btn { display: none; width: 48px; height: 48px; border: 1px solid var(--green); border-radius: var(--radius); background: transparent; cursor: pointer; position: relative; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  position: absolute; left: 13px; width: 20px; height: 2px; background: var(--green); content: "";
  transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast);
}
.menu-btn span { top: 22px; }
.menu-btn span::before { left: 0; top: -6px; }
.menu-btn span::after { left: 0; top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .brand-mark { height: 32px; }
  .header-in { min-height: 66px; }
  .menu-btn { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.25rem; display: none;
  }
  .nav.open { display: flex; }
  .nav-link { padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
  .header-phone { margin: 1rem 0 0; }
  .header-phone .num { display: inline; }
  .header-phone .word { display: none; }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section.white { background: var(--white); }
.section.tint { background: var(--paper-2); }
.on-dark { background: var(--green); color: var(--paper); }
.on-dark h2, .on-dark h3 { color: var(--paper); }
.section-head { display: grid; gap: 1rem; max-width: 44rem; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.section-head h2 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3rem); }
.section-head p { font-size: 1.125rem; color: var(--muted); }
.on-dark .section-head p { color: rgb(255 255 238 / .82); }

/* ---------- hero ---------- */
.hero { border-bottom: 1px solid var(--line); }
.hero-in { display: grid; gap: 2.25rem; padding-block: clamp(2.25rem, 5vw, 4.5rem); }
.hero-copy { display: grid; gap: 1.5rem; align-content: center; }
.hero h1 { font-size: clamp(2.35rem, 1.5rem + 3.4vw, 4.25rem); line-height: 1.04; }
.hero .lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--muted); max-width: 34rem; }
.hero-meta { display: grid; gap: .4rem; font-size: .9375rem; color: var(--muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-meta svg { width: 18px; height: 18px; color: var(--green); flex: none; }
.hero-photo { margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 901px) {
  .hero-in { grid-template-columns: 1fr 1.08fr; align-items: center; gap: clamp(2rem, 5vw, 4.5rem); }
  .hero-photo img { aspect-ratio: 1540 / 1176; }
}
.page-hero { border-bottom: 1px solid var(--line); padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); }
.page-hero h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.75rem); max-width: 18ch; }
.page-hero .lead { margin-top: 1.25rem; font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--muted); max-width: 40rem; }
.page-hero .btn-row { margin-top: 1.75rem; }

/* ---------- note strip (their own "geen copy-shop" line) ---------- */
.note { border-bottom: 1px solid var(--line); background: var(--paper-2); }
.note-in { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; padding-block: 1rem; font-size: .9375rem; }
.note strong { color: var(--green); font-weight: 600; }
.note span { color: var(--muted); }

/* ---------- intro (two columns) ---------- */
.intro { display: grid; gap: 1.5rem; }
.intro h2 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3rem); }
.intro .body { display: grid; gap: 1.1rem; font-size: 1.0625rem; color: var(--muted); max-width: 40rem; }
@media (min-width: 901px) { .intro { grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; } }

/* ---------- register rows ---------- */
.register { border-top: 1px solid var(--green); }
.row {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "short go" "title go"; align-items: center; column-gap: 1rem; row-gap: .15rem;
  padding: 1.1rem .15rem; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink);
}
.row-short { grid-area: short; font-size: .875rem; color: var(--muted); }
.row-title { grid-area: title; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); font-weight: 600; color: var(--green); letter-spacing: -.01em; line-height: 1.15; }
.row .go { grid-area: go; display: grid; place-items: center; color: var(--green); transition: transform var(--dur) var(--ease-out); }
.row .go svg { width: 22px; height: 22px; }
.row:hover .go { transform: translateX(4px); }
.row:hover .row-title { text-decoration: underline; text-decoration-thickness: 1px; }
@media (min-width: 901px) {
  .row { grid-template-columns: 1fr 1.6fr auto; grid-template-areas: "short title go"; min-height: 76px; padding-block: .9rem; }
}

/* ---------- split: photo left, text right ---------- */
.split { display: grid; gap: 2rem; align-items: center; }
.split figure { margin: 0; }
.split img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.split .text { display: grid; gap: 1.1rem; align-content: start; }
.split h2 { font-size: clamp(1.75rem, 1.35rem + 1.8vw, 2.6rem); }
.split p { color: var(--muted); }
.split .btn-row { margin-top: .5rem; }
@media (min-width: 901px) {
  .split { grid-template-columns: 1.15fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); }
  .split.rev figure { order: 2; }
}
.list-rows { border-top: 1px solid var(--line); }
.list-rows li { padding: .7rem 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; }
.list-rows li span:last-child { color: var(--muted); text-align: right; }
.on-dark .list-rows, .on-dark .list-rows li { border-color: var(--line-dark); }

/* ---------- work gallery ---------- */
.work { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
.work figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.work img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
@media (min-width: 901px) {
  .work { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .work .big { grid-column: span 2; grid-row: span 2; }
  .work .wide { grid-column: span 2; }
  .work .wide img { aspect-ratio: 2 / 1; }
}
.work-note { margin-top: 1.25rem; font-size: .9375rem; color: var(--muted); }

/* ---------- product detail blocks (drukwerk page) ---------- */
.product { scroll-margin-top: 90px; }
.product + .product { border-top: 1px solid var(--line); }
.product .split img { aspect-ratio: 4 / 3; }
.publishers { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .9375rem; }
.publishers a { color: var(--green); font-weight: 500; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.pair img { aspect-ratio: 3 / 4; }

/* ---------- CTA band ---------- */
.band { text-align: center; }
.band .in { display: grid; gap: 1.25rem; justify-items: center; max-width: 40rem; margin-inline: auto; }
.band p.small { font-size: .9375rem; color: rgb(255 255 238 / .8); }
.band h2 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3rem); }
.band .btn-row { justify-content: center; }

/* ---------- contact rows ---------- */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 901px) { .contact-grid { grid-template-columns: 1.1fr 1fr; gap: 4.5rem; align-items: start; } }
.kv { border-top: 1px solid var(--green); }
.kv > div { display: grid; gap: .25rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.kv dt { font-size: .875rem; font-weight: 600; color: var(--green); }
.kv dd { margin: 0; font-size: 1.125rem; }
.kv dd a { color: var(--ink); }
@media (min-width: 601px) { .kv > div { grid-template-columns: 11rem 1fr; gap: 1.5rem; } }
.route { display: grid; gap: 1rem; }
.route h3 { font-size: 1.25rem; }
.route p, .route li { color: var(--muted); }
.route ul { display: grid; gap: .35rem; }

/* ---------- form ---------- */
.form { display: grid; gap: 1.1rem; }
.form .two { display: grid; gap: 1.1rem; }
@media (min-width: 601px) { .form .two { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-size: .9375rem; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .85rem; font: inherit; color: var(--ink);
  background: var(--white); border: 1px solid #b9bea5; border-radius: var(--radius);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: #8a1c1c; }
.hint { font-size: .875rem; color: var(--muted); }
.form-ok { display: none; padding: 1rem 1.1rem; border: 1px solid var(--green); border-radius: var(--radius); background: var(--white); color: var(--green); }
.form-ok.show { display: block; }
.form-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2.25rem); }
.form-box h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); margin-bottom: .5rem; }
.form-box > p { color: var(--muted); margin-bottom: 1.5rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--green); color: var(--paper); padding-block: clamp(3.5rem, 7vw, 5rem) 6rem; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 701px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1001px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-brand { display: grid; gap: 1.1rem; justify-items: start; align-content: start; }
.footer-brand p { color: rgb(255 255 238 / .82); max-width: 22rem; }
.footer-haan { height: 92px; width: auto; filter: brightness(0) invert(1) sepia(.2); opacity: .9; }
.site-footer h2 { font-size: .8125rem; font-weight: 500; color: rgb(255 255 238 / .65); margin-bottom: .8rem; letter-spacing: 0; }
.site-footer h2.sub { margin-top: 1.5rem; }
.site-footer ul { display: grid; gap: .45rem; }
.site-footer a { color: var(--paper); }
.site-footer ul.big a { font-size: 1.125rem; }
.site-footer .hours { margin-top: 1rem; color: rgb(255 255 238 / .82); font-size: .9375rem; }
.site-footer .btn { background: var(--paper); color: var(--green); border-color: var(--paper); }
.footer-bottom { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; font-size: .875rem; color: rgb(255 255 238 / .7); }
.footer-bottom a { color: rgb(255 255 238 / .85); }

/* ---------- mobile call bar ---------- */
.callbar { display: none; }
@media (max-width: 900px) {
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 1px solid var(--line);
  }
  .callbar .btn { width: 100%; }
}

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity var(--dur) var(--ease-out) var(--d, 0s), transform var(--dur) var(--ease-out) var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; animation: none !important; }
}

/* ---------- fixes after first screenshots ---------- */
.on-dark .split p, .on-dark .list-rows li span:last-child { color: rgb(255 255 238 / .84); }
.product .split .pair img { aspect-ratio: 3 / 4; }
