/* NATURAL by Odelya Agam · direction C "יוטה": a warm magazine. Her photos are shot on jute with rosemary, so the page
   takes the jute and the wheat as its warmth: cream paper, ink, a wheat brown for the small marks, a pale wheat band or
   two with a faint woven texture. Big Frank Ruhl Libre headlines tell the shop in chapters (by occasion); Assistant
   for the text; Cormorant Garamond for the Latin (the spaced wordmark, italic kickers and chapter numbers).
   Weights: the shared Frank Ruhl Libre file has one weight only (fonts.css promises 300–900, but every weight measures
   the same), so every headline here is set at 400 and the big moments get their weight from size alone.
   Motion: one opening (the kit's split-hero, then the name rises letter by letter), her line filling in word by word,
   product photos that rise and settle at once, and a kraft box that fills up. Transform and opacity only. */
:root {
  --bg: #F6EFE3;              /* cream paper */
  --card: #FBF7EF;
  --ink: #2A241B;
  --soft: #5E5446;            /* 6.5:1 on cream, 5.4:1 on the band */
  --line: #DDCDB2;
  --wheat: #8C6A3A;           /* marks, rules and big numerals only (4.3:1 on cream: large text) */
  --wheat-ink: #765930;       /* wheat for small text: 5.7:1 on cream, 4.7:1 on the band */
  --band: #E8DAC2;            /* pale wheat */
  --kraft: #C4A273;
  --accent: var(--ink);
  --on-accent: var(--bg);
  --radius: 14px;
  --font-display: "Frank Ruhl Libre", "David Libre", Georgia, serif;
  --font-latin: "Cormorant Garamond", "Frank Ruhl Libre", Georgia, serif;
  --font-body: "Assistant", system-ui, sans-serif;
  --hdr-h: 60px;
  --hdr-bg: var(--bg);
  --hdr-over: var(--ink);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --m-ease: cubic-bezier(.16, 1, .3, 1);
  --m-dur: 1.1s;
  --m-y: clamp(28px, 4vw, 54px);
  --sw-ease: cubic-bezier(.16, 1, .3, 1);
  --fly-toast-bg: var(--ink);
  --fly-toast-fg: var(--bg);
  --tag-bg: var(--wheat-ink);
  --tag-ink: var(--bg);
  --cart-title: 400 30px/1.1 var(--font-display);
  --dr-bg: var(--card);
  /* the jute: a faint woven grid */
  --weave: repeating-linear-gradient(0deg, rgba(118, 89, 48, .075) 0 1px, transparent 1px 4px),
           repeating-linear-gradient(90deg, rgba(118, 89, 48, .075) 0 1px, transparent 1px 4px);
}
body { font: 400 18px/1.6 var(--font-body); }
/* base.css clips sideways overflow on <body>, but body passes that to the viewport, where a phone can still zoom out.
   Clip here too: a pick half-scrolled out of its row starts its flight into the box outside the screen. */
main { overflow-x: clip; }
i { font-family: var(--font-latin); font-style: italic; }
/* Latin kickers have their own dir="ltr", but they line up with the Hebrew they belong to (right, or centred) */
.kick { font: italic 500 20px/1.2 var(--font-latin); color: var(--wheat-ink); text-align: right; }
.kick i { font-weight: 500; }
@keyframes c-rise { from { transform: translate3d(0, 112%, 0); } }
@keyframes c-fade-up { from { opacity: 0; transform: translate3d(0, 18px, 0); } }
@keyframes c-fade { from { opacity: 0; } }

/* ---------- header ---------- */
.hdr__brand { font: 500 18px/1 var(--font-latin); letter-spacing: .4em; margin-right: -.4em; transition: opacity .4s ease; }
.js .hdr:not(.is-solid) .hdr__brand { opacity: 0; visibility: hidden; }   /* over the opening, the opening's own name speaks */
/* a cream shade at the top, so the header reads over the photos */
.hdr::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 116px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(246, 239, 227, .92) 0%, rgba(246, 239, 227, .62) 48%, rgba(246, 239, 227, 0) 100%);
  opacity: 0; transition: opacity .45s ease;
}
.js .hdr:not(.is-solid)::before { opacity: 1; }
.hdr__nav a { font: 600 16px/1 var(--font-body); padding: 14px 2px; transition: color .3s ease; }
.hdr__nav a:hover { color: var(--wheat-ink); }
@media (min-width: 380px) and (max-width: 859px) { .hdr__nav { display: flex; gap: 16px; } .hdr__nav a { font-size: 15.5px; } }
.hdr__cart { transition: transform .16s ease-out; }
.hdr__cart:active { transform: scale(.94); }

