/* ==========================================================================
   Chanchal Rajput — editorial personal brand design system
   ========================================================================== */
:root {
  --bg: #FAF5ED;
  --bg-2: #F2E9DD;
  --ink: #171717;
  --muted: #69645D;
  --gold: #B87935;
  --gold-2: #D4A66A;
  --navy: #111923;
  --navy-2: #1A2531;
  --white: #FFFFFF;
  --line: #E8DED0;
  --line-dark: rgba(255,255,255,.12);
  --success: #2F6B4F;
  --danger: #A3392B;

  --serif: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hindi: "Noto Sans Devanagari", "Inter", sans-serif;
  --script: "Allura", "Great Vibes", cursive;

  --w: 1240px;
  --r: 3px;
  --shadow: 0 1px 2px rgba(17,25,35,.04), 0 8px 28px rgba(17,25,35,.06);
  --shadow-lg: 0 2px 4px rgba(17,25,35,.05), 0 20px 50px rgba(17,25,35,.10);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased;
}
:lang(hi), .lang-hi { font-family: var(--hindi); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold); }
button { font: inherit; cursor: pointer; }
::selection { background: var(--gold-2); color: var(--navy); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1.1em; }
.muted { color: var(--muted); }
.serif { font-family: var(--serif); }
.script { font-family: var(--script); font-weight: 400; }
.gold { color: var(--gold); }
em.accent, .accent { font-style: italic; color: var(--gold); }

.container { width: min(var(--w), 100% - 48px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 48px); }
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section.tight { padding: clamp(44px, 6vw, 72px) 0; }
.section.alt { background: var(--bg-2); }
.section.dark { background: var(--navy); color: #EDE6DA; }
.section.dark .muted { color: #A9A195; }
.section.dark h2, .section.dark h3 { color: var(--white); }
.section.bordered { border-top: 1px solid var(--line); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow.center::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head h2 { margin: 0; max-width: 720px; }
.section-head p { margin: 12px 0 0; max-width: 560px; color: var(--muted); }
.section.dark .section-head p { color: #A9A195; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border: 1px solid var(--navy); background: var(--navy); color: var(--white);
  font: 500 14px/1 var(--sans); letter-spacing: .04em; border-radius: var(--r);
  transition: all .25s var(--ease); white-space: nowrap;
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.btn.gold { background: var(--gold); border-color: var(--gold); }
.btn.gold:hover { background: var(--navy); border-color: var(--navy); }
.btn.outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.outline:hover { background: var(--ink); color: var(--white); }
.section.dark .btn.outline, .on-dark .btn.outline { color: var(--white); border-color: rgba(255,255,255,.4); }
.section.dark .btn.outline:hover { background: var(--white); color: var(--navy); }
.btn.sm { padding: 10px 16px; font-size: 13px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14px; color: var(--ink); border-bottom: 1px solid var(--gold-2); padding-bottom: 3px; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.section.dark .link-arrow { color: var(--white); }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(250,245,237,.92);
  backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(17,25,35,.05); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 84px; }
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.monogram {
  width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--gold);
  font: 500 18px/1 var(--serif); color: var(--gold); letter-spacing: .04em; position: relative;
}
.monogram::after { content: ""; position: absolute; inset: 3px; border: 1px solid rgba(184,121,53,.3); }
.brand img.logo { height: 46px; width: auto; }
.brand-text strong { display: block; font: 600 15px/1.1 var(--serif); letter-spacing: .16em; }
.brand-text span { display: block; font-size: 11px; letter-spacing: .14em; color: var(--muted); margin-top: 4px; text-transform: uppercase; }
.main-nav { display: flex; gap: 24px; margin-left: auto; }
.main-nav a { white-space: nowrap; }
.main-nav a { font-size: 14px; font-weight: 500; position: relative; padding: 6px 0; color: var(--ink); }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--gold); transition: right .3s var(--ease); }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.main-nav a.active { color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 42px; height: 42px; display: inline-grid; place-items: center; background: transparent; border: 1px solid transparent;
  border-radius: 50%; color: var(--ink); position: relative; transition: background .25s, border-color .25s, color .25s;
}
.icon-btn:hover { background: var(--white); border-color: var(--line); color: var(--gold); box-shadow: 0 4px 14px rgba(17,25,35,.06); }
.icon-btn svg { width: 20px; height: 20px; stroke-width: 1.5; }
.icon-btn.avatar { background: var(--navy); color: var(--gold-2); font: 600 13px/1 var(--serif); letter-spacing: .04em; border-color: var(--navy); }
.icon-btn.avatar:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.hdr-sep { width: 1px; height: 24px; background: var(--line); margin: 0 8px; }
.badge { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--gold); color: #fff; font: 600 10px/18px var(--sans); text-align: center; padding: 0 5px; border: 2px solid var(--bg); }
.menu-toggle { display: none; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 80; pointer-events: none; overflow: hidden; visibility: hidden; transition: visibility 0s .4s; }
.drawer .scrim { position: absolute; inset: 0; background: rgba(17,25,35,.5); opacity: 0; transition: opacity .3s; }
.drawer .panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: var(--bg);
  transform: translateX(100%); transition: transform .4s var(--ease); padding: 28px; display: flex; flex-direction: column; overflow-y: auto;
}
.drawer.open { pointer-events: auto; visibility: visible; transition: none; }
.drawer.open .scrim { opacity: 1; }
.drawer.open .panel { transform: none; }
.drawer nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font: 500 22px/1.2 var(--serif); }
.drawer .panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }

/* Search overlay */
.search-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(250,245,237,.98); display: none; align-items: flex-start; justify-content: center; padding-top: 18vh; }
.search-overlay.open { display: flex; }
.search-overlay form { width: min(720px, 90vw); }
.search-overlay input { width: 100%; border: 0; border-bottom: 1px solid var(--ink); background: transparent; font: 400 clamp(1.6rem, 4vw, 2.6rem)/1.3 var(--serif); padding: 12px 0; outline: none; }
.search-overlay .close { position: absolute; top: 28px; right: 28px; }

