@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #faf9f6;
  --bg-alt: #f1efe9;
  --ink: #121110;
  --ink-soft: #4a4744;
  --line: #dedad2;
  --line-strong: #121110;
  --white: #ffffff;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --maxw: 1240px;
}

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

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

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

h1, h2, h3, h4 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 400; line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.1; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 13px;
  margin-bottom: 22px;
  background: rgba(255, 255, 255, 0.55);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid var(--line-strong);
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
  background: var(--ink);
  color: var(--white);
}
.btn:active { transform: scale(0.98); }
.btn:hover { background: #2b2926; }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-outline:hover { background: var(--ink); color: var(--white); }

.btn-block { width: 100%; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }

.btn-ic {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  margin: -6px -14px -6px 2px;
  flex-shrink: 0;
  transition: transform 0.5s var(--ease), background 0.3s var(--ease);
}
.btn-outline .btn-ic { background: rgba(18, 17, 16, 0.07); }
.btn:hover .btn-ic { transform: translateX(3px); }
.btn-outline:hover .btn-ic { background: rgba(255, 255, 255, 0.18); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 38px;
}

.logo {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.nav-links a {
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--ink);
  transition: width 0.35s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  display: flex;
  align-items: center;
  position: relative;
  padding: 4px;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--ink);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-nav { display: none; }

/* ---------- Mobile nav ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }

  .mobile-nav {
    display: flex;
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 200;
    display: flex;
    flex-direction: column;
    padding: 24px;
    transform: translateY(-100%);
    visibility: hidden;
    transition: transform 0.5s var(--ease), visibility 0s linear 0.5s;
  }
  .mobile-nav.open {
    transform: translateY(0);
    visibility: visible;
    transition: transform 0.5s var(--ease), visibility 0s linear 0s;
  }
  .mobile-nav-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
  }
  .mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 26px;
  }
  .mobile-nav li {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  }
  .mobile-nav.open li { opacity: 1; transform: translateY(0); }
  .mobile-nav.open li:nth-child(1) { transition-delay: 0.14s; }
  .mobile-nav.open li:nth-child(2) { transition-delay: 0.21s; }
  .mobile-nav.open li:nth-child(3) { transition-delay: 0.28s; }
  .mobile-nav a {
    font-family: 'Fraunces', serif;
    font-size: 2.2rem;
    font-weight: 400;
  }
}

/* ---------- Welcome bar ---------- */
.welcome-bar {
  text-align: center;
  padding: clamp(20px, 3vw, 40px) 24px clamp(14px, 2.4vw, 30px);
  background: var(--bg);
}
.welcome-bar p {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: clamp(1.3rem, 3.4vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}

/* ---------- Hero banner ---------- */
.hero-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #a9a9a9 0%, #c9c9c8 48%, #f2f2f0 100%);
  padding: 40px 10px 70px;
  min-height: calc(100vh - 170px);
  min-height: calc(100svh - 170px);
  overflow: hidden;
}
@media (max-width: 860px) {
  .hero-banner {
    min-height: calc(100vh - 128px);
    min-height: calc(100svh - 128px);
  }
}
.hero-stage {
  position: relative;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}
.hero-wordmark {
  width: 100%;
  height: auto;
  display: block;
}
.hero-banner-content {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(26px, 7vw, 100px);
  text-align: center;
}
.hero-banner-tagline {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 6.2vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: #ffffff;
  max-width: 12ch;
}
.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: clamp(14px, 2vw, 22px);
  padding: 0.5em 1.5em;
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: clamp(1.15rem, 2.8vw, 1.9rem);
  transition: background 0.3s var(--ease), transform 0.4s var(--ease);
}
.btn-hero:hover { background: rgba(255, 255, 255, 0.14); }
.btn-hero:active { transform: scale(0.98); }

.hero-intro {
  padding-block: clamp(84px, 9vw, 116px) 0;
  text-align: center;
}
.hero-intro p.lead {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.3rem, 1rem + 1.6vw, 2.05rem);
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--ink);
  max-width: 34ch;
  margin: 0 auto 34px;
  text-wrap: balance;
}

/* ---------- USP bar ---------- */
.usp-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.usp-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(26px, 6vw, 90px);
  padding: 17px 24px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
}
@media (max-width: 640px) {
  .usp-inner { flex-direction: column; gap: 9px; padding: 14px 24px; }
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { padding: clamp(88px, 10vw, 132px) 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(48px, 6vw, 68px);
  gap: 24px;
  flex-wrap: wrap;
}
.section-head p { max-width: 420px; margin: 0 0 6px; }
.section-head h2 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-bottom: 0; }

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}
@media (max-width: 960px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
}

.product-grid--featured {
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 44px);
}
@media (min-width: 961px) {
  .product-grid--featured .product-card:nth-child(2) { margin-top: clamp(28px, 3.5vw, 54px); }
}
@media (max-width: 560px) {
  .product-grid--featured { grid-template-columns: 1fr; gap: 34px; }
}

.product-card {
  display: block;
  transition: transform 0.6s var(--ease);
}
.product-card:hover { transform: translateY(-6px); }
.product-card .frame {
  position: relative;
  border: 8px solid var(--white);
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg-alt);
  aspect-ratio: 4/5;
  box-shadow: 0 0 0 1px rgba(18, 17, 16, 0.06), 0 18px 44px -24px rgba(30, 25, 20, 0.16);
  transition: box-shadow 0.6s var(--ease);
}
.product-card:hover .frame {
  box-shadow: 0 0 0 1px rgba(18, 17, 16, 0.05), 0 32px 64px -26px rgba(30, 25, 20, 0.24);
}
.product-card .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.product-card:hover .frame img { transform: scale(1.045); }

