/* Juliannehof — site-stylesheet. Tokens uit het Organic-systeem (design handoff). */

/* — fonts (self-hosted, geen CDN) — */
@font-face {
  font-family: "Caprasimo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/caprasimo-latin.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: "Caprasimo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/caprasimo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/figtree-latin.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: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/figtree-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* — tokens — */
:root {
  --color-bg: #f5ead8;
  --color-text: #201e1d;
  --color-accent: #c67139;
  --color-accent-2: #7a8a5e;

  --color-neutral-100: #f9f4ed;
  --color-neutral-200: #eee7db;
  --color-neutral-300: #dcd3c4;
  --color-neutral-400: #c0b6a5;
  --color-neutral-500: #a19786;
  --color-neutral-600: #82796a;
  --color-neutral-700: #645c50;
  --color-neutral-800: #474238;
  --color-neutral-900: #2e2b25;

  --color-accent-100: #fff2eb;
  --color-accent-200: #ffe1d0;
  --color-accent-300: #ffc6a5;
  --color-accent-400: #f6a06b;
  --color-accent-500: #d67f48;
  --color-accent-600: #b2622d;
  --color-accent-700: #8c491a;
  --color-accent-800: #643312;
  --color-accent-900: #402310;

  --color-accent-2-100: #f0fae1;
  --color-accent-2-200: #e1eecc;
  --color-accent-2-300: #ccdbb2;
  --color-accent-2-400: #aebf92;
  --color-accent-2-500: #8fa073;
  --color-accent-2-600: #728157;
  --color-accent-2-700: #56633f;
  --color-accent-2-800: #3d472b;
  --color-accent-2-900: #272e1b;

  --font-heading: "Caprasimo", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;

  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px color-mix(in srgb, #2e2b25 14%, transparent);
  --shadow-md: 0 3px 10px color-mix(in srgb, #2e2b25 16%, transparent);
  --shadow-lg: 0 12px 32px color-mix(in srgb, #2e2b25 22%, transparent);
}

/* — basis — */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--color-bg); }
body { color: var(--color-text); font-family: var(--font-body); font-size: 15px; line-height: 1.55; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }
a { color: var(--color-accent-700); }
a:hover { color: var(--color-accent-800); }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* — layout: smalle kolom, gecentreerd — */
.pagina { min-height: 100vh; display: flex; flex-direction: column; align-items: center; }
.kolom { width: 100%; max-width: 430px; padding: 36px 20px 48px; display: flex; flex-direction: column; gap: 28px; }
.kolom--gast { padding: 28px 20px 40px; gap: 20px; }

/* — header — */
.kop { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.kop--gast { gap: 10px; }
.kicker { font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-accent-700); }
.titel { font-family: var(--font-heading); font-weight: 400; font-size: 44px; line-height: 1.05; letter-spacing: -0.015em; margin: 0; }
.titel--gast { font-size: 34px; line-height: 1.12; text-wrap: pretty; }
.intro { margin: 0; font-size: 17px; line-height: 1.55; text-wrap: pretty; }
.fase-tekst { margin: 0; font-size: 16px; line-height: 1.55; color: var(--color-neutral-700); text-wrap: pretty; }
.kinderregel { font-size: 17px; color: var(--color-neutral-600); margin-top: -4px; }
.gast-sub { margin: 0; font-size: 16px; line-height: 1.5; color: var(--color-neutral-700); }
.gast-motief { color: var(--color-accent-2-700); }

/* — boomgaard-motief (landing) — */
.boomgaard-kaart {
  border-radius: var(--radius-lg);
  background: var(--color-accent-2-100);
  padding: 22px 18px 10px;
  color: var(--color-accent-2-800);
  box-shadow: var(--shadow-sm);
}
.boomgaard-kaart svg { width: 100%; height: auto; display: block; }

/* — sectie "De boodschappen" — */
.boodschappen { display: flex; flex-direction: column; gap: 14px; }
.boodschappen h2 { font-family: var(--font-heading); font-weight: 400; font-size: 27px; letter-spacing: -0.015em; margin: 0; }
.boodschappen-sub { margin: 0; font-size: 15px; line-height: 1.5; color: var(--color-neutral-700); }
.gastenlijst { display: flex; flex-direction: column; gap: 10px; }

.gastcard {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 18px;
  border-radius: var(--radius-lg);
  background: var(--color-neutral-100);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--color-text);
}
.gastcard:hover { background: var(--color-accent-100); color: var(--color-text); }
.gastcard:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.gastcard-thumb {
  width: 52px; height: 68px; border-radius: 12px; flex-shrink: 0;
  /* background-image staat inline op het element: url() in een custom property
     resolvet tegen deze stylesheet i.p.v. het document */
  background-size: cover, 20px 20px, 3px 17px;
  background-position: center, center 16px, center 33px;
  background-repeat: no-repeat;
  background-color: var(--color-accent-2-100);
}
.gastcard-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.gastcard-naam { font-size: 16.5px; font-weight: 600; line-height: 1.3; }
.gastcard-kinderen { font-size: 14px; color: var(--color-neutral-600); line-height: 1.3; }
.gastcard > svg { flex-shrink: 0; }

.voettekst { font-size: 14px; color: var(--color-neutral-600); line-height: 1.5; }

/* — videovak (gastpagina) — */
.video-vak {
  position: relative; width: 100%; aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(180deg, var(--color-accent-2-200), var(--color-accent-2-400));
  box-shadow: var(--shadow-md);
}
.video-vak video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
video::cue { font-family: var(--font-body); }
.video-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  pointer-events: none;
  background: linear-gradient(180deg, var(--color-accent-2-200), var(--color-accent-2-400));
}
.video-overlay > * { position: relative; } /* boven de absolute .overlay-foto */
.overlay-foto {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}
.video-overlay .motief-groot { color: var(--color-accent-2-800); opacity: 0.85; }
.video-overlay-titel { font-family: var(--font-heading); font-size: 20px; color: var(--color-accent-2-900); text-align: center; padding: 0 24px; }
.speelknop {
  position: absolute; inset: 0; width: 100%; height: 100%;
  background: transparent;
  border: none; padding: 0; cursor: pointer;
}
.speelknop:hover { background: rgba(32, 30, 29, 0.08); }
.speelknop:focus-visible { outline: 3px solid var(--color-accent); outline-offset: -3px; }
.speelknop-cirkel {
  width: 84px; height: 84px; border-radius: 999px;
  background: var(--color-accent);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
}
.speelknop-cirkel svg { margin-left: 4px; }
.video-vak.gestart .video-overlay,
.video-vak.gestart .speelknop { display: none; }

