/* ============================================================
   Livada lu' Gavril — v2 · "Un an într-un pahar"
   Experiență cinematică de scroll (GSAP + ScrollTrigger + Lenis)
   ============================================================ */

:root {
  --night: #14100d;
  --night-2: #1f1813;
  --cream: #f3ecdf;
  --cream-2: #e8dcc6;
  --ink: #1a120d;
  --apple: #cf3a2b;
  --apple-deep: #a82a1e;
  --amber: #f1c76b;
  --aronia: #5a1834;
  --leaf: #6b8f3a;

  --display: "Instrument Serif", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(16px, 5vw, 80px);
  --ease: cubic-bezier(.7, 0, .2, 1);
}

*, *::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; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
em { font-style: italic; }
::selection { background: var(--apple); color: var(--cream); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  opacity: .7; margin: 0 0 2.2rem;
}
.reveal-line { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.reveal-line > .rl { display: inline-block; }

/* ---------- Loader ---------- */
.loader { display: none; }
.js:not(.reduced) .loader {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 1000;
  background: var(--cream); color: var(--ink);
}
.loader-inner { width: min(360px, 70vw); }
.loader-logo { width: 100%; height: auto; margin-bottom: 28px; }
.loader-line { height: 2px; background: rgba(26, 18, 13, .12); overflow: hidden; }
.loader-line i { display: block; height: 100%; width: 100%; background: var(--apple); transform: scaleX(0); transform-origin: left; }
.loader-meta { display: flex; justify-content: space-between; margin-top: 12px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.loader-count { font-variant-numeric: tabular-nums; }

/* ---------- Grain, progress, cursor ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 900; pointer-events: none; opacity: .07;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
.progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 950; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--apple); transform: scaleX(0); transform-origin: left; }

.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .js:not(.reduced) .cursor {
    display: grid; place-items: center;
    position: fixed; left: 0; top: 0; z-index: 960; pointer-events: none;
    width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
    background: var(--cream); mix-blend-mode: difference;
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .3s;
  }
  .cursor.is-label { width: 92px; height: 92px; margin: -46px 0 0 -46px; mix-blend-mode: normal; background: var(--apple); }
  .cursor-label { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--cream); opacity: 0; transition: opacity .2s; }
  .cursor.is-label .cursor-label { opacity: 1; }
  .cursor.is-hover { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
}

/* ---------- Header ---------- */
.hdr {
  position: fixed; top: 16px; left: 16px; right: 16px; z-index: 500;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  pointer-events: none;
}
.hdr > * { pointer-events: auto; }
.hdr-logo { background: var(--cream); border-radius: 999px; padding: 8px 18px; display: block; }
.hdr-logo img { height: 34px; width: auto; }
.hdr-nav {
  display: flex; gap: 2px; padding: 6px;
  background: rgba(20, 16, 13, .42); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(243, 236, 223, .14); border-radius: 999px;
}
.hdr-nav a { padding: 9px 18px; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--cream); transition: background .3s, color .3s; }
.hdr-nav a:hover { background: var(--cream); color: var(--ink); }
.hdr-actions { display: flex; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: .9rem;
  transition: transform .3s var(--ease), background .3s;
}
.pill-ghost { background: rgba(20, 16, 13, .42); color: var(--cream); border: 1px solid rgba(243, 236, 223, .2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.pill-ghost:hover { background: rgba(20, 16, 13, .7); }
.pill-solid { background: var(--apple); color: var(--cream); }
.pill-solid:hover { background: var(--apple-deep); }
.cart-n { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--cream); color: var(--apple); display: inline-grid; place-items: center; font-size: .75rem; }
@media (max-width: 900px) { .hdr-nav { display: none; } }
@media (max-width: 520px) { .hide-sm { display: none; } .hdr-logo img { height: 28px; } .hdr-logo { padding: 7px 14px; } }

/* ---------- 01 · Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--night); }
.hero-media { position: absolute; inset: 0; overflow: hidden; will-change: clip-path; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%; will-change: transform; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 16, 13, .45) 0%, rgba(20, 16, 13, 0) 35%, rgba(20, 16, 13, .15) 55%, rgba(20, 16, 13, .8) 100%); pointer-events: none; }
.hero-content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 110px var(--pad) clamp(24px, 5vh, 56px); }
.hero-kicker { display: flex; justify-content: space-between; margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.hero-title { font-family: var(--display); font-size: clamp(4.6rem, 17.5vw, 21rem); line-height: .8; letter-spacing: -.035em; margin-top: auto; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title .line-2 { text-align: right; margin-top: -.06em; }
.hero-title em { color: var(--amber); }
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: 2vh; }
.hero-sub { margin: 0; font-size: clamp(1rem, 1.4vw, 1.25rem); max-width: 30ch; line-height: 1.45; }
.scroll-cue { display: flex; align-items: center; gap: 14px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.scroll-cue i { width: 1px; height: 56px; background: rgba(243, 236, 223, .3); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--cream); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }
/* video în hero: cadru vertical + fundal estompat pe desktop, ecran întreg pe mobil */
.hero-media { background: #1d2614; }
.hero-video-bg {
  position: absolute; top: -8%; left: -8%; width: 116%; height: 116%; object-fit: cover;
  filter: blur(38px) saturate(1.25) brightness(.55);
}
.hero-video {
  position: absolute; inset: 0; margin: auto;
  height: min(78vh, 900px); width: calc(min(78vh, 900px) * 478 / 804);
  object-fit: cover; border-radius: 26px; background: #2b3a1c;
  box-shadow: 0 50px 120px rgba(0, 0, 0, .55), 0 0 0 1px rgba(243, 236, 223, .08);
  will-change: transform;
}
@media (max-width: 860px) {
  .hero-video-bg { display: none; }
  .hero-video { width: 100%; height: 100%; border-radius: 0; box-shadow: none; }
  .hero-shade { background: linear-gradient(180deg, rgba(20, 16, 13, .55) 0%, rgba(20, 16, 13, 0) 26%, rgba(20, 16, 13, 0) 48%, rgba(20, 16, 13, .88) 100%); }
}
@media (max-width: 640px) {
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .scroll-cue { display: none; }
  .hero-title .line-2 { text-align: left; }
}

/* ---------- 02 · Manifest ---------- */
.manifest { background: var(--cream); color: var(--ink); padding: clamp(100px, 22vh, 220px) var(--pad); position: relative; }
.manifest-text { font-family: var(--display); font-size: clamp(2.1rem, 5.4vw, 6rem); line-height: 1.06; letter-spacing: -.02em; margin: 0; max-width: 18ch; max-width: 1400px; }
.manifest-text .w { display: inline-block; }

/* ---------- 03 · Year (horizontal) ---------- */
.year { background: var(--night); position: relative; }
.year-pin { height: 100vh; overflow: hidden; position: relative; display: flex; align-items: center; }
.year-head { position: absolute; top: 96px; left: var(--pad); right: var(--pad); display: flex; justify-content: flex-end; align-items: center; gap: 24px; z-index: 2; }
.year-head .eyebrow { margin: 0; }
.year-progress { flex: 0 1 280px; height: 2px; background: rgba(243, 236, 223, .15); }
.year-progress i { display: block; height: 100%; background: var(--amber); transform: scaleX(0); transform-origin: left; }
.year-track { display: flex; align-items: center; gap: 7vw; padding: 0 var(--pad); width: max-content; height: 100%; will-change: transform; }
.year-intro { width: min(44vw, 640px); flex: none; }
.year-intro h2 { font-family: var(--display); font-size: clamp(3.6rem, 8.5vw, 10rem); line-height: .9; letter-spacing: -.03em; margin-bottom: .35em; }
.year-intro h2 em { color: var(--amber); }
.year-intro p { font-size: 1.1rem; max-width: 36ch; opacity: .75; }
.chapter { flex: none; width: min(74vw, 1180px); height: min(68vh, 680px); display: grid; grid-template-columns: 1.35fr 1fr; gap: 3.5vw; align-items: end; }
.chapter-alt { align-items: start; }
.chapter-alt .chapter-img { order: 2; }
.chapter-img { height: 100%; overflow: hidden; border-radius: 22px; position: relative; }
.chapter-img img { position: absolute; top: 0; left: -10%; width: 120%; height: 100%; object-fit: cover; will-change: transform; }
.chapter-text { padding-bottom: 1vh; }
.chapter-n { display: block; font-family: var(--display); font-size: clamp(5rem, 10vw, 11rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(243, 236, 223, .5); margin-bottom: .2em; }
.chapter-season { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); margin-bottom: 1rem; }
.chapter h3 { font-family: var(--display); font-size: clamp(3rem, 5.5vw, 6rem); line-height: .95; margin-bottom: .3em; }
.chapter p { font-size: 1.08rem; max-width: 32ch; opacity: .75; margin: 0; }

/* stacked fallback (mobile / reduced motion) */
.year.is-stacked .year-pin { height: auto; display: block; padding: 140px 0 80px; }
.year.is-stacked .year-head { position: static; padding: 0 var(--pad) 40px; }
.year.is-stacked .year-progress { display: none; }
.year.is-stacked .year-track { flex-direction: column; width: auto; height: auto; gap: 72px; align-items: stretch; }
.year.is-stacked .year-intro { width: auto; }
.year.is-stacked .chapter { width: auto; height: auto; grid-template-columns: 1fr; gap: 22px; }
.year.is-stacked .chapter-alt .chapter-img { order: 0; }
.year.is-stacked .chapter-img { height: 62vw; max-height: 520px; }
.year.is-stacked .chapter-img img { left: 0; width: 100%; }
.year.is-stacked .chapter-n { font-size: 4.5rem; }

/* ---------- 04 · Factory ---------- */
.factory { background: var(--night); }
.factory-pin { height: 100vh; position: relative; overflow: hidden; display: grid; place-items: center; }
.factory-title { position: absolute; top: 12vh; left: 0; right: 0; text-align: center; font-family: var(--display); font-size: clamp(2.6rem, 6vw, 6.5rem); line-height: .95; z-index: 2; pointer-events: none; }
.factory-title em { color: var(--amber); }
.triptych { display: flex; align-items: center; justify-content: center; gap: 1.6vw; margin-top: 18vh; }
.tri { margin: 0; overflow: hidden; border-radius: 20px; flex: none; }
.tri img, .tri video { width: 100%; height: 100%; object-fit: cover; }
.tri-l, .tri-r { width: 24vw; height: 40vh; }
.tri-c { height: 54vh; aspect-ratio: 9 / 16; background: #000; }
.factory.is-stacked .factory-pin { height: auto; padding: 120px var(--pad) 100px; display: block; }
.factory.is-stacked .factory-title { position: static; margin-bottom: 40px; }
.factory.is-stacked .triptych { margin: 0; flex-direction: column; gap: 14px; }
.factory.is-stacked .tri-l, .factory.is-stacked .tri-r { width: 100%; height: 52vw; }
.factory.is-stacked .tri-c { height: auto; width: min(100%, 420px); }

/* ---------- 05 · Juices ---------- */
.juices { background: #f1c76b; color: #2a1a0f; position: relative; }
.juices-stage { display: grid; grid-template-columns: 1fr 1fr; }
.juices-visual { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; }
.jv {
  position: absolute; width: min(34vw, 500px); aspect-ratio: 4 / 5;
  border-radius: 28px; overflow: hidden; box-shadow: 0 40px 100px rgba(0, 0, 0, .28);
  background: #fff;
}
.jv img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.jv-index { position: absolute; left: var(--pad); bottom: 7vh; font-family: var(--display); font-size: 1.6rem; }
.jv-cur { font-size: 3.2rem; }
.juices-list { padding: 0 var(--pad) 0 2vw; }
.juices-list > .eyebrow { position: sticky; top: 100px; margin: 0; padding-top: 100px; }
.juice { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 10vh 0; }
.juice h3 { font-family: var(--display); font-size: clamp(3.4rem, 7vw, 8.5rem); line-height: .9; letter-spacing: -.025em; margin-bottom: .3em; }
.juice-lead { font-size: 1.2rem; max-width: 34ch; margin: 0 0 2.2rem; opacity: .85; }
.variant {
  display: grid; grid-template-columns: 1fr auto auto; gap: 18px; align-items: center;
  padding: 18px 0; border-top: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 22%, transparent);
}
.variant:last-child { border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.variant-name { font-weight: 700; }
.variant-name small { display: block; font-weight: 500; opacity: .65; font-size: .85rem; }
.variant-price { font-family: var(--display); font-size: 1.9rem; line-height: 1; }
.add {
  position: relative; overflow: hidden;
  padding: 12px 20px; border-radius: 999px; font-weight: 800; font-size: .85rem;
  border: 1.5px solid currentColor; transition: color .35s var(--ease);
}
.add::before { content: ""; position: absolute; inset: 0; background: currentColor; transform: translateY(101%); transition: transform .35s var(--ease); z-index: -1; }
.add span { position: relative; }
.add:hover::before { transform: none; }
.juices[data-dark="0"] .add:hover { color: var(--cream); }
.juices[data-dark="1"] .add:hover { color: var(--ink); }
.add.done { background: var(--leaf); border-color: var(--leaf); color: #fff; }
.juice-img { display: none; }
@media (max-width: 860px) {
  .juices-stage { grid-template-columns: 1fr; }
  .juices-visual { display: none; }
  .juices-list { padding: 80px var(--pad) 40px; }
  .juices-list > .eyebrow { position: static; padding: 0; margin-bottom: 8px; }
  .juice { min-height: 0; padding: 48px 0; }
  .juice-img { display: block; margin: 0 0 28px; width: min(78%, 360px); aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .25); background: #fff; }
  .juice-img img { width: 100%; height: 100%; object-fit: cover; }
  .variant { grid-template-columns: 1fr auto; }
  .variant .add { grid-column: 1 / -1; justify-self: start; }
}

/* ---------- 06 · Stats ---------- */
.stats { background: var(--night); display: grid; grid-template-columns: repeat(4, 1fr); padding: clamp(90px, 16vh, 180px) var(--pad); gap: 0; }
.stat { border-left: 1px solid rgba(243, 236, 223, .15); padding: 0 2vw; }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(3.4rem, 7.5vw, 8.5rem); line-height: 1; font-variant-numeric: tabular-nums; }
.stat > span { font-size: .85rem; letter-spacing: .06em; opacity: .65; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; row-gap: 56px; } }

/* ---------- 07 · People ---------- */
.people { background: var(--cream); color: var(--ink); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6vw; align-items: center; padding: clamp(90px, 16vh, 180px) var(--pad); }
.people-img { margin: 0; border-radius: 26px; overflow: hidden; max-width: 520px; justify-self: center; width: 100%; }
.people-img img { width: 100%; height: auto; will-change: transform; }
.people-text h2 { font-family: var(--display); font-size: clamp(3rem, 6.5vw, 7.5rem); line-height: .9; letter-spacing: -.025em; margin-bottom: .45em; }
.people-text h2 em { color: var(--apple); }
.people-text p:not(.eyebrow) { font-size: 1.15rem; max-width: 40ch; }
@media (max-width: 860px) { .people { grid-template-columns: 1fr; } }

/* ---------- 08 · Collage ---------- */
.collage { background: var(--cream); color: var(--ink); position: relative; height: 150vh; min-height: 900px; overflow: hidden; }
.collage figure { position: absolute; margin: 0; border-radius: 18px; overflow: hidden; }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.c1 { left: 6%; top: 6%; width: 22vw; height: 30vw; }
.c2 { right: 8%; top: 2%; width: 18vw; height: 24vw; }
.c3 { left: 30%; top: 56%; width: 16vw; height: 22vw; }
.c4 { right: 4%; top: 52%; width: 26vw; height: 19vw; }
.c5 { left: 3%; top: 68%; width: 15vw; height: 15vw; }
.collage-quote {
  position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); width: min(92%, 1000px);
  text-align: center; font-family: var(--display); font-size: clamp(2.2rem, 5vw, 5.4rem); line-height: 1.02; margin: 0; z-index: 2;
}
.collage-quote em { color: var(--apple); }
@media (max-width: 760px) {
  .collage { height: 130vh; }
  .c1 { width: 40vw; height: 54vw; } .c2 { width: 34vw; height: 44vw; } .c3 { width: 34vw; height: 46vw; left: 8%; top: 62%; }
  .c4 { width: 46vw; height: 34vw; } .c5 { display: none; }
}

/* ---------- 09 · Bring ---------- */
.bring { background: var(--apple); color: var(--cream); padding: clamp(80px, 14vh, 150px) 0; overflow: hidden; }
.marquee { overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; will-change: transform; }
.marquee-track span { font-family: var(--display); font-size: clamp(4.5rem, 13vw, 15rem); line-height: 1; letter-spacing: -.03em; padding-right: .3em; }
.marquee-track i { color: var(--amber); font-style: italic; }
.bring-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4vw 6vw; align-items: start; padding: clamp(40px, 8vh, 90px) var(--pad) 0; }
.bring-lead { font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.45; margin: 0; max-width: 34ch; }
.bring-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.bring-steps li { display: flex; gap: 22px; align-items: baseline; padding: 18px 0; border-top: 1px solid rgba(243, 236, 223, .3); font-size: 1.15rem; font-weight: 600; }
.bring-steps b { font-family: var(--display); font-weight: 400; font-size: 1.8rem; color: var(--amber); }
.bring .big-btn { grid-column: 1 / -1; justify-self: start; }
@media (max-width: 760px) { .bring-body { grid-template-columns: 1fr; } }

/* ---------- Big buttons ---------- */
.big-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 1.35em 2.4em; border-radius: 999px; overflow: hidden; isolation: isolate;
  background: var(--cream); color: var(--ink); font-weight: 800; font-size: clamp(.95rem, 1.2vw, 1.1rem);
  will-change: transform;
}
.big-btn::before {
  content: ""; position: absolute; left: 50%; top: 100%; width: 140%; aspect-ratio: 1; border-radius: 50%;
  background: var(--night); transform: translate(-50%, 0) scale(0); transition: transform .55s var(--ease); z-index: -1;
}
.big-btn:hover::before { transform: translate(-50%, -50%) scale(1); }
.big-btn span { transition: color .35s; }
.big-btn:hover span { color: var(--cream); }
.big-btn-light::before { background: var(--apple); }
.big-btn-line { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(243, 236, 223, .5); }
.big-btn-line::before { background: var(--cream); }
.big-btn-line:hover span { color: var(--ink); }

/* ---------- 10 · End ---------- */
.end { background: var(--night); padding: clamp(100px, 18vh, 200px) var(--pad) 28px; overflow: hidden; }
.end-cta h2 { font-family: var(--display); font-size: clamp(3.4rem, 9vw, 11rem); line-height: .88; letter-spacing: -.03em; margin-bottom: .4em; }
.end-cta h2 em { color: var(--amber); }
.end-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.end-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; margin-top: clamp(80px, 14vh, 150px); padding-top: 32px; border-top: 1px solid rgba(243, 236, 223, .14); font-size: .95rem; }
.end-grid h4 { font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; opacity: .55; margin-bottom: .9em; }
.end-grid p { margin: 0; }
.end-grid a:hover { color: var(--amber); }
.end-word { font-family: var(--display); font-size: 17vw; line-height: .82; letter-spacing: -.04em; white-space: nowrap; margin: clamp(60px, 10vh, 120px) 0 0; color: var(--cream); overflow: hidden; padding-bottom: .06em; }
.end-word .ch { display: inline-block; }
.end-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem; opacity: .5; margin-top: 24px; }
.end-legal a:hover { color: var(--amber); }
@media (max-width: 900px) { .end-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .end-grid { grid-template-columns: 1fr; } }

