/* ==========================================================================
   DF Events — homepage styles
   Palette: sage #729072 · lavender #b7b7e5 · cream #e0d6cc
            ink #232c20 (warm near-black green) · paper #fffdfa
   ========================================================================== */

/* self-hosted fonts (SIL Open Font License, see /fonts/*-OFL.txt): variable
   files from Google Fonts, latin + latin-ext only, so no request leaves the site */
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/fraunces-italic-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/fraunces-italic-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: "Fraunces";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/fraunces-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/fraunces-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: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/inter-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/inter-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;
}

:root {
  /* brand */
  --sage: #729072;
  --sage-deep: #4d6349;   /* text/button on light: 6.5:1 on paper */
  --sage-dark: #3d5138;
  --lavender: #b7b7e5;    /* text on dark: 7.5:1 */
  --lavender-deep: #5c5c8f;
  --cream: #e0d6cc;

  /* surfaces */
  --paper: #fffdfa;
  --paper-2: #f4ede5;
  --line: #e4dbd1;
  --line-strong: #d3c6b8;
  --dark: #232c20;
  --dark-2: #2c3a29;

  /* text */
  --ink: #232c20;         /* 12+:1 on paper */
  --ink-soft: #3c4438;    /* 9+:1 on paper */
  --ink-muted: #6b6459;   /* 5.8:1 on paper */
  --ink-faint: #7a7368;   /* 4.6:1 on paper — placeholders only */
  --on-dark: #f1ece4;     /* 13+:1 on ink */
  --on-dark-muted: #a9b3a4; /* 6.6:1 on ink */

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(35, 44, 32, .06);
  --shadow: 0 18px 44px -22px rgba(35, 44, 32, .30);
  --shadow-lg: 0 34px 70px -30px rgba(35, 44, 32, .45);
  --header-h: 84px;
  --ease: cubic-bezier(.22, .8, .3, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

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

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -.015em;
  margin: 0;
}

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

a { color: var(--sage-deep); }

ul { margin: 0; padding: 0; list-style: none; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--on-dark);
  padding: .75rem 1.25rem;
  border-radius: 0 0 12px 0;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

.container {
  width: min(1180px, 100% - 3rem);
  margin-inline: auto;
}

/* --------------------------------------------------------- shared bits */
.eyebrow {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin: 0 0 .9rem;
}
.eyebrow--on-dark { color: var(--lavender); }

.section-title {
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem);
}
.section-title--on-dark { color: var(--on-dark); }

.section-head { max-width: 62ch; margin-bottom: 3.25rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-intro {
  margin-top: 1.1rem;
  font-size: 1.09rem;
  color: var(--ink-muted);
}
.section--dark .section-intro { color: var(--on-dark-muted); }

.section { padding: clamp(4.5rem, 8vw, 7.5rem) 0; position: relative; }
.section--light { background: var(--paper); }
.section--cream { background: var(--paper-2); }
.section--dark { background: var(--dark); }

.on-dark-text { color: var(--on-dark); }
.on-dark-muted { color: var(--on-dark-muted); }

.rule {
  display: block;
  width: 62px;
  height: 4px;
  margin-top: 1.75rem;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--sage), var(--lavender));
}

.lead {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1rem + 1vw, 1.5rem);
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 1.4em;
}

.signature {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--sage-deep);
  margin-top: 1.75rem;
}

/* petal motif ------------------------------------------------ */
.petal-list li {
  position: relative;
  padding-left: 1.85rem;
  margin-bottom: .5rem;
}
.petal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: .62rem;
  height: .62rem;
  background: var(--sage);
  border-radius: 60% 40% 55% 45%;
}
.petal-list--on-dark li { color: var(--on-dark); }
.petal-list--on-dark li::before { background: var(--lavender); }

.excl-list li {
  position: relative;
  padding-left: 1.85rem;
  margin-bottom: .45rem;
  color: var(--ink-muted);
  text-decoration: line-through;
  text-decoration-color: var(--line-strong);
}
.excl-list li::before {
  content: "×";
  position: absolute;
  left: .18rem;
  top: 0;
  color: var(--ink-muted);
  text-decoration: none;
  font-weight: 600;
}

