/*
Theme Name: Studio Overzicht
Theme URI: https://studiooverzicht.nl
Author: Studio Overzicht
Author URI: https://studiooverzicht.nl
Description: Op maat gebouwd thema voor Studio Overzicht (Olga Sentis) — Zachtgroen/brons/roze huisstijl.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: studio-overzicht
*/

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

:root {
  --paper: #FBFAF8;
  --paper-alt: #F2F4F5;
  --paper-raised: #FFFFFF;
  --ink: #2F3237;
  --ink-soft: #7A7E85;
  --ink-faint: #A5A7AC;
  --accent: #729FA5;
  --accent-dark: #729FA5;
  --accent-tint: #E3E8E8;
  --gold: #A8865A;
  --gold-deep: #59462F;
  --gold-tint: #E9E0D5;
  --rose: #F3D8D3;
  --rose-deep: #8C4F58;
  --line: #E4E1D7;
  --shadow: 0 1px 2px rgba(47,50,55,0.06), 0 8px 24px rgba(47,50,55,0.05);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #201C18;
    --paper-alt: #232D2E;
    --paper-raised: #2A2521;
    --ink: #F3EEE4;
    --ink-soft: #A9A59D;
    --ink-faint: #7F7A74;
    --accent: #88AFB5;
    --accent-dark: #729FA5;
    --accent-tint: #293B3D;
    --gold: #C1A889;
    --gold-deep: #A8865A;
    --gold-tint: #3E3327;
    --rose: #402629;
    --rose-deep: #C99CA3;
    --line: #46423D;
    --shadow: 0 1px 2px rgba(0,0,0,0.35), 0 8px 24px rgba(0,0,0,0.3);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, "Iowan Old Style", serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
  color: var(--ink);
}

a { color: inherit; }
img { max-width: 100%; height: auto; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---- nav ---- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
nav.wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
  position: relative; /* anchors the mobile dropdown (.nav-collapse) below */
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex: none;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 999px;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name {
  font-family: "Fraunces", serif;
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--ink);
}
.brand-tag {
  font-size: 0.72rem;
  color: var(--ink-faint);
  font-style: italic;
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.94rem;
  flex-wrap: wrap;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--accent-dark); }
.nav-links li.current-menu-item > a,
.nav-links a.is-current { color: var(--accent-dark); font-weight: 500; }
.nav-cta {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--accent-dark);
  color: #fff !important;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.nav-cta:hover, .nav-cta:focus-visible { background: var(--accent); }

/* Wraps nav-links + nav-cta together: on desktop this is just an inline
   group next to the logo (see nav.wrap's flex layout above); on mobile it
   becomes the dropdown panel that the hamburger button opens, below. */
.nav-collapse {
  display: flex;
  align-items: center;
  gap: 36px;
}

/* ---- mobile menu button (hidden on desktop) ---- */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  flex: none;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
/* Hamburger morphs into an X while the mobile menu is open. */
.site-header.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 780px) {
  /* Keep the header brand on tidy single lines on narrow screens -- with
     the CTA button now living inside the mobile dropdown instead of the
     header bar (see .nav-collapse .nav-cta below), there's room for both
     the name and the tagline here, they just need to not wrap. */
  .brand-name { white-space: nowrap; font-size: 1rem; }
  .brand-tag { white-space: nowrap; font-size: 0.66rem; }

  .nav-toggle { display: inline-flex; }

  .nav-collapse {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 28px rgba(20, 20, 20, 0.12);
    padding: 8px 0 20px;
  }
  .site-header.nav-open .nav-collapse { display: flex; }

  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { display: block; padding: 14px 32px; }

  .nav-collapse .nav-cta { margin: 14px 32px 0; text-align: center; }
}

/* ---- page hero ---- */
.page-hero { padding: 72px 0 40px; }
/* Generic pages (page.php, e.g. Privacyverklaring) show only a title in the
   hero, then the page's own content right below -- the standard 40px+68px
   hero-to-content gap (meant to give a hero photo/intro room to breathe)
   reads as a big empty gap here, so it's tightened just for this template.
   (Needs the doubled-up selector below: "section.block" elsewhere in this
   file is more specific than a single class, so a single-class override
   here would silently lose and change nothing.) */
.page-hero.page-hero--page { padding-bottom: 12px; }
/* Contact page: the hero (just a short title + tagline) is immediately
   followed by the info/form cards -- same oversized fixed gap as above,
   tightened the same way (needs the doubled-up selector for the same
   specificity reason noted above), just a bit less tight since the cards
   themselves already have visual weight. */
