/* Fidanishte Deas — styles
   Built on Website_Design_Flow.md: 1480px shell, clamp gutter, fixed floating header,
   pinned hero with handoff, sticky feature chapter, full-bleed gallery track. */

@font-face { font-family: "Figtree"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/figtree-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/figtree-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/fraunces-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 500; font-style: italic; font-display: swap; src: url("../fonts/fraunces-latin-500-italic.woff2") format("woff2"); }

:root {
  --gutter: clamp(20px, 4.2vw, 72px);
  --promo-h: 40px;
  --header-h: 64px;
  --header-top: calc(var(--promo-h) + 12px + env(safe-area-inset-top, 0px));

  --surface: #f5f1e8;
  --surface-2: #ece5d6;
  --card: #fffdf8;
  --ink: #1b2a1f;
  --muted: #586456;
  --line: #e0d8c7;
  --line-strong: #b9b09c;
  --forest: #17301f;
  --forest-2: #1f3d29;
  --on-dark: #f6f3ea;
  --on-dark-2: #c5d0bf;
  --leaf: #2f6b3a;
  --leaf-hover: #24552d;
  --lime: #8cc63f;
  --clay: #a9502a;
  --focus: #2f6b3a;
  --focus-dark: #c9eaa0;
  --ok: #1f6a45;
  --err: #a8293d;

  --promo-red: #e8473f;

  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 12px;
  --shadow-1: 0 1px 2px rgb(27 42 31 / .06), 0 2px 8px rgb(27 42 31 / .05);
  --shadow-2: 0 18px 50px -18px rgb(23 48 31 / .35);
  --ease-out: cubic-bezier(.19, .72, .14, 1);

  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-top) + var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--surface); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.opening :focus-visible, .chapter :focus-visible, .contact__info :focus-visible, .site-header :focus-visible, .footer :focus-visible, .promo :focus-visible { outline-color: var(--focus-dark); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--card); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: calc(var(--promo-h) + 8px); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.content-shell {
  width: 100%; max-width: 1480px; margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* ---------------- Typography ---------------- */
.hero-title { font-family: var(--display); font-weight: 500; font-size: clamp(2.625rem, 6.2vw, 5.875rem); line-height: 1.02; letter-spacing: -.02em; max-width: 13ch; text-wrap: balance; }
.h2 { font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 4.2vw, 3.75rem); line-height: 1.06; letter-spacing: -.015em; text-wrap: balance; }
.h3 { font-family: var(--display); font-weight: 500; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.15; }
.h4 { font-size: 20px; font-weight: 700; line-height: 1.3; }
.lede { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; max-width: 42ch; }
.lede--light { color: var(--on-dark-2); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--leaf); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow--light { color: var(--lime); }

