/* ==========================================================
   Rustik Bakery — 2026
   Editorial bento · tactile paper · scroll-driven motion
   ========================================================== */

:root {
  --paper: #F3EADB;
  --paper-2: #ECDfC9;
  --paper-3: #E4D3B8;
  --cream: #FAF5EC;
  --ink: #2B2116;
  --ink-2: #5A4A38;
  --muted: #66543F;
  --olive: #4F5B2A;
  --olive-d: #36401C;
  --olive-l: #8C9660;
  --berry: #7E2F22;
  --berry-d: #632418;
  --gold: #A9844A;
  --line: rgba(43, 33, 22, .2);
  --line-strong: rgba(43, 33, 22, .55);

  --f-display: "Cormorant", "Cormorant Garamond", Georgia, serif;
  --f-body: "Cormorant", Georgia, serif;
  --f-ui: "Manrope", system-ui, sans-serif;
  --f-script: "Pinyon Script", cursive;

  --gutter: clamp(16px, 3vw, 40px);
  --radius: 14px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .15 0 0 0 0 .1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: clamp(18px, 1.15vw, 20px);
  line-height: 1.5;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::after { /* paper grain */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90;
  background-image: var(--grain); opacity: .22; mix-blend-mode: multiply;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { flex-shrink: 0; }
::selection { background: var(--olive); color: var(--cream); }
:focus-visible { outline: 2px solid var(--berry); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 500; margin: 0; line-height: 1.02; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
em { font-style: italic; }

.script { font-family: var(--f-script); font-weight: 400; color: var(--berry); line-height: 1.1; }
.muted { color: var(--ink-2); }
.small { font-size: .8em; }
.kicker {
  font-family: var(--f-ui); font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--ink-2); font-weight: 600; margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.h2 { font-size: clamp(42px, 6vw, 92px); font-weight: 400; letter-spacing: -.02em; }
.h2 em { color: var(--olive); font-weight: 400; }

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-family: var(--f-ui); font-size: 14px; font-weight: 600; letter-spacing: .02em;
  border: 1px solid transparent; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn::before { /* fill sweep */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--sweep, var(--ink)); transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn--olive { --bg: var(--olive); --fg: var(--cream); --sweep: var(--olive-d); }
.btn--berry { --bg: var(--berry); --fg: var(--cream); --sweep: var(--berry-d); }
.btn--ghost { border-color: var(--line-strong); --sweep: var(--ink); }
.btn--ghost:hover { color: var(--cream); }
.btn--full { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-ui); font-size: 13px; font-weight: 600; letter-spacing: .04em;
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.link svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.link:hover svg { transform: translateX(4px); }
.ulink { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.ulink:hover { background-size: 100% 1px; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-ui); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 10px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink-2);
}
.pill svg { width: 13px; height: 13px; }
.price { font-family: var(--f-display); font-size: 26px; font-weight: 600; }
.price--lg { font-size: 40px; line-height: 1; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--olive-d); color: var(--paper);
  display: grid; place-items: center;
}
.loader__inner { text-align: center; }
.loader__sprig { width: 120px; height: 60px; color: var(--olive-l); }
.loader__script { font-family: var(--f-script); font-size: clamp(48px, 9vw, 96px); line-height: 1.2; }
.loader__count { font-family: var(--f-ui); font-size: 12px; letter-spacing: .3em; opacity: .7; margin-top: 8px; }
.no-js .loader, .reduced .loader { display: none; }

/* ---------- Cursor ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none;
  width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: var(--berry); display: grid; place-items: center; opacity: 0;
  transition: opacity .3s, width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s;
}
.cursor__label { font-family: var(--f-ui); font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--cream); opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.is-label { opacity: 1; width: 96px; height: 96px; margin: -48px 0 0 -48px; background: rgba(126, 47, 34, .92); }
.cursor.is-label .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 12px; left: var(--gutter); right: var(--gutter); z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 10px 14px 10px 20px; border-radius: 999px;
  background: color-mix(in oklab, var(--paper) 72%, transparent);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid var(--line);
  transition: transform .6s var(--ease), box-shadow .4s;
}
.nav.is-hidden { transform: translateY(-140%); }
.nav.is-scrolled { box-shadow: 0 10px 40px -20px rgba(43, 33, 22, .35); }
.logo { display: flex; align-items: center; gap: 8px; }
.logo__sprig { width: 40px; height: 22px; color: var(--olive); transform: rotate(-18deg); }
.logo__word { font-family: var(--f-display); font-size: 25px; font-weight: 600; line-height: .82; display: flex; flex-direction: column; }
.logo__word em { font-style: italic; font-weight: 500; padding-left: 14px; font-size: .9em; }
.nav__links { display: flex; gap: clamp(14px, 2vw, 32px); font-family: var(--f-ui); font-size: 13.5px; font-weight: 500; }
.nav__links a { position: relative; padding: 6px 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--olive);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__links a.is-current { color: var(--olive); }
.nav__actions { display: flex; align-items: center; gap: 4px; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; transition: background .3s; position: relative; }
.icon-btn:hover { background: rgba(43, 33, 22, .07); }
.icon-btn svg { width: 21px; height: 21px; }
.cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--olive); color: var(--cream); font-family: var(--f-ui); font-size: 10px; font-weight: 600;
  display: grid; place-items: center;
}
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.5); } }
.burger { display: none; width: 42px; height: 42px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--paper);
  display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px;
  clip-path: circle(0% at calc(100% - 44px) 36px); transition: clip-path .8s var(--ease);
  visibility: hidden;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 44px) 36px); visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu nav a { font-family: var(--f-display); font-size: clamp(40px, 11vw, 64px); line-height: 1.1; border-bottom: 1px solid var(--line); padding: 8px 0; }
.mobile-menu .script { font-size: 40px; margin-top: 30px; }

/* ---------- Hero bento ---------- */
.hero { padding: 96px var(--gutter) 0; }
.bento {
  display: grid; gap: 1px;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto auto;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
  border-radius: 22px; overflow: hidden;
}
.cell { background: var(--paper); position: relative; overflow: hidden; margin: 0; }
.cell--title { grid-column: 1 / 8; padding: clamp(28px, 4vw, 56px); padding-bottom: clamp(28px, 3vw, 44px); }
.cell--image { grid-column: 8 / 13; grid-row: 1 / 3; min-height: 420px; }
.cell--info { grid-column: 1 / 6; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.cell--badge { grid-column: 6 / 8; display: grid; place-items: center; background: var(--paper-2); min-height: 220px; }
.cell--dark { grid-column: 1 / 8; min-height: 260px; display: flex; align-items: flex-end; color: var(--cream); }
.cell--product { grid-column: 8 / 13; padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; justify-content: space-between; gap: 22px; background: var(--paper-2); }

.eyebrow { display: flex; align-items: center; gap: 12px; font-family: var(--f-ui); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; font-weight: 600; color: var(--ink-2); }
.eyebrow i { width: 4px; height: 4px; border-radius: 50%; background: var(--olive); }
.hero__title {
  font-size: clamp(60px, 9.6vw, 164px); font-weight: 400; line-height: .86; letter-spacing: -.01em;
  text-transform: uppercase; margin-top: 18px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; white-space: nowrap; }
.hero__title .line--indent { padding-left: .4em; }
.hero__title .char { display: inline-block; will-change: transform; }
.hero__script { font-size: clamp(38px, 4.6vw, 72px); margin-top: -.12em; margin-left: clamp(10px, 3vw, 40px); }
.hero__flourish { width: min(300px, 50%); height: 30px; color: var(--berry); margin-left: clamp(40px, 6vw, 90px); }
.hero__lead { font-size: clamp(20px, 1.5vw, 24px); line-height: 1.4; max-width: 34ch; }

.cell--image img, .cell--dark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.parallax-img { scale: 1.15; }
.tag {
  position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px;
  background: color-mix(in oklab, var(--cream) 82%, transparent); backdrop-filter: blur(8px);
  padding: 8px 14px; border-radius: 999px; font-family: var(--f-ui); font-size: 12px; font-weight: 600;
}
.tag svg { width: 16px; height: 16px; color: var(--olive); }

.badge { width: min(180px, 80%); aspect-ratio: 1; animation: spin 22s linear infinite; }
.badge text { font-family: var(--f-ui); font-size: 13.5px; letter-spacing: .26em; font-weight: 600; fill: var(--ink-2); }
.badge__wheat { position: absolute; width: 48px; height: 48px; color: var(--olive); }
@keyframes spin { to { transform: rotate(360deg); } }

.cell--dark::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(30, 22, 12, .82) 10%, rgba(30, 22, 12, .15) 70%); }
.cell--dark img { transition: transform 1.2s var(--ease); }
.cell--dark:hover img { transform: scale(1.06); }
.cell--dark__text { position: relative; z-index: 2; display: flex; align-items: center; gap: 18px; padding: clamp(22px, 3vw, 40px); font-size: clamp(20px, 1.6vw, 26px); line-height: 1.25; }
.cell--dark__text em { font-size: .8em; opacity: .85; }
.play { width: 58px; height: 58px; border-radius: 50%; border: 1px solid rgba(250, 245, 236, .7); display: grid; place-items: center; transition: background .4s, color .4s; }
.play svg { width: 22px; height: 22px; }
.cell--dark:hover .play { background: var(--cream); color: var(--ink); }