/* buttons ---------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem 1.9rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .97rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease),
              box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: .7rem 1.35rem; font-size: .9rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--sage-deep); color: var(--paper); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--sage-dark); }

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

.btn--ghost { background: transparent; color: var(--on-dark); border-color: rgba(241, 236, 228, .55); }
.btn--ghost:hover { background: rgba(241, 236, 228, .12); border-color: var(--on-dark); }

.btn--outline { background: transparent; color: var(--sage-deep); border-color: var(--line-strong); }
.btn--outline:hover { background: var(--sage-deep); color: var(--paper); border-color: var(--sage-deep); }

/* --------------------------------------------------------- header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 1.1rem 0;
  transition: padding .3s var(--ease), background-color .3s var(--ease),
              box-shadow .3s var(--ease);
}
.site-header.is-scrolled {
  padding: .55rem 0;
  background: rgba(244, 237, 229, .88);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 1px 0 rgba(35, 44, 32, .08);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  margin-right: auto;
}
/* wordmark (partials/logo.ejs): light on the dark hero, footer and login
   page; its own navy and grey once the header turns light. Gold either way. */
.logo {
  --logo-h: 58px;
  display: block;
  flex: none;
  height: var(--logo-h);
  width: calc(var(--logo-h) * var(--logo-ratio, 1.8441));   /* viewBox 267.4 x 145 */
  transition: height .3s var(--ease), width .3s var(--ease);
}
/* small-size version for the header (partials/logo.ejs, compact): the EVENTS
   letters 1.8x, each around its own top centre, so they stay readable (9px+)
   while DF keeps its size; the wide tracking absorbs the extra width */
.logo--compact { --logo-ratio: 1.6935; }                    /* viewBox 267.4 x 157.9 */
.logo--compact .logo__sub > g {
  transform-box: fill-box;
  transform-origin: 50% 0;
  transform: scale(1.8);
}
.logo__mark { fill: var(--logo-mark, var(--paper)); transition: fill .3s var(--ease); }
.logo__sub { fill: var(--logo-sub, var(--cream)); transition: fill .3s var(--ease); }
.logo__rule { fill: #c4a46a; }
.is-scrolled .logo { --logo-h: 50px; --logo-mark: #10243f; --logo-sub: #7c7874; }
.brand--footer .logo { --logo-h: 82px; }   /* original proportions: EVENTS 9px+ from 81px */

/* the wordmark already says "DF Events": the name stays for screen readers
   (it is the link's accessible name) and for edit mode (admin.css) */
.brand__name {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--on-dark);
  transition: color .3s var(--ease);
}
.is-scrolled .brand__name { color: var(--ink); }

.nav { display: flex; gap: 1.9rem; }
.nav a {
  color: rgba(241, 236, 228, .92);
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  transition: color .25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
.is-scrolled .nav a { color: var(--ink-soft); }
.is-scrolled .nav a:hover { color: var(--sage-deep); }

/* over the hero the CTA is cream so it reads against the dark gradient */
.site-header:not(.is-scrolled) .header__cta { background: var(--cream); color: var(--ink); }
.site-header:not(.is-scrolled) .header__cta:hover { background: var(--paper); }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(241, 236, 228, .14);
  cursor: pointer;
}
.is-scrolled .nav-toggle { background: rgba(35, 44, 32, .07); }
.nav-toggle__box { display: block; width: 20px; margin: 0 auto; }
.nav-toggle__box span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--on-dark);
  transition: transform .3s var(--ease), opacity .2s var(--ease), background-color .3s var(--ease);
}
.nav-toggle__box span + span { margin-top: 5px; }
.is-scrolled .nav-toggle__box span { background: var(--ink); }
.nav-toggle[aria-expanded="true"] .nav-toggle__box span { background: var(--on-dark); }
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* menu open: the header sits on the dark overlay whatever the scroll position,
   so it drops the light bar and uses the dark-background colours throughout
   (otherwise the light ✕ ends up on the light scrolled bar) */
