/* ── Reset ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Tokens ─────────────────────────────────────── */
:root {
  --brown:  #883B23;     /* terracotta */
  --green:  #96C11F;
  --cream:  #FFE7C4;
  --text:   #3C3843;
  --muted:  #6b6671;
  --purple: #A286B7;     /* footer */
  --bg:     #ffffff;

  --font-display: 'Lilita One', system-ui, Arial, sans-serif;
  --font-body:    'Fira Sans', system-ui, sans-serif;

  --fs-body:    1rem;
  --lh-body:    1.55;

  --content-w:  960px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

p { line-height: var(--lh-body); }

/* Site-wide h1 weight */
h1 { font-weight: 500; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }

/* ── A11y ───────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--brown);
  color: var(--cream);
  padding: .5rem 1rem;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  text-decoration: none;
  z-index: 9999;
  transition: top .15s;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

/* ── Buttons ────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.25;
  padding: .75rem 1.6rem;
  border-radius: 14px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: filter .15s, transform .15s;
  max-width: 260px;
  border: 0;
}
.btn:hover  { filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn-green  { background: var(--green); color: var(--text); }
.btn-brown  { background: var(--brown); color: var(--cream); }
.btn-cream  { background: var(--cream); color: var(--brown); }

/* ════════════════════════════════════════════════
   SITE HEADER
════════════════════════════════════════════════ */
.site-header {
  background: #fff;
  border-bottom: 1px solid #f0eae3;
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header-inner {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.site-logo img {
  height: 40px;
  width: auto;
  display: block;
}
.site-nav {
  display: flex;
  gap: 1.6rem;
}
.site-nav a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .95rem;
  color: var(--text);
  text-decoration: none;
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--brown); }
.site-nav a[aria-current="page"] {
  color: var(--brown);
  border-bottom-color: var(--brown);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 38px;
  height: 38px;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  background: var(--brown);
  border-radius: 2px;
  margin: 4px 0;
}

/* ════════════════════════════════════════════════
   TERRACOTTA STRIP
   Variant A: image + text Dr Brown's-style (Wie is, Inspiratie, Collectie, Shop)
   Variant B: centered title + tagline (Homepage only)
════════════════════════════════════════════════ */
.terracotta {
  background: var(--brown);
  padding: 3.5rem 1.5rem;
}
.terracotta-inner {
  max-width: var(--content-w);
  margin: 0 auto;
}

/* Variant A — image left + text right */
.terracotta-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}
.terracotta-img {
  overflow: hidden;
  border-radius: 6px;
  background: rgba(0,0,0,.1);
  aspect-ratio: 4 / 5;
}
.terracotta-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.terracotta-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  color: var(--cream);
}
.terracotta-text h1,
.terracotta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--cream);
  line-height: 1.05;
  margin-bottom: .8rem;
}
.terracotta-text p {
  color: rgba(255,231,196,.88);
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 1.1rem;
}
.terracotta-text .btn { align-self: flex-start; }

/* ════════════════════════════════════════════════
   HOME — hero card grid
   Top row: intro card + about box (2 col)
   Bottom row: shop + collectie + inspiratie (3 col)
════════════════════════════════════════════════ */
.home-hero-grid {
  background: var(--cream);
  padding: 2.5rem 1.5rem 3rem;
}
.hhg-inner {
  max-width: var(--content-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.hhg-row {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}
.hhg-row-2 { grid-template-columns: 1fr 1fr; }
.hhg-row-3 { grid-template-columns: 1fr 1fr 1fr; }

/* Shared white card + colored box */
.hhg-card,
.hhg-box {
  text-decoration: none;
  transition: transform .2s;
}
.hhg-card { background: #fff; color: var(--text); }
a.hhg-card:hover,
a.hhg-box:hover { transform: translateY(-3px); }

/* Intro card — landscape image + "Wie is J BIMBI?" */
.hhg-intro {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: 1.25rem;
}
.hhg-intro-img {
  width: 100%;
  overflow: hidden;
  background: #c8d8a0;
}
.hhg-intro-img img { width: 100%; height: auto; display: block; }
.hhg-intro-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.15;
  color: var(--text);
  text-align: center;
  padding: 1.1rem 0 .25rem;
}

/* About box — terracotta */
.hhg-about {
  background: var(--brown);
  color: var(--cream);
  padding: 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hhg-about h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.1vw, 3.1rem);
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.hhg-about p {
  color: rgba(255,231,196,.9);
  font-size: .98rem;
  line-height: 1.55;
  margin-bottom: .9rem;
}
.hhg-about p:last-child { margin-bottom: 0; }

/* Shop box — terracotta, centered label */
.hhg-shop {
  background: var(--brown);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}
.hhg-shop span {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--cream);
  text-align: center;
  line-height: 1.15;
}

/* Tile cards — collectie / inspiratie.
   Both image wrappers are the same square box (border-box) so the
   tiles end up identical height and the labels line up. */
.hhg-tile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.hhg-tile-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f0eae0;
}
.hhg-tile-img img { width: 100%; height: 100%; object-fit: cover; }
/* Collectie — white frame drawn as a border on the image box
   (keeps the outer box the same size as the full-bleed tile) */
