/* Tellicherry & Co. — marketing site styles. Consumes design-system tokens. */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: var(--weight-semibold); line-height: var(--leading-tight); letter-spacing: var(--tracking-tight); margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Floating spice chips (decorative, random scatter down both sides) ---------- */
main { position: relative; }
.floaters { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.floaty {
  position: absolute; width: clamp(118px, 12vw, 152px);
  opacity: 0; transition: opacity .7s var(--ease-out); will-change: transform;
}
.floaty.is-in { opacity: 1; }
.floaty__in {
  display: block; padding: 11px 13px 12px; border-radius: 15px;
  background: rgba(255,255,255,0.46);
  -webkit-backdrop-filter: blur(15px) saturate(150%); backdrop-filter: blur(15px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 16px 34px -20px rgba(60,44,22,0.42), inset 0 1px 0 rgba(255,255,255,0.5);
  will-change: transform;
}
.floaty__k { display: block; font-family: var(--font-body); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--saffron-700, #9a6b1a); margin-bottom: 4px; }
.floaty__v { display: block; font-family: var(--font-display); font-size: 0.92rem; font-weight: 600;
  line-height: 1.25; color: var(--text); }
@media (prefers-reduced-motion: reduce) { .floaty { transition: none; } }
@media (max-width: 600px) {
  .floaty { width: clamp(92px, 30vw, 116px); }
  .floaty__in { padding: 8px 10px 9px; border-radius: 12px; }
  .floaty__k { font-size: 0.52rem; margin-bottom: 2px; }
  .floaty__v { font-size: 0.75rem; line-height: 1.2; }
}

/* Visible keyboard focus everywhere */
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; border-radius: 4px; }
/* No green focus line around buttons — subtle neutral ring instead (keeps a11y) */
.btn:focus-visible, .btn--buy:focus-visible, .btn--dark:focus-visible, .enq__opt:focus-visible,
.enq__close:focus-visible, .menu-toggle:focus-visible, .map-dir:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(60, 44, 22, 0.26);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.eyebrow {
  font-size: var(--text-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  font-weight: var(--weight-semibold);
  color: var(--text-muted);
  margin: 0 0 18px;
}
.eyebrow--gold { color: var(--accent-strong); }

/* ---------- Buttons (page-level, mirror the Button component) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: var(--weight-semibold);
  font-size: var(--text-body); line-height: 1; letter-spacing: 0.01em;
  padding: 13px 24px; border-radius: var(--radius-pill);
  border: 1px solid transparent; cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), filter var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.btn i { width: 18px; height: 18px; }
.btn--lg { padding: 17px 32px; font-size: 1.125rem; }
.btn--primary { background: var(--accent); color: var(--text-on-accent); border-color: var(--accent); box-shadow: var(--shadow-accent); }
.btn--primary:hover { filter: brightness(1.06); }
.btn--secondary { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn--secondary:hover { border-color: var(--text); }
.btn--ghost { background: transparent; color: var(--text); }
.btn--ghost:hover { gap: 13px; }
.btn--dark { background: var(--pepper-900); color: var(--text-on-dark); border-color: var(--pepper-900); }
.btn--dark:hover { filter: brightness(1.25); }
.btn:active { transform: translateY(1px) scale(0.985); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cream-50) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.nav.is-scrolled { border-bottom-color: var(--border); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark {
  display: flex; align-items: center; justify-content: center; width: 32px; height: 32px;
  background: var(--pepper-900); color: var(--saffron-500);
  font-family: var(--font-display); font-weight: 700; font-size: 1.4rem;
  border-radius: var(--radius-sm); line-height: 1;
}
.brand__mark { overflow: hidden; }
.brand__mark img { width: auto; height: 26px; max-width: 100%; object-fit: contain; display: block; }
.brand__name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; }
.brand .amp { color: var(--brand-teal); font-style: italic; }
.brand--light .brand__name { color: var(--text); }
.brand--light .brand__mark { background: transparent; color: var(--text); }

.nav__links { display: none; gap: 34px; margin-left: auto; }
.nav__links a { font-size: 1.05rem; font-weight: var(--weight-medium); color: var(--text); position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--accent); transition: width var(--dur-base) var(--ease-out); }
.nav__links a:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 6px; }
.cart-btn, .menu-toggle {
  position: relative; display: grid; place-items: center;
  width: 44px; height: 44px; border: none; background: transparent;
  color: var(--text); cursor: pointer; border-radius: var(--radius-md);
  transition: background var(--dur-fast) var(--ease-out);
}
.cart-btn:hover, .menu-toggle:hover { background: var(--cream-200); }
.cart-btn i, .menu-toggle i { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: 5px; right: 5px; min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--accent); color: var(--pepper-900); border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 700; display: grid; place-items: center; line-height: 1;
}

.mobile-menu { display: flex; flex-direction: column; padding: 8px var(--gutter) 20px; gap: 4px; border-top: 1px solid var(--border); background: var(--cream-50); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 14px 4px; font-size: 1.15rem; font-family: var(--font-display); border-bottom: 1px solid var(--border); }

/* ---------- Hero ---------- */
.hero { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; padding-block: clamp(40px, 7vw, 88px); }
.hero__title { font-size: var(--text-display); margin-bottom: 22px; }
.hero__title em { font-style: italic; color: var(--brand-teal); padding-right: 0.12em; }
.hero__lead { font-size: var(--text-lead); color: var(--text-muted); max-width: 46ch; line-height: var(--leading-relaxed); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__stats { list-style: none; margin: 40px 0 0; padding: 24px 0 0; border-top: 1px solid var(--border); display: flex; gap: clamp(20px, 4vw, 46px); }
.hero__stats li { display: grid; gap: 3px; }
.hero__stats strong { font-family: var(--font-display); font-size: 2rem; font-weight: 600; line-height: 1; color: var(--text); }
.hero__stats span { font-size: var(--text-xs); color: var(--text-soft); letter-spacing: 0.02em; }

/* ---------- Hero collage stage ---------- */
.hero__stage {
  position: relative; container-type: inline-size;
  aspect-ratio: 1 / 1.05; width: 100%;
  overflow: visible;
  perspective: 1500px; perspective-origin: 46% 42%;
}
.hero__figure {
  position: absolute; inset: 0; margin: 0;
  border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 34px 66px -22px rgba(60,44,22,0.5), 0 6px 16px -8px rgba(60,44,22,0.24);
}
.hero__figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stage__scene { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.fcard { position: absolute; z-index: 2; border-radius: 4cqw; overflow: hidden; will-change: transform; transform-style: preserve-3d; -webkit-backdrop-filter: blur(16px) saturate(155%); backdrop-filter: blur(16px) saturate(155%); border: 1px solid rgba(255,255,255,0.28); box-shadow: 0 20px 44px -20px rgba(60,44,22,0.55), 0 4px 12px -6px rgba(60,44,22,0.28), inset 0 1px 0 rgba(255,255,255,0.4), inset 0 -14px 30px -20px rgba(255,255,255,0.12); transition: box-shadow .45s cubic-bezier(.22,.61,.36,1); }
.fcard::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 5; background: linear-gradient(133deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.08) 26%, rgba(255,255,255,0) 52%); }
.fcard.is-hot, .ftile.is-hot { box-shadow: 0 40px 70px -22px rgba(60,44,22,0.62), 0 10px 22px rgba(60,44,22,0.26), inset 0 1px 0 rgba(255,255,255,0.5), inset 0 -14px 30px -20px rgba(255,255,255,0.18); z-index: 20; }
.fcard__bar { display: flex; align-items: center; gap: 2cqw; padding: 2.8cqw 3.4cqw; border-bottom: 1px solid rgba(60,44,22,0.12); }
.fcard__dot { width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: var(--saffron-500); box-shadow: 0 0 0 0.7cqw rgba(224,165,38,0.18); }
.fcard__bar em { font-style: normal; font-family: var(--font-body); font-weight: 600; font-size: 2cqw; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-soft); }
.fcard__bar--file { gap: 2cqw; }
.fcard__bar--file i { width: 2.8cqw; height: 2.8cqw; color: var(--saffron-600); }
.fcard__log { padding: 3cqw 3.4cqw 3.4cqw; font-family: 'SFMono-Regular', ui-monospace, Menlo, monospace; font-size: 2.35cqw; line-height: 1.85; color: rgba(42,34,24,0.92); }
.fcard__log b { color: var(--saffron-600); }
.fcard__log .ok { color: #4c7a40; }
.fcard__log .muted { color: rgba(42,34,24,0.5); margin-top: 1.4cqw; }
.fcard__log .k { color: #8a6a2e; }

/* Five-card collage — balanced quincunx: four corners + centre feature */
.fcard--product { top: 0%;   left: 0%;   right: auto; bottom: auto; width: 37cqw; z-index: 4; }
.fcard--log     { top: 1%;   right: 0%;  left: auto;  bottom: auto; width: 30cqw; z-index: 3; }
.fcard--range   { bottom: 0%; left: 1%;  top: auto;   right: auto;  width: 31cqw; z-index: 3; }
.fcard--grade   { bottom: 1%; right: 0%; left: auto;  top: auto;    width: 33cqw; z-index: 3; }
.fcard--fruit   { top: 29%;  left: 35.5%; right: auto; bottom: auto; width: 30cqw; z-index: 6; }

/* ---- Photo cards (origin imagery) ---- */
.fcard--ph { padding: 0; background: #fff; border: 1px solid rgba(255,255,255,0.5); overflow: hidden; }
.fcard--ph .fcard__photo { aspect-ratio: 4 / 5; border-radius: 0; }
.fcard--ph.fcard--product .fcard__photo { aspect-ratio: 4 / 4.4; }
.fcard--ph .fcard__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.fcard__tag { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; display: grid; gap: 0.3cqw;
  padding: 8cqw 3.6cqw 3cqw; text-align: left;
  background: linear-gradient(to top, rgba(20,15,8,0.82) 12%, rgba(20,15,8,0.42) 55%, rgba(20,15,8,0)); }
.fcard__tag strong { font-family: var(--font-display); font-weight: 600; font-size: 4cqw; line-height: 1; color: #fff; }
.fcard__tag span { font-family: var(--font-body); font-size: 2.3cqw; letter-spacing: 0.02em; color: rgba(255,255,255,0.82); }

/* ---------- Hero carousel (Stack ↔ tilted Ring) ---------- */
.carousel { position: absolute; inset: 0; display: grid; place-items: center; perspective: 1200px; perspective-origin: 50% 42%; }
.carousel__glow {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-30deg);
  width: 78%; height: 46%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(224,161,30,0.22) 0%, rgba(200,120,40,0.08) 48%, transparent 72%);
  filter: blur(26px);
}
.carousel__stage { position: relative; width: 340px; height: 450px; transform-origin: 50% 50%; transform-style: preserve-3d; }
.ccard {
  position: absolute; top: 50%; left: 50%; width: 340px; height: 450px;
  border-radius: 22px; overflow: hidden;
  background: #fdf9f1;
  border: 2px solid #fdf9f1;
  box-shadow: 0 34px 66px -22px rgba(60,44,22,0.5), 0 6px 16px -8px rgba(60,44,22,0.24);
  will-change: transform, opacity; backface-visibility: hidden; user-select: none;
}
.ccard::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 4;
  background: linear-gradient(133deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.05) 26%, rgba(255,255,255,0) 54%);
}
.ccard__num {
  position: absolute; top: 16px; left: 18px; z-index: 3;
  font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--saffron-700);
}
.ccard__photo {
  position: absolute; inset: 0; display: grid; place-items: center; background: transparent;
}
.ccard__photo img { width: 100%; height: 100%; object-fit: cover; }
.ccard__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 22px 22px; z-index: 5;
  background: linear-gradient(to top, rgba(255,253,249,0.9) 38%, rgba(255,253,249,0));
}
.ccard__cap h3 { font-family: var(--font-display); font-weight: 600; font-size: 2.2rem; line-height: 1; color: var(--text); }
.ccard__cap p { font-family: var(--font-body); font-size: 1rem; color: var(--text-soft); margin-top: 5px; }

