/* Timmermans & Poser — publieke website
   Eén stylesheet, geen externe fonts, geen JavaScript.
   Kleuren volgen het logo: antraciet en grijs op wit. */

:root {
  --ink: #1b1d21;
  --ink-2: #43474e;
  --muted: #6e727a;
  --charcoal: #2b2e34;
  --grey: #9a9a9c;
  --rule: #e2e3e6;
  --rule-strong: #c9cbcf;
  --bg: #ffffff;
  --tint: #f6f6f7;
  --dark: #23262b;
  --dark-ink: #ffffff;
  --dark-muted: #b3b7bd;
  --link: #1b4f8a;
  --ph-bg: #fdf0d0;
  --ph-ink: #7a4b06;
  --ph-line: #d9a441;

  --wrap: 72rem;
  --gap: clamp(1.25rem, 4vw, 2.5rem);
  --band-y: clamp(2.75rem, 6vw, 4.75rem);

  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(1.75rem, 1.15rem + 2.4vw, 2.75rem);
}
h2 {
  font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.65rem);
}
h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0;
}

p {
  margin: 0 0 1.1em;
}
p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gap);
}

.mono {
  font-family: var(--mono);
  font-size: 0.94em;
  letter-spacing: 0.01em;
}

.muted {
  color: var(--muted);
}

/* Oningevulde waarde uit src/company.mjs — mag niet live gaan. */
.ph {
  background: var(--ph-bg);
  color: var(--ph-ink);
  border-bottom: 2px solid var(--ph-line);
  border-radius: 2px;
  padding: 0 0.25em;
  font-family: var(--mono);
  font-size: 0.88em;
  font-weight: 600;
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--dark);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 20;
}
.skip:focus {
  left: 0;
}

/* ------------------------------------------------------------------ */
/* Header                                                              */
/* ------------------------------------------------------------------ */

.site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding-block: 1.05rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}

.mark {
  display: block;
  overflow: visible;
}

.brand-mark {
  width: 2.2rem;
  height: 2.2rem;
  flex: none;
  color: var(--charcoal);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-name {
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: var(--ink);
}

.brand-sub {
  font-size: 0.775rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.header-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.4rem;
}

.mainnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.35rem;
}

.mainnav a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.925rem;
  padding-block: 0.15rem;
  border-bottom: 2px solid transparent;
}
.mainnav a:hover {
  color: var(--ink);
  border-bottom-color: var(--rule-strong);
}
.mainnav a[aria-current='page'] {
  color: var(--ink);
  font-weight: 600;
  border-bottom-color: var(--charcoal);
}

.langswitch {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-2);
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  padding: 0.28rem 0.8rem;
  white-space: nowrap;
}
.langswitch:hover {
  border-color: var(--charcoal);
  color: var(--ink);
}

/* ------------------------------------------------------------------ */
/* Banden                                                              */
/* ------------------------------------------------------------------ */

.hero,
.pagehead {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.75rem, 4vw, 3rem);
  border-bottom: 1px solid var(--rule);
}

.hero h1,
.pagehead h1 {
  max-width: 20ch;
}

.lead {
  font-size: clamp(1.06rem, 1rem + 0.4vw, 1.25rem);
  color: var(--ink-2);
  max-width: 62ch;
  margin-bottom: 0;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1px;
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--rule);
  border: 1px solid var(--rule);
}

.hero-facts > div {
  background: var(--bg);
  padding: 0.9rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-facts .k {
  font-size: 0.725rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-facts .v {
  font-size: 0.95rem;
  color: var(--ink);
}

.band {
  padding-block: var(--band-y);
  border-bottom: 1px solid var(--rule);
}

.band--tint {
  background: var(--tint);
}

.band--dark {
  background: var(--dark);
  color: var(--dark-ink);
  border-bottom-color: var(--dark);
}
.band--dark h2,
.band--dark h3,
.band--dark dt {
  color: var(--dark-ink);
}
.band--dark .lead,
.band--dark .section-intro,
.band--dark .section-outro,
.band--dark p {
  color: var(--dark-muted);
}
.band--dark a {
  color: #a8c7ec;
}
.band--dark .datalist,
.band--dark .datalist .row {
  border-color: #3a3e45;
}

/* De maat op de KINDEREN, niet op .prose zelf: .prose zit op hetzelfde element
   als .wrap, en die heeft `margin-inline: auto`. Een max-width daar zou het
   hele blok centreren, waardoor kopregels niet meer uitlijnen met de
   gegevenstabellen erboven en eronder. */
.prose > * {
  max-width: 66ch;
}

.section-intro,
.section-outro {
  color: var(--ink-2);
  max-width: 62ch;
}

.section-intro {
  margin-bottom: 1.9em;
}

.section-outro {
  margin-top: 1.9em;
}

.note {
  color: var(--ink-2);
  border-left: 3px solid var(--rule-strong);
  padding-left: 1rem;
  max-width: 62ch;
}

/* Toelichting die direct onder een gegevenstabel hoort. */
.note--after {
  margin-top: 1.9em;
  font-size: 0.95rem;
}

.more {
  margin-top: 1.9em;
  font-size: 0.95rem;
}

.contactline {
  margin-top: 1.6em;
  font-size: 0.98rem;
}

/* ------------------------------------------------------------------ */
/* Definitielijsten — leest als een uittreksel                         */
/* ------------------------------------------------------------------ */

.datalist {
  margin: 0;
  border-top: 1px solid var(--rule-strong);
}

.datalist .row {
  display: grid;
  grid-template-columns: minmax(11rem, 15rem) 1fr;
  gap: 0.35rem 2rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--rule);
}

.datalist dt {
  font-size: 0.8rem;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.15em;
}

.datalist dd {
  margin: 0;
  color: var(--ink);
}

.datalist--stacked .row {
  grid-template-columns: 1fr;
  gap: 0.2rem;
  padding-block: 1.05rem;
}
.datalist--stacked dt {
  font-size: 1.0625rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
  color: var(--ink);
}
.datalist--stacked dd {
  color: var(--ink-2);
}

/* Moet ná de .datalist-regels staan: anders wint `color: var(--ink)` en
   staan de bedrijfsgegevens bijna zwart op de donkere band. */
.band--dark .datalist dt {
  color: var(--dark-muted);
}
.band--dark .datalist dd,
.band--dark .datalist--stacked dd {
  color: var(--dark-ink);
}

address {
  font-style: normal;
  line-height: 1.8;
}

/* ------------------------------------------------------------------ */
/* Productgebieden                                                     */
/* ------------------------------------------------------------------ */

.segments {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  /* 19rem laat zes segmenten netjes als 3×2 uitkomen op een breed scherm,
     en als 2×3 op een tablet — bij een kleinere minimumbreedte ontstaan er
     vier kolommen met twee lege vakken. */
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.segments li {
  background: var(--tint);
  padding: 1.35rem 1.4rem 1.5rem;
}

.segments h3 {
  margin-bottom: 0.35em;
}

.segments p {
  color: var(--ink-2);
  font-size: 0.95rem;
  margin: 0;
}

.segment-detail {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}

.segment-detail article {
  max-width: 66ch;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule-strong);
}
.segment-detail article:first-child {
  padding-top: 0;
  border-top: 0;
}

.brands {
  font-size: 0.93rem;
  color: var(--ink-2);
  margin-top: 1.1em;
}

.brands-label {
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 0.25em;
}

.ticks {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 62ch;
}

.ticks li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.7em;
}

