/* ==========================================================================
   Punjabi Wisdom — storefront & archive design system
   Manuscript-inspired: ivory paper, deep Punjab green, saffron-gold, maroon.
   ========================================================================== */

/* ─── Fonts (self-hosted, see scripts/copy-fonts.mjs) ─────────────────────── */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/cormorant-garamond-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/cormorant-garamond-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url(/fonts/cormorant-garamond-latin-500-italic.woff2) format('woff2'); }
@font-face { font-family: 'Noto Nastaliq Urdu'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/noto-nastaliq-urdu-arabic-400-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'Noto Nastaliq Urdu'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/noto-nastaliq-urdu-arabic-700-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

/* ─── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --paper: #fbf8f1;
  --paper-2: #f5efe4;
  --paper-3: #ece3d2;
  --white: #fffdf9;
  --ink: #1c1a16;
  --ink-2: #3e3a33;
  --muted: #736b5e;
  --line: #e4dccb;
  --line-2: #d3c7b0;
  --green: #1e3b32;
  --green-2: #2a4e42;
  --green-3: #15291f;
  --cream: #efe6d2;
  --gold: #a8822f;
  --gold-ink: #85651f;
  --gold-2: #c9a55a;
  --maroon: #7c2d24;
  --wa: #128c4b;

  --serif: 'Cormorant Garamond', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --nastaliq: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', 'Urdu Typesetting', 'Noto Naskh Arabic', serif;

  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.86rem);
  --step-0: clamp(0.95rem, 0.92rem + 0.15vw, 1.03rem);
  --step-1: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --step-2: clamp(1.4rem, 1.25rem + 0.7vw, 1.85rem);
  --step-3: clamp(1.8rem, 1.5rem + 1.4vw, 2.6rem);
  --step-4: clamp(2.3rem, 1.8rem + 2.4vw, 3.7rem);
  --step-5: clamp(2.7rem, 2rem + 3.6vw, 4.8rem);

  --gutter: clamp(16px, 4vw, 40px);
  --container: 1320px;
  --section: clamp(56px, 8vw, 112px);
  --radius: 3px;
  --radius-lg: 8px;
  --shadow-1: 0 1px 2px rgb(28 26 22 / 0.05), 0 10px 30px -16px rgb(28 26 22 / 0.28);
  --shadow-2: 0 2px 6px rgb(28 26 22 / 0.06), 0 30px 60px -28px rgb(28 26 22 / 0.4);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 76px;
}

/* ─── Base ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 140px; }
body {
  margin: 0; background: var(--paper); color: var(--ink-2);
  font: 400 var(--step-0)/1.65 var(--sans); font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 0.2em; transition: color 0.2s, text-decoration-color 0.2s; }
a:hover { color: var(--green); text-decoration-color: currentColor; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--ink); line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
p { margin: 0 0 1em; text-wrap: pretty; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
::selection { background: color-mix(in srgb, var(--gold-2) 45%, transparent); color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
[hidden] { display: none !important; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--green); color: var(--cream); border-radius: var(--radius); }
.skip-link:focus { top: 12px; color: var(--cream); }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 780px; }
.page-pad { padding-block: clamp(28px, 4vw, 56px) var(--section); }
.center { text-align: center; }
.muted { color: var(--muted); }
.note { color: var(--muted); font-size: var(--step--1); font-style: italic; }
.fine { color: var(--muted); font-size: var(--step--1); margin-top: 1rem; }
.lede { font-size: var(--step-1); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.display { font-size: var(--step-4); line-height: 1.04; }
.h3 { font-size: var(--step-2); }

/* Shahmukhi */
.pa, [lang='pa-Arab'] { font-family: var(--nastaliq); line-height: 2.1; letter-spacing: 0; font-weight: 400; word-spacing: 0.05em; }
h1 .pa, h2 .pa, h3 .pa { line-height: 1.9; }

.eyebrow {
  font: 600 0.72rem/1.4 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-ink);
  margin: 0 0 0.9rem; display: flex; align-items: center; gap: 0.6rem;
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; opacity: 0.6; }
.eyebrow a { text-decoration: none; }
.eyebrow--gold { color: var(--gold-2); }
.section-head--center .eyebrow, .center .eyebrow { justify-content: center; }

.star { color: var(--gold); flex: none; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; margin: clamp(32px, 5vw, 56px) auto; color: var(--gold); max-width: 420px; }
.ornament span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2)); }
.ornament span:last-child { background: linear-gradient(270deg, transparent, var(--line-2)); }

/* ─── Buttons & links ────────────────────────────────────────────────────── */
.btn {
  --btn-bg: var(--green); --btn-fg: var(--cream); --btn-bd: var(--green);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 52px; padding: 0 1.75rem;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd); border-radius: var(--radius);
  font: 600 0.78rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:hover { --btn-bg: var(--green-3); color: var(--btn-fg); box-shadow: 0 12px 24px -14px rgb(21 41 31 / 0.6); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn.is-disabled { opacity: 0.45; pointer-events: none; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn--outline:hover { --btn-bg: var(--ink); --btn-fg: var(--paper); color: var(--paper); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: transparent; padding-inline: 0.75rem; }
.btn--ghost:hover { --btn-bg: transparent; color: var(--green); box-shadow: none; }
.btn--gold { --btn-bg: var(--gold-2); --btn-fg: var(--green-3); --btn-bd: var(--gold-2); }
.btn--gold:hover { --btn-bg: #d8b770; color: var(--green-3); }
.btn--on-dark { --btn-fg: var(--cream); }
.btn--on-dark:hover { color: var(--gold-2); }
.btn--whatsapp { --btn-bg: transparent; --btn-fg: var(--wa); --btn-bd: color-mix(in srgb, var(--wa) 45%, transparent); }
.btn--whatsapp:hover { --btn-bg: var(--wa); --btn-fg: #fff; color: #fff; }
.btn--sm { min-height: 40px; padding: 0 1.1rem; font-size: 0.7rem; }
.btn--lg { min-height: 60px; font-size: 0.82rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 1.75rem; }
.btn-row--center { justify-content: center; }
.btn-row form { display: contents; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.5rem; font: 600 0.76rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--ink); padding: 0.5rem 0; border-bottom: 1px solid var(--line-2); }
.link-arrow .icon { transition: transform 0.3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); font-size: var(--step--1); text-decoration: underline; text-underline-offset: 0.25em; }
.link-btn:hover { color: var(--maroon); }

.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: none; border: 0; color: var(--ink); text-decoration: none; position: relative; transition: background 0.2s; list-style: none; }
.icon-btn::-webkit-details-marker { display: none; }
.icon-btn:hover { background: var(--paper-2); color: var(--ink); }
.round-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--white); color: var(--ink); transition: all 0.25s var(--ease); }
.round-btn:hover:not(:disabled) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.round-btn:disabled { opacity: 0.35; cursor: default; }
.round-btn--dark { background: rgb(255 255 255 / 0.08); border-color: rgb(255 255 255 / 0.2); color: var(--cream); }