/* ---------------- Buttons ---------------- */
.btn {
  --bg: transparent; --fg: var(--ink); --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: 16px; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 120ms ease;
}
.btn:active { transform: scale(.98); }
.btn--primary { --bg: var(--leaf); --fg: #fff; }
.btn--primary:hover { --bg: var(--leaf-hover); }
.btn--secondary { --bd: var(--line-strong); --fg: var(--ink); }
.btn--secondary:hover { --bg: var(--surface-2); }
.btn--ghost-light { --bd: rgb(255 255 255 / .55); --fg: #fff; --bg: rgb(255 255 255 / .06); }
.btn--ghost-light:hover { --bg: rgb(255 255 255 / .16); }
.btn--light { --bg: var(--on-dark); --fg: var(--forest); }
.btn--light:hover { --bg: #fff; }
.btn--text { --fg: var(--muted); min-height: 44px; font-weight: 600; }
.btn--text:hover { --fg: var(--ink); text-decoration: underline; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.text-link { color: var(--leaf); font-weight: 600; text-underline-offset: 3px; }

.icon-btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--card); display: inline-grid; place-items: center; cursor: pointer; transition: background-color 180ms ease; }
.icon-btn:hover:not([disabled]) { background: var(--surface-2); }
.icon-btn[disabled] { opacity: .35; cursor: default; }

/* ---------------- Countdown band (matches the reference screenshot) ---------------- */
.promo {
  position: fixed; inset: 0 0 auto 0; z-index: 70; height: var(--promo-h);
  padding-top: env(safe-area-inset-top, 0px); box-sizing: content-box;
  background: linear-gradient(180deg, #ec5650 0%, var(--promo-red) 50%, #e2433b 100%);
  box-shadow: 0 0 0 1px rgb(214 58 50 / .35), 0 6px 18px -6px rgb(214 58 50 / .45), inset 0 1px 0 rgb(255 255 255 / .18);
  color: #fff; overflow: hidden;
}
.promo::before, .promo::after { content: ""; position: absolute; top: 0; bottom: 0; width: 28px; z-index: 1; pointer-events: none; }
.promo::before { left: 0; background: linear-gradient(90deg, #e8473f, rgb(232 71 63 / 0)); }
.promo::after { right: 0; background: linear-gradient(270deg, #e8473f, rgb(232 71 63 / 0)); }
.promo__viewport { height: var(--promo-h); display: flex; align-items: center; overflow: hidden; }
.promo__track { display: flex; align-items: center; width: max-content; animation: promo-scroll var(--promo-dur, 40s) linear infinite; will-change: transform; }
.promo:hover .promo__track { animation-play-state: paused; }
.promo__group { display: flex; align-items: center; flex-shrink: 0; }
.promo__item { display: inline-flex; align-items: center; gap: 9px; padding: 0 22px; font-weight: 800; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; text-shadow: 0 1px 0 rgb(150 30 25 / .25); }
.promo__item--light { font-weight: 400; letter-spacing: .06em; padding-right: 12px; text-shadow: none; }
.promo__item--light + .promo__timer { margin-left: 0; }
.promo__dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; flex: 0 0 auto; opacity: .95; }
.promo__flag { width: 19px; height: 13px; border-radius: 2px; flex: 0 0 auto; box-shadow: 0 0 0 .5px rgb(0 0 0 / .15); }
.promo__timer {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 22px; height: 28px; padding: 0 14px 0 11px;
  border-radius: 999px; background: rgb(255 255 255 / .16); border: 1px solid rgb(255 255 255 / .42);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .15); font-weight: 800; font-size: 15px; letter-spacing: .02em;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.promo__timer svg { width: 15px; height: 15px; flex: 0 0 auto; }
@keyframes promo-scroll { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

/* ---------------- Header ---------------- */
.site-header {
  --hw: 1420px;
  position: fixed; z-index: 60; top: var(--header-top); left: 50%; translate: -50% 0;
  width: min(var(--hw), calc(100% - 2 * max(16px, env(safe-area-inset-left, 0px))));
  height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-inline: 12px 10px; color: var(--on-dark); border-radius: 20px;
  background: rgb(23 48 31 / .92); border: 1px solid rgb(255 255 255 / .10);
  transition: width 480ms var(--ease-out), height 320ms var(--ease-out), background-color 240ms ease, box-shadow 240ms ease;
  animation: header-in 380ms var(--ease-out) both;
}
@supports (backdrop-filter: blur(14px)) {
  .site-header { background: rgb(23 48 31 / .62); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
}
.site-header.is-compact { --hw: 1100px; --header-h: 58px; background: rgb(23 48 31 / .94); box-shadow: var(--shadow-2); }
@keyframes header-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; border-radius: 12px; }
.brand__logo { width: 44px; height: 44px; border-radius: 50%; background: #fff; object-fit: cover; box-shadow: 0 0 0 2px rgb(255 255 255 / .85); }
.brand__name { font-family: var(--display); font-weight: 500; font-size: 21px; letter-spacing: -.01em; white-space: nowrap; }

.nav { flex: 1 1 auto; display: flex; justify-content: center; }
.nav__list { display: flex; gap: clamp(14px, 1.8vw, 26px); }
.nav__list a { position: relative; display: block; padding: 8px 2px; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--on-dark-2); transition: color 160ms ease; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform 200ms var(--ease-out); }
.nav__list a:hover, .nav__list a[aria-current="true"] { color: #fff; }
.nav__list a:hover::after, .nav__list a[aria-current="true"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 8px 0 16px; border-radius: 999px; border: 0; background: var(--lime); color: var(--forest); font-weight: 700; font-size: 15px; cursor: pointer; transition: background-color 180ms ease, transform 120ms ease; }
.cart-btn:hover { background: #9ad34f; }
.cart-btn:active { transform: scale(.98); }
.cart-btn__count { min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; background: var(--forest); color: #fff; display: inline-grid; place-items: center; font-size: 14px; font-variant-numeric: tabular-nums; }
.cart-btn.bump .cart-btn__count { animation: bump 400ms var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.25); } }

.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgb(255 255 255 / .2); background: transparent; cursor: pointer; place-items: center; }
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform 220ms var(--ease-out), opacity 160ms ease; }
.menu-btn__bars { position: relative; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.menu-btn__bars::before { top: -6px; } .menu-btn__bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; z-index: 55; left: 12px; right: 12px; top: calc(var(--header-top) + var(--header-h) + 8px);
  max-height: calc(100svh - var(--header-top) - var(--header-h) - 24px); overflow-y: auto;
  padding: 8px 20px 20px; border-radius: 20px; background: var(--forest); color: var(--on-dark); box-shadow: var(--shadow-2);
  animation: menu-in 260ms var(--ease-out);
}
.mobile-menu a:not(.btn) { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid rgb(255 255 255 / .1); text-decoration: none; font-size: 18px; font-weight: 600; }
.mobile-menu .btn { margin-top: 16px; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* ---------------- Hero ---------------- */
.opening { position: relative; isolation: isolate; display: grid; min-height: 100vh; min-height: 100svh; color: #fff; background: var(--forest); overflow: hidden; }
.opening.is-pinned { position: sticky; top: 0; z-index: 0; }
.opening__media, .opening__veil, .opening__shade { position: absolute; inset: 0; }
.opening__media { z-index: -3; overflow: hidden; }
.opening__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform-origin: 50% 60%; will-change: transform; }
.opening__veil { z-index: -2; pointer-events: none; background:
  linear-gradient(180deg, rgb(12 26 16 / .55) 0%, rgb(12 26 16 / 0) 28%, rgb(12 26 16 / .15) 45%, rgb(10 22 14 / .88) 100%),
  linear-gradient(90deg, rgb(10 22 14 / .45) 0%, rgb(10 22 14 / 0) 60%); }
.opening__shade { z-index: -1; pointer-events: none; background: #0b170f; opacity: 0; }
.opening__content { align-self: end; padding-block: calc(var(--header-top) + var(--header-h) + 28px) clamp(40px, 8vh, 96px); will-change: transform, opacity; }
.opening__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; gap: clamp(24px, 4.5vw, 64px); }
.opening__side .lede { margin-bottom: 24px; }
.opening__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 28px 0 0; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .22); color: var(--on-dark-2); font-size: 15px; font-weight: 600; }
.opening__meta span { display: inline-flex; align-items: center; gap: 8px; }

.anim-in { opacity: 0; transform: translateY(16px); animation: rise 520ms var(--ease-out) forwards; }
.anim-in--late { animation-delay: 160ms; animation-duration: 420ms; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------------- Content sheet ---------------- */
.content-sheet { position: relative; z-index: 3; background: var(--surface); border-radius: var(--r-lg) var(--r-lg) 0 0; margin-top: -24px; }
.section { padding-block: clamp(64px, 9vh, 120px); }

/* Intro */
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.intro__statement { font-family: var(--display); font-weight: 500; font-size: clamp(1.75rem, 3.1vw, 2.75rem); line-height: 1.15; max-width: 20em; text-wrap: balance; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); }
.fact { padding: 18px 18px 0 0; }
.fact + .fact { padding-left: 18px; border-left: 1px solid var(--line); }
.fact dt { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
.fact dd { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.4; }
.fact a { color: var(--leaf); text-decoration: none; }
.fact a:hover { text-decoration: underline; }

/* Section head */
.section-head { margin-bottom: 40px; }
.section-head--split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 56px; align-items: end; }
.section-head__lede { color: var(--muted); max-width: 46ch; margin: 0; }

/* ---------------- Catalogue ---------------- */
.toolbar { display: flex; gap: 12px; margin-bottom: 16px; }
.field--search { position: relative; flex: 1 1 auto; }
.field--search svg { position: absolute; left: 16px; top: 50%; translate: 0 -50%; color: var(--muted); pointer-events: none; }
.field.field--search input { padding-left: 46px; }
.field--select { flex: 0 0 240px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: transparent; font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease; }
.chip:hover { background: var(--surface-2); }
.chip[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.chip__n { opacity: .6; margin-left: 4px; font-variant-numeric: tabular-nums; }
.results-note { color: var(--muted); font-size: 15px; margin-bottom: 20px; min-height: 1.6em; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px; box-shadow: var(--shadow-1);
  transition: box-shadow 260ms ease, transform 260ms var(--ease-out);
}
.card:hover { box-shadow: var(--shadow-2); }
.card__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; background: var(--surface-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.card:hover .card__media img { transform: scale(1.04); }
.card__tag { position: absolute; left: 10px; top: 10px; }
.tag { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: rgb(255 253 248 / .92); color: var(--forest); font-size: 13px; font-weight: 700; margin: 0; }
.product-dialog .tag { background: var(--surface-2); margin-bottom: 12px; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 16px 8px 8px; }
.card__title { font-size: 20px; font-weight: 700; line-height: 1.25; margin-bottom: 6px; }
.card__title button { all: unset; cursor: pointer; }
.card__title button::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); }
.card__title button:focus-visible::after { outline: 3px solid var(--focus); outline-offset: 2px; }
.card__summary { color: var(--muted); font-size: 16px; line-height: 1.5; margin-bottom: 16px; }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-weight: 700; font-size: 15px; color: var(--clay); margin: 0; }
.price--set { color: var(--ink); font-size: 18px; }
.card__add { position: relative; z-index: 1; min-height: 44px; padding: 0 16px; font-size: 15px; }
.card__add.is-added { --bg: var(--forest); }
.empty-state { grid-column: 1 / -1; padding: 40px; text-align: center; border: 1.5px dashed var(--line-strong); border-radius: var(--r-lg); color: var(--muted); }

/* ---------------- Featured chapter ---------------- */
.chapter { background: var(--forest); color: var(--on-dark); position: relative; overflow: clip; }
.chapter::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 50% 0%, rgb(140 198 63 / .14), transparent 70%); }
.story-grid { position: relative; display: grid; gap: clamp(24px, 3.4vw, 48px); }
.story-heading { padding-bottom: 8px; }
.story-heading .lede { margin: 20px 0 28px; }
.story-track { display: grid; align-content: start; gap: clamp(48px, 9vh, 120px); }
.story-card { margin: 0; }
.story-card__media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--forest-2); }
.story-card__media img { width: 100%; height: 100%; object-fit: cover; transform: translateY(var(--px, 0px)) scale(1.04); }
.story-card figcaption { padding-top: 16px; }
.story-card h3 { font-family: var(--display); font-weight: 500; font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.2; margin-bottom: 6px; }
.story-card p { color: var(--on-dark-2); font-size: 16px; margin-bottom: 12px; }
.story-card .text-link { color: var(--lime); background: none; border: 0; padding: 0; cursor: pointer; font-size: 16px; text-decoration: underline; }