/* — bordje + vervolg — */
.bordje-tekst { margin: 0; font-size: 15px; line-height: 1.55; color: var(--color-neutral-700); text-wrap: pretty; }
.kijk-verder { margin: 0; font-size: 15px; line-height: 1.5; color: var(--color-accent-2-800); font-weight: 600; }
.kijk-verder[hidden] { display: none; }

.terug-knop {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid var(--color-accent-300);
  background: var(--color-neutral-100);
  color: var(--color-accent-800);
  font-weight: 600; font-size: 16px;
  text-decoration: none;
}
.terug-knop:hover { background: var(--color-accent-100); color: var(--color-accent-800); }

/* — wachtwoordscherm — */
html:not(.hof-open) .pagina { display: none; }
.slot {
  min-height: 100vh;
  background: var(--color-bg); color: var(--color-text); font-family: var(--font-body);
  display: flex; flex-direction: column; align-items: center;
}
.slot-kolom {
  width: 100%; max-width: 430px; min-height: 100vh;
  padding: 36px 20px 48px;
  display: flex; flex-direction: column; gap: 20px;
}
.slot-veld {
  width: 100%; padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid var(--color-accent-300);
  background: var(--color-neutral-100);
  color: var(--color-text);
  font: inherit; font-size: 16px;
}
.slot-veld:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.slot-knop {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid var(--color-accent-300);
  background: var(--color-neutral-100);
  color: var(--color-accent-800);
  font: inherit; font-weight: 600; font-size: 16px;
  cursor: pointer;
}
.slot-knop:hover { background: var(--color-accent-100); }
.slot-fout { margin: 0; font-size: 15px; font-weight: 600; color: var(--color-accent-700); }
.slot-voettekst { margin-top: auto; padding-top: 28px; }