/* ---------- Drawer ---------- */
.drawer-bg { position: fixed; inset: 0; z-index: 700; background: rgba(10, 8, 6, .55); opacity: 0; pointer-events: none; transition: opacity .4s; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 710; width: min(440px, 100%);
  background: var(--cream); color: var(--ink); display: flex; flex-direction: column;
  transform: translateX(100%); visibility: hidden;
  transition: transform .6s var(--ease), visibility 0s .6s;
}
.cart-open .drawer { transform: none; visibility: visible; transition: transform .6s var(--ease); }
.cart-open .drawer-bg { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 24px 26px; border-bottom: 1px solid rgba(26, 18, 13, .12); }
.drawer-head h3 { font-family: var(--display); font-size: 2.2rem; }
.x { width: 42px; height: 42px; border-radius: 50%; font-size: 1rem; }
.x:hover { background: rgba(26, 18, 13, .08); }
.drawer-body { flex: 1; overflow-y: auto; padding: 6px 26px; }
.drawer-foot { padding: 20px 26px 26px; border-top: 1px solid rgba(26, 18, 13, .12); }
.ln { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(26, 18, 13, .1); }
.ln img { width: 64px; height: 78px; object-fit: cover; border-radius: 10px; }
.ln b { display: block; }
.ln small { opacity: .6; }
.ln .q { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; }
.ln .q button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(26, 18, 13, .25); font-weight: 700; }
.ln .lp { font-weight: 800; text-align: right; }
.drawer-empty { text-align: center; padding: 70px 0; opacity: .7; }
.sum { display: flex; justify-content: space-between; font-family: var(--display); font-size: 1.8rem; margin-bottom: 16px; }
.checkout { display: block; text-align: center; padding: 18px; border-radius: 999px; background: var(--apple); color: var(--cream); font-weight: 800; }
.checkout:hover { background: var(--apple-deep); }
.drawer-note { font-size: .82rem; opacity: .6; margin: 12px 0 0; text-align: center; }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 720; transform: translate(-50%, calc(100% + 48px)); visibility: hidden;
  background: var(--ink); color: var(--cream); padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: .92rem;
  transition: transform .5s var(--ease), visibility 0s .5s; max-width: calc(100% - 32px); box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
}
.toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform .5s var(--ease); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .grain, .scroll-cue i::after { animation: none; }
}