/* ---------- buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 36px; border: 0; border-radius: 12px; background: var(--ink); color: var(--bg);
  font: 700 17px/1 var(--font-body); text-decoration: none; transition: transform .16s ease-out, color .3s ease;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--wheat-ink); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.btn:focus-visible::before { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .btn:hover::before { transform: scaleX(1); } }
.btn:active { transform: scale(.97); }

/* "הוספה לסל": an outlined button that fills from below; after a tap it says "נוסף" for a moment (site.js) */
.add {
  position: relative; isolation: isolate; overflow: hidden; flex: none; display: inline-grid; place-items: center;
  min-height: 46px; padding: 0 18px; border: 1.5px solid var(--ink); border-radius: 12px; background: transparent; color: var(--ink);
  font: 700 15.5px/1 var(--font-body); white-space: nowrap; transition: color .3s ease, transform .16s ease-out;
}
.add::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .45s var(--ease); }
.add > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 6px; transition: transform .45s var(--ease), opacity .25s ease; }
.add__b { opacity: 0; transform: translate3d(0, 120%, 0); }
.add__b svg { width: 17px; height: 17px; }
.add.is-added::before { transform: none; }
.add.is-added { color: var(--bg); }
.add.is-added .add__a { opacity: 0; transform: translate3d(0, -120%, 0); }
.add.is-added .add__b { opacity: 1; transform: none; }
.add:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .add:hover::before { transform: none; } .add:hover { color: var(--bg); } }
.add--solid { min-height: 54px; padding: 0 32px; background: var(--ink); color: var(--bg); font-size: 17px; }
.add--solid::before { background: var(--wheat-ink); }
.add:focus-visible { outline-offset: 3px; }

