/* StudioLokaal preview — warm atelier / bakery theme
   Distinct from Kaas (no utility-bar, no paper-card hero, no yellow/green).
   Branch themes swap accent + font pairing via [data-theme]. */

:root,
[data-theme="bakkerij"] {
  --cocoa: #2c1810;
  --cocoa-deep: #1a0e0a;
  --cocoa-soft: #3d2418;
  --wheat: #c4a574;
  --wheat-hot: #b8955e;
  --flour: #faf6f0;
  --flour-warm: #f3ebe0;
  --cream: #fffdf9;
  --ink: #2c1810;
  --muted: #6b5748;
  --line: rgba(44, 24, 16, 0.14);
  --star: #c4a574;
  --ok: #4a6741;
  --scrim: linear-gradient(105deg, rgba(26, 14, 10, 0.82) 0%, rgba(26, 14, 10, 0.55) 42%, rgba(26, 14, 10, 0.25) 100%);
  --serif: "Fraunces", "Libre Baskerville", Georgia, serif;
  --sans: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
  --shell: min(1120px, calc(100vw - 2rem));
  --radius: 2px;
}

[data-theme="schilder"] {
  --cocoa: #1e2a32;
  --cocoa-deep: #121a20;
  --cocoa-soft: #2a3a45;
  --wheat: #7a9e8a;
  --wheat-hot: #6a8e7a;
  --flour: #f4f6f5;
  --flour-warm: #e8eeeb;
  --cream: #fbfcfc;
  --ink: #1e2a32;
  --muted: #5a6a72;
  --line: rgba(30, 42, 50, 0.14);
  --star: #7a9e8a;
  --scrim: linear-gradient(105deg, rgba(18, 26, 32, 0.82) 0%, rgba(18, 26, 32, 0.5) 45%, rgba(18, 26, 32, 0.22) 100%);
  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "Source Sans 3", system-ui, sans-serif;
}

[data-theme="kapper"] {
  --cocoa: #2a1f28;
  --cocoa-deep: #181218;
  --cocoa-soft: #3d2e3a;
  --wheat: #c9897a;
  --wheat-hot: #b87868;
  --flour: #faf7f5;
  --flour-warm: #f2ebe8;
  --cream: #fffdfc;
  --ink: #2a1f28;
  --muted: #6e5c66;
  --line: rgba(42, 31, 40, 0.14);
  --star: #c9897a;
  --scrim: linear-gradient(105deg, rgba(24, 18, 24, 0.82) 0%, rgba(24, 18, 24, 0.5) 45%, rgba(24, 18, 24, 0.22) 100%);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Source Sans 3", system-ui, sans-serif;
}

[data-theme="default"] {
  --cocoa: #243038;
  --cocoa-deep: #151c22;
  --cocoa-soft: #344450;
  --wheat: #9a8b6e;
  --wheat-hot: #8a7b5e;
  --flour: #f7f5f1;
  --flour-warm: #ebe7e0;
  --cream: #fffcf8;
  --ink: #243038;
  --muted: #5c656c;
  --line: rgba(36, 48, 56, 0.14);
  --star: #9a8b6e;
  --scrim: linear-gradient(105deg, rgba(21, 28, 34, 0.82) 0%, rgba(21, 28, 34, 0.5) 45%, rgba(21, 28, 34, 0.22) 100%);
  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "Source Sans 3", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--flour);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
address { font-style: normal; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.shell { width: var(--shell); margin-inline: auto; }
.section { padding: 5rem 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 1000;
  padding: 10px 16px; color: var(--cream); background: var(--cocoa);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--wheat); outline-offset: 3px; }

/* ——— Sticky masthead (NO utility-bar) ——— */
.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 240, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.masthead__inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.wordmark {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  font-variation-settings: "SOFT" 50, "WONK" 0.4;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
  color: var(--cocoa);
}
.mast-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}
.mast-nav a {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  transition: color 0.15s ease;
}
.mast-nav a:hover { color: var(--cocoa); }
.bel-pill {
  display: none;
  min-height: 44px;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: var(--cocoa);
  color: var(--flour);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  align-items: center;
  transition: background 0.15s ease;
}
.bel-pill:hover { background: var(--cocoa-soft); }

@media (min-width: 760px) {
  .mast-nav { display: flex; }
  .bel-pill { display: inline-flex; }
}