/* ---------- Media placeholders ---------- */
.media-ph {
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(168,106,7,0.04) 18px 36px),
    var(--cream-100);
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-xl); color: var(--text-muted); text-align: center;
}
.media-ph__inner { display: grid; justify-items: center; gap: 6px; padding: 24px; }
.media-ph__inner i { width: 38px; height: 38px; color: var(--accent); opacity: 0.8; }
.media-ph__title { font-family: var(--font-body); font-weight: 700; letter-spacing: var(--tracking-eyebrow); font-size: var(--text-xs); text-transform: uppercase; margin: 6px 0 0; }
.media-ph__dim { font-size: var(--text-xs); color: var(--text-soft); margin: 0; }

/* ---------- Marquee strip ---------- */
.strip { overflow: hidden; background: var(--pepper-900); color: var(--cream-100); padding: 14px 0; }
.strip__track { display: inline-flex; gap: 26px; align-items: center; white-space: nowrap; font-family: var(--font-display); font-size: 1.35rem; font-style: italic; animation: marquee 26s linear infinite; }
.strip__track .dot { color: var(--brand-teal); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip__track { animation: none; } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
/* tighten the run between the story values band and the founder card */
#story { padding-bottom: clamp(28px, 4vw, 44px); }
#founder { padding-top: clamp(28px, 4vw, 44px); }
.section__head { display: grid; gap: 18px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__title { font-size: var(--text-h2); }
.section__intro { color: var(--text-muted); font-size: var(--text-lead); max-width: 42ch; }

/* ---------- Product grid ---------- */
.grid { display: grid; grid-template-columns: 1fr; gap: clamp(18px, 2.5vw, 28px); }
.card {
  background: var(--surface-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card__media { position: relative; aspect-ratio: 4 / 3; }
.card__photo { width: 100%; height: 100%; background: #ffffff; border-bottom: 1px solid var(--border); display: grid; place-items: center; overflow: hidden; position: relative; }
.card__photo img { width: 100%; height: 100%; object-fit: contain; object-position: top center; padding: 0 14px 14px; }
.card__photo--cover img { object-fit: cover; object-position: center; padding: 0; }

/* Cursor-tracking zoom marker dot */
.img-zoom-dot {
  position: fixed; top: 0; left: 0; z-index: 60;
  width: 10px; height: 10px; border-radius: 2px;
  background: var(--accent); box-shadow: 0 0 10px rgba(34, 148, 132, 0.7);
  transform: translate(-50%, -50%);
  opacity: 0; transition: opacity 0.18s ease-out;
  pointer-events: none;
}

/* Subtle scanline + dot-grid texture overlay on images only */
.card__photo::after,
.founder__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background-image:
    repeating-linear-gradient(0deg, rgba(20, 57, 27, 0.12) 0, rgba(20, 57, 27, 0.12) 1px, transparent 1px, transparent 4px),
    radial-gradient(rgba(107, 255, 107, 0.18) 0.5px, transparent 0.6px);
  background-size: 100% 4px, 6px 6px;
  opacity: 0.5;
  mix-blend-mode: multiply;
}
.card .btn.is-disabled { opacity: 0.55; cursor: not-allowed; pointer-events: none; }
.card__media .media-ph { border: none; border-radius: 0; border-bottom: 1px solid var(--border); height: 100%; }
.card__badge { position: absolute; top: 14px; left: 14px; z-index: 2; }
.badge {
  display: inline-flex; align-items: center; padding: 5px 11px; border-radius: var(--radius-pill);
  font-size: var(--text-xs); font-weight: 600; letter-spacing: var(--tracking-wide); text-transform: uppercase; line-height: 1;
  background: #FBEFCF; color: var(--saffron-700);
}
.card__body { padding: var(--space-5); display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.card__origin { color: var(--text-muted); font-size: var(--text-sm); }
.card__note { color: var(--text-muted); font-size: var(--text-sm); line-height: var(--leading-normal); margin-top: 2px; }
.card__foot { display: flex; align-items: center; justify-content: flex-start; gap: 16px; margin-top: auto; padding-top: 16px; }
.card__price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.card__price small { font-family: var(--font-body); font-size: var(--text-xs); color: var(--text-soft); font-weight: 500; }

/* ---------- Story ---------- */
.story { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
.story__media { width: 100%; aspect-ratio: 6 / 7; border-radius: var(--radius-xl); position: relative; }
.story__photo { position: absolute; inset: 0; overflow: hidden; border-radius: var(--radius-xl); background: rgba(255,255,255,0.22); border: 1px solid rgba(255,255,255,0.5); -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4); box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 12px 34px -18px rgba(40,60,50,0.28); }
.story__photo img { width: 100%; height: 100%; object-fit: cover; }
.story__photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: repeating-linear-gradient(0deg, rgba(20,57,27,0.12) 0, rgba(20,57,27,0.12) 1px, transparent 1px, transparent 4px), radial-gradient(rgba(107,255,107,0.18) 0.5px, transparent 0.6px); background-size: 100% 4px, 6px 6px; opacity: 0.5; mix-blend-mode: multiply; }
.story__copy { display: grid; gap: 18px; }
.story__copy .section__title { margin-bottom: 6px; }
.story__copy p { color: var(--text-muted); line-height: var(--leading-relaxed); }
.story__copy .btn { justify-self: start; margin-top: 8px; }

/* Story reel — draggable infinite gallery */.story__reel { grid-column: 1 / -1; margin-top: 4px; }
.reel__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.reel__label { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--text); }
.reel__hint { display: inline-flex; align-items: center; gap: 8px; color: var(--text-soft); font-size: var(--text-sm); font-weight: 500; letter-spacing: var(--tracking-wide); text-transform: uppercase; }
.reel__hint i { width: 18px; height: 18px; }
.reel__viewport {
  position: relative; overflow: hidden; border-radius: var(--radius-xl);
  cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.reel__viewport.is-grabbing { cursor: grabbing; }
.reel__viewport + .reel__viewport { margin-top: 18px; }
/* placeholder tile — matches tile shape, awaiting an upload */
.reel__ph {
  width: 100%; height: 100%; display: grid; place-content: center; justify-items: center;
  gap: 7px; text-align: center; padding: 20px;
  border-radius: var(--radius-lg); background: rgba(255,255,255,0.5);
  border: 1.5px dashed var(--border-strong); color: var(--text-muted);
}
.reel__ph i { width: 30px; height: 30px; opacity: 0.85; }
.reel__ph-title { font-size: var(--text-xs); font-weight: 700; letter-spacing: var(--tracking-wide); text-transform: uppercase; }
.reel__ph-sub { font-size: var(--text-sm); color: var(--text-soft); max-width: 22ch; line-height: var(--leading-snug); }
/* edge fade so tiles dissolve into the page background */
.reel__viewport::before, .reel__viewport::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 9%; z-index: 3; pointer-events: none;
}
.reel__viewport::before { left: 0; background: linear-gradient(90deg, var(--bg), rgba(232,238,226,0)); }
.reel__viewport::after { right: 0; background: linear-gradient(270deg, var(--bg), rgba(232,238,226,0)); }
.reel__track { position: relative; width: 100%; }
.reel__tile {
  position: absolute; top: 0; left: 0; height: 100%; padding-right: 18px;
  will-change: transform;
}
.reel__tile > img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: var(--radius-lg); background: #fff;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  pointer-events: none;
}
/* same scanline texture as the product photos, over each tile image */
.reel__tile::after {
  content: ""; position: absolute; inset: 0 18px 0 0; z-index: 1; pointer-events: none;
  border-radius: var(--radius-lg);
  background-image:
    repeating-linear-gradient(0deg, rgba(20, 57, 27, 0.12) 0, rgba(20, 57, 27, 0.12) 1px, transparent 1px, transparent 4px),
    radial-gradient(rgba(107, 255, 107, 0.18) 0.5px, transparent 0.6px);
  background-size: 100% 4px, 6px 6px;
  opacity: 0.5;
}
.reel__cap {
  position: absolute; left: 14px; bottom: 14px; right: 32px; z-index: 2;
  color: #fff; font-family: var(--font-display); font-size: 1.05rem; font-weight: 600;
  text-shadow: 0 1px 10px rgba(20,40,28,0.55); pointer-events: none;
}

/* ---------- Our Production Gallery (masonry) ---------- */
.production { grid-column: 1 / -1; margin-top: 4px; }
.production__head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); }
.production__head .section__title { margin-bottom: 0; }
.gallery {
  display: flex; align-items: flex-start;
  gap: clamp(12px, 1.1vw, 16px);
}
.gallery__col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: clamp(12px, 1.1vw, 16px); }
.gallery__item {
  margin: 0;
  position: relative; display: block;
  border-radius: var(--radius-lg); overflow: hidden;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 10px 30px -16px rgba(40, 60, 50, 0.25);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.gallery__frame { overflow: hidden; }
.gallery__item img {
  width: 100%; height: auto; display: block;
  transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.6s var(--ease-out);
}
.gallery__item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 20px 44px -18px rgba(40, 60, 50, 0.32);
}
.gallery__item:hover img { transform: scale(1.05); filter: saturate(1.05); }
.gallery__item { cursor: zoom-in; }
/* Production gallery lightbox */
.lightbox{position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;padding:clamp(16px,4vw,56px);gap:clamp(8px,2vw,20px);background:rgba(20,16,12,0.82);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);opacity:0;visibility:hidden;transition:opacity .28s var(--ease-out),visibility .28s;}
.lightbox.is-open{opacity:1;visibility:visible;}
.lightbox__fig{margin:0;max-width:min(1100px,100%);max-height:100%;display:flex;flex-direction:column;gap:14px;align-items:center;transform:scale(.96);transition:transform .3s var(--ease-out);}
.lightbox.is-open .lightbox__fig{transform:none;}
.lightbox__fig img{max-width:100%;max-height:calc(100vh - 160px);width:auto;height:auto;object-fit:contain;border-radius:14px;box-shadow:0 30px 80px -20px rgba(0,0,0,.6);}
.lightbox__cap{display:grid;gap:3px;text-align:center;color:#F6EFE3;}
.lightbox__cap strong{font-family:var(--font-display,'Cormorant Garamond',serif);font-size:clamp(1.1rem,2.4vw,1.5rem);font-weight:600;}
.lightbox__cap span{font-size:.86rem;opacity:.78;}
.lightbox__close{position:absolute;top:clamp(12px,2.5vw,24px);right:clamp(12px,2.5vw,24px);width:46px;height:46px;font-size:28px;line-height:1;}
.lightbox__nav{width:52px;height:52px;font-size:30px;line-height:1;flex:0 0 auto;}
.lightbox__close,.lightbox__nav{display:grid;place-items:center;border:0;border-radius:999px;cursor:pointer;color:#1E2A22;background:rgba(255,255,255,.9);box-shadow:0 8px 22px -10px rgba(0,0,0,.5);transition:transform .15s var(--ease-out),background .2s;}
.lightbox__close:hover,.lightbox__nav:hover{background:#fff;}
.lightbox__close:active,.lightbox__nav:active{transform:scale(.9);}
@media (max-width:620px){.lightbox__nav{position:absolute;bottom:18px;z-index:2;}.lightbox__prev{left:20px;}.lightbox__next{right:20px;}.lightbox__fig img{max-height:calc(100dvh - 200px);}}
@media (prefers-reduced-motion:reduce){.lightbox,.lightbox__fig{transition:none;}}
.gallery__meta {
  display: grid; gap: 3px; padding: 10px 12px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
}
.gallery__meta strong {
  font-family: var(--font-display); font-size: 1.02rem; font-weight: 600;
  color: var(--text); line-height: 1.15;
}
.gallery__meta span {
  font-size: 0.78rem; color: var(--text-muted); line-height: 1.35;
}

/* ---------- Enquiry modal (liquid glass) ---------- */
.enq { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; }
.enq[hidden] { display: none; }
.enq__backdrop { position: absolute; inset: 0; background: rgba(16, 26, 22, 0.42); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); opacity: 0; transition: opacity 0.35s var(--ease-out); }
.enq.is-open .enq__backdrop { opacity: 1; }
.enq__panel {
  position: relative; z-index: 1; width: min(460px, 100%);
  padding: clamp(26px, 4vw, 38px);
  border-radius: var(--radius-xl);
  background: linear-gradient(150deg, rgba(255,255,255,0.42), rgba(255,255,255,0.22));
  border: 1px solid rgba(255,255,255,0.6);
  -webkit-backdrop-filter: blur(30px) saturate(1.6); backdrop-filter: blur(30px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), inset 0 0 40px rgba(255,255,255,0.14), 0 40px 90px -30px rgba(20,40,30,0.6);
  transform: translateY(14px) scale(0.96); opacity: 0;
  transition: transform 0.4s cubic-bezier(0.22,0.61,0.36,1), opacity 0.4s var(--ease-out);
}
.enq.is-open .enq__panel { transform: none; opacity: 1; }
.enq__panel::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(135deg, rgba(255,255,255,0.5), transparent 42%); opacity: 0.7; }
.enq__panel > * { position: relative; z-index: 1; }
.enq__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; border: none; border-radius: 50%; background: rgba(255,255,255,0.4); color: var(--text); cursor: pointer; transition: background 0.2s, transform 0.3s var(--ease-out); }
.enq__close:hover { background: rgba(255,255,255,0.72); transform: rotate(90deg); }
.enq__close i { width: 18px; height: 18px; }
.enq__title { font-size: 1.7rem; margin-bottom: 8px; }
.enq__lead { color: var(--text-muted); font-size: 0.95rem; line-height: 1.5; margin-bottom: 22px; max-width: 34ch; }
.enq__opts { display: grid; gap: 12px; }
.enq__opt {
  display: flex; align-items: center; gap: 14px; padding: 15px 16px;
  border-radius: var(--radius-lg); background: rgba(255,255,255,0.32);
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 8px 22px -12px rgba(20,40,30,0.35);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.enq__opt:hover { transform: translateY(-3px); background: rgba(255,255,255,0.55); border-color: rgba(255,255,255,0.8); box-shadow: inset 0 1px 0 rgba(255,255,255,0.85), 0 16px 34px -14px rgba(20,40,30,0.4); }
.enq__opt:active { transform: translateY(-1px) scale(0.99); }
.enq__icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: rgba(255,255,255,0.55); color: var(--accent-strong); box-shadow: inset 0 1px 0 rgba(255,255,255,0.85), 0 6px 16px -9px rgba(20,40,30,0.35); }
.enq__opt--wa .enq__icon { background: #25D366; color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 6px 16px -9px rgba(20,40,30,0.35); }
.enq__icon i { width: 22px; height: 22px; }
.enq__body { display: grid; gap: 2px; flex: 1; min-width: 0; }
.enq__body strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--text); }
.enq__body span { font-size: 0.82rem; color: var(--text-muted); }
.enq__go { width: 18px; height: 18px; color: var(--text-soft); transition: transform 0.25s var(--ease-out), color 0.25s; flex: none; }
.enq__opt:hover .enq__go { transform: translate(3px,-3px); color: var(--accent-strong); }
@media (prefers-reduced-motion: reduce) { .enq__backdrop, .enq__panel { transition: opacity 0.2s; } .enq__panel { transform: none; } }

