/* ==========================================================================
   ORVION — World's Finest Harvest
   Design system: pitch black stage, gold light, olive accent
   ========================================================================== */

:root {
  --black: #030303;
  --ink: #090807;
  --ink-2: #100e0b;
  --line: rgba(232, 205, 152, 0.14);
  --line-2: rgba(232, 205, 152, 0.28);
  --ivory: #efe7d8;
  --ivory-dim: rgba(239, 231, 216, 0.62);
  --ivory-mute: rgba(239, 231, 216, 0.38);
  --gold-deep: #6f4418;
  --gold-1: #8a5a26;
  --gold-2: #c69553;
  --gold-3: #ecc98c;
  --gold-4: #fbe7bf;
  --olive: #4b5a2f;
  --olive-lt: #9aab6a;
  --gold-grad: linear-gradient(115deg, #7a4c1c 0%, #b07a3e 26%, #f1d39a 48%, #c08a4a 66%, #6f4418 100%);
  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.7, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(20px, 4vw, 64px);
  --maxw: 1440px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--black); overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--gold-2); color: var(--black); }

/* Grain overlay for filmic depth */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* Vignette */
.vignette {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(ellipse at 50% 45%, transparent 40%, rgba(0,0,0,0.75) 100%);
}

/* ---------- Typography ---------- */
.display, h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; margin: 0; line-height: 0.98; }
.display-xxl { font-size: clamp(64px, 13vw, 230px); line-height: 0.86; letter-spacing: -0.025em; }
.display-xl { font-size: clamp(52px, 9vw, 150px); line-height: 0.9; letter-spacing: -0.02em; }
.display-l { font-size: clamp(42px, 6.2vw, 104px); }
.display-m { font-size: clamp(34px, 4.2vw, 68px); line-height: 1.04; }
.display-s { font-size: clamp(26px, 2.6vw, 40px); line-height: 1.12; }
.italic, em { font-style: italic; }
.gold-text {
  background: var(--gold-grad); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 8s ease-in-out infinite;
}
@keyframes sheen { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.eyebrow {
  font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold-3); display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold-2); opacity: 0.7; }
.eyebrow.no-line::before { display: none; }
.lead { font-size: clamp(17px, 1.35vw, 21px); line-height: 1.6; color: var(--ivory-dim); max-width: 34em; font-weight: 300; }
.body-copy { color: var(--ivory-dim); font-weight: 300; max-width: 36em; }
.small { font-size: 13px; color: var(--ivory-mute); letter-spacing: 0.02em; }
.latin { font-family: var(--serif); font-style: italic; color: var(--gold-3); font-size: 20px; letter-spacing: 0.01em; }

/* Initial cover so nothing flashes before the intro runs (auto-clears if JS fails) */
body::before { content: ""; position: fixed; inset: 0; z-index: 260; background: var(--black); pointer-events: none; transition: opacity 0.5s; animation: cover-out 0.6s 5s forwards; }
body.is-ready::before { opacity: 0; }
@keyframes cover-out { to { opacity: 0; } }

/* Rendered product stills */
img[data-nut] { opacity: 0; transition: opacity 1.4s var(--ease-out); }
img[data-nut].is-ready { opacity: 1; }
.menu-preview img[data-nut]:not(.is-on) { opacity: 0; }

.emblem { width: 100%; height: 100%; }
.w-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }

/* Split text */
.split-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split-word { display: inline-block; will-change: transform; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.section { position: relative; z-index: 3; padding: clamp(100px, 16vh, 200px) 0; }
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 32px); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; transform-origin: left; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px var(--gutter);
  transition: transform 0.6s var(--ease-out), background 0.5s, padding 0.5s;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.5s;
  background: linear-gradient(to bottom, rgba(3,3,3,0.92), rgba(3,3,3,0.55) 70%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.site-header.is-scrolled { padding-top: 16px; padding-bottom: 16px; }
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-110%); }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-emblem { width: 34px; height: 38px; filter: drop-shadow(0 0 14px rgba(236, 201, 140, 0.35)); }
.brand-word { font-family: var(--serif); font-size: 25px; font-weight: 500; letter-spacing: 0.2em; line-height: 1; }
.brand-tag { display: block; font-family: var(--sans); font-size: 7.5px; letter-spacing: 0.42em; color: var(--gold-3); margin-top: 5px; font-weight: 600; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.nav-links { display: flex; gap: clamp(18px, 2.2vw, 36px); }
.nav-link {
  position: relative; font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ivory-dim);
  transition: color 0.3s; padding: 6px 0;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-3);
  transform: scaleX(0); transform-origin: right; transition: transform 0.6s var(--ease-out);
}
.nav-link:hover, .nav-link.is-active { color: var(--ivory); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }

.menu-btn { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; }
.menu-btn .bars { width: 30px; height: 10px; position: relative; }
.menu-btn .bars span { position: absolute; left: 0; right: 0; height: 1px; background: var(--ivory); transition: transform 0.6s var(--ease-out), top 0.6s var(--ease-out), width 0.6s var(--ease-out); }
.menu-btn .bars span:nth-child(1) { top: 0; }
.menu-btn .bars span:nth-child(2) { top: 9px; width: 60%; left: auto; right: 0; }
.menu-btn:hover .bars span:nth-child(2) { width: 100%; }
body.menu-open .menu-btn .bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
body.menu-open .menu-btn .bars span:nth-child(2) { top: 5px; width: 100%; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 16px; overflow: hidden;
  padding: 19px 34px; border-radius: 100px; border: 1px solid var(--line-2);
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ivory);
  isolation: isolate; transition: color 0.6s var(--ease-out), border-color 0.6s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold-grad); background-size: 160% 100%;
  transform: translateY(101%); border-radius: inherit; transition: transform 0.7s var(--ease-out);
}
.btn:hover { color: var(--black); border-color: transparent; }
.btn:hover::before { transform: translateY(0); }
.btn .arrow { width: 18px; height: 10px; transition: transform 0.6s var(--ease-out); }
.btn:hover .arrow { transform: translateX(5px); }
.btn-solid { background: var(--gold-grad); background-size: 160% 100%; color: var(--black); border-color: transparent; box-shadow: 0 10px 50px -10px rgba(236, 201, 140, 0.45); }
.btn-solid::before { background: var(--ivory); }
.btn-ghost-sm { padding: 13px 22px; font-size: 11px; }

.link-line { position: relative; display: inline-flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; color: var(--gold-3); padding-bottom: 6px; }
.link-line::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform 0.7s var(--ease-out); }
.link-line:hover::after { transform: scaleX(0); }

/* ---------- Fullscreen menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 55; display: grid; grid-template-columns: 1.1fr 0.9fr;
  background: #050505; clip-path: inset(0 0 100% 0); visibility: hidden;
}
.menu-list { padding: 140px var(--gutter) 60px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.menu-item { display: flex; align-items: baseline; gap: 22px; overflow: hidden; }
.menu-item .num { font-size: 12px; color: var(--gold-2); letter-spacing: 0.15em; width: 28px; }
.menu-item a { font-family: var(--serif); font-size: clamp(40px, 6vw, 92px); line-height: 1.06; color: var(--ivory-dim); transition: color 0.4s, transform 0.6s var(--ease-out); display: inline-block; }
.menu-item a:hover { color: var(--ivory); transform: translateX(14px); font-style: italic; }
.menu-side { position: relative; border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; padding: 60px var(--gutter); overflow: hidden; }
.menu-preview { position: absolute; inset: 0; display: grid; place-items: center; }
.menu-preview img { width: 70%; max-width: 460px; opacity: 0; transform: scale(0.9) rotate(-6deg); transition: opacity 0.6s, transform 1s var(--ease-out); position: absolute; }
.menu-preview img.is-on { opacity: 1; transform: scale(1) rotate(0); }
.menu-preview::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(236,201,140,0.22), transparent 65%); }
.menu-meta { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; font-size: 14px; color: var(--ivory-dim); }
.menu-meta h4 { margin: 0 0 8px; font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold-3); font-weight: 600; }

/* ---------- Preloader & transitions ---------- */
.preloader { position: fixed; inset: 0; z-index: 200; background: var(--black); display: grid; place-items: center; }
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.preloader svg.emblem { width: 120px; height: 134px; }
.preloader .pl-word { font-family: var(--serif); font-size: 30px; letter-spacing: 0.5em; padding-left: 0.5em; overflow: hidden; }
.preloader .pl-word span { display: inline-block; }
.preloader .pl-count { position: absolute; bottom: 40px; right: var(--gutter); font-family: var(--serif); font-size: clamp(60px, 9vw, 140px); line-height: 1; color: var(--ivory-mute); }
.preloader .pl-tag { position: absolute; bottom: 52px; left: var(--gutter); font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-3); }
.preloader .pl-bar { width: 220px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.preloader .pl-bar i { position: absolute; inset: 0; background: var(--gold-grad); transform-origin: left; transform: scaleX(0); }

.curtain { position: fixed; inset: 0; z-index: 150; pointer-events: none; display: grid; grid-template-columns: repeat(5, 1fr); }
.curtain span { background: #070605; transform: scaleY(0); transform-origin: bottom; border-right: 1px solid rgba(236,201,140,0.06); }
.curtain .curtain-mark { position: fixed; inset: 0; display: grid; place-items: center; opacity: 0; }
.curtain .curtain-mark svg { width: 64px; height: 72px; }

/* ---------- Cursor ---------- */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 300; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor { width: 42px; height: 42px; border: 1px solid rgba(236, 201, 140, 0.55); display: grid; place-items: center; transition: width 0.45s var(--ease-out), height 0.45s var(--ease-out), background 0.45s, border-color 0.45s; }
.cursor-dot { width: 5px; height: 5px; background: var(--gold-3); }
.cursor .cursor-label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; color: var(--black); opacity: 0; transition: opacity 0.3s; }
.cursor.is-hover { width: 70px; height: 70px; background: rgba(236, 201, 140, 0.08); border-color: rgba(236, 201, 140, 0.9); }
.cursor.is-label { width: 96px; height: 96px; background: var(--gold-3); border-color: transparent; }
.cursor.is-label .cursor-label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

/* ---------- WebGL stage ---------- */
.stage-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 1; pointer-events: none; }
.stage-fallback { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(circle at 65% 45%, rgba(236,201,140,0.16), transparent 45%); }

