/* =========================================================
   Sri Surya Modern Rice Mill: site styles
   Apple-style system: quiet neutrals, one muted gold accent,
   large type, generous space, translucent navigation.
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-warm: #f7f4ee;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --line: #d2d2d7;
  --dark: #000000;
  --dark-2: #161617;
  --dark-3: #1d1d1f;
  --dark-ink: #f5f5f7;
  --dark-ink-2: #a1a1a6;
  --gold: #8a6a2f;          /* links on light */
  --gold-light: #d2b47a;    /* links on dark */
  --gold-soft: #efe6d3;
  --btn: #1d1d1f;
  --btn-ink: #ffffff;
  --radius: 28px;
  --radius-s: 18px;
  --nav-h: 48px;
  --ease: cubic-bezier(.28, .11, .32, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 1260px;
  --gutter: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
body.no-scroll { overflow: hidden; }

/* ---------- type ---------- */
.eyebrow { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--gold); margin: 0 0 8px; }
.dark .eyebrow { color: var(--gold-light); }
.h-hero { font-size: clamp(44px, 8vw, 96px); line-height: 1.04; font-weight: 700; letter-spacing: -0.035em; margin: 0; }
.h-1 { font-size: clamp(40px, 6vw, 80px); line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; margin: 0; }
.h-2 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.07; font-weight: 700; letter-spacing: -0.028em; margin: 0; }
.h-3 { font-size: clamp(24px, 3vw, 40px); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; margin: 0; }
.h-4 { font-size: clamp(21px, 2.2vw, 28px); line-height: 1.14; font-weight: 600; letter-spacing: -0.015em; margin: 0; }
.lead { font-size: clamp(19px, 2.2vw, 28px); line-height: 1.2; font-weight: 400; letter-spacing: -0.01em; color: var(--ink); margin: 12px 0 0; }
.body-l { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.4; color: var(--ink-2); margin: 0; }
.body-l strong { color: var(--ink); font-weight: 600; }
.dark .body-l { color: var(--dark-ink-2); }
.dark .body-l strong { color: var(--dark-ink); }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }
.gradient-text {
  background: linear-gradient(100deg, #b89255 0%, #e3cc98 45%, #9c7a3c 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.center { text-align: center; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 980px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 12vw, 160px) 0; }
.section-s { padding: clamp(56px, 8vw, 100px) 0; }
.bg-alt { background: var(--bg-alt); }
.bg-warm { background: var(--bg-warm); }
.dark { background: var(--dark); color: var(--dark-ink); }
.dark a { color: var(--gold-light); }
.dark-2 { background: var(--dark-2); color: var(--dark-ink); }
.dark-2 a { color: var(--gold-light); }
.dark-2 .body-l { color: var(--dark-ink-2); }

/* ---------- buttons & links ---------- */
.ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 11px 22px; border-radius: 980px;
  background: var(--btn); color: var(--btn-ink) !important;
  font-size: 17px; font-weight: 400; letter-spacing: -0.02em;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { text-decoration: none; background: #3a3a3c; }
.btn:active { transform: scale(.98); }
.btn-outline { background: transparent; color: var(--ink) !important; box-shadow: inset 0 0 0 1px var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff !important; }
.dark .btn, .dark-2 .btn { background: var(--dark-ink); color: var(--ink) !important; }
.dark .btn:hover, .dark-2 .btn:hover { background: #fff; }
.dark .btn-outline, .dark-2 .btn-outline { background: transparent; color: var(--dark-ink) !important; box-shadow: inset 0 0 0 1px var(--dark-ink); }
.dark .btn-outline:hover, .dark-2 .btn-outline:hover { background: var(--dark-ink); color: var(--ink) !important; }
.btn-gold { background: #8a6a2f; }
.btn-gold:hover { background: #73572473; background: #735724; }
.btn-s { min-height: 30px; padding: 4px 14px; font-size: 14px; }
.chev::after { content: ""; display: inline-block; width: .42em; height: .42em; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: translateY(-.08em) rotate(45deg); margin-left: .35em; }
.link-row { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-top: 18px; font-size: clamp(17px, 1.6vw, 21px); }
.link-play { display: inline-flex; align-items: center; gap: .38em; }
.play-ico { flex: none; width: .95em; height: .95em; border: 1.5px solid currentColor; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; }
.play-ico::before { content: ""; width: 0; height: 0; border-left: .3em solid currentColor; border-top: .19em solid transparent; border-bottom: .19em solid transparent; margin-left: .08em; }
.gold-ink { color: #7d5c22; }
.dark .gold-ink, .dark-2 .gold-ink { color: var(--gold-light); }

/* =========================================================
   Global nav
   ========================================================= */
.gn {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(250, 250, 252, .8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  transition: background .3s var(--ease);
}
.gn.is-open, .gn.flyout-open { background: rgba(250, 250, 252, 1); }
/* backdrop-filter makes the header a containing block for fixed children: drop it while the mobile menu is open */
.gn.is-open { -webkit-backdrop-filter: none; backdrop-filter: none; }
.gn-inner { max-width: 1024px; margin: 0 auto; height: 100%; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gn-logo { display: flex; align-items: center; gap: 9px; color: var(--ink); height: 100%; }
.gn-logo:hover { text-decoration: none; }
.gn-logo img { width: 34px; height: auto; }
.gn-logo span { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.gn-list { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; height: 100%; flex: 1; justify-content: space-between; max-width: 640px; }
.gn-list > li { height: 100%; display: flex; align-items: center; }
.gn-link { font-size: 12px; color: rgba(0, 0, 0, .8); padding: 0 8px; height: 100%; display: flex; align-items: center; letter-spacing: -0.01em; transition: color .2s; }
.gn-link:hover, .gn-link[aria-current="page"] { color: #000; text-decoration: none; }
.gn-link[aria-current="page"] { font-weight: 600; }
.gn-tools { display: flex; align-items: center; gap: 4px; }
.gn-icon { width: 36px; height: 44px; display: grid; place-items: center; color: rgba(0, 0, 0, .8); }
.gn-icon:hover { color: #000; }
.gn-icon svg { width: 16px; height: 16px; }
.gn-burger { display: none; }
.gn-burger span { display: block; width: 17px; height: 1.2px; background: currentColor; border-radius: 1px; transition: transform .35s var(--ease); }
.gn-burger span + span { margin-top: 6px; }
.gn.is-open .gn-burger span:first-child { transform: translateY(3.6px) rotate(45deg); }
.gn.is-open .gn-burger span:last-child { transform: translateY(-3.6px) rotate(-45deg); }

/* flyouts (desktop mega-menus) */
.gn-flyout {
  position: absolute; left: 0; right: 0; top: var(--nav-h);
  background: rgba(250, 250, 252, 1);
  overflow: hidden; height: 0;
  transition: height .38s var(--ease);
  box-shadow: 0 18px 30px -24px rgba(0,0,0,.3);
}
.gn-flyout-inner { max-width: 1024px; margin: 0 auto; padding: 34px var(--gutter) 64px; display: flex; gap: 72px; opacity: 0; transform: translateY(-6px); transition: opacity .25s, transform .3s var(--ease); }
.gn-flyout.is-active .gn-flyout-inner { opacity: 1; transform: none; transition-delay: .08s; }
.fly-col h3 { font-size: 12px; font-weight: 400; color: var(--ink-2); margin: 0 0 12px; letter-spacing: 0; }
.fly-col ul { list-style: none; margin: 0; padding: 0; }
.fly-col li + li { margin-top: 8px; }
.fly-col a { color: var(--ink); font-size: 14px; font-weight: 600; }
.fly-col.is-primary a { font-size: 24px; line-height: 1.17; letter-spacing: -0.02em; }
.fly-col.is-primary li + li { margin-top: 10px; }
.page-veil {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background: rgba(232, 232, 237, .4);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  opacity: 0; transition: opacity .3s var(--ease);
}
.page-veil.is-on { opacity: 1; pointer-events: auto; }

/* search */
.gn-search-input { width: 100%; border: 0; background: transparent; font: inherit; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); padding: 0 0 0 34px; outline: none; }
.gn-search-input::placeholder { color: var(--ink-3); }
.search-field { position: relative; margin-bottom: 26px; }
.search-field svg { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--ink-2); }
.search-results { list-style: none; padding: 0; margin: 0; }
.search-results li + li { margin-top: 6px; }
.search-results a { color: var(--ink); font-size: 14px; font-weight: 600; display: inline-flex; gap: 10px; align-items: center; }
.search-results a::before { content: "→"; color: var(--ink-3); font-weight: 400; }
.search-col { flex: 1; max-width: 640px; }

/* mobile menu */
.gn-mobile { display: none; }

@media (max-width: 833px) {
  .gn-list, .gn-tools .gn-desktop-only { display: none; }
  .gn-burger { display: grid; place-items: center; }
  .gn-burger > div { width: 17px; }
  .gn-logo span { display: none; }
  .gn-mobile {
    display: block; position: fixed; left: 0; right: 0; top: var(--nav-h); bottom: 0;
    background: #fafafc; overflow-y: auto; overflow-x: hidden;
    visibility: hidden; opacity: 0; transition: opacity .3s var(--ease), visibility 0s .3s;
  }
  .gn.is-open .gn-mobile { visibility: visible; opacity: 1; transition: opacity .3s var(--ease); }
  .gm-panel { position: absolute; inset: 0; padding: 16px 48px 60px; transition: transform .45s var(--ease), opacity .3s; }
  .gm-panel.is-sub { transform: translateX(100%); opacity: 0; }
  .gn-mobile.show-sub .gm-panel.is-main { transform: translateX(-30%); opacity: 0; pointer-events: none; }
  .gn-mobile.show-sub .gm-panel.is-sub.is-current { transform: none; opacity: 1; }
  .gm-list { list-style: none; padding: 0; margin: 0; }
  .gm-list li { opacity: 0; transform: translateY(-8px); transition: opacity .35s, transform .45s var(--ease); }
  .gn.is-open .gm-list li { opacity: 1; transform: none; }
  .gn.is-open .gm-list li:nth-child(2) { transition-delay: .03s; }
  .gn.is-open .gm-list li:nth-child(3) { transition-delay: .06s; }
  .gn.is-open .gm-list li:nth-child(4) { transition-delay: .09s; }
  .gn.is-open .gm-list li:nth-child(5) { transition-delay: .12s; }
  .gn.is-open .gm-list li:nth-child(6) { transition-delay: .15s; }
  .gn.is-open .gm-list li:nth-child(7) { transition-delay: .18s; }
  .gm-list a, .gm-list button { display: flex; width: 100%; justify-content: space-between; align-items: center; font-size: 28px; line-height: 1.14; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); padding: 8px 0; text-align: left; }
  .gm-list button::after { content: ""; width: 9px; height: 9px; border-right: 1.8px solid var(--ink-2); border-top: 1.8px solid var(--ink-2); transform: rotate(45deg); }
  .gm-list.is-small a { font-size: 17px; font-weight: 600; padding: 6px 0; }
  .gm-label { font-size: 14px; color: var(--ink-2); margin: 28px 0 10px; }
  .gm-back { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 14px; margin: 0 0 18px; padding: 6px 0; }
  .gm-back::before { content: ""; width: 8px; height: 8px; border-left: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); }
  .gn-flyout { display: none; }
}

/* ribbon */
.ribbon { background: var(--bg-alt); text-align: center; font-size: 14px; padding: 14px var(--gutter); color: var(--ink); line-height: 1.4; }
.ribbon a { white-space: nowrap; }

/* =========================================================
   Local nav (product pages)
   ========================================================= */
.ln {
  position: sticky; top: 0; z-index: 80; height: 52px;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .12);
}
.ln.is-dark { background: rgba(22, 22, 23, .8); border-color: rgba(255,255,255,.14); color: var(--dark-ink); }
.ln-inner { max-width: 1024px; margin: 0 auto; height: 100%; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; }
.ln-title { font-size: 21px; font-weight: 600; letter-spacing: .01em; color: inherit; }
.ln-title:hover { text-decoration: none; }
.ln-menu { display: flex; align-items: center; gap: 22px; }
.ln-links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.ln-links a { font-size: 12px; color: inherit; opacity: .85; }
.ln-links a.is-current { opacity: .55; pointer-events: none; }
.ln-toggle { display: none; width: 28px; height: 28px; place-items: center; }
.ln-toggle::before { content: ""; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease); }
.ln.is-open .ln-toggle::before { transform: translateY(2px) rotate(-135deg); }
@media (max-width: 833px) {
  .ln-toggle { display: grid; }
  .ln-links { position: absolute; top: 52px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 6px var(--gutter) 18px; background: inherit; -webkit-backdrop-filter: inherit; backdrop-filter: inherit; border-bottom: inherit; visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s; }
  .ln.is-open .ln-links { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .3s var(--ease); background: rgba(255,255,255,.97); }
  .ln.is-dark.is-open .ln-links { background: rgba(22,22,23,.97); }
  .ln-links a { display: block; padding: 12px 0; font-size: 17px; border-bottom: 1px solid rgba(128,128,128,.2); }
  .ln-title { font-size: 19px; }
}

/* =========================================================
   Home: stacked hero tiles and grid (Apple homepage)
   ========================================================= */
.tile {
  position: relative; overflow: hidden; text-align: center;
  padding: 54px var(--gutter) 0; min-height: 580px;
  display: flex; flex-direction: column; align-items: center;
}
.tile + .tile { margin-top: 12px; }
.tile .h-1, .tile .h-2 { max-width: 16ch; }
.tile-media { margin-top: auto; width: 100%; display: flex; justify-content: center; }
.tile-hero { min-height: min(92vh, 760px); padding-top: 60px; }
.tile-hero .tile-media img { width: min(1200px, 100%); height: clamp(300px, 46vw, 520px); object-fit: cover; border-radius: 28px 28px 0 0; }
.tile-bag img { height: clamp(300px, 40vw, 470px); width: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.28)); transform: translateY(12%); transition: transform 1.2s var(--ease); }
.tile-bag.is-in img { transform: translateY(6%); }
.tile-bags { gap: clamp(0px, 2vw, 24px); align-items: flex-end; }
.tile-bags img:nth-child(2) { height: clamp(340px, 46vw, 530px); position: relative; z-index: 2; }
.tile-bags img:not(:nth-child(2)) { margin: 0 clamp(-60px, -4vw, -20px); opacity: .95; }

.tile-photo { margin-top: auto; padding-top: clamp(32px, 5vw, 56px); }
.tile-bag .tile-photo img, .tile-bag.is-in .tile-photo img { width: min(960px, 100%); height: auto; aspect-ratio: 1424 / 1105; object-fit: cover; border-radius: 28px 28px 0 0; filter: none; transform: none; }
@media (max-width: 833px) { .tile-bag .tile-photo img { border-radius: 20px 20px 0 0; } }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px; }
.grid .tile { margin: 0; min-height: 560px; padding-top: 50px; }
.grid .tile .h-2 { font-size: clamp(30px, 3.6vw, 44px); }
.grid .tile .body-l { font-size: clamp(17px, 1.6vw, 21px); margin-top: 6px; }
.grid .tile-media.cover { position: absolute; inset: 0; z-index: 0; }
.grid .tile-media.cover img { width: 100%; height: 100%; object-fit: cover; }
.grid .tile.on-photo { color: #fff; justify-content: flex-start; }
.grid .tile.on-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.38) 32%, rgba(0,0,0,0) 62%); z-index: 1; }
.grid .tile.on-photo .h-2, .grid .tile.on-photo .body-l { text-shadow: 0 1px 18px rgba(0,0,0,.35); }
.grid .tile.on-photo > *:not(.tile-media) { position: relative; z-index: 2; }
.grid .tile.on-photo .body-l { color: rgba(255,255,255,.88); }
.grid .tile.on-photo .btn { background: #fff; color: var(--ink) !important; }
.grid .tile.on-photo .btn-outline { background: transparent; color: #fff !important; box-shadow: inset 0 0 0 1px #fff; }
.grid .tile-bag img { height: clamp(260px, 26vw, 360px); }
.grid .tile.span-2 { grid-column: 1 / -1; min-height: 620px; }
.grid .tile.span-2 .tile-media.cover img { object-position: center 38%; }
@media (min-width: 834px) {
  .grid .tile.span-2 { align-items: flex-start; text-align: left; justify-content: center; padding: 0 clamp(40px, 6vw, 90px); }
  .grid .tile.span-2 .h-2 { font-size: clamp(40px, 5vw, 64px); }
  .grid .tile.span-2 .ctas { justify-content: flex-start; }
  .grid .tile.span-2.on-photo::after { background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.45) 30%, rgba(0,0,0,0) 55%); }
  .grid .tile.span-2 .tile-media.cover img { object-position: 70% 40%; }
}
@media (max-width: 833px) {
  .grid { grid-template-columns: 1fr; padding: 12px 0; }
  .tile { min-height: 520px; padding-top: 44px; }
  .grid .tile { min-height: 520px; }
  .tile-hero { min-height: 640px; }
  .tile-hero .tile-media img { border-radius: 20px 20px 0 0; height: 340px; }
}

/* =========================================================
   Gallery carousel (Apple TV+ style)
   ========================================================= */
.gallery { padding: 70px 0 60px; overflow: hidden; }
.gallery-head { text-align: center; margin-bottom: 36px; }
.gal-track { display: flex; gap: 20px; transition: transform .9s var(--ease); will-change: transform; }
.gal-slide { flex: 0 0 min(980px, 84vw); aspect-ratio: 16 / 9; position: relative; border-radius: 22px; overflow: hidden; background: #111; opacity: .45; transition: opacity .9s var(--ease); }
.gal-slide.is-active { opacity: 1; }
.gal-slide img { width: 100%; height: 100%; object-fit: cover; }
.gal-slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 32px 26px; color: #fff; background: linear-gradient(0deg, rgba(0,0,0,.66), rgba(0,0,0,0)); display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.gal-slide figcaption b { display: block; font-size: clamp(19px, 2vw, 28px); letter-spacing: -0.02em; }
.gal-slide figcaption span { font-size: 14px; color: rgba(255,255,255,.8); }
.gal-slide figcaption a { flex: none; font-size: 14px; background: rgba(255,255,255,.92); color: var(--ink); border-radius: 980px; padding: 8px 16px; }
.gal-controls { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 26px; }
.gal-dots { display: flex; gap: 12px; background: rgba(210,210,215,.64); padding: 0 16px; height: 56px; align-items: center; border-radius: 980px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.gal-dot { width: 8px; height: 8px; border-radius: 99px; background: rgba(0,0,0,.42); transition: width .5s var(--ease), background .3s; position: relative; overflow: hidden; }
.gal-dot.is-active { width: 48px; background: rgba(0,0,0,.2); }
.gal-dot.is-active i { position: absolute; inset: 0; background: rgba(0,0,0,.6); transform-origin: left; animation: galfill var(--gal-ms, 5s) linear forwards; }
.gallery.is-paused .gal-dot.is-active i { animation-play-state: paused; }
@keyframes galfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.gal-pause { width: 56px; height: 56px; border-radius: 50%; background: rgba(210,210,215,.64); display: grid; place-items: center; }
.gal-pause svg { width: 18px; height: 18px; }
@media (max-width: 833px) {
  .gal-slide { aspect-ratio: 4 / 5; flex-basis: 86vw; border-radius: 18px; }
  .gal-slide figcaption { flex-direction: column; align-items: flex-start; padding: 60px 20px 20px; }
}

/* =========================================================
   Product page pieces
   ========================================================= */
.p-hero { text-align: center; padding: clamp(60px, 9vw, 110px) var(--gutter) 0; overflow: hidden; }
.p-hero .h-hero { margin-top: 6px; }
.lineup { display: flex; justify-content: center; align-items: flex-end; margin-top: clamp(40px, 6vw, 70px); padding-bottom: 0; }
.lineup img { height: clamp(150px, 26vw, 390px); width: auto; margin: 0 clamp(-46px, -3.2vw, -14px); filter: drop-shadow(0 24px 30px rgba(0,0,0,.3)); transition: transform 1.2s var(--ease); }
.lineup img:nth-child(1), .lineup img:nth-child(7) { height: clamp(110px, 18vw, 280px); z-index: 1; }
.lineup img:nth-child(2), .lineup img:nth-child(6) { height: clamp(130px, 22vw, 330px); z-index: 2; }
.lineup img:nth-child(3), .lineup img:nth-child(5) { height: clamp(140px, 24vw, 360px); z-index: 3; }
.lineup img:nth-child(4) { z-index: 4; }
@media (max-width: 600px) { .lineup img:nth-child(1), .lineup img:nth-child(7) { display: none; } }

/* horizontal card scroller (Get to know) */
.scroller-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.scroller {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 34px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 40px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.scroller::-webkit-scrollbar { display: none; }
.card {
  flex: 0 0 auto; width: clamp(280px, 30vw, 372px); height: clamp(500px, 50vw, 680px);
  border-radius: var(--radius); overflow: hidden; position: relative;
  scroll-snap-align: start; scroll-margin-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  background: #fff; color: var(--ink); text-align: left;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.card:hover { transform: scale(1.012); box-shadow: 2px 4px 16px rgba(0,0,0,.12); }
.card-text { position: relative; z-index: 2; padding: 30px; }
.card-text small { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; opacity: .8; }
.card-text h3 { margin: 0; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.14; letter-spacing: -0.02em; font-weight: 600; }
.card-media { position: absolute; inset: 0; z-index: 1; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card.is-dark { color: #fff; background: #000; }
.card.is-dark::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,0) 45%); }
.card.bag-card { background: var(--bg-alt); }
.card.bag-card .card-media { display: flex; align-items: flex-end; justify-content: center; padding-bottom: 36px; top: auto; height: 64%; }
.card.bag-card .card-media img { width: auto; height: 100%; object-fit: contain; filter: drop-shadow(0 20px 26px rgba(0,0,0,.22)); }
.bg-alt .card.bag-card { background: #fff; }
.card-plus { position: absolute; right: 22px; bottom: 22px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; background: rgba(51,51,54,.9); color: #fff; display: grid; place-items: center; transition: background .2s, transform .3s var(--ease); }
.card:hover .card-plus { background: #1d1d1f; transform: rotate(90deg); }
.card-plus svg { width: 14px; height: 14px; }
.card.is-dark .card-plus { background: rgba(255,255,255,.9); color: var(--ink); }
.paddles { display: flex; gap: 14px; justify-content: flex-end; padding: 0 var(--gutter); max-width: var(--max); margin: 0 auto; }
.paddle { width: 36px; height: 36px; border-radius: 50%; background: rgba(210,210,215,.64); display: grid; place-items: center; color: rgba(0,0,0,.56); transition: opacity .2s, background .2s; }
.paddle:hover { background: rgba(223,223,227,.7); color: rgba(0,0,0,.64); }
.paddle:disabled { opacity: .42; cursor: default; }
.paddle svg { width: 12px; height: 12px; }
.dark .paddle, .dark-2 .paddle { background: rgba(66,66,69,.72); color: rgba(255,255,255,.8); }

/* modal */
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.is-open { display: block; }
.modal-bg { position: absolute; inset: 0; background: rgba(0,0,0,.48); opacity: 0; transition: opacity .35s; }
.modal.is-visible .modal-bg { opacity: 1; }
.modal-scroll { position: absolute; inset: 0; overflow-y: auto; padding: 40px var(--gutter); }
.modal-dialog { position: relative; max-width: 1000px; margin: 0 auto; background: #fff; border-radius: var(--radius); padding: clamp(56px, 8vw, 96px) clamp(24px, 7vw, 76px); opacity: 0; transform: translateY(30px) scale(.98); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.modal.is-visible .modal-dialog { opacity: 1; transform: none; }
.modal-close { position: sticky; top: 0; float: right; margin: -36px -40px 0 0; width: 36px; height: 36px; border-radius: 50%; background: #333336; color: #fff; display: grid; place-items: center; z-index: 3; }
.modal-close svg { width: 12px; height: 12px; }
.modal-panel { background: var(--bg-alt); border-radius: var(--radius-s); padding: clamp(24px, 4vw, 40px); margin-top: 22px; display: grid; grid-template-columns: 1fr 240px; gap: 30px; align-items: center; }
.modal-panel p { margin: 0; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.38; color: var(--ink-2); }
.modal-panel p strong { color: var(--ink); }
.modal-panel img { max-height: 320px; width: auto; margin: 0 auto; filter: drop-shadow(0 16px 20px rgba(0,0,0,.2)); }
.modal-panel.wide { grid-template-columns: 1fr; }
.modal-panel.wide img { max-height: none; width: 100%; border-radius: 14px; }
@media (max-width: 700px) {
  .modal-scroll { padding: 20px 10px; }
  .modal-close { margin: -36px -10px 0 0; }
  .modal-panel { grid-template-columns: 1fr; }
}
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding: 0; list-style: none; }
.pill-list li { font-size: 14px; padding: 6px 12px; border-radius: 980px; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }

/* film modal */
.film { position: fixed; inset: 0; z-index: 250; background: #000; display: none; align-items: center; justify-content: center; }
.film.is-open { display: flex; }
.film video { max-height: 92vh; max-width: 100vw; width: auto; height: 92vh; aspect-ratio: 9 / 16; border-radius: 16px; background: #000; }
.film .modal-close { position: absolute; top: 20px; right: 20px; margin: 0; float: none; background: rgba(255,255,255,.18); }
@media (max-width: 600px) { .film video { height: auto; width: 100vw; max-height: 100vh; border-radius: 0; } }

/* variety picker (colour picker pattern) */
.picker { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; margin-top: 56px; }
.picker-stage { position: relative; background: #fff; border-radius: var(--radius); aspect-ratio: 1 / 1.05; display: grid; place-items: center; overflow: hidden; }
.bg-alt .picker-stage { background: #fff; }
.picker-stage::before { content: ""; position: absolute; inset: auto 15% 6% 15%; height: 30px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.18), transparent); }
.picker-stage img { position: absolute; height: 82%; width: auto; max-width: 86%; object-fit: contain; opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.picker-stage img.is-active { opacity: 1; transform: none; }
.picker-name { font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; margin: 0; }
.picker-tag { font-size: 14px; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 8px; min-height: 1.4em; }
.picker-copy { color: var(--ink-2); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.4; margin: 14px 0 0; min-height: 5.6em; }
.swatches { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.swatch { width: 34px; height: 34px; border-radius: 50%; position: relative; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.swatch::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; box-shadow: 0 0 0 2px transparent; transition: box-shadow .25s; }
.swatch.is-active::after, .swatch:hover::after { box-shadow: 0 0 0 2px var(--ink-3); }
.swatch.is-active::after { box-shadow: 0 0 0 2px var(--ink); }
.swatch-label { font-size: 12px; color: var(--ink-2); margin-top: 14px; }
@media (max-width: 833px) {
  .picker { grid-template-columns: 1fr; margin-top: 36px; }
  .picker-copy { min-height: 0; }
}

/* feature list / icon grid */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px 40px; margin-top: 64px; }
.feat { border-top: 1px solid var(--line); padding-top: 24px; }
.dark .feat, .dark-2 .feat { border-color: #424245; }
.feat svg { width: 40px; height: 40px; color: var(--gold); margin-bottom: 14px; }
.dark .feat svg, .dark-2 .feat svg { color: var(--gold-light); }
.feat h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.015em; margin: 0 0 8px; line-height: 1.2; }
.feat p { margin: 0; color: var(--ink-2); font-size: 17px; line-height: 1.47; }
.dark .feat p, .dark-2 .feat p { color: var(--dark-ink-2); }
@media (max-width: 833px) { .feat-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; } }
@media (max-width: 540px) { .feat-grid { grid-template-columns: 1fr; } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 60px; text-align: left; }
.stat b { display: block; font-size: clamp(44px, 6vw, 80px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.stat span { display: block; margin-top: 10px; color: var(--ink-2); font-size: 17px; line-height: 1.35; max-width: 18ch; }
.dark .stat span, .dark-2 .stat span { color: var(--dark-ink-2); }
@media (max-width: 833px) { .stats { grid-template-columns: 1fr 1fr; gap: 40px 24px; } }

/* compare */
.compare { margin-top: 56px; }
.cmp-selects { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 3vw, 40px); position: sticky; top: 52px; z-index: 5; background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); padding: 14px 0; }
.bg-alt .cmp-selects { background: rgba(245,245,247,.9); }
.cmp-select { position: relative; }
.cmp-select select { width: 100%; appearance: none; -webkit-appearance: none; font: inherit; font-size: 17px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 10px 28px 10px 0; border-radius: 0; cursor: pointer; }
.cmp-select::after { content: ""; position: absolute; right: 6px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.cmp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 3vw, 40px); }
.cmp-col { text-align: center; }
.cmp-col .cmp-img { height: clamp(160px, 22vw, 300px); display: flex; align-items: flex-end; justify-content: center; margin: 30px 0 22px; }
.cmp-col .cmp-img img { max-height: 100%; width: auto; filter: drop-shadow(0 16px 20px rgba(0,0,0,.2)); }
.cmp-col h3 { font-size: clamp(19px, 2vw, 24px); margin: 0 0 4px; letter-spacing: -0.02em; }
.cmp-row { border-top: 1px solid var(--line); padding: 22px 0; font-size: clamp(14px, 1.4vw, 17px); color: var(--ink); line-height: 1.4; }
.cmp-row small { display: block; font-size: 12px; color: var(--ink-2); margin-top: 4px; }
.cmp-row ul { list-style: none; padding: 0; margin: 0; }
.cmp-row li + li { margin-top: 6px; }
.cmp-badge { display: inline-block; font-size: 12px; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: .06em; min-height: 1.4em; }
.dot-check { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); margin-bottom: 6px; }
.dot-check svg { width: 13px; height: 13px; }
@media (max-width: 600px) {
  .cmp-selects, .cmp-grid { grid-template-columns: 1fr 1fr; }
  .cmp-selects .cmp-select:nth-child(3), .cmp-grid .cmp-col:nth-child(3) { display: none; }
}

/* =========================================================
   Mill page: scrollytelling, yield, machines
   ========================================================= */
.m-hero { position: relative; min-height: min(100vh, 900px); display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: #000; }
.m-hero-media { position: absolute; inset: 0; }
.m-hero-media picture { display: block; width: 100%; height: 100%; }
.m-hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: kenburns 18s var(--ease) forwards; }
@keyframes kenburns { to { transform: scale(1); } }
.m-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.2) 55%, rgba(0,0,0,.35) 100%); }
.m-hero .wrap { position: relative; z-index: 2; padding-bottom: clamp(56px, 9vw, 110px); }
.m-hero .body-l { color: rgba(255,255,255,.82); max-width: 40ch; margin-top: 18px; }

.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); }
.story-media { position: sticky; top: 90px; height: calc(100vh - 130px); max-height: 760px; border-radius: var(--radius); overflow: hidden; background: #111; }
.story-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .8s var(--ease), transform 1.4s var(--ease); }
.story-media img.is-active { opacity: 1; transform: none; }
.story-count { position: absolute; left: 22px; bottom: 20px; z-index: 2; color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .04em; background: rgba(0,0,0,.4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding: 6px 12px; border-radius: 980px; }
.story-steps { padding: 18vh 0 22vh; }
.step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .6s var(--ease); }
.step.is-active { opacity: 1; }
.step-num { font-size: 14px; font-weight: 600; color: var(--gold-light); letter-spacing: .08em; margin-bottom: 12px; }
.step h3 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 14px; }
.step p { color: var(--dark-ink-2); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.42; margin: 0; max-width: 34ch; }
.step p strong { color: var(--dark-ink); font-weight: 600; }
.step-img { display: none; }
@media (max-width: 833px) {
  .story { grid-template-columns: 1fr; }
  .story-media { display: none; }
  .story-steps { padding: 20px 0 0; }
  .step { min-height: 0; opacity: 1; padding: 0 0 56px; }
  .step-img { display: block; width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: 20px; margin-bottom: 22px; }
}

.yield { margin-top: 60px; }
.yield-bar { display: flex; height: clamp(64px, 9vw, 96px); border-radius: 18px; overflow: hidden; background: #2a2a2c; }
.yield-seg { width: 0; transition: width 1.6s var(--ease); position: relative; }
.yield.is-in .yield-seg { width: var(--w); }
.yield-seg + .yield-seg { box-shadow: -2px 0 0 #000; }
.y-rice { background: linear-gradient(180deg, #f3ecdd, #e1d5bb); }
.y-husk { background: #b8955a; }
.y-bran { background: #8c6a3c; }
.y-broken { background: #c9bfa9; }
.y-rej { background: #5d5d60; }
.yield-legend { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 20px; margin-top: 26px; }
.yl b { display: block; font-size: clamp(28px, 4vw, 48px); letter-spacing: -0.03em; line-height: 1; }
.yl span { display: flex; align-items: center; gap: 8px; color: var(--dark-ink-2); font-size: 14px; margin-top: 8px; }
.yl span i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
@media (max-width: 700px) { .yield-legend { grid-template-columns: 1fr 1fr; } .yl:first-child { grid-column: 1 / -1; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.split-media img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 4.6; object-fit: cover; }
.split.reverse .split-media { order: 2; }
@media (max-width: 833px) { .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: 0; } }

.wide-img { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 8; object-fit: cover; margin-top: 50px; }
@media (max-width: 700px) { .wide-img { aspect-ratio: 4 / 3; border-radius: 20px; } }

/* =========================================================
   Story page
   ========================================================= */
.year-hero { text-align: center; padding: clamp(70px, 10vw, 130px) var(--gutter) clamp(40px, 6vw, 70px); }
.year-big { font-size: clamp(110px, 24vw, 300px); font-weight: 800; letter-spacing: -0.06em; line-height: .9; margin: 18px 0 0; }
.timeline { position: relative; margin-top: 60px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 54px 52px; }
.tl-item::before { content: ""; position: absolute; left: 4px; top: 8px; width: 15px; height: 15px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--gold); }
.tl-item.is-now::before { background: var(--gold); }
.tl-item small { font-size: 14px; font-weight: 600; color: var(--gold); letter-spacing: .06em; text-transform: uppercase; }
.tl-item h3 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.02em; margin: 6px 0 8px; line-height: 1.12; }
.tl-item p { margin: 0; color: var(--ink-2); font-size: clamp(17px, 1.6vw, 19px); max-width: 52ch; }
.quote { font-size: clamp(28px, 4vw, 52px); line-height: 1.12; letter-spacing: -0.025em; font-weight: 600; max-width: 22ch; margin: 0 auto; text-align: center; }
.place-card { background: var(--bg-alt); border-radius: var(--radius); padding: clamp(30px, 5vw, 60px); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.place-card img { border-radius: 20px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 833px) { .place-card { grid-template-columns: 1fr; } }

/* =========================================================
   Contact
   ========================================================= */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 50px; }
.c-card { background: #fff; border-radius: var(--radius-s); padding: 30px 26px; text-align: left; color: var(--ink); display: flex; flex-direction: column; gap: 6px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.c-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.c-card svg { width: 30px; height: 30px; color: var(--gold); margin-bottom: 12px; }
.c-card b { font-size: 19px; letter-spacing: -0.015em; }
.c-card span { color: var(--ink-2); font-size: 15px; line-height: 1.4; }
.c-card em { font-style: normal; color: var(--gold); font-size: 15px; margin-top: auto; padding-top: 10px; }
.contact-cards.two { grid-template-columns: 1fr 1fr; max-width: 760px; margin-left: auto; margin-right: auto; }
.c-card span { overflow-wrap: anywhere; }
@media (max-width: 900px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .contact-cards, .contact-cards.two { grid-template-columns: 1fr; } }

.form { max-width: 720px; margin: 50px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; }
.field.full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  padding: 26px 16px 8px; min-height: 56px; outline: none; transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.field label { position: absolute; left: 17px; top: 17px; font-size: 17px; color: var(--ink-3); pointer-events: none; transition: all .2s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(138,106,47,.15); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { top: 8px; font-size: 12px; }
.field.select::after { content: ""; position: absolute; right: 18px; top: 26px; width: 7px; height: 7px; border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2); transform: rotate(45deg); pointer-events: none; }
.chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend { width: 100%; font-size: 14px; color: var(--ink-2); margin-bottom: 10px; padding: 0; }
.chips fieldset, fieldset.chips { border: 0; padding: 0; margin: 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; font-size: 15px; padding: 9px 16px; border-radius: 980px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: all .2s; user-select: none; }
.chip input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.form-actions { grid-column: 1 / -1; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.form-note { grid-column: 1 / -1; text-align: center; font-size: 12px; color: var(--ink-2); margin: 0; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

/* sticky CTA bar (mobile) */
.cta-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 20px; border-radius: 980px; background: rgba(29,29,31,.86); color: #fff; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); transform: translateY(140%); transition: transform .5s var(--ease); font-size: 14px; }
.cta-bar.is-on { transform: none; }
.cta-bar .btn { min-height: 36px; padding: 6px 16px; font-size: 14px; background: #fff; color: var(--ink) !important; }
@media (max-width: 833px) { .cta-bar { display: flex; } }

/* =========================================================
   Footer (Apple-style directory)
   ========================================================= */
.footer { background: var(--bg-alt); color: var(--ink-2); font-size: 12px; line-height: 1.34; padding: 24px 0 26px; letter-spacing: -0.01em; }
.footer a { color: var(--ink-2); }
.footer a:hover { color: var(--ink); }
.foot-notes { border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 14px; }
.foot-notes p { margin: 0 0 8px; }
.crumbs { display: flex; align-items: center; gap: 8px; padding: 4px 0 18px; border-bottom: 1px solid var(--line); }
.crumbs img { width: 22px; }
.crumbs span::before { content: "›"; margin-right: 8px; color: var(--ink-3); }
.foot-dir { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; padding: 20px 0 6px; }
.foot-col h3 { font-size: 12px; font-weight: 600; color: var(--ink); margin: 0 0 10px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin-bottom: 9px; }
.foot-col button { display: none; }
.foot-more { padding: 16px 0 10px; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 14px; }
.foot-legal ul { display: flex; flex-wrap: wrap; gap: 0; list-style: none; margin: 0; padding: 0; }
.foot-legal li + li::before { content: "|"; margin: 0 8px; color: var(--line); }
@media (max-width: 833px) {
  .foot-dir { grid-template-columns: 1fr; gap: 0; padding-top: 8px; }
  .foot-col { border-bottom: 1px solid var(--line); }
  .foot-col h3 { display: none; }
  .foot-col button { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 12px 0; font-size: 14px; color: var(--ink); }
  .foot-col button::after { content: ""; width: 7px; height: 7px; border-right: 1.3px solid var(--ink-2); border-bottom: 1.3px solid var(--ink-2); transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease); }
  .foot-col.is-open button::after { transform: translateY(2px) rotate(-135deg); }
  .foot-col ul { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); padding-left: 8px; }
  .foot-col.is-open ul { max-height: 400px; }
  .foot-col li:first-child { margin-top: 2px; }
  .foot-col li { font-size: 14px; margin-bottom: 12px; }
  .foot-legal { flex-direction: column; }
}

/* =========================================================
   Reveal animations
   ========================================================= */
[data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
[data-reveal="zoom"] { transform: scale(.94); }
[data-reveal][data-delay="1"] { transition-delay: .12s; }
[data-reveal][data-delay="2"] { transition-delay: .24s; }
[data-reveal][data-delay="3"] { transition-delay: .36s; }
.no-js [data-reveal] { opacity: 1; transform: none; }

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