/* ============================================================================
   Pauline Wilhelmina Fieman — stylesheet
   Dusty rose + champagne + crème — palette voor een dame. Familie-reeks nr. 4.
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,600&family=Nunito:wght@400;600;700;800&family=Caveat:wght@600&display=swap');

:root {
  /* palet */
  --roze:      #d99ba8;
  --roze-diep: #b76578;
  --roze-licht:#f0d4dc;
  --champagne:         #e8c896;
  --champagne-diep:    #a8884a;
  --creme:          #fbf3ec;
  --creme-diep:     #f4e8dc;
  --goud:          #f5e1c8;
  --ink:           #3d2530;
  --ink-zacht:     #7c6470;

  /* type */
  --display: 'Fraunces', 'Times New Roman', serif;
  --body:    'Nunito', 'Helvetica Neue', Arial, sans-serif;
  --hand:    'Caveat', cursive;

  /* layout */
  --max:      72ch;
  --pad:      clamp(1rem, 4vw, 2rem);
  --radius:   18px;
  --radius-l: 28px;
  --shadow:   0 6px 22px rgba(61, 37, 48, 0.10);
  --shadow-l: 0 12px 40px rgba(61, 37, 48, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--roze-diep); text-decoration: none; border-bottom: 1px dotted currentColor; }
a:hover { color: var(--champagne-diep); border-bottom-style: solid; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.1;
}
h1 { font-size: clamp(2.4rem, 9vw, 4.6rem); margin: 0 0 0.4em; }
h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); margin: 0 0 0.6em; }
h3 { font-size: clamp(1.15rem, 3.5vw, 1.4rem); margin: 0.2em 0; color: var(--roze-diep); }
h4 { font-size: 1.05rem; font-family: var(--body); font-weight: 800; margin: 0 0 0.2em; color: var(--ink); }
p { margin: 0 0 1em; }
code {
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  background: var(--creme-diep);
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid #e8d8c8;
}
.lead {
  font-family: var(--hand);
  font-size: clamp(1.15rem, 3.5vw, 1.4rem);
  color: var(--roze-diep);
  margin: 0 0 1.2em;
}
.meta {
  font-size: 0.85rem;
  color: var(--ink-zacht);
  font-style: italic;
}

/* ── HERO ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 85% 15%, var(--goud) 0%, transparent 55%),
    radial-gradient(circle at 15% 80%, var(--roze-licht) 0%, transparent 50%),
    linear-gradient(160deg, #fae6ee 0%, #f0d4dc 50%, var(--roze) 100%);
  padding: clamp(2.5rem, 8vw, 4rem) var(--pad) clamp(4rem, 14vw, 6rem);
  overflow: hidden;
  color: var(--ink);
  text-align: center;
}
.hero-stripes {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg,
    rgba(255,255,255,0.10) 0 8px,
    transparent 8px 22px);
  pointer-events: none;
  opacity: 0.5;
}
.hero-inner { position: relative; max-width: 900px; margin: 0 auto; }

.kicker {
  font-family: var(--hand);
  font-size: clamp(1.05rem, 3vw, 1.3rem);
  color: var(--roze-diep);
  margin: 0 0 0.5em;
}
.kicker .sub {
  display: inline-block;
  background: var(--roze-diep);
  color: var(--goud);
  padding: 2px 10px;
  border-radius: 4px;
  transform: rotate(-2deg);
  font-weight: 700;
  font-family: var(--body);
  font-size: 0.78em;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}
.brand {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(2.4rem, 10vw, 5rem);
  line-height: 0.95;
  margin: 0 0 0.2em;
  color: var(--ink);
  font-weight: 300;
}
.brand-do {
  display: inline-block;
  color: var(--roze-diep);
  font-style: normal;
  font-weight: 600;
}
.tag {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin: 0 0 1.2em;
  color: var(--ink-zacht);
}
.tag strong { color: var(--champagne-diep); }

/* counters */
.counters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin: 1.4rem 0 1.5rem;
}
.counter {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  padding: 0.7em 1.1em;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow);
  min-width: 9em;
  text-align: center;
}
.counter--gold {
  background: var(--goud);
  color: var(--roze-diep);
}
.counter-num {
  display: block;
  font-family: var(--display);
  font-size: 1.4rem;
  line-height: 1;
  margin-bottom: 0.15em;
  font-weight: 600;
}
.counter-label {
  font-family: var(--hand);
  font-size: 1.05rem;
  display: block;
}

