/* ==========================================================================
   New Jyothi Publications — design system
   Palette drawn from the logo: brand blue #0066B3, indigo #2E3192,
   and the warm amber / coral of the emblem.
   Type: Inter Tight (headings) + Inter (UI & body), Helvetica-style sans-serif
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --ink: #0d1240;
  --navy: #151a5c;
  --indigo: #2e3192;
  --blue: #0066b3;
  --blue-600: #00599c;
  --blue-50: #eaf3fb;
  --sky: #d6e8f7;
  --amber: #f7a541;
  --amber-300: #fbc57f;
  --coral: #f26b4e;
  --paper: #f7f8fc;
  --surface: #ffffff;
  --text: #121737;
  --muted: #4a5173;
  --line: #e2e5f0;
  --line-strong: #cfd4e6;

  --font-display: 'Inter Tight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-sans: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(13, 18, 64, .06), 0 2px 8px rgba(13, 18, 64, .04);
  --shadow: 0 2px 4px rgba(13, 18, 64, .04), 0 12px 32px -8px rgba(13, 18, 64, .14);
  --shadow-lg: 0 30px 60px -20px rgba(13, 18, 64, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --z-header: 50;
  --z-menu: 60;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--ink);
  margin: 0;
}
p { margin: 0; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--amber-300); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }
.section { padding-block: 88px; }
@media (min-width: 1024px) { .section { padding-block: 128px; } }

.icon { width: 20px; height: 20px; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 26px; height: 26px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(247, 165, 65, .22); }
.eyebrow.on-dark { color: var(--amber-300); }
.display { font-size: clamp(2.6rem, 6.6vw, 5.6rem); line-height: 1.02; letter-spacing: -.035em; }
h1 em, h2 em, h3 em, .quote-block em { font-style: normal; }
.h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.lead { font-size: 1.2rem; line-height: 1.7; color: var(--muted); }
.muted { color: var(--muted); }
.accent-italic { font-style: normal; color: var(--blue); }
.highlight { position: relative; white-space: nowrap; }
.highlight::after {
  content: ''; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .28em;
  background: var(--amber); opacity: .55; border-radius: 4px; z-index: -1;
}
.highlight { z-index: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font-weight: 700; font-size: .98rem; letter-spacing: -.005em;
  transition: background-color .22s var(--ease), color .22s var(--ease), box-shadow .22s var(--ease), transform .22s var(--ease);
  cursor: pointer; white-space: nowrap;
}
.btn .icon { transition: transform .22s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(0, 102, 179, .7); }
.btn-primary:hover { background: var(--indigo); box-shadow: 0 14px 30px -10px rgba(46, 49, 146, .7); }
.btn-accent { background: var(--amber); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(247, 165, 65, .8); }
.btn-accent:hover { background: #ffb95e; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); background: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--amber); }
.btn-outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1.5px #fff; }
.btn:disabled { opacity: .6; cursor: progress; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); }
.link-arrow:hover { color: var(--indigo); }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform .2s var(--ease); }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 14px; left: 0; right: 0; z-index: var(--z-header); padding-inline: 14px; pointer-events: none; }
.nav-shell {
  pointer-events: auto;
  max-width: 1240px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px 10px 10px 20px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 999px;
  box-shadow: 0 1px 0 rgba(13, 18, 64, .04), 0 10px 30px -12px rgba(13, 18, 64, .18);
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-scrolled .nav-shell { background: rgba(255, 255, 255, .94); box-shadow: 0 16px 40px -14px rgba(13, 18, 64, .3); }
.brand img { height: 40px; width: auto; border-radius: 6px; }
.nav-links { display: none; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  font-size: .95rem; font-weight: 600; color: var(--muted);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: var(--blue-50); }
.nav-links a[aria-current='page'] { color: var(--ink); background: var(--blue-50); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-actions .btn { min-height: 46px; padding: 0 20px; font-size: .92rem; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); color: #fff;
}
@media (min-width: 1080px) {
  .nav-links { display: flex; }
  .menu-toggle { display: none; }
}
@media (max-width: 480px) {
  .nav-actions .btn-contact { display: none; }
  .brand img { height: 34px; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: var(--ink); color: #fff;
  display: flex; flex-direction: column; padding: 24px;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu-top img { height: 36px; border-radius: 6px; }
.menu-close { width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.mobile-menu nav { margin-top: 48px; }
.mobile-menu nav a {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .85);
}
.mobile-menu nav a[aria-current='page'], .mobile-menu nav a:hover { color: var(--amber); }
.mobile-menu-foot { margin-top: auto; padding-top: 32px; display: grid; gap: 12px; }
body.menu-open { overflow: hidden; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 150px 0 90px;
  background:
    radial-gradient(60% 60% at 85% 20%, rgba(0, 102, 179, .16), transparent 70%),
    radial-gradient(40% 50% at 70% 90%, rgba(247, 165, 65, .20), transparent 70%),
    radial-gradient(50% 50% at 0% 0%, rgba(46, 49, 146, .10), transparent 70%),
    var(--paper);
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(13, 18, 64, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(13, 18, 64, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent 80%);
}
.hero-grid { display: grid; gap: 64px; align-items: center; }
@media (min-width: 1024px) { .hero { padding: 180px 0 120px; } .hero-grid { grid-template-columns: 1.1fr .9fr; } }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: .88rem; font-weight: 600; color: var(--muted);
}
.hero-badge b { background: var(--ink); color: var(--amber-300); font-weight: 700; padding: 4px 10px; border-radius: 999px; font-size: .78rem; letter-spacing: .04em; }
.hero h1 { margin-top: 28px; }
.hero .lead { max-width: 520px; margin-top: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.stat b { display: block; font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; line-height: 1; color: var(--ink); letter-spacing: -.04em; }
@media (max-width: 639px) {
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .stat b { font-size: 1.8rem; }
  .stat span { font-size: .8rem; }
  .hero-badge { font-size: .8rem; }
  .hero-badge .badge-long { display: none; }
  .float-chip.c1 { display: none; }
}
.stat span { display: block; margin-top: 8px; font-size: .88rem; color: var(--muted); font-weight: 500; }

/* Book stack */
.book-stage { position: relative; height: 440px; max-width: 520px; margin-inline: auto; width: 100%; }
@media (min-width: 640px) { .book-stage { height: 540px; } }
.book-stage .glow { position: absolute; inset: 12% 10%; border-radius: 50%; background: radial-gradient(circle, rgba(0, 102, 179, .35), transparent 65%); filter: blur(30px); z-index: 0; }
.book-card {
  position: absolute; width: 58%; aspect-ratio: 1; border-radius: 26px; overflow: hidden;
  background: #fff; box-shadow: var(--shadow-lg); border: 6px solid #fff;
  transition: transform .5s var(--ease);
}
.book-card img { width: 100%; height: 100%; object-fit: cover; }
.book-card.b1 { left: 0; top: 16%; transform: rotate(-9deg); z-index: 1; }
.book-card.b2 { right: 0; top: 4%; transform: rotate(7deg); z-index: 2; }
.book-card.b3 { left: 22%; bottom: 0; transform: rotate(-2deg); z-index: 3; }
.book-stage:hover .b1 { transform: rotate(-12deg) translate(-10px, -6px); }
.book-stage:hover .b2 { transform: rotate(10deg) translate(10px, -8px); }
.book-stage:hover .b3 { transform: rotate(0) translateY(-8px); }
.float-chip {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 18px; background: #fff; box-shadow: var(--shadow);
  font-size: .88rem; font-weight: 600; color: var(--ink); line-height: 1.3;
}
.float-chip small { display: block; color: var(--muted); font-weight: 500; font-size: .78rem; }
.float-chip .chip-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.float-chip.c1 { left: -4%; bottom: 18%; animation: bob 6s ease-in-out infinite; }
.float-chip.c2 { right: -2%; bottom: 4%; animation: bob 7s ease-in-out -2s infinite; }
.float-chip.c2 .chip-icon { background: #fff4e5; color: #c46a00; }
@media (max-width: 639px) { .float-chip.c1 { left: 0; bottom: 30%; } .float-chip.c2 { right: 0; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 22px 0; border-block: 1px solid rgba(255, 255, 255, .06); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 56px; font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; color: rgba(255, 255, 255, .9); }
.marquee-track span::after { content: '✦'; font-style: normal; font-size: 1rem; color: var(--amber); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section heads ---------- */
.section-head { display: grid; gap: 24px; margin-bottom: 56px; align-items: end; }
.section-head h2 { margin-top: 18px; }
@media (min-width: 1024px) { .section-head { grid-template-columns: 1fr 1fr; gap: 64px; margin-bottom: 72px; } }
.section-head.center { text-align: center; grid-template-columns: 1fr; justify-items: center; max-width: 760px; margin-inline: auto; }

/* ---------- Stream cards (bento) ---------- */
.streams { display: grid; gap: 18px; }
@media (min-width: 640px) { .streams { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .streams { grid-template-columns: repeat(4, 1fr); } }
.stream-card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); overflow: hidden; cursor: pointer;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.stream-card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-4px); }
.stream-media { aspect-ratio: 1 / .92; overflow: hidden; background: #eef0f6; }
.stream-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.stream-card:hover .stream-media img { transform: scale(1.05); }
.stream-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.stream-num { font-size: .78rem; font-weight: 700; letter-spacing: .12em; color: var(--blue); }
.stream-body h3 { font-size: 1.55rem; }
.stream-body p { font-size: .95rem; color: var(--muted); }
.stream-go {
  position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--ink); box-shadow: var(--shadow-sm);
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.stream-card:hover .stream-go { background: var(--amber); transform: rotate(-45deg); }

/* ---------- Split / story ---------- */
.split { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: 88px; } .split.reverse > :first-child { order: 2; } }
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-note {
  position: absolute; left: 20px; bottom: 20px; right: 20px; max-width: 320px;
  padding: 18px 20px; border-radius: 18px; background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; letter-spacing: -.01em; color: var(--ink); line-height: 1.4;
}
.check-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--text); font-weight: 500; }
.check-list .tick { width: 28px; height: 28px; border-radius: 50%; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; flex-shrink: 0; margin-top: -1px; }