.hhg-tile:not(.hhg-tile-bleed) .hhg-tile-img {
  border: 16px solid #fff;
  border-bottom: 0;
}
.hhg-tile-label {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--text);
  text-align: center;
  padding: 0.2rem 1rem;
}

/* Inspiratie — full-bleed image on a purple card */
.hhg-tile-bleed {
  background: #A685BA;
}

/* ════════════════════════════════════════════════
   Category grid (used by wie-is-jbimbi)
════════════════════════════════════════════════ */
.cat-grid {
  max-width: 680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  row-gap: 3rem;
}
.cat-card {
  background: var(--cream);
  text-decoration: none;
  display: block;
  position: relative;
  transition: transform .2s;
}
.cat-card:hover { transform: translateY(-3px); }
.cat-card-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.6rem 1rem 2.4rem;
}
.cat-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cat-card-label {
  position: absolute;
  bottom: -1.3rem;
  left: .6rem;
  right: .6rem;
  background: var(--brown);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: .9rem;
  text-align: center;
  padding: .55rem .5rem;
  border-radius: 14px;
}

/* Combineer favorieten — 2 columns, text in left column centered */
.home-combine { padding: 4rem 1.5rem; }
.home-combine-inner {
  max-width: var(--content-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}
.home-combine-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.home-combine-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: .9rem;
  line-height: 1.15;
}
.home-combine-text p {
  font-size: 1rem;
  margin-bottom: 1.25rem;
}
.home-combine-img {
  overflow: hidden;
  background: #e0d0c0;
}
.home-combine-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ════════════════════════════════════════════════
   WIE IS J BIMBI
════════════════════════════════════════════════ */

/* Hero — polaroid photo (left) + heading/body (right) */
.over-hero {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 3rem;
  align-items: center;
}
.over-hero-photo {
  background: #fff;
  padding: 14px 14px 40px;
  justify-self: center;
  max-width: 360px;
  width: 100%;
}
.over-hero-photo img { width: 100%; height: auto; display: block; }
.over-hero-text { color: var(--cream); }
.over-hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--cream);
  line-height: 1.05;
  margin-bottom: .8rem;
}
.over-hero-text p {
  color: rgba(255,231,196,.9);
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}
.over-hero-text p:last-child { margin-bottom: 0; }
.over-hero-text a {
  color: var(--cream);
  text-decoration: underline;
  word-break: break-word;
}

