/* Afscheid in woorden: kleuren uit Alice' eigen zeefoto's (zand, zeeblauw, avondgoud), letters naar haar logo
   (handschrift + Lato). Contrast gemeten: tekst >= 10:1, stille tekst en links >= 7:1. */

@font-face { font-family: "Lato"; font-weight: 300; font-style: normal; font-display: swap; src: url("/lettertypen/lato-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 300; font-style: italic; font-display: swap; src: url("/lettertypen/lato-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 400; font-style: normal; font-display: swap; src: url("/lettertypen/lato-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 700; font-style: normal; font-display: swap; src: url("/lettertypen/lato-latin-700-normal.woff2") format("woff2"); }

:root {
  --zand: #f5efe5;          /* achtergrond */
  --zand-licht: #fcf9f3;    /* kaarten */
  --lijn: #e2d8c7;
  --tekst: #1f3040;         /* 11.8:1 */
  --stil: #45525d;          /* 7.0:1 */
  --link: #2b5372;          /* 7.1:1 */
  --goud: #c39a55;          /* alleen lijnen en stippen, nooit tekst */
  --goud-tekst: #6b4e1a;
  --zee: #203345;           /* band en voet */
  --zee-tekst: #e8e1d4;     /* 10:1 op --zee */
  --zee-stil: #c5cbd0;      /* 7.9:1 op --zee */
  --zee-goud: #dcbd7f;      /* 7.2:1 op --zee */
  --knop: #203345;
  --knop-tekst: #f1ebe0;
  --schaduw: 0 1px 2px rgba(31, 48, 64, .06), 0 8px 24px rgba(31, 48, 64, .08);
  --r-klein: 8px; --r: 12px; --r-groot: 16px;
  --breed: 1180px;
  --lees: 680px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --zand: #252b31; --zand-licht: #2d343b; --lijn: #3b444c;
    --tekst: #e8e1d4; --stil: #c3c8cb; --link: #a8c5da; --goud: #b8955a; --goud-tekst: #dcbd7f;
    --zee: #1d2832; --knop: #3a5068; --knop-tekst: #f1ebe0;
    --schaduw: 0 1px 2px rgba(0, 0, 0, .2), 0 8px 24px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--zand); color: var(--tekst);
  font: 400 1.125rem/1.75 "Lato", system-ui, sans-serif; letter-spacing: .01em;
  -webkit-font-smoothing: auto; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--goud); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-weight: 300; line-height: 1.2; letter-spacing: .005em; margin: 0 0 16px; }
p { margin: 0 0 1.1em; }
.stil { color: var(--stil); }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.merk svg, .voet-merk svg, .held-merk svg { width: auto; height: 100%; fill: currentColor; stroke: none; }

.overslaan { position: absolute; left: 16px; top: -48px; z-index: 20; background: var(--zand-licht); padding: 8px 16px; border-radius: var(--r-klein); }
.overslaan:focus { top: 16px; }

/* Kop: ligt over de grote foto */
.kop {
  position: absolute; inset: 0 0 auto; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: max(16px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) 16px max(24px, env(safe-area-inset-left));
  color: #f4efe6;
}
.merk { display: block; height: 56px; color: inherit; }
.voorpagina .kop .merk { visibility: hidden; }
.hoofdmenu { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 8px; }
.hoofdmenu a {
  color: inherit; text-decoration: none; font-size: 1rem; padding: 6px 12px; border-radius: var(--r-klein);
  text-shadow: 0 1px 8px rgba(10, 20, 30, .5);
}
.hoofdmenu a:hover { background: rgba(244, 239, 230, .14); }
.hoofdmenu a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--zee-goud); border-radius: var(--r-klein) var(--r-klein) 0 0; }
.telefoonmenu { display: none; position: relative; }
.telefoonmenu summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: var(--r); background: rgba(20, 34, 46, .55); color: #f4efe6;
  border: 1px solid rgba(244, 239, 230, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.telefoonmenu summary::-webkit-details-marker { display: none; }
.telefoonmenu nav {
  position: absolute; right: 0; top: calc(100% + 8px); width: min(320px, calc(100vw - 32px));
  display: grid; padding: 8px; border-radius: var(--r-groot); background: var(--zand-licht); box-shadow: var(--schaduw);
  border: 1px solid var(--lijn);
}
.telefoonmenu nav a { color: var(--tekst); text-decoration: none; padding: 12px 16px; border-radius: var(--r-klein); }
.telefoonmenu nav a:hover { background: var(--zand); }
.telefoonmenu nav a[aria-current="page"] { font-weight: 700; color: var(--link); }
@media (max-width: 1180px) {
  .hoofdmenu { display: none; }
  .telefoonmenu { display: block; }
  .merk { height: 44px; }
}

/* Grote foto met titel */
.held { position: relative; min-height: clamp(360px, 58vh, 620px); display: grid; align-items: end; color: #f4efe6; overflow: hidden; }
.held picture, .band picture { position: absolute; inset: 0; }
.held-foto, .band-foto { width: 100%; height: 100%; object-fit: cover; }
.held::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16, 28, 39, .55) 0%, rgba(16, 28, 39, 0) 30%, rgba(16, 28, 39, 0) 45%, rgba(16, 28, 39, .72) 100%);
}
.held-tekst { position: relative; z-index: 1; width: 100%; max-width: var(--breed); margin: 0 auto; padding: 120px 24px 48px; }
.held h1 { font-size: clamp(2.25rem, 5.5vw, 4rem); margin: 0; text-shadow: 0 2px 18px rgba(10, 20, 30, .45); }
.held h1::after { content: ""; display: block; width: 72px; height: 2px; margin-top: 20px; background: var(--zee-goud); border-radius: 2px; }
.held-groot { min-height: clamp(420px, 72vh, 720px); align-items: center; }
.held-groot::after {
  background: radial-gradient(ellipse at 50% 55%, rgba(16, 28, 39, .42) 0%, rgba(16, 28, 39, .1) 60%),
              linear-gradient(180deg, rgba(16, 28, 39, .35) 0%, rgba(16, 28, 39, 0) 30%, rgba(16, 28, 39, .55) 100%);
}
.held-groot .held-tekst { text-align: center; padding: 104px 24px 72px; }
.held-merk { height: clamp(96px, 13vw, 160px); margin: 0 auto; display: flex; justify-content: center; filter: drop-shadow(0 2px 18px rgba(10, 20, 30, .5)); }
.held-merk svg { color: #f7f2ea; }
.held h1.held-merk::after { display: none; }
.held-onder { margin: 20px 0 0; font-size: clamp(.95rem, 1.6vw, 1.1rem); text-transform: uppercase; letter-spacing: .2em; text-shadow: 0 1px 10px rgba(10, 20, 30, .6); }

/* Leesvlak */
.lezen { max-width: var(--breed); margin: 0 auto; padding: 64px 24px; display: grid; justify-content: center; grid-template-columns: minmax(0, var(--lees)); gap: 48px; }
.lezen.met-zijfoto { grid-template-columns: minmax(0, var(--lees)) minmax(0, 360px); align-items: start; }
.lezen-breed { grid-template-columns: minmax(0, 1fr); }
.tekst > p:first-child { font-size: 1.3rem; font-weight: 300; line-height: 1.65; }
.tekst h1 { font-size: 2.25rem; margin-top: 8px; }
.tekst h2 { font-size: 1.6rem; margin-top: 40px; }
.zijfoto { margin: 0; position: sticky; top: 32px; }
.zijfoto img, .portret img { border-radius: var(--r-groot); box-shadow: var(--schaduw); }
.zijfoto::before, .portret::before {
  content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 1px solid var(--goud); border-radius: var(--r-groot); z-index: -1;
}
.zijfoto, .portret { position: relative; z-index: 0; }
@media (max-width: 900px) {
  .lezen.met-zijfoto { grid-template-columns: minmax(0, 1fr); }
  .zijfoto { position: relative; top: 0; max-width: 420px; margin-right: 16px; }
}

/* Voorpagina */
.welkom { max-width: var(--breed); margin: 0 auto; padding: 96px 24px 72px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 72px; align-items: center; }
.welkom .tekst > p:first-child { font-size: 1.5rem; }
.portret { margin: 0 16px 16px 0; }
.portret img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% 30%; width: 100%; }
@media (max-width: 900px) {
  .welkom { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-top: 64px; }
  .portret { max-width: 420px; }
}