.product-of-week { display: flex; gap: 18px; align-items: center; }
.pow__thumb { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; border: 3px solid var(--cream); box-shadow: 0 10px 30px -12px rgba(43, 33, 22, .5); }
.product-of-week h3 { font-size: clamp(26px, 2.2vw, 34px); margin: 8px 0 2px; }
.product-of-week p { font-family: var(--f-ui); font-size: 12px; }
.pow__buy { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pow__buy .btn { margin-left: auto; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; font-family: var(--f-ui); }
.qty button { width: 38px; height: 40px; font-size: 18px; }
.qty output { min-width: 22px; text-align: center; font-weight: 600; font-size: 14px; }

/* ---------- Marquee ---------- */
.marquee { margin-top: clamp(40px, 6vw, 80px); background: var(--olive); color: var(--cream); overflow: hidden; padding: 18px 0; rotate: -1.2deg; width: 104%; margin-left: -2%; }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 32s linear infinite; }
.marquee__track span { font-family: var(--f-display); font-style: italic; font-size: clamp(26px, 3vw, 42px); white-space: nowrap; }
.marquee__track svg { width: 28px; height: 28px; color: var(--olive-l); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Manifesto ---------- */
.manifesto { position: relative; padding: clamp(100px, 14vw, 200px) var(--gutter); max-width: 1280px; margin: 0 auto; }
.manifesto__text { font-family: var(--f-display); font-size: clamp(34px, 5.2vw, 78px); line-height: 1.08; letter-spacing: -.015em; font-weight: 400; }
.manifesto__text .w { opacity: .14; transition: none; }
.manifesto__sign { font-size: clamp(30px, 3vw, 46px); margin-top: 36px; text-align: right; }
.manifesto__sprig { position: absolute; width: 200px; height: 100px; color: var(--olive-l); opacity: .7; }
.manifesto__sprig--l { right: var(--gutter); top: 60px; transform: rotate(-160deg) scaleY(-1); }

/* ---------- Doors (torn paper cards) ---------- */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); padding: 0 var(--gutter); }
.door {
  display: grid; grid-template-columns: 45% 1fr; background: var(--paper-2); border-radius: var(--radius);
  overflow: hidden; min-height: 230px; border: 1px solid var(--line);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.door:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(43, 33, 22, .45); }
.door__img { position: relative; overflow: hidden;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0H92L95 6 91 12 96 19 92 27 97 34 93 42 96 50 92 57 97 64 93 72 96 80 92 87 95 94 92 100H0Z'/%3E%3C/svg%3E") 0 0 / 100% 100%;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0H92L95 6 91 12 96 19 92 27 97 34 93 42 96 50 92 57 97 64 93 72 96 80 92 87 95 94 92 100H0Z'/%3E%3C/svg%3E") 0 0 / 100% 100%;
}
.door__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.door:hover .door__img img { transform: scale(1.08); }
.door__body { padding: 22px 22px 20px 14px; display: flex; flex-direction: column; gap: 8px; }
.door__num { font-family: var(--f-ui); font-size: 11px; letter-spacing: .2em; color: var(--muted); }
.door h3 { font-size: clamp(26px, 2.2vw, 32px); }
.door p { font-size: 17px; color: var(--ink-2); line-height: 1.35; }
.circle-arrow { margin-top: auto; align-self: flex-end; width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; transition: background .4s, color .4s, transform .6s var(--ease); }
.circle-arrow svg { width: 18px; height: 18px; }
.door:hover .circle-arrow { background: var(--olive); color: var(--cream); border-color: var(--olive); transform: rotate(-45deg); }