.site-header.is-menu-open {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.is-menu-open .nav-toggle { background: rgba(241, 236, 228, .14); }
.is-menu-open .logo { --logo-mark: var(--paper); --logo-sub: var(--cream); }
.is-menu-open .brand__name { color: var(--on-dark); }

/* mobile overlay --------------------------------------------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #2c3a29, #232c20 60%);
  opacity: 0;
  visibility: hidden;
  transition: opacity .32s var(--ease), visibility .32s var(--ease);
}
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-nav__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  text-align: center;
  padding: 2rem;
}
.mobile-nav__links a:not(.btn) {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 6vw, 2rem);
  color: var(--on-dark);
  text-decoration: none;
}
.mobile-nav__links a:not(.btn):hover { color: var(--lavender); }
.mobile-nav__links .btn { margin-top: .75rem; }

/* --------------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 9rem;
  background: linear-gradient(155deg, #35452f 0%, #2c3a29 45%, #232c20 100%);
  overflow: hidden;
  isolation: isolate;
}

.hero__blobs { position: absolute; inset: 0; z-index: -1; }

/* scrim: paints above the blobs (both z-index -1, ::after is last in order)
   but below the content, so headline/eyebrow keep their contrast */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg,
    rgba(35, 44, 32, .66) 0%,
    rgba(35, 44, 32, .42) 42%,
    rgba(35, 44, 32, .10) 74%,
    rgba(35, 44, 32, 0) 100%);
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 60% 40% 55% 45%;
  filter: blur(70px);
}
.blob--sage {
  width: 44vw; height: 44vw;
  max-width: 560px; max-height: 560px;
  top: -12%; right: -8%;
  background: rgba(114, 144, 114, .5);
}
.blob--lavender {
  width: 34vw; height: 34vw;
  max-width: 440px; max-height: 440px;
  bottom: 4%; left: -10%;
  background: rgba(183, 183, 229, .3);
}
.blob--cream {
  width: 22vw; height: 22vw;
  max-width: 280px; max-height: 280px;
  top: 42%; right: 22%;
  background: rgba(224, 214, 204, .16);
}

.hero__inner { max-width: 62rem; }
.hero__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.6rem, 1.4rem + 6vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -.025em;
  color: var(--paper);
  max-width: 16ch;
}
.hero__subtitle {
  margin-top: 1.6rem;
  max-width: 56ch;
  font-size: clamp(1.02rem, .96rem + .35vw, 1.2rem);
  color: var(--cream);
}
.hero__actions {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(60px, 8vw, 118px);
  display: block;
}

/* --------------------------------------------------------- subpages */
/* a short dark band in the hero's gradient, so the transparent header reads
   the same as on the homepage */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 3.5rem) 0 clamp(5.5rem, 9vw, 8.5rem);
  background: linear-gradient(155deg, #35452f 0%, #2c3a29 45%, #232c20 100%);
  overflow: hidden;
  isolation: isolate;
}
.page-hero__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--paper);
}
.page-hero__intro {
  margin-top: 1.2rem;
  max-width: 56ch;
  font-size: clamp(1.02rem, .96rem + .35vw, 1.2rem);
  color: var(--cream);
}

/* long-form text, e.g. the privacy statement */
.prose { max-width: 70ch; }
.prose h2 {
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  margin: 2.6rem 0 .8rem;
}
.prose .petal-list { margin-bottom: 1.05em; }
.prose a { text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose__meta { color: var(--ink-muted); font-size: .9rem; }

/* --------------------------------------------------------- split layout */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.split--reverse { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.split__aside { position: sticky; top: calc(var(--header-h) + 2rem); }
.split__body > p { color: var(--ink-soft); }
.split__body > .section-title { margin-bottom: 1.6rem; }

/* --------------------------------------------------------- cards-3 */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.note-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.1rem 1.9rem;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.note-card__petal {
  display: block;
  width: 30px;
  height: 30px;
  margin-bottom: 1.35rem;
  border-radius: 60% 40% 55% 45%;
  background: linear-gradient(140deg, var(--sage), var(--lavender));
}

.type-card {
  background: rgba(255, 253, 250, .06);
  border: 1px solid rgba(241, 236, 228, .14);
  border-radius: var(--radius-lg);
  padding: 2.1rem 1.9rem;
}
.type-card__title {
  color: var(--on-dark);
  font-size: 1.32rem;
  margin-bottom: 1.35rem;
}

/* --------------------------------------------------------- packages */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
  gap: 1.75rem;
  /* stretch, so the three cards share a baseline and the CTAs line up */
  align-items: stretch;
}

.pkg {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.pkg:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.pkg--featured {
  border: 2px solid var(--sage);
  box-shadow: var(--shadow);
  padding-top: 3rem;
}
.pkg__badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: .5rem 1.15rem;
  border-radius: 999px;
  background: var(--sage-deep);
  color: var(--paper);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.pkg__name { font-size: 1.6rem; }
.pkg__subtitle {
  margin-top: .8rem;
  color: var(--ink-muted);
  font-size: .98rem;
}
.pkg__label {
  margin: 1.9rem 0 .85rem;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage-deep);
}
.pkg__label--muted { color: var(--ink-muted); }
.pkg .petal-list li, .pkg .excl-list li { font-size: .97rem; }
.pkg__footnote {
  margin: 1.9rem 0 1.75rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: .92rem;
  color: var(--ink-muted);
}
.pkg .btn { margin-top: auto; }

/* --------------------------------------------------------- portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}
/* the first few projects (or only the "Nieuw project" tile in edit mode) keep
   a column's width, centred, instead of stretching one photo across the row */
.portfolio-grid:not(:has(> :nth-child(4))) {
  grid-template-columns: repeat(auto-fit, minmax(270px, 360px));
  justify-content: center;
}

.pf-card {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-2);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
}
.pf-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.pf-card:hover img { transform: scale(1.04); }

