/* Kanaalgalm Kesselt — huisstijl
   Based on docs/ontwerp (home.dc.html, contact.dc.html). Mobile first; the design is fluid
   (clamp() + auto-fit grids), the only breakpoint is the header menu at 760px. */

/* ---------- Fonts (self-hosted, SIL OFL — see fonts/OFL.txt) ---------- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/fraunces-latin-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/fraunces-latin-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/outfit-latin-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Design tokens ---------- */
:root {
  --kg-zaal: #17120E;
  --kg-zaal-diep: #100C09;
  --kg-papier: #F4EBD9;
  --kg-papier-donker: #EFE3CC;
  --kg-kaart: #FBF6EC;
  --kg-inkt: #1C1712;
  --kg-inkt-zacht: #5A4C3E;
  --kg-creme: #F4EBD9;          /* tekst op zaal, primair */
  --kg-creme-lopend: #E6DAC4;   /* tekst op zaal, lopend */
  --kg-creme-gedempt: #CDBFA6;  /* tekst op zaal, gedempt */
  --kg-creme-noot: #B9AA90;     /* rolomschrijving */
  --kg-voet-label: #8F8170;     /* labels in de footer */
  --kg-knoptekst: #F8F1E3;      /* tekst op rood */
  --kg-veldrand: #A8998A;
  --kg-hint: #6B5D4E;
  --kg-accent: #C21D24;         /* per productie overschreven (accentKleur) */
  --kg-logo-rood: #B3191F;

  --kg-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --kg-sans: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --kg-container: 1200px;
  --kg-gutter: clamp(20px, 5vw, 64px);
  --kg-section: clamp(56px, 7vw, 104px);
  --kg-radius: 3px;

  --kg-lijn-papier: rgba(28, 23, 18, 0.18);
  --kg-lijn-zaal: rgba(244, 235, 217, 0.12);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--kg-sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--kg-creme);
  background: var(--kg-zaal);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