/* ---------- Section head ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head__aside { max-width: 36ch; color: var(--ink-2); }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }

/* ---------- Products ---------- */
.products { padding: clamp(100px, 12vw, 170px) var(--gutter) clamp(60px, 8vw, 120px); }
.filters { display: flex; gap: clamp(14px, 2.5vw, 34px); overflow-x: auto; padding: 6px 2px 18px; margin-bottom: 30px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter { display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 0 0 auto; }
.filter img, .filter__all {
  width: clamp(74px, 8vw, 104px); aspect-ratio: 1; border-radius: 50%; object-fit: cover;
  outline: 1px solid var(--line); outline-offset: 5px; transition: outline-color .3s, outline-offset .4s var(--ease), transform .5s var(--ease);
}
.filter__all { display: grid; place-items: center; background: var(--olive); color: var(--cream); }
.filter__all svg { width: 40%; height: 40%; }
.filter b { font-family: var(--f-ui); font-size: 13px; font-weight: 600; }
.filter:hover img, .filter:hover .filter__all { transform: translateY(-4px); }
.filter.is-active img, .filter.is-active .filter__all { outline: 2px solid var(--berry); outline-offset: 4px; }
.filter.is-active b { color: var(--berry); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: clamp(16px, 2vw, 26px); }
.card {
  container-type: inline-size;
  background: var(--cream); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .6s var(--ease), box-shadow .6s var(--ease);
  view-transition-class: card;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -32px rgba(43, 33, 22, .5); }
.card__img { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--paper-2); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__img img { transform: scale(1.07); }
.card__badge { position: absolute; top: 12px; left: 12px; background: var(--cream); }
.card__fav { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; background: color-mix(in oklab, var(--cream) 80%, transparent); display: grid; place-items: center; backdrop-filter: blur(6px); }
.card__fav svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.card__fav[aria-pressed="true"] svg { fill: var(--berry); color: var(--berry); transform: scale(1.15); }
.card__body { padding: 18px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__cat { font-family: var(--f-ui); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.card h3 { font-size: 27px; }
.card p { font-size: 16.5px; color: var(--ink-2); line-height: 1.35; }
.card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); }
.add-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--olive); color: var(--cream); font-family: var(--f-ui); font-size: 12.5px; font-weight: 600; transition: background .3s, transform .4s var(--ease); }
.add-btn:hover { background: var(--olive-d); }
.add-btn.is-added { background: var(--berry); }
.add-btn svg { width: 16px; height: 16px; }

::view-transition-group(*.card) { animation-duration: .55s; animation-timing-function: cubic-bezier(.22, 1, .36, 1); }

/* ---------- Gift box ---------- */
.gift { display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; margin: 0 var(--gutter); border-radius: 26px; overflow: hidden; border: 1px solid var(--line-strong); background: var(--cream); }
.gift__visual { position: relative; overflow: hidden; min-height: 520px; }
.gift__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gift__stamp { position: absolute; top: 26px; left: 28px; font-size: 64px; color: var(--cream); text-shadow: 0 2px 30px rgba(0, 0, 0, .35); rotate: -8deg; }
.gift__panel { padding: clamp(28px, 4vw, 60px); display: flex; flex-direction: column; gap: 22px; }
.gift__panel .h2 { font-size: clamp(38px, 4.4vw, 66px); }
.gift__sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.size { border: 1px solid var(--line-strong); border-radius: 14px; padding: 14px; text-align: left; display: flex; flex-direction: column; transition: background .3s, color .3s, border-color .3s; }
.size b { font-family: var(--f-display); font-size: 28px; font-weight: 600; line-height: 1; }
.size span { font-family: var(--f-ui); font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.size.is-active { background: var(--olive); color: var(--cream); border-color: var(--olive); }
.size.is-active span { color: rgba(250, 245, 236, .75); }
.gift__flavors { display: flex; flex-wrap: wrap; gap: 8px; }
.flavor { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--line-strong); font-family: var(--f-ui); font-size: 13px; font-weight: 500; transition: background .3s, transform .3s var(--ease); }
.flavor:hover { background: var(--paper-2); transform: translateY(-2px); }
.flavor img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.flavor small { color: var(--muted); font-size: 11px; }
.gift__box {
  display: grid; grid-template-columns: repeat(var(--cols, 2), 1fr); gap: 10px; padding: 16px;
  background: #fffaf2; border-radius: 12px; border: 1px solid var(--line);
  box-shadow: inset 0 2px 16px rgba(43, 33, 22, .08);
  background-image: radial-gradient(circle at 20% 20%, rgba(79, 91, 42, .05) 0 2px, transparent 3px);
  background-size: 22px 22px;
}
.slot { aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed var(--line-strong); display: grid; place-items: center; position: relative; max-width: 120px; width: 100%; justify-self: center; }
.slot span { font-family: var(--f-ui); font-size: 11px; color: var(--muted); }
.slot.is-filled { border-style: solid; border-color: transparent; cursor: pointer; }
.slot img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 8px 18px -8px rgba(43, 33, 22, .6); animation: drop .6s var(--ease); }
.slot.is-filled:hover img { filter: brightness(.75); }
.slot.is-filled:hover::after { content: "✕"; position: absolute; color: #fff; font-family: var(--f-ui); z-index: 1; }
@keyframes drop { from { transform: translateY(-30px) scale(.6); opacity: 0; } }
.gift__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 20px; }