/* ---------- Dark band (shop) ---------- */
.band {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 36px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--indigo) 55%, var(--blue) 120%);
  color: #fff; padding: 56px 28px;
}
@media (min-width: 768px) { .band { padding: 80px 72px; } }
.band::before {
  content: ''; position: absolute; width: 520px; height: 520px; right: -140px; top: -200px; z-index: -1;
  background: radial-gradient(circle, rgba(247, 165, 65, .45), transparent 65%);
}
.band::after {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px); background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000);
}
.band h2 { color: #fff; }
.band p { color: rgba(255, 255, 255, .78); }
.band-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .band-grid { grid-template-columns: 1.2fr .8fr; } }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pill-list span { padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); font-size: .9rem; font-weight: 600; }

/* ---------- Eduspring ---------- */
.app-panel {
  position: relative; border-radius: 36px; overflow: hidden;
  background: linear-gradient(160deg, #eef5fd 0%, #f3efff 100%); border: 1px solid var(--line);
  padding: 40px 24px 0; display: flex; justify-content: center;
}
.app-panel::before { content: ''; position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(46, 49, 146, .22), transparent 65%); top: 10%; }
.app-panel img { position: relative; max-width: 360px; width: 100%; }
.feature-row { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 640px) { .feature-row { grid-template-columns: repeat(3, 1fr); } }
.feature { padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.feature .ficon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); margin-bottom: 14px; }
.feature b { display: block; color: var(--ink); font-size: 1rem; }
.feature span { font-size: .9rem; color: var(--muted); }
.store-badge { display: inline-block; margin-top: 32px; transition: transform .2s var(--ease), opacity .2s; }
.store-badge:hover { opacity: .85; }
.store-badge img { height: 52px; width: auto; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 150px 0 72px;
  background:
    radial-gradient(50% 80% at 90% 0%, rgba(0, 102, 179, .15), transparent 70%),
    radial-gradient(40% 60% at 10% 100%, rgba(247, 165, 65, .14), transparent 70%),
    var(--paper);
}
@media (min-width: 1024px) { .page-hero { padding: 180px 0 88px; } }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--muted); margin-bottom: 28px; }
.crumbs a:hover { color: var(--blue); }
.crumbs .icon { width: 14px; height: 14px; }
.page-hero .display { font-size: clamp(2.6rem, 6vw, 5rem); max-width: 900px; }
.page-hero .lead { max-width: 640px; margin-top: 24px; }
.hero-banner { margin-top: -8px; }
.hero-banner .media-frame { aspect-ratio: 16 / 7; }
@media (max-width: 640px) { .hero-banner .media-frame { aspect-ratio: 4 / 3; } }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; gap: 20px; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.card:hover { box-shadow: var(--shadow); }
.card .ficon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); margin-bottom: 24px; }
.card h3 { font-size: 1.6rem; margin-bottom: 12px; }
.card p { color: var(--muted); }