/* ---------------- About ---------------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4.5vw, 72px); align-items: center; }
.about__media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__copy p { max-width: 60ch; }
.about__copy .h2 { margin-bottom: 24px; }
.about__copy .actions { margin-top: 28px; }

/* ---------------- Gallery ---------------- */
.gallery { padding-bottom: clamp(48px, 7vh, 96px); }
.gallery__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.gallery__head .h2 { margin-bottom: 12px; }
.gallery__controls { display: flex; gap: 10px; flex: 0 0 auto; }
.gallery__track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-inline: max(var(--gutter), calc((100vw - 1480px) / 2 + var(--gutter))); scroll-padding-inline: max(var(--gutter), calc((100vw - 1480px) / 2 + var(--gutter)));
  padding-bottom: 8px; scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__item { flex: 0 0 clamp(260px, 30vw, 460px); scroll-snap-align: start; }
.gallery__btn { all: unset; display: block; position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; cursor: zoom-in; background: var(--surface-2); }
.gallery__btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.gallery__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.gallery__btn:hover img { transform: scale(1.04); }
.gallery__btn::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(180deg, transparent, rgb(10 22 14 / .7)); }
.gallery__cap { position: absolute; left: 18px; bottom: 16px; right: 18px; z-index: 1; color: #fff; font-weight: 700; font-size: 17px; }
.gallery__progress { position: relative; height: 3px; border-radius: 3px; background: var(--line); margin: 24px 0 32px; overflow: hidden; }
.gallery__progress span { position: absolute; left: 0; top: 0; bottom: 0; min-width: 40px; border-radius: 3px; background: var(--leaf); }
.insta-cta { display: flex; align-items: center; gap: 14px; padding: 20px 24px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); text-decoration: none; font-size: 18px; transition: background-color 180ms ease; }
.insta-cta:hover { background: var(--surface-2); }
.insta-cta .arrow { margin-left: auto; transition: transform 240ms var(--ease-out); }
.insta-cta:hover .arrow { transform: translateX(4px); }