/* Buttons */
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  color: var(--flour);
  background: var(--wheat);
  border-color: var(--wheat);
}
.btn-primary:hover { background: var(--wheat-hot); border-color: var(--wheat-hot); }
.btn-ghost {
  color: var(--flour);
  background: transparent;
  border-color: rgba(250, 246, 240, 0.55);
}
.btn-ghost:hover {
  background: rgba(250, 246, 240, 0.12);
  border-color: var(--flour);
}
.btn-quiet {
  color: var(--cocoa);
  background: var(--cream);
  border-color: var(--cocoa);
}
.btn-quiet:hover { background: var(--flour-warm); }
.btn.disabled { opacity: 0.45; pointer-events: none; }

.cta-row {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* Typography */
.kicker {
  margin: 0 0 0.75rem;
  color: var(--wheat);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 550;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: pretty;
  margin: 0;
  font-variation-settings: "SOFT" 30, "WONK" 0.5;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); max-width: 14ch; color: var(--flour); }
h2 { font-size: clamp(1.9rem, 4vw, 2.85rem); margin-bottom: 0.75rem; color: var(--cocoa); }
h3 { font-size: 1.3rem; line-height: 1.25; color: var(--cocoa); }
p { text-wrap: pretty; }

/* ——— Splash hero: full-bleed photo + LEFT text overlay (NO paper card) ——— */
.splash {
  position: relative;
  min-height: min(92vh, 720px);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
  background: var(--cocoa-deep);
}
.splash__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("./assets/hero.jpg") center / cover no-repeat;
}
.splash__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--scrim);
}
.splash__overlay {
  position: relative;
  width: 100%;
  padding: 4.5rem 0 4rem;
  max-width: var(--shell);
  margin-inline: auto;
}
.splash .kicker { color: var(--wheat); }
.splash__lead {
  margin: 1.1rem 0 0;
  font-size: 1.12rem;
  line-height: 1.55;
  color: rgba(250, 246, 240, 0.88);
  max-width: 36ch;
}
.splash .btn-primary {
  background: var(--wheat);
  color: var(--cocoa-deep);
  border-color: var(--wheat);
}
.splash .btn-primary:hover { background: #d4b88a; }

@media (min-width: 800px) {
  .splash { align-items: center; }
  .splash__overlay { padding: 5rem 0; }
}

/* ——— Story / about: copy LEFT, photo RIGHT ——— */
.story {
  background: var(--cream);
  border-block: 1px solid var(--line);
}
.story__layout {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 860px) {
  .story__layout {
    grid-template-columns: 1fr 1.05fr;
    gap: 4rem;
  }
  .story__frame { order: 2; }
  .story__copy { order: 1; }
}
.story__pull {
  margin: 0 0 1.25rem;
  padding-left: 1rem;
  border-left: 3px solid var(--wheat);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--cocoa);
  letter-spacing: -0.02em;
}
.story__copy p {
  margin: 0 0 0.8rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 42ch;
}
.story__copy p:last-child { margin-bottom: 0; }
.story__frame {
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 3;
  background: var(--flour-warm);
  box-shadow: 0 24px 48px -20px rgba(44, 24, 16, 0.35);
}
.story__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ——— Offerings: horizontal scroll cards (NOT numbered grid) ——— */
.offerings {
  background: var(--flour);
  overflow: hidden;
}
.section-head {
  margin-bottom: 1.75rem;
  max-width: 40rem;
}
.section-head p {
  margin: 0.45rem 0 0;
  color: var(--muted);
}
.demo-note {
  display: inline-block;
  margin-top: 0.7rem;
  padding: 0.28rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cocoa);
  background: var(--flour-warm);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.offer-rail {
  display: flex;
  gap: 1.15rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--wheat) transparent;
}
.offer-rail::-webkit-scrollbar { height: 6px; }
.offer-rail::-webkit-scrollbar-thumb {
  background: var(--wheat);
  border-radius: 3px;
}
.offer-card {
  position: relative;
  flex: 0 0 min(300px, 78vw);
  scroll-snap-align: start;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease;
}
.offer-card:hover {
  box-shadow: 0 16px 32px -16px rgba(44, 24, 16, 0.3);
}
.offer-card__media {
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: var(--flour-warm);
}
.offer-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.offer-card__body { padding: 1.2rem 1.2rem 1.4rem; }
.offer-card h3 { margin-bottom: 0.4rem; font-size: 1.2rem; }
.offer-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.badge-voorbeeld {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  padding: 0.3rem 0.6rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--flour);
  background: var(--cocoa);
  border-radius: 999px;
}