/* ─── Announcement bar ───────────────────────────────────────────────────── */
.announce { background: var(--green); color: var(--cream); font-size: 0.78rem; letter-spacing: 0.06em; overflow: hidden; height: 38px; display: flex; align-items: center; }
.announce__track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.announce:hover .announce__track { animation-play-state: paused; }
.announce__run { display: flex; flex: none; }
.announce__item { display: inline-flex; align-items: center; gap: 2.2rem; padding-right: 2.2rem; white-space: nowrap; }
.announce__item .star { color: var(--gold-2); }
.announce .pa { font-size: 0.85rem; line-height: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ─── Header ─────────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.3s, box-shadow 0.3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -24px rgb(28 26 22 / 0.5); }
.header__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h); transition: height 0.3s var(--ease); }
.site-header.is-scrolled .header__bar { height: 64px; }
.header__side { display: flex; align-items: center; gap: 2px; }
.header__side--end { justify-content: flex-end; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--maroon); color: #fff; font: 600 0.65rem/18px var(--sans); text-align: center; }
.cart-count.is-bump { animation: bump 0.5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo__mark { position: relative; display: grid; place-items: center; width: 44px; height: 44px; color: var(--green); }
.logo__mark .star { position: absolute; inset: 0; width: 44px; height: 44px; color: var(--green); }
.logo__mark span { position: relative; color: var(--gold-2); font-size: 1.1rem; line-height: 1; margin-top: 6px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__word { font: 600 1.7rem/1 var(--serif); letter-spacing: 0.01em; }
.logo__sub { display: flex; align-items: center; gap: 6px; margin-top: 4px; font: 500 0.62rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.logo__sub [lang='pa-Arab'] { font-size: 0.8rem; line-height: 1; letter-spacing: 0; text-transform: none; color: var(--gold-ink); }
.site-header.is-scrolled .logo__sub { display: none; }

.main-nav { border-top: 1px solid var(--line); }
.site-header.is-scrolled .main-nav { border-top-color: transparent; }
.main-nav__list { display: flex; justify-content: center; gap: clamp(14px, 2.4vw, 38px); list-style: none; margin: 0 auto; }
.main-nav__list > li > a { display: flex; align-items: center; gap: 4px; height: 50px; font: 500 0.76rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--ink); position: relative; }
.main-nav__list > li > a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 12px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.main-nav__list > li > a:hover::after, .main-nav__list > li > a[aria-current='page']::after, .has-menu:focus-within > a::after { transform: scaleX(1); }
.main-nav .icon { opacity: 0.6; transition: transform 0.3s; }
.has-menu:hover > a .icon { transform: rotate(180deg); }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 30px 50px -40px rgb(28 26 22 / 0.5); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s; }
.has-menu:hover > .mega, .has-menu:focus-within > .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner { display: grid; grid-template-columns: repeat(2, minmax(160px, 220px)) 1fr; gap: 48px; padding-block: 36px 40px; }
.mega__col { display: flex; flex-direction: column; gap: 10px; }
.mega__title { font: 600 0.7rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 8px; }
.mega__col a { font: 500 1.25rem/1.2 var(--serif); text-decoration: none; color: var(--ink); }
.mega__col a:hover { color: var(--green); padding-left: 4px; transition: padding 0.25s var(--ease); }
.mega__promo { position: relative; display: block; max-width: 460px; justify-self: end; border-radius: var(--radius); overflow: hidden; text-decoration: none; }
.mega__promo img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; transition: transform 0.8s var(--ease); }
.mega__promo:hover img { transform: scale(1.04); }
.mega__promo > span { position: absolute; inset: auto 0 0; padding: 18px 22px; background: linear-gradient(transparent, rgb(21 41 31 / 0.85)); color: var(--cream); display: flex; flex-direction: column; }
.mega__promo .pa { color: var(--gold-2); font-size: 1.1rem; line-height: 1.8; }
.mega__promo strong { font: 500 1.4rem/1.1 var(--serif); }

/* Search */
.search-pop > summary { list-style: none; }
.search-pop > summary::-webkit-details-marker { display: none; }
.search-pop__panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-1); padding-block: 22px; z-index: 5; animation: drop 0.25s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
.search-pop__form { display: flex; align-items: center; gap: 14px; }
.search-pop__form input { flex: 1; border: 0; border-bottom: 1px solid var(--line-2); background: transparent; padding: 12px 4px; font-size: var(--step-1); outline: none; }
.search-pop__form input:focus { border-bottom-color: var(--ink); }

/* Mobile nav */
.mobile-nav { display: none; }
.mobile-nav > summary { list-style: none; }
.mobile-nav > summary::-webkit-details-marker { display: none; }
.mobile-nav__panel { position: fixed; inset: 0 auto 0 0; width: min(88vw, 380px); background: var(--paper); z-index: 60; overflow-y: auto; padding: 18px 24px 32px; display: flex; flex-direction: column; box-shadow: var(--shadow-2); animation: slide-in-left 0.35s var(--ease); }
.mobile-nav[open]::before { content: ''; position: fixed; inset: 0; background: rgb(21 41 31 / 0.4); z-index: 59; animation: fade 0.3s; }
@keyframes slide-in-left { from { transform: translateX(-100%); } }
@keyframes fade { from { opacity: 0; } }
.mobile-nav__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.mobile-nav__head .eyebrow { margin: 0; }
.mobile-nav__link, .mobile-nav__group > summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); font: 500 1.5rem/1.1 var(--serif); color: var(--ink); text-decoration: none; list-style: none; cursor: pointer; }
.mobile-nav__group > summary::-webkit-details-marker { display: none; }
.mobile-nav__group[open] > summary .icon { transform: rotate(180deg); }
.mobile-nav__group > div { display: flex; flex-direction: column; padding: 8px 0 14px 12px; border-bottom: 1px solid var(--line); }
.mobile-nav__group > div a { padding: 8px 0; text-decoration: none; color: var(--ink-2); }
.mobile-nav__foot { margin-top: auto; padding-top: 28px; }
.mobile-nav__pa { display: block; font-size: 1.4rem; color: var(--gold-ink); margin-bottom: 12px; }

.socials { display: flex; gap: 6px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink); transition: all 0.25s; }
.socials a:hover { background: var(--green); border-color: var(--green); color: var(--cream); }

/* ─── Sections ───────────────────────────────────────────────────────────── */
.section { padding-block: var(--section); }
.section--flush-top { padding-top: 0; }
.section--tint { background: var(--paper-2); }
.section--parchment { background: var(--paper-2) radial-gradient(ellipse at top, rgb(255 255 255 / 0.55), transparent 70%); border-block: 1px solid var(--line); }
.section--dark { background: var(--green); color: var(--cream); }
.section--dark h2, .section--dark h3 { color: var(--cream); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 44px); flex-wrap: wrap; }
.section-head--center { justify-content: center; text-align: center; }
.section-head__tools { display: flex; align-items: center; gap: 22px; }
.section-title { margin: 0; font-size: var(--step-3); }
.section-title__pa { display: inline-block; font-size: 0.62em; color: var(--gold-ink); margin-inline-start: 0.35em; vertical-align: middle; }