/* ---------- Workshops ---------- */
.workshops { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 5vw, 80px); padding: clamp(100px, 12vw, 170px) var(--gutter) clamp(40px, 5vw, 60px); align-items: start; }
.workshops__sticky { position: sticky; top: 100px; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 4.4; }
.workshops__sticky img { width: 100%; height: 100%; object-fit: cover; }
.chalk { position: absolute; right: 16px; bottom: 16px; background: #2d2e27; color: #f1ead9; border: 6px solid #8a6a43; border-radius: 6px; padding: 14px 20px; rotate: 3deg; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .5); }
.chalk .script { color: #f1ead9; font-size: 28px; text-align: center; }
.workshops__content .muted { max-width: 52ch; margin-top: 18px; }
.checks { list-style: none; padding: 0; margin: 26px 0 36px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-family: var(--f-ui); font-size: 14px; font-weight: 500; }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks li::before { content: ""; width: 16px; height: 16px; border: 1.5px solid var(--olive); border-radius: 4px; background: linear-gradient(var(--olive), var(--olive)) center / 8px 8px no-repeat; }

.schedule { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-strong); }
.session { border-bottom: 1px solid var(--line-strong); }
.session__row { width: 100%; display: grid; grid-template-columns: 76px 1fr auto 26px; align-items: center; gap: 18px; padding: 20px 4px; text-align: left; }
.session__date { font-family: var(--f-display); line-height: .9; text-align: center; }
.session__date b { display: block; font-size: 44px; font-weight: 500; }
.session__date span { font-family: var(--f-ui); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.session__title { font-family: var(--f-display); font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; }
.session__sub { font-family: var(--f-ui); font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.seats { font-family: var(--f-ui); font-size: 11.5px; font-weight: 600; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.seats__dots { display: flex; gap: 3px; }
.seats__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--olive); }
.seats__dots i.taken { background: var(--line); }
.seats.is-low { color: var(--berry); }
.seats.is-full { color: var(--muted); }
.session__plus { width: 26px; height: 26px; position: relative; }
.session__plus::before, .session__plus::after { content: ""; position: absolute; left: 4px; right: 4px; top: 12px; height: 1.5px; background: var(--ink); transition: transform .5s var(--ease); }
.session__plus::after { transform: rotate(90deg); }
.session.is-open .session__plus::after { transform: rotate(0); }
.session__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.session.is-open .session__panel { grid-template-rows: 1fr; }
.session__panel > div { overflow: hidden; }
.session__inner { padding: 0 4px 26px 98px; display: flex; flex-wrap: wrap; gap: 16px 30px; align-items: center; justify-content: space-between; }
.session__inner p { flex: 1 1 280px; color: var(--ink-2); font-size: 18px; }
.session__inner .price { font-size: 30px; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 var(--gutter); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.feature { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 34px 14px; position: relative; }
.feature + .feature::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line-strong); }
.feature svg { width: 50px; height: 50px; color: var(--ink); margin-bottom: 6px; transition: transform .6s var(--ease), color .3s; }
.feature:hover svg { transform: translateY(-4px) rotate(-6deg); color: var(--olive); }
.feature b { font-family: var(--f-display); font-size: 22px; font-weight: 600; }
.feature span { font-family: var(--f-ui); font-size: 12px; color: var(--muted); }

/* ---------- Seasons (sticky stack) ---------- */
.seasons { padding: clamp(100px, 12vw, 170px) var(--gutter) 40px; }
.stack { display: flex; flex-direction: column; gap: 40px; }
.stack__card {
  position: sticky; top: calc(96px + var(--i, 0) * 22px);
  display: grid; grid-template-columns: 1fr 1fr; min-height: min(72vh, 620px);
  border-radius: 26px; overflow: hidden; background: var(--bg, var(--paper-2)); border: 1px solid var(--line-strong);
  box-shadow: 0 -20px 60px -40px rgba(43, 33, 22, .5);
  transform-origin: center top;
}
.stack__card:nth-child(1) { --i: 0; }
.stack__card:nth-child(2) { --i: 1; }
.stack__card:nth-child(3) { --i: 2; }
.stack__card--olive { --bg: var(--olive); color: var(--cream); }
.stack__card--berry { --bg: var(--berry); color: var(--cream); }
.stack__text { padding: clamp(28px, 5vw, 70px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.stack__season { font-family: var(--f-script); font-size: clamp(36px, 3.4vw, 54px); color: var(--berry); }
.stack__card--olive .stack__season, .stack__card--berry .stack__season { color: var(--paper-3); }
.stack__text h3 { font-size: clamp(42px, 5vw, 80px); font-weight: 400; }
.stack__text p { max-width: 40ch; font-size: clamp(19px, 1.4vw, 22px); opacity: .9; }
.stack__text .link { align-self: flex-start; }
.stack__card img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Notes ---------- */
.notes { padding: clamp(100px, 12vw, 160px) var(--gutter) clamp(60px, 8vw, 110px); }
.notes__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; grid-template-rows: auto auto; gap: clamp(16px, 2vw, 28px); }
.note { display: flex; flex-direction: column; gap: 10px; }
.note--lg { grid-row: 1 / 3; }
.note__img { border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; }
.note--lg .note__img { aspect-ratio: 4 / 3.3; }
.note__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.note:hover .note__img img { transform: scale(1.06); }
.note__meta { display: flex; gap: 14px; font-family: var(--f-ui); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 6px; }
.note__meta span:first-child { color: var(--olive); }
.note h3 { font-size: clamp(24px, 2vw, 30px); }
.note--lg h3 { font-size: clamp(30px, 3vw, 44px); }
.note--quote { grid-column: 2 / 4; background: var(--paper-2); border-radius: 16px; padding: clamp(26px, 3vw, 44px); justify-content: center; border: 1px solid var(--line); }
.note--quote .script { font-size: clamp(34px, 3.6vw, 56px); }

/* ---------- Voices ---------- */
.voices { overflow: hidden; padding: 30px 0 clamp(80px, 10vw, 140px); }
.voices__track { display: flex; gap: 22px; width: max-content; animation: marquee 50s linear infinite; }
.voices:hover .voices__track { animation-play-state: paused; }
.voices figure { margin: 0; width: min(80vw, 420px); background: var(--cream); border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px; }
.voices blockquote { margin: 0 0 14px; font-family: var(--f-display); font-size: 23px; line-height: 1.3; font-style: italic; }
.voices figcaption { font-family: var(--f-ui); font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .06em; }

/* ---------- Footer ---------- */
.footer { background: var(--olive-d); color: var(--paper); position: relative; }
.gingham {
  height: 46px;
  background-color: var(--paper);
  background-image:
    linear-gradient(90deg, rgba(79, 91, 42, .55) 50%, transparent 50%),
    linear-gradient(rgba(79, 91, 42, .55) 50%, transparent 50%);
  background-size: 23px 23px;
}
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; padding: clamp(60px, 8vw, 110px) var(--gutter) 50px; align-items: end; }
.footer .kicker { color: rgba(243, 234, 219, .7); }
.footer__big { font-family: var(--f-display); font-size: clamp(64px, 12vw, 200px); line-height: .82; text-transform: uppercase; letter-spacing: -.01em; }
.footer__big span { display: block; padding-left: .5em; }
.footer__script { color: var(--paper-3); font-size: clamp(36px, 4vw, 60px); margin-top: 6px; }
.newsletter label { font-family: var(--f-display); font-size: clamp(24px, 2.2vw, 32px); line-height: 1.2; display: block; margin-bottom: 18px; }
.newsletter__row { display: flex; gap: 8px; border: 1px solid rgba(243, 234, 219, .4); border-radius: 999px; padding: 6px; }
.newsletter input { flex: 1; min-width: 0; background: none; border: 0; color: var(--paper); font-family: var(--f-ui); font-size: 14px; padding: 0 14px; }
.newsletter input::placeholder { color: rgba(243, 234, 219, .6); }
.newsletter input:focus { outline: none; }
.newsletter .muted { color: rgba(243, 234, 219, .7); margin-top: 12px; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 40px var(--gutter); border-top: 1px solid rgba(243, 234, 219, .2); }
.footer__cols h4 { font-family: var(--f-ui); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; opacity: .7; margin-bottom: 12px; }
.footer__cols p { font-size: 19px; line-height: 1.45; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px var(--gutter) 28px; border-top: 1px solid rgba(243, 234, 219, .2); font-family: var(--f-ui); font-size: 12px; opacity: .8; }
.footer__sprig { width: 80px; height: 40px; color: var(--olive-l); }

/* ---------- Cart drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(30, 22, 12, .4); backdrop-filter: blur(3px); z-index: 120; opacity: 0; pointer-events: none; transition: opacity .5s var(--ease); }
.scrim.is-on { opacity: 1; pointer-events: auto; }
.cart {
  position: fixed; top: 10px; right: 10px; bottom: 10px; width: min(440px, calc(100vw - 20px)); z-index: 130;
  background: var(--paper); border-radius: 22px; border: 1px solid var(--line-strong);
  display: flex; flex-direction: column; transform: translateX(110%); transition: transform .7s var(--ease);
  box-shadow: -30px 0 80px -40px rgba(30, 22, 12, .6);
}
.cart.is-open { transform: none; }
.cart__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.cart__head h3 { font-size: 32px; }
.cart__items { flex: 1; overflow-y: auto; padding: 8px 22px; overscroll-behavior: contain; }
.cart__empty { text-align: center; padding: 60px 10px; color: var(--ink-2); }
.cart__empty .script { font-size: 40px; display: block; margin-bottom: 6px; }
.line-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.line-item img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.line-item h4 { font-size: 21px; line-height: 1.1; }
.line-item small { font-family: var(--f-ui); font-size: 11.5px; color: var(--muted); display: block; margin-top: 2px; }
.line-item .qty { margin-top: 8px; transform-origin: left; scale: .85; }
.line-item .price { font-size: 21px; }
.cart__foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--f-ui); font-size: 14px; }
.cart__total b { font-family: var(--f-display); font-size: 32px; }

/* ---------- Booking dialog ---------- */
.booking { border: 1px solid var(--line-strong); border-radius: 22px; padding: 0; width: min(460px, calc(100vw - 32px)); background: var(--paper); color: var(--ink); }
.booking::backdrop { background: rgba(30, 22, 12, .45); backdrop-filter: blur(4px); }
.booking[open] { animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.booking__form { padding: 30px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.booking__close { position: absolute; top: 12px; right: 12px; }
.booking h3 { font-size: 34px; margin-bottom: 4px; }
.booking label { display: flex; flex-direction: column; gap: 6px; font-family: var(--f-ui); font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--ink-2); }
.booking input, .booking select { font: 500 15px var(--f-ui); color: var(--ink); background: var(--cream); border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; }
.booking input:focus, .booking select:focus { outline: 2px solid var(--olive); outline-offset: 1px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 160; translate: -50% calc(100% + 60px);
  background: var(--ink); color: var(--cream); padding: 12px 20px; border-radius: 999px;
  font-family: var(--f-ui); font-size: 13.5px; font-weight: 500; transition: translate .6s var(--ease);
  display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px);
}
.toast.is-on { translate: -50% 0; }
.toast::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--olive-l); }