/* ---------- Photo stage: real product photography under spotlights ---------- */
.photo-stage { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.ps-item { position: absolute; left: 0; top: 0; width: min(44vw, 660px); aspect-ratio: 1; opacity: 0; will-change: transform, opacity; transform-style: preserve-3d; }
.ps-glow { position: absolute; inset: -18%; border-radius: 50%; background: radial-gradient(circle at 50% 46%, rgba(255,214,150,0.30), rgba(236,180,110,0.10) 34%, rgba(236,180,110,0.03) 52%, transparent 68%); }
.ps-img { position: relative; width: 100%; height: 100%; object-fit: contain; }
/* transparent HD cutouts: grounded with a soft shadow and a faint warm rim of light */
.ps-cut .ps-img { filter: drop-shadow(0 28px 34px rgba(0,0,0,0.75)) drop-shadow(0 0 22px rgba(236,190,120,0.18)) contrast(1.04) saturate(1.06); }
.ps-scene .ps-img { object-fit: cover; border-radius: 50%; filter: brightness(0.92) contrast(1.1) saturate(1.05);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 34%, rgba(0,0,0,0.6) 52%, transparent 70%); mask-image: radial-gradient(circle at 50% 50%, #000 34%, rgba(0,0,0,0.6) 52%, transparent 70%); }
.ps-sheen { position: absolute; inset: 0; mix-blend-mode: soft-light; background: linear-gradient(105deg, transparent 35%, rgba(255,240,210,0.55) 50%, transparent 65%); background-size: 260% 100%; animation: ps-sheen 7s ease-in-out infinite; -webkit-mask-image: radial-gradient(circle, #000 40%, transparent 70%); mask-image: radial-gradient(circle, #000 40%, transparent 70%); }
@keyframes ps-sheen { 0%, 100% { background-position: 120% 0; } 50% { background-position: -20% 0; } }
@media (max-width: 860px) {
  .ps-item { width: 72vw; }
  /* phones: the product sits in the top band of the hero; text starts below it */
  .hero[data-stage^="constellation"], .p-hero[data-stage^="focus"], .page-hero[data-stage^="constellation"] { padding-top: calc(48vh + 24px); min-height: auto; }
  .section[data-stage^="focus"] { padding-top: calc(50vh + 24px) !important; min-height: auto !important; }
  /* opaque backing under the text so the fixed product never shows through as it scrolls up */
  .hero[data-stage^="constellation"]::before, .p-hero[data-stage^="focus"]::before, .page-hero[data-stage^="constellation"]::before, .section[data-stage^="focus"]::before {
    background: linear-gradient(to bottom, rgba(3,3,3,0) 0, rgba(3,3,3,0) calc(46vh - 40px), rgba(3,3,3,0.97) calc(46vh + 10px));
  }
}

/* Product stills (cards, menu, next-product) */
img.nut-cut { object-fit: contain; filter: drop-shadow(0 24px 28px rgba(0,0,0,0.75)) drop-shadow(0 0 18px rgba(236,190,120,0.16)); }
img.nut-scene { object-fit: cover; aspect-ratio: 1; border-radius: 50%; -webkit-mask-image: radial-gradient(circle, #000 38%, transparent 70%); mask-image: radial-gradient(circle, #000 38%, transparent 70%); }
.p-card .p-img.nut-cut { width: 82%; }
.light-panel img.lp-photo { left: 0; top: 0; width: 100%; height: 100%; transform: none; object-fit: cover; filter: brightness(0.8) contrast(1.1); transition: transform 1.6s var(--ease-out); }
.light-panel:hover img.lp-photo { transform: scale(1.04); }
.light-panel::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, transparent 30%, rgba(3,3,3,0.75) 85%); pointer-events: none; }
.light-panel .lp-cap { z-index: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; z-index: 3; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 140px 0 60px; }
.hero-title { max-width: 10ch; font-size: clamp(54px, 8.4vw, 150px); }
@media (min-width: 861px) { .hero .lead { max-width: 30em; } .hero-bottom { max-width: 52%; } .hero-bottom { flex-direction: column; align-items: flex-start; } }
.hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 48px; flex-wrap: wrap; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.scroll-cue { display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ivory-mute); }
.scroll-cue .line { width: 1px; height: 54px; background: var(--line); position: relative; overflow: hidden; }
.scroll-cue .line::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--gold-3); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }

.hero-meta { position: absolute; top: 140px; right: var(--gutter); text-align: right; display: flex; flex-direction: column; gap: 6px; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ivory-mute); z-index: 3; }
.hero-meta b { color: var(--gold-3); font-weight: 600; }

/* ---------- Manifesto (scroll fill) ---------- */
.manifesto p { font-family: var(--serif); font-size: clamp(32px, 4.6vw, 76px); line-height: 1.12; margin: 0; max-width: 18ch; }
.manifesto .fill-word { color: rgba(239, 231, 216, 0.12); transition: color 0.2s; }
.manifesto .fill-word.is-lit { color: var(--ivory); }
.manifesto .fill-word.gold.is-lit { color: var(--gold-3); font-style: italic; }

