/* ============================================================
   AETHEL & STEM — Shared Design System
   ============================================================ */
:root {
  --bg:        #F8F4EB;
  --surface:   #FDFBF5;
  --sunken:    #EFE8DA;
  --ink:       #211B14;
  --ink-60:    #5F574B;
  --ink-40:    #8A8072;
  --accent:    #B5674D;
  --accent-deep:#96482F;
  --sage:      #6B7561;
  --border:    rgba(33,27,20,.09);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Instrument Sans", Helvetica, sans-serif;
  --maxw: 1280px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, .5vw + .85rem, 1.125rem);
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--ink); color: var(--bg); padding: .75rem 1.25rem; }
.skip-link:focus { left: 0; }

.wrap { width: min(var(--maxw), calc(100% - 3rem)); margin-inline: auto; }
.bleed { width: 100%; }

/* ---------- TYPE ---------- */
.display { font-family: var(--font-display); font-weight: 380; line-height: 0.95; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.8rem, 7vw + 1rem, 7rem); }
h2 { font-family: var(--font-display); font-weight: 400; line-height: 1.02; letter-spacing: -0.02em; font-size: clamp(2rem, 3.6vw + .6rem, 3.8rem); }
h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.015em; line-height: 1.15; }
.em-accent { font-style: italic; font-weight: 320; color: var(--accent); }

.overline { display: inline-flex; align-items: center; gap: .65rem; font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-40); }
.overline::before { content: ""; width: 2rem; height: 1px; background: var(--accent); }
p { max-width: 62ch; text-wrap: pretty; }