/* monogram P·F */
.monogram {
  width: clamp(140px, 28vw, 200px);
  height: clamp(140px, 28vw, 200px);
  margin: 1rem auto 0.7rem;
  position: relative;
}
.monogram-circle {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, #fff 0%, var(--goud) 60%, var(--champagne) 100%);
  border-radius: 50%;
  border: 4px solid var(--roze-diep);
  box-shadow: 0 0 30px rgba(217, 151, 80, 0.3);
}
.monogram-pf {
  position: absolute;
  inset: 22%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-items: center;
  font-family: var(--display);
  color: var(--roze-diep);
  font-weight: 600;
}
.monogram-pf .p,
.monogram-pf .f {
  font-size: clamp(2.8rem, 8vw, 4.5rem);
  line-height: 1;
}
.monogram-pf .p { transform: translateX(-15%); }
.monogram-pf .f { transform: translateX(15%); }
.monogram-pf .dot {
  color: var(--champagne-diep);
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  align-self: center;
  margin: 0 -0.2em;
}
.status-dot {
  position: absolute;
  top: 8%;
  right: 8%;
  width: 16%;
  height: 16%;
  background: #6ec46e;
  border: 4px solid var(--creme);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(110, 196, 110, 0.4);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(110, 196, 110, 0.4); transform: scale(1); }
  50% { box-shadow: 0 0 0 12px rgba(110, 196, 110, 0); transform: scale(1.1); }
}

.motto {
  font-family: var(--hand);
  font-size: clamp(1.2rem, 4vw, 1.5rem);
  margin: 0.8em 0 0;
  color: var(--roze-diep);
}

/* hero wave */
.wave {
  display: block;
  width: 100%;
  height: 60px;
  margin-top: 1rem;
}

/* ── blocks ───────────────────────────────────────────────────── */
.block {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 3.5rem) var(--pad);
}
.ribbon {
  display: inline-block;
  font-family: var(--hand);
  font-size: 1.1em;
  color: var(--champagne);
  margin-left: 0.3em;
}