/* ---------- Product chapters (home) ---------- */
.chapter { position: relative; z-index: 3; min-height: 130vh; display: flex; align-items: center; }
.chapter-inner { width: min(46%, 620px); }
.chapter.is-right .chapter-inner { margin-left: auto; }
.chapter .idx { font-family: var(--serif); font-size: 15px; color: var(--gold-2); letter-spacing: 0.1em; display: flex; align-items: center; gap: 16px; margin-bottom: 30px; }
.chapter .idx::after { content: ""; width: 80px; height: 1px; background: var(--line-2); }
.chapter h2 { margin: 10px 0 24px; }
.chapter .specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 44px 0 44px; border-top: 1px solid var(--line); }
.chapter .specs div { padding: 20px 18px 0 0; }
.chapter .specs dt { font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ivory-mute); margin-bottom: 8px; }
.chapter .specs dd { margin: 0; font-family: var(--serif); font-size: 22px; line-height: 1.2; }
.chapter-light { position: absolute; right: 8%; top: 50%; width: 46vw; aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; z-index: -1; }

/* ---------- Marquee ---------- */
.marquee { position: relative; z-index: 3; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; white-space: nowrap; background: rgba(3,3,3,0.5); }
.marquee-track { display: inline-flex; gap: 60px; will-change: transform; }
.marquee-track span { font-family: var(--serif); font-size: clamp(40px, 6vw, 96px); line-height: 1; display: inline-flex; align-items: center; gap: 60px; color: var(--ivory); }
.marquee-track span i { font-style: italic; color: transparent; -webkit-text-stroke: 1px rgba(236,201,140,0.6); }
.marquee-track .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--gold-grad); box-shadow: 0 0 22px var(--gold-2); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 40px 24px 0 0; border-right: 1px solid var(--line); padding-left: 24px; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--serif); font-size: clamp(56px, 7vw, 116px); line-height: 1; display: flex; align-items: flex-start; }
.stat .num sup { font-size: 0.36em; color: var(--gold-3); margin-left: 4px; margin-top: 0.3em; }
.stat p { margin: 14px 0 0; font-size: 13px; letter-spacing: 0.06em; color: var(--ivory-dim); max-width: 18em; }

/* ---------- Horizontal process ---------- */
.hscroll { position: relative; z-index: 3; overflow: hidden; }
.hscroll-track { display: flex; gap: 3vw; padding: 0 var(--gutter); width: max-content; height: 100vh; align-items: center; will-change: transform; }
.hscroll-intro { width: min(36vw, 520px); flex-shrink: 0; padding-right: 4vw; }
.step-card {
  position: relative; flex-shrink: 0; width: min(30vw, 440px); height: min(66vh, 600px); border: 1px solid var(--line);
  border-radius: 4px; padding: 40px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
  background: linear-gradient(160deg, rgba(20,17,13,0.85), rgba(6,6,5,0.9));
}
.step-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(236,201,140,0.13), transparent 40%); opacity: 0; transition: opacity 0.5s; }
.step-card:hover::before { opacity: 1; }
.step-card .step-n { font-family: var(--serif); font-size: 130px; line-height: 0.8; color: transparent; -webkit-text-stroke: 1px rgba(236,201,140,0.35); }
.step-card h3 { font-size: 40px; margin-bottom: 14px; }
.step-card p { color: var(--ivory-dim); font-weight: 300; margin: 0; font-size: 15px; }
.step-card .step-icon { width: 54px; height: 54px; color: var(--gold-3); }

/* ---------- Spotlight cards ---------- */
.spot {
  position: relative; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, rgba(16,14,11,0.9), rgba(5,5,4,0.95));
  transition: border-color 0.6s, transform 0.8s var(--ease-out);
}
.spot::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(236,201,140,0.14), transparent 45%); opacity: 0; transition: opacity 0.5s; }
.spot:hover { border-color: var(--line-2); }
.spot:hover::before { opacity: 1; }

.serve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.serve-grid .spot { border: 0; border-radius: 0; padding: 44px 38px 50px; min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; }
.serve-grid .spot h3 { font-size: 32px; margin-bottom: 12px; }
.serve-grid .spot p { color: var(--ivory-dim); font-weight: 300; margin: 0; font-size: 15px; }
.serve-grid .spot .n { font-size: 11px; letter-spacing: 0.25em; color: var(--gold-2); }

/* ---------- Product cards (collection) ---------- */
.collection-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 28px); }
.p-card { display: block; padding: 40px; min-height: 640px; position: relative; }
.p-card .p-light { position: absolute; left: 50%; top: 44%; width: 80%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(236,201,140,0.28), rgba(236,201,140,0.06) 40%, transparent 68%); transition: transform 1s var(--ease-out), opacity 1s; opacity: 0.7; }
.p-card:hover .p-light { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
.p-card .p-img { position: absolute; left: 50%; top: 44%; width: 70%; transform: translate(-50%, -50%); transition: transform 1.2s var(--ease-out); filter: drop-shadow(0 40px 50px rgba(0,0,0,0.9)); }
.p-card:hover .p-img { transform: translate(-50%, -52%) scale(1.06) rotate(-3deg); }
.p-card .p-top { position: relative; display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--ivory-mute); }
.p-card .p-bottom { position: absolute; left: 40px; right: 40px; bottom: 40px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.p-card h3 { font-size: clamp(40px, 4.4vw, 70px); }
.p-card .p-go { width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background 0.5s, transform 0.6s var(--ease-out); flex-shrink: 0; }
.p-card:hover .p-go { background: var(--gold-3); color: var(--black); transform: rotate(-45deg); }

/* ---------- Product page ---------- */
.p-hero { position: relative; z-index: 3; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: 140px 0 70px; }
.p-hero .crumb { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ivory-mute); margin-bottom: 26px; display: flex; gap: 12px; }
.p-hero .crumb a { padding: 12px 0; margin: -12px 0; }
.p-hero .crumb a:hover { color: var(--gold-3); }
.p-hero-grid { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
.p-hero-facts { display: grid; gap: 18px; min-width: 240px; padding-left: 30px; border-left: 1px solid var(--line); }
.p-hero-facts dt { font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ivory-mute); }
.p-hero-facts dd { margin: 4px 0 0; font-family: var(--serif); font-size: 22px; }