/* Story values band — fills the run-up to the founder section */
.story__values {
  grid-column: 1 / -1; margin-top: clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 44px);
  padding-top: clamp(32px, 5vw, 48px); border-top: 1px solid var(--border);
}
.value { display: grid; gap: 12px; justify-items: start; }
.value__icon {
  display: grid; place-items: center; width: 52px; height: 52px;
  border-radius: var(--radius-md); background: var(--surface-raised);
  border: 1px solid var(--border); color: var(--accent); box-shadow: var(--shadow-sm);
}
.value__icon i { width: 26px; height: 26px; }
.value__title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--text); }
.value__text { color: var(--text-muted); line-height: var(--leading-relaxed); max-width: 36ch; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.newsletter__inner { display: grid; gap: clamp(24px, 4vw, 48px); align-items: center; padding-block: clamp(48px, 7vw, 88px); }
.newsletter__title { font-size: var(--text-h2); margin-bottom: 12px; }
.newsletter__lead { color: var(--text-muted); font-size: var(--text-lead); max-width: 40ch; }
.newsletter__form { display: flex; flex-wrap: wrap; gap: 10px; position: relative; }
.newsletter__form input {
  flex: 1 1 240px; padding: 15px 18px; font-family: var(--font-body); font-size: var(--text-body);
  color: var(--text); background: var(--surface-card); border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill); outline: none;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.newsletter__form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(62,142,126,0.25); }
