/* ==========================================================
   Studio Margriet — LAYER 1: global
   Tokens verbatim uit het concept (:root). NIET hernoemen.
   ========================================================== */

:root {
  --sage:         #5E7D75;
  --sage-deep:    #4A665F;
  --sage-light:   #7A9B93;
  --sage-pale:    #E8EFED;
  --sage-mist:    #F2F6F5;

  --white:        #FFFFFF;
  --cream:        #FAFAF8;
  --warm:         #F5F3F0;
  --warm-deep:    #EBE8E3;

  --ink:          #2D3B37;
  --ink-soft:     #5A6B66;
  --ink-mute:     #8A9691;
  --line:         #DDE3E1;

  --accent:       #C4A882;
  --accent-soft:  #E8D9C6;

  --radius:       12px;
  --radius-lg:    20px;
  --radius-xl:    30px;
  --radius-pill:  999px;

  --shadow-xs:    0 1px 3px rgba(45,59,55,0.04);
  --shadow-sm:    0 8px 24px rgba(45,59,55,0.06);
  --shadow-md:    0 16px 40px rgba(45,59,55,0.08);

  --font:         "Montserrat", system-ui, -apple-system, sans-serif;
  --font-display: "Libre Baskerville", "Georgia", serif;
  --ease:         cubic-bezier(.22,.61,.36,1);

  /* ----------------------------------------------------------
     Z-INDEX SCALE (coordinated — declare against this, no 9999)
     header .............. 50
     mobile-nav .......... 100
     search backdrop ..... 9998
     search panel ........ 10000
     header-while-search . 10001
     side cart ........... 10100
     toast ............... 11000
     ---------------------------------------------------------- */
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
ul, ol { list-style: none; }

::selection { background: var(--sage-pale); color: var(--ink); }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden;
}

/* ---------- Layout: container + .wrap alias (mockup container class) ---------- */
.container,
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}
.section { padding: 88px 0; }
.section--sage { background: var(--sage-mist); }
.section--warm { background: var(--warm); }

/* ---------- Animations (IntersectionObserver fade-up) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }
  .fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1 !important; transform: none !important; }
}

/* In Elementor editor / preview: never hide content behind reveal start-states. */
body.elementor-editor-active .fade-up,
.elementor-editor-active .fade-up { opacity: 1 !important; transform: none !important; }