.split-2 { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(30px, 6vw, 120px); align-items: start; }
.split-2.right-copy { grid-template-columns: 1fr 1fr; }
.sticky-col { position: sticky; top: 140px; }

.notes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 60px; }
.note { padding: 34px 28px 40px; min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; }
.note .note-k { font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold-3); }
.note .note-v { font-family: var(--serif); font-size: 28px; line-height: 1.15; }
.note .meter { height: 2px; background: var(--line); margin-top: 22px; position: relative; overflow: hidden; }
.note .meter i { position: absolute; inset: 0; background: var(--gold-grad); transform-origin: left; transform: scaleX(var(--v, 0.5)); }

.grade-table { width: 100%; border-collapse: collapse; }
.grade-table th { text-align: left; font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ivory-mute); font-weight: 600; padding: 0 16px 18px 0; border-bottom: 1px solid var(--line-2); }
.grade-table td { padding: 24px 16px 24px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ivory-dim); font-weight: 300; font-size: 15px; }
.grade-table td:first-child { font-family: var(--serif); font-size: 26px; color: var(--ivory); white-space: nowrap; }
.grade-table tr { transition: background 0.4s; }
.grade-table tbody tr:hover { background: linear-gradient(90deg, rgba(236,201,140,0.07), transparent); }
.grade-table .tag { display: inline-block; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; padding: 5px 10px; border: 1px solid var(--line-2); border-radius: 100px; color: var(--gold-3); }

.origins-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.origin-row { display: grid; grid-template-columns: 60px 1fr auto; gap: 20px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); transition: padding 0.6s var(--ease-out); }
.origin-row:hover { padding-left: 14px; }
.origin-row .o-n { font-family: var(--serif); color: var(--gold-2); font-size: 18px; }
.origin-row h4 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 44px); line-height: 1.1; }
.origin-row p { margin: 4px 0 0; color: var(--ivory-mute); font-size: 14px; }
.origin-row .coord { font-size: 11px; letter-spacing: 0.2em; color: var(--ivory-mute); text-align: right; }

.nutri { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.nutri .ring { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.nutri .ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.nutri .ring circle { fill: none; stroke-width: 1.2; }
.nutri .ring .bg { stroke: var(--line); }
.nutri .ring .fg { stroke: url(#goldStroke); stroke-linecap: round; }
.nutri .ring .val { font-family: var(--serif); font-size: clamp(34px, 3.4vw, 54px); line-height: 1; text-align: center; }
.nutri .ring .val small { display: block; font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ivory-mute); margin-top: 10px; }

.next-product { position: relative; z-index: 3; display: block; padding: clamp(100px, 18vh, 200px) 0; border-top: 1px solid var(--line); overflow: hidden; text-align: center; }
.next-product .np-k { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-3); }
.next-product .np-title { font-family: var(--serif); font-size: clamp(60px, 12vw, 210px); line-height: 0.95; margin-top: 20px; transition: letter-spacing 1s var(--ease-out), color 0.6s; }
.next-product:hover .np-title { letter-spacing: 0.02em; color: var(--gold-3); font-style: italic; }
.next-product img { position: absolute; left: 50%; top: 50%; width: 360px; transform: translate(-50%, -50%) scale(0.6); opacity: 0; transition: opacity 0.8s, transform 1.2s var(--ease-out); pointer-events: none; z-index: -1; }
.next-product:hover img { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }

/* ---------- Globe ---------- */
.globe-wrap { position: relative; width: min(92vw, 860px); aspect-ratio: 1; margin: 0 auto; }
.globe-wrap canvas { width: 100%; height: 100%; cursor: grab; }
.globe-wrap canvas:active { cursor: grabbing; }
.globe-wrap::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, rgba(236,201,140,0.10), transparent 60%); box-shadow: 0 0 140px rgba(236,201,140,0.07); pointer-events: none; }
.globe-layout { display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: center; }
.origin-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0; }
.chip { padding: 10px 18px; border-radius: 100px; border: 1px solid var(--line-2); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ivory-dim); transition: all 0.4s; display: inline-flex; align-items: center; gap: 10px; }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip:hover, .chip.is-active { color: var(--black); background: var(--gold-3); border-color: var(--gold-3); }
.origin-points { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); max-height: 46vh; overflow: auto; }
.origin-points li button { width: 100%; display: flex; justify-content: space-between; align-items: center; text-align: left; padding: 16px 4px; border-bottom: 1px solid var(--line); transition: color 0.3s, padding 0.5s var(--ease-out); color: var(--ivory-dim); }
.origin-points li button:hover, .origin-points li button.is-active { color: var(--ivory); padding-left: 12px; }
.origin-points li .op-name { font-family: var(--serif); font-size: 22px; }
.origin-points li .op-kind { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-2); }
.globe-tip { position: absolute; pointer-events: none; padding: 12px 16px; background: rgba(5,5,5,0.92); border: 1px solid var(--line-2); border-radius: 3px; font-size: 13px; opacity: 0; transform: translate(-50%, calc(-100% - 16px)); transition: opacity 0.3s; white-space: nowrap; }
.globe-tip b { display: block; font-family: var(--serif); font-size: 20px; font-weight: 400; }