.newsletter__note { flex-basis: 100%; margin: 4px 0 0; font-size: var(--text-sm); color: var(--accent-strong); min-height: 1.2em; }

/* ---------- Footer ---------- */
.footer {
  background: rgba(255, 255, 255, 0.26);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  padding-top: clamp(48px, 6vw, 72px);
}
.footer__inner { display: grid; grid-template-columns: 1fr; gap: 36px; padding-bottom: 44px; }
.footer__tag { color: var(--text-soft); font-size: var(--text-sm); max-width: 36ch; margin-top: 16px; line-height: var(--leading-normal); }
.footer__h { font-size: var(--text-xs); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--text); margin: 0 0 14px; font-weight: 700; }
.footer__col { display: grid; gap: 11px; align-content: start; }
.footer__col a { color: var(--text-muted); font-size: var(--text-sm); transition: color var(--dur-fast) var(--ease-out); }
.footer__col a:hover { color: var(--accent-strong); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, 0.45); font-size: var(--text-xs); color: var(--text-soft); }
.footer__legal a:hover { color: var(--accent-strong); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px);
  background: var(--pepper-900); color: var(--cream-50); padding: 14px 22px; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg); font-size: var(--text-sm); font-weight: 600; z-index: 100;
  display: flex; align-items: center; gap: 10px; opacity: 0; pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast i { width: 18px; height: 18px; color: var(--saffron-400); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; filter: none; transition: none; } }