.verwijzingen { max-width: var(--breed); margin: 0 auto; padding: 0 24px 96px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.verwijzing {
  display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--zand-licht);
  border-radius: var(--r-groot); overflow: hidden; box-shadow: var(--schaduw); border: 1px solid var(--lijn);
  transition: transform .2s ease, box-shadow .2s ease;
}
.verwijzing:hover { transform: translateY(-2px); }
.verwijzing-foto { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.verwijzing-tekst { display: flex; flex-direction: column; gap: 12px; padding: 24px; flex: 1; }
.verwijzing-titel { font-size: 1.4rem; font-weight: 300; line-height: 1.25; color: var(--tekst); }
.verwijzing-zin { color: var(--stil); font-size: 1rem; line-height: 1.6; flex: 1; }
.verder { display: inline-flex; align-items: center; gap: 8px; color: var(--link); font-size: 1rem; }
.verwijzing:hover .verder { text-decoration: underline; }
@media (max-width: 900px) { .verwijzingen { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }
@media (prefers-reduced-motion: reduce) { .verwijzing { transition: none; } .verwijzing:hover { transform: none; } }

/* Band met gedicht */
.band { position: relative; color: var(--zee-tekst); overflow: hidden; background: var(--zee); }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(32, 51, 69, .8); }
.band-binnen { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding: 96px 24px; }
.gedicht { margin: 0; text-align: center; }
.gedicht-opschrift { font-size: 1.05rem; letter-spacing: .03em; color: var(--zee-goud); line-height: 1.6; margin: 0 auto 40px; max-width: 520px; }
.gedicht blockquote { margin: 0; font-style: italic; font-weight: 300; font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.7; }
.gedicht blockquote p { margin: 0 0 1.2em; }
.gedicht-ondertekening { margin: 32px 0 0; color: var(--zee-stil); font-style: italic; }
.gedicht-ondertekening::before { content: ""; display: block; width: 48px; height: 1px; background: var(--zee-goud); margin: 0 auto 24px; }

/* Uitnodiging om contact op te nemen */
.uitnodiging { padding: 96px 24px; text-align: center; }
.uitnodiging-binnen { max-width: 720px; margin: 0 auto; }
.uitnodiging p { font-size: 1.3rem; font-weight: 300; line-height: 1.65; }
.knoppen { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.knop {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: var(--r);
  background: var(--knop); color: var(--knop-tekst); text-decoration: none; font-size: 1rem; border: 1px solid var(--knop);
}
.knop:hover { filter: brightness(1.15); }
.knop-rustig { background: transparent; color: var(--link); border-color: var(--lijn); }
.knop-rustig:hover { background: var(--zand-licht); filter: none; }

/* Samenwerking: het verloop van eerste contact tot terugkijken */
.verloop { list-style: none; margin: 0; padding: 0; position: relative; }
.verloop::before { content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 2px; background: var(--lijn); border-radius: 2px; }
.verloop li { position: relative; padding: 0 0 32px 48px; }
.verloop li p { margin: 0; }
.verloop li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--zand); border: 2px solid var(--goud);
}
.verloop li:first-child p { font-size: 1.3rem; font-weight: 300; line-height: 1.65; }
.verloop li:last-child { padding-bottom: 0; }
.verloop li:last-child::before { background: var(--goud); }