/* ---------- Timeline (about / quality) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.pillar { padding: 46px 36px; min-height: 380px; display: flex; flex-direction: column; justify-content: space-between; }
.pillar .p-icon { width: 60px; height: 60px; color: var(--gold-3); }
.pillar h3 { font-size: 36px; margin: 30px 0 14px; }
.pillar p { color: var(--ivory-dim); font-weight: 300; margin: 0; font-size: 15px; }

.process-v { position: relative; }
.process-v .pv-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line); }
.process-v .pv-line i { position: absolute; inset: 0; background: linear-gradient(to bottom, var(--gold-3), var(--gold-1)); transform-origin: top; transform: scaleY(0); box-shadow: 0 0 20px var(--gold-2); }
.pv-step { display: grid; grid-template-columns: 1fr 120px 1fr; align-items: center; padding: 60px 0; }
.pv-step .pv-dot { width: 15px; height: 15px; margin: 0 auto; border-radius: 50%; border: 1px solid var(--gold-2); background: var(--black); position: relative; z-index: 1; transition: background 0.4s, box-shadow 0.4s; }
.pv-step.is-on .pv-dot { background: var(--gold-3); box-shadow: 0 0 0 8px rgba(236,201,140,0.12), 0 0 30px var(--gold-2); }
.pv-step .pv-body h3 { font-size: clamp(32px, 3.4vw, 52px); margin-bottom: 14px; }
.pv-step .pv-body p { color: var(--ivory-dim); font-weight: 300; margin: 0; max-width: 30em; }
.pv-step .pv-k { font-family: var(--serif); font-size: clamp(70px, 9vw, 150px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(236,201,140,0.32); }
.pv-step:nth-child(odd) .pv-k { text-align: right; order: 1; }
.pv-step:nth-child(odd) .pv-dot { order: 2; }
.pv-step:nth-child(odd) .pv-body { order: 3; }
.pv-step:nth-child(even) .pv-body { text-align: right; order: 1; }
.pv-step:nth-child(even) .pv-body p { margin-left: auto; }
.pv-step:nth-child(even) .pv-dot { order: 2; }
.pv-step:nth-child(even) .pv-k { order: 3; }

/* ---------- Quote / big statement ---------- */
.statement { text-align: center; }
.statement blockquote { margin: 0 auto; font-family: var(--serif); font-size: clamp(34px, 4.6vw, 78px); line-height: 1.1; max-width: 20ch; }
.statement cite { display: block; margin-top: 36px; font-style: normal; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-3); }

/* ---------- Image-like light panels ---------- */
.light-panel { position: relative; aspect-ratio: 4/5; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(ellipse at 50% 38%, rgba(236,201,140,0.2), transparent 55%), #050505; }
.light-panel img { position: absolute; left: 50%; top: 46%; width: 86%; transform: translate(-50%, -50%); filter: drop-shadow(0 50px 60px rgba(0,0,0,0.9)); }
.light-panel .lp-cap { position: absolute; left: 24px; bottom: 22px; right: 24px; display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ivory-mute); }
.light-panel .beam { position: absolute; left: 50%; top: -20%; width: 70%; height: 80%; transform: translateX(-50%); background: conic-gradient(from 180deg at 50% 0%, transparent 160deg, rgba(251,231,191,0.13) 175deg, rgba(251,231,191,0.2) 180deg, rgba(251,231,191,0.13) 185deg, transparent 200deg); filter: blur(6px); }