/* ---------------- Contact ---------------- */
.contact { padding-top: 0; }
.contact__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 0; }
.contact__info { background: var(--forest); color: var(--on-dark); padding: clamp(32px, 4vw, 56px); border-radius: var(--r-lg) 0 0 var(--r-lg); }
.contact__info .h2 { margin-bottom: 32px; }
.contact-list { display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .08); color: var(--lime); flex: 0 0 auto; }
.contact-list__label { display: block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-2); }
.contact-list a { font-size: 19px; font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact__form { background: var(--card); border: 1px solid var(--line); border-left: 0; border-radius: 0 var(--r-lg) var(--r-lg) 0; padding: clamp(28px, 4vw, 56px); }
.contact__form .h4 { margin-bottom: 20px; }

/* ---------------- Forms ---------------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { font-size: 15px; font-weight: 700; }
.optional { font-weight: 400; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
input:not([type="radio"], [type="checkbox"]), select, textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--r-sm); border: 1.5px solid var(--line-strong);
  background: #fff; font-size: 16px; transition: border-color 160ms ease, box-shadow 160ms ease;
}
textarea { min-height: 110px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23586456' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; cursor: pointer; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 3px rgb(47 107 58 / .2); }
[aria-invalid="true"] { border-color: var(--err) !important; }
.field__error { color: var(--err); font-size: 14px; font-weight: 600; margin: 0; min-height: 0; }
.field__error:empty { display: none; }
.choice { border: 0; padding: 0; margin: 0; }
.choice legend { margin-bottom: 8px; padding: 0; }
.choice__opt, .check { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); cursor: pointer; font-size: 16px; line-height: 1.45; }
.choice__opt + .choice__opt { margin-top: 8px; }
.choice__opt:has(input:checked) { border-color: var(--leaf); background: rgb(47 107 58 / .06); }
.choice input, .check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--leaf); flex: 0 0 auto; }
.check { border: 0; padding: 4px 0; }
.form__status { margin: 0; font-weight: 600; }
.form__status:empty { display: none; }
.form__status.is-ok { color: var(--ok); }
.form__status.is-err { color: var(--err); }

/* ---------------- Dialogs ---------------- */
.dialog { border: 0; padding: 0; color: var(--ink); background: var(--card); border-radius: var(--r-lg); box-shadow: 0 30px 80px -20px rgb(0 0 0 / .45); max-width: min(980px, calc(100vw - 32px)); max-height: calc(100svh - 32px); overflow: auto; }
.dialog::backdrop { background: rgb(10 20 13 / .55); backdrop-filter: blur(3px); }
.dialog[open] { animation: dlg-in 220ms var(--ease-out); }
.dialog[open]::backdrop { animation: fade-in 220ms ease; }
@keyframes dlg-in { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } }
.dialog__close { position: absolute; right: 12px; top: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgb(255 253 248 / .92); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-1); }
.dialog__close:hover { background: #fff; }
.dialog__close--static { position: static; box-shadow: none; background: var(--surface-2); }

.product-dialog__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.product-dialog__media img { width: 100%; height: 100%; max-height: 80svh; object-fit: cover; }
.product-dialog__copy { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 4px; }
.product-dialog__copy .h3 { margin-bottom: 12px; }
.product-dialog__copy .price { margin: 4px 0 20px; }
.product-dialog__copy .btn { margin: 16px 0 16px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: 999px; overflow: hidden; width: max-content; background: #fff; }
.qty__btn { width: 44px; height: 44px; border: 0; background: transparent; font-size: 22px; cursor: pointer; line-height: 1; }
.qty__btn:hover { background: var(--surface-2); }
.qty__input { width: 56px !important; min-height: 44px !important; padding: 0 !important; border: 0 !important; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; -moz-appearance: textfield; border-radius: 0 !important; box-shadow: none !important; }
.qty__input::-webkit-inner-spin-button, .qty__input::-webkit-outer-spin-button { -webkit-appearance: none; }
.qty--sm .qty__btn { width: 36px; height: 36px; font-size: 18px; }
.qty--sm .qty__input { width: 40px !important; min-height: 36px !important; }

/* Drawer */
.drawer { margin: 0 0 0 auto; height: 100svh; max-height: 100svh; width: min(440px, 100vw); max-width: 100vw; border-radius: var(--r-lg) 0 0 var(--r-lg); display: none; flex-direction: column; overflow: hidden; }
.drawer[open] { display: flex; animation: drawer-in 280ms var(--ease-out); }
@keyframes drawer-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 16px 24px; border-bottom: 1px solid var(--line); }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer__foot { padding: 16px 24px calc(20px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--surface); }
.empty { color: var(--muted); padding: 32px 0; text-align: center; }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 72px; height: 88px; border-radius: 10px; object-fit: cover; }
.cart-line__name { font-weight: 700; line-height: 1.3; margin-bottom: 4px; }
.cart-line__price { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.cart-line__remove { border: 0; background: none; color: var(--muted); font-size: 14px; text-decoration: underline; cursor: pointer; padding: 8px 0 8px 8px; align-self: start; }
.cart-line__remove:hover { color: var(--err); }
.totals { margin: 0 0 8px; display: grid; gap: 4px; }
.totals div { display: flex; justify-content: space-between; gap: 16px; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.note { font-size: 14px; color: var(--muted); line-height: 1.45; margin-bottom: 12px; }

/* Checkout */
.checkout { width: min(640px, calc(100vw - 24px)); }
.checkout__inner, .checkout__done { padding: clamp(24px, 4vw, 40px); }
.checkout__inner .h3 { margin-bottom: 12px; padding-right: 48px; }
.checkout__intro { color: var(--muted); font-size: 16px; padding: 12px 16px; background: var(--surface); border-left: 3px solid var(--clay); border-radius: 0 10px 10px 0; }
.checkout__summary { margin-bottom: 20px; font-size: 15px; }
.checkout__summary li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.checkout__done { text-align: center; }
.checkout__done:focus { outline: none; }
.checkout__done p { max-width: 46ch; margin-inline: auto; }
.checkout__done .h3 { margin: 16px 0 12px; }
.done-icon { width: 64px; height: 64px; border-radius: 50%; margin: 8px auto 0; background: rgb(31 106 69 / .12); color: var(--ok); display: grid; place-items: center; }

/* Viewer */
.viewer { background: #0b170f; color: #fff; width: min(760px, calc(100vw - 24px)); }
.viewer figure { margin: 0; }
.viewer img { width: 100%; max-height: calc(100svh - 120px); object-fit: contain; }
.viewer figcaption { padding: 14px 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-weight: 600; }
.viewer a { color: var(--lime); }

/* Toast */
.toast { position: fixed; z-index: 90; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); translate: -50% 0; padding: 12px 20px; border-radius: 999px; background: var(--forest); color: #fff; font-weight: 600; box-shadow: var(--shadow-2); opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity 200ms ease, transform 200ms var(--ease-out); max-width: calc(100vw - 32px); text-align: center; }
.toast.is-on { opacity: 1; transform: none; }

/* Persistent phone action */
.phone-bar { position: fixed; z-index: 40; left: 50%; translate: -50% 0; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); height: 50px; padding: 0 10px 0 22px; border: 0; border-radius: 999px; background: var(--leaf); color: #fff; font-weight: 700; font-size: 16px; display: none; align-items: center; gap: 12px; box-shadow: var(--shadow-2); cursor: pointer; }
.phone-bar__count { min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; background: #fff; color: var(--leaf); display: inline-grid; place-items: center; }

/* ---------------- Footer ---------------- */
.footer { background: #102216; color: var(--on-dark-2); padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer ul { display: grid; gap: 8px; }
.footer__title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 14px; }
.brand--footer { color: #fff; margin-bottom: 12px; }
.brand--footer .brand__logo { width: 52px; height: 52px; }
.social { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .1); font-size: 14px; }
.footer__legal p { margin: 0; }

/* ---------------- Reveal on scroll ---------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 480ms var(--ease-out), transform 480ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------------- Responsive ---------------- */
@media (min-width: 901px) {
  .story-grid { grid-template-columns: minmax(0, 1fr) minmax(300px, 34%) minmax(0, 1fr); }
  .story-heading { grid-area: 1 / 2; align-self: start; text-align: center; }
  .story-heading .eyebrow { justify-content: center; }
  .story-heading .lede { margin-inline: auto; }
  .story-track--first { grid-area: 1 / 1; }
  .story-track--second { grid-area: 1 / 3; }
}
@media (min-width: 901px) and (min-height: 651px) and (prefers-reduced-motion: no-preference) {
  .story-heading { position: sticky; top: calc(var(--header-top) + var(--header-h) + 40px); }
  .story-track--second { padding-block-start: 16vh; }
}
@media (max-width: 1180px) {
  .nav__list { gap: 16px; }
  .nav__list a { font-size: 14px; }
  .brand__name { font-size: 19px; }
}
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
}
@media (max-width: 900px) {
  .intro, .section-head--split, .about, .contact__panel { grid-template-columns: minmax(0, 1fr); }
  .contact__info { border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .contact__form { border-left: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--r-lg) var(--r-lg); }
  .about__media { aspect-ratio: 16 / 11; }
  .story-track { gap: 40px; }
  .story-heading { margin-bottom: 8px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .opening__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .product-dialog__body { grid-template-columns: minmax(0, 1fr); }
  .product-dialog__media img { aspect-ratio: 4 / 3.4; height: auto; max-height: 46svh; }
}
@media (max-width: 700px) {
  :root { --promo-h: 36px; }
  body { font-size: 16px; }
  .promo__item { font-size: 12.5px; padding: 0 16px; }
  .promo__timer { font-size: 14px; height: 26px; margin: 0 16px; }
  .gallery__item { flex-basis: min(80vw, 420px); }
  .toolbar { flex-direction: column; }
  .field--select { flex-basis: auto; }
  .facts { grid-template-columns: 1fr; }
  .fact + .fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .fact { padding: 14px 0; }
  .phone-bar:not([hidden]) { display: inline-flex; }
}
@media (max-width: 600px) {
  .site-header { padding-inline: 8px 6px; }
  .brand__logo { width: 38px; height: 38px; }
  .brand__name { font-size: 17px; }
  .cart-btn__label { display: none; }
  .cart-btn { padding: 0 8px 0 12px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .product-grid { gap: 16px; }
  .gallery__head { flex-direction: column; align-items: flex-start; }
  .actions .btn { flex: 1 1 auto; }
  .footer__grid { grid-template-columns: 1fr; }
  .drawer { border-radius: 0; }
  .insta-cta { font-size: 16px; }
}
@media (max-width: 380px) {
  .site-header { gap: 8px; padding-inline: 6px; }
  .brand { gap: 8px; }
  .brand__logo { width: 32px; height: 32px; }
  .brand__name { font-size: 13.5px; }
  .header-actions { gap: 6px; }
  .cart-btn { gap: 6px; padding: 0 6px 0 10px; }
  .cart-btn svg { width: 18px; height: 18px; }
  .cart-btn__count { min-width: 26px; height: 26px; padding: 0 6px; }
  .menu-btn { width: 40px; height: 40px; }
  .hero-title { font-size: 2.3rem; }
}
@media (max-height: 650px), (prefers-reduced-motion: reduce) {
  .opening.is-pinned { position: relative; }
}
@media (max-height: 560px) {
  .opening { min-height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header, .card, .card__media img, .gallery__btn img { transition: none; }
  .site-header, .anim-in { animation: none; opacity: 1; transform: none; }
  .promo__track { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .gallery__track { scroll-behavior: auto; }
}