main {
  flex: 1 0 auto;
  display: block;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

h1, h2, h3, p, figure, blockquote, ul, ol, dl, dd {
  margin: 0;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

/* Headings and <main> receive focus programmatically after navigation; no ring there. */
h1:focus,
main:focus {
  outline: none;
}

.is-papier :focus-visible,
.on-papier:focus-visible {
  outline-color: var(--kg-accent);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: var(--kg-creme);
  color: var(--kg-inkt);
  font-weight: 600;
  padding: 12px 18px;
  border-radius: var(--kg-radius);
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
  outline: 2px solid var(--kg-accent);
  outline-offset: 3px;
}

/* ---------- Layout ---------- */
/* 1200px of content plus the side padding (the design uses content-box sizing). */
.container {
  max-width: calc(var(--kg-container) + 2 * var(--kg-gutter));
  margin: 0 auto;
  padding-left: var(--kg-gutter);
  padding-right: var(--kg-gutter);
}

.section {
  padding-top: var(--kg-section);
  padding-bottom: var(--kg-section);
}

.is-zaal {
  background: var(--kg-zaal);
  color: var(--kg-creme);
}

.is-papier {
  background: var(--kg-papier);
  color: var(--kg-inkt);
}

.is-papier-donker {
  background: var(--kg-papier-donker);
  color: var(--kg-inkt);
}

/* ---------- Typography ---------- */
.kicker {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--kg-accent);
}

.is-zaal .kicker {
  color: var(--kg-creme-gedempt);
}

.kicker--streep {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  color: var(--kg-creme-gedempt);
}

.kicker--streep::before {
  content: "";
  display: block;
  flex: none;
  width: 36px;
  height: 2px;
  background: var(--kg-accent);
}

.section-title {
  margin: 0 0 24px;
  font-family: var(--kg-serif);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.serif {
  font-family: var(--kg-serif);
}

.lead {
  font-size: 18px;
  line-height: 1.7;
}

.muted {
  color: var(--kg-inkt-zacht);
}

.text-link {
  font-weight: 600;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 10px 0;
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: var(--kg-radius);
  border: 1px solid transparent;
  font-family: var(--kg-sans);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: filter 0.15s ease, background-color 0.15s ease;
}

.btn--rood {
  background: var(--kg-accent);
  color: var(--kg-knoptekst);
}

.btn--rood:hover {
  filter: brightness(1.08);
}

.btn--omlijnd {
  color: var(--kg-creme);
  border-color: rgba(244, 235, 217, 0.45);
  background: transparent;
}

.btn--omlijnd:hover {
  background: rgba(244, 235, 217, 0.08);
}

.btn--creme {
  background: var(--kg-knoptekst);
  color: var(--kg-inkt);
}

.btn--creme:hover {
  background: #FFFFFF;
}

.btn--op-rood {
  color: var(--kg-knoptekst);
  border-color: rgba(248, 241, 227, 0.7);
  background: transparent;
}

.btn--op-rood:hover {
  background: rgba(248, 241, 227, 0.1);
}

.btn--groot {
  font-size: 17px;
  padding: 15px 25px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* Two variants of one action: phone on small screens, contact page on larger ones.
   display:none keeps the hidden one out of the accessibility tree. */
.only-small { display: none !important; }

@media (max-width: 759.98px) {
  .only-small { display: inline-flex !important; }
  .only-large { display: none !important; }
}

/* ---------- Dotted leader (rolverdeling, prijzen) ---------- */
.leader {
  flex: 1 1 24px;
  min-width: 24px;
  border-bottom: 2px dotted currentColor;
  opacity: 0.3;
  margin-bottom: 7px;
}

/* ---------- Cards (Praktisch, contact) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px;
  border-top: 4px solid var(--kg-accent);
  background: var(--kg-kaart);
  color: var(--kg-inkt);
  box-shadow: 0 0 0 1px rgba(28, 23, 18, 0.1);
}

.card--zaal {
  background: var(--kg-zaal);
  color: var(--kg-creme);
  box-shadow: none;
}

.card__title {
  font-family: var(--kg-serif);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
}

.card__text {
  font-size: 16px;
  color: var(--kg-creme-lopend);
}

.card__phone {
  font-family: var(--kg-serif);
  font-weight: 800;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--kg-creme);
  text-decoration: none;
  padding: 4px 0;
  align-self: flex-start;
}

.card__phone:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.card .btn {
  align-self: flex-start;
}

.price-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  font-size: 17px;
}

.price-row .leader {
  flex: 1;
  margin-bottom: 6px;
}

.price-row strong {
  font-family: var(--kg-serif);
  font-size: 26px;
  line-height: 1.1;
  white-space: nowrap;
}

/* ---------- Poster frame ---------- */
.poster-frame {
  margin: 0;
  background: var(--kg-papier);
  padding: 10px;
  width: 100%;
  max-width: 460px; /* poster itself at most 440px (+ 2 × 10px frame), never upscaled */
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(244, 235, 217, 0.25);
  transform: rotate(1.2deg);
}

.poster-frame img {
  width: 100%;
  height: auto;
}

.poster-frame--small {
  max-width: 260px; /* poster 240px */
}

/* ---------- Typographic poster card (archive production without a poster) ---------- */
.poster-card {
  aspect-ratio: 610 / 860;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0 7%;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(244, 235, 217, 0.09), rgba(244, 235, 217, 0) 70%),
    var(--kg-zaal);
  color: var(--kg-creme);
  container-type: inline-size;
}

/* Double accent line as on the poster's date strip: 3px + 1px with 4px between. */
.poster-card__lines {
  flex: 1;
  border-top: 3px solid var(--kg-accent);
  border-bottom: 3px solid var(--kg-accent);
  padding: 4px 0;
}

.poster-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6cqi;
  padding: 14cqi 4cqi;
  border-top: 1px solid var(--kg-accent);
  border-bottom: 1px solid var(--kg-accent);
  text-align: center;
}

.poster-card__kicker {
  font-size: max(9px, 4.6cqi);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--kg-creme-gedempt);
}

.poster-card__title {
  font-family: var(--kg-serif);
  font-weight: 800;
  font-size: 13cqi;
  line-height: 1.02;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.poster-card__year {
  font-family: var(--kg-serif);
  font-weight: 800;
  font-size: 9cqi;
  line-height: 1;
  color: var(--kg-creme);
}

/* ---------- Simple content pages (privacy, 404) ---------- */
.page-head {
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: clamp(48px, 7vw, 96px);
}

.page-title {
  margin: 0 0 16px;
  font-family: var(--kg-serif);
  font-weight: 800;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1;
  letter-spacing: -0.02em;
}

.page-intro {
  font-size: 19px;
  color: var(--kg-inkt-zacht);
  max-width: 36em;
}

.prose {
  max-width: 42em;
  font-size: 17px;
  line-height: 1.7;
}

.prose h2 {
  margin: 36px 0 10px;
  font-family: var(--kg-serif);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
}

.prose p,
.prose ul {
  margin: 0 0 14px;
}

.prose ul {
  padding-left: 1.2em;
}

.prose a {
  text-underline-offset: 3px;
}

/* ---------- Print ---------- */
@media print {
  .site-header nav, .menu, .skip-link, .agenda-band { display: none !important; }
  body { background: #FFFFFF; color: #000000; }
}