/* ─── Hero slider ────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; }
.hero__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.hero__track::-webkit-scrollbar { display: none; }
.hero__slide { flex: 0 0 100%; scroll-snap-align: start; min-height: min(78vh, 700px); display: flex; align-items: center; position: relative; isolation: isolate; }
.hero__slide--light { background: var(--paper-2) radial-gradient(circle at 78% 50%, var(--white) 0, transparent 55%); }
.hero__slide--sand { background: #efe4cf radial-gradient(circle at 78% 50%, #f8f0e1 0, transparent 55%); }
.hero__slide--dark { background: var(--green) radial-gradient(circle at 78% 45%, var(--green-2) 0, transparent 60%); color: var(--cream); }
.hero__slide--dark .hero__title { color: var(--cream); }
.hero__slide--dark .eyebrow { color: var(--gold-2); }
.hero__slide--dark .hero__body { color: color-mix(in srgb, var(--cream) 82%, transparent); }
.hero__slide::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0.5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5 14.6 6l5-1.3L18.3 9.6 22.5 12l-4.2 2.4 1.3 4.9-5-1.3L12 22.5 9.4 18l-5 1.3 1.3-4.9L1.5 12l4.2-2.4L4.4 4.7l5 1.3Z' fill='none' stroke='%23a8822f' stroke-opacity='.12' stroke-width='.3'/%3E%3C/svg%3E"); mask-image: linear-gradient(90deg, transparent 30%, #000); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 80px); padding-block: clamp(40px, 6vw, 80px); }
.hero__copy { max-width: 600px; }
.hero__title { font-size: var(--step-5); font-weight: 500; line-height: 1.02; margin-bottom: 0.3em; }
.hero__pa { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem); color: var(--gold); margin: 0 0 0.6rem; line-height: 2; }
.hero__slide--dark .hero__pa { color: var(--gold-2); }
.hero__body { font-size: var(--step-1); max-width: 52ch; color: var(--ink-2); }
.hero__art { display: flex; justify-content: center; }
.hero__art img { width: min(100%, 560px); filter: drop-shadow(0 40px 50px rgb(28 26 22 / 0.22)); }
.hero__slide [data-reveal-hero] { opacity: 0; transform: translateY(18px); }
.hero__slide.is-active .hero__copy > * { animation: rise 0.9s var(--ease) both; }
.hero__slide.is-active .hero__copy > :nth-child(2) { animation-delay: 0.08s; }
.hero__slide.is-active .hero__copy > :nth-child(3) { animation-delay: 0.16s; }
.hero__slide.is-active .hero__copy > :nth-child(4) { animation-delay: 0.24s; }
.hero__slide.is-active .hero__copy > :nth-child(5) { animation-delay: 0.32s; }
.hero__slide.is-active .hero__art img { animation: float-in 1.2s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes float-in { from { opacity: 0; transform: translateY(24px) scale(0.97); } }
.hero__controls { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.hero__controls > * { pointer-events: auto; }
.hero__dots { display: flex; gap: 10px; }
.hero__dot { width: 44px; height: 24px; padding: 0; background: none; border: 0; display: grid; align-items: center; }
.hero__dot span { display: block; height: 2px; background: color-mix(in srgb, var(--ink) 20%, transparent); position: relative; overflow: hidden; }
.hero__dot span::after { content: ''; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.hero__dot[aria-selected='true'] span::after { transform: scaleX(1); transition: transform var(--slide-ms, 7000ms) linear; }
.hero.is-dark-active .hero__dot span { background: rgb(255 255 255 / 0.25); }
.hero.is-dark-active .round-btn { background: rgb(255 255 255 / 0.08); border-color: rgb(255 255 255 / 0.25); color: var(--cream); }
.hero__arrows { display: flex; gap: 10px; }

/* ─── Trust strip ────────────────────────────────────────────────────────── */
.trust { border-bottom: 1px solid var(--line); background: var(--white); }
.trust__list { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin-block: 0; padding-block: 22px; gap: 20px; }
.trust__list li { display: flex; align-items: center; gap: 14px; font-size: 0.84rem; color: var(--muted); }
.trust__list li .icon { color: var(--gold); flex: none; }
.trust__list strong { display: block; color: var(--ink); font-weight: 600; font-size: 0.86rem; }

/* ─── Product cards ──────────────────────────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(14px, 2vw, 28px); }
.card { position: relative; display: flex; flex-direction: column; }
.card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); border-radius: var(--radius); }
.card__media > a:not(.card__quick) { display: block; height: 100%; }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), opacity 0.6s var(--ease); }
.card__img--alt { opacity: 0; }
.card:hover .card__img { transform: scale(1.045); }
.card:hover .card__img--alt { opacity: 1; }
.card__badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 2; }
.card__quick-form { display: contents; }
.card__quick { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; display: flex; align-items: center; justify-content: center; min-height: 46px; background: var(--white); color: var(--ink); border: 0; border-radius: var(--radius); font: 600 0.72rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; box-shadow: var(--shadow-1); opacity: 0; transform: translateY(10px); transition: all 0.35s var(--ease); }
.card:hover .card__quick, .card__quick:focus-visible { opacity: 1; transform: none; }
.card__quick:hover { background: var(--green); color: var(--cream); }
.card__body { padding-top: 16px; display: flex; flex-direction: column; gap: 4px; }
.card__pa { font-size: 0.95rem; color: var(--gold-ink); line-height: 1.9; order: -1; align-self: flex-start; }
.card__title { font-size: 1.32rem; font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: 0; }
.card__title a { text-decoration: none; }
.card__meta { font-size: 0.82rem; color: var(--muted); margin: 0; }
.card .price { margin-top: 6px; }

.price { display: inline-flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font: 500 0.95rem/1.3 var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; }
.price--sale .price__now { color: var(--maroon); }
.price__was { color: var(--muted); font-size: 0.85em; text-decoration-thickness: 1px; }
.price--soon { color: var(--gold-ink); font-style: italic; font-family: var(--serif); font-size: 1.05rem; }
.price--lg { font-size: 1.45rem; }
.price--lg.price--soon { font-size: 1.6rem; }

.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 12px; font: 600 0.64rem/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; }
.badge--sale { background: var(--maroon); color: #fff; }
.badge--soldout { background: var(--ink); color: var(--paper); }
.badge--soon { background: var(--white); color: var(--gold-ink); border: 1px solid color-mix(in srgb, var(--gold) 50%, transparent); }
.badge--new, .badge--gold { background: var(--gold-2); color: var(--green-3); }

/* Carousel */
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * clamp(14px, 2vw, 28px)) / 4); gap: clamp(14px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 6px; overscroll-behavior-x: contain; }
.carousel::-webkit-scrollbar { display: none; }
.carousel__item { scroll-snap-align: start; min-width: 0; }
.carousel-nav { display: flex; gap: 8px; }