/* ---------- Text reveal (word-by-word line lift) ---------- */
.tr-word { display: inline-block; overflow: hidden; vertical-align: top; line-height: inherit; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.tr-word__inner {
  display: inline-block;
  transform: translateY(108%);
  transition: transform 0.72s cubic-bezier(0.2, 0.75, 0.2, 1);
  will-change: transform;
}
.tr-ready .tr-word__inner { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .tr-word { overflow: visible; }
  .tr-word__inner { transform: none; transition: none; }
}

/* ============ RESPONSIVE ============ */
@media (min-width: 600px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
@media (min-width: 900px) {
  .nav__links { display: flex; margin-right: 0; }
  .menu-toggle { display: none; }
  .nav__actions { display: none; }
  .mobile-menu { display: none !important; }
  .hero { grid-template-columns: 0.9fr 1.1fr; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .section__head { grid-template-columns: 1fr 1fr; align-items: end; }
  .story { grid-template-columns: 0.9fr 1.1fr; }
  .story__reel { grid-column: 1 / -1; }
  .story__values { grid-template-columns: repeat(3, 1fr); }
  .newsletter__inner { grid-template-columns: 1.1fr 0.9fr; }
}

/* ============================================================
   GLASSMORPHISM THEME OVERRIDE
   Soft, blurred organic gradient (cream / teal / sage / deep green),
   light and airy. All surfaces are neutral frosted-glass pills
   (no colored glow); green is a flat accent for price, badge,
   focus brackets and active states only.
   Layout, structure, content and the 3D jar unchanged.
   ============================================================ */

/* --- Tokens --- */
:root {
  /* greyscale neutrals (dark bands + ink) */
  --pepper-900: #19211C;
  --pepper-800: #243029;
  --pepper-700: #2F3D34;
  --pepper-500: #687268;
  --pepper-300: #9AA69C;

  /* spice scale → muted teal-green ramp */
  --saffron-700: #1C5247;
  --saffron-600: #229484;
  --saffron-500: #229484;
  --saffron-400: #5AA99A;
  --saffron-200: #C4E1DA;

  /* semantic */
  --bg:            #E8EEE2;
  --bg-contrast:   #19211C;
  --surface:       rgba(255, 255, 255, 0.4);
  --surface-card:  rgba(255, 255, 255, 0.42);
  --surface-raised:#FFFFFF;

  --text:          #1E2A22;
  --text-muted:    #516054;
  --text-soft:     #7E8C80;
  --text-on-dark:  #EEF3EA;
  --text-on-accent:#EAF4F0;

  --accent:        #229484;
  --accent-strong: #229484;
  --accent-soft:   rgba(34, 148, 132, 0.5);
  --accent-bg:     rgba(34, 148, 132, 0.14);

  --border:        rgba(255, 255, 255, 0.45);
  --border-strong: rgba(255, 255, 255, 0.6);
  --border-dark:   rgba(255, 255, 255, 0.2);

  --focus-ring:    #229484;

  /* brand accent (muted teal-green, blends with the sage backdrop) */
  --brand-teal:    #229484;
}

/* teal utility — nav ampersand, marquee dots, footer headings */
.u-teal { color: var(--brand-teal); }
.nav .brand__name { font-size: 44px; }
/* Full-bleed nav bar so brand hugs the left corner and links hug the right corner */
.nav .nav__inner { max-width: none; padding-inline: 40px; }
.nav .brand { margin-left: 0; }

/* --- Glassmorphism background: soft blurred organic gradient --- */
html { background: #E2EADF; }
body { background: transparent; }
body::before {
  content: "";
  position: fixed;
  inset: -15%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(55% 50% at 80% 12%, rgba(120, 170, 192, 0.55), transparent 62%),
    radial-gradient(60% 60% at 18% 28%, rgba(236, 240, 222, 0.9), transparent 66%),
    radial-gradient(66% 70% at 28% 90%, rgba(150, 192, 150, 0.62), transparent 68%),
    radial-gradient(72% 66% at 88% 82%, rgba(64, 128, 92, 0.55), transparent 66%),
    linear-gradient(150deg, #eef2e6 0%, #dfeae0 46%, #cfe0d6 100%);
  filter: blur(34px) saturate(1.12);
}

/* --- Shared liquid-glass recipe: neutral frosted, no colored glow --- */
.btn--primary, .btn--secondary, .btn--dark, .btn--ghost {
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  text-shadow: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 -1px 2px rgba(40, 60, 50, 0.06),
    0 8px 24px -10px rgba(40, 60, 50, 0.28);
}
.btn--primary:hover, .btn--secondary:hover, .btn--dark:hover, .btn--ghost:hover {
  filter: none;
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.32);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 12px 30px -12px rgba(40, 60, 50, 0.34);
}
.btn--primary:active, .btn--secondary:active, .btn--dark:active, .btn--ghost:active { transform: translateY(0) scale(0.985); }

/* --- Nav bar: neutral glass --- */
.nav {
  background: rgba(255, 255, 255, 0.32);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 4px 22px -14px rgba(40, 60, 50, 0.25);
}
.nav.is-scrolled { border-bottom-color: rgba(255, 255, 255, 0.6); box-shadow: 0 6px 26px -16px rgba(40, 60, 50, 0.30); }
.cart-btn:hover, .menu-toggle:hover { background: rgba(255, 255, 255, 0.4); }
.mobile-menu { background: rgba(255, 255, 255, 0.7); border-top-color: rgba(255, 255, 255, 0.5); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.mobile-menu a { border-bottom-color: rgba(40, 60, 50, 0.12); }

/* --- Product cards: neutral glass --- */
.card {
  background: rgba(255, 255, 255, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 10px 30px -16px rgba(40, 60, 50, 0.25);
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 20px 44px -18px rgba(40, 60, 50, 0.32);
}
.card__price { color: var(--accent-strong); }
.badge {
  background: rgba(34, 148, 132, 0.18);
  color: #1C5247;
  border: 1px solid rgba(34, 148, 132, 0.42);
}

/* --- Media placeholders: airy frosted --- */
.media-ph {
  background:
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(255, 255, 255, 0.12) 18px 36px),
    rgba(255, 255, 255, 0.22);
  border: 1.5px dashed rgba(255, 255, 255, 0.6);
}
.card__media .media-ph { border: none; border-bottom: 1px solid rgba(255, 255, 255, 0.5); }

/* --- Newsletter input: neutral glass --- */
.newsletter__form input {
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--text);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.newsletter__form input::placeholder { color: var(--text-soft); }
.newsletter__form input:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 3px rgba(34, 148, 132, 0.28);
}

/* --- Accent detail: camera focus-bracket reticle on hero media --- */
.hero__media { position: relative; }
.focus-bracket {
  position: absolute;
  width: 36px; height: 36px;
  border: 2px solid var(--accent);
  pointer-events: none;
  z-index: 3;
}
.fb--tl { top: 16px; left: 16px; border-right: none; border-bottom: none; }
.fb--tr { top: 16px; right: 16px; border-left: none; border-bottom: none; }
.fb--bl { bottom: 16px; left: 16px; border-right: none; border-top: none; }
.fb--br { bottom: 16px; right: 16px; border-left: none; border-top: none; }

/* ---------- Founder & Visit sections (liquid-glass) ---------- */
.glass-panel {
  background: rgba(255, 255, 255, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  border-radius: var(--radius-xl);
  box-shadow:
    inset 0 0 26px rgba(34, 148, 132, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 12px 34px -18px rgba(40, 60, 50, 0.28);
}

/* Meet the Founder */
.founder__card { display: grid; grid-template-columns: 1fr; overflow: hidden; }
.founder__media { position: relative; min-height: 300px; overflow: hidden; }
.founder__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.founder__media.media-ph { border: none; border-radius: 0; }
.founder__copy { padding: clamp(24px, 4vw, 48px); display: grid; gap: 16px; align-content: center; }
.founder__copy p { color: var(--text-muted); line-height: var(--leading-relaxed); }
.founder__sign { color: var(--text); font-family: var(--font-body); font-style: normal; font-size: 1.05rem; font-weight: 600; letter-spacing: 0.04em; }

/* Visit Us */
.visit__grid { display: grid; gap: clamp(18px, 2.5vw, 28px); grid-template-columns: 1fr; }
.map-card {
  position: relative; min-height: 400px; overflow: hidden;
  border-radius: var(--radius-xl); border: 1px solid var(--border);
  box-shadow: var(--shadow-md); background: var(--surface-raised);
}
.loc-visual {
  position: absolute; inset: 0; z-index: 0;
  display: grid; place-content: center; justify-items: center; gap: 6px;
  text-align: center; padding: 28px;
  background:
    radial-gradient(58% 58% at 50% 40%, rgba(34, 148, 132, 0.16), transparent 70%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.42), rgba(214, 232, 219, 0.55));
}
.loc-visual__ping {
  display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%;
  background: #229484; color: #fff; margin-bottom: 12px;
  box-shadow: 0 0 0 10px rgba(34, 148, 132, 0.16), 0 0 0 22px rgba(34, 148, 132, 0.08), 0 14px 32px -10px rgba(40, 60, 50, 0.42);
}
.loc-visual__ping i { width: 34px; height: 34px; }
.loc-visual__area { font-family: var(--font-display); font-size: 1.95rem; font-weight: 600; color: var(--text); line-height: 1.1; }
.loc-visual__city { color: var(--text-muted); font-size: var(--text-sm); letter-spacing: 0.01em; }
.visit__map {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; min-height: 400px; border: 0; display: block;
  object-fit: cover; filter: saturate(1.02);
  background: #eef2ec;
}
.leaflet-container { background: #eef2ec; font-family: var(--font-body); }
.leaflet-control-attribution {
  background: rgba(255, 255, 255, 0.6) !important;
  color: var(--text-soft) !important;
  font-size: 10px !important; padding: 1px 6px !important;
  border-radius: var(--radius-pill); backdrop-filter: blur(6px);
}
.leaflet-control-attribution a { color: var(--text-muted) !important; }
.map-overlay { z-index: 500; }
.loc-marker__dot {
  display: block; width: 22px; height: 22px; border-radius: 50%;
  background: #229484; border: 3px solid #fff;
  box-shadow: 0 3px 10px rgba(30, 45, 35, 0.5);
}
/* branded overlay — pill + directions, map stays draggable underneath */
.map-overlay {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 16px;
}
.map-pill {
  align-self: flex-start; pointer-events: auto;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.8); box-shadow: var(--shadow-sm);
  font-size: var(--text-sm); font-weight: 600; color: var(--text);
}
.map-pill i { width: 16px; height: 16px; color: var(--accent); }
.map-dir {
  align-self: flex-end; pointer-events: auto;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 18px; border-radius: var(--radius-pill);
  background: var(--pepper-900); color: var(--cream-50);
  font-size: var(--text-sm); font-weight: 600; text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-fast) var(--ease-out), filter var(--dur-fast) var(--ease-out);
}
.map-dir:hover { transform: translateY(-2px); filter: brightness(1.1); }
.map-dir i { width: 16px; height: 16px; }
.visit__info { padding: clamp(24px, 4vw, 40px); display: grid; gap: 16px; align-content: center; }
.visit__info h3 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; }
.visit__about { color: var(--text-muted); }
.visit__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.visit__list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-size: var(--text-sm); line-height: var(--leading-snug); }
.visit__list i { width: 20px; height: 20px; color: var(--accent-strong); flex: none; margin-top: 1px; }
.visit__list a { color: var(--text); border-bottom: 1px solid var(--accent-soft); transition: color var(--dur-fast) var(--ease-out); }
.visit__list a:hover { color: var(--accent-strong); }

@media (min-width: 820px) {
  .founder__card { grid-template-columns: 0.6fr 1.4fr; }
  .visit__grid { grid-template-columns: 1.5fr 1fr; align-items: stretch; }
}

/* ============================================================
   PHONE REFINEMENT — tighten spacing & scale for small screens.
   (Laptop / tablet layout above is unchanged.)
   ============================================================ */
@media (max-width: 600px) {
  /* Hide the quote CTA in the compact nav; keep the menu toggle */
  .nav__quote { display: none; }

  /* Calmer vertical rhythm */
  .section { padding-block: 48px; }
  .hero { padding-block: 24px 36px; gap: 26px; }
  .section__head { margin-bottom: 26px; gap: 12px; }

  /* Typography dialed down so headlines don't dominate */
  .hero__title { font-size: clamp(2.1rem, 11vw, 2.7rem); margin-bottom: 16px; line-height: 1.08; }
  .hero__lead { font-size: 1rem; max-width: 38ch; }
  .section__title { font-size: clamp(1.6rem, 7.5vw, 2rem); }
  .section__intro { font-size: 1rem; }

  /* Hero image: shorter so copy + photo both read above the fold */
  .hero__media { aspect-ratio: 4 / 3; }
  .hero__actions { gap: 10px; margin-top: 24px; }

  /* Buttons full-comfortable but not oversized */
  .hero__actions .btn { padding: 13px 20px; }

  /* Products: single column, tighter */
  .grid { gap: 18px; }
  .card__media { aspect-ratio: 1 / 1; }

  /* Imported row: swipeable slider on phones */
  .grid--slide {
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .grid--slide::-webkit-scrollbar { display: none; }
  .grid--slide > .card { scroll-snap-align: start; }

  /* Founder card: image first, sensible height, snug copy */
  .founder__media { min-height: 300px; aspect-ratio: 1 / 1; }
  .founder__copy { padding: 24px 22px 28px; gap: 12px; }
  .founder__sign { font-size: 1.4rem; }

  /* Visit: map + info stack with comfortable heights */
  .visit__grid { gap: 16px; }
  .map-card, .visit__map { min-height: 300px; }
  .visit__info { padding: 24px 22px; }
  .visit__info h3 { font-size: 1.4rem; }

  /* Story image not too tall on phones */
  .story__media { aspect-ratio: 4 / 3; }

  /* Marquee a touch smaller */
  .strip { font-size: 0.85rem; }
}

/* ============================================================
   PREMIUM MOTION LAYER
   Ambient background drift, glass-sheen buttons, image parallax-zoom,
   pulsing location marker, refined reveals. All looping motion is
   gated behind prefers-reduced-motion: no-preference.
   ============================================================ */

/* Glass sheen sweep across buttons on hover */
.btn { position: relative; overflow: hidden; }
.btn > * { position: relative; z-index: 1; }
.btn::after {
  content: ""; position: absolute; top: 0; left: -130%;
  width: 55%; height: 100%; z-index: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-18deg);
  transition: left 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.btn:hover::after { left: 145%; }

/* Product & imported card imagery: slow zoom + brighten on hover */
.card__photo img { transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.7s var(--ease-out); }
.card:hover .card__photo img { transform: scale(1.055); filter: saturate(1.06); }

/* Founder portrait: gentle zoom to match */
.founder__media img { transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1); }
.founder__card:hover .founder__media img { transform: scale(1.04); }

/* Value tiles: lift + accent the icon on hover */
.value__icon { transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out); }
.value:hover .value__icon { transform: translateY(-3px); color: var(--accent-strong); box-shadow: var(--shadow-md); }

/* Nav wordmark: a whisper of scale on hover */
.brand { transition: transform var(--dur-fast) var(--ease-out); }
.brand:hover { transform: translateY(-1px); }

/* Reveal — add a soft blur that resolves as content settles in */
.reveal { filter: blur(6px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out), filter var(--dur-slow) var(--ease-out); }
.reveal.is-in { filter: blur(0); }

@media (prefers-reduced-motion: no-preference) {
  /* Ambient: the blurred gradient breathes slowly behind everything */
  body::before {
    animation: bgDrift 26s ease-in-out infinite alternate;
    will-change: transform;
  }
  @keyframes bgDrift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(-2.5%, 1.8%, 0) scale(1.07); }
  }

  /* Location marker: concentric pulse rings */
  .loc-marker__dot::before,
  .loc-marker__dot::after {
    content: ""; position: absolute; inset: -4px;
    border-radius: 50%; border: 2px solid var(--accent-strong);
    animation: locPulse 2.6s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
    pointer-events: none;
  }
  .loc-marker__dot::after { animation-delay: 1.3s; }
  @keyframes locPulse {
    0%   { transform: scale(0.7); opacity: 0.85; }
    100% { transform: scale(2.6); opacity: 0; }
  }

  /* Fallback panel ping: same soft pulse */
  .loc-visual__ping { animation: pingBreath 3.4s ease-in-out infinite; }
  @keyframes pingBreath {
    0%, 100% { box-shadow: 0 0 0 10px rgba(34, 148, 132, 0.16), 0 0 0 22px rgba(34, 148, 132, 0.08), 0 14px 32px -10px rgba(40, 60, 50, 0.42); }
    50%      { box-shadow: 0 0 0 14px rgba(34, 148, 132, 0.20), 0 0 0 30px rgba(34, 148, 132, 0.05), 0 14px 32px -10px rgba(40, 60, 50, 0.42); }
  }
}
.loc-marker__dot { position: relative; }

