/* =========================================================
   Algology Labs — site styles
   Brand: Primary #6602CE · Accent #FA0B9F · Navy #1e0b4a
   ========================================================= */

@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Medium.woff2") format("woff2"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Bold.woff2") format("woff2"); font-weight: 700 800; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("../fonts/WorkSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("../fonts/WorkSans-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("../fonts/WorkSans-Bold.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/JetBrainsMono-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --primary: #6602CE;
  --primary-600: #5502ab;
  --accent: #FA0B9F;
  --mid: #B007B8;
  --navy: #1e0b4a;
  --ink: #1c1830;
  --ink-2: #3b3652;
  --muted: #6d6883;
  --line: #e6e1f1;
  --tint: #f5f0fd;
  --tint-2: #fdf0f8;
  --soft: #faf8fe;
  --white: #fff;
  --grad: linear-gradient(90deg, #6602CE 0%, #B007B8 55%, #FA0B9F 100%);
  --grad-dark: linear-gradient(160deg, #1b0645 0%, #12032f 55%, #0b021d 100%);
  --t-primary: var(--primary);
  --t-accent: var(--accent);
  --t-soft: var(--tint);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(30, 11, 74, .06), 0 2px 8px rgba(30, 11, 74, .05);
  --shadow: 0 2px 6px rgba(30, 11, 74, .06), 0 12px 32px rgba(30, 11, 74, .09);
  --shadow-lg: 0 24px 60px rgba(30, 11, 74, .18);
  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* Sub-brand themes */
.theme-sanskaar { --t-primary: #B4530A; --t-accent: #E19A2B; --t-soft: #FFF6EA; }
.theme-stronghold { --t-primary: #1F3A5F; --t-accent: #3E7CB1; --t-soft: #EEF3F9; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary-600); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 700; }
h3, .h3 { font-size: 1.3rem; font-weight: 600; }
.h4, h4 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }
small, .small { font-size: .88rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 820px; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Icons ---------- */
.icon { width: 22px; height: 22px; flex: none; display: inline-block; vertical-align: middle; }
.icon-sm { width: 18px; height: 18px; }
.icon-xs { width: 14px; height: 14px; }

/* ---------- Buttons ---------- */
.btn { --bg: var(--white); display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .78rem 1.35rem; border-radius: 999px; border: 1.5px solid transparent; font-family: var(--font-head); font-weight: 600; font-size: .98rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(102, 2, 206, .25); }
.btn-primary:hover { color: #fff; box-shadow: 0 10px 26px rgba(176, 7, 184, .32); }
.theme-sanskaar .btn-primary { background: linear-gradient(90deg, #B4530A, #E19A2B); box-shadow: 0 6px 18px rgba(180, 83, 10, .25); }
.theme-stronghold .btn-primary { background: linear-gradient(90deg, #1F3A5F, #3E7CB1); box-shadow: 0 6px 18px rgba(31, 58, 95, .25); }
.btn-ghost { background: var(--white); color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { color: var(--primary); border-color: #d4c7ef; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { color: #fff; background: #2a1166; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { color: var(--primary); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .45); background: transparent; }
.btn-outline-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-sm { padding: .55rem 1rem; font-size: .9rem; }
.btn-lg { padding: .95rem 1.6rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-family: var(--font-head); font-weight: 600; text-decoration: none; }

/* ---------- Pills & chips ---------- */
.pill { display: inline-flex; align-items: center; gap: .3rem; padding: .22rem .65rem; border-radius: 999px; background: var(--tint); color: var(--primary); font-family: var(--font-head); font-size: .74rem; font-weight: 600; letter-spacing: .02em; line-height: 1.4; font-style: normal; white-space: nowrap; }
.pill-accent { background: var(--tint-2); color: #c4057c; }
.pill-soon { background: #fff4e0; color: #9a5300; }
.pill-live { background: #e6f7ee; color: #157347; }
.pill-outline { background: transparent; border: 1px solid var(--line); color: var(--ink-2); }
.pill-dark { background: rgba(255, 255, 255, .12); color: #ffd79a; }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink-2); text-decoration: none; font-family: var(--font-head); font-weight: 500; font-size: .92rem; transition: all .2s; }
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.eyebrow { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 600; color: var(--t-primary); margin: 0 0 .7rem; }
.eyebrow-light { color: #f3b6e0; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Announcement + header ---------- */
.announce { background: var(--navy); color: #e8defc; font-size: .9rem; text-align: center; padding: .55rem 0; }
.announce a { color: #fff; font-weight: 600; margin-left: .35rem; text-decoration: none; white-space: nowrap; }
.announce a:hover { color: #ffc2e6; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid rgba(230, 225, 241, .8); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 74px; }
.brand { display: flex; flex-direction: column; text-decoration: none; flex: none; }
.brand img { width: 168px; height: auto; }
.brand-sub { font-family: var(--font-head); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--t-primary); margin: 2px 0 0 52px; line-height: 1; }
.site-nav { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.nav-list > li > a, .menu-btn { display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .8rem; border-radius: 10px; font-family: var(--font-head); font-weight: 500; font-size: .97rem; color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; }
.nav-list > li > a:hover, .menu-btn:hover, .menu-btn[aria-expanded="true"] { color: var(--primary); background: var(--tint); }
.has-menu { position: relative; }
.mega { position: absolute; top: calc(100% + 10px); left: -120px; width: 640px; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; padding: 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.has-menu.is-open .mega { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 981px) { .has-menu:hover .mega, .has-menu:focus-within .mega { opacity: 1; visibility: visible; transform: none; } }
.mega::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.mega-title { font-family: var(--font-head); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 .5rem .6rem; }
.mega-col a { display: block; padding: .55rem .6rem; border-radius: 10px; text-decoration: none; color: var(--ink); }
.mega-col a:hover { background: var(--soft); }
.mega-col strong { display: flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--navy); }
.mega-col span { display: block; font-size: .84rem; color: var(--muted); line-height: 1.4; }
.mega-sanskaar strong { color: #8a3d05; }
.mega-stronghold strong { color: #1F3A5F; }
.mega-col .mega-all { margin-top: .4rem; color: var(--primary); font-family: var(--font-head); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: .35rem; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: inline-block; }

@media (max-width: 980px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav-toggle { display: inline-flex; }
  .site-nav { position: fixed; inset: 74px 0 0 0; flex-direction: column; align-items: stretch; gap: 1rem; padding: 1rem var(--gutter) 2rem; background: #fff; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: transform .2s ease, opacity .2s ease, visibility .2s; }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list > li > a, .menu-btn { width: 100%; justify-content: space-between; padding: 1rem .25rem; font-size: 1.05rem; border-radius: 0; }
  .nav-list > li > a:hover, .menu-btn:hover, .menu-btn[aria-expanded="true"] { background: none; }
  .mega { position: static; width: auto; grid-template-columns: 1fr; gap: .5rem; padding: 0 0 .75rem; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .has-menu.is-open .mega { display: grid; }
  .nav-cta { width: 100%; padding: .95rem; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Flash messages ---------- */
.flashes { margin-top: 1rem; display: grid; gap: .5rem; }
.flash { display: flex; gap: .6rem; align-items: flex-start; padding: .9rem 1.1rem; border-radius: 12px; font-weight: 500; }
.flash-success { background: #e9f8f0; color: #125c39; border: 1px solid #bfe8d2; }
.flash-error { background: #fdeef3; color: #8f0f43; border: 1px solid #f6c6d8; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-tight { padding-top: clamp(32px, 4vw, 48px); }
.bg-soft { background: var(--soft); }
.theme-sanskaar .bg-soft { background: #fffaf3; }
.theme-stronghold .bg-soft { background: #f5f8fb; }
.section-head { max-width: 720px; margin-bottom: 2.4rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; }
.section-head-row > div:first-child { max-width: 680px; }
.section-head h2 { margin-bottom: .35em; }
.section-sub, .lead { font-size: 1.12rem; color: var(--ink-2); }
.lead { font-size: clamp(1.06rem, 1.6vw, 1.22rem); }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-products { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.6rem 1.4rem; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem .9rem; } }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.split-center { align-items: center; }
.split-wide { grid-template-columns: 1.4fr .8fr; }
@media (max-width: 900px) { .split, .split-wide { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); background:
  radial-gradient(900px 480px at 92% 8%, rgba(250, 11, 159, .10), transparent 60%),
  radial-gradient(800px 520px at 0% 100%, rgba(102, 2, 206, .10), transparent 60%), linear-gradient(180deg, #fff 0%, var(--soft) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1.08; letter-spacing: -.02em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 0; }
.center-actions { justify-content: center; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 1.6rem; list-style: none; padding: 0; margin: 2.2rem 0 0; color: var(--muted); font-size: .95rem; }
.hero-proof strong { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--navy); line-height: 1.1; }
.hero-art { position: relative; min-height: 470px; }
.hero-glow { position: absolute; inset: 10% 5%; background: var(--grad); filter: blur(70px); opacity: .25; border-radius: 50%; }
.hero-cover { position: absolute; width: 56%; border-radius: 10px; box-shadow: var(--shadow-lg); transition: transform .5s ease; }
.hero-cover-1 { left: 2%; top: 12%; transform: rotate(-9deg); }
.hero-cover-2 { left: 22%; top: 3%; transform: rotate(-1deg); z-index: 2; }
.hero-cover-3 { right: 0; top: 14%; transform: rotate(8deg); z-index: 1; }
.hero-art:hover .hero-cover-1 { transform: rotate(-12deg) translateX(-10px); }
.hero-art:hover .hero-cover-3 { transform: rotate(11deg) translateX(10px); }
.float-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: .45rem; padding: .6rem .95rem; background: #fff; border-radius: 999px; box-shadow: var(--shadow); font-family: var(--font-head); font-size: .85rem; font-weight: 600; color: var(--navy); }
.float-chip .icon { color: var(--accent); }
.chip-a { left: -2%; bottom: 10%; }
.chip-b { right: 2%; bottom: 0; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 0; aspect-ratio: 1 / .8; max-width: 520px; width: 100%; margin: 0 auto; }
}

/* ---------- Brand line cards ---------- */
.line-card { position: relative; display: flex; flex-direction: column; gap: .7rem; padding: 1.7rem; min-height: 320px; border-radius: 20px; color: #fff; text-decoration: none; overflow: hidden; isolation: isolate; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; }
.line-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: #fff; }
.line-card::after { content: ""; position: absolute; inset: auto -30% -40% auto; width: 300px; height: 300px; border-radius: 50%; filter: blur(50px); opacity: .55; z-index: -1; }
.line-brand { background: var(--grad-dark); }
.line-brand::after { background: #FA0B9F; }
.line-sanskaar { background: linear-gradient(160deg, #5a1f02 0%, #8a3d05 55%, #b4530a 100%); }
.line-sanskaar::after { background: #f4b740; }
.line-stronghold { background: linear-gradient(160deg, #0d1b2e 0%, #1F3A5F 60%, #2c527f 100%); }
.line-stronghold::after { background: #5b9bd5; }
.line-card-tag { align-self: flex-start; font-family: var(--font-head); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .25rem .65rem; border-radius: 999px; background: rgba(255, 255, 255, .14); }
.line-card-title { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; line-height: 1.25; }
.line-card-desc { color: rgba(255, 255, 255, .8); font-size: .97rem; }
.line-card-cta { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-weight: 600; }

/* Sub-brand mark: name shown under the Algology Labs logo */
.line-mark { display: inline-flex; flex-direction: column; gap: 4px; }
.line-mark img { width: 132px; height: auto; }
.line-mark-name { font-family: var(--font-head); font-weight: 700; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--t-primary); padding-left: 41px; line-height: 1.1; }
.line-mark-light .line-mark-name { color: #fff; }

/* ---------- Product cards ---------- */
.product-card { display: flex; flex-direction: column; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pc-media { display: block; background: linear-gradient(180deg, var(--tint) 0%, #fff 100%); padding: 1.1rem 1.1rem 0; }
.pc-media img { width: 100%; aspect-ratio: 210 / 297; object-fit: cover; border-radius: 6px 6px 0 0; box-shadow: 0 -2px 18px rgba(30, 11, 74, .16); }
.is-bundle .pc-media { padding: 0; }
.is-bundle .pc-media img { aspect-ratio: 4 / 3; border-radius: 0; box-shadow: none; }
.pc-body { display: flex; flex-direction: column; gap: .35rem; padding: 1rem 1.1rem 1.15rem; flex: 1; }
.pc-tags { display: flex; flex-wrap: wrap; gap: .35rem; min-height: 1.4rem; }
.pc-title { font-size: 1.04rem; margin: .1rem 0 0; line-height: 1.3; }
.pc-title a { color: var(--navy); text-decoration: none; }
.pc-title a::after { content: ""; position: absolute; inset: 0; }
.product-card { position: relative; }
.pc-title a:hover { color: var(--primary); }
.pc-meta { font-size: .86rem; color: var(--muted); margin: 0; line-height: 1.45; }
.pc-foot { margin-top: auto; padding-top: .6rem; display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.pc-inc { font-size: .78rem; color: var(--muted); }
.price { margin: 0; display: inline-flex; align-items: baseline; gap: .45rem; flex-wrap: wrap; }
.price-now { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--navy); }
.price-was { color: var(--muted); font-size: .9rem; }
.price-lg .price-now { font-size: 1.7rem; }
.price-xl .price-now { font-size: 2.3rem; }
.price-xl { align-items: center; }

.cover-ph { width: 100%; aspect-ratio: 210 / 297; display: flex; flex-direction: column; justify-content: flex-end; gap: .35rem; padding: 1.2rem; border-radius: 6px 6px 0 0; color: #fff; position: relative; overflow: hidden; }
.cover-ph::before { content: ""; position: absolute; width: 180%; aspect-ratio: 1; top: -70%; right: -90%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 0 0 26px rgba(255, 255, 255, .04), 0 0 0 56px rgba(255, 255, 255, .03); }
.cover-sanskaar { background: radial-gradient(circle at 80% 15%, rgba(244, 183, 64, .55), transparent 45%), linear-gradient(160deg, #5a1f02, #8a3d05 60%, #b4530a); }
.cover-stronghold { background: radial-gradient(circle at 80% 15%, rgba(91, 155, 213, .5), transparent 45%), linear-gradient(160deg, #0d1b2e, #1F3A5F 60%, #2c527f); }
.cover-brand { background: var(--grad-dark); }
.cover-ph-brand { font-family: var(--font-head); font-weight: 700; font-size: .8rem; opacity: .9; position: absolute; top: 1.1rem; left: 1.2rem; }
.cover-ph-line { font-family: var(--font-head); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; opacity: .85; }
.cover-ph-title { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; line-height: 1.15; }
.cover-ph-soon { align-self: flex-start; margin-top: .4rem; font-family: var(--font-head); font-size: .7rem; font-weight: 600; padding: .2rem .6rem; border-radius: 999px; background: rgba(255, 255, 255, .18); }
.is-soon .pc-media { padding: 1.1rem 1.1rem 0; }

/* ---------- Bundles ---------- */
.bundle-card { display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.bundle-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.bundle-card img { width: 100%; height: 100%; object-fit: cover; }
.bundle-body { padding: 1.6rem; display: flex; flex-direction: column; gap: .6rem; align-items: flex-start; }
.bundle-body h3 { margin: 0; font-size: 1.25rem; }
.bundle-body p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.bundle-body .btn { margin-top: auto; }
@media (max-width: 1100px) { .bundle-card { grid-template-columns: 1fr; } .bundle-card img { aspect-ratio: 4 / 3; height: auto; } }

/* ---------- Steps / features ---------- */
.steps { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: 1.2rem; }
.steps li { display: flex; gap: 1rem; align-items: flex-start; }
.steps p { margin: .2rem 0 0; color: var(--muted); font-size: .97rem; }
.steps strong { font-family: var(--font-head); color: var(--navy); font-weight: 600; }
.step-n { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .95rem; }
.features .feature { padding: 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.feature h3 { font-size: 1.1rem; margin: .9rem 0 .35rem; }
.feature p { color: var(--muted); font-size: .96rem; margin: 0; }
.feature-ic { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--t-soft); color: var(--t-primary); }
.ticks { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: .65rem; }
.ticks li { position: relative; padding-left: 2rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--t-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%236602CE' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; }

.peek { position: relative; }
.peek-page { display: block; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); transform: rotate(1.5deg); transition: transform .3s; background: #fff; }
.peek-page:hover { transform: rotate(0) scale(1.01); }
.peek-cap { display: flex; align-items: center; gap: .45rem; justify-content: center; margin-top: 1.2rem; color: var(--muted); font-size: .9rem; }

/* ---------- Band / CTA ---------- */
.section-band { padding: clamp(24px, 4vw, 40px) 0; }
.band { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; background: var(--grad-dark); color: #ddd2f7; border-radius: 24px; padding: clamp(28px, 5vw, 56px); position: relative; overflow: hidden; isolation: isolate; }
.band::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; background: rgba(250, 11, 159, .4); filter: blur(90px); z-index: -1; }
.band::after { content: ""; position: absolute; width: 420px; height: 420px; left: -160px; bottom: -220px; background: rgba(102, 2, 206, .6); filter: blur(90px); z-index: -1; }
.band h2 { color: #fff; }
.band p { margin: 0; }
@media (max-width: 900px) { .band { grid-template-columns: 1fr; } }

.ad-teaser { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(28px, 4vw, 48px); border-radius: 24px; background: linear-gradient(120deg, var(--tint) 0%, var(--tint-2) 100%); border: 1px solid var(--line); flex-wrap: wrap; }
.ad-teaser > div { max-width: 640px; }
.ad-teaser p { margin: 0; color: var(--ink-2); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: .9rem; }
.field label { font-family: var(--font-head); font-weight: 500; font-size: .9rem; color: var(--navy); }
.optional { color: var(--muted); font-weight: 400; }
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input:not([type]), select, textarea {
  width: 100%; padding: .78rem .95rem; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(102, 2, 206, .12); }
textarea { resize: vertical; min-height: 120px; }
.input-group { display: flex; gap: .5rem; }
.input-group input { flex: 1; min-width: 0; border-radius: 999px; padding-left: 1.2rem; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .86rem; color: var(--muted); line-height: 1.45; cursor: pointer; }
.check input { margin-top: .2rem; width: 17px; height: 17px; accent-color: var(--primary); flex: none; }
.signup .field { margin-bottom: .7rem; }
.signup-dark .check { color: #bfb2e3; }
.signup-dark .check a { color: #fff; }
.signup-dark input[type="email"] { border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; }
.signup-dark input::placeholder { color: #a99cd3; }
.signup-dark input:focus { border-color: #f3b6e0; box-shadow: 0 0 0 4px rgba(250, 11, 159, .2); }
@media (max-width: 520px) { .input-group { flex-direction: column; } .input-group .btn { width: 100%; } }
.form { padding: clamp(20px, 4vw, 36px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field-full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.inline-form { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .8rem; }
.inline-form input { flex: 1 1 220px; border-radius: 999px; }
.center-form { justify-content: center; max-width: 520px; margin: 1.5rem auto 0; }

/* ---------- Page heroes ---------- */
.page-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 4vw, 40px); background: linear-gradient(180deg, var(--soft) 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.page-hero .lead { max-width: 760px; }
.page-hero .chip-row { margin-top: 1.6rem; }
.page-hero-sm h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 1rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--primary); }
.result-count { color: var(--muted); font-size: .92rem; margin-bottom: 1.2rem; }

/* ---------- Series (line live) ---------- */
.series-hero { background: var(--grad-dark); color: #d9cdf5; padding: clamp(48px, 7vw, 90px) 0; position: relative; overflow: hidden; isolation: isolate; }
.series-hero::before { content: ""; position: absolute; width: 560px; height: 560px; right: -100px; top: -220px; background: rgba(250, 11, 159, .35); filter: blur(110px); z-index: -1; }
.series-hero h1 { color: #fff; margin-top: 1.4rem; font-size: clamp(2rem, 4.2vw, 3.2rem); }
.series-hero .lead { color: #d9cdf5; }
.series-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.series-stats { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; grid-template-columns: repeat(4, auto); gap: 1.5rem; justify-content: start; }
.series-stats strong { display: block; font-family: var(--font-head); font-size: 1.7rem; color: #fff; line-height: 1.1; }
.series-stats span { font-size: .85rem; }
.series-covers { position: relative; height: 440px; }
.sc { position: absolute; width: 40%; border-radius: 8px; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); }
.sc-1 { left: 0; top: 4%; transform: rotate(-8deg); }
.sc-2 { left: 18%; top: 0; transform: rotate(-3deg); z-index: 2; }
.sc-3 { left: 38%; top: 5%; transform: rotate(3deg); z-index: 3; }
.sc-4 { left: 58%; top: 10%; transform: rotate(8deg); z-index: 2; }
.sc-5 { left: 10%; top: 42%; transform: rotate(-4deg); z-index: 4; }
.sc-6 { left: 46%; top: 44%; transform: rotate(5deg); z-index: 5; }
@media (max-width: 900px) { .series-grid { grid-template-columns: 1fr; } .series-covers { height: 360px; max-width: 520px; } .series-stats { grid-template-columns: repeat(2, auto); } }

/* ---------- Coming soon ---------- */
.soon-hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0; isolation: isolate; }
.soon-sanskaar { background: radial-gradient(800px 400px at 85% 10%, rgba(244, 183, 64, .28), transparent 60%), linear-gradient(180deg, #fff8ee 0%, #fff 100%); }
.soon-stronghold { background: radial-gradient(800px 400px at 85% 10%, rgba(91, 155, 213, .25), transparent 60%), linear-gradient(180deg, #eef3f9 0%, #fff 100%); }
.soon-pattern { position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: radial-gradient(circle at 1px 1px, rgba(0, 0, 0, .07) 1px, transparent 0); background-size: 22px 22px; mask-image: linear-gradient(180deg, #000, transparent); -webkit-mask-image: linear-gradient(180deg, #000, transparent); }
.soon-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.soon-copy .pill { margin: 1.4rem 0 .8rem; }
.soon-form { padding: 1.4rem; margin-top: 1.8rem; max-width: 560px; }
.soon-form h2 { margin-bottom: .2rem; }
.soon-art { display: grid; place-items: center; }
.soon-emblem { width: min(320px, 70vw); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; color: #fff; position: relative; box-shadow: var(--shadow-lg); }
.soon-sanskaar .soon-emblem { background: radial-gradient(circle at 30% 25%, #e7a33b, #b4530a 55%, #6b2604); }
.soon-stronghold .soon-emblem { background: radial-gradient(circle at 30% 25%, #4d8ac0, #1F3A5F 60%, #0d1b2e); }
.soon-emblem::before, .soon-emblem::after { content: ""; position: absolute; inset: -18px; border-radius: 50%; border: 1px dashed rgba(0, 0, 0, .15); }
.soon-emblem::after { inset: -40px; border-style: solid; border-color: rgba(0, 0, 0, .06); }
.icon-emblem { width: 46%; height: 46%; stroke-width: 1.2; }
.soon-item { overflow: hidden; display: flex; flex-direction: column; }
.soon-item .cover-ph { aspect-ratio: 16 / 10; border-radius: 0; }
.soon-item-body { padding: 1.2rem 1.3rem 1.4rem; }
.soon-item-body h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.soon-item-body p { color: var(--muted); margin: 0; font-size: .95rem; }
.soon-more { justify-content: center; background: var(--t-soft); }
.soon-more h3 { margin-top: .8rem; }
@media (max-width: 900px) { .soon-grid { grid-template-columns: 1fr; } .soon-art { order: -1; } .soon-emblem { width: 180px; } }

/* ---------- Product page ---------- */
.product-top { padding-top: clamp(24px, 4vw, 40px); }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .product-grid { grid-template-columns: 1fr; } }
.gallery { position: sticky; top: 96px; }
@media (max-width: 900px) { .gallery { position: static; } }
.gallery-main { position: relative; display: block; background: linear-gradient(180deg, var(--tint) 0%, var(--soft) 100%); border-radius: 20px; padding: clamp(20px, 5vw, 48px); border: 1px solid var(--line); }
.gallery-main img { margin: 0 auto; max-height: 620px; width: auto; border-radius: 8px; box-shadow: var(--shadow-lg); }
.gallery-main.is-wide { padding: 0; overflow: hidden; }
.gallery-main.is-wide img { width: 100%; max-height: none; border-radius: 0; box-shadow: none; }
.zoom-hint { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: .8rem; font-family: var(--font-head); color: var(--navy); box-shadow: var(--shadow-sm); }
.thumbs { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: .6rem; }
.thumbs a { display: block; border-radius: 8px; overflow: hidden; border: 1.5px solid var(--line); background: #fff; transition: border-color .15s, transform .15s; }
.thumbs a:hover { border-color: var(--primary); transform: translateY(-2px); }
.thumbs img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.buybox h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: .8rem 0 .4rem; }
.buybox .lead { margin-bottom: 1.4rem; }
.price-box { padding: 1.2rem 0; border-top: 1px solid var(--line); margin-bottom: 1rem; }
.price-note { color: var(--muted); font-size: .92rem; margin: .4rem 0 0; }
.notify-box { background: var(--t-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; margin-bottom: 1.4rem; }
.notify-title { display: flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-weight: 600; color: var(--navy); margin: 0 0 .25rem; }
.notify-box .small { color: var(--ink-2); }
.facts { list-style: none; padding: 1.2rem 0; margin: 1.2rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: .75rem; }
.facts li { display: flex; gap: .7rem; align-items: flex-start; font-size: .97rem; color: var(--ink-2); }
.facts .icon { color: var(--t-primary); margin-top: .1rem; }
.facts strong { color: var(--navy); }
.pages-strip { list-style: none; padding: 0 0 .8rem; margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory; }
.pages-strip li { scroll-snap-align: start; }
.page-thumb { display: block; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: var(--shadow); transition: transform .2s; border: 1px solid var(--line); }
.page-thumb:hover { transform: translateY(-4px); }
.page-thumb img { width: 100%; aspect-ratio: 900 / 1178; object-fit: cover; object-position: top; }

.prose-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 980px) { .prose-grid { grid-template-columns: 1fr; } }
.side { display: grid; gap: 1.2rem; position: sticky; top: 96px; }
@media (max-width: 980px) { .side { position: static; } }
.side-card { padding: 1.3rem; }
.side-bundle { display: flex; flex-direction: column; gap: .2rem; padding: .8rem 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.side-bundle:first-of-type { border-top: 0; padding-top: 0; }
.side-bundle strong { font-family: var(--font-head); color: var(--navy); font-size: .98rem; }
.side-bundle:hover strong { color: var(--primary); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: .3rem 0; }
.faq summary { cursor: pointer; list-style: none; padding: .7rem 1.8rem .7rem 0; font-family: var(--font-head); font-weight: 600; color: var(--navy); position: relative; font-size: .98rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: .5rem; font-size: 1.3rem; color: var(--primary); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); font-size: .95rem; margin: 0 0 .8rem; }

/* ---------- Prose ---------- */
.prose { font-size: 1.06rem; }
.prose h2 { font-size: 1.6rem; margin-top: 2rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.25rem; margin-top: 1.8rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2rem; }
.prose li { margin: .35rem 0; }
.prose li::marker { color: var(--primary); }
.prose blockquote { margin: 1.4rem 0; padding: 1rem 1.3rem; border-left: 4px solid var(--primary); background: var(--tint); border-radius: 0 12px 12px 0; }
.prose blockquote p { margin: 0; }
.prose code { font-family: var(--font-mono); font-size: .88em; background: var(--tint); color: #4a0596; padding: .12em .4em; border-radius: 5px; }
.code { position: relative; margin: 1.3rem 0; }
.code pre { margin: 0; background: #f7f5fb; border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.2rem; overflow-x: auto; font-size: .9rem; line-height: 1.55; }
.code pre code { background: none; padding: 0; color: var(--ink); }
.code-lang { position: absolute; top: .5rem; right: .7rem; font-family: var(--font-head); font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }

/* ---------- Blog ---------- */
.post-card { overflow: hidden; display: flex; flex-direction: column; position: relative; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--tint); }
.post-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.post-ph { width: 100%; height: 100%; display: grid; place-items: center; background: var(--grad-dark); }
.post-ph img { width: 64px; height: auto; }
.post-body { padding: 1.2rem 1.3rem 1.4rem; }
.post-body h3 { font-size: 1.12rem; margin: .5rem 0; }
.post-body h3 a { color: var(--navy); text-decoration: none; }
.post-body h3 a::after { content: ""; position: absolute; inset: 0; }
.post-body p { color: var(--muted); font-size: .95rem; margin: 0; }
.post-meta { display: flex; align-items: center; gap: .6rem; font-size: .85rem; color: var(--muted); margin: 0; }
.post h1 { margin-top: .8rem; }
.post .prose { margin-top: 2rem; }
.post-cta { margin-top: 3rem; padding: 1.6rem; border-radius: 20px; background: var(--soft); border: 1px solid var(--line); }
.pager { display: flex; gap: .4rem; justify-content: center; margin-top: 2.5rem; }
.pager a { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.pager a.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }

.next-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.5rem; text-align: left; }
@media (max-width: 600px) { .next-steps { grid-template-columns: 1fr; } }
.next-card { display: flex; flex-direction: column; padding: 1.1rem 1.2rem; text-decoration: none; color: var(--ink); transition: border-color .2s; }
.next-card:hover { border-color: var(--primary); color: var(--ink); }
.next-card strong { font-family: var(--font-head); color: var(--navy); }
.next-card span { color: var(--muted); font-size: .92rem; }
.big-ic { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--tint); color: var(--primary); margin-bottom: 1.2rem; }
.big-ic .icon { width: 34px; height: 34px; }
.err-code { font-family: var(--font-head); font-size: 5rem; font-weight: 700; line-height: 1; margin: 0 0 .5rem; }
.err-code { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Sampler page ---------- */
.sampler-hero { background: radial-gradient(800px 420px at 90% 0%, rgba(250, 11, 159, .09), transparent 60%), linear-gradient(180deg, var(--soft), #fff); }
.sampler-form { padding: 1.4rem; margin-top: 1.4rem; }
.sampler-art img { border-radius: 10px; box-shadow: var(--shadow-lg); transform: rotate(2deg); margin: 0 auto; max-width: 440px; width: 100%; }
.resend { margin-top: 1.2rem; font-size: .92rem; }
.resend summary { cursor: pointer; color: var(--primary); font-family: var(--font-head); font-weight: 500; }

/* ---------- Advertise ---------- */
.ad-hero { background: var(--grad-dark); color: #d9cdf5; padding: clamp(48px, 7vw, 90px) 0; position: relative; overflow: hidden; isolation: isolate; }
.ad-hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; bottom: -260px; background: rgba(250, 11, 159, .35); filter: blur(110px); z-index: -1; }
.ad-hero h1 { color: #fff; }
.ad-hero .lead { color: #d9cdf5; }
.ad-points { list-style: none; padding: 1.6rem; margin: 0; display: grid; gap: .9rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; }
.ad-points li { display: flex; gap: .6rem; align-items: center; color: #fff; font-family: var(--font-head); font-weight: 500; }
.ad-points .icon { color: #ff7ccc; }
.audience { padding: 1.5rem; border-top: 4px solid var(--primary); }
.audience-sanskaar { border-top-color: #b4530a; }
.audience-stronghold { border-top-color: #1F3A5F; }
.audience-line { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; font-family: var(--font-head); font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.audience h3 { font-size: 1.2rem; }
.audience p:last-child { color: var(--ink-2); margin: 0; }
.option { padding: 1.5rem; }
.option h3 { font-size: 1.1rem; margin: .9rem 0 .35rem; }
.option p { color: var(--muted); margin: 0; font-size: .96rem; }
.pricing-note { margin-top: 2rem; }
.standards { padding: 1.6rem; }
.standards ul { padding-left: 1.2rem; color: var(--ink-2); }
.standards li { margin: .3rem 0; }

/* ---------- Contact / About ---------- */
.contact-side { display: grid; gap: 1rem; }
.contact-card { padding: 1.3rem; }
.contact-card h2 { margin: .8rem 0 .3rem; }
.contact-card p { margin: 0 0 .3rem; }
.stat-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.stat-list strong { display: block; font-family: var(--font-head); font-size: 1.8rem; color: var(--navy); line-height: 1.1; }
.stat-list span { color: var(--muted); font-size: .92rem; }

/* ---------- Affiliates ---------- */
.aff-card { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.aff-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.aff-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.aff-body { display: flex; flex-direction: column; gap: .4rem; padding: 1.1rem; }
.aff-body strong { font-family: var(--font-head); color: var(--navy); }
.aff-body span { font-size: .92rem; color: var(--muted); }
.disclosure { margin-top: 1.4rem; font-size: .85rem; color: var(--muted); }
.empty { padding: 2rem; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #bfb2e3; padding: clamp(48px, 6vw, 72px) 0 1.5rem; margin-top: 0; font-size: .95rem; }
.site-footer a { color: #e7defb; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding-bottom: 2.5rem; }
.footer-top, .footer-bottom { background: linear-gradient(rgba(255, 255, 255, .12), rgba(255, 255, 255, .12)) no-repeat; background-size: calc(100% - 2 * var(--gutter)) 1px; }
.footer-top { background-position: center bottom; }
.footer-bottom { background-position: center top; }
.footer-brand p { margin: 1rem 0 1.2rem; max-width: 380px; }
.footer-h { font-family: var(--font-head); font-weight: 600; color: #fff; margin: 0 0 .8rem; font-size: 1rem; }
.muted-light { color: #a99cd3; font-size: .92rem; }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding-top: 2.5rem; padding-bottom: 2.5rem; }
.footer-links ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding-top: 1.5rem; font-size: .86rem; color: #9a8ccb; }
.footer-bottom p { margin: 0; }
.social { list-style: none; padding: 0; margin: 0; display: flex; gap: .5rem; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; transition: background .2s, transform .2s; }
.social a:hover { background: var(--accent); transform: translateY(-2px); text-decoration: none; }
.social .icon { width: 19px; height: 19px; }
.social-dark a { background: var(--tint); color: var(--primary); }
.social-dark a:hover { color: #fff; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr; gap: 2rem; } .footer-links { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .footer-links { grid-template-columns: 1fr; } }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: rgba(11, 2, 29, .92); max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lightbox::backdrop { background: rgba(11, 2, 29, .88); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; max-width: min(92vw, 900px); max-height: 92vh; display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.lightbox img { max-height: 84vh; width: auto; border-radius: 8px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); background: #fff; }
.lightbox figcaption { color: #e7defb; font-size: .9rem; text-align: center; }
.lightbox-close, .lightbox-nav { position: fixed; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255, 255, 255, .28); }
.lightbox-close { top: 18px; right: 18px; }
.lightbox-nav.prev { left: 14px; top: 50%; }
.lightbox-nav.next { right: 14px; top: 50%; }
.lightbox-nav[hidden] { display: none; }
.nowrap { white-space: nowrap; }
.soon-copy .line-mark { display: flex; width: max-content; } .soon-copy > .pill { display: inline-flex; }
.pc-tags .pill { white-space: normal; }