/* ---------- BUTTONS ---------- */
.btn { display: inline-flex; align-items: center; gap: .6rem; padding: 1rem 1.9rem; font-size: .92rem; font-weight: 600; letter-spacing: .02em; transition: transform .35s var(--ease-out), background-color .25s, color .25s, box-shadow .35s; }
.btn-solid { background: var(--ink); color: var(--bg); }
.btn-solid:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(150,72,47,.45); }
.btn-line { border: 1px solid var(--border); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn svg { width: 1em; height: 1em; }

/* ---------- TICKER ---------- */
.ticker { background: var(--ink); color: var(--bg); overflow: hidden; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; }
.ticker-track { display: flex; width: max-content; white-space: nowrap; animation: ticker 40s linear infinite; padding-block: .7rem; gap: 6rem; }
.ticker-track span { position: relative; white-space: nowrap; }
.ticker-track span:not(:last-child)::after { content: "·"; position: absolute; right: -3rem; top: 50%; translate: 0 -50%; color: var(--accent); font-size: .7em; line-height: 1; opacity: .55; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Premium variant for the names marquee */
.names { overflow: hidden; }
.names .ticker-track { animation-duration: 35s; gap: 5rem; }
.names .ticker-track span:not(:last-child)::after { content: "·"; position: absolute; right: -2.5rem; top: 50%; translate: 0 -50%; color: var(--accent); font-size: .7em; opacity: .4; }

/* ---------- NAV ---------- */
.nav { position: sticky; top: 0; z-index: 90; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 1.1rem; }
.wordmark { font-family: var(--font-display); font-weight: 560; font-size: 1.35rem; letter-spacing: -0.02em; }
.wordmark em { color: var(--accent); font-style: normal; }
.nav-links { display: flex; gap: 2.4rem; font-size: .88rem; font-weight: 500; }
.nav-links a { position: relative; padding-block: .25rem; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.cart-btn { display: flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .88rem; }
.cart-btn svg { width: 1.15rem; height: 1.15rem; }
.cart-count { min-width: 1.35rem; height: 1.35rem; padding-inline: .3rem; display: grid; place-items: center; border-radius: 99px; background: var(--accent); color: var(--bg); font-size: .72rem; font-weight: 600; transition: transform .3s var(--ease-out); }
.cart-count.pop { animation: pop .4s var(--ease-out); }
@keyframes pop { 50% { transform: scale(1.35); } }
@media (max-width: 720px) { .nav-links { display: none; } }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero { position: relative; padding: 0; margin-top: 0; background: var(--bg); }
.hero-slides { position: relative; height: clamp(64vh, 86vh, 880px); overflow: hidden; background: var(--sunken); }
.hero-corner { position: absolute; z-index: 4; top: clamp(1.2rem, 3vw, 2rem); right: clamp(1.5rem, 4vw, 3rem); display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; color: rgba(253,251,245,.85); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; pointer-events: none; }
.hero-corner .line { width: 1px; height: 48px; background: linear-gradient(rgba(253,251,245,.6), transparent); }
.scroll-cue { position: absolute; z-index: 4; left: 50%; translate: -50% 0; bottom: 1.5rem; display: flex; flex-direction: column; align-items: center; gap: .55rem; color: rgba(253,251,245,.8); font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; pointer-events: none; }
.scroll-cue .mouse { width: 22px; height: 34px; border: 1.5px solid rgba(253,251,245,.55); border-radius: 99px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; top: 6px; left: 50%; translate: -50% 0; width: 3px; height: 7px; border-radius: 2px; background: rgba(253,251,245,.85); animation: scrolldot 1.8s var(--ease-out) infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 12px); } 100% { opacity: 0; } }
@media (max-width: 720px) { .scroll-cue { display: none; } }
.hero-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity 1.2s var(--ease-out), transform 6s linear; background: var(--sunken); z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide.active { opacity: 1; transform: scale(1); z-index: 2; }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(33,27,20,.55), rgba(33,27,20,.05) 60%, transparent); pointer-events: none; }
.hero-copy { position: absolute; z-index: 3; left: 0; bottom: clamp(2rem, 6vw, 5rem); width: min(var(--maxw), calc(100% - 3rem)); margin-inline: auto; right: 0; color: var(--bg); }
.hero-copy h1 { color: var(--bg); text-wrap: balance; margin-block: 1rem 1.4rem; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero-copy p { color: rgba(253,251,245,.85); font-size: clamp(1.05rem, .8vw + .8rem, 1.3rem); margin-bottom: 2rem; max-width: 52ch; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-actions .btn-line { color: var(--bg); border-color: rgba(253,251,245,.5); }
.hero-actions .btn-line:hover { border-color: var(--bg); }
.hero-dots { position: absolute; z-index: 4; right: clamp(1.5rem, 4vw, 3rem); bottom: clamp(2rem, 6vw, 5rem); display: flex; flex-direction: column; gap: .7rem; }
.hero-dots button { width: 11px; height: 11px; border-radius: 99px; background: rgba(253,251,245,.4); transition: all .3s var(--ease-out); }
.hero-dots button.active { background: var(--bg); height: 30px; }

/* ============================================================
   SECTION SHELL
   ============================================================ */
section { padding-block: clamp(4.5rem, 9vw, 8.5rem); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); flex-wrap: wrap; }
.section-head p { color: var(--ink-60); max-width: 44ch; }
.eyebrow-row { display: flex; align-items: center; gap: 1rem; }
.link-more { font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--accent); display: inline-flex; align-items: center; gap: .4rem; }
.link-more:hover { gap: .7rem; }

/* ---------- SPLIT FEATURE ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split.reverse .split-media { order: -1; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 6px; box-shadow: 0 30px 60px -30px rgba(33,27,20,.4); }
.split h2 { margin: 1rem 0 1.4rem; }
.split p { color: var(--ink-60); margin-bottom: 1.6rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: 0; } }

/* ---------- STATS ---------- */
.stats { display: flex; gap: clamp(1.5rem, 4vw, 4rem); flex-wrap: wrap; padding-top: 2rem; border-top: 1px solid var(--border); margin-top: 2.5rem; }
.stats div strong { display: block; font-family: var(--font-display); font-weight: 480; font-size: clamp(1.7rem, 2vw + .8rem, 2.6rem); line-height: 1; }
.stats div span { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-40); }