@media (hover: hover) {
  .product-card .frame::after {
    content: 'Bekijk';
    position: absolute;
    right: 12px;
    bottom: 12px;
    background: var(--white);
    color: var(--ink);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 9px 17px;
    border-radius: 999px;
    box-shadow: 0 8px 22px -8px rgba(30, 25, 20, 0.32);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  }
  .product-card:hover .frame::after { opacity: 1; transform: translateY(0); }
}

.product-card .sold-out-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--white);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

.product-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 16px;
  padding: 0 6px;
  gap: 12px;
}
.product-card h3 { margin: 0; font-size: 1.05rem; }
.product-card .price {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

/* ---------- Product detail ---------- */
.product-detail {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: flex-start;
}
@media (max-width: 860px) {
  .product-detail { grid-template-columns: 1fr; gap: 36px; }
}
.product-detail .frame {
  border: 10px solid var(--white);
  border-radius: 26px;
  overflow: hidden;
  background: var(--bg-alt);
  aspect-ratio: 4/5;
  box-shadow: 0 0 0 1px rgba(18, 17, 16, 0.06), 0 34px 70px -34px rgba(30, 25, 20, 0.2);
}
.product-detail .frame img { width: 100%; height: 100%; object-fit: cover; }
.product-detail .price {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 22px;
  font-variant-numeric: tabular-nums;
}

.stock-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 10px;
}
.stock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5d7a5f;
  flex-shrink: 0;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 30px 0;
}
.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  overflow: hidden;
}
.qty-control button {
  background: none;
  border: none;
  width: 40px;
  height: 44px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s var(--ease);
}
.qty-control button:hover { background: rgba(18, 17, 16, 0.05); }
.qty-control span { min-width: 30px; text-align: center; font-weight: 600; }

.product-detail-info { list-style: none; padding: 0; margin: 34px 0 0; border-top: 1px solid var(--line); }
.product-detail-info li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- Cart drawer ---------- */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 17, 16, 0.4);
  backdrop-filter: blur(2px);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(440px, 100%);
  background: var(--bg);
  z-index: 301;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
  border-radius: 24px 0 0 24px;
  box-shadow: -30px 0 70px -34px rgba(18, 17, 16, 0.3);
}
.cart-drawer.open { transform: translateX(0); }
@media (max-width: 560px) {
  .cart-drawer { border-radius: 0; }
}

.cart-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}
.cart-drawer-items { flex: 1; overflow-y: auto; padding: 10px 24px; }
.cart-line {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.cart-line img {
  width: 76px; height: 90px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--bg-alt);
  box-shadow: 0 0 0 1px rgba(18, 17, 16, 0.06);
}
.cart-line-body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.cart-line-top { display: flex; justify-content: space-between; gap: 10px; }
.cart-line-remove { background: none; border: none; text-decoration: underline; font-size: 12px; cursor: pointer; color: var(--ink-soft); padding: 0; }

.cart-drawer-foot {
  padding: 24px;
  border-top: 1px solid var(--line);
}
.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 18px;
}
.cart-empty { padding: 60px 0; text-align: center; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: clamp(64px, 8vw, 96px) 0 34px;
  background: var(--bg-alt);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: clamp(50px, 6vw, 72px);
}
.footer-wordmark {
  width: 112px;
  height: auto;
  margin-bottom: 20px;
  display: block;
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
}
.footer-grid h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-soft);
}

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--line-strong);
  box-shadow: 0 0 0 3px rgba(18, 17, 16, 0.07);
}
.field textarea { resize: vertical; min-height: 120px; }

.form-note { font-size: 13px; color: var(--ink-soft); margin-top: -8px; margin-bottom: 20px; }
.form-error { color: #a12b2b; font-size: 14px; margin: 12px 0 0; display: none; }
.form-error.show { display: block; }

/* ---------- Checkout summary ---------- */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: flex-start;
}
@media (max-width: 900px) {
  .checkout-layout { grid-template-columns: 1fr; }
}
.summary-card {
  background: var(--white);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 0 0 1px rgba(18, 17, 16, 0.06), 0 40px 80px -44px rgba(30, 25, 20, 0.2);
}
.summary-line { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.summary-total { display: flex; justify-content: space-between; padding-top: 16px; font-weight: 700; font-size: 1.1rem; }

/* ---------- Confirmation ---------- */
.confirm-box { max-width: 640px; margin: 0 auto; text-align: center; }
.confirm-icon {
  width: 68px; height: 68px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px;
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); filter: blur(0); }

/* ---------- Utility ---------- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.featured-fallback {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 0 0 1px rgba(18, 17, 16, 0.06);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 34px; } }
.split .frame {
  border: 10px solid var(--white);
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bg-alt);
  box-shadow: 0 0 0 1px rgba(18, 17, 16, 0.06), 0 34px 70px -34px rgba(30, 25, 20, 0.2);
}
.split .frame img { width: 100%; height: 100%; object-fit: cover; }

.page-hero { padding-block: clamp(60px, 7vw, 92px) 16px; text-align: center; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.page-hero p { max-width: 560px; margin: 0 auto; }

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: var(--white);
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 13px;
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