.pf-card__caption {
  position: absolute;
  inset: auto 0 0;
  padding: 2.75rem 1.35rem 1.2rem;
  /* bijna dekkend achter de tekst zelf: een zachte verloop-uitloop alleen
     bovenaan, zodat het bijschrift ook op een lichte foto leesbaar blijft */
  background: linear-gradient(to top,
    rgba(35, 44, 32, .93) 0%,
    rgba(35, 44, 32, .82) 62%,
    rgba(35, 44, 32, 0) 100%);
  color: var(--paper);
  font-size: .95rem;
  font-weight: 500;
}

.pf-card--empty {
  background: var(--paper-2);
  border: 2px dashed var(--line-strong);
  box-shadow: none;
  display: flex;
  flex-direction: column;
}
.pf-card__placeholder {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  color: var(--sage-deep);
}
.pf-icon { width: 42px; height: 42px; color: var(--sage); }
.pf-card__empty-label { font-size: .95rem; font-weight: 600; }
.pf-card__caption--static {
  position: relative;
  background: none;
  padding: 0 1.35rem 1.4rem;
  color: var(--ink-muted);
  text-align: center;
  font-weight: 400;
}

/* --------------------------------------------------------- about */
.profile { position: sticky; top: calc(var(--header-h) + 2rem); }
.profile__card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.9rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.profile__avatar,
.profile__photo {
  width: 128px;
  height: 128px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  object-fit: cover;
}
.profile__avatar {
  display: grid;
  place-items: center;
  /* deeper than the decorative sage/lavender pair: the initials sit on top of
     it, and the pastel end only reached 2.4:1 against off-white */
  background: linear-gradient(140deg, var(--sage-deep) 0%, #6b6ba6 100%);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.profile__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: .2rem;
}
.profile__role { color: var(--ink-muted); font-size: .95rem; margin-bottom: 1.35rem; }
.profile__meta { display: grid; gap: .5rem; font-size: .95rem; }
.profile__meta a { color: var(--sage-deep); text-decoration: none; word-break: break-word; }
.profile__meta a:hover { text-decoration: underline; }

/* --------------------------------------------------------- offerte */
.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 4vw, 4.5rem);
  align-items: start;
}
.quote-factors { margin: 1.75rem 0 1.75rem; }

.callout {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: 1.9rem;
  padding: 1rem 1.35rem;
  border-radius: 999px;
  background: rgba(183, 183, 229, .16);
  border: 1px solid rgba(183, 183, 229, .3);
  color: var(--on-dark);
  font-size: .95rem;
  font-weight: 500;
}
.callout__dot {
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 60% 40% 55% 45%;
  background: var(--lavender);
}

.quote-contact {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(241, 236, 228, .16);
}
.quote-contact__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--on-dark);
  margin-bottom: .5rem;
}
.quote-contact__list { margin-top: 1.35rem; display: grid; gap: .7rem; font-size: .97rem; }
.quote-contact__list li { display: flex; gap: 1rem; }
.quote-contact__list li > span:first-child {
  width: 5.5rem;
  flex: none;
  color: var(--on-dark-muted);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding-top: .18rem;
}
.quote-contact__address { display: flex; flex-direction: column; }
.quote-contact__address .on-dark-muted { font-size: .88rem; }
.quote-contact__list a { color: var(--cream); text-decoration: none; }
.quote-contact__list a:hover { color: var(--paper); text-decoration: underline; }

/* white card sitting on the dark section: every colour re-stated */
.form-card {
  background: var(--paper);
  color: var(--ink-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  box-shadow: var(--shadow-lg);
}
.form-card__title {
  color: var(--ink);
  font-size: clamp(1.45rem, 1.2rem + 1vw, 1.85rem);
  margin-bottom: 1.9rem;
}
.form-card__note {
  margin-top: 1rem;
  text-align: center;
  font-size: .88rem;
  color: var(--ink-muted);
}
.form-card__privacy {
  margin: 1rem 0 0;
  text-align: center;
  font-size: .85rem;
  color: var(--ink-muted);
}
.form-card__privacy a { text-underline-offset: 3px; }
.form-card__privacy + .form-card__note { margin-top: .2rem; }

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1.25rem;
}
.field { display: flex; flex-direction: column; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field label {
  color: var(--ink-soft);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .03em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .8rem .95rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: .97rem;
  line-height: 1.5;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-faint); }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%234d6349' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.5rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(114, 144, 114, .22);
}

