/* VIOM BHARAT — storefront styles */
:root, :root[data-theme="light"] {
  --ink: #2B2420; --soft: #5C5348; --muted: #8A7B5C;
  --bg: #FAF7F2; --panel: #F2ECE0; --card: #FFFFFF;
  --line: rgba(43,36,32,0.1); --line-strong: rgba(43,36,32,0.28);
  --maroon: #7A2E2E; --maroon-dark: #5C2222; --accent: #7A2E2E; --gold: #C7A252;
  --ph-a: #F2ECE0; --ph-b: #E7DCC4;
  --nav-bg: rgba(250,247,242,0.94);
  --inverse-bg: #2B2420; --inverse-fg: #FAF7F2;
}
/* ---- Dark theme ---- */
:root[data-theme="dark"] {
  --ink: #EDE4D7; --soft: #B4A897; --muted: #8C8070;
  --bg: #16110E; --panel: #201A15; --card: #221B16;
  --line: rgba(237,228,215,0.14); --line-strong: rgba(237,228,215,0.30);
  --maroon: #A83F38; --maroon-dark: #8A322C; --accent: #E7917F; --gold: #D4B369;
  --ph-a: #2A2119; --ph-b: #211A13;
  --nav-bg: rgba(22,17,14,0.9);
  --inverse-bg: #EDE4D7; --inverse-fg: #221B16;
}
* { box-sizing: border-box; }
:root, :root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }
body { margin: 0; font-family: 'Public Sans', sans-serif; background: var(--bg); color: var(--ink); transition: background 0.3s ease, color 0.3s ease; }
h1, h2, h3, .serif { font-family: 'Newsreader', serif; font-weight: 500; }
a { color: var(--accent); }
a.plain { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 100; height: 72px; background: var(--nav-bg); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark { font-family: 'Newsreader', serif; font-size: 21px; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; }
.wordmark em { color: var(--gold); }
.nav-links { display: flex; gap: clamp(12px, 1.6vw, 24px); align-items: center; }
.nav-links a { font-size: 11.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); text-decoration: none; opacity: 0.85; white-space: nowrap; }
.nav-links a:hover { opacity: 1; }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 10px 18px; border-radius: 100px; background: var(--maroon); color: #FAF7F2; font-size: 12px; font-weight: 600; text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.cart-ico { width: 17px; height: 17px; flex-shrink: 0; }
.cart-count { background: var(--gold); color: #3A2410; font-size: 10.5px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 100px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }

/* Theme toggle (light / dark) */
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border-radius: 100px; border: 1px solid var(--line); background: transparent; color: var(--ink); flex-shrink: 0; transition: color 0.2s, border-color 0.2s, background 0.2s; }
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .ico-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .ico-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .ico-moon { display: none; }
/* Full-width variant used inside the mobile menu */
.theme-toggle--menu { width: 100%; height: auto; border: none; border-top: 1px solid var(--line); border-radius: 0; justify-content: space-between; gap: 12px; padding: 15px clamp(20px, 4vw, 48px); }
.theme-toggle--menu:hover { color: var(--accent); border-color: var(--line); background: var(--panel); }
.theme-toggle--menu .tt-label { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

@media (max-width: 900px) { .nav-links { display: none; } }

/* Buttons */
.btn { display: inline-block; padding: 14px 28px; border-radius: 100px; background: var(--maroon); color: #FAF7F2; font-size: 14px; font-weight: 600; text-decoration: none; border: none; transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 6px 18px rgba(122,46,46,0.22); }
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: 0.5; transform: none; cursor: default; }
.btn.ghost { background: transparent; border: 1px solid var(--line-strong); color: var(--ink); box-shadow: none; }
.btn.sm { padding: 10px 20px; font-size: 12.5px; }
.btn.wide { width: 100%; text-align: center; }

/* Product cards */
.grid { display: grid; gap: 28px 24px; }
.grid.products { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.pcard { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit; }
.pimg { position: relative; aspect-ratio: 3/4; border-radius: 16px; overflow: hidden; background: repeating-linear-gradient(120deg, var(--ph-a), var(--ph-a) 12px, var(--ph-b) 12px, var(--ph-b) 24px); border: 1px solid var(--line); transition: transform 0.3s; display: flex; align-items: center; justify-content: center; }
.pcard:hover .pimg { transform: translateY(-5px); }
.pimg img { width: 100%; height: 100%; object-fit: cover; }
.pimg .ph { font-family: ui-monospace, monospace; font-size: 9.5px; color: var(--muted); text-align: center; padding: 0 14px; }
.badge { position: absolute; top: 12px; left: 12px; padding: 5px 11px; border-radius: 100px; background: var(--maroon); color: #FAF7F2; font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 600; }
.pcat { font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.pname { font-family: 'Newsreader', serif; font-size: 16.5px; font-weight: 500; margin-bottom: 6px; }
.price { font-size: 14.5px; font-weight: 600; }
.mrp { font-size: 12.5px; color: var(--muted); text-decoration: line-through; margin-left: 8px; }

/* Sections */
.section { padding: clamp(60px, 8vw, 110px) 0; }
.eyebrow { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; margin: 14px 0 0; }

/* Forms */
label { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--soft); display: block; margin-bottom: 6px; }
input, select, textarea { font-family: inherit; font-size: 14px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); outline: none; width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--maroon); }
.field { margin-bottom: 18px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }

/* Footer */
.footer { background: #211A16; color: #CBBBA6; padding: 56px 0 32px; margin-top: 40px; }
.footer a { color: #CBBBA6; text-decoration: none; font-size: 13.5px; }
.footer a:hover { color: #FAF7F2; }
.footer .cols { display: grid; grid-template-columns: minmax(200px, 1.4fr) repeat(3, minmax(120px, 1fr)); gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
@media (max-width: 800px) { .footer .cols { grid-template-columns: 1fr 1fr; } }
.footer .ft { font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 16px; }
.footer .links { display: flex; flex-direction: column; gap: 10px; }
.footer .base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 12.5px; color: #7A6C5A; }

/* Toast */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 300; background: var(--inverse-bg); color: var(--inverse-fg); padding: 13px 26px; border-radius: 100px; font-size: 13.5px; opacity: 0; transition: opacity 0.3s; pointer-events: none; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.toast.show { opacity: 1; }

/* Cart / summary */
.cart-line { display: grid; grid-template-columns: 84px 1fr auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-thumb { width: 84px; aspect-ratio: 3/4; border-radius: 12px; overflow: hidden; background: repeating-linear-gradient(120deg, var(--ph-a), var(--ph-a) 10px, var(--ph-b) 10px, var(--ph-b) 20px); display: flex; align-items: center; justify-content: center; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 100px; overflow: hidden; }
.qty button { width: 32px; height: 32px; border: none; background: transparent; font-size: 15px; color: var(--ink); }
.qty span { min-width: 30px; text-align: center; font-size: 13.5px; font-weight: 600; }
.summary { background: var(--panel); border-radius: 18px; padding: 28px; }
.sumrow { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 12px; color: var(--soft); }
.sumrow.total { font-size: 17px; font-weight: 600; color: var(--ink); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; }
.empty { text-align: center; padding: 80px 20px; color: var(--muted); }

/* Payment options */
.payopt { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; margin-bottom: 12px; background: var(--card); }
.payopt.active { border-color: var(--maroon); box-shadow: 0 0 0 1px var(--maroon); }
.payopt input { width: auto; margin-top: 3px; }

/* ---------------- Mobile navigation menu ---------------- */
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: transparent; }
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: none; flex-direction: column; background: var(--bg); box-shadow: 0 16px 32px rgba(43,36,32,0.12); border-bottom: 1px solid var(--line); }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 15px clamp(20px, 4vw, 48px); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-top: 1px solid var(--line); }
.mobile-menu a:active { background: var(--panel); }

@media (max-width: 900px) { .nav-toggle { display: flex; } }
@media (min-width: 901px) { .mobile-menu { display: none !important; } }

/* Declutter the top bar on mobile: the wishlist icon + account link already
   live inside the hamburger menu, so hide their duplicates in the nav bar.
   This keeps the title bar to wordmark + cart + hamburger, which fits small
   phones without horizontal overflow. */
@media (max-width: 900px) {
  .nav-actions .nav-icon { display: none; }
}
/* The theme toggle lives in the top bar at every size (including mobile), so
   the duplicate inside the hamburger menu is not needed. */
.theme-toggle--menu { display: none; }

/* Compact, icon-only bag on phones so the top bar never overflows. */
@media (max-width: 560px) {
  .cart-btn { width: 42px; height: 42px; padding: 0; gap: 0; justify-content: center; }
  .cart-label { display: none; }
  .cart-ico { width: 19px; height: 19px; }
  .cart-btn .cart-count { position: absolute; top: -3px; right: -3px; border: 2px solid var(--bg); }
  .nav-actions { gap: 8px; }
  .theme-toggle { width: 40px; height: 40px; }
}
/* Extra breathing room on very small phones (iPhone SE, etc.) */
@media (max-width: 380px) {
  .nav .wrap { padding-left: 16px; padding-right: 16px; }
  .nav-inner { gap: 10px; }
  .nav-actions { gap: 6px; }
  .wordmark { font-size: 18px; }
  .theme-toggle { width: 38px; height: 38px; }
  .cart-btn { width: 40px; height: 40px; }
}

/* ---------------- Mobile layout: stack two-column sections ---------------- */
@media (max-width: 760px) {
  #product-view,
  #checkout-view,
  #cart-view,
  .split-2 {
    grid-template-columns: 1fr !important;
  }
}

/* ---------------- Denser grids on small phones ---------------- */
@media (max-width: 560px) {
  .grid.products { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  #category-grid { grid-template-columns: 1fr 1fr !important; }
  .pname { font-size: 15px; }
  .cart-line { grid-template-columns: 64px 1fr auto; gap: 12px; }
}

/* ---------------- Mobile hero: video as full-bleed background ---------------- */
@media (max-width: 760px) {
  #hero-media {
    position: absolute !important; inset: 0 !important; z-index: 0;
    aspect-ratio: auto !important; border-radius: 0 !important;
    border: none !important; box-shadow: none !important;
  }
  #hero-media::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(24,17,13,0.35) 0%, rgba(24,17,13,0.66) 100%);
  }
  header .split-2 { min-height: 78vh; align-content: center; }
  .hero-copy { position: relative; z-index: 1; }
  .hero-copy h1 { color: #FAF7F2 !important; }
  .hero-copy h1 em { color: var(--gold) !important; }
  .hero-copy p { color: rgba(255,255,255,0.92) !important; }
  .hero-badge { background: rgba(255,255,255,0.14) !important; border-color: rgba(255,255,255,0.45) !important; }
  .hero-badge span:last-child { color: #FAF7F2 !important; }
  .hero-badge span:first-child { background: var(--gold) !important; }
  .hero-copy .btn.ghost { color: #FAF7F2 !important; border-color: rgba(255,255,255,0.55) !important; }
}

/* ======================= Accounts, wishlist & auth ======================= */

/* Nav: wishlist + account links */
.nav-icon { position: relative; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); text-decoration: none; padding: 8px 6px; white-space: nowrap; }
.nav-icon:hover { color: var(--accent); }
.nav-icon span[aria-hidden] { font-size: 17px; line-height: 1; }
.wish-count { min-width: 16px; height: 16px; padding: 0 4px; border-radius: 100px; background: var(--maroon); color: #FAF7F2; font-size: 10px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }

/* Wishlist heart on product cards */
.wish-btn { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 100px; border: none; background: rgba(250,247,242,0.9); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 3px 10px rgba(43,36,32,0.14); transition: transform 0.18s, background 0.18s; padding: 0; z-index: 2; }
.wish-btn:hover { transform: scale(1.08); }
.wish-btn svg { width: 18px; height: 18px; fill: none; stroke: var(--maroon); stroke-width: 1.8; transition: fill 0.18s; }
.wish-btn.is-wished { background: var(--maroon); }
.wish-btn.is-wished svg { fill: #FAF7F2; stroke: #FAF7F2; }

/* Product-detail "Save to Wishlist" button (labelled variant) */
.wish-save { position: static; width: auto; height: auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-shadow: none; backdrop-filter: none; background: transparent; }
.wish-save:hover { transform: none; }
.wish-save .wish-heart { font-size: 17px; line-height: 1; color: var(--maroon); }
.wish-save.is-wished { background: var(--maroon); color: #FAF7F2; border-color: var(--maroon); }
.wish-save.is-wished .wish-heart { color: #FAF7F2; }

/* Login / auth card */
.auth-card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: clamp(28px, 4vw, 44px); box-shadow: 0 18px 50px rgba(43,36,32,0.07); }
.auth-divider { display: flex; align-items: center; gap: 14px; margin: 24px 0; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.auth-note { font-size: 12.5px; color: var(--soft); line-height: 1.6; }
.auth-note code { background: var(--panel); padding: 1px 6px; border-radius: 6px; font-size: 12px; }
.otp-block label { margin-bottom: 8px; }
.otp-block input:disabled, .otp-block button:disabled { opacity: 0.55; cursor: not-allowed; }
.soon-badge { display: inline-block; background: var(--gold); color: #3a2d10; font-size: 10px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 2px 8px; border-radius: 100px; margin-right: 6px; vertical-align: middle; }

/* Account dashboard */
.acct-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.acct-id { display: flex; align-items: center; gap: 16px; }
.acct-avatar { width: 60px; height: 60px; border-radius: 100px; background: var(--maroon); color: #FAF7F2; font-family: 'Newsreader', serif; font-size: 26px; font-weight: 600; display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.acct-avatar img { width: 100%; height: 100%; object-fit: cover; }
.acct-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 28px; flex-wrap: wrap; }
.acct-tab { background: transparent; border: none; border-bottom: 2px solid transparent; padding: 12px 16px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--soft); cursor: pointer; margin-bottom: -1px; }
.acct-tab:hover { color: var(--ink); }
.acct-tab.active { color: var(--accent); border-bottom-color: var(--accent); }

/* Order cards + tracker */
.ord-card { border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; margin-bottom: 18px; background: var(--card); }
.ord-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.ord-id { font-weight: 600; font-size: 15px; }
.ord-date { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.status-pill { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 5px 12px; border-radius: 100px; white-space: nowrap; }
.status-pending { background: #FBEED6; color: #8a5a12; }
.status-confirmed { background: #DCE9FB; color: #1e4f8a; }
.status-shipped { background: #E4DCF7; color: #4a2f8a; }
.status-delivered { background: #D8EFDD; color: #1f6b34; }
.status-cancelled { background: #F6DADA; color: #8a2121; }

.track { display: flex; align-items: flex-start; gap: 4px; margin: 4px 0 22px; }
.track-step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; }
.track-step::before { content: ''; position: absolute; top: 7px; left: -50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.track-step:first-child::before { display: none; }
.track-step.done::before { background: var(--maroon); }
.track-dot { width: 16px; height: 16px; border-radius: 100px; background: var(--card); border: 2px solid var(--line); z-index: 1; }
.track-step.done .track-dot { background: var(--maroon); border-color: var(--maroon); }
.track-step.current .track-dot { box-shadow: 0 0 0 4px rgba(122,46,46,0.15); }
.track-label { font-size: 11px; color: var(--soft); text-align: center; letter-spacing: 0.02em; }
.track-step.done .track-label { color: var(--ink); font-weight: 600; }
.track.cancelled { display: block; }
.track-cancel { font-size: 13px; color: #8a2121; background: #F6DADA; border-radius: 10px; padding: 10px 14px; }

.ord-items { border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 8px; }
.ord-item { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--soft); gap: 12px; }
.ord-total { display: flex; justify-content: space-between; font-size: 15px; font-weight: 600; border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; }

/* Wishlist page */
.wish-banner { background: var(--panel); border-radius: 12px; padding: 14px 18px; font-size: 13.5px; color: var(--soft); margin-bottom: 26px; }

@media (max-width: 560px) {
  .track-label { font-size: 9.5px; }
  .acct-avatar { width: 52px; height: 52px; font-size: 22px; }
}

/* =======================================================================
   Premium landing — mandala art, scroll reveals, ticker & editorial story
   ======================================================================= */

/* ---- Decorative mandala layers (generated by js/mandala.js) ---- */
.mandala { position: absolute; pointer-events: none; z-index: 0; line-height: 0; }
.mandala svg { width: 100%; height: 100%; display: block; }
.mandala--spin { animation: mandala-spin 120s linear infinite; transform-origin: 50% 50%; }
.mandala--spin-rev { animation: mandala-spin 150s linear infinite reverse; transform-origin: 50% 50%; }
@keyframes mandala-spin { to { transform: rotate(360deg); } }

/* Soft radial fade so the art dissolves into the page instead of ending hard */
.mandala--fade { -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 55%, transparent 78%);
                         mask-image: radial-gradient(circle at 50% 50%, #000 55%, transparent 78%); }

/* Hero mandalas — brought forward in the light theme so the gold line-art
   frames the landing video; kept subtler in dark to avoid glare. */
.hero-mandala--lg { opacity: 0.2; }
.hero-mandala--sm { opacity: 0.16; }
:root[data-theme="light"] .hero-mandala--lg { opacity: 0.4; }
:root[data-theme="light"] .hero-mandala--sm { opacity: 0.3; }

/* ---- Hand-woven paper grain (subtle tactile depth) ---- */
.grain::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

/* ---- Scroll reveal ---- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s cubic-bezier(0.2,0.7,0.2,1), transform 0.9s cubic-bezier(0.2,0.7,0.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; } .reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; } .reveal.d4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .mandala--spin, .mandala--spin-rev { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- Gold flourish divider ---- */
.ornament { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 0 auto; }
.ornament::before, .ornament::after { content: ''; height: 1px; width: clamp(48px, 16vw, 150px); }
.ornament::before { background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament::after  { background: linear-gradient(90deg, var(--gold), transparent); }
.ornament span { color: var(--gold); font-size: 15px; letter-spacing: 0.3em; }

/* ---- Hero polish ---- */
.hero-copy .over { display: block; font-family: 'Newsreader', serif; font-style: italic; font-weight: 400;
  font-size: 0.42em; color: var(--gold); letter-spacing: 0.02em; margin-bottom: 6px; }
#hero-media { position: relative; }
#hero-media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(199,162,82,0.35), inset 0 0 60px rgba(43,36,32,0.18);
}
.hero-tag { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 34px; }
.hero-tag div { font-size: 12px; letter-spacing: 0.03em; color: var(--soft); }
.hero-tag b { display: block; font-family: 'Newsreader', serif; font-size: 22px; font-weight: 600; color: var(--ink); letter-spacing: 0; }

/* Fit the hero within the first screen (viewport minus the 72px sticky nav)
   and centre it, so the copy + buttons never spill below the fold. The media
   height is capped to the viewport too, so it scales down on shorter windows. */
@media (min-width: 761px) {
  header.grain .hero-split {
    min-height: calc(100vh - 72px);
    min-height: calc(100svh - 72px);
    align-content: center;
  }
  header.grain #hero-media { max-height: min(72vh, 600px); }
}

/* ---- Editorial "Our Story" ---- */
.story { position: relative; background: #23180F; color: #F3EADA; overflow: hidden; }
.story::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(199,162,82,0.14), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(122,46,46,0.28), transparent 55%);
}
.story .wrap { position: relative; z-index: 2; }
.story .eyebrow { color: var(--gold); }
.story-title { font-size: clamp(30px, 4vw, 54px); line-height: 1.08; margin: 14px 0 0; color: #FBF4E7; }
.story-q { font-family: 'Newsreader', serif; font-style: italic; font-size: clamp(19px, 2vw, 26px);
  line-height: 1.5; color: var(--gold); max-width: 720px; margin: 26px auto 0; }
.story-body { max-width: 760px; margin: 0 auto; }
.story-body p { font-size: clamp(15px, 1.2vw, 17px); line-height: 1.85; color: #DCCFBC; font-weight: 300; margin: 0 0 22px; }
.story-body p.lead { font-family: 'Newsreader', serif; font-size: clamp(18px, 1.7vw, 22px); font-style: italic;
  color: #F0E6D4; font-weight: 400; }
.story-mark { font-family: 'Newsreader', serif; font-size: clamp(20px, 2vw, 26px); color: var(--gold); font-weight: 600; }
.story-def { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(16px, 4vw, 56px); margin: 4px auto 8px; }
.story-def div { max-width: 260px; }
.story-def dt { font-family: 'Newsreader', serif; font-size: 30px; font-weight: 600; color: var(--gold); letter-spacing: 0.04em; }
.story-def dd { margin: 6px 0 0; font-size: 13.5px; line-height: 1.6; color: #C9BBA6; font-weight: 300; }
.story-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); max-width: 820px; margin: 0 auto; text-align: left; }
.story-pillars h4 { font-family: 'Newsreader', serif; font-size: 20px; color: var(--gold); margin: 0 0 10px; font-weight: 600; }
.story-pillars p { margin: 0; }
@media (max-width: 620px) { .story-pillars { grid-template-columns: 1fr; } }

/* Editorial textile triptych inside the story */
.story-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 820px; margin: 40px auto; }
.story-gallery figure { position: relative; margin: 0; aspect-ratio: 4/5; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(199,162,82,0.4); box-shadow: 0 22px 44px rgba(0,0,0,0.28); }
.story-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s cubic-bezier(0.2,0.7,0.2,1); }
.story-gallery figure:hover img { transform: scale(1.07); }
.story-gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 13px;
  font-family: 'Newsreader', serif; font-style: italic; font-size: 14.5px; color: #F5EDDD;
  background: linear-gradient(to top, rgba(18,11,5,0.82), transparent); }
@media (max-width: 560px) { .story-gallery { gap: 10px; margin: 30px auto; } .story-gallery figcaption { font-size: 12px; padding: 20px 10px 10px; } }

/* ---- Vision / The Road Ahead ---- */
.vision { position: relative; background: var(--panel); overflow: hidden; }
.vision .wrap { position: relative; z-index: 2; }
.vision-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 820px) { .vision-grid { grid-template-columns: 1fr; } }
.vision-card { position: relative; background: var(--card); border: 1px solid rgba(199,162,82,0.35); border-radius: 20px;
  padding: 30px 28px 32px; overflow: hidden; transition: transform 0.35s ease, box-shadow 0.35s ease; }
.vision-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(43,36,32,0.12); }
.vision-num { font-family: 'Newsreader', serif; font-size: 15px; color: var(--gold); letter-spacing: 0.16em; }
.vision-card h3 { font-family: 'Newsreader', serif; font-size: 24px; margin: 10px 0 12px; }
.vision-card p { font-size: 14.5px; line-height: 1.72; color: var(--soft); font-weight: 300; margin: 0; }
.vision-card .mandala { top: -46px; right: -46px; width: 150px; height: 150px; opacity: 0.22; }

/* ---- Signature closing line ---- */
.signature { text-align: center; }
.signature .line { font-family: 'Newsreader', serif; font-style: italic; font-size: clamp(24px, 3.4vw, 42px);
  line-height: 1.25; color: var(--ink); margin: 0; }
.signature .line em { color: var(--accent); font-style: italic; }
