/* Stichting Rozenhof — stijlblad */

:root {
  --rose-900: #6b2438;
  --rose-700: #8c3550;
  --rose-500: #b45570;
  --rose-100: #f6e7e9;
  --sand-50:  #fdfaf6;
  --sand-100: #f7f0e7;
  --sand-200: #ece0d1;
  --leaf-700: #4a6b4f;
  --leaf-100: #e6efe6;
  --ink-900:  #2b2320;
  --ink-700:  #4a403b;
  --ink-500:  #7a6e67;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(43,35,32,.05), 0 8px 24px rgba(43,35,32,.06);
  --wrap: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--sand-50);
  color: var(--ink-900);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .logo, nav a, .btn, th {
  font-family: "Avenir Next", Avenir, "Segoe UI", Inter, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

h1, h2, h3 { color: var(--rose-900); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 600; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; color: var(--ink-900); }

p { margin: 0 0 1.1em; }
a { color: var(--rose-700); text-underline-offset: 3px; }
a:hover { color: var(--rose-900); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253,250,246,.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--sand-200);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 24px; max-width: var(--wrap); margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--rose-900); font-weight: 600; font-size: 1.05rem; letter-spacing: .01em; }
.logo svg { flex: none; }
.logo small { display: block; font-size: .72rem; font-weight: 500; color: var(--ink-500); letter-spacing: .08em; text-transform: uppercase; }

nav.main ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
nav.main a {
  display: block; padding: 8px 14px; border-radius: 999px;
  text-decoration: none; color: var(--ink-700); font-size: .93rem; font-weight: 500;
  transition: background .15s ease, color .15s ease;
}
nav.main a:hover { background: var(--rose-100); color: var(--rose-900); }
nav.main a.active { background: var(--rose-900); color: #fff; }

.menu-toggle { display: none; background: none; border: 1px solid var(--sand-200); border-radius: 10px; padding: 8px 12px; font-size: .9rem; cursor: pointer; color: var(--ink-700); }

/* ---------- Hero ---------- */
/* ---------- Achtergrondmotief (eigen illustraties) ---------- */
.hero, .page-head, section.alt { position: relative; overflow: hidden; }
.hero > .wrap, .page-head > .wrap, section.alt > .wrap { position: relative; z-index: 1; }

.hero::before, .page-head::before, section.alt::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("motief.svg");
  background-repeat: repeat;
  background-size: 300px 300px;
  opacity: .13;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(100deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.25) 34%, #000 66%);
          mask-image: linear-gradient(100deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.25) 34%, #000 66%);
}
.page-head::before { opacity: .12; background-size: 260px 260px; }
section.alt::before {
  opacity: .10; background-size: 320px 320px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.15) 60%);
          mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.15) 60%);
}

.hero::after {
  content: ""; position: absolute;
  right: -60px; top: 50%; transform: translateY(-50%);
  width: min(560px, 52vw); aspect-ratio: 1;
  background: url("roos.svg") no-repeat center / contain;
  opacity: .16; pointer-events: none;
}

.hero {
  background: linear-gradient(160deg, var(--rose-100) 0%, var(--sand-100) 55%, var(--leaf-100) 100%);
  border-bottom: 1px solid var(--sand-200);
  padding: clamp(56px, 9vw, 104px) 0;
}
.hero .eyebrow { font-family: "Avenir Next", Avenir, system-ui, sans-serif; text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; color: var(--rose-700); font-weight: 600; margin-bottom: 14px; }
.hero p.lead { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--ink-700); max-width: 62ch; }

.page-head { background: var(--sand-100); border-bottom: 1px solid var(--sand-200); padding: clamp(40px, 6vw, 68px) 0; }
.page-head p { color: var(--ink-700); max-width: 62ch; margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px;
  background: var(--rose-900); color: #fff; text-decoration: none;
  font-size: .95rem; font-weight: 600;
  transition: transform .12s ease, background .15s ease;
}
.btn:hover { background: var(--rose-700); color: #fff; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--rose-900); border: 1.5px solid var(--rose-900); }
.btn.ghost:hover { background: var(--rose-900); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Sections ---------- */
section { padding: clamp(48px, 7vw, 84px) 0; }
section.alt { background: var(--sand-100); border-block: 1px solid var(--sand-200); }
.section-head { max-width: 62ch; margin-bottom: 40px; }
.section-head p { color: var(--ink-700); margin-bottom: 0; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 20px; }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--sand-200); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
.card .icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--rose-100); color: var(--rose-900); margin-bottom: 16px;
}
.card.leaf .icon { background: var(--leaf-100); color: var(--leaf-700); }

.stat { text-align: left; }
.stat .num { font-family: "Avenir Next", Avenir, system-ui, sans-serif; font-size: 2rem; font-weight: 600; color: var(--rose-900); display: block; line-height: 1.1; }
.stat .label { color: var(--ink-500); font-size: .92rem; }