/* Collection tiles */
.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.tiles--wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile { --tile: var(--paper-3); display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.tile:hover { color: var(--ink); }
.tile__media { display: block; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--tile); border: 1px solid color-mix(in srgb, var(--ink) 6%, transparent); transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.tiles--wide .tile__media { border-radius: var(--radius); aspect-ratio: 4 / 3; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.tile:hover .tile__media { box-shadow: var(--shadow-1); transform: translateY(-4px); }
.tile:hover .tile__media img { transform: scale(1.06); }
.tile__body { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 14px; }
.tiles--wide .tile__body { align-items: flex-start; text-align: start; }
.tile__pa { font-size: 0.95rem; color: var(--gold-ink); line-height: 1.8; }
.tile__title { font-size: 1.35rem; font-weight: 600; margin: 0; }
.tile__count { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }

/* Spotlight */
.spotlight { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.spotlight__media { position: relative; display: block; padding-right: 18%; padding-bottom: 12%; }
.spotlight__media > img { border-radius: var(--radius); box-shadow: var(--shadow-2); }
.spotlight__inset { position: absolute; right: 0; bottom: 0; width: 42%; border: 8px solid var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-2); }
.spotlight__pa { font-size: 1.6rem; color: var(--gold); margin: 0; line-height: 2; }
.spotlight__sub { font: italic 500 1.35rem/1.3 var(--serif); color: var(--muted); }
.spotlight__facts { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 1.5rem; font-size: 0.9rem; }
.spotlight__facts li { display: flex; align-items: center; gap: 10px; }

/* Verse band */
.verse-band { background: var(--green); color: var(--cream); padding-block: clamp(64px, 9vw, 128px); text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.verse-band::before { content: ''; position: absolute; inset: -40%; z-index: -1; background: radial-gradient(circle, var(--green-2) 0, transparent 50%); }
.verse-band::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0.6; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5 14.6 6l5-1.3L18.3 9.6 22.5 12l-4.2 2.4 1.3 4.9-5-1.3L12 22.5 9.4 18l-5 1.3 1.3-4.9L1.5 12l4.2-2.4L4.4 4.7l5 1.3Z' fill='none' stroke='%23c9a55a' stroke-opacity='.10' stroke-width='.35'/%3E%3C/svg%3E"); }
.verse-band__inner { max-width: 980px; display: flex; flex-direction: column; align-items: center; }
.verse-band .eyebrow { justify-content: center; }
.verse-band__pa { font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3.6rem); line-height: 2.1; color: var(--cream); margin: 0.2em 0 0.4em; }
.verse-band__roman { font: italic 500 var(--step-2)/1.3 var(--serif); color: var(--gold-2); margin-bottom: 0.4em; }
.verse-band__en { font-size: var(--step-1); color: color-mix(in srgb, var(--cream) 80%, transparent); max-width: 52ch; margin-bottom: 2rem; }

/* Professor band */
.prof { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.prof__art img { border-radius: 240px 240px var(--radius) var(--radius); box-shadow: var(--shadow-2); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 2rem 0; padding: 1.5rem 0; border-block: 1px solid var(--line); }
.stats div { display: flex; flex-direction: column; }
.stats dt { font: 500 var(--step-3)/1 var(--serif); color: var(--green); }
.stats dd { margin: 6px 0 0; font-size: 0.78rem; color: var(--muted); line-height: 1.35; }
.stats-band { background: var(--white); border-block: 1px solid var(--line); }
.stats--band { margin: 0 auto; border: 0; padding-block: clamp(28px, 4vw, 44px); }
.stats--band dt { font-size: var(--step-4); }

/* Archive mini cards */
.kalam-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(14px, 2vw, 24px); }
.kcard { display: flex; flex-direction: column; padding: 28px 26px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); position: relative; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s; min-height: 250px; }
.kcard::before { content: '❝'; position: absolute; top: 14px; left: 20px; font: 3rem/1 var(--serif); color: var(--gold-2); opacity: 0.35; }
.kcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); border-color: var(--line-2); color: var(--ink); }
.kcard__verse { font-size: 1.35rem; line-height: 2.2; text-align: right; color: var(--ink); margin-top: 18px; }
.kcard__roman { font: italic 500 1.08rem/1.35 var(--serif); color: var(--muted); margin-top: 4px; }
.kcard__foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.kcard__title { font-size: 1.2rem; font-weight: 600; margin: 0; }
.kcard__meta { font-size: 0.78rem; color: var(--gold-ink); letter-spacing: 0.04em; }
.archive-mix { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(14px, 2vw, 24px); }

.archive-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.archive-links a { display: flex; flex-direction: column; gap: 4px; padding: 26px 24px; background: var(--white); text-decoration: none; color: var(--ink); transition: background 0.3s; }
.archive-links a:hover { background: var(--paper); }
.archive-links .icon { color: var(--gold); margin-bottom: 10px; }
.archive-links strong { font: 600 1.3rem/1.1 var(--serif); }
.archive-links span { font-size: 0.84rem; color: var(--muted); }
.archive-links--big a { padding: 34px 30px; }

/* Video cards */
.video-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.video-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.video-grid--stack { grid-template-columns: 1fr; }
.video-grid--stack .vcard { flex-direction: row; gap: 16px; }
.video-grid--stack .vcard__media { width: 44%; flex: none; }
.vcard { display: flex; flex-direction: column; }
.vcard__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--green-3); }
.vcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity 0.4s; opacity: 0.92; }
.vcard:hover .vcard__media img { transform: scale(1.05); opacity: 1; }
.vcard__play { position: absolute; left: 14px; bottom: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgb(255 253 249 / 0.92); color: var(--green); transition: transform 0.35s var(--ease), background 0.35s; }
.vcard:hover .vcard__play { transform: scale(1.1); background: var(--gold-2); }
.vcard__body { padding-top: 14px; }
.vcard__series { font: 600 0.68rem/1.4 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 4px; }
.vcard__title { font-size: 1.2rem; font-weight: 600; line-height: 1.2; margin: 0 0 4px; }
.vcard__title a { text-decoration: none; }
.vcard__date { font-size: 0.8rem; color: var(--muted); margin: 0; }

/* ─── Page hero (collections) ────────────────────────────────────────────── */
.page-hero { --hero-tint: var(--paper-2); background: linear-gradient(180deg, var(--hero-tint), var(--paper)); padding-block: clamp(20px, 3vw, 36px) clamp(32px, 5vw, 64px); }
.page-hero__grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; }
.page-hero__title { margin: 0.4em 0 0.1em; font-size: var(--step-5); }
.page-hero__pa { font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); color: var(--gold-ink); margin: 0 0 0.4rem; }
.page-hero__img { width: clamp(140px, 18vw, 240px); border-radius: 50%; box-shadow: var(--shadow-1); }
.page-title { font-size: var(--step-4); margin: 0.4em 0 0.5em; }
.page-title--md { font-size: var(--step-3); }
.page-title__pa { font-size: 0.55em; color: var(--gold-ink); margin-inline-start: 0.3em; }

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: 0.78rem; color: var(--muted); }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: 6px; opacity: 0.5; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs [aria-current] { color: var(--ink); }

/* Toolbar / filters */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 18px; margin-bottom: clamp(24px, 3vw, 36px); border-block: 1px solid var(--line); }
.toolbar__filters, .toolbar__sort { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.toolbar__count { font-size: 0.85rem; color: var(--muted); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-bottom: clamp(24px, 3vw, 36px); padding-bottom: 4px; }
.chip { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 19px; font-size: 0.84rem; text-decoration: none; white-space: nowrap; color: var(--ink-2); transition: all 0.2s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; cursor: pointer; }
.check input, .toggle input, .pay-option input { accent-color: var(--green); width: 18px; height: 18px; }
.select { position: relative; display: inline-flex; align-items: center; }
.select select { appearance: none; height: 42px; padding: 0 38px 0 14px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--white); font-size: 0.88rem; cursor: pointer; }
.select .icon { position: absolute; right: 12px; pointer-events: none; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: clamp(40px, 5vw, 64px); }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 8px; border-radius: 21px; text-decoration: none; font-size: 0.9rem; }
.pagination a:hover { background: var(--paper-2); }
.pagination [aria-current] { background: var(--ink); color: var(--paper); }
.pagination .is-disabled { opacity: 0.3; }

.empty { text-align: center; padding: clamp(40px, 6vw, 80px) 20px; max-width: 520px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.empty .star { margin-bottom: 10px; }
.empty h2 { font-size: var(--step-3); margin-bottom: 0.2em; }
.empty p { color: var(--muted); }
.empty .pa { font-size: 1.4rem; color: var(--gold-ink); }

/* ─── Product page ───────────────────────────────────────────────────────── */
.pdp { padding-block: 22px var(--section); }
.pdp__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 5vw, 80px); margin-top: 20px; align-items: start; }
.pdp__info { position: sticky; top: calc(var(--header-h) + 70px); }
.pdp__title { font-size: var(--step-4); margin-bottom: 0.1em; }
.pdp__pa { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); color: var(--gold); margin: 0; line-height: 2; }
.pdp__sub { font: italic 500 1.3rem/1.35 var(--serif); color: var(--muted); margin-bottom: 0.4rem; }
.pdp__author { font-size: 0.9rem; color: var(--ink-2); }

.gallery { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; position: sticky; top: calc(var(--header-h) + 70px); }
.gallery__main { grid-column: 2; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius); background: var(--paper-2); }
.gallery__main::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; aspect-ratio: 4 / 5; overflow: hidden; cursor: zoom-in; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery__slide.is-zoomed { cursor: zoom-out; }
.gallery__slide.is-zoomed img { transform: scale(1.9); }
.gallery__thumbs { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 10px; }
.gallery__thumb { padding: 0; border: 1px solid transparent; border-radius: var(--radius); background: var(--paper-2); overflow: hidden; opacity: 0.6; transition: all 0.25s; }
.gallery__thumb[aria-selected='true'], .gallery__thumb:hover { opacity: 1; border-color: var(--ink); }