/* ── timeline ─────────────────────────────────────────────────── */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 1.6rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: repeating-linear-gradient(to bottom,
    var(--roze-diep) 0 6px, transparent 6px 12px);
  opacity: 0.6;
}
.slot {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  gap: 0.8rem;
  padding: 0.7rem 0;
  position: relative;
}
.slot .time {
  font-family: var(--display);
  font-size: 0.95rem;
  background: var(--roze-diep);
  color: var(--goud);
  text-align: center;
  padding: 0.4em 0.4em;
  border-radius: 10px;
  align-self: start;
  box-shadow: var(--shadow);
}
.slot-body {
  background: #fff;
  border-radius: var(--radius);
  padding: 0.7rem 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  border-left: 4px solid var(--roze-licht);
}
.slot--main .slot-body {
  background: linear-gradient(135deg, #fff8e1 0%, #fff 100%);
  border-left-color: var(--champagne);
}
.slot--main .time { background: var(--champagne-diep); color: #fff; }
.slot--pulse .slot-body {
  background: linear-gradient(135deg, #e6daf0 0%, #fff 100%);
  border-left-color: var(--roze);
}
.slot--pulse .time { background: var(--roze); color: #fff; }

/* ── addresses ───────────────────────────────────────────────── */
.addr-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.addr-card {
  background: #fff;
  border-radius: var(--radius-l);
  padding: 1.4rem 1.4rem;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--roze);
  position: relative;
}
.addr-card:nth-child(2) { border-top-color: var(--champagne); }
.addr-card h3 { color: var(--roze-diep); }
.addr-place {
  font-family: var(--hand);
  font-size: 1.1rem;
  color: var(--ink-zacht);
  margin: 0 0 0.6em;
}

/* ── kranten ─────────────────────────────────────────────────── */
.delphertbl {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.95rem;
  margin: 1em 0 1.5em;
}
.delphertbl th,
.delphertbl td {
  padding: 0.6em 0.8em;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--creme-diep);
}
.delphertbl th {
  background: var(--roze-diep);
  color: var(--goud);
  font-family: var(--display);
  font-weight: 600;
}
.delphertbl code {
  background: var(--creme);
  border-color: var(--roze-licht);
}
.delphertbl--hits .hit {
  background: linear-gradient(135deg, #fff8e1 0%, #fff 100%);
  border-left: 4px solid var(--champagne-diep);
}
.delphertbl--hits .hit strong { color: var(--champagne-diep); }
.conclusies {
  list-style: none;
  padding-left: 0;
}
.conclusies li {
  background: #fff;
  padding: 0.7em 0.9em;
  border-radius: var(--radius);
  margin: 0.5em 0;
  border-left: 4px solid var(--roze);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.conclusies li strong { color: var(--roze-diep); }

/* ── galerij ─────────────────────────────────────────────────── */
.galerij-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.galerij-card {
  background: #fff;
  border-radius: var(--radius-l);
  padding: 1.2rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px dashed var(--roze-licht);
}
.galerij-card.empty { opacity: 0.85; }
.galerij-icon {
  font-size: 3rem;
  margin: 0.4em 0;
  filter: grayscale(0.4);
}
.galerij-card figcaption { font-size: 0.95rem; }
.muted { color: var(--ink-zacht); font-size: 0.85rem; }

/* ── refs ────────────────────────────────────────────────────── */
.refs ul { padding-left: 1.2em; }
.refs ul li { margin: 0.4em 0; }
.cross { padding-left: 0; list-style: none; }
.cross li {
  background: #fff;
  margin: 0.4em 0;
  padding: 0.5em 0.9em;
  border-radius: var(--radius);
  border-left: 4px solid var(--roze);
}

/* ── outro ───────────────────────────────────────────────────── */
.outro {
  background: linear-gradient(160deg, var(--roze-diep) 0%, #4d3472 100%);
  color: var(--creme);
  border-radius: var(--radius-l);
  margin: 2rem auto;
  text-align: center;
  padding: 3rem var(--pad);
}
.outro h2 { color: var(--goud); }
.outro .ribbon { color: var(--champagne); }
.quote {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.2rem, 4vw, 1.6rem);
  line-height: 1.3;
  max-width: 26ch;
  margin: 1em auto;
}
.quote-quote {
  font-family: var(--hand);
  font-size: 1rem;
  opacity: 0.75;
}
.credits { margin-top: 1.4em; }
.credits .footnote { color: var(--creme); opacity: 0.8; }
.credits code {
  background: rgba(0,0,0,0.18);
  border-color: transparent;
  color: var(--goud);
}

/* ── footer ──────────────────────────────────────────────────── */
.foot {
  text-align: center;
  padding: 2rem var(--pad);
  font-size: 0.85rem;
  color: var(--ink);
  opacity: 0.75;
  background: var(--creme-diep);
}
.foot p { margin: 0.3em 0; }

/* ── prefers-reduced-motion ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .status-dot { animation: none; }
}

/* ── print fallback ───────────────────────────────────────────── */
@media print {
  .hero, .monogram, .status-dot, .counters { display: none; }
  body { background: white; color: black; }
}

/* ── small screens ────────────────────────────────────────────── */
@media (max-width: 480px) {
  .slot { grid-template-columns: 3rem 1fr; gap: 0.5rem; }
  .timeline::before { left: 1.4rem; }
  .counter { min-width: 8em; padding: 0.6em 0.8em; }
  .delphertbl { font-size: 0.85rem; }
  .delphertbl th, .delphertbl td { padding: 0.4em 0.5em; }
}