/* ---------- Contact ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.field { position: relative; padding-top: 26px; margin-bottom: 26px; }
.field.full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); color: var(--ivory);
  font: 300 19px/1.4 var(--sans); padding: 10px 0 14px; outline: none; border-radius: 0; transition: border-color 0.4s;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.field select option { background: #0b0a08; color: var(--ivory); }
.field textarea { resize: vertical; min-height: 120px; }
.field label { position: absolute; left: 0; top: 36px; font-size: 15px; color: var(--ivory-mute); pointer-events: none; transition: all 0.4s var(--ease-out); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-3); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { top: 0; font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-3); }
.field .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform 0.8s var(--ease-out); }
.field input:focus ~ .bar, .field textarea:focus ~ .bar, .field select:focus ~ .bar { transform: scaleX(1); }
.checks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.checks input { position: absolute; opacity: 0; pointer-events: none; }
.checks label { padding: 11px 20px; border: 1px solid var(--line-2); border-radius: 100px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; transition: all 0.35s; color: var(--ivory-dim); }
.checks input:checked + label { background: var(--gold-3); color: var(--black); border-color: var(--gold-3); }
.checks input:focus-visible + label { outline: 1px solid var(--gold-3); outline-offset: 3px; }
.form-note { font-size: 13px; color: var(--ivory-mute); }
.field-error { display: block; min-height: 0; margin-top: 8px; font-size: 13px; color: #f2a07b; }
.field-error:empty { display: none; }
.field.has-error input, .field.has-error textarea { border-color: #e0865f; }
.form-status { margin: 18px 0 0; font-size: 14px; color: var(--ivory-dim); min-height: 1em; }
.form-status.is-error { color: #f2a07b; }
.form-status a { color: var(--gold-3); text-decoration: underline; }
.form-success:focus { outline: none; }
.btn:disabled { opacity: 0.6; cursor: progress; }
/* honeypot: hidden from people, visible to spam bots */
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-success { display: none; padding: 30px; border: 1px solid var(--line-2); border-radius: 4px; }
.form-success.is-on { display: block; }

.contact-cards { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-cards .spot { border: 0; border-radius: 0; padding: 30px 30px; }
.contact-cards h4 { margin: 0 0 6px; font-size: 10.5px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold-3); font-weight: 600; }
.contact-cards p { margin: 0; font-family: var(--serif); font-size: 24px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; z-index: 3; padding: clamp(120px, 22vh, 240px) 0; text-align: center; overflow: hidden; }
.cta-band .halo { position: absolute; left: 50%; top: 50%; width: 120vh; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(236,201,140,0.16), rgba(236,201,140,0.04) 40%, transparent 65%); pointer-events: none; }
.cta-band .rings { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.cta-band .rings span { position: absolute; left: 50%; top: 50%; border: 1px solid rgba(236,201,140,0.1); border-radius: 50%; transform: translate(-50%, -50%); animation: ring 6s linear infinite; }
@keyframes ring { from { width: 10vh; height: 10vh; opacity: 1; } to { width: 120vh; height: 120vh; opacity: 0; } }
.cta-band h2 { position: relative; }
.cta-band .btn { margin-top: 50px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; z-index: 3; border-top: 1px solid var(--line); padding: 90px 0 36px; background: #020202; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-top h4 { margin: 0 0 20px; font-size: 10.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-3); font-weight: 600; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-top a { color: var(--ivory-dim); transition: color 0.3s; font-size: 15px; }
.footer-top a:hover { color: var(--ivory); }
.footer-word { display: flex; justify-content: center; margin: 90px 0 50px; }
.footer-word-logo { width: min(78vw, 760px); height: auto; }
/* Footer uses the logo in white for contrast on black */
.site-footer .footer-word-logo, .site-footer .footer-logo { filter: brightness(0) invert(1); opacity: 0.92; }
.brand-logo { height: 62px; width: auto; transition: height 0.5s var(--ease-out), filter 0.6s; }

/* Header logo shine: a light sweep masked to the logo's own shape (artwork unchanged) + soft gold glow */
.site-header .brand { position: relative; isolation: isolate; }
.site-header .brand .brand-logo { filter: drop-shadow(0 0 10px rgba(236, 201, 140, 0.35)) drop-shadow(0 0 22px rgba(236, 201, 140, 0.15)); }
.site-header .brand:hover .brand-logo { filter: drop-shadow(0 0 14px rgba(241, 211, 154, 0.6)) drop-shadow(0 0 30px rgba(236, 201, 140, 0.25)); }
.site-header .brand::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 236, 190, 0.85) 47%, #fff 50%, rgba(255, 236, 190, 0.85) 53%, transparent 62%) no-repeat;
  background-size: 300% 100%; background-position: 150% 0;
  -webkit-mask: url("../img/orvion-logo.webp") center / contain no-repeat; mask: url("../img/orvion-logo.webp") center / contain no-repeat;
  animation: logo-shine 5s ease-in-out 1.5s infinite;
}
.site-header .brand:hover::after { animation: logo-shine 1.2s ease-out; }
@keyframes logo-shine { 0% { background-position: 150% 0; } 45%, 100% { background-position: -50% 0; } }
@media (prefers-reduced-motion: reduce) { .site-header .brand::after { animation: none; } }
.site-header.is-scrolled .brand-logo { height: 50px; }
.footer-logo { height: 96px; }
.pl-logo-img { width: min(70vw, 440px); height: auto; }
.curtain .curtain-mark img { width: 70px; height: 70px; }
@media (max-width: 560px) { .brand-logo { height: 48px; } .site-header.is-scrolled .brand-logo { height: 42px; } }
.packer { display: flex; flex-wrap: wrap; gap: 14px 48px; padding: 22px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--ivory-dim); }
.packer > div { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
.packer-k { font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-3); font-weight: 600; }
.packer-v { color: var(--ivory); }
.packer-lic { font-family: var(--sans); font-weight: 600; letter-spacing: 0.08em; }
.packer-card { display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; align-items: baseline; padding: 26px 28px; border: 1px solid var(--line-2); border-radius: 4px; background: rgba(10,9,8,0.85); margin-top: 28px; font-size: 14px; }
@media (max-width: 560px) { .packer-card { grid-template-columns: 1fr; gap: 4px; } }
.credits { margin: 0; padding: 0 0 18px; font-size: 11px; line-height: 1.6; color: var(--ivory-mute); max-width: 90ch; }
.credits a { color: var(--ivory-dim); text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12px; color: var(--ivory-mute); letter-spacing: 0.06em; padding-top: 26px; border-top: 1px solid var(--line); }