.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.55rem;
  height: 0.55rem;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  opacity: 0.65;
}

/* ------------------------------------------------------------------ */
/* Contact                                                             */
/* ------------------------------------------------------------------ */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

/* In een halve kolom is er geen ruimte voor label naast waarde — dan breekt
   een e-mailadres middenin af. Label boven waarde. */
.contact-grid .datalist .row {
  grid-template-columns: 1fr;
  gap: 0.2rem;
}

@media (max-width: 48rem) {
  .datalist .row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

/* ------------------------------------------------------------------ */
/* Foto's                                                              */
/* ------------------------------------------------------------------ */

.shot {
  margin: clamp(2.25rem, 5vw, 3.5rem) 0;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--tint);
}

.shot--wide img,
.shot--wide .shot-frame {
  aspect-ratio: 21 / 9;
}

.shot figcaption {
  margin-top: 0.7rem;
  font-size: 0.875rem;
  color: var(--muted);
  max-width: 62ch;
}

/* Zichtbare placeholder zolang het bestand ontbreekt. */
.shot-frame {
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: repeating-linear-gradient(
    -45deg,
    var(--tint),
    var(--tint) 12px,
    #eeeef0 12px,
    #eeeef0 24px
  );
  border: 1px dashed var(--rule-strong);
  color: var(--grey);
  text-align: center;
  padding: 1.5rem;
}

.shot-frame .mark {
  width: clamp(2.5rem, 6vw, 3.75rem);
  height: clamp(2.5rem, 6vw, 3.75rem);
  opacity: 0.55;
}

.shot-note {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.shot-file {
  margin: 0;
  font-size: 0.8rem;
}

.shot-file code {
  font-family: var(--mono);
  background: var(--bg);
  border: 1px solid var(--rule-strong);
  border-radius: 3px;
  padding: 0.12em 0.45em;
  color: var(--ink-2);
}

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */

.site-footer {
  background: var(--tint);
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
  font-size: 0.9rem;
  color: var(--ink-2);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}

.footer-mark {
  width: 2rem;
  height: 2rem;
  color: var(--charcoal);
  margin-bottom: 0.85rem;
}

.footer-name {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4em;
}

.footer-tagline {
  max-width: 34ch;
  color: var(--muted);
}

.footer-col h2 {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.9em;
}

.footer-col a {
  display: block;
  color: var(--ink-2);
  text-decoration: none;
  margin-bottom: 0.4em;
}
.footer-col a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.footer-lines {
  margin-bottom: 1em;
  line-height: 1.75;
}
.footer-lines a {
  display: inline;
  color: var(--link);
  text-decoration: underline;
}

/* ------------------------------------------------------------------ */
/* Print — een compliance-medewerker print deze pagina's               */
/* ------------------------------------------------------------------ */

@media print {
  .site-header .mainnav,
  .langswitch,
  .skip,
  .shot,
  .more {
    display: none;
  }

  body {
    font-size: 11pt;
    color: #000;
  }

  .band,
  .hero,
  .pagehead {
    padding-block: 0.75rem;
    border-bottom: 0;
  }

  .band--dark {
    background: #fff;
    color: #000;
  }
  .band--dark h2,
  .band--dark p,
  .band--dark dt {
    color: #000;
  }

  .band--tint,
  .site-footer,
  .segments li {
    background: #fff;
  }

  a {
    color: #000;
    text-decoration: none;
  }

  .datalist .row {
    break-inside: avoid;
  }
}