.price { margin-top: 3px; font: 400 18px/1.2 var(--font-display); color: var(--soft); }
.price--big { margin: 0; font: 400 32px/1 var(--font-display); color: var(--ink); }
.buy { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.buy--row { justify-content: space-between; margin-top: 16px; }

/* ---------- the opening (kit split-hero, "slide") ---------- */
.hero.sh { --sh-ground: var(--bg); --sh-gold: var(--wheat); --sh-lt: 66%; --sh-lb: 44%; min-height: calc(100svh - var(--bd-switch-h, 0px)); }
/* phones: the house is wider than the kit's 62% panel can show, so both panels are 74% wide (same diagonal maths,
   other width): the whole house on the left, her own NATURAL card in the box on the right */
@media (max-width: 879px) {
  .hero .sh-pane { width: 74%; }
  .hero .sh-pane-a { clip-path: polygon(calc((var(--sh-lt) - 26%) / .74) 0, 100% 0, 100% 100%, calc((var(--sh-lb) - 26%) / .74) 100%); }
  .hero .sh-pane-b { clip-path: polygon(0 0, calc(var(--sh-lt) / .74) 0, calc(var(--sh-lb) / .74) 100%, 0 100%); }
  .hero .sh-pane-a img { object-position: 92% 0; }   /* the box, with her card clear of the cut */
  .hero .sh-pane-b img { object-position: 48% 0; }   /* the house, all three roofs */
}
.hero__copy { padding: 120px 20px max(22px, 3.2svh); }
.mark { display: grid; justify-items: center; font-weight: 400; }
.mark__word { display: flex; justify-content: center; overflow: hidden; padding: .06em .1em .02em; font: 500 clamp(34px, 11.4vw, 108px)/1 var(--font-latin); }
.mark__word b { display: block; font-weight: inherit; padding-inline: .15em; }
.mark__by { display: inline-flex; align-items: center; gap: 9px; margin-top: 2px; font: 500 clamp(19px, 5.2vw, 28px)/1.2 var(--font-latin); color: var(--wheat-ink); }
.mark__ear { width: 9px; height: 20px; color: var(--wheat); transform: rotate(-28deg); }
.hero__what { margin: 14px 0 20px; font: 400 clamp(20px, 5.5vw, 29px)/1.35 var(--font-display); }
.hero__btn { min-width: 210px; }
/* after the photos have slid in: the letters rise one by one, then the line and the button */
.hero .mark__word b { animation: c-rise 1s var(--ease) both; animation-delay: calc(1.05s + var(--i, 0) * .065s); }
.hero .mark__by { animation: c-fade-up 1s var(--ease) 1.55s both; }
.hero .hero__what { animation: c-fade-up 1s var(--ease) 1.68s both; }
.hero .hero__btn { animation: c-fade-up 1s var(--ease) 1.8s both; }
@media (max-height: 720px) and (max-width: 879px) {
  .hero__what { margin: 10px 0 16px; font-size: 20px; }
  .mark__word { font-size: clamp(32px, 10.4vw, 60px); }
}
@media (min-width: 880px) {
  .hero.sh { --sh-lt: 57%; --sh-lb: 41%; min-height: 100svh; }
  .hero .sh-pane-a img { object-position: 70% 38%; }
  .hero .sh-pane-b img { object-position: 30% 6%; }
  /* the name sits on clear cream, not on the fading photos */
  .hero .sh-media { -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent 80%); mask-image: linear-gradient(180deg, #000 50%, transparent 80%); }
  .hero .sh-scrim { -webkit-mask-image: linear-gradient(180deg, transparent 46%, rgba(0, 0, 0, .7) 60%, #000 72%); mask-image: linear-gradient(180deg, transparent 46%, rgba(0, 0, 0, .7) 60%, #000 72%); }
  .hero__copy { padding: 0 24px 40px; }
  .mark__word { font-size: clamp(60px, 6vw, 104px); }
}

/* ---------- a ribbon of jute ---------- */
.ribbon { direction: ltr; overflow: hidden; background-color: var(--band); background-image: var(--weave); border-block: 1px solid rgba(140, 106, 58, .32); padding: 14px 0 12px; }
.ribbon__track { display: flex; align-items: center; width: max-content; animation: c-run 56s linear infinite; }
.ribbon__track > * { flex: none; margin-right: 24px; white-space: nowrap; }
.ribbon span { direction: rtl; font: 400 21px/1 var(--font-display); }
.ribbon i { font: italic 500 23px/1 var(--font-latin); }
.ribbon svg { width: 9px; height: 20px; color: var(--wheat); }
@keyframes c-run { from { transform: translate3d(-50%, 0, 0); } to { transform: none; } }   /* to the right, as Hebrew reads */

/* ---------- her line ---------- */
.line { padding: clamp(84px, 13vw, 180px) 22px clamp(72px, 11vw, 160px); text-align: center; }
.line__ear { display: block; width: 14px; height: 30px; margin: 0 auto 28px; color: var(--wheat); }
.line__p { max-width: 11.5em; margin-inline: auto; font: 400 clamp(42px, 11.6vw, 112px)/1.12 var(--font-display); text-wrap: balance; }
.line__by { margin-top: 30px; font: 500 clamp(20px, 5vw, 26px)/1 var(--font-latin); color: var(--wheat-ink); }

/* ---------- the contents page (the categories) ---------- */
.toc { padding-block: clamp(10px, 3vw, 40px) clamp(20px, 4vw, 60px); }
.toc__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1.5px solid var(--ink); }
.toc__head h2 { font: 400 clamp(30px, 8vw, 60px)/1.05 var(--font-display); }
.toc__list li { border-bottom: 1px solid var(--line); }
.toc__list a { display: grid; grid-template-columns: 1.5em minmax(0, 1fr) auto; align-items: baseline; gap: 12px; padding: 18px 0 15px; text-decoration: none; }
.toc__n { font: italic 500 30px/1 var(--font-latin); color: var(--wheat-ink); }
.toc__t { display: block; font: 400 clamp(25px, 6.6vw, 46px)/1.15 var(--font-display); transition: transform .5s var(--ease); }
.toc__list i { font-size: 18px; line-height: 1; color: var(--soft); }
.toc__list a:active .toc__t { transform: translate3d(-6px, 0, 0); }
@media (hover: hover) and (pointer: fine) { .toc__list a:hover .toc__t { transform: translate3d(-12px, 0, 0); } }
@media (min-width: 900px) {
  .toc__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
  .toc__head { display: block; border-bottom: 0; padding-top: 18px; }
  .toc__head .kick { margin-top: 10px; }
  .toc__list { border-top: 1.5px solid var(--ink); }
  .toc__list a { padding: 24px 0 20px; grid-template-columns: 2em minmax(0, 1fr) auto; }
  .toc__n { font-size: 38px; }
}

/* ---------- a chapter ---------- */
.ch { padding-top: clamp(70px, 10vw, 150px); }
.ch__head { margin-bottom: clamp(28px, 4.5vw, 64px); }
.ch__rule { display: flex; align-items: center; gap: 14px; color: var(--wheat); margin-bottom: clamp(22px, 3vw, 44px); }
.ch__rule::before, .ch__rule::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .55; }
.ch__rule svg { flex: none; width: 12px; height: 26px; }
/* the rule draws out from the ear to both sides */
.js .ch__rule::before { transform: scaleX(0); transform-origin: left; transition: transform 1.3s var(--ease); }
.js .ch__rule::after { transform: scaleX(0); transform-origin: right; transition: transform 1.3s var(--ease); }
.ch__rule.m-in::before, .ch__rule.m-in::after { transform: none; }
.ch__title { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; column-gap: clamp(14px, 2.4vw, 40px); }
.ch__n { font: italic 400 clamp(84px, 23vw, 220px)/.74 var(--font-latin); color: var(--wheat); padding-top: .04em; }
.ch__n i { font-weight: 400; }
.ch__title h2 { font: 400 clamp(50px, 15vw, 150px)/.98 var(--font-display); text-wrap: balance; overflow-wrap: break-word; }
.ch__title .kick { margin-top: 10px; }
.ch__lede { margin-top: 24px; max-width: 24em; font: 400 clamp(21px, 5.4vw, 30px)/1.42 var(--font-display); }

/* product photos appear at once as they enter: a short rise and a settle from 1.07 (no masks on a grid) */
.pc, .bx, .feat__photo { --m-y: 25px; --m-dur: .75s; }
.js:not(.m-off) :is(.pc, .bx)[data-m]:not(.m-in) img,
.js:not(.m-off) .feat__photo[data-m]:not(.m-in) > img[data-product-img] { transform: scale(1.07); }
:is(.pc, .bx) img, .feat__photo > img[data-product-img] { transition: transform .75s var(--ease); }

/* the featured piece: the lake candle */
.feat__photo { aspect-ratio: 4 / 5; background: var(--band); }
.feat__text { padding: 26px 20px 0; }
.feat h3 { margin-top: 4px; font: 400 clamp(50px, 13.6vw, 108px)/1 var(--font-display); }
.swatches { margin-top: 22px; }
.swatches legend { padding: 0; margin-bottom: 10px; font: 600 15.5px/1.2 var(--font-body); color: var(--soft); }
.swatches__row { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch {
  position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 16px;
  border: 1.5px solid var(--line); border-radius: 12px; font-weight: 600; cursor: pointer; transition: border-color .25s ease, transform .16s ease-out;
}
.swatch input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.swatch__dot { width: 20px; height: 20px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(42, 36, 27, .22), 0 0 0 3px var(--bg), 0 0 0 4px transparent; transition: box-shadow .25s ease; }
.swatch:has(input:checked) { border-color: var(--ink); }
.swatch:has(input:checked) .swatch__dot { box-shadow: inset 0 0 0 1px rgba(42, 36, 27, .22), 0 0 0 3px var(--bg), 0 0 0 4.5px var(--ink); }
.swatch:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.swatch:active { transform: scale(.97); }
@media (min-width: 960px) {
  .feat { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: center; }
  .feat__photo { aspect-ratio: auto; height: min(88vh, 860px); border-start-end-radius: var(--radius); border-end-end-radius: var(--radius); }
  .feat__photo > img { object-position: 50% 45%; }
  .feat__text { padding: 0 clamp(40px, 6vw, 120px); }
}

/* the other pieces: big photos, two by two on wider screens, the second column set lower like a magazine page */
.grid { display: grid; gap: 52px; width: min(100% - 40px, 1080px); margin: clamp(52px, 8vw, 110px) auto 0; }
.pc__photo { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--band); }
.pc__photo img { width: 100%; height: 100%; object-fit: cover; }
.pc__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; padding-top: 16px; }
.pc__txt { min-width: 0; }
.pc h3 { font: 400 clamp(22px, 5.9vw, 29px)/1.2 var(--font-display); overflow-wrap: break-word; text-wrap: balance; }
@media (hover: hover) and (pointer: fine) { .pc__photo:hover img, .bx__photo:hover img { transform: scale(1.035); } }   /* the photo itself, not the whole card: reaching for the button keeps the photo still */
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; row-gap: 64px; }
  .grid > :nth-child(even) { margin-top: 80px; }
}
@media (min-width: 960px) {
  .grid { column-gap: clamp(40px, 5vw, 72px); row-gap: 90px; }
  .grid > :nth-child(even) { margin-top: 130px; }
}