/* ---------- SHOP GRID ---------- */
#shop, .shop-sec { background: var(--surface); border-block: 1px solid var(--border); }
.filters { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 3rem; }
.chip { padding: .55rem 1.2rem; border-radius: 99px; border: 1px solid var(--border); font-size: .84rem; font-weight: 500; color: var(--ink-60); transition: all .3s var(--ease-out); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 2.2rem); }
.card { position: relative; }
.card:first-child { grid-column: span 2; grid-row: span 1; }
.card:first-child .card-img { aspect-ratio: 16 / 11; }
.card-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sunken); border-radius: 6px; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.card:hover .card-img img { transform: scale(1.06); }
.card-tag { position: absolute; top: 1rem; left: 1rem; z-index: 2; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(6px); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: .45rem .8rem; border-radius: 99px; }
.card-add { position: absolute; z-index: 2; inset-inline: 1rem; bottom: 1rem; padding: .95rem; background: var(--bg); color: var(--ink); font-weight: 600; font-size: .88rem; text-align: center; opacity: 0; transform: translateY(.8rem); transition: all .4s var(--ease-out); border-radius: 4px; }
.card:hover .card-add, .card-add:focus-visible { opacity: 1; transform: translateY(0); }
.card-add:hover { background: var(--accent); color: var(--bg); }
@media (hover: none) { .card-add { opacity: 1; transform: none; } }
.card-info { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: 1.1rem; }
.card-info h3 { font-size: clamp(1.25rem, 1vw + .9rem, 1.6rem); }
.card-price { font-family: var(--font-display); font-weight: 480; font-size: 1.15rem; white-space: nowrap; }
.card-desc { font-size: .88rem; color: var(--ink-40); margin-top: .3rem; }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, 1fr); } .card:first-child { grid-column: span 2; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } .card:first-child { grid-column: span 1; } .card:first-child .card-img { aspect-ratio: 4/5; } }

/* ---------- LOOKBOOK / GALLERY (masonry) ---------- */
.lookbook { columns: 3; column-gap: clamp(1rem, 2vw, 1.8rem); }
.lookbook figure { break-inside: avoid; margin-bottom: clamp(1rem, 2vw, 1.8rem); position: relative; overflow: hidden; border-radius: 6px; background: var(--sunken); }
.lookbook img { width: 100%; transition: transform 1.1s var(--ease-out); }
.lookbook figure:hover img { transform: scale(1.05); }
.lookbook figcaption { position: absolute; left: 1rem; bottom: 1rem; color: var(--bg); font-family: var(--font-display); font-style: italic; font-size: 1.05rem; text-shadow: 0 2px 14px rgba(0,0,0,.5); opacity: 0; transform: translateY(.5rem); transition: all .4s var(--ease-out); }
.lookbook figure:hover figcaption { opacity: 1; transform: none; }
@media (max-width: 900px) { .lookbook { columns: 2; } }
@media (max-width: 560px) { .lookbook { columns: 1; } }

/* ---------- TILE STRIP (image after image) ---------- */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
.strip figure { scroll-snap-align: start; position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 3/4; background: var(--sunken); }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.strip figure:hover img { transform: scale(1.06); }
.strip figcaption { position: absolute; left: 1rem; bottom: 1rem; color: var(--bg); font-family: var(--font-display); font-style: italic; text-shadow: 0 2px 14px rgba(0,0,0,.5); }