.buybox { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.buybox__price { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.buybox__tax { font-size: 0.8rem; color: var(--muted); margin: 6px 0 0; }
.buybox__row { display: flex; gap: 12px; margin: 14px 0 10px; }
.buybox .btn--whatsapp { margin-top: 2px; }
.variants { margin-top: 1.4rem; display: grid; gap: 1.2rem; }
.option-group { border: 0; margin: 0; padding: 0; }
.option-group legend { font-size: 0.85rem; color: var(--muted); margin-bottom: 10px; padding: 0; }
.option-group legend strong { color: var(--ink); font-weight: 600; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; height: 42px; padding: 0 20px; border: 1px solid var(--line-2); border-radius: 21px; font-size: 0.88rem; transition: all 0.2s; background: var(--white); }
.pill input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pill input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.pill.is-unavailable span { color: var(--muted); text-decoration: line-through; }
.stock { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; margin: 1.2rem 0 0; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot--ok { background: #3c8a5d; box-shadow: 0 0 0 4px rgb(60 138 93 / 0.15); }
.dot--low { background: #c58a1b; box-shadow: 0 0 0 4px rgb(197 138 27 / 0.15); }
.dot--out { background: var(--maroon); }
.soon-box { margin-top: 1.4rem; padding: 18px 20px; background: var(--paper-2); border: 1px dashed var(--line-2); border-radius: var(--radius); display: grid; gap: 12px; }
.soon-box p { margin: 0; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--white); height: 52px; flex: none; }
.qty__btn { width: 42px; height: 100%; display: grid; place-items: center; border: 0; background: none; color: var(--ink); }
.qty__btn:hover { color: var(--green); }
.qty__input { width: 42px; text-align: center; border: 0; background: none; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-lines--compact .qty { height: 38px; }
.cart-lines--compact .qty__btn { width: 32px; }
.cart-lines--compact .qty__input { width: 30px; font-size: 0.85rem; }

.assure { list-style: none; padding: 0; margin: 1.6rem 0; display: grid; gap: 12px; font-size: 0.86rem; color: var(--muted); }
.assure li { display: flex; align-items: center; gap: 12px; }
.assure .icon { color: var(--gold); flex: none; }
.assure strong { color: var(--ink); font-weight: 600; }
.accordions { border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc > summary { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; cursor: pointer; list-style: none; font: 600 0.78rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary .icon { transition: transform 0.3s var(--ease); }
.acc[open] > summary .icon { transform: rotate(45deg); }
.acc > :not(summary) { padding-bottom: 18px; }
.spec { margin: 0; display: grid; gap: 0; font-size: 0.9rem; }
.spec div { display: grid; grid-template-columns: 120px 1fr; padding: 8px 0; border-bottom: 1px dotted var(--line); }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; color: var(--ink); }

.prose { color: var(--ink-2); }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose h2 { font-size: var(--step-3); margin-top: 1.6em; }
.prose h3 { font-size: var(--step-2); margin-top: 1.4em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--green); }
.prose blockquote { margin: 2em 0; padding: 0.4em 0 0.4em 1.4em; border-left: 2px solid var(--gold); }
.prose blockquote p { font: italic 500 var(--step-2)/1.35 var(--serif); color: var(--ink); margin: 0; }
.prose blockquote cite { display: block; margin-top: 0.6em; font-size: 0.85rem; font-style: normal; color: var(--muted); }
.prose--lg { font-size: var(--step-1); line-height: 1.75; }
.prose--lg p:first-of-type::first-letter { font: 500 3.6em/0.8 var(--serif); float: left; margin: 0.08em 0.1em 0 0; color: var(--green); }

.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: color-mix(in srgb, var(--white) 94%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding-block: 10px; padding-bottom: max(10px, env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform 0.35s var(--ease); }
.sticky-buy.is-visible { transform: none; }
.sticky-buy__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sticky-buy__title { font: 600 1.1rem/1.2 var(--serif); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ─── Cart & drawer ──────────────────────────────────────────────────────── */
.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer__scrim { position: absolute; inset: 0; background: rgb(21 41 31 / 0.42); opacity: 0; transition: opacity 0.35s var(--ease); }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(100vw, 440px); background: var(--paper); box-shadow: var(--shadow-2); transform: translateX(100%); transition: transform 0.45s var(--ease); display: flex; flex-direction: column; outline: none; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__panel > div { display: contents; }
.drawer__inner { display: flex; flex-direction: column; height: 100%; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.7rem; margin: 0; }
.drawer__count { color: var(--muted); font-size: 0.8em; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer__foot { padding: 18px 24px max(22px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--white); }
.drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 24px; gap: 8px; }
.drawer__empty-pa { font-size: 1.5rem; color: var(--gold-ink); }
.drawer__loading { flex: 1; display: grid; place-items: center; height: 100%; animation: spin 1.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.drawer.is-busy .drawer__body { opacity: 0.5; pointer-events: none; }

.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-line { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-lines--compact .cart-line { grid-template-columns: 76px 1fr; gap: 14px; }
.cart-line__media img { border-radius: var(--radius); background: var(--paper-2); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.cart-line__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cart-line__title { font: 600 1.15rem/1.2 var(--serif); text-decoration: none; color: var(--ink); }
.cart-line__variant { font-size: 0.8rem; color: var(--muted); }
.cart-line__warn { font-size: 0.8rem; color: var(--maroon); font-weight: 500; }
.cart-line--problem .cart-line__media { opacity: 0.5; }
.cart-line__actions { display: flex; align-items: center; gap: 18px; margin-top: 8px; }
.cart-line__actions form { display: flex; align-items: center; gap: 8px; }
.cart-line__total { font-weight: 500; font-variant-numeric: tabular-nums; }

.summary__rows { margin: 0 0 16px; display: grid; gap: 8px; font-size: 0.92rem; }
.summary__rows div { display: flex; justify-content: space-between; }
.summary__rows dt { color: var(--muted); }
.summary__rows dd { margin: 0; font-variant-numeric: tabular-nums; }
.summary__total { padding-top: 12px; border-top: 1px solid var(--line); font-size: 1.05rem; }
.summary__total dt, .summary__total dd { color: var(--ink); font-weight: 600; }
.summary .btn + .btn { margin-top: 10px; }
.summary__note { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.78rem; color: var(--muted); margin: 14px 0 0; }
.free-ship { font-size: 0.85rem; margin-bottom: 16px; }
.free-ship p { margin: 0 0 8px; }
.free-ship__bar { display: block; height: 4px; background: var(--paper-3); border-radius: 2px; overflow: hidden; }
.free-ship__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); border-radius: 2px; transition: width 0.6s var(--ease); }
.free-ship--done { display: flex; align-items: center; gap: 8px; color: #2f6f4b; }

.cart-page { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 4vw, 64px); align-items: start; margin-top: 12px; }
.cart-page__aside { position: sticky; top: calc(var(--header-h) + 70px); padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }

.alert { padding: 14px 18px; border-radius: var(--radius); font-size: 0.9rem; border: 1px solid; }
.alert--warn { background: #fbf1e6; border-color: #ebcfae; color: #7a4313; }
.alert--ok { background: #ecf4ee; border-color: #bcd8c5; color: #1f5135; }

/* ─── Forms ──────────────────────────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; flex: 1; min-width: 0; }
.field__label { font-size: 0.8rem; font-weight: 600; color: var(--ink); letter-spacing: 0.02em; }
.field__opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select, .search-big input, .newsletter input {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--white);
  font-size: 1rem; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus, .search-big input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgb(30 59 50 / 0.12); }
.field__hint { font-size: 0.78rem; color: var(--muted); }
.field__error { font-size: 0.8rem; color: var(--maroon); font-weight: 500; }
.field--error input, .field--error textarea { border-color: var(--maroon); }
.field-row { display: flex; gap: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); margin: 0 0 20px; }
fieldset.panel { min-width: 0; }
.panel legend, .panel__title { font: 500 1.6rem/1.1 var(--serif); color: var(--ink); padding: 0; margin-bottom: 18px; }
.panel legend { float: left; width: 100%; }
.panel legend + * { clear: both; }
.panel--sticky { position: sticky; top: calc(var(--header-h) + 70px); }
.panel--gold { border-color: color-mix(in srgb, var(--gold) 45%, transparent); background: #fdf8ec; }

.checkout__grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.pay-options { display: grid; gap: 12px; clear: both; }
.pay-option { position: relative; display: block; cursor: pointer; }
.pay-option input { position: absolute; top: 22px; right: 20px; }
.pay-option__body { display: flex; gap: 16px; align-items: flex-start; padding: 18px 54px 18px 18px; border: 1px solid var(--line-2); border-radius: var(--radius); transition: all 0.2s; }
.pay-option__body .icon { color: var(--gold); flex: none; margin-top: 2px; }
.pay-option__body strong { display: block; color: var(--ink); }
.pay-option__body span span { font-size: 0.85rem; color: var(--muted); }
.pay-option input:checked + .pay-option__body { border-color: var(--green); background: #f3f6f2; box-shadow: inset 0 0 0 1px var(--green); }
.mini-lines { list-style: none; padding: 0; margin: 0 0 18px; display: inline-grid; gap: 14px; }
.mini-lines li { display: flex; align-items: center; gap: 14px; font-size: 0.9rem; }
.mini-lines__img { position: relative; flex: none; }
.mini-lines__img img { width: 56px; border-radius: var(--radius); border: 1px solid var(--line); }
.mini-lines__qty { position: absolute; top: -8px; right: -8px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--ink-2); color: #fff; font-size: 0.7rem; display: grid; place-items: center; }
.mini-lines__name { flex: 1; display: flex; flex-direction: column; color: var(--ink); }
.mini-lines__name small { color: var(--muted); font-size: 0.78rem; }

.order { max-width: 960px; }
.order__head { text-align: center; display: flex; flex-direction: column; align-items: center; padding-block: 20px 40px; }
.order__head .eyebrow { justify-content: center; }
.order__check { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--green); color: var(--gold-2); margin-bottom: 20px; animation: pop 0.6s var(--ease) both; }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } }
.order__pa { font-size: 1.5rem; color: var(--gold-ink); margin: 0; }
.order__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.order__keep { text-align: center; color: var(--muted); font-size: 0.85rem; margin-top: 12px; }
.bank { white-space: pre-wrap; font: 500 0.95rem/1.7 var(--sans); background: var(--white); border: 1px solid var(--line); padding: 14px 16px; border-radius: var(--radius); }

.search-big { display: flex; align-items: center; gap: 12px; margin: 10px 0 24px; max-width: 760px; }
.search-big .icon { flex: none; color: var(--muted); }
.search-group { margin-top: 36px; }
.result-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.result-list a { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font: 500 1.2rem/1.2 var(--serif); color: var(--ink); }
.result-list a:hover { padding-left: 10px; transition: padding 0.25s var(--ease); }

.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(28px, 5vw, 80px); align-items: start; margin-top: 16px; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 28px; }
.contact-card { display: flex; flex-direction: column; gap: 2px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-decoration: none; color: var(--ink); transition: all 0.25s; }
a.contact-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.contact-card .icon { color: var(--gold); margin-bottom: 10px; }
.contact-card span { font-size: 0.85rem; color: var(--muted); overflow-wrap: anywhere; }
.policy-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.88rem; }
.policy-nav [aria-current] { color: var(--green); font-weight: 600; }

.notfound { text-align: center; display: flex; flex-direction: column; align-items: center; }
.notfound .eyebrow { justify-content: center; }
.notfound h1 em { color: var(--gold); }

/* ─── Archive ────────────────────────────────────────────────────────────── */
.archive-hero { background: var(--green); color: var(--cream); padding-block: clamp(28px, 4vw, 44px) clamp(48px, 7vw, 96px); position: relative; overflow: hidden; isolation: isolate; }
.archive-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0.7; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='110' height='110' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5 14.6 6l5-1.3L18.3 9.6 22.5 12l-4.2 2.4 1.3 4.9-5-1.3L12 22.5 9.4 18l-5 1.3 1.3-4.9L1.5 12l4.2-2.4L4.4 4.7l5 1.3Z' fill='none' stroke='%23c9a55a' stroke-opacity='.09' stroke-width='.35'/%3E%3C/svg%3E"); mask-image: linear-gradient(120deg, transparent 20%, #000 80%); }
.archive-hero .breadcrumbs ol { color: color-mix(in srgb, var(--cream) 65%, transparent); }
.archive-hero .breadcrumbs [aria-current] { color: var(--cream); }
.archive-hero .breadcrumbs a:hover { color: var(--gold-2); }
.archive-hero .eyebrow { margin-top: 28px; }
.archive-hero__title { color: var(--cream); font-size: var(--step-5); max-width: 15ch; margin-bottom: 0.2em; }
.archive-hero__pa { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.4rem); color: var(--gold-2); margin: 0; }
.archive-hero__lede { font-size: var(--step-1); color: color-mix(in srgb, var(--cream) 82%, transparent); max-width: 58ch; }
.archive-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.archive-hero--hub .archive-hero__title { max-width: 14ch; }
.archive-hero--hub { padding-top: clamp(56px, 8vw, 110px); }
.archive-hero__verse { margin: 0; padding: clamp(28px, 4vw, 48px); border: 1px solid rgb(201 165 90 / 0.35); border-radius: var(--radius-lg); background: rgb(255 255 255 / 0.04); text-align: center; }
.archive-hero__verse blockquote { margin: 0; font-size: clamp(1.5rem, 1rem + 1.8vw, 2.4rem); line-height: 2.2; color: var(--cream); }
.archive-hero__verse figcaption { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; font: italic 500 1.15rem/1.3 var(--serif); color: var(--gold-2); }
.archive-hero__verse figcaption a { font-style: normal; font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream); text-decoration: none; }
.poet-name-pa { font-size: clamp(3rem, 2rem + 5vw, 6.5rem); color: var(--gold-2); text-align: center; margin: 0; line-height: 1.9; }

.poet-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.pcard { display: flex; flex-direction: column; padding: 26px 24px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: all 0.4s var(--ease); position: relative; overflow: hidden; }
.pcard::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); color: var(--ink); }
.pcard:hover::after { transform: scaleX(1); }
.pcard__pa { font-size: 2rem; color: var(--green); line-height: 1.9; text-align: right; }
.pcard__name { font-size: 1.45rem; font-weight: 600; margin: 4px 0 2px; }
.pcard__era { font-size: 0.78rem; color: var(--gold-ink); letter-spacing: 0.04em; }
.pcard__summary { font-size: 0.86rem; color: var(--muted); margin-top: 10px; line-height: 1.5; }

.kalam-group { margin-bottom: clamp(36px, 5vw, 64px); }
.kalam-group__title { display: flex; align-items: baseline; gap: 16px; font-size: var(--step-3); padding-bottom: 14px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.kalam-group__title a { text-decoration: none; }
.kalam-group__pa { font-size: 0.6em; color: var(--gold-ink); }

/* Kalam reader */
.reader__head { padding-block: 24px 36px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.reader__head .breadcrumbs { align-self: flex-start; }
.reader__head .eyebrow { justify-content: center; margin-top: 30px; }
.reader__head .lede { margin-inline: auto; }
.reader__title { font-size: var(--step-5); margin-bottom: 0; }
.reader__pa { font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem); color: var(--gold); margin: 0 0 0.4em; }
.reader__toggles { display: inline-flex; gap: 4px; padding: 5px; margin-top: 18px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 26px; }
.toggle { position: relative; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; inset: 0; }
.toggle span { display: inline-flex; align-items: center; height: 38px; padding: 0 18px; border-radius: 19px; font-size: 0.82rem; color: var(--muted); transition: all 0.2s; }
.toggle span:lang(pa-Arab), .toggle span[lang] { font-family: var(--nastaliq); }
.toggle input:checked + span { background: var(--ink); color: var(--paper); }
.toggle input:focus-visible + span { outline: 2px solid var(--gold); }
.reader__body { max-width: 900px; }
.verses { list-style: none; margin: 0; padding: 0; counter-reset: verse; }
.verse { display: grid; grid-template-columns: 48px 1fr 44px; gap: 18px; padding: clamp(24px, 3vw, 40px) 0; border-top: 1px solid var(--line); align-items: start; }
.verse:target { background: linear-gradient(90deg, transparent, rgb(201 165 90 / 0.12), transparent); }
.verse__n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); font: 600 0.78rem/1 var(--sans); color: var(--gold-ink); text-decoration: none; margin-top: 10px; }
.verse__text { display: flex; flex-direction: column; gap: 10px; }
.verse__pa { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); line-height: 2.25; color: var(--ink); margin: 0; text-align: right; }
.verse__roman { font: italic 500 var(--step-2)/1.35 var(--serif); color: var(--green); margin: 0; }
.verse__en { font-size: var(--step-1); color: var(--ink-2); margin: 0; }
.verse__note { font-size: 0.88rem; color: var(--muted); margin: 6px 0 0; padding-left: 14px; border-left: 2px solid var(--gold-2); }
.verse__copy { color: var(--muted); margin-top: 8px; }
.reader.hide-pa .verse__pa, .reader.hide-roman .verse__roman, .reader.hide-en .verse__en, .reader.hide-note .verse__note { display: none; }
.reader__source { padding: 32px 0 var(--section); border-top: 1px solid var(--line); display: grid; gap: 12px; }

/* Video page */
.video-page__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: 20px; align-items: start; }
.lite-yt { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-2); }
.lite-yt img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.lite-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lite-yt__btn { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 253 249 / 0.94); color: var(--green); transition: transform 0.3s var(--ease), background 0.3s; }
.lite-yt__btn:hover { transform: scale(1.08); background: var(--gold-2); color: var(--green-3); }

/* Library */
.doc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.dcard { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.dcard__media { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); box-shadow: var(--shadow-1); }
.dcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.dcard:hover .dcard__media img { transform: scale(1.04); }
.dcard__body { padding-top: 14px; display: flex; flex-direction: column; }
.dcard__pa { color: var(--gold-ink); font-size: 1rem; }
.dcard__title { font-size: 1.3rem; font-weight: 600; margin: 0; }
.dcard__meta { font-size: 0.8rem; color: var(--muted); }

.viewer-page__head { padding-block: 24px 28px; }
.viewer-page__foot { padding-block: 20px var(--section); }
.viewer { background: #191714; color: var(--cream); outline: none; }
.viewer__bar { position: sticky; top: 64px; z-index: 5; display: flex; justify-content: center; align-items: center; gap: 12px; padding: 12px; background: rgb(25 23 20 / 0.92); backdrop-filter: blur(8px); }
.viewer__count { min-width: 80px; text-align: center; font-variant-numeric: tabular-nums; font-size: 0.9rem; }
.viewer__stage { display: grid; gap: 28px; justify-items: center; padding: 28px var(--gutter) 40px; }
.viewer__page { margin: 0; max-width: min(100%, 860px); }
.viewer__page img { box-shadow: 0 20px 60px -20px #000; background: #f4ecdc; }
.viewer__page figcaption { text-align: center; font-size: 0.78rem; color: rgb(239 230 210 / 0.6); margin-top: 8px; }
.viewer__thumbs { display: none; }
.viewer.is-enhanced .viewer__stage { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 0; padding: 24px 0; align-items: center; }
.viewer.is-enhanced .viewer__stage::-webkit-scrollbar { display: none; }
.viewer.is-enhanced .viewer__page { flex: 0 0 100%; max-width: none; display: flex; flex-direction: column; align-items: center; scroll-snap-align: center; padding-inline: var(--gutter); }
.viewer.is-enhanced .viewer__page img { max-height: calc(100vh - 260px); width: auto; transition: transform 0.4s var(--ease); cursor: zoom-in; }
.viewer.is-zoomed .viewer__page img { transform: scale(1.8); cursor: zoom-out; }
.viewer.is-zoomed .viewer__stage { overflow: hidden; }
.viewer.is-enhanced .viewer__thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 12px var(--gutter) 18px; justify-content: safe center; scrollbar-width: thin; }
.viewer__thumbs button { flex: none; padding: 0; border: 2px solid transparent; border-radius: 2px; background: none; opacity: 0.5; }
.viewer__thumbs button[aria-current='true'] { opacity: 1; border-color: var(--gold-2); }

/* About */
.about-hero { background: var(--paper-2); padding-block: clamp(24px, 3vw, 40px) clamp(48px, 7vw, 100px); position: relative; overflow: hidden; }
.about-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.about-hero .eyebrow { margin-top: 40px; }
.about-hero__title { font-size: var(--step-5); margin-bottom: 0; }
.about-hero__pa { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.6rem); color: var(--gold); margin: 0 0 0.4em; }
.about-hero__lede { font-size: var(--step-1); max-width: 56ch; }
.about-hero__art img { border-radius: 300px 300px var(--radius) var(--radius); box-shadow: var(--shadow-2); }

.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; position: relative; }
.timeline::before { content: ''; position: absolute; left: 180px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--line-2), var(--gold), var(--line-2)); }
.timeline__item { display: grid; grid-template-columns: 160px 40px 1fr; gap: 0; padding-bottom: clamp(24px, 3vw, 40px); align-items: start; }
.timeline__year { font: 500 1.5rem/1.2 var(--serif); color: var(--green); text-align: right; padding-right: 10px; }
.timeline__dot { display: grid; place-items: center; width: 40px; height: 34px; background: var(--paper-2); position: relative; z-index: 1; }
.timeline__body h3 { font-size: 1.45rem; margin-bottom: 0.25em; }
.timeline__body p { color: var(--ink-2); margin: 0; }

