/* ---------- Lettertypen (lokaal, SIL Open Font License) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../assets/fonts/source-sans-3.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Basis ---------- */
:root {
  --paper: #f7f2ea;
  --paper-deep: #efe7da;
  --ink: #1c1a17;
  --ink-soft: #4a443c;
  --line: #ddd2c1;
  --gold: #c9973f;
  --gold-hover: #b8862f;
  --gold-text: #8a5f1c;   /* oker voor kleine tekst op licht: AA-contrast */
  --gold-light: #e0b768;  /* oker op donker */

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;

  --wrap: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 4px;
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
  overflow-wrap: break-word;
}

p { margin: 0; text-wrap: pretty; }

a { color: inherit; }

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 0.75rem; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 0.75rem;
}
.eyebrow-light { color: var(--gold-light); }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn .arrow { transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-hover); }

.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #38332c; }

.btn.is-pending {
  background: transparent;
  border: 1.5px dashed var(--line);
  color: var(--ink-soft);
  cursor: not-allowed;
}
.btn.is-pending .arrow { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--paper);
}

.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin-right: auto;
}
.brand-logo {
  display: block;
  width: auto;
  height: 3.5rem;
}
.brand-place {
  padding-left: 0.75rem;
  border-left: 1px solid rgba(224, 183, 104, 0.45);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247, 242, 234, 0.75);
}

.nav-list {
  display: flex;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-list a {
  display: block;
  padding: 0.5rem 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: rgba(247, 242, 234, 0.88);
}
.nav-list a:hover { color: var(--gold-light); }

.nav-toggle { display: none; }

/* ---------- Introductie ---------- */
.intro {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.75rem, 3.5vw, 2.5rem);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: end;
  gap: 2rem 4rem;
}
.intro h1 {
  font-size: clamp(2.6rem, 2rem + 3.2vw, 4.75rem);
  font-weight: 600;
  font-variation-settings: "opsz" 96;
  letter-spacing: -0.018em;
}
.intro-text {
  padding-bottom: 0.4rem;
  font-size: 1.1875rem;
  color: var(--ink-soft);
  max-width: 26rem;
}

/* ---------- Bestelkeuzes ---------- */
.choices { padding-bottom: clamp(3.5rem, 7vw, 6rem); }

.choices-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-align: center;
}
.ornament {
  flex: 1 1 1.5rem;
  height: 1px;
  background: var(--line);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.choice { display: flex; flex-direction: column; }

.choice-media {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-deep);
  aspect-ratio: 530 / 240;
}
.choice-media img { width: 100%; height: 100%; object-fit: cover; }

.choice-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  padding-top: 1.5rem;
}
.choice-body .eyebrow { margin-bottom: 0.5rem; }
.choice h3 {
  font-size: clamp(1.75rem, 1.4rem + 1.3vw, 2.4rem);
  margin-bottom: 0.65rem;
}
.choice-body > p:not(.eyebrow):not(.order-note) {
  color: var(--ink-soft);
  max-width: 30rem;
  margin-bottom: 1.5rem;
}
.choice .btn { margin-top: auto; }
.order-note {
  max-width: 100%;
  overflow-wrap: anywhere;
  margin-top: 0.7rem;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

/* ---------- Ons verhaal ---------- */
.story {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}
.story-media { margin: 0; }
.story-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}

.story h2 {
  font-size: clamp(2rem, 1.5rem + 1.8vw, 2.9rem);
  margin-bottom: 1.25rem;
}
.story-text p:not(.eyebrow) {
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 32rem;
  margin-bottom: 1rem;
}
/* ---------- Footer ---------- */
.site-footer {
  padding-block: 1.75rem;
  background: #141210;
  color: rgba(247, 242, 234, 0.75);
  font-size: 0.9375rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem 2rem;
}
.footer-names {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--paper);
  margin-bottom: 0.25rem;
}
.site-footer a { text-underline-offset: 3px; }
.site-footer a:hover { color: var(--gold-light); }
.footer-meta { text-align: right; }

/* ---------- Tablet en mobiel ---------- */
@media (max-width: 51.99rem) {
  :root { --header-h: 4rem; }

  .header-inner { gap: 0.75rem; }
  .brand-logo { height: 3rem; }

  .site-nav { order: 3; }
  .nav-toggle {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-right: -0.5rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--paper);
    cursor: pointer;
  }
  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    display: block;
    width: 1.35rem;
    height: 2px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before,
  .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -7px; }
  .nav-toggle-bars::after { top: 7px; }
  .menu-open .nav-toggle-bars { background: transparent; }
  .menu-open .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
  .menu-open .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.25rem;
    background: var(--ink);
    border-top: 1px solid rgba(247, 242, 234, 0.12);
  }
  .menu-open .nav-list { display: flex; }
  .nav-list a {
    padding: 0.85rem 0;
    font-size: 1.125rem;
    border-bottom: 1px solid rgba(247, 242, 234, 0.1);
  }

  .intro-grid,
  .story-grid { grid-template-columns: minmax(0, 1fr); }
  .intro-grid { gap: 1rem; }
  .intro-text { padding-bottom: 0; }
}

@media (max-width: 40rem) {
  body { font-size: 1rem; }
  .brand-place { display: none; }

  .intro-text { font-size: 1.0625rem; }

  .choice-grid { grid-template-columns: minmax(0, 1fr); gap: 2.75rem; }
  .choice-body { padding-top: 1.1rem; }
  .choice-body > p:not(.eyebrow):not(.order-note) { margin-bottom: 1.1rem; }
  .choice .btn { width: 100%; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