/* form feedback: same red as the login modal (#8c2f2f, 8:1 on paper) */
.field [aria-invalid="true"] { border-color: #8c2f2f; }
.field [aria-invalid="true"]:focus { border-color: #8c2f2f; box-shadow: 0 0 0 3px rgba(140, 47, 47, .18); }
.field__error {
  margin: 0;
  color: #8c2f2f;
  font-size: .84rem;
  line-height: 1.45;
}

/* honeypot: off-screen instead of display:none, which some bots skip */
.field--hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-card__error {
  margin: 0 0 .35rem;
  padding: .7rem .9rem;
  border-radius: 10px;
  background: #fbeaea;
  color: #8c2f2f;            /* 6.4:1 on #fbeaea */
  font-size: .9rem;
}
.form-card__error[hidden] { display: none; }

.form-card__success {
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius);
  background: rgba(114, 144, 114, .14);
  color: var(--sage-dark);   /* 7:1 on the tint */
  font-weight: 500;
}
.form-card__success:focus { outline: none; }   /* focused by script only */
.form-card__success p { margin: 0; }

.quote-form[hidden] { display: none; }

.btn:disabled,
.btn[aria-disabled="true"] { opacity: .65; cursor: progress; }
.btn--primary:disabled:hover,
.btn--primary[aria-disabled="true"]:hover { background: var(--sage-deep); }

/* --------------------------------------------------------- footer */
.site-footer {
  background: var(--dark);
  color: var(--on-dark-muted);
  padding: clamp(3.5rem, 6vw, 5rem) 0 2rem;
  border-top: 1px solid rgba(241, 236, 228, .1);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
}
.brand--footer .brand__name { color: var(--on-dark); }
.footer__tagline { margin-top: 1.2rem; max-width: 34ch; color: var(--on-dark-muted); }
.footer__domain { color: var(--cream); font-weight: 500; }

.footer__col { display: flex; flex-direction: column; gap: .65rem; }
.footer__heading {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: .5rem;
}
.footer__col a {
  color: var(--on-dark-muted);
  text-decoration: none;
  font-size: .97rem;
  width: fit-content;
}
.footer__col a:hover { color: var(--cream); text-decoration: underline; }
.footer__address { margin-top: .3rem; font-size: .92rem; }
.footer__address span { display: block; font-size: .85rem; font-style: italic; }
.footer__kvk { margin-top: .3rem; font-size: .92rem; }

.footer__bottom {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(241, 236, 228, .12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: .9rem;
}
.footer__bottom a { color: var(--cream); text-decoration: none; }
.footer__bottom a:hover { text-decoration: underline; }
.footer__bottom-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }

/* --------------------------------------------------------- reveal */
.js-anim .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js-anim .reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------- responsive */
@media (max-width: 1024px) {
  .split, .split--reverse, .quote-grid { grid-template-columns: minmax(0, 1fr); }
  .split__aside, .profile { position: static; }
  .profile__card { max-width: 380px; }
}

@media (max-width: 880px) {
  .nav, .header__cta { display: none; }
  .nav-toggle { display: block; }
  :root { --header-h: 74px; }
}

@media (max-width: 640px) {
  .container { width: min(1180px, 100% - 2.5rem); }
  body { font-size: 1rem; }
  .quote-form { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-bottom: 7rem; }
  .hero__actions .btn { width: 100%; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .quote-contact__list li { flex-direction: column; gap: .1rem; }
  .quote-contact__list li > span:first-child { width: auto; }
}

@media (max-width: 400px) {
  .container { width: min(1180px, 100% - 2rem); }
  .pkg, .note-card, .type-card { padding-left: 1.4rem; padding-right: 1.4rem; }
  .brand__name { font-size: 1.05rem; }
  .logo { --logo-h: 52px; }
  .is-scrolled .logo { --logo-h: 50px; }
}

/* --------------------------------------------------------- motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .btn:hover, .pkg:hover { transform: none; }
  .pf-card:hover img { transform: none; }
}