.sangat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.sangat__pa { font-size: 1.6rem; color: var(--gold); margin: 0; }

.awards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; list-style: none; margin: 0; padding: 0; background: rgb(201 165 90 / 0.25); border: 1px solid rgb(201 165 90 / 0.25); border-radius: var(--radius-lg); overflow: hidden; }
.awards li { padding: 34px 28px; background: var(--green); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.awards .star { color: var(--gold-2); margin-bottom: 8px; }
.awards__pa { font-size: 1.15rem; color: var(--gold-2); }
.awards h3 { font-size: 1.4rem; margin: 0; }
.awards p { font-size: 0.86rem; color: color-mix(in srgb, var(--cream) 72%, transparent); margin: 0; }

.translations { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.translations li { display: flex; flex-direction: column; gap: 2px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.translations strong { font: 600 1.4rem/1.1 var(--serif); color: var(--green); }
.translations span { font-size: 0.9rem; }
.translations em { font-size: 0.82rem; color: var(--muted); }

.press { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-2); }
.press a { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; padding: 22px 4px; border-bottom: 1px solid var(--line-2); text-decoration: none; color: var(--ink); align-items: center; }
.press a > * { grid-column: 1; }
.press a .icon { grid-column: 2; grid-row: 1 / span 3; transition: transform 0.3s var(--ease); }
.press a:hover .icon { transform: translateX(6px); }
.press__outlet { font: 600 0.68rem/1.4 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink); }
.press strong { font: 500 1.4rem/1.2 var(--serif); }
.press__excerpt { font-size: 0.88rem; color: var(--muted); }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.site-footer { background: var(--green-3); color: color-mix(in srgb, var(--cream) 78%, transparent); margin-top: 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.newsletter { background: var(--green); border-bottom: 1px solid rgb(201 165 90 / 0.18); }
.newsletter__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 40px; align-items: center; padding-block: clamp(40px, 6vw, 72px); }
.newsletter h2 { color: var(--cream); font-size: var(--step-3); margin: 0; max-width: 20ch; }
.newsletter__form { display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter__form input { flex: 1 1 240px; background: rgb(255 255 255 / 0.06); border-color: rgb(239 230 210 / 0.25); color: var(--cream); }
.newsletter__form input::placeholder { color: rgb(239 230 210 / 0.55); }
.newsletter__form input:focus { outline: none; border-color: var(--gold-2); }
.newsletter__msg { flex-basis: 100%; margin: 0; font-size: 0.85rem; color: var(--gold-2); min-height: 1.2em; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding-block: clamp(48px, 6vw, 80px) 36px; }
.footer__grid > div { display: flex; flex-direction: column; gap: 10px; font-size: 0.9rem; }
.footer__brand .logo { color: var(--cream); margin-bottom: 8px; }
.footer__brand .logo__mark, .footer__brand .logo__mark .star { color: var(--gold-2); }
.footer__brand .logo__mark span { color: var(--green-3); }
.footer__brand .logo__sub { color: rgb(239 230 210 / 0.6); }
.footer__brand .logo__sub [lang] { color: var(--gold-2); }
.footer__brand p { max-width: 38ch; }
.footer__brand .socials a { border-color: rgb(239 230 210 / 0.25); color: var(--cream); }
.footer__brand .socials a:hover { background: var(--gold-2); border-color: var(--gold-2); color: var(--green-3); }
.footer__title { font: 600 0.7rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-2); margin: 0 0 8px; }
.footer__pa { display: flex; align-items: center; justify-content: center; gap: 22px; padding-block: 18px 34px; border-top: 1px solid rgb(239 230 210 / 0.1); flex-wrap: wrap; }
.footer__pa .pa { font-size: clamp(2rem, 1.4rem + 2.5vw, 3.4rem); color: rgb(201 165 90 / 0.85); }
.footer__pa > span:last-child { font: italic 500 1.2rem/1 var(--serif); color: rgb(239 230 210 / 0.55); }
.footer__bottom { border-top: 1px solid rgb(239 230 210 / 0.1); font-size: 0.78rem; }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 20px max(20px, env(safe-area-inset-bottom)); }
.footer__pay { display: inline-flex; align-items: center; gap: 8px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 90; transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: 14px 22px; border-radius: 30px; font-size: 0.88rem; box-shadow: var(--shadow-2); animation: toast-in 0.35s var(--ease); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } }

/* Scroll reveal (only applied by app.js to elements below the fold) */
.reveal-pending { opacity: 0; transform: translateY(22px); }
.reveal-in { opacity: 1; transform: none; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--reveal-delay, 0ms); }

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .poet-grid, .doc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .awards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  :root { --header-h: 64px; }
  .main-nav { display: none; }
  .mobile-nav { display: block; }
  .logo__word { font-size: 1.45rem; }
  .logo__mark, .logo__mark .star { width: 38px; height: 38px; }
  .hero__inner, .spotlight, .prof, .pdp__grid, .cart-page, .checkout__grid, .contact, .archive-hero__grid, .about-hero__grid, .sangat, .video-page__grid, .newsletter__inner { grid-template-columns: 1fr; }
  .hero__slide { min-height: 0; }
  .hero__inner { padding-block: 40px 96px; text-align: left; }
  .hero__art { order: -1; }
  .hero__art img { width: min(80%, 380px); }
  .trust__list { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .carousel { grid-auto-columns: calc((100% - 2 * clamp(14px, 2vw, 28px)) / 2.4); }
  .pdp__info, .gallery, .cart-page__aside, .panel--sticky { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .archive-links { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .translations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-hero__art { max-width: 420px; }
  .prof__art { max-width: 460px; }
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__img { display: none; }
}
@media (max-width: 720px) {
  .hide-sm, .logo__sub { display: none; }
  .product-grid, .tiles, .tiles--wide, .poet-grid, .doc-grid, .video-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-grid { grid-template-columns: 1fr; }
  .carousel { grid-auto-columns: 72%; }
  .carousel-nav { display: none; }
  .section-head { align-items: flex-start; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__main { grid-column: 1; }
  .gallery__thumbs { grid-row: 2; flex-direction: row; overflow-x: auto; }
  .gallery__thumb { width: 64px; flex: none; }
  .buybox__row { flex-direction: column; }
  .qty { align-self: flex-start; }
  .field-row { flex-direction: column; gap: 0; }
  .cart-line { grid-template-columns: 76px 1fr; }
  .cart-line__total { display: none; }
  .timeline::before { left: 19px; }
  .timeline__item { grid-template-columns: 40px 1fr; }
  .timeline__year { grid-column: 2; text-align: left; padding: 0; font-size: 1.2rem; }
  .timeline__dot { grid-column: 1; grid-row: 1 / span 2; }
  .timeline__body { grid-column: 2; }
  .awards, .translations { grid-template-columns: 1fr; }
  .verse { grid-template-columns: 34px 1fr; gap: 12px; }
  .verse__n { width: 30px; height: 30px; }
  .verse__copy { display: none; }
  .reader__toggles { flex-wrap: wrap; justify-content: center; border-radius: var(--radius-lg); }
  .hero__controls { bottom: 18px; }
  .hero__arrows { display: none; }
  .video-grid--stack .vcard { flex-direction: column; }
  .video-grid--stack .vcard__media { width: 100%; }
  .card__quick { opacity: 1; transform: none; min-height: 40px; left: 8px; right: 8px; bottom: 8px; font-size: 0.64rem; }
  .card__title { font-size: 1.15rem; }
  .tile__title { font-size: 1.15rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .sticky-buy { display: block; }
  .stats dt { font-size: var(--step-3); }
}
@media (min-width: 721px) { .sticky-buy { display: none !important; } }
@media (hover: none) { .card__quick { opacity: 1; transform: none; } .card__img--alt { display: none; } }

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

@media print {
  .announce, .site-header, .site-footer, .drawer, .sticky-buy, .toast { display: none !important; }
  body { background: #fff; }
}

/* Visit the counter (contact & about) */
.visit { display: grid; grid-template-columns: 160px 1fr; gap: 22px; align-items: center; margin-top: 28px; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.visit__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.visit__title { font-size: 1.45rem; margin: 0 0 6px; }
.visit .eyebrow { margin-bottom: 6px; }
@media (max-width: 720px) { .visit { grid-template-columns: 96px 1fr; gap: 14px; } .visit__title { font-size: 1.2rem; } }
.photo-band { margin: 0; }
.photo-band img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-1); }
.photo-band figcaption { font: italic 500 1.15rem/1.4 var(--serif); color: var(--muted); margin-top: 12px; text-align: center; }
.contact-card a { font-size: 0.9rem; color: var(--ink-2); text-decoration: none; }
.contact-card a:hover { color: var(--green); }