/* ---------- Page hero (generic) ---------- */
.page-hero { position: relative; z-index: 3; min-height: 92vh; display: flex; align-items: flex-end; padding: 160px 0 80px; }
.page-hero .ph-grid { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: end; width: 100%; }

/* ---------- Legibility: scrims between the 3D stage and text ---------- */
.hero::before, .p-hero::before, .page-hero::before, .chapter::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3,3,3,0.92) 0%, rgba(3,3,3,0.62) 38%, rgba(3,3,3,0) 62%),
    linear-gradient(0deg, rgba(3,3,3,0.9) 0%, rgba(3,3,3,0) 50%);
}
.chapter::before { background: linear-gradient(90deg, rgba(3,3,3,0.9) 0%, rgba(3,3,3,0.6) 40%, rgba(3,3,3,0) 58%); }
.chapter.is-right::before { background: linear-gradient(270deg, rgba(3,3,3,0.9) 0%, rgba(3,3,3,0.6) 40%, rgba(3,3,3,0) 58%); }
.section, .cta-band, .marquee, .hscroll, .next-product, .site-footer { isolation: isolate; }
.section::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: rgba(3,3,3,0.55); }
.section[data-stage^="focus-left"]::before { background: linear-gradient(270deg, rgba(3,3,3,0.92) 0%, rgba(3,3,3,0.6) 42%, rgba(3,3,3,0) 60%); }
.section[data-stage^="focus-right"]::before { background: linear-gradient(90deg, rgba(3,3,3,0.92) 0%, rgba(3,3,3,0.6) 42%, rgba(3,3,3,0) 60%); }
h1, h2, h3, .lead, .body-copy, .eyebrow, .latin, dd, dt, p { text-shadow: 0 1px 24px rgba(0,0,0,0.85), 0 0 2px rgba(0,0,0,0.6); }
.gold-text, .gold-text .split-word, .split-word.gold-text, .btn, .btn * { text-shadow: none; }

/* ---------- Reveal defaults (JS-enhanced) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(0.94); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .serve-grid { grid-template-columns: 1fr 1fr; }
  .notes { grid-template-columns: 1fr 1fr; }
  .globe-layout { grid-template-columns: 1fr; }
  /* stacked: heading + filters, globe, then the full list (no scroll-inside-scroll on touch) */
  .globe-layout { gap: 0; }
  .globe-layout > div:first-child { display: contents; }
  .globe-layout > .globe-wrap { order: 1; width: min(92vw, 640px); margin: 10px auto 40px; }
  .origin-points { order: 2; max-height: none; overflow: visible; }
  .pillars { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .menu { grid-template-columns: 1fr; }
  .menu-side { display: none; }
  .chapter { min-height: auto; padding: 60vh 0 12vh; align-items: flex-end; }
  .chapter-inner { width: 100%; background: linear-gradient(to bottom, rgba(3,3,3,0) 0, rgba(3,3,3,0.96) 56px); padding: 64px 18px 24px; margin: 0 -18px; width: calc(100% + 36px); }
  .chapter::before { background: none; }
  .chapter .specs { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 30px 16px 30px 0; border-right: 0; padding-left: 0; border-bottom: 1px solid var(--line); }
  .hscroll-track { height: auto; flex-direction: column; width: 100%; padding: 100px var(--gutter); align-items: stretch; }
  .hscroll-intro, .step-card { width: 100%; }
  .step-card { height: auto; min-height: 380px; }
  .collection-grid { grid-template-columns: 1fr; }
  .p-card { min-height: 520px; }
  .serve-grid { grid-template-columns: 1fr; }
  .split-2, .split-2.right-copy { grid-template-columns: 1fr; }
  .sticky-col { position: static; }
  .p-hero-grid, .page-hero .ph-grid { grid-template-columns: 1fr; }
  .p-hero-facts { grid-template-columns: 1fr 1fr; padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 22px; }
  .nutri { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .pv-step { grid-template-columns: 40px 1fr; gap: 10px 20px; padding: 40px 0; }
  .process-v .pv-line { left: 20px; }
  .pv-step .pv-k { display: none; }
  .pv-step:nth-child(n) .pv-dot { order: 1; }
  .pv-step:nth-child(n) .pv-body { order: 2; text-align: left; }
  .pv-step:nth-child(even) .pv-body p { margin-left: 0; }
  .hero-meta { display: none; }
  .grade-table thead { display: none; }
  .grade-table tr { display: grid; grid-template-columns: 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .grade-table td { border: 0; padding: 4px 0; }
  .origin-row { grid-template-columns: 40px 1fr; }
  .origin-row .coord { display: none; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  .notes { grid-template-columns: 1fr; }
  .brand-tag { display: none; }
  .menu-btn .lbl { display: none; }
  .btn { padding: 17px 26px; }
  .p-card { padding: 26px; }
  .p-card .p-bottom { left: 26px; right: 26px; bottom: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