/* ==========================================================
   v2 — Instagram-driven content
   ========================================================== */
:root { --rose: #B9787A; --rose-l: #EBD3CF; --charcoal: #3A3632; }
.btn--sm { padding: 10px 18px; font-size: 13px; }
.btn--light { color: var(--paper); border-color: rgba(243, 234, 219, .45); --sweep: var(--paper); }
.btn--light:hover { color: var(--olive-d); }
.btn svg[class] { width: 18px; height: 18px; }
.nav__actions .icon-btn { color: var(--ink); }
.cell__link { position: absolute; inset: 0; z-index: 2; }
.cell--image .tag { z-index: 3; }
.hero__lead b { font-weight: 600; color: var(--olive-d); }
.pow__buy .muted.small { flex: 1 1 200px; font-size: 16px; line-height: 1.35; }
.cell--dark__text em { display: inline-block; margin-top: 4px; }

/* Story */
.story {
  display: grid; grid-template-columns: minmax(260px, .8fr) 1.4fr; gap: clamp(36px, 6vw, 100px);
  padding: clamp(100px, 13vw, 190px) var(--gutter) clamp(80px, 10vw, 140px); max-width: 1440px; margin: 0 auto; align-items: start;
}
.story__portrait { position: sticky; top: 110px; }
.story__portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 200px 200px 24px 24px; border: 1px solid var(--line-strong); }
.story__sig { font-size: clamp(48px, 5vw, 76px); margin: -.55em 0 0 -.1em; position: relative; text-shadow: 0 0 18px var(--paper), 0 0 6px var(--paper); }
.story__lead { font-size: clamp(19px, 1.45vw, 23px); line-height: 1.5; color: var(--ink-2); margin-top: 32px; max-width: 58ch; }
.story .manifesto__text { font-size: clamp(40px, 5.6vw, 88px); }
.timeline { list-style: none; padding: 0; margin: 48px 0 0; border-top: 1px solid var(--line-strong); }
.timeline li { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.timeline__date { font-family: var(--f-script); font-size: 30px; color: var(--berry); line-height: 1; }
.timeline b { font-family: var(--f-display); font-size: 28px; font-weight: 600; display: block; line-height: 1.1; }
.timeline p { color: var(--ink-2); margin-top: 6px; font-size: 18.5px; }

/* Showcase cards */
.card__img { aspect-ratio: 4 / 4.4; }
.card__reel { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in oklab, var(--cream) 85%, transparent); backdrop-filter: blur(6px); transition: transform .4s var(--ease), background .3s, color .3s; }
.card__reel svg { width: 20px; height: 20px; margin-left: 2px; }
.card__reel:hover { transform: scale(1.1); background: var(--berry); color: var(--cream); }
.card p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.link--btn { background: none; padding: 0 0 3px; }
.card__foot { gap: 10px; flex-wrap: wrap; }