/* ---------- Prose blocks ---------- */
.prose ul { padding-left: 1.15em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--rose-500); }

.callout {
  background: #fff; border-left: 4px solid var(--rose-500);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px; box-shadow: var(--shadow); margin: 0 0 28px;
}
.callout p:last-child { margin-bottom: 0; }

/* ---------- Document list ---------- */
.docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.docs a {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--sand-200); border-radius: var(--radius);
  padding: 16px 20px; text-decoration: none; color: var(--ink-900);
  transition: border-color .15s ease, transform .12s ease, box-shadow .15s ease;
}
.docs a:hover { border-color: var(--rose-500); box-shadow: var(--shadow); transform: translateY(-1px); }
.docs .doc-ico { flex: none; width: 36px; height: 36px; border-radius: 9px; background: var(--rose-100); color: var(--rose-900); display: grid; place-items: center; font-size: .7rem; font-weight: 700; font-family: "Avenir Next", Avenir, sans-serif; letter-spacing: .04em; }
.docs .doc-name { font-weight: 500; }
.docs .doc-meta { display: block; font-size: .84rem; color: var(--ink-500); font-family: "Avenir Next", Avenir, sans-serif; }
.docs .arrow { margin-left: auto; color: var(--rose-500); }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--sand-200); border-radius: var(--radius); box-shadow: var(--shadow); }
table.giving { border-collapse: collapse; width: 100%; min-width: 620px; font-size: .95rem; }
table.giving th, table.giving td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--sand-200); }
table.giving thead th { background: var(--rose-900); color: #fff; font-size: .85rem; font-weight: 600; letter-spacing: .03em; position: sticky; top: 0; }
table.giving thead th.year { text-align: center; width: 68px; }
table.giving tbody td.year { text-align: center; }
table.giving tbody tr:nth-child(even) { background: var(--sand-50); }
table.giving tbody tr:hover { background: var(--rose-100); }
table.giving tbody tr:last-child td { border-bottom: 0; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--rose-500); }
.dot.off { background: var(--sand-200); }
.legend { font-size: .88rem; color: var(--ink-500); margin-top: 14px; font-family: "Avenir Next", Avenir, sans-serif; }

/* ---------- Board ---------- */
.person { text-align: center; }
.person .avatar {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(150deg, var(--rose-100), var(--leaf-100));
  display: grid; place-items: center; color: var(--rose-900);
  font-family: "Avenir Next", Avenir, sans-serif; font-weight: 600; font-size: 1.25rem;
}
.person .role { color: var(--rose-700); font-family: "Avenir Next", Avenir, sans-serif; font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Contact ---------- */
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--sand-200); }
.info-list li:last-child { border-bottom: 0; }
.info-list .k { flex: none; width: 190px; color: var(--ink-500); font-family: "Avenir Next", Avenir, sans-serif; font-size: .9rem; }
.info-list .v { font-weight: 500; }

/* ---------- Footer ---------- */
footer.site { background: var(--rose-900); color: var(--rose-100); padding: 56px 0 32px; margin-top: 0; position: relative; overflow: hidden; }
footer.site::before {
  content: ""; position: absolute; inset: 0;
  background: url("motief.svg") repeat; background-size: 300px 300px;
  filter: invert(1); opacity: .14; pointer-events: none;
}
footer.site > .wrap { position: relative; z-index: 1; }
footer.site h4 { font-family: "Avenir Next", Avenir, sans-serif; color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 14px; }
footer.site a { color: var(--rose-100); text-decoration: none; }
footer.site a:hover { color: #fff; text-decoration: underline; }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin-bottom: 8px; }
footer.site p { color: rgba(246,231,233,.8); font-size: .95rem; }
.foot-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 40px; padding-top: 20px; font-size: .85rem; color: rgba(246,231,233,.7); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  body { font-size: 17px; }
  .menu-toggle { display: block; }
  nav.main { display: none; width: 100%; }
  nav.main.open { display: block; }
  .bar { flex-wrap: wrap; }
  nav.main ul { flex-direction: column; gap: 2px; padding-bottom: 10px; }
  nav.main a { padding: 10px 14px; }
  .info-list li { flex-direction: column; gap: 2px; }
  .info-list .k { width: auto; }
}

@media (max-width: 760px) {
  .hero::after { display: none; }
  .hero::before, .page-head::before, section.alt::before { background-size: 190px 190px; opacity: .085; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero::after { animation: zweef 24s ease-in-out infinite; }
}
@keyframes zweef {
  0%, 100% { transform: translateY(-50%) rotate(0deg); }
  50%      { transform: translateY(-53%) rotate(-3deg); }
}

@media print {
  header.site, footer.site, .btn-row { display: none; }
  body { background: #fff; }
}