/* Verhaal + Materialen — two columns */
.over-story { padding: 3.5rem 1.5rem; }
.over-story-inner {
  max-width: var(--content-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.over-story-col { display: flex; flex-direction: column; }
.over-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 1rem;
}
.over-story-col p {
  font-size: 1rem;
  margin-bottom: .9rem;
}
.over-story-img {
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.over-story-img img { width: 100%; height: auto; display: block; }
/* Dummy placeholder block — content TBD by client */
.over-dummy {
  background: #E6A52B;
  flex: 1 1 auto;
  min-height: 200px;
  margin-top: 1.5rem;
}

/* Kernwaarden — cream band */
.over-values {
  background: var(--cream);
  padding: 3.5rem 1.5rem;
}
.over-values-inner {
  max-width: var(--content-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.ov-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.ov-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
}
.ov-icon img { width: 44px; height: 44px; object-fit: contain; }
.ov-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .25rem;
  text-align: left;
  font-family: var(--font-body);
}
.ov-item p {
  font-size: .98rem;
  color: #555;
  margin: 0;
  text-align: left;
}

/* ════════════════════════════════════════════════
   INSPIRATIE
════════════════════════════════════════════════ */
/* Sets — 3-column grid of cards */
.insp-grid { padding: 3.5rem 1.5rem; }
.insp-grid-inner {
  max-width: var(--content-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.75rem 2rem;
}
.insp-card { display: flex; flex-direction: column; }
.insp-card-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #efe7db;
  margin-bottom: 1rem;
}
.insp-card-img img { width: 100%; height: 100%; object-fit: cover; }
.insp-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: .5rem;
}
.insp-card p { font-size: 1rem; color: #555; }

/* CTA — cream band */
.insp-cta {
  background: var(--cream);
  padding: 3.5rem 1.5rem;
  text-align: center;
}
.insp-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: .4rem;
}
.insp-cta .sub {
  font-size: 1.05rem;
  color: var(--text);
  max-width: 600px;
  margin: 0 auto 1.75rem;
}
.btn-cta {
  font-size: 1.05rem;
  padding: 1rem 2.5rem;
  max-width: none;
}

/* ════════════════════════════════════════════════
   COLLECTIE
════════════════════════════════════════════════ */
/* Category bands — alternating cream / white, centered */
.coll-cat { padding: 3.5rem 1.5rem; text-align: center; }
.coll-cat--cream { background: var(--cream); }
.coll-cat--white { background: #fff; }
.coll-cat-inner { max-width: var(--content-w); margin: 0 auto; }
.coll-cat h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: .5rem;
}
.coll-cat .sub {
  font-size: 1.05rem;
  color: var(--text);
  max-width: 640px;
  margin: 0 auto 2.25rem;
}

.prods {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.75rem 1.25rem;
  margin-bottom: 2rem;
}
.pc {
  display: block;
  width: 220px;
  overflow: hidden;
  background: transparent;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform .15s;
}
a.pc:hover { transform: translateY(-3px); }
.pc-img {
  aspect-ratio: 1;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
}
.pc-img img { width: 100%; height: 100%; object-fit: contain; }
.pc-name {
  padding: .55rem .45rem;
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.3;
}

.pc-dots {
  display: flex; justify-content: center; gap: .35rem;
  padding: 0 .45rem .65rem;
}
.pc-dots .d {
  display: block;
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,.15);
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.pc-dots .d:hover,
.pc-dots .d:focus-visible {
  transform: scale(1.18);
  box-shadow: 0 0 0 2px rgba(0,0,0,.08);
  outline: none;
}
.pc-dots .d.is-active {
  transform: scale(1.18);
  box-shadow: 0 0 0 2px rgba(0,0,0,.35);
}

/* ════════════════════════════════════════════════
   SHOP
════════════════════════════════════════════════ */
/* Partner cards — mustard-framed */
.shop-body { background: #fff; padding: 3.5rem 1.5rem; }
.shop-grid {
  max-width: var(--content-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}
.shop-card {
  border: 12px solid #E6A52B;
  background: #fff;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.shop-card h2 {
  font-family: var(--font-display);
  color: var(--brown);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 1.25rem;
}
.shop-card .shop-lead {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.shop-card p {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 1rem;
}
.shop-card .btn {
  margin-top: auto;
  align-self: center;
}

/* ════════════════════════════════════════════════
   POLICY / LEGAL PAGES
════════════════════════════════════════════════ */
.policy-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}
.policy-body h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: .4rem;
}
.policy-body .updated {
  font-size: .9rem;
  color: #888;
  margin-bottom: 2rem;
}
.policy-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 2rem 0 .6rem;
}
.policy-body p,
.policy-body li {
  font-size: 1rem;
  margin-bottom: .6rem;
}
.policy-body ul { margin: .5rem 0 .75rem 1.5rem; }
.policy-body a { color: var(--brown); }
.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: .95rem;
  color: var(--brown);
  text-decoration: none;
  font-weight: 600;
}
.back-link:hover { text-decoration: underline; }

/* ════════════════════════════════════════════════
   SITE FOOTER — 3 columns, dark text, full logo
════════════════════════════════════════════════ */
.site-footer {
  background: var(--purple);
  padding: 2.5rem 1.5rem;
}
.site-footer-inner {
  max-width: var(--content-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 2.5rem;
  align-items: start;
}
.site-footer-brand img {
  height: 56px;
  width: auto;
  display: block;
}
.site-footer-col {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.site-footer-col a {
  color: var(--text);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 600;
}
.site-footer-col a:hover { color: var(--brown); }

/* ════════════════════════════════════════════════
   TABLET — hero grid reflow
════════════════════════════════════════════════ */
@media (max-width: 860px) {
  .hhg-row-2 { grid-template-columns: 1fr; }
  .hhg-intro { order: 2; }
  .hhg-about { order: 1; }
  .hhg-shop { min-height: 140px; }

  .insp-grid-inner { grid-template-columns: 1fr 1fr; }
}

/* ════════════════════════════════════════════════
   MOBILE
════════════════════════════════════════════════ */
@media (max-width: 760px) {
  /* Hero grid: shop full-width, two tiles side by side */
  .hhg-row-3 { grid-template-columns: 1fr 1fr; }
  .hhg-shop {
    grid-column: 1 / -1;
    min-height: 110px;
  }

  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: .5rem 1.5rem 1rem;
    border-bottom: 1px solid #f0eae3;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s, transform .15s;
  }
  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav a {
    padding: .75rem 0;
    border-bottom: 1px solid #f5efe7;
  }
  .site-nav a:last-child { border-bottom: 0; }

  .terracotta-cols {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .terracotta-img { aspect-ratio: 4/3; }

  .home-combine-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .home-combine-text { order: 1; }
  .home-combine-img  { order: 2; aspect-ratio: 4/3; }

  .over-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .over-story-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .insp-grid-inner { grid-template-columns: 1fr 1fr; gap: 2rem 1.25rem; }

  .shop-grid { grid-template-columns: 1fr; gap: 2rem; }
  .shop-card { padding: 1.75rem; border-width: 8px; }

  .prods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    justify-items: center;
  }
  .pc { width: 100%; }

  .site-footer-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  .site-footer-brand img { margin: 0 auto; }
  .site-footer-col { align-items: center; }
}

/* Sets grid → single column on small phones */
@media (max-width: 520px) {
  .insp-grid-inner { grid-template-columns: 1fr; }
}