/* ---------- IMMERSIVE STRIP (auto-scroll marquee) ---------- */
.immersive-wrap { overflow: hidden; width: 100%; }
.immersive-strip { display: flex; gap: clamp(2rem, 4vw, 3.5rem); animation: marquee 80s linear infinite; width: max-content; will-change: transform; }
.immersive-strip figure { flex: 0 0 auto; width: clamp(280px, 22vw, 380px); border-radius: 8px; overflow: hidden; aspect-ratio: 4/5; background: var(--sunken); position: relative; }
.immersive-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.immersive-strip figure:hover img { transform: scale(1.08); }
.immersive-strip figcaption { position: absolute; left: 1rem; bottom: 1rem; color: var(--bg); font-family: var(--font-display); font-style: italic; font-size: 1rem; text-shadow: 0 2px 16px rgba(0,0,0,.6); opacity: 0; transform: translateY(.6rem); transition: all .4s var(--ease-out); }
.immersive-strip figure:hover figcaption { opacity: 1; transform: none; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.immersive-wrap:hover .immersive-strip { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .immersive-strip { animation: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; width: auto; } .immersive-strip figure { scroll-snap-align: start; } }

/* ---------- QUOTE ---------- */
.quote { background: var(--ink); color: var(--bg); text-align: center; }
.quote figure { width: min(880px, 100%); margin-inline: auto; }
.quote blockquote { font-family: var(--font-display); font-weight: 340; line-height: 1.15; letter-spacing: -0.02em; font-size: clamp(1.8rem, 3.4vw + .5rem, 3.6rem); text-wrap: balance; }
.quote blockquote i { color: var(--accent); }
.quote figcaption { margin-top: 2.4rem; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: color-mix(in srgb, var(--bg) 55%, transparent); }

/* ---------- NEWSLETTER ---------- */
.news { text-align: center; }
.news h2 { max-width: 22ch; margin-inline: auto; }
.news p { margin: 1.4rem auto 2.6rem; color: var(--ink-60); }
.news-form { display: flex; max-width: 480px; margin-inline: auto; border-bottom: 2px solid var(--ink); }
.news-form input { flex: 1; border: none; background: transparent; padding: 1rem .25rem; font: inherit; color: var(--ink); outline-offset: 6px; }
.news-form input::placeholder { color: var(--ink-40); }
.news-form button { font-weight: 600; letter-spacing: .04em; padding-inline: 1rem; transition: color .25s; }
.news-form button:hover { color: var(--accent); }
.news-ok { color: var(--sage); font-weight: 600; }

/* ---------- PAGE HERO (interior pages) ---------- */
.page-hero { position: relative; padding: 0; }
.page-hero-media { position: relative; height: clamp(40vh, 48vh, 480px); overflow: hidden; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(33,27,20,.12), rgba(33,27,20,.5)); }
.page-hero-copy { position: absolute; left: 0; right: 0; bottom: clamp(1.6rem, 4vw, 3rem); width: min(var(--maxw), calc(100% - 3rem)); margin-inline: auto; color: var(--bg); z-index: 2; }
.page-hero-copy h1 { color: var(--bg); text-shadow: 0 2px 30px rgba(0,0,0,.32); }
.page-hero-copy .overline { color: rgba(253,251,245,.85); }
.page-hero-copy p { color: rgba(253,251,245,.82); max-width: 50ch; margin-top: .6rem; }

/* ---------- CONTACT / SUPPORT ---------- */
.contact .section-head { max-width: 560px; }
.contact .section-head p { color: var(--ink-60); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 4vw, 5rem); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1.6rem; padding-top: .5rem; }
.contact-row { display: flex; flex-direction: column; gap: .3rem; padding-block: 1rem; border-bottom: 1px solid var(--border); }
.contact-row:last-child { border-bottom: none; }
.contact-label { font-size: .62rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-40); }
.contact-value { font-size: 1.05rem; font-weight: 500; color: var(--ink); transition: color .25s; }
.contact-value:hover { color: var(--accent); }
.contact-form { background: var(--bg); border: 1px solid var(--border); border-radius: 6px; padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--border); background: var(--surface); color: var(--ink); font: inherit; padding: .9rem 1rem; border-radius: 4px; outline-offset: 2px; transition: border-color .25s, box-shadow .25s; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form button { align-self: flex-start; margin-top: .4rem; }
.contact-ok { font-size: .9rem; font-weight: 600; color: var(--sage); margin-top: .5rem; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; gap: 2rem; } .form-row { grid-template-columns: 1fr; } }

/* ---------- EDITORIAL STRIP (gallery teaser) ---------- */
.collection-grid { columns: 3; column-gap: clamp(1rem, 2vw, 1.8rem); }
.collection-grid figure { break-inside: avoid; margin-bottom: clamp(1rem, 2vw, 1.8rem); position: relative; overflow: hidden; border-radius: 6px; background: var(--sunken); }
.collection-grid img { width: 100%; transition: transform 1.1s var(--ease-out); }
.collection-grid figure:hover img { transform: scale(1.05); }
.collection-grid figcaption { position: absolute; left: 1rem; bottom: 1rem; color: var(--bg); font-family: var(--font-display); font-style: italic; font-size: 1.05rem; text-shadow: 0 2px 14px rgba(0,0,0,.5); opacity: 0; transform: translateY(.5rem); transition: all .4s var(--ease-out); }
.collection-grid figure:hover figcaption { opacity: 1; transform: none; }
@media (max-width: 900px) { .collection-grid { columns: 2; } }
@media (max-width: 560px) { .collection-grid { columns: 1; } }