.values-dark { background: var(--ink); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.values-dark::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('images/vision-bg.jpg') center / cover; opacity: .12; }
.values-dark::after { content: ''; position: absolute; width: 700px; height: 700px; left: -200px; bottom: -400px; z-index: -1; background: radial-gradient(circle, rgba(0, 102, 179, .5), transparent 65%); }
.values-dark h2, .values-dark h3 { color: #fff; }
.values-dark .card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); backdrop-filter: blur(6px); }
.values-dark .card p { color: rgba(255, 255, 255, .75); }
.values-dark .card .ficon { background: rgba(247, 165, 65, .14); color: var(--amber); }
.values-dark .card:hover { background: rgba(255, 255, 255, .08); box-shadow: none; }

.company-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.company-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.company-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #f2f3f7; }
.company-card div { padding: 26px 28px 30px; }
.company-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.company-card p { color: var(--muted); font-size: .96rem; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }

.quote-block { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.25; font-weight: 600; color: var(--ink); letter-spacing: -.03em; }
.quote-block em { color: var(--blue); }

/* ---------- Books page ---------- */
.chip-nav { position: sticky; top: 92px; z-index: 10; display: flex; gap: 8px; overflow-x: auto; padding: 8px; margin-bottom: 40px; background: rgba(255, 255, 255, .85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 999px; scrollbar-width: none; }
.chip-nav::-webkit-scrollbar { display: none; }
.chip-nav a { flex-shrink: 0; min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--muted); transition: background-color .2s, color .2s; }
.chip-nav a:hover, .chip-nav a.is-active { background: var(--ink); color: #fff; }
.catalog { display: grid; gap: 28px; }
.catalog-item { scroll-margin-top: 170px; display: grid; gap: 32px; padding: 32px; border-radius: 32px; background: #fff; border: 1px solid var(--line); align-items: center; }
@media (min-width: 1024px) { .catalog-item { grid-template-columns: .8fr 1.2fr; padding: 48px; gap: 56px; } }
.catalog-item .num { font-family: var(--font-display); font-size: 4.5rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--line-strong); font-weight: 800; letter-spacing: -.04em; }
.catalog-item h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin: 12px 0 14px; }
.catalog-item p { color: var(--muted); }
.catalog-item .pill-list span { background: var(--blue-50); border-color: transparent; color: var(--blue-600); }
.covers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.covers.two { grid-template-columns: repeat(2, 1fr); max-width: 66%; }
@media (max-width: 640px) { .covers.two { max-width: none; } }
.covers figure { margin: 0; border-radius: 18px; overflow: hidden; background: #f0f1f5; aspect-ratio: 1; }
.covers img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.covers figure:hover img { transform: scale(1.06); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 24px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: .85fr 1.15fr; } }
.info-card { border-radius: 32px; background: var(--ink); color: #fff; padding: 40px 32px; position: relative; overflow: hidden; isolation: isolate; }
.info-card::before { content: ''; position: absolute; width: 420px; height: 420px; right: -160px; bottom: -180px; z-index: -1; background: radial-gradient(circle, rgba(247, 165, 65, .35), transparent 65%); }
.info-card h2 { color: #fff; font-size: 2.2rem; margin-bottom: 12px; }
.info-card > p { color: rgba(255, 255, 255, .7); }
.info-list { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 22px; }
.info-list li { display: flex; gap: 16px; }
.info-list .ficon { width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--amber); }
.info-list small { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin-bottom: 4px; }
.info-list a, .info-list span { color: #fff; font-weight: 500; }
.info-list a:hover { color: var(--amber-300); }
.socials { display: flex; gap: 10px; margin-top: 36px; }
.socials a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; transition: background-color .2s, color .2s; }
.socials a:hover { background: var(--amber); color: var(--ink); }

.form-card { border-radius: 32px; background: #fff; border: 1px solid var(--line); padding: 40px 32px; }
@media (min-width: 768px) { .form-card, .info-card { padding: 48px; } }
.form-card h2 { font-size: 2.2rem; margin-bottom: 8px; }
.form-grid { display: grid; gap: 18px; margin-top: 32px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-size: .88rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px;
  padding: 14px 16px; min-height: 52px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: #8a90ab; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(0, 102, 179, .14); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.form-msg { font-weight: 600; font-size: .95rem; padding: 12px 16px; border-radius: 12px; }
.form-msg[hidden] { display: none; }
.form-msg.ok { background: #e7f7ee; color: #146c3c; }
.form-msg.err { background: #fdecea; color: #a4281a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.map-frame { margin-top: 24px; border-radius: 32px; overflow: hidden; border: 1px solid var(--line); background: #e9ecf3; }
.map-frame iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- Login ---------- */
.auth-wrap { min-height: 100vh; display: grid; }
@media (min-width: 1024px) { .auth-wrap { grid-template-columns: 1fr 1fr; } }
.auth-side { display: none; position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(150deg, var(--navy), var(--indigo) 60%, var(--blue)); color: #fff; padding: 140px 64px 64px; flex-direction: column; justify-content: space-between; }
@media (min-width: 1024px) { .auth-side { display: flex; } }
.auth-side::before { content: ''; position: absolute; width: 600px; height: 600px; right: -200px; top: -200px; z-index: -1; background: radial-gradient(circle, rgba(247, 165, 65, .4), transparent 65%); }
.auth-side h2 { color: #fff; font-size: 3.2rem; max-width: 460px; }
.auth-side p { color: rgba(255, 255, 255, .75); max-width: 420px; margin-top: 20px; }
.auth-covers { display: flex; gap: 16px; margin-top: 48px; }
.auth-covers img { width: 30%; border-radius: 16px; box-shadow: var(--shadow-lg); }
.auth-covers img:nth-child(2) { transform: translateY(-20px); }
.auth-main { display: grid; place-items: center; padding: 140px 20px 64px; }
.auth-card { width: 100%; max-width: 440px; }
.auth-card h1 { font-size: 2.8rem; }
.auth-card .form-grid { grid-template-columns: 1fr; }
.pw-wrap { position: relative; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; background: transparent; color: var(--muted); border-radius: 10px; display: grid; place-items: center; }
.pw-toggle:hover { color: var(--ink); }
.check { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; font-weight: 500; cursor: pointer; min-height: 44px; }
.check input { width: 20px; height: 20px; accent-color: var(--blue); }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Legal pages ---------- */
.legal { display: grid; gap: 48px; }
@media (min-width: 1024px) { .legal { grid-template-columns: 280px 1fr; gap: 72px; } }
.toc { align-self: start; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 24px; }
@media (min-width: 1024px) { .toc { position: sticky; top: 110px; max-height: calc(100vh - 140px); overflow: auto; } }
.toc h2 { font-family: var(--font-sans); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; display: grid; gap: 2px; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: .92rem; font-weight: 500; color: var(--muted); line-height: 1.4; transition: background-color .2s, color .2s; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-weight: 700; color: var(--line-strong); font-size: .8rem; padding-top: 2px; }
.toc a:hover, .toc a.is-active { background: var(--blue-50); color: var(--ink); }
.toc a.is-active::before { color: var(--blue); }
.prose { max-width: 760px; color: var(--muted); font-size: 1.05rem; line-height: 1.8; }
.prose > * + * { margin-top: 1.1em; }
.prose h3 { font-size: 1.75rem; color: var(--ink); margin-top: 2.2em; scroll-margin-top: 110px; }
.prose h3:first-child { margin-top: 0; }
.prose h4 { font-family: var(--font-sans); font-size: 1.1rem; font-weight: 700; letter-spacing: 0; color: var(--ink); margin-top: 1.6em; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--blue); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(0, 102, 179, .3); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--blue); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-top: .5em; }
.prose li::marker { color: var(--blue); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); background: var(--blue-50); }
.updated { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--muted); }

/* ---------- CTA + Footer ---------- */
.cta-final { text-align: center; }
.cta-final .display { font-size: clamp(2.6rem, 6vw, 5rem); }
.cta-final .hero-cta { justify-content: center; }

.site-footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding: 88px 0 32px; position: relative; overflow: hidden; isolation: isolate; }
.site-footer::before { content: ''; position: absolute; width: 700px; height: 700px; right: -250px; top: -350px; z-index: -1; background: radial-gradient(circle, rgba(0, 102, 179, .45), transparent 65%); }
.footer-grid { display: grid; gap: 48px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-brand img { height: 44px; border-radius: 6px; }
.footer-brand p { margin-top: 24px; font-size: .96rem; max-width: 340px; }
.footer-brand address { font-style: normal; margin-top: 20px; font-size: .95rem; line-height: 1.7; }
.footer-brand address a { color: #fff; }
.footer-brand address a:hover { color: var(--amber-300); }
@media (min-width: 768px) and (max-width: 1023px) { .footer-brand { grid-column: 1 / -1; } }
.site-footer h4 { font-family: var(--font-sans); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-300); margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer ul a { display: inline-block; padding: 6px 0; font-size: .96rem; color: rgba(255, 255, 255, .78); transition: color .2s; }
.site-footer ul a:hover { color: #fff; }
.footer-bottom { margin-top: 72px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; font-size: .88rem; color: rgba(255, 255, 255, .55); }
.footer-bottom a { color: #fff; }
.footer-bottom > :last-child { margin-left: auto; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay='1'] { transition-delay: .08s; }
.reveal[data-delay='2'] { transition-delay: .16s; }
.reveal[data-delay='3'] { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }

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