/* Media */
.artikel { max-width: var(--breed); margin: 0 auto; padding: 64px 24px; display: grid; grid-template-columns: minmax(0, 320px) minmax(0, var(--lees)); gap: 64px; justify-content: center; }
.artikel-beeld { display: grid; gap: 32px; align-content: start; position: sticky; top: 32px; }
.artikel-beeld img { border-radius: var(--r-groot); box-shadow: var(--schaduw); }
.krant { display: block; transform: rotate(-1.5deg); }
.artikel .tekst > p:first-child { font-size: 1rem; font-weight: 700; line-height: 1.6; color: var(--goud-tekst); text-transform: uppercase; letter-spacing: .1em; }
.artikel .tekst h1 + p { color: var(--stil); }
@media (max-width: 900px) {
  .artikel { grid-template-columns: minmax(0, 1fr); }
  .artikel-beeld { position: relative; top: 0; grid-template-columns: 1fr 1fr; gap: 16px; }
}

/* Foto's */
.galerij { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.galerij img { aspect-ratio: 2 / 3; object-fit: cover; width: 100%; border-radius: var(--r-groot); box-shadow: var(--schaduw); }
@media (max-width: 700px) { .galerij { grid-template-columns: minmax(0, 1fr); } }

/* Contact */
.kaart { background: var(--zand-licht); border: 1px solid var(--lijn); border-radius: var(--r-groot); padding: 32px; margin-top: 32px; box-shadow: var(--schaduw); }
.kaart p:last-child { margin: 0; }
.kaart-naam { font-size: 1.3rem; margin-bottom: 8px; }
.kaart dl { margin: 0 0 1.1em; display: grid; gap: 8px; }
.kaart dl div { display: grid; grid-template-columns: 96px 1fr; gap: 8px; }
.kaart dt { color: var(--stil); }
.kaart dd { margin: 0; overflow-wrap: anywhere; }
.contact .zijfoto img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% 30%; }
@media (max-width: 480px) { .kaart { padding: 24px; } .kaart dl div { grid-template-columns: 1fr; gap: 0; } }

/* Voet */
.voet { background: var(--zee); color: var(--zee-tekst); padding: 56px 24px max(56px, env(safe-area-inset-bottom)); }
.voet-binnen { max-width: var(--breed); margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; gap: 48px; align-items: center; }
.voet-merk { display: block; height: 64px; color: var(--zee-tekst); }
.voet address { font-style: normal; border-left: 1px solid rgba(232, 225, 212, .4); padding-left: 32px; line-height: 1.6; }
.voet p { margin: 0; line-height: 1.6; text-align: right; }
.voet a { color: var(--zee-tekst); }
.voet .stil { color: var(--zee-stil); }
@media (max-width: 760px) {
  .voet-binnen { grid-template-columns: 1fr; gap: 24px; }
  .voet address { border-left: 0; padding-left: 0; }
  .voet p { text-align: left; }
}