/* ---------- FOOTER ---------- */
footer { border-top: 1px solid var(--border); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; padding-block: clamp(3rem, 6vw, 5rem) 2.5rem; }
.footer-grid p { color: var(--ink-60); font-size: .95rem; margin-top: 1rem; }
.footer-col h4 { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-40); margin-bottom: 1.3rem; }
.footer-col ul { list-style: none; display: grid; gap: .7rem; font-size: .95rem; }
.footer-col a { transition: color .25s; }
.footer-col a:hover { color: var(--accent); }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.6rem; border-top: 1px solid var(--border); font-size: .8rem; color: var(--ink-40); }
.giant-mark { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.04em; font-size: clamp(4rem, 14vw, 13rem); line-height: .8; text-align: center; color: color-mix(in srgb, var(--ink) 8%, transparent); user-select: none; padding-top: 2rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CART DRAWER
   ============================================================ */
.overlay { position: fixed; inset: 0; z-index: 100; background: rgba(33,27,20,.45); opacity: 0; pointer-events: none; transition: opacity .4s var(--ease-out); }
.drawer { position: fixed; top: 0; right: 0; z-index: 110; height: 100dvh; width: min(430px, 100vw); background: var(--surface); display: flex; flex-direction: column; transform: translateX(102%); transition: transform .5s var(--ease-out); box-shadow: -24px 0 60px -30px rgba(33,27,20,.4); }
body.cart-open .overlay { opacity: 1; pointer-events: auto; }
body.cart-open .drawer { transform: translateX(0); }
body.cart-open { overflow: hidden; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1.4rem 1.6rem; border-bottom: 1px solid var(--border); }
.drawer-head h3 { font-size: 1.5rem; }
.drawer-close { font-size: 1.5rem; line-height: 1; padding: .3rem .6rem; transition: color .2s, rotate .4s var(--ease-out); }
.drawer-close:hover { color: var(--accent); rotate: 90deg; }
.drawer-body { flex: 1; overflow-y: auto; padding: 1.4rem 1.6rem; display: grid; gap: 1.3rem; align-content: start; }
.drawer-empty { text-align: center; color: var(--ink-40); padding-block: 4rem; }
.drawer-empty strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); margin-bottom: .5rem; font-weight: 450; }
.cart-item { display: grid; grid-template-columns: 4.4rem 1fr; gap: 1rem; padding-bottom: 1.3rem; border-bottom: 1px solid var(--border); }
.cart-item img { width: 4.4rem; height: 5.4rem; object-fit: cover; background: var(--sunken); border-radius: 4px; }
.ci-name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; }
.ci-row { display: flex; align-items: center; justify-content: space-between; margin-top: .6rem; }
.qty { display: inline-flex; border: 1px solid var(--border); border-radius: 99px; }
.qty button { padding: .15rem .6rem; transition: background .2s; }
.qty button:hover { background: var(--sunken); }
.qty output { padding-inline: .8rem; font-size: .9rem; align-self: center; }
.ci-remove { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-40); }
.ci-remove:hover { color: var(--accent); }
.drawer-foot { padding: 1.4rem 1.6rem 1.8rem; border-top: 1px solid var(--border); }
.subtotal { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.2rem; }
.subtotal strong { font-family: var(--font-display); font-size: 1.7rem; font-weight: 480; }
.drawer-foot .btn { width: 100%; justify-content: center; }

/* ---------- TOAST ---------- */
.toast { position: fixed; z-index: 120; bottom: 1.5rem; left: 50%; translate: -50% 5rem; opacity: 0; background: var(--ink); color: var(--bg); padding: .9rem 1.6rem; font-size: .88rem; font-weight: 500; transition: all .5s var(--ease-out); border-radius: 99px; }
.toast.show { translate: -50% 0; opacity: 1; }
.toast i { color: var(--accent); font-style: normal; margin-right: .4rem; }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:nth-child(1) { transition-delay: .05s; }
.stagger.in > *:nth-child(2) { transition-delay: .13s; }
.stagger.in > *:nth-child(3) { transition-delay: .21s; }
.stagger.in > *:nth-child(4) { transition-delay: .29s; }
.stagger.in > *:nth-child(5) { transition-delay: .37s; }
.stagger.in > *:nth-child(6) { transition-delay: .45s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .stagger > * { opacity: 1; transform: none; }
  .hero-slide { transition: opacity .4s; }
}