.page-hero.page-hero--contact { padding-bottom: 24px; }
.page-hero.page-hero--overmij { padding-bottom: 20px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--rose-deep);
  background: var(--rose);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.page-hero h1 {
  font-size: clamp(2.1rem, 3.6vw, 2.85rem);
  line-height: 1.12;
  max-width: 20ch;
}
.page-hero .brand-tagline,
.page-hero p.lede.tagline {
  font-style: italic;
  color: var(--ink-faint);
  font-size: 1rem;
  margin: 4px 0 0;
}
.page-hero p.lede {
  margin-top: 20px;
  max-width: 62ch;
  color: var(--gold-deep);
  font-size: 1.06rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 30px;
}
.hero-grid .photo-frame { width: 100%; max-width: 260px; margin-left: auto; }
.hero-statement {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: clamp(1.2rem, 1.9vw, 1.7rem);
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 26px;
  max-width: 44ch;
}
.photo-frame {
  aspect-ratio: 3/4;
  border-radius: 20px;
  border: 1.5px dashed var(--gold);
  background: var(--paper-alt);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--ink-faint);
  text-align: center;
  padding: 24px;
}
.photo-frame svg { width: 44px; height: 44px; color: var(--gold); }
.photo-frame span { font-size: 0.82rem; }
.photo-frame img { border-radius: 20px; width: 100%; height: 100%; object-fit: cover; }
.photo-frame.has-photo { border: none; padding: 0; background: none; }

@media (max-width: 720px) {
  .hero-grid { grid-template-columns: 1fr; }
  .photo-frame { max-width: 260px; margin: 0 auto; }
}

/* ---- section shell ---- */
section.block { padding: 68px 0; }
section.block.block--page-content { padding-top: 12px; }
section.block.block--contact-content { padding-top: 24px; }
section.block.block--overmij-intro { padding-top: 20px; }
.alt { background: var(--paper-alt); }
.section-head { max-width: 62ch; margin-bottom: 40px; }
.section-head .kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-deep);
  margin-bottom: 10px;
  display: block;
}
.section-head h2 { font-size: clamp(1.5rem, 2.8vw, 1.95rem); }
.section-head p { color: var(--gold-deep); margin-top: 12px; }

.prose { max-width: 68ch; color: var(--ink); font-size: 1.03rem; }
.prose p { margin: 0 0 18px; }
.prose p:last-child { margin-bottom: 0; }

.pull-quote {
  font-family: "Fraunces", serif;
  font-size: 1.6rem;
  color: var(--accent-dark);
  max-width: 22ch;
  margin: 0 0 20px;
  line-height: 1.3;
}

/* ---- pain points / cards ---- */
.pain-grid, .fact-grid, .check-grid, .service-list, .testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.pain-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
}
.pain-card .num {
  font-family: "Fraunces", serif;
  color: var(--gold);
  font-size: 1.5rem;
  display: block;
  margin-bottom: 12px;
}
.pain-card p { color: var(--ink); font-size: 0.94rem; margin: 0; }

.check-grid { gap: 18px 28px; }
.check-item { display: flex; gap: 14px; align-items: flex-start; }
.check-item .mark {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent-dark);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  margin-top: 2px;
}
.check-item p { margin: 0; color: var(--ink); font-size: 0.98rem; }

.why-copy { max-width: 68ch; color: var(--gold-deep); font-size: 1.02rem; margin-bottom: 40px; }
.why-copy strong { color: var(--ink); font-weight: 500; }
.service-list { gap: 18px; }
.service-item {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: var(--shadow);
}
.service-item .service-icon {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--rose);
  color: var(--rose-deep);
  display: grid;
  place-items: center;
}
.service-item .service-icon svg { width: 19px; height: 19px; }
.service-item p { margin: 0; font-size: 0.95rem; color: var(--ink); }

.outcome-list { display: flex; flex-direction: column; gap: 18px; max-width: 78ch; }
.outcome-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.outcome-item:last-child { border-bottom: none; padding-bottom: 0; }
.outcome-item .num {
  flex: none;
  font-family: "Fraunces", serif;
  color: var(--gold);
  font-size: 1.3rem;
  width: 2.2ch;
}
.outcome-item p { margin: 0; color: var(--ink); font-size: 0.97rem; }

.fact-grid { gap: 16px 28px; }
.fact-item { display: flex; gap: 12px; align-items: flex-start; }
.fact-item .dot {
  flex: none;
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--gold);
  margin-top: 9px;
}
.fact-item p { margin: 0; color: var(--ink); font-size: 0.98rem; }