/* the hanukkiah: a wide moment on pale wheat; the photo is always whole */
.menorah { margin-top: clamp(72px, 10vw, 140px); background: var(--band); }
.menorah__photo { display: block; }
.menorah__photo img { width: 100%; height: auto; }
.menorah__text { padding: 30px 20px 48px; }
.menorah h3 { margin-top: 2px; font: 400 clamp(64px, 21.5vw, 200px)/.92 var(--font-display); }
.menorah__sub { margin-top: 10px; font: 400 clamp(22px, 5.8vw, 34px)/1.3 var(--font-display); }
@media (min-width: 900px) {
  .menorah__in { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 4.5vw, 80px); width: min(100% - 48px, 1320px); margin-inline: auto; padding-block: clamp(56px, 7vw, 100px); }
  .menorah__photo img { border-radius: var(--radius); }
  .menorah__text { padding: 0; }
  .menorah h3 { font-size: clamp(80px, 7.6vw, 140px); }
}

/* ---------- gift boxes ---------- */
.boxes { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; padding: 4px 20px 30px; scrollbar-width: none; overscroll-behavior-x: contain; }
.boxes::-webkit-scrollbar { display: none; }
.boxes:focus-visible { outline-offset: -3px; }
.bx { flex: 0 0 min(82vw, 360px); scroll-snap-align: start; }
.bx__photo { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--band); }
.bx__photo img { width: 100%; height: 100%; object-fit: cover; }
.bx__body { padding-top: 16px; }
.bx__tag { display: inline-block; padding: 6px 11px 5px; border-radius: 8px; background: var(--wheat-ink); color: var(--bg); font: 700 14px/1 var(--font-body); }
.bx h3 { margin-top: 12px; font: 400 clamp(25px, 6.4vw, 31px)/1.15 var(--font-display); }
.bx__in { margin-top: 6px; color: var(--soft); font-size: 16.5px; line-height: 1.5; }
.bx__in span { font-weight: 700; color: var(--ink); }
@media (min-width: 900px) {
  .boxes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); width: min(100% - 48px, 1180px); margin-inline: auto; padding: 0; overflow: visible; }
}