/* ---- More premium motion ---- */

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 60;
  background: linear-gradient(90deg, var(--accent-strong), var(--accent));
  box-shadow: 0 0 10px rgba(34, 148, 132, 0.5);
  transition: width 0.1s linear;
}

/* Trailing arrows glide on hover */
.btn svg, .map-dir svg { transition: transform var(--dur-fast) var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.map-dir:hover svg { transform: translate(3px, -3px); }

/* Nav condenses as you scroll */
.nav__inner { transition: height var(--dur-base) var(--ease-out); }
.nav.is-scrolled .nav__inner { height: 60px; }

/* Marquee rests when hovered */
.strip:hover .strip__track { animation-play-state: paused; }

/* Section eyebrows slide their accent line in on reveal */
.eyebrow { position: relative; }

@media (prefers-reduced-motion: no-preference) {
  /* Hero accent word: slow light-sweep shimmer */
  .hero__title em {
    background: linear-gradient(100deg, var(--brand-teal) 0%, #57C9B8 45%, var(--brand-teal) 90%);
    background-size: 220% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: emShimmer 6.5s ease-in-out infinite;
  }
  @keyframes emShimmer {
    0%, 100% { background-position: 0% 0; }
    50%      { background-position: 100% 0; }
  }

  /* Card price ticks up subtly when its card is hovered */
  .card__price { transition: transform var(--dur-base) var(--ease-out); }
  .card:hover .card__price { transform: translateY(-1px); }
}