@media (min-width: 960px) {
  .offer-rail {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
  }
  .offer-card { flex: none; }
}

/* ——— Voices: cream cards on cocoa band ——— */
.voices {
  background: var(--cocoa);
  color: var(--flour);
  border: none;
}
.voices .section-head h2 { color: var(--flour); }
.voices .section-head p,
.voices .kicker { color: var(--wheat); }
.voices .demo-note {
  color: var(--flour);
  background: rgba(250, 246, 240, 0.1);
  border-color: rgba(250, 246, 240, 0.2);
}
.voice-grid {
  display: grid;
  gap: 1.15rem;
}
@media (min-width: 720px) {
  .voice-grid { grid-template-columns: repeat(3, 1fr); }
}
.voice-card {
  position: relative;
  background: var(--flour);
  color: var(--ink);
  border-radius: 6px;
  padding: 1.5rem 1.35rem 1.45rem;
}
.voice-card::before {
  content: "“";
  display: block;
  font-family: var(--serif);
  font-size: 3.5rem;
  line-height: 0.7;
  color: var(--wheat);
  margin-bottom: 0.65rem;
  font-weight: 500;
}
.voice-card .badge-voorbeeld {
  position: static;
  display: inline-block;
  margin-bottom: 0.65rem;
  background: var(--cocoa);
}
.stars {
  color: var(--wheat);
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.voice-card blockquote {
  margin: 0 0 0.85rem;
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.45;
  color: var(--cocoa);
  font-weight: 500;
}
.voice-card cite {
  font-style: normal;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ——— Reach / contact ——— */
.reach { padding-bottom: 5.5rem; background: var(--flour-warm); }
.reach__layout {
  display: grid;
  gap: 2.25rem;
}
@media (min-width: 860px) {
  .reach__layout.has-form {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: start;
  }
}
.reach__card {
  margin: 1.15rem 0 0;
  padding: 1.25rem 1.3rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  line-height: 1.65;
}
.reach__card strong {
  color: var(--cocoa);
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1.08rem;
  font-family: var(--serif);
}
.reach__cta { margin-top: 1.25rem; }
.reach .btn-primary {
  background: var(--cocoa);
  border-color: var(--cocoa);
  color: var(--flour);
}
.reach .btn-primary:hover { background: var(--cocoa-soft); }
.map-wrap {
  margin-top: 1.5rem;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  background: var(--flour);
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.map-link {
  margin: 0.55rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.map-link a { font-weight: 600; color: var(--cocoa); }

.contact-form-wrap {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.6rem 1.4rem 1.6rem;
}
.form-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 550;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  color: var(--cocoa);
}
.contact-form { display: grid; gap: 0.9rem; }
.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.88rem;
}
.contact-form label span { color: var(--muted); }
.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--flour);
  color: var(--ink);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--wheat) 55%, transparent);
  border-color: var(--wheat);
}
.form-hint {
  margin: 0.25rem 0 0;
  color: var(--ok);
  font-size: 0.92rem;
  font-weight: 600;
}

/* Colophon */
.colophon {
  padding: 1.5rem 0 2rem;
  background: var(--cocoa-deep);
  color: rgba(250, 246, 240, 0.7);
  font-size: 0.88rem;
}
.colophon__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}
.colophon strong { color: var(--flour); }

@media (max-width: 480px) {
  .splash { min-height: 580px; }
  .splash__overlay { padding: 3rem 0 3.25rem; }
  .section { padding: 3.5rem 0; }
  h1 { font-size: clamp(2.1rem, 9vw, 2.8rem); }
}


/* Quiet CTA on dark splash overlay */
.splash .btn-quiet {
  color: var(--flour);
  background: transparent;
  border-color: rgba(250, 246, 240, 0.55);
}
.splash .btn-quiet:hover {
  background: rgba(250, 246, 240, 0.12);
  border-color: var(--flour);
  color: var(--flour);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .offer-card, .mast-nav a { transition: none; }
}