/* the box you put together: a kraft box with three places, paper straw drawn in CSS */
.kit { margin-top: clamp(60px, 9vw, 120px); padding: 28px 0 24px; border-radius: 20px; background-color: var(--band); background-image: var(--weave); }
.kit__head { padding: 0 20px; }
.kit h3 { margin-top: 4px; font: 400 clamp(31px, 8.4vw, 52px)/1.1 var(--font-display); }
.kit__stage { position: relative; padding: 58px 20px 0; }
.kit__card {
  position: absolute; z-index: 0; top: 58px; left: 34px; width: 122px; padding: 12px 8px 10px; border-radius: 3px; background: #FFFCF6;
  display: grid; justify-items: center; gap: 3px; box-shadow: 0 8px 18px -10px rgba(42, 36, 27, .55);
  opacity: 0; transform: translate3d(0, 24px, 0) rotate(-5deg); transition: transform .9s var(--ease), opacity .2s ease;
}
.kit__card b { font: 500 13px/1 var(--font-latin); letter-spacing: .32em; margin-right: -.32em; }
.kit__card svg { width: 6px; height: 13px; color: var(--wheat); }
.kit__card i { font-size: 11.5px; line-height: 1; color: var(--wheat-ink); }
.kit.is-ready .kit__card { opacity: 1; transform: translate3d(0, -84%, 0) rotate(-5deg); }   /* her card goes into the full box */
.kitbox {
  position: relative; z-index: 1; padding: 14px; border-radius: 14px; background-color: var(--kraft);
  background-image:
    repeating-linear-gradient(28deg, rgba(255, 246, 228, .2) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(-36deg, rgba(110, 78, 40, .14) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(64deg, rgba(255, 246, 228, .13) 0 1.5px, transparent 1.5px 13px);
  box-shadow: inset 0 0 0 6px rgba(112, 80, 42, .2), inset 0 14px 18px -12px rgba(60, 40, 15, .42), 0 24px 34px -22px rgba(42, 36, 27, .55);
}
.kit.is-ready .kitbox { animation: c-settle .7s var(--ease); }
@keyframes c-settle { 35% { transform: translate3d(0, 3px, 0) scale(.992); } }
.kitbox__in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kit__slot {
  aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center; background: rgba(250, 244, 232, .36);
  outline: 1.5px dashed rgba(42, 36, 27, .32); outline-offset: -6px;
}
.kit__slot.is-full { outline-color: transparent; }
.kit__num { font: italic 500 32px/1 var(--font-latin); color: rgba(42, 36, 27, .66); transition: opacity .3s ease, transform .4s var(--ease); }
.kit__slot.is-full .kit__num { opacity: 0; transform: scale(.8); }
.kit__slot .kit__item { box-shadow: 0 8px 16px -9px rgba(42, 36, 27, .7); }
.kit__twine { position: relative; height: 4px; margin: 20px 6px 0; border-radius: 4px; background: rgba(118, 89, 48, .2); overflow: hidden; }
.kit__twine span { position: absolute; inset: 0; border-radius: inherit; background: var(--wheat-ink); transform: scaleX(var(--kit-p, 0)); transform-origin: right; transition: transform .7s var(--ease); }
.kit__status { margin-top: 12px; min-height: 1.45em; text-align: center; font: 600 16.5px/1.45 var(--font-body); transition: color .3s ease; }
.kit.is-ready .kit__status { color: var(--wheat-ink); }
.kit__picks { display: flex; gap: 12px; margin-top: 22px; padding: 8px 20px 6px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 20px; scrollbar-width: none; overscroll-behavior-x: contain; }
.kit__picks::-webkit-scrollbar { display: none; }
.pick { flex: 0 0 112px; display: grid; align-content: start; gap: 9px; padding: 0; border: 0; background: none; text-align: start; scroll-snap-align: start; transition: opacity .3s ease, transform .16s ease-out; }
.pick:active { transform: scale(.96); }
.pick__ph { position: relative; display: block; aspect-ratio: 1; border-radius: 12px; }
.pick__ph img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.pick__ph::after { content: ""; position: absolute; inset: -4px; border-radius: 15px; border: 2px solid var(--ink); opacity: 0; transform: scale(.95); transition: opacity .25s ease, transform .4s var(--ease); }
.pick.is-picked .pick__ph::after { opacity: 1; transform: none; }
.pick__ok { position: absolute; top: -7px; left: -7px; z-index: 1; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bg); opacity: 0; transform: scale(.6); transition: opacity .2s ease, transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.pick__ok svg { width: 15px; height: 15px; }
.pick.is-picked .pick__ok { opacity: 1; transform: none; }
.pick__n { font: 600 14.5px/1.3 var(--font-body); }
.kit.is-ready .pick:not(.is-picked) { opacity: .45; }
.kit__add { display: flex; width: calc(100% - 40px); margin: 18px 20px 0; transition: transform .16s ease-out, color .3s ease, background-color .35s ease, box-shadow .35s ease; }
/* not full yet: an outline (readable), not a faded button */
.kit__add[aria-disabled="true"] { opacity: 1; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(42, 36, 27, .4); }
.kit__add[aria-disabled="true"]::before { display: none; }
.kit.is-ready .kit__add { animation: c-nudge .7s var(--ease) .2s; }
@keyframes c-nudge { 40% { transform: scale(1.04); } }
@media (min-width: 900px) {
  .kit {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: auto auto 1fr;
    grid-template-areas: "head picks" "stage picks" "add picks"; column-gap: clamp(40px, 5vw, 84px); padding: 52px;
  }
  .kit__head { grid-area: head; padding: 0; }
  .kit__stage { grid-area: stage; padding: 54px 0 0; }
  .kit__card { top: 54px; left: 28px; }
  .kit__add { grid-area: add; width: 100%; margin: 24px 0 0; align-self: start; }
  .kit__picks { grid-area: picks; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 18px; margin: 0; padding: 6px 0 0; overflow: visible; align-self: center; }
  .pick { flex: none; }
}

/* ---------- about ---------- */
.about { margin-top: clamp(90px, 12vw, 170px); }
.about__photo { aspect-ratio: 4 / 5; background: var(--band); }
.about__text { padding: 30px 20px 0; }
.about h2 { margin-top: 8px; font: 400 clamp(44px, 12vw, 104px)/1.03 var(--font-display); text-wrap: balance; }
.about__p { margin-top: 18px; max-width: 24em; font: 400 clamp(20px, 5.2vw, 27px)/1.5 var(--font-display); }
.about__todo { margin-top: 28px; max-width: 30em; padding: 18px 18px 20px; border: 1.5px dashed var(--wheat); border-radius: var(--radius); }
.todo-tag { display: inline-block; padding: 5px 11px; border-radius: 99px; background: var(--band); color: var(--wheat-ink); font: 700 13.5px/1.2 var(--font-body); }
.about__todo p { margin-top: 10px; color: var(--soft); font-size: 18px; line-height: 1.5; }
@media (min-width: 900px) {
  .about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .about__photo { order: 2; aspect-ratio: auto; height: min(92vh, 920px); border-start-start-radius: var(--radius); border-end-start-radius: var(--radius); }
  .about__text { padding: 0 clamp(40px, 6vw, 120px); }
}

/* ---------- workshops ---------- */
.ws { margin-top: clamp(90px, 12vw, 170px); padding-block: clamp(70px, 10vw, 140px); background-color: var(--band); background-image: var(--weave); text-align: center; }
.ws h2 { margin-top: 6px; font: 400 clamp(64px, 21vw, 210px)/.95 var(--font-display); }
.ws .kick { text-align: center; }
.ws__p { margin: 18px auto 30px; max-width: 21em; font: 400 clamp(20px, 5.3vw, 28px)/1.45 var(--font-display); }

/* ---------- footer ---------- */
.ftr { padding: clamp(60px, 8vw, 110px) 0 clamp(40px, 6vw, 90px); text-align: center; }
.ftr__mark { display: flex; justify-content: center; font: 500 clamp(36px, 11.6vw, 160px)/1 var(--font-latin); }
.ftr__mark span { display: flex; }
.ftr__mark b { font-weight: inherit; padding-inline: .15em; }
.ftr__by { display: flex; justify-content: center; align-items: center; gap: 9px; margin-top: 4px; font: 500 22px/1.2 var(--font-latin); color: var(--wheat-ink); }
.ftr__by svg { width: 9px; height: 20px; color: var(--wheat); transform: rotate(-28deg); }
.ftr__ig { margin-top: 26px; font: 600 18px/1.3 var(--font-body); }
.ftr__ig a { display: inline-block; padding: 10px 4px; text-underline-offset: 5px; }
.ftr__line { margin-top: 4px; font-size: 16.5px; }
.ftr__note { margin-top: 8px; font-size: 15px; color: var(--soft); }

/* Cormorant's figures are old-style by default (a short "1", a "3" that hangs); the numbers want full-height ones.
   Last in the file: every `font` shorthand above resets font-variant-numeric. */
.ch__n, .toc__n, .kit__num, .ribbon i { font-variant-numeric: lining-nums; }