/* ---- CTA buttons ---- */
.btn-primary {
  background: var(--accent-dark);
  color: #fff;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background 0.15s ease, transform 0.15s ease;
  display: inline-block;
  font-family: inherit;
  font-size: 0.98rem;
}
.btn-primary:hover, .btn-primary:focus-visible { background: var(--accent); color: #fff; transform: translateY(-1px); }
.cta-row { margin-top: 32px; }

/* ---- investering ---- */
.invest-band {
  background: var(--accent-dark);
  color: #fff;
  border-radius: 24px;
  padding: 44px 48px;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 32px;
  align-items: center;
}
.invest-band h2 { color: #fff; }
.invest-band p { color: rgba(255,255,255,0.88); margin: 14px 0 0; max-width: 60ch; }
.invest-band .rate { font-family: "Fraunces", serif; font-size: 2.6rem; text-align: right; white-space: nowrap; }
.invest-band .rate span { display: block; font-size: 0.85rem; font-family: "IBM Plex Sans", sans-serif; color: rgba(255,255,255,0.75); font-weight: 400; margin-top: 4px; }
.invest-band .btn-primary { background: #fff; color: var(--ink); margin-top: 20px; }
.invest-band .btn-primary:hover { background: var(--rose); color: var(--rose-deep); }

/* ---- testimonials ---- */
.testi-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.testi-card blockquote {
  margin: 0 0 16px;
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.6;
  border-left: 3px solid var(--gold);
  padding-left: 16px;
}
.testi-card .cite { margin-top: auto; font-size: 0.84rem; color: var(--ink-faint); font-style: normal; }
.testi-card .cite::before { content: "— "; }
.testi-card.featured { background: var(--accent-tint); border-color: var(--accent-tint); grid-column: span 2; }

@media (max-width: 720px) {
  .invest-band { grid-template-columns: 1fr; text-align: left; }
  .invest-band .rate { text-align: left; }
  .testi-card.featured { grid-column: span 1; }
}

/* ---- reflective closing ---- */
.reflect {
  max-width: 72ch;
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--ink);
  border-left: 3px solid var(--gold);
  padding-left: 24px;
}
.reflect p { margin: 0 0 16px; }
.reflect p:last-child { margin-bottom: 0; }
.punch { font-family: "Fraunces", serif; font-size: 1.5rem; color: var(--accent-dark); margin: 0 0 28px; }

/* ---- final cta ---- */
.cta-band {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 52px;
  text-align: center;
  box-shadow: var(--shadow);
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: var(--gold-deep); margin: 0 0 26px; }
.cta-band .punch { text-align: center; }

/* ---- contact page ---- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: start; }
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; } }
.info-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.info-card h2 { font-size: 1.3rem; margin-bottom: 22px; }
.info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.info-row:last-child { margin-bottom: 0; }
.info-row .icon {
  flex: none;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--rose);
  color: var(--rose-deep);
  display: grid;
  place-items: center;
}
.info-row .icon svg { width: 18px; height: 18px; }
.info-row .label { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-faint); margin-bottom: 2px; }
.info-row .value { font-size: 0.98rem; color: var(--ink); }
.info-row a.value { text-decoration: none; }
.info-row a.value:hover { color: var(--accent-dark); }

.form-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 36px;
  box-shadow: var(--shadow);
}
.form-card h2 { font-size: 1.3rem; margin-bottom: 6px; }
.form-card .req-note { font-size: 0.82rem; color: var(--ink-faint); margin: 0 0 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.86rem; color: var(--ink); }
.field label .opt { color: var(--ink-faint); font-weight: 400; }
.field input, .field textarea, .form-card select {
  font: inherit;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  width: 100%;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 110px; font-family: inherit; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.86rem; color: var(--ink); }
.consent input { margin-top: 3px; width: auto; }
.form-actions { margin-top: 6px; }

/* ---- contact form submit notices ---- */
.form-notice {
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 28px;
  font-size: 0.96rem;
}
.form-notice-ok { background: var(--accent-tint); color: var(--accent-dark); }
.form-notice-error { background: var(--rose); color: var(--rose-deep); }
.form-notice-error a { text-decoration: underline; }

/* ---- honeypot field (hidden from real visitors) ---- */
.so-hp { position: absolute; left: -9999px; }

@media (max-width: 520px) {
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
}

/* ---- footer ---- */
footer.site-footer { border-top: 1px solid var(--line); padding: 40px 0; background: var(--paper-alt); }
footer.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 0.88rem; color: var(--ink); }
footer.site-footer .foot-links { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
footer.site-footer .foot-links a { text-decoration: none; color: var(--ink); }
footer.site-footer .foot-links a:hover { color: var(--accent-dark); }
footer.site-footer .foot-meta { text-align: right; font-size: 0.8rem; color: var(--ink-faint); }

/* ---- WordPress core block compatibility (so the block editor content matches) ----
   .entry-content always sits inside a .wrap here (see page.php), which already
   centers the column and adds the 32px side padding -- so its children must NOT
   add that same padding again, or paragraph/list text ends up indented ~32px
   further in than the page title above it. */
.entry-content > * { max-width: 1080px; margin-left: auto; margin-right: auto; }
.entry-content .alignfull { max-width: none; padding-left: 0; padding-right: 0; }
.entry-content .alignfull > .wrap { max-width: 1080px; margin: 0 auto; padding: 0 32px; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); word-wrap: normal !important; height: 1px; width: 1px; overflow: hidden; }