/* Recipe book */
.recipes { padding: clamp(60px, 8vw, 120px) var(--gutter) clamp(100px, 12vw, 160px); }
.recipes__layout { display: grid; grid-template-columns: 280px 1fr; gap: clamp(18px, 3vw, 40px); align-items: start; }
.recipe-tabs { display: flex; flex-direction: column; gap: 6px; position: sticky; top: 100px; }
.recipe-tab { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; text-align: left; border: 1px solid transparent; transition: background .3s, border-color .3s; }
.recipe-tab img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; transition: transform .5s var(--ease); }
.recipe-tab b { font-family: var(--f-display); font-size: 21px; font-weight: 600; display: block; line-height: 1.1; }
.recipe-tab small { font-family: var(--f-ui); font-size: 11.5px; color: var(--muted); }
.recipe-tab:hover { background: var(--paper-2); }
.recipe-tab:hover img { transform: rotate(-8deg) scale(1.06); }
.recipe-tab.is-active { background: var(--cream); border-color: var(--line-strong); }
.recipe-tab.is-active b { color: var(--berry); }
.recipe { display: grid; grid-template-columns: minmax(220px, .62fr) 1.4fr; background: var(--cream); border: 1px solid var(--line-strong); border-radius: 26px; overflow: hidden; view-transition-name: recipe; min-height: 640px; }
.recipe__media { position: relative; }
.recipe__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.recipe__watch { position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 999px; background: color-mix(in oklab, var(--ink) 78%, transparent); color: var(--cream); backdrop-filter: blur(6px); font-family: var(--f-ui); font-size: 13px; font-weight: 600; transition: background .3s; }
.recipe__watch:hover { background: var(--berry); }
.recipe__watch svg { width: 18px; height: 18px; }
.recipe__body { padding: clamp(24px, 3.5vw, 50px); }
.recipe__body h3 { font-size: clamp(34px, 3.6vw, 56px); font-weight: 400; margin: 8px 0 12px; }
.recipe__intro { color: var(--ink-2); font-size: 19px; max-width: 56ch; }
.recipe__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 26px; }
.recipe__meta span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; background: var(--paper-2); font-family: var(--f-ui); font-size: 12.5px; font-weight: 600; }
.recipe__meta svg { width: 17px; height: 17px; color: var(--olive); }
.recipe__progress { background: transparent !important; border: 1px dashed var(--line-strong); color: var(--muted); transition: color .3s, border-color .3s; }
.recipe__progress.is-done { color: var(--olive); border-color: var(--olive); border-style: solid; }
.recipe__cols { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(20px, 3vw, 44px); }
.recipe h4 { font-family: var(--f-ui); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin: 0 0 10px; }
.recipe h4:not(:first-child) { margin-top: 22px; }
.ingredients { list-style: none; padding: 0; margin: 0; }
.ingredients li { border-bottom: 1px dashed var(--line); }
.ingredients label { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; cursor: pointer; font-size: 18px; line-height: 1.3; }
.ingredients input { appearance: none; width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; border: 1.5px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; transition: background .25s, border-color .25s; cursor: pointer; }
.ingredients input::after { content: ""; width: 8px; height: 4px; border: 1.6px solid var(--cream); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .3s var(--ease); }
.ingredients input:checked { background: var(--olive); border-color: var(--olive); }
.ingredients input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.ingredients input:checked + span { text-decoration: line-through; text-decoration-color: var(--rose); color: var(--muted); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 44px; font-size: 18px; line-height: 1.4; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--berry); color: var(--berry); display: grid; place-items: center; font-family: var(--f-display); font-weight: 600; font-size: 17px; }
.recipe__note { background: var(--rose-l); border-radius: 14px; padding: 14px 18px; font-size: 17px; line-height: 1.4; margin-top: 6px; }
.recipe__note b { color: var(--berry); }
::view-transition-old(recipe), ::view-transition-new(recipe) { animation-duration: .45s; }

/* Features: 5 facts */
.feature b { font-size: 21px; line-height: 1.1; }

/* Stack: 4 cards */
.stack__card:nth-child(4) { --i: 3; }

/* Instagram */
.insta { padding: clamp(100px, 12vw, 160px) var(--gutter) clamp(80px, 10vw, 130px); }
.insta__profile { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; padding: 18px 22px; border: 1px solid var(--line-strong); border-radius: 999px; margin-bottom: 26px; background: var(--cream); }
.insta__profile > img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; outline: 2px solid var(--rose); outline-offset: 3px; }
.insta__profile b { font-family: var(--f-display); font-size: 24px; display: block; line-height: 1.1; }
.insta__profile span { font-family: var(--f-ui); font-size: 12.5px; color: var(--ink-2); }
.insta__profile dl { margin: 0; padding-left: 22px; border-left: 1px solid var(--line); }
.insta__profile dt { font-family: var(--f-display); font-size: 28px; font-weight: 600; line-height: 1; }
.insta__profile dd { margin: 0; font-family: var(--f-ui); font-size: 11px; color: var(--muted); }
.insta__highlights { list-style: none; padding: 0; margin: 0 0 0 auto; display: flex; flex-wrap: wrap; gap: 6px; }
.insta__highlights li { font-family: var(--f-ui); font-size: 12px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--paper-2); }
.insta__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(8px, 1vw, 14px); }
.ig-post { position: relative; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: var(--paper-2); }
.ig-post img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ig-post__over { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; padding: 14px; color: var(--cream); background: linear-gradient(to top, rgba(30, 22, 12, .78), transparent 55%); opacity: 0; transition: opacity .4s; }
.ig-post__over svg { width: 34px; height: 34px; position: absolute; top: 50%; left: 50%; translate: -50% -50%; padding: 8px; border-radius: 50%; background: rgba(250, 245, 236, .25); backdrop-filter: blur(4px); }
.ig-post__over b { font-family: var(--f-display); font-size: 21px; line-height: 1.1; }
.ig-post__over small { font-family: var(--f-ui); font-size: 11px; opacity: .8; }
.ig-post:hover img { transform: scale(1.06); }
.ig-post:hover .ig-post__over, .ig-post:focus-visible .ig-post__over { opacity: 1; }
@media (hover: none) { .ig-post__over { opacity: 1; } .ig-post__over svg { display: none; } }