/* ---------------- Hero ---------------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.4rem); line-height: 1.06; margin-bottom: 28px; }
.hero h1 span { display: block; }
.hero h1 span:nth-child(2) { font-style: italic; color: var(--gold); }
.hero .lead { font-size: 17px; color: var(--muted); max-width: 540px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 34px 0 40px; }
.pillars { display: flex; flex-wrap: wrap; gap: 10px 0; border-top: 1px solid var(--line); padding-top: 24px; font-size: 13px; letter-spacing: .04em; color: var(--muted); }
.pillars span { padding-right: 18px; margin-right: 18px; border-right: 1px solid var(--line); }
.pillars span:last-child { border: 0; }
.hero-visual { position: relative; aspect-ratio: 4/5; max-height: 640px; }
.hero-visual .main { position: absolute; inset: 0 12% 8% 0; overflow: hidden; background: var(--bg-2); }
.hero-visual .main img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .sub { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 8px solid var(--bg); overflow: hidden; background: var(--navy); box-shadow: var(--shadow-lg); }
.hero-visual .sub img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .frame { position: absolute; inset: 24px 6% 0 24px; border: 1px solid var(--gold-2); z-index: -1; }
.hero-visual .signature { position: absolute; left: 0; bottom: -2%; font: 400 clamp(2.4rem, 4vw, 3.4rem)/1 var(--script); color: var(--gold); transform: rotate(-6deg); text-shadow: 0 2px 0 var(--bg); }
.hero-visual .signature img { height: 70px; width: auto; }

/* ---------------- Placeholders (no fake faces) ---------------- */
.ph {
  width: 100%; height: 100%; display: grid; place-items: center; text-align: center; position: relative; overflow: hidden;
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(212,166,106,.25), transparent 60%),
    linear-gradient(160deg, var(--bg-2), #E9DCC9);
  color: var(--gold);
}
.ph::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(184,121,53,.35); }
.ph .ph-mark { font: 500 clamp(2rem, 5vw, 4.5rem)/1 var(--serif); letter-spacing: .06em; position: relative; }
.ph .ph-sub { display: block; font: 500 10px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }
.ph.dark { background: radial-gradient(120% 80% at 80% 0%, rgba(212,166,106,.18), transparent 60%), linear-gradient(160deg, var(--navy-2), var(--navy)); }
.ph.dark .ph-sub { color: #8E877C; }
.ph.lines { background-image: repeating-linear-gradient(135deg, rgba(184,121,53,.07) 0 1px, transparent 1px 14px), linear-gradient(160deg, var(--bg-2), #E9DCC9); }
.ph.lines.dark { background-image: repeating-linear-gradient(135deg, rgba(212,166,106,.06) 0 1px, transparent 1px 14px), radial-gradient(120% 80% at 80% 0%, rgba(212,166,106,.18), transparent 60%), linear-gradient(160deg, var(--navy-2), var(--navy)); }

/* Book-style cover placeholder */
.cover-ph {
  width: 100%; height: 100%; padding: 12% 10%; display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(155deg, var(--navy-2), var(--navy)); color: #EDE6DA; position: relative; text-align: left;
}
.cover-ph::before { content: ""; position: absolute; left: 7%; top: 0; bottom: 0; width: 1px; background: rgba(212,166,106,.35); }
.cover-ph .t { font: 500 clamp(1rem, 2vw, 1.45rem)/1.2 var(--serif); color: var(--white); }
.cover-ph .a { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); }
.cover-ph .rule { width: 36px; height: 1px; background: var(--gold-2); margin: 12px 0; }
.cover-ph.light { background: linear-gradient(155deg, #F6EEE2, #E6D6BF); color: var(--ink); }
.cover-ph.light .t { color: var(--ink); }
.cover-ph.light .a { color: var(--gold); }
.cover-ph.gold { background: linear-gradient(155deg, #C4894A, #9A6128); }
.cover-ph.gold .t { color: #fff; }
.cover-ph.gold .a { color: #F7E3C4; }

/* ---------------- Grids & cards ---------------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split.wide-left { grid-template-columns: 1.2fr .8fr; }

.card { background: var(--white); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #DCCDB8; }

/* About preview */
.about-photo { position: relative; aspect-ratio: 4/5; }
.about-photo .img { position: absolute; inset: 0 0 0 0; overflow: hidden; }
.about-photo .img img { width: 100%; height: 100%; object-fit: cover; }
.about-photo .tag { position: absolute; left: -20px; bottom: 32px; background: var(--navy); color: #EDE6DA; padding: 18px 22px; max-width: 240px; font-size: 13px; line-height: 1.5; box-shadow: var(--shadow-lg); }
.about-photo .tag strong { display: block; font: 500 18px/1.2 var(--serif); color: var(--gold-2); margin-bottom: 4px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.facts div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts div:nth-child(odd) { padding-right: 20px; border-right: 1px solid var(--line); }
.facts div:nth-child(even) { padding-left: 20px; }
.facts small { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.facts span { font-size: 15px; }

/* Ecosystem */
.eco-parent { display: grid; grid-template-columns: auto 1fr auto; gap: 36px; align-items: center; padding: 36px 40px; border: 1px solid var(--line-dark); background: linear-gradient(120deg, rgba(212,166,106,.10), transparent 60%); margin-bottom: 28px; }
.eco-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.eco-card { background: var(--navy); padding: 32px 28px; display: flex; flex-direction: column; transition: background .35s var(--ease); position: relative; }
.eco-card:hover { background: var(--navy-2); }
.eco-card .num { font: 500 13px/1 var(--serif); color: var(--gold-2); letter-spacing: .1em; }
.eco-card .cat { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #8E877C; margin-top: 20px; }
.eco-card h3 { margin: 8px 0 10px; color: var(--white); font-size: 1.5rem; }
.eco-card p { font-size: 14px; color: #B7AFA3; flex: 1; }
.eco-card .url { font-size: 13px; color: var(--gold-2); }
.logo-box { width: 76px; height: 76px; display: grid; place-items: center; background: var(--white); overflow: hidden; flex-shrink: 0; transition: transform .35s var(--ease); }
.logo-box img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.logo-box .ph-logo { font: 600 22px/1 var(--serif); color: var(--navy); letter-spacing: .02em; }
.logo-box.lg { width: 108px; height: 108px; }
.logo-box.lg .ph-logo { font-size: 32px; }
.eco-card:hover .logo-box { transform: scale(1.04); }
.on-light .logo-box { border: 1px solid var(--line); }

/* Interests */
.interest { position: relative; aspect-ratio: 4/5; overflow: hidden; display: block; color: var(--white); background: var(--navy); }
.interest .bg { position: absolute; inset: 0; transition: transform .8s var(--ease); }
.interest .bg img { width: 100%; height: 100%; object-fit: cover; }
.interest .bg .ph { color: rgba(212,166,106,.5); }
.interest::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(17,25,35,.88)); }
.interest .txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; z-index: 2; }
.interest .txt small { font: 500 12px/1 var(--serif); color: var(--gold-2); letter-spacing: .1em; }
.interest h3 { color: var(--white); margin: 8px 0 6px; font-size: 1.35rem; }
.interest p { font-size: 13px; color: #D9D1C5; margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: all .45s var(--ease); }
.interest:hover .bg { transform: scale(1.06); }
.interest:hover p { max-height: 80px; opacity: 1; }
.interest:hover { color: var(--white); }

/* Article cards */
.post-card { display: flex; flex-direction: column; background: transparent; }
.post-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-2); margin-bottom: 20px; display: block; }
.post-card .thumb img, .post-card .thumb .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .thumb img, .post-card:hover .thumb .ph { transform: scale(1.04); }
.meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.meta .cat { color: var(--gold); text-transform: uppercase; letter-spacing: .16em; font-weight: 600; font-size: 11px; }
.meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; }
.post-card h3 { font-size: 1.35rem; margin: 12px 0 10px; }
.post-card h3 a:hover { color: var(--gold); }
.post-card p { color: var(--muted); font-size: 15px; flex: 1; }
.lang-pill { display: inline-block; font-size: 10px; letter-spacing: .12em; padding: 3px 7px; border: 1px solid var(--line); color: var(--muted); font-weight: 600; }

.featured-post { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; background: var(--white); border: 1px solid var(--line); margin-bottom: 56px; }
.featured-post .thumb { aspect-ratio: auto; min-height: 420px; margin: 0; }
.featured-post .body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.featured-post h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 16px 0; }

/* Books */
.book-card { display: flex; flex-direction: column; }
.book-card .cover { aspect-ratio: 2/3; overflow: hidden; box-shadow: 0 1px 0 var(--line), 8px 12px 30px rgba(17,25,35,.15); margin-bottom: 20px; transition: transform .45s var(--ease), box-shadow .45s; background: var(--navy); display: block; }
.book-card:hover .cover { transform: translateY(-6px) rotate(-1deg); box-shadow: 12px 22px 40px rgba(17,25,35,.2); }
.book-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.book-card h3 { font-size: 1.15rem; margin: 6px 0 2px; }
.book-card .by { font-size: 13px; color: var(--muted); }
.book-card p { font-size: 14px; color: var(--muted); margin: 10px 0; }
.ribbon { display: inline-block; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--gold); }
.empty-state { border: 1px dashed #D8C8B2; padding: 40px; text-align: center; color: var(--muted); background: rgba(255,255,255,.4); }
.empty-state h3 { color: var(--ink); }

/* Products */
.product-card { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; transition: all .35s var(--ease); position: relative; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.product-card .cover { aspect-ratio: 4/5; overflow: hidden; background: var(--bg-2); display: grid; place-items: center; padding: 28px; }
.product-card .cover .inner { width: 72%; aspect-ratio: 3/4; box-shadow: 6px 10px 24px rgba(17,25,35,.18); overflow: hidden; transition: transform .5s var(--ease); }
.product-card .cover .inner img { width: 100%; height: 100%; object-fit: cover; }
.product-card .cover.full { padding: 0; }
.product-card .cover.full img { width: 100%; height: 100%; object-fit: cover; }
.product-card:hover .cover .inner { transform: translateY(-4px) scale(1.02); }
.product-card .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product-card h3 { font-size: 1.2rem; margin: 8px 0; }
.product-card p { font-size: 14px; color: var(--muted); flex: 1; margin-bottom: 16px; }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price .now { font: 600 1.3rem/1 var(--serif); color: var(--ink); }
.price .was { font-size: 14px; color: var(--muted); text-decoration: line-through; }
.price .off { font-size: 11px; font-weight: 600; color: var(--success); letter-spacing: .06em; }
.price .free { font: 600 1.2rem/1 var(--serif); color: var(--success); }
.chip { position: absolute; top: 14px; left: 14px; background: var(--navy); color: var(--white); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; padding: 6px 10px; font-weight: 600; z-index: 2; }
.chip.gold { background: var(--gold); }
.chip.green { background: var(--success); }
.product-card .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 14px; }

/* Philosophy */
.philosophy { text-align: center; }
.philosophy blockquote { margin: 0 auto; font: 400 clamp(2rem, 4.6vw, 3.8rem)/1.15 var(--serif); max-width: 960px; color: var(--white); }
.philosophy blockquote em { color: var(--gold-2); }
.philosophy .quote-mark { font: 400 120px/0.6 var(--serif); color: var(--gold); display: block; height: 50px; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 64px; border-top: 1px solid var(--line-dark); text-align: left; }
.values div { padding: 28px 24px 0 0; }
.values h4 { font: 500 1.1rem/1.2 var(--serif); color: var(--gold-2); margin-bottom: 8px; }
.values p { font-size: 14px; color: #A9A195; margin: 0; }

/* Gallery */
.gallery-strip { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--gold-2) transparent; }
.gallery-strip .g-item { flex: 0 0 auto; height: 380px; scroll-snap-align: start; overflow: hidden; cursor: zoom-in; position: relative; background: var(--bg-2); border: 0; padding: 0; }
.gallery-strip .g-item:nth-child(3n+1) { width: 300px; }
.gallery-strip .g-item:nth-child(3n+2) { width: 460px; }
.gallery-strip .g-item:nth-child(3n) { width: 340px; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.g-item:hover img { transform: scale(1.05); }
.g-item .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; background: linear-gradient(transparent, rgba(17,25,35,.75)); color: #fff; font-size: 13px; text-align: left; opacity: 0; transition: opacity .3s; }
.g-item:hover .cap { opacity: 1; }
.strip-nav { display: flex; gap: 8px; }
.strip-nav button { width: 46px; height: 46px; border: 1px solid var(--ink); background: transparent; border-radius: 50%; font-size: 18px; transition: all .2s; }
.strip-nav button:hover { background: var(--ink); color: #fff; }
.masonry { columns: 3 300px; column-gap: 20px; }
.masonry .g-item { display: block; width: 100%; margin: 0 0 20px; break-inside: avoid; border: 0; padding: 0; cursor: zoom-in; position: relative; overflow: hidden; background: var(--bg-2); }
.masonry .g-item img { height: auto; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filters a, .filters button { padding: 9px 16px; border: 1px solid var(--line); background: var(--white); font-size: 13px; border-radius: 40px; color: var(--ink); transition: all .2s; }
.filters a:hover, .filters button:hover { border-color: var(--gold); color: var(--gold); }
.filters .on { background: var(--navy); border-color: var(--navy); color: var(--white); }
.filters .on:hover { color: var(--white); }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10,14,20,.94); display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: 1100px; text-align: center; }
.lightbox img { max-height: 78vh; margin: 0 auto; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.lightbox figcaption { color: #D9D1C5; margin-top: 16px; font-size: 14px; }
.lightbox figcaption strong { display: block; font: 500 1.2rem/1.3 var(--serif); color: #fff; }
.lightbox button { position: absolute; background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 20px; }
.lightbox .lb-close { top: 24px; right: 24px; }
.lightbox .lb-prev { left: 24px; top: 50%; }
.lightbox .lb-next { right: 24px; top: 50%; }

/* Newsletter */
.newsletter { text-align: center; position: relative; overflow: hidden; }
.newsletter::before { content: ""; position: absolute; width: 640px; height: 640px; border: 1px solid rgba(212,166,106,.12); border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.newsletter::after { content: ""; position: absolute; width: 940px; height: 940px; border: 1px solid rgba(212,166,106,.07); border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.newsletter > * { position: relative; z-index: 1; }
.subscribe { display: flex; max-width: 520px; margin: 32px auto 0; border: 1px solid rgba(255,255,255,.25); padding: 6px; }
.subscribe input { flex: 1; background: transparent; border: 0; color: #fff; padding: 12px 14px; font-size: 15px; outline: none; min-width: 0; }
.subscribe input::placeholder { color: #8E877C; }
.on-light .subscribe { border-color: var(--line); background: var(--white); }
.on-light .subscribe input { color: var(--ink); }

/* Footer */
.site-footer { background: var(--navy); color: #B7AFA3; padding: 88px 0 0; font-size: 14px; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; padding-bottom: 64px; }
.site-footer h4 { font: 600 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 22px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a:hover { color: var(--gold-2); }
.site-footer .brand-text strong { color: var(--white); }
.site-footer .brand-text span { color: #8E877C; }
.socials { display: flex; gap: 8px; margin-top: 22px; }
.socials a { width: 38px; height: 38px; border: 1px solid var(--line-dark); border-radius: 50%; display: grid; place-items: center; }
.socials svg { width: 15px; height: 15px; }
.socials a:hover { border-color: var(--gold-2); }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 26px 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: #8E877C; }
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------------- Page heads ---------------- */
.page-head { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head h1 { max-width: 900px; }
.page-head p.lead { font-size: 18px; color: var(--muted); max-width: 640px; margin: 0; }
.page-head.dark { background: var(--navy); color: #EDE6DA; border: 0; }
.page-head.dark h1 { color: var(--white); }
.page-head.dark p.lead { color: #A9A195; }
.crumbs { font-size: 12px; letter-spacing: .08em; color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--gold); }
.crumbs span { margin: 0 8px; opacity: .5; }

/* Prose */
.prose { font-size: 18px; line-height: 1.85; color: #2A2826; }
.prose.lang-hi { font-size: 18.5px; line-height: 1.95; }
.prose h2 { font-size: 1.9rem; margin: 2.2em 0 .7em; color: var(--ink); scroll-margin-top: 110px; }
.prose h3 { font-size: 1.45rem; margin: 1.8em 0 .6em; scroll-margin-top: 110px; }
.prose p { margin-bottom: 1.35em; }
.prose a { color: var(--gold); border-bottom: 1px solid var(--gold-2); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.4em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--gold); }
.prose blockquote { margin: 2em 0; padding: 4px 0 4px 28px; border-left: 2px solid var(--gold); font: italic 400 1.45rem/1.5 var(--serif); color: var(--ink); }
.prose blockquote p:last-child { margin: 0; }
.prose img { margin: 2em auto; height: auto; }
.prose figure { margin: 2em 0; }
.prose figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; margin: 2em 0; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.prose th { background: var(--bg-2); font-weight: 600; }
.prose pre { background: var(--navy); color: #EDE6DA; padding: 20px 22px; overflow-x: auto; font-size: 14px; line-height: 1.6; border-radius: var(--r); }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; background: var(--bg-2); padding: 2px 6px; }
.prose pre code { background: none; padding: 0; }
.prose iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; margin: 2em 0; }
.prose > :first-child { margin-top: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 3em 0; }

/* Article layout */
.article-head { padding: clamp(48px, 7vw, 88px) 0 40px; text-align: center; }
.article-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 900px; margin: 18px auto 22px; }
.article-head .meta { justify-content: center; }
.article-hero { width: min(1100px, 100% - 48px); margin: 0 auto 64px; aspect-ratio: 21/9; overflow: hidden; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: 220px minmax(0, 720px) 220px; gap: 48px; justify-content: center; width: min(1240px, 100% - 48px); margin: 0 auto; }
.toc { position: sticky; top: 110px; align-self: start; font-size: 13px; }
.toc h5, .share h5 { font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; }
.toc a { display: block; padding: 7px 0 7px 14px; border-left: 1px solid var(--line); color: var(--muted); line-height: 1.4; }
.toc a.h3 { padding-left: 26px; font-size: 12px; }
.toc a:hover, .toc a.on { color: var(--ink); border-color: var(--gold); }
.share { position: sticky; top: 110px; align-self: start; }
.share .row { display: flex; flex-direction: column; gap: 8px; }
.share a, .share button { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--line); background: var(--white); font-size: 13px; color: var(--ink); text-align: left; }
.share a:hover, .share button:hover { border-color: var(--gold); color: var(--gold); }
.share svg { width: 15px; height: 15px; }
.author-box { display: grid; grid-template-columns: 96px 1fr; gap: 24px; padding: 32px; background: var(--white); border: 1px solid var(--line); margin: 56px 0; align-items: center; }
.author-box .av { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; }
.author-box .av img { width: 100%; height: 100%; object-fit: cover; }
.author-box .av .ph { font-size: 12px; }
.author-box .av .ph::before { inset: 5px; border-radius: 50%; }
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 56px; }
.prev-next a { background: var(--bg); padding: 24px; display: block; }
.prev-next a:hover { background: var(--white); }
.prev-next small { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.prev-next span { font: 500 1.1rem/1.35 var(--serif); }
.prev-next .next { text-align: right; }
.reading-progress { position: fixed; top: 0; left: 0; height: 2px; background: var(--gold); z-index: 60; width: 0; }

/* Blog listing */
.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; }
.sidebar .widget { margin-bottom: 40px; }
.sidebar h4 { font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.sidebar .cat-list a { display: flex; justify-content: space-between; padding: 9px 0; font-size: 14px; border-bottom: 1px dashed var(--line); }
.sidebar .cat-list a.on { color: var(--gold); font-weight: 600; }
.sidebar .popular a { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 10px 0; font: 500 15px/1.4 var(--serif); }
.sidebar .popular b { color: var(--gold-2); font-weight: 500; }
.searchbox { display: flex; border: 1px solid var(--line); background: var(--white); }
.searchbox input { flex: 1; border: 0; padding: 12px 14px; background: transparent; outline: none; font-size: 14px; min-width: 0; }
.searchbox button { border: 0; background: var(--navy); color: #fff; padding: 0 16px; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 7px; }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 5px; }
.input, .field input[type=text], .field input[type=email], .field input[type=password], .field input[type=tel], .field input[type=number], .field textarea, .field select {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); background: var(--white); font: 15px/1.4 var(--sans); color: var(--ink);
  border-radius: var(--r); transition: border-color .2s, box-shadow .2s; outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus, .input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,121,53,.12); }
.field textarea { min-height: 150px; resize: vertical; }
.field .error, .error-text { color: var(--danger); font-size: 13px; margin-top: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { margin-top: 5px; accent-color: var(--gold); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.panel-box { background: var(--white); border: 1px solid var(--line); padding: clamp(24px, 3.5vw, 40px); }
.auth-wrap { min-height: 70vh; display: grid; place-items: center; padding: 64px 0; }
.auth-card { width: min(460px, 100% - 32px); }
.auth-card h1 { font-size: 2.2rem; text-align: center; }

/* Alerts */
.flash { padding: 14px 18px; border: 1px solid; margin-bottom: 24px; font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.flash.success { border-color: #BFD8C9; background: #EFF6F1; color: #234F3A; }
.flash.error { border-color: #E6C3BD; background: #FBEFED; color: #7C2A1F; }
.flash.info { border-color: #E5D3B8; background: #FBF3E6; color: #6A4A20; }
.flash-wrap { position: fixed; top: 96px; right: 24px; z-index: 70; width: min(420px, calc(100vw - 48px)); }
.flash-wrap .flash { box-shadow: var(--shadow-lg); animation: slideIn .4s var(--ease); }
@keyframes slideIn { from { transform: translateY(-10px); opacity: 0; } }

/* Shop */
.store-hero { background: var(--navy); color: #EDE6DA; padding: clamp(64px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.store-hero h1 { color: var(--white); max-width: 760px; }
.store-hero h1 em { color: var(--gold-2); }
.store-hero .searchbox { max-width: 560px; margin-top: 32px; border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.06); }
.store-hero .searchbox input { color: #fff; }
.store-hero .searchbox button { background: var(--gold); }
.store-hero .deco { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); display: flex; gap: 18px; opacity: .9; }
.store-hero .deco div { width: 150px; aspect-ratio: 2/3; box-shadow: 0 30px 60px rgba(0,0,0,.4); }
.store-hero .deco div:nth-child(1) { transform: translateY(-30px) rotate(-6deg); }
.store-hero .deco div:nth-child(2) { transform: translateY(20px); }
.store-hero .deco div:nth-child(3) { transform: translateY(-10px) rotate(5deg); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.toolbar select { padding: 10px 12px; border: 1px solid var(--line); background: var(--white); font-size: 14px; }

.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.product-gallery .main { background: var(--bg-2); aspect-ratio: 1; display: grid; place-items: center; padding: 12%; position: relative; }
.product-gallery .main .inner { width: 70%; aspect-ratio: 3/4; box-shadow: 12px 20px 50px rgba(17,25,35,.25); overflow: hidden; }
.product-gallery .main .inner img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery .thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 10px; }
.product-gallery .thumbs button { border: 1px solid var(--line); padding: 0; aspect-ratio: 1; overflow: hidden; background: var(--white); }
.product-gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy-box { position: sticky; top: 110px; }
.buy-box h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin: 12px 0 10px; }
.buy-box .subtitle { font-size: 18px; color: var(--muted); font-family: var(--serif); font-style: italic; }
.buy-box .price .now { font-size: 2rem; }
.spec-list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); margin: 28px 0; }
.spec-list div { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-list small { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.buy-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--muted); margin-top: 22px; }
.trust span::before { content: "✓ "; color: var(--success); font-weight: 700; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: 12px 0 12px 32px; border-bottom: 1px solid var(--line); position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 18px; width: 16px; height: 16px; border: 1px solid var(--gold); border-radius: 50%; background: radial-gradient(circle, var(--gold) 3px, transparent 4px); }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; padding: 18px 40px 18px 0; font: 500 1.15rem/1.4 var(--serif); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 300 26px/1 var(--sans); color: var(--gold); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 20px; color: var(--muted); }
.review { padding: 24px 0; border-bottom: 1px solid var(--line); }
.review .who { font-size: 13px; color: var(--muted); }
.verified { font-size: 11px; color: var(--success); letter-spacing: .06em; font-weight: 600; }

/* Cart & checkout */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); }
.cart-table th { text-align: left; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.cart-table td { padding: 20px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-item { display: flex; gap: 16px; align-items: center; }
.cart-item .thumb { width: 64px; aspect-ratio: 3/4; overflow: hidden; flex-shrink: 0; }
.cart-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item .thumb .cover-ph { padding: 10%; }
.cart-item .thumb .cover-ph .t { font-size: 8px; }
.cart-item .thumb .cover-ph .a, .cart-item .thumb .cover-ph .rule { display: none; }
.qty { width: 70px; padding: 8px; border: 1px solid var(--line); text-align: center; }
.summary { background: var(--white); border: 1px solid var(--line); padding: 28px; position: sticky; top: 110px; }
.summary h3 { font-size: 1.4rem; margin-bottom: 20px; }
.summary .row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 15px; }
.summary .row.total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 18px; font: 600 1.3rem/1 var(--serif); }
.summary .row.discount { color: var(--success); }
.remove-btn { background: none; border: 0; color: var(--muted); font-size: 13px; text-decoration: underline; padding: 0; }
.remove-btn:hover { color: var(--danger); }
.pay-methods { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.pay-methods span { font-size: 11px; border: 1px solid var(--line); padding: 4px 8px; color: var(--muted); letter-spacing: .04em; }
.secure-note { display: flex; gap: 10px; font-size: 13px; color: var(--muted); margin-top: 18px; align-items: flex-start; }
.secure-note svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--success); }

/* Account */
.account-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start; }
.account-nav { background: var(--white); border: 1px solid var(--line); position: sticky; top: 110px; }
.account-nav .who { padding: 22px; border-bottom: 1px solid var(--line); }
.account-nav .who strong { display: block; font: 500 1.1rem/1.2 var(--serif); }
.account-nav .who span { font-size: 12px; color: var(--muted); word-break: break-all; }
.account-nav a, .account-nav button { display: block; width: 100%; text-align: left; padding: 13px 22px; border: 0; border-bottom: 1px solid var(--line); background: none; font-size: 14px; color: var(--ink); }
.account-nav a.on { color: var(--gold); background: var(--bg); border-left: 2px solid var(--gold); }
.account-nav form:last-child button { border-bottom: 0; color: var(--danger); }
.stat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0 40px; }
.stat-cards a { background: var(--white); border: 1px solid var(--line); padding: 22px; }
.stat-cards b { display: block; font: 500 2rem/1 var(--serif); color: var(--gold); margin-bottom: 6px; }
.table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); font-size: 14px; }
.table th { text-align: left; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--bg); }
.table td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.status { display: inline-block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; padding: 4px 9px; border-radius: 20px; background: var(--bg-2); color: var(--muted); }
.status.paid, .status.available, .status.published, .status.active { background: #E5F1EA; color: var(--success); }
.status.pending, .status.draft { background: #FBF0DF; color: #8A5A1E; }
.status.failed, .status.cancelled, .status.expired, .status.revoked, .status.limit-reached, .status.unsubscribed { background: #F8E5E2; color: var(--danger); }
.status.refunded { background: #ECEAF4; color: #4A4570; }
.download-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 20px; align-items: center; padding: 22px; background: var(--white); border: 1px solid var(--line); margin-bottom: 14px; }
.download-item .thumb { width: 72px; aspect-ratio: 3/4; overflow: hidden; }
.download-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.download-item .thumb .cover-ph { padding: 10%; }
.download-item .thumb .cover-ph .t { font-size: 8px; }
.download-item .thumb .cover-ph .a, .download-item .thumb .cover-ph .rule { display: none; }
.download-item h4 { font: 500 1.15rem/1.3 var(--serif); margin: 0 0 6px; }
.file-links { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }

/* Account (premium) */
.acct-hero { background: radial-gradient(700px 260px at 85% -30%, rgba(212,166,106,.28), transparent 60%), linear-gradient(120deg, var(--navy), #1E2B3A); color: #EDE6DA; padding: 44px 0; }
.acct-hero-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.acct-id { display: flex; align-items: center; gap: 20px; }
.acct-av { width: 72px; height: 72px; border-radius: 20px; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #fff; display: grid; place-items: center; font: 500 26px/1 var(--serif); box-shadow: 0 10px 30px rgba(184,121,53,.35); flex-shrink: 0; }
.acct-hero h1 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 0 0 4px; }
.acct-hero p { margin: 0; color: #A9A195; font-size: 14px; }
.account-layout .account-nav { border-radius: 16px; overflow: hidden; padding: 8px; box-shadow: var(--shadow); }
.account-nav a, .account-nav button { display: flex; align-items: center; gap: 12px; border-radius: 10px; border-bottom: 0; margin: 2px 0; padding: 11px 14px; transition: background .2s, color .2s; }
.account-nav a svg, .account-nav button svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.account-nav a:hover { background: var(--bg); color: var(--ink); }
.account-nav a.on { background: var(--navy); color: #fff; border-left: 0; }
.account-nav a.on svg { color: var(--gold-2); }
.account-nav form { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.account-nav form button { color: var(--danger); }
.account-nav form button svg { color: var(--danger); }
.acct-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.acct-stat { display: flex; align-items: center; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; color: var(--ink); }
.acct-stat:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.acct-stat .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #FBF3E7; color: var(--gold); flex-shrink: 0; }
.acct-stat .ic svg { width: 22px; height: 22px; }
.acct-stat.green .ic { background: #E7F5EE; color: #22865A; }
.acct-stat.rose .ic { background: #FCEDEE; color: #C2415B; }
.acct-stat b { display: block; font: 600 1.7rem/1.1 var(--sans); letter-spacing: -.02em; }
.acct-stat small { color: var(--muted); font-size: 13px; }
.acct-stat .go { width: 18px; height: 18px; margin-left: auto; color: #C9BBA7; transition: transform .2s; }
.acct-stat:hover .go { transform: translateX(3px); color: var(--gold); }
.acct-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); margin-bottom: 24px; }
.acct-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 12px; }
.acct-card-head h3 { margin: 0; font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.acct-card-head h3 svg { width: 19px; height: 19px; color: var(--gold); }
.acct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.acct-grid .acct-card { margin-bottom: 0; }
.acct-row { display: flex; align-items: center; gap: 14px; padding: 12px 10px; border-radius: 12px; color: var(--ink); transition: background .2s; }
.acct-row:hover { background: var(--bg); color: var(--ink); }
.acct-row.static:hover { background: none; }
.acct-row .ic { width: 38px; height: 38px; border-radius: 11px; background: var(--bg-2); color: var(--gold); display: grid; place-items: center; flex-shrink: 0; }
.acct-row .ic svg { width: 17px; height: 17px; }
.acct-row div { flex: 1; min-width: 0; }
.acct-row strong { display: block; font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.acct-row small { display: block; color: var(--muted); font-size: 12px; }
.acct-library { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lib-item { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--ink); }
.lib-item .lib-cover { aspect-ratio: 3/4; border-radius: 10px; overflow: hidden; box-shadow: 6px 10px 22px rgba(17,25,35,.15); transition: transform .3s; }
.lib-item .lib-cover img { width: 100%; height: 100%; object-fit: cover; }
.lib-item:hover .lib-cover { transform: translateY(-4px); }
.lib-item .status { align-self: flex-start; }
.acct-empty { text-align: center; padding: 20px; color: var(--muted); }
.acct-empty span { width: 52px; height: 52px; border-radius: 16px; background: var(--bg-2); color: var(--gold); display: grid; place-items: center; margin: 0 auto 10px; }
.acct-empty span svg { width: 22px; height: 22px; }
.acct-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 24px; }
.acct-quick a { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 18px 12px; text-align: center; font-size: 13.5px; font-weight: 500; color: var(--ink); transition: all .25s; }
.acct-quick a span { width: 44px; height: 44px; border-radius: 13px; margin: 0 auto 10px; display: grid; place-items: center; background: #FBF3E7; color: var(--gold); }
.acct-quick a span svg { width: 20px; height: 20px; }
.acct-quick a:hover { border-color: var(--gold-2); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.download-item, .panel-box, .table { border-radius: 14px; }
.table { overflow: hidden; }
.download-item { box-shadow: var(--shadow); }
@media (max-width: 980px) { .acct-library { grid-template-columns: repeat(2, 1fr); } .acct-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .acct-stats { grid-template-columns: 1fr; } .acct-quick { grid-template-columns: 1fr 1fr; } .acct-av { width: 56px; height: 56px; font-size: 20px; border-radius: 16px; } }

/* Language switch on articles */
.lang-switch { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 30px; background: var(--white); font-size: 14px; color: var(--ink); transition: all .2s; }
.lang-switch svg { width: 16px; height: 16px; color: var(--gold); }
.lang-switch:hover { border-color: var(--gold); color: var(--gold); }

/* Homepage enrichments */
.highlights { margin-top: -40px; position: relative; z-index: 3; }
.highlights-in { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.hl { display: flex; gap: 14px; align-items: flex-start; padding: 24px 22px; border-right: 1px solid var(--line); transition: background .3s; }
.hl:last-child { border-right: 0; }
.hl:hover { background: #FDFAF5; }
.hl .ic { width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(135deg, #FBF3E7, #F4E4CC); color: var(--gold); display: grid; place-items: center; flex-shrink: 0; transition: transform .3s; }
.hl:hover .ic { transform: rotate(-6deg) scale(1.05); }
.hl .ic svg { width: 21px; height: 21px; stroke-width: 1.6; }
.hl strong { display: block; font: 500 1.05rem/1.3 var(--serif); margin-bottom: 3px; }
.hl span { font-size: 13px; color: var(--muted); line-height: 1.5; }
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stats-band div { text-align: center; padding: 10px 20px; border-right: 1px solid var(--line-dark); }
.stats-band div:last-child { border: 0; }
.stats-band .ic { width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 50%; border: 1px solid rgba(212,166,106,.35); display: grid; place-items: center; color: var(--gold-2); }
.stats-band .ic svg { width: 22px; height: 22px; }
.stats-band b { display: block; font: 400 clamp(2.4rem, 4.5vw, 3.6rem)/1 var(--serif); color: var(--white); }
.stats-band b em { font-style: normal; color: var(--gold-2); }
.stats-band small { display: block; margin-top: 10px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #A9A195; }
.values .vi { width: 44px; height: 44px; border-radius: 12px; background: rgba(212,166,106,.12); color: var(--gold-2); display: grid; place-items: center; margin-bottom: 14px; }
.values .vi svg { width: 20px; height: 20px; }
.interest .chip-ic { position: absolute; top: 18px; right: 18px; z-index: 2; width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.12); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; color: var(--gold-2); transition: background .3s; }
.interest .chip-ic svg { width: 19px; height: 19px; }
.interest:hover .chip-ic { background: var(--gold); color: #fff; }
.eco-card .go { position: absolute; right: 22px; bottom: 26px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; color: var(--gold-2); transition: all .3s; }
.eco-card .go svg { width: 15px; height: 15px; }
.eco-card:hover .go { background: var(--gold); border-color: var(--gold); color: #fff; transform: rotate(-45deg); }
.contact-info .ci { display: flex; gap: 16px; align-items: center; }
.contact-info .ci .ic { width: 46px; height: 46px; border-radius: 13px; background: #FBF3E7; color: var(--gold); display: grid; place-items: center; flex-shrink: 0; }
.contact-info .ci .ic svg { width: 20px; height: 20px; }
.pay-badges { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pay-badges span { height: 30px; padding: 0 10px; border-radius: 6px; background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); display: inline-flex; align-items: center; gap: 6px; font: 600 11px/1 var(--sans); letter-spacing: .06em; color: #D9D1C5; }
.pay-badges svg { height: 14px; width: auto; }
.footer-trust { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid var(--line-dark); font-size: 13px; }
.footer-trust .sec { display: flex; align-items: center; gap: 8px; color: #A9A195; }
.footer-trust .sec svg { width: 16px; height: 16px; color: var(--gold-2); }
@media (max-width: 980px) { .highlights-in, .stats-band { grid-template-columns: repeat(2, 1fr); } .hl:nth-child(2) { border-right: 0; } .hl:nth-child(-n+2) { border-bottom: 1px solid var(--line); } .stats-band div:nth-child(2) { border: 0; } .stats-band div { padding: 24px 10px; } }
@media (max-width: 640px) { .highlights { margin-top: -20px; } .highlights-in { grid-template-columns: 1fr; } .hl { border-right: 0; border-bottom: 1px solid var(--line); } }

/* Success */
.success-mark { width: 76px; height: 76px; border-radius: 50%; border: 1px solid var(--success); display: grid; place-items: center; margin: 0 auto 24px; color: var(--success); }
.success-mark svg { width: 34px; }

/* Timeline (About) */
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline .step { position: relative; padding-bottom: 44px; }
.timeline .step::before { content: ""; position: absolute; left: -40px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 1px solid var(--gold); box-shadow: inset 0 0 0 3px var(--bg), inset 0 0 0 8px var(--gold); }
.timeline .step small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.timeline .step h3 { margin: 6px 0 8px; }
.timeline .step p { color: var(--muted); margin: 0; }
.section.dark .timeline::before { background: var(--line-dark); }
.section.dark .timeline .step::before { background: var(--navy); box-shadow: inset 0 0 0 3px var(--navy), inset 0 0 0 8px var(--gold); }
.section.dark .timeline .step p { color: #A9A195; }
.big-quote { font: italic 400 clamp(1.6rem, 3vw, 2.3rem)/1.4 var(--serif); color: var(--ink); border-left: 2px solid var(--gold); padding-left: 28px; margin: 0; }
.value-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.value-list div { background: var(--bg); padding: 32px; }
.value-list b { font: 500 13px/1 var(--serif); color: var(--gold); letter-spacing: .1em; }
.value-list h4 { font: 500 1.3rem/1.3 var(--serif); margin: 10px 0 8px; }
.value-list p { color: var(--muted); font-size: 15px; margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags span { padding: 10px 16px; border: 1px solid var(--line); background: var(--white); font-size: 14px; }

/* Ecosystem page */
.hierarchy { display: flex; flex-direction: column; align-items: center; }
.hierarchy .root { padding: 22px 34px; border: 1px solid var(--gold); background: var(--white); text-align: center; position: relative; }
.hierarchy .root strong { font: 500 1.6rem/1 var(--serif); display: block; }
.hierarchy .root small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.hierarchy .stem { width: 1px; height: 40px; background: var(--gold-2); }
.hierarchy .branches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; width: 100%; position: relative; padding-top: 40px; }
.hierarchy .branches::before { content: ""; position: absolute; top: 0; left: 12.5%; right: 12.5%; height: 1px; background: var(--gold-2); }
.hierarchy .branch { text-align: center; position: relative; }
.hierarchy .branch::before { content: ""; position: absolute; top: -40px; left: 50%; width: 1px; height: 40px; background: var(--gold-2); }
.hierarchy .branch a { display: block; padding: 20px 14px; background: var(--white); border: 1px solid var(--line); transition: all .3s var(--ease); }
.hierarchy .branch a:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow); }
.hierarchy .branch strong { display: block; font: 500 1.15rem/1.2 var(--serif); }
.hierarchy .branch small { font-size: 12px; color: var(--muted); }
.platform-block { display: grid; grid-template-columns: 340px 1fr; gap: clamp(32px, 5vw, 80px); padding: 72px 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.platform-block .aside { position: sticky; top: 110px; align-self: start; }
.platform-block .num { font: 400 5rem/1 var(--serif); color: var(--gold-2); opacity: .5; }
.platform-block h2 { margin: 14px 0 6px; }
.platform-block .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 32px; }
.platform-block h4 { font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.platform-block ul { list-style: none; padding: 0; margin: 0; }
.platform-block li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }

/* Pagination */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 56px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--white); font-size: 14px; padding: 0 12px; }
.pagination .on { background: var(--navy); color: #fff; border-color: var(--navy); }
.pagination .off { opacity: .4; }

/* Contact */
.contact-info { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-info > a, .contact-info > div { background: var(--bg); padding: 22px 24px; display: block; }
.contact-info small { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.contact-info span { font: 500 1.2rem/1.3 var(--serif); }

/* Utilities */
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 24px; } .mb-3 { margin-bottom: 40px; }
.flex { display: flex; } .gap { gap: 12px; } .wrap { flex-wrap: wrap; } .between { justify-content: space-between; } .items-center { align-items: center; }
.small { font-size: 13px; }
.divider { height: 1px; background: var(--line); margin: 40px 0; border: 0; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } * { transition: none !important; animation: none !important; } }

/* ---------------- Responsive ---------------- */
@media (max-width: 1320px) {
  .header-actions .btn, .hdr-sep { display: none; }
}
@media (max-width: 1180px) {
  .main-nav { gap: 18px; }
  .main-nav a { font-size: 13px; }
  .header-actions .btn, .hdr-sep { display: none; }
  .article-layout { grid-template-columns: minmax(0, 720px) 200px; }
  .article-layout .toc { display: none; }
  .eco-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .header-actions { margin-left: auto; }
  .hero-grid, .split, .split.wide-left, .product-layout, .featured-post, .blog-layout, .cart-layout, .account-layout, .platform-block { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; width: 100%; margin: 0 auto; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .eco-parent { grid-template-columns: auto 1fr; }
  .eco-parent > :last-child { grid-column: 1 / -1; }
  .article-layout { grid-template-columns: 1fr; }
  .share { position: static; }
  .share .row { flex-direction: row; flex-wrap: wrap; }
  .buy-box, .summary, .account-nav, .platform-block .aside { position: static; }
  .hierarchy .branches { grid-template-columns: repeat(2, 1fr); }
  .hierarchy .branches::before, .hierarchy .branch::before { display: none; }
  .store-hero .deco { display: none; }
  .featured-post .thumb { min-height: 280px; }
  .about-photo .tag { left: 16px; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .container, .container.narrow { width: calc(100% - 32px); }
  .header-inner { height: 70px; gap: 12px; }
  .brand-text span { display: none; }
  .brand-text strong { font-size: 13px; letter-spacing: .1em; }
  .brand { gap: 10px; min-width: 0; }
  .header-actions { gap: 2px; }
  .header-actions .icon-btn.account { display: none; }
  .icon-btn { width: 36px; height: 36px; }
  .monogram { width: 40px; height: 40px; font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .eco-grid, .form-grid, .values, .value-list, .stat-cards, .spec-list, .platform-block .cols, .hierarchy .branches { grid-template-columns: 1fr; }
  .product-card .actions, .buy-actions { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts div:nth-child(odd) { border-right: 0; padding-right: 0; }
  .facts div:nth-child(even) { padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-strip .g-item { height: 280px; }
  .gallery-strip .g-item:nth-child(n) { width: 78vw; }
  .download-item { grid-template-columns: 60px 1fr; }
  .download-item .file-links { grid-column: 1 / -1; }
  .cart-table thead { display: none; }
  .cart-table tr { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--line); }
  .cart-table td { border: 0; padding: 14px 16px; }
  .cart-table td:first-child { grid-column: 1 / -1; }
  .author-box { grid-template-columns: 1fr; text-align: center; }
  .author-box .av { margin: 0 auto; }
  .prev-next { grid-template-columns: 1fr; }
  .prev-next .next { text-align: left; }
  .subscribe { flex-direction: column; gap: 6px; }
  .pillars span { border: 0; margin-right: 14px; padding-right: 0; }
  .table { display: block; overflow-x: auto; white-space: nowrap; }
  .eco-parent { grid-template-columns: 1fr; padding: 28px; }
}

/* Auth (split screen) */
.auth-split { display: grid; grid-template-columns: minmax(380px, 46%) 1fr; min-height: calc(100vh - 84px); }
.auth-brand { position: relative; background: var(--navy); color: #EDE6DA; overflow: hidden; }
.auth-brand-bg { position: absolute; inset: 0; }
.auth-brand-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.auth-brand::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 10% 0%, rgba(212,166,106,.25), transparent 60%), linear-gradient(180deg, rgba(17,25,35,.55), rgba(17,25,35,.92)); }
.auth-brand-in { position: relative; z-index: 1; height: 100%; padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.auth-brand h2 { color: #fff; font-size: clamp(2rem, 3.4vw, 2.9rem); margin: 0 0 14px; }
.auth-brand p { color: #B7AFA3; max-width: 440px; }
.auth-perks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.auth-perks li { display: flex; align-items: center; gap: 14px; font-size: 15px; color: #D9D1C5; }
.auth-perks span { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(212,166,106,.12); border: 1px solid rgba(212,166,106,.25); color: var(--gold-2); flex-shrink: 0; }
.auth-perks svg { width: 17px; height: 17px; }
.auth-quote { font: italic 400 1.2rem/1.5 var(--serif); color: #EDE6DA !important; border-left: 2px solid var(--gold); padding-left: 18px; margin: 0; }
.auth-quote span { display: block; font: 500 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); margin-top: 8px; font-style: normal; }
.auth-main { display: grid; place-items: center; padding: clamp(32px, 5vw, 72px) 24px; background: radial-gradient(500px 300px at 100% 0%, rgba(212,166,106,.10), transparent 60%), var(--bg); }
.auth-main .auth-card { width: min(470px, 100%); }
.auth-main h1 { font-size: clamp(2rem, 3.4vw, 2.6rem); margin: 0 0 8px; text-align: left; }
.auth-form { display: grid; gap: 18px; margin-top: 26px; }
.auth-form .form-grid { gap: 18px; }
.input-ic { position: relative; }
.input-ic > svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: #A89C8A; pointer-events: none; }
.field .input-ic input { padding-left: 44px; height: 50px; border-radius: 12px; }
.pass-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: none; color: #A89C8A; border-radius: 8px; display: grid; place-items: center; }
.pass-eye svg { width: 18px; height: 18px; }
.pass-eye:hover, .pass-eye.on { color: var(--gold); background: var(--bg-2); }
.auth-form .btn.block { height: 52px; border-radius: 12px; font-size: 15px; }
.captcha-row { display: flex; gap: 8px; align-items: center; }
.captcha-row img { border: 1px solid var(--line); border-radius: 10px; background: #FAF5ED; flex-shrink: 0; }
.captcha-row .icon-btn { border: 1px solid var(--line); background: var(--white); flex-shrink: 0; }
.field .captcha-row input { flex: 1; min-width: 0; height: 50px; border-radius: 12px; letter-spacing: .2em; font-weight: 600; }
.verify-banner { display: flex; gap: 16px; align-items: center; background: #FBF3E7; border: 1px solid #EBD3AD; border-radius: 16px; padding: 18px 20px; margin-bottom: 24px; }
.verify-banner .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--gold); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.verify-banner .ic svg { width: 20px; height: 20px; }
.verify-banner div { flex: 1; }
.verify-banner p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .auth-split { grid-template-columns: 1fr; } .auth-brand-in { gap: 24px; } .auth-perks, .auth-quote { display: none; } }
@media (max-width: 640px) { .captcha-row { flex-wrap: wrap; } .captcha-row input { flex-basis: 100%; } .verify-banner { flex-direction: column; align-items: flex-start; } }

/* Stories */
.stories-sec { padding: 56px 0 8px; }
.stories-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.stories-row { display: flex; gap: 22px; overflow-x: auto; padding: 6px 2px 14px; scrollbar-width: none; scroll-snap-type: x proximity; }
.stories-row::-webkit-scrollbar { display: none; }
.story-dot { flex: 0 0 auto; width: 88px; background: none; border: 0; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 9px; scroll-snap-align: start; cursor: pointer; }
.story-dot .ring { width: 84px; height: 84px; border-radius: 50%; padding: 3px; background: conic-gradient(from 210deg, #D4A66A, #B87935, #8A5420, #D4A66A); transition: transform .3s var(--ease); }
.story-dot.seen .ring { background: #D8CFC2; }
.story-dot:hover .ring { transform: scale(1.06); }
.story-dot .in { width: 100%; height: 100%; border-radius: 50%; border: 3px solid var(--bg); overflow: hidden; display: grid; place-items: center; }
.story-dot .in img { width: 100%; height: 100%; object-fit: cover; }
.story-dot .in svg { width: 26px; height: 26px; }
.story-dot .in .txt { font: 500 10px/1.2 var(--serif); padding: 8px; text-align: center; }
.story-dot .lbl { font-size: 12.5px; font-weight: 500; color: var(--ink); max-width: 88px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.story-viewer { position: fixed; inset: 0; z-index: 120; background: rgba(8,11,16,.94); display: none; align-items: center; justify-content: center; gap: 22px; }
.story-viewer.open { display: flex; animation: svIn .25s var(--ease); }
@keyframes svIn { from { opacity: 0; } }
.sv-card { position: relative; width: min(420px, 100vw); height: min(92vh, 746px); aspect-ratio: 9/16; border-radius: 18px; overflow: hidden; display: grid; place-items: center; box-shadow: 0 30px 80px rgba(0,0,0,.5); user-select: none; }
.sv-bars { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; gap: 4px; z-index: 5; }
.sv-bars span { flex: 1; height: 3px; background: rgba(255,255,255,.35); border-radius: 3px; overflow: hidden; }
.sv-bars i { display: block; height: 100%; width: 0; background: #fff; }
.sv-head { position: absolute; top: 26px; left: 14px; right: 14px; display: flex; align-items: center; gap: 10px; z-index: 5; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.45); }
.sv-head strong { display: block; font-size: 13.5px; }
.sv-head small { display: block; font-size: 12px; opacity: .85; }
.sv-av { width: 36px; height: 36px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; font: 600 13px var(--serif); overflow: hidden; border: 2px solid rgba(255,255,255,.7); }
.sv-av img { width: 100%; height: 100%; object-fit: cover; }
.sv-pause { margin-left: auto; background: rgba(0,0,0,.25); border: 0; color: #fff; width: 32px; height: 32px; border-radius: 50%; font-size: 11px; z-index: 6; }
.sv-media { position: absolute; inset: 0; }
.sv-media img, .sv-media video { width: 100%; height: 100%; object-fit: cover; }
.sv-text { position: relative; z-index: 3; padding: 32px; font: 500 clamp(1.4rem, 4.5vw, 1.9rem)/1.4 var(--serif); text-align: center; white-space: pre-line; }
.sv-card.has-media .sv-text { position: absolute; left: 0; right: 0; bottom: 70px; padding: 40px 22px 18px; font: 400 15px/1.55 var(--sans); text-align: left; color: #fff !important; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
.sv-link { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 6; background: #fff; color: var(--ink); font-weight: 600; font-size: 14px; padding: 11px 22px; border-radius: 30px; white-space: nowrap; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.sv-link:hover { background: var(--gold); color: #fff; }
.sv-tap { position: absolute; top: 70px; bottom: 80px; width: 40%; z-index: 4; }
.sv-tap.left { left: 0; } .sv-tap.right { right: 0; }
.sv-close { position: absolute; top: 20px; right: 24px; background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 18px; z-index: 7; }
.sv-nav { background: rgba(255,255,255,.12); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 28px; line-height: 1; }
.sv-nav:hover { background: rgba(255,255,255,.25); }
@media (max-width: 640px) { .sv-nav { display: none; } .sv-card { width: 100vw; height: 100vh; height: 100dvh; border-radius: 0; aspect-ratio: auto; } .stories-sec { padding-top: 40px; } .story-dot { width: 74px; } .story-dot .ring { width: 70px; height: 70px; } }
.mfa-qr { display: flex; gap: 20px; align-items: center; margin: 22px 0 6px; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.mfa-qr #qr svg { width: 160px; height: 160px; display: block; }
.mfa-key { display: block; margin-top: 6px; font-size: 15px; letter-spacing: .08em; background: var(--bg-2); padding: 8px 10px; border-radius: 8px; word-break: break-all; }
.recovery-codes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.recovery-codes code { background: var(--white); border: 1px dashed #D8C8B2; padding: 10px; text-align: center; font-size: 15px; letter-spacing: .06em; border-radius: 8px; }
@media (max-width: 640px) { .mfa-qr { flex-direction: column; text-align: center; } }
@media print { .site-header, .site-footer, .auth-brand, .btn { display: none !important; } }

/* Credibility */
.type-pill { display: inline-block; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; background: var(--navy); color: var(--gold-2); }
.editorial-note { margin: 0 0 32px; padding: 16px 20px; background: #FBF3E7; border-left: 3px solid var(--gold); border-radius: 0 12px 12px 0; font-size: 15px; }
.editorial-note strong { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.editorial-note p { margin: 0; color: #4A4640; }
.references { margin: 48px 0 0; padding: 26px 28px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.references h3 { font-size: 1.25rem; margin-bottom: 14px; }
.references ol { margin: 0; padding-left: 1.3em; font-size: 15px; }
.references li { margin-bottom: 8px; }
.references a { color: var(--gold); border-bottom: 1px solid var(--gold-2); word-break: break-word; }

/* Brand sections */
.entry-card { display: flex; flex-direction: column; }
.entry-card .thumb { position: relative; aspect-ratio: 16/11; overflow: hidden; border-radius: 4px; margin-bottom: 18px; background: var(--bg-2); display: block; }
.entry-card .thumb img, .entry-card .thumb .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.entry-card:hover .thumb img { transform: scale(1.04); }
.entry-card h3 { font-size: 1.3rem; margin: 10px 0 8px; }
.entry-card p { color: var(--muted); font-size: 15px; }
.entry-facts { display: flex; gap: 24px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 22px; margin-bottom: 36px; }
.entry-facts dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px 24px; flex: 1; }
.entry-facts dt { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.entry-facts dd { margin: 2px 0 0; font-size: 15px; }
.entry-book { width: 110px; border-radius: 4px; box-shadow: 6px 10px 22px rgba(17,25,35,.18); }
.embed { position: relative; aspect-ratio: 16/9; margin-bottom: 32px; border-radius: 12px; overflow: hidden; background: #000; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.author-soc { display: flex; gap: 8px; margin-top: 10px; }
.author-soc a { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); }
.author-soc a:hover { color: var(--gold); border-color: var(--gold); }
.author-soc svg { width: 14px; height: 14px; }
.now-updated { display: inline-block; font-size: 13px; color: var(--muted); background: var(--white); border: 1px solid var(--line); padding: 6px 12px; border-radius: 20px; margin-bottom: 28px; }
.lib-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-top: 28px; }
.lib-stats div { background: var(--white); padding: 22px; text-align: center; }
.lib-stats b { display: block; font: 400 2.4rem/1 var(--serif); color: var(--gold); }
.lib-stats span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lib-topic { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; }
.lib-topic h3 { font-size: 1.25rem; margin: 0; }
.lib-topic ul { list-style: none; padding: 0; margin: 14px 0 18px; flex: 1; }
.lib-topic li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.lib-section { display: flex; gap: 16px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 20px; transition: all .25s; color: var(--ink); }
.lib-section:hover { border-color: var(--gold-2); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.lib-section .ic { width: 48px; height: 48px; border-radius: 14px; background: #FBF3E7; color: var(--gold); display: grid; place-items: center; flex-shrink: 0; }
.lib-section .ic svg { width: 22px; height: 22px; }
.lib-section strong { display: block; font: 500 1.1rem/1.3 var(--serif); }
.lib-section small { color: var(--muted); }
/* Explore dropdown */
.nav-drop { position: relative; }
.nav-drop > button { background: none; border: 0; font: 500 14px var(--sans); padding: 6px 0; color: var(--ink); display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.nav-drop > button.active { color: var(--gold); }
.main-nav { align-items: center; }
.nav-drop > button svg { width: 14px; height: 14px; transform: rotate(90deg); transition: transform .2s; }
.nav-drop:hover > button svg, .nav-drop:focus-within > button svg { transform: rotate(270deg); }
.nav-drop .drop { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px); min-width: 520px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; opacity: 0; visibility: hidden; transition: all .2s var(--ease); z-index: 60; }
.nav-drop:hover .drop, .nav-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(14px); }
.nav-drop .drop a { display: flex; gap: 12px; padding: 10px 12px; border-radius: 10px; align-items: flex-start; }
.nav-drop .drop a::after { display: none; }
.nav-drop .drop a:hover { background: var(--bg); }
.nav-drop .drop a .ic { width: 34px; height: 34px; border-radius: 10px; background: #FBF3E7; color: var(--gold); display: grid; place-items: center; flex-shrink: 0; }
.nav-drop .drop a .ic svg { width: 16px; height: 16px; }
.nav-drop .drop strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.nav-drop .drop small { display: block; font-size: 12px; color: var(--muted); line-height: 1.4; font-weight: 400; }
@media (max-width: 640px) { .lib-stats { grid-template-columns: 1fr 1fr; } .entry-facts { flex-direction: column; } }
.bundle-box { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin: 16px 0; }
.bundle-box ul { list-style: none; padding: 0; margin: 10px 0; }
.bundle-box li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.bundle-box li a { color: var(--ink); } .bundle-box li a:hover { color: var(--gold); }
.sample-link { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 18px; padding: 9px 14px; border: 1px dashed var(--gold-2); border-radius: 10px; font-size: 14px; color: var(--gold); background: #FFFBF4; }
.sample-link:hover { background: #FBF3E7; }
.thread { display: grid; gap: 12px; }
.thread .msg { max-width: 86%; padding: 14px 16px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); }
.thread .msg.me { justify-self: end; background: #FBF3E7; border-color: #EBD3AD; }
.thread .who { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.thread .body { white-space: pre-wrap; font-size: 15px; }