/* Contact card (footer) */
.contact-card { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.contact-card__lead { font-family: var(--f-display); font-size: clamp(24px, 2.2vw, 32px); line-height: 1.2; margin-bottom: 8px; }
.contact-row { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 18px; border: 1px solid rgba(243, 234, 219, .3); border-radius: 18px; transition: background .3s, border-color .3s; }
.contact-row:hover { background: rgba(243, 234, 219, .08); border-color: rgba(243, 234, 219, .6); }
.contact-row svg { width: 24px; height: 24px; }
.contact-row span { display: flex; flex-direction: column; font-size: 21px; line-height: 1.2; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.contact-row small { font-family: var(--f-ui); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; opacity: .65; }
.contact-row__arrow { transition: transform .4s var(--ease); }
.contact-row:hover .contact-row__arrow { transform: translateX(4px) rotate(-45deg); }
.contact-card .btn { margin-top: 4px; }

@media (max-width: 1080px) {
  .nav__cta { display: none; }
  .story { grid-template-columns: 1fr; }
  .story__portrait { position: relative; top: 0; max-width: 360px; }
  .recipes__layout { grid-template-columns: 1fr; }
  .recipe-tabs { position: relative; top: 0; flex-direction: row; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .recipe-tab { flex: 0 0 auto; }
  .insta__grid { grid-template-columns: repeat(4, 1fr); }
  .insta__profile { border-radius: 24px; }
  .insta__highlights { margin-left: 0; }
}
@media (max-width: 680px) {
  .timeline li { grid-template-columns: 1fr; gap: 6px; }
  .recipe { grid-template-columns: 1fr; min-height: 0; }
  .recipe__media { aspect-ratio: 4 / 3.6; }
  .recipe__cols { grid-template-columns: 1fr; }
  .recipe-tab small { display: none; }
  .recipe-tab img { width: 44px; height: 44px; }
  .insta__grid { grid-template-columns: repeat(2, 1fr); }
  .insta__profile dl { padding-left: 0; border-left: 0; }
}


/* ---------- v3: story quote + archive rail ---------- */
.story__quote { margin: 32px 0 0; padding: 22px 0 22px 26px; border-left: 2px solid var(--rose); max-width: 58ch; }
.story__quote p { font-size: clamp(22px, 1.9vw, 30px); font-style: italic; line-height: 1.35; color: var(--ink); }
.story__quote footer { margin-top: 12px; font: 600 12px/1 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.story__quote a { color: var(--berry); text-decoration: underline; text-underline-offset: 3px; }
.story__lead--sm { font-size: clamp(17px, 1.2vw, 20px); margin-top: 18px; }

.archive { background: var(--charcoal); color: var(--cream); position: relative; overflow: hidden; }
.archive::before { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .25; pointer-events: none; }
.archive__pin { display: flex; align-items: center; gap: clamp(28px, 4vw, 64px); min-height: 100vh; padding: clamp(80px, 9vw, 120px) 0 clamp(60px, 6vw, 90px) var(--gutter); }
.archive__head { flex: 0 0 clamp(260px, 26vw, 380px); position: relative; z-index: 1; }
.archive__head .kicker { color: var(--rose-l); }
.archive__head .h2 { color: var(--cream); font-size: clamp(42px, 5vw, 80px); line-height: .95; margin-top: 14px; }
.archive__head .h2 em { color: var(--rose-l); font-style: italic; }
.archive__aside { margin-top: 22px; font-size: 19px; line-height: 1.5; color: rgba(250, 245, 236, .72); }
.archive__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip { font: 600 13px/1 var(--f-ui); padding: 11px 16px; border-radius: 99px; border: 1px solid rgba(250, 245, 236, .3); color: var(--cream); background: transparent; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s; }
.chip:hover { border-color: var(--cream); }
.chip.is-active { background: var(--cream); color: var(--charcoal); border-color: var(--cream); }
.archive__count { margin-top: 32px; font: 500 13px/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: rgba(250, 245, 236, .55); }
.archive__count span { font: 400 64px/1 var(--f-display); letter-spacing: -.02em; color: var(--cream); margin-right: 6px; vertical-align: -6px; }
.archive__viewport { flex: 1 1 auto; min-width: 0; overflow: hidden; position: relative; z-index: 1; padding-top: 4px; mask-image: linear-gradient(90deg, transparent, #000 40px); }
.archive__rail { display: flex; gap: 18px; padding-right: var(--gutter); will-change: transform; position: relative; z-index: 1; }
.arch-card { flex: 0 0 auto; width: clamp(220px, 21vw, 320px); color: inherit; text-decoration: none; display: block; }
.arch-card[hidden] { display: none; }
.arch-card__img { aspect-ratio: 9 / 14; border-radius: 160px 160px 16px 16px; overflow: hidden; background: #2a2724; position: relative; }
.arch-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.arch-card:hover .arch-card__img img { transform: scale(1.06); }
.arch-card__no { position: absolute; top: 18px; left: 50%; translate: -50% 0; font: 600 11px/1 var(--f-ui); letter-spacing: .14em; background: rgba(250, 245, 236, .9); color: var(--charcoal); padding: 7px 10px; border-radius: 99px; }
.arch-card__body { padding: 16px 4px 0; }
.arch-card__origin { font: 600 11px/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--rose-l); }
.arch-card h3 { font: 400 clamp(26px, 2vw, 32px)/1.05 var(--f-display); margin-top: 8px; }
.arch-card p { margin-top: 8px; font-size: 16px; line-height: 1.4; color: rgba(250, 245, 236, .66); }
.arch-card__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font: 600 12px/1 var(--f-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--cream); opacity: .8; }
.arch-card__go svg { width: 14px; height: 14px; transition: translate .4s var(--ease); }
.arch-card:hover .arch-card__go svg { translate: 4px 0; }
.archive__bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 32px; height: 1px; background: rgba(250, 245, 236, .18); z-index: 1; }
.archive__bar i { display: block; height: 100%; width: 100%; background: var(--rose-l); transform-origin: left; transform: scaleX(0); }
/* no-pin fallback (mobile / reduced): native horizontal scroll */
.archive.is-native .archive__rail { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.archive.is-native .archive__rail::-webkit-scrollbar { display: none; }
.archive.is-native .arch-card { scroll-snap-align: start; }
@media (max-width: 1080px) {
  .archive__pin { flex-direction: column; align-items: stretch; min-height: 0; padding-right: 0; }
  .archive__head { flex: none; padding-right: var(--gutter); }
  .archive__viewport { mask-image: none; }
  .archive__count { display: none; }
  .archive__bar { display: none; }
  .arch-card { width: min(68vw, 280px); }
}

/* ---------- v4: professional about ---------- */
.story__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, 5vw, 80px); line-height: 1; letter-spacing: -.02em; margin-top: 18px; }
.story__title em { color: var(--olive); }
.story__cap { margin-top: 14px; font: 600 11px/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: center; }
.timeline--pillars .timeline__date { font-family: var(--f-display); font-size: 40px; color: var(--rose); }
.timeline--pillars li { grid-template-columns: 90px 1fr; }
.insta__logo { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--olive); color: var(--cream); outline: 2px solid var(--rose); outline-offset: 3px; flex: none; }
.insta__logo svg { width: 28px; height: 28px; }

/* ---------- Reveal helpers ---------- */
.js [data-fade] { opacity: 0; transform: translateY(40px); }
.reduced [data-fade] { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .cell--title { grid-column: 1 / 13; }
  .cell--image { grid-column: 1 / 13; grid-row: auto; min-height: 380px; }
  .cell--info { grid-column: 1 / 9; }
  .cell--badge { grid-column: 9 / 13; }
  .cell--dark { grid-column: 1 / 13; }
  .cell--product { grid-column: 1 / 13; }
  .doors { grid-template-columns: 1fr; }
  .door { min-height: 190px; grid-template-columns: 38% 1fr; }
  .gift { grid-template-columns: 1fr; }
  .gift__visual { min-height: 340px; }
  .workshops { grid-template-columns: 1fr; }
  .workshops__sticky { position: relative; top: 0; aspect-ratio: 16 / 10; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(4)::before { display: none; }
  .notes__grid { grid-template-columns: 1fr 1fr; }
  .note--lg { grid-row: auto; grid-column: 1 / 3; }
  .note--quote { grid-column: 1 / 3; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 18px; }
  .nav { top: 8px; padding: 6px 6px 6px 14px; }
  .nav__actions .icon-btn:nth-child(1), .nav__actions .icon-btn:nth-child(2) { display: none; }
  .logo__word { font-size: 21px; }
  .hero { padding-top: 80px; }
  .bento { border-radius: 18px; }
  .cell--info, .cell--badge { grid-column: 1 / 13; }
  .cell--badge { min-height: 180px; }
  .cell--image { min-height: 300px; }
  .eyebrow { letter-spacing: .2em; font-size: 10px; gap: 8px; }
  .hero__title .line--indent { padding-left: .3em; }
  .pow__buy .btn { margin-left: 0; width: 100%; }
  .door { grid-template-columns: 1fr; }
  .door__img { aspect-ratio: 16 / 9; -webkit-mask: none; mask: none; }
  .door__body { padding: 18px; }
  .gift__sizes { grid-template-columns: repeat(3, 1fr); }
  .size { padding: 10px; }
  .size b { font-size: 22px; }
  .gift__foot .btn-row { width: 100%; }
  .gift__foot .btn { flex: 1; }
  .session__row { grid-template-columns: 56px 1fr 22px; gap: 12px; }
  .session__row .seats { grid-column: 2 / 3; grid-row: 2; }
  .session__date b { font-size: 36px; }
  .session__inner { padding-left: 4px; }
  .features { grid-template-columns: 1fr 1fr; }
  .feature::before { display: none; }
  .feature:last-child { grid-column: 1 / 3; }
  .stack__card { grid-template-columns: 1fr; min-height: 0; top: calc(80px + var(--i, 0) * 14px); }
  .stack__card img { aspect-ratio: 16 / 11; order: -1; }
  .notes__grid { grid-template-columns: 1fr; }
  .note--lg, .note--quote { grid-column: auto; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .marquee { padding: 12px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .manifesto__text .w { opacity: 1; }
  .parallax-img { scale: 1; }
}

html { overflow-x: clip; }

/* ---------- v5: audit fixes ---------- */
.pill { font-size: 11.5px; }
.door__num { font-size: 12px; }
.feature span { font-size: 13px; }
.timeline--pillars .timeline__date { color: var(--berry); }
/* hero archive cell: keep text readable over light plates */
.cell--dark::before { background: linear-gradient(100deg, rgba(30, 22, 12, .9) 0%, rgba(30, 22, 12, .62) 45%, rgba(30, 22, 12, .1) 85%); }
.cell--dark__text p { text-shadow: 0 1px 12px rgba(20, 14, 8, .65); }
.cell--dark__text em { opacity: 1; }
@media (max-width: 680px) {
  .cell--dark::before { background: linear-gradient(0deg, rgba(30, 22, 12, .92) 0%, rgba(30, 22, 12, .7) 45%, rgba(30, 22, 12, .1) 100%); }
  /* stacked season cards: no sticky overlap on phones */
  .stack__card { position: relative; top: auto; }
}
/* archive: first card must not sit under the edge fade */
.archive:not(.is-native) .archive__rail { padding-left: 48px; }

/* v6: season cards keep a fixed height so text + dish stay in view */
@media (min-width: 681px) {
  .stack__card { height: min(76vh, 640px); min-height: 0; }
  .stack__card > * { min-height: 0; }
  .stack__card img { height: 100%; }
}
@media (max-width: 680px) { .stack__card img { height: auto; } }
