/* ─── Design Tokens ──────────────────────────────────────────────────── */
:root {
  --bg-main:   #f6f3ee;
  --bg-soft:   #eeebe5;
  --bg-soft-2: #e8e2d8;
  --bg-deep:   #1f4574;
  --bg-deep-2: #16365d;
  --text-main:    #161616;
  --text-soft:    #6d675f;
  --text-inverse: #f7f4ee;
  --line:         #d8d1c7;
  --accent:       #315f98;
  --accent-soft:  #8fa8c7;

  --shadow-soft:       0 8px 32px rgba(10, 20, 35, 0.07), 0 1px 3px rgba(49, 95, 152, 0.06);
  --shadow-card:       0 6px 28px rgba(10, 20, 35, 0.09), 0 1px 4px rgba(49, 95, 152, 0.08);
  --shadow-card-hover: 0 18px 52px rgba(10, 20, 35, 0.15), 0 3px 10px rgba(49, 95, 152, 0.14);

  --max-width:     1140px;
  --content-width: 760px;

  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 260ms var(--ease-out);
}

/* ─── Dark Mode ──────────────────────────────────────────────────────── */
body.dark-mode, html.dark-mode {
  --bg-main:   #0d1520;
  --bg-soft:   #132030;
  --bg-soft-2: #192b40;
  --bg-deep:   #1e4470;
  --bg-deep-2: #152f55;
  --text-main:    #f0ece4;
  --text-soft:    #a8b8cc;
  --text-inverse: #f7f4ee;
  --line:      rgba(255, 255, 255, 0.10);
  --accent:    #7aaee0;
  --accent-soft: #a8c4e0;

  --shadow-soft:       0 8px 32px rgba(0, 0, 0, 0.32);
  --shadow-card:       0 6px 28px rgba(0, 0, 0, 0.36), 0 1px 4px rgba(122, 174, 224, 0.10);
  --shadow-card-hover: 0 18px 52px rgba(0, 0, 0, 0.46), 0 3px 10px rgba(122, 174, 224, 0.18);
}

/* ─── Reset ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text-main);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
  background:
    radial-gradient(ellipse 60% 40% at 12% 18%, rgba(49, 95, 152, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 30% at 88% 8%,  rgba(31, 69, 116, 0.07) 0%, transparent 55%),
    linear-gradient(175deg, var(--bg-main) 0%, color-mix(in srgb, var(--bg-main) 90%, #e0dcd5 10%) 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background 0.4s ease, color 0.4s ease;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity var(--transition);
}

/* ─── Header ─────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(
    180deg,
    rgba(10, 20, 35, 0.90) 0%,
    rgba(10, 20, 35, 0.72) 100%
  );
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 1px 0 rgba(49, 95, 152, 0.12), 0 6px 32px rgba(10, 20, 35, 0.18);
}

.nav-shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 17px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.12rem;
  color: var(--text-inverse);
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: opacity var(--transition);
}
.brand:hover { opacity: 0.70; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  position: relative;
  color: rgba(247, 244, 238, 0.82);
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  padding: 4px 0;
  transition: color var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--accent-soft), rgba(255,255,255,0.6));
  border-radius: 999px;
  transition: width 240ms var(--ease-out);
}

.nav-link:hover { color: #ffffff; }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link.active { color: #ffffff; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-toggle,
.menu-button {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(143, 168, 199, 0.08) 100%
  );
  color: var(--text-inverse);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255,255,255,0.12);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.theme-toggle:hover,
.menu-button:hover {
  border-color: rgba(255, 255, 255, 0.30);
  box-shadow: 0 4px 14px rgba(49, 95, 152, 0.28), inset 0 1px 0 rgba(255,255,255,0.12);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(143, 168, 199, 0.14) 100%
  );
}

.menu-button { display: none; }

/* ─── Mobile Menu ────────────────────────────────────────────────────── */
.mobile-menu {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 20, 35, 0.95);
  backdrop-filter: blur(20px);
}
.mobile-menu.open { display: block; }

.mobile-menu-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 28px 22px;
  display: grid;
  gap: 4px;
}

.mobile-link {
  color: rgba(247, 244, 238, 0.78);
  padding: 13px 0;
  font-size: 0.97rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: color var(--transition);
}
.mobile-link:last-child { border-bottom: none; }
.mobile-link:hover,
.mobile-link.active { color: #ffffff; }

/* ─── Layout Container ───────────────────────────────────────────────── */
.container {
  width: min(var(--content-width), calc(100% - 36px));
  margin: 0 auto;
  position: relative;
}

.container::before {
  content: "";
  position: absolute;
  top: -48px;
  left: -48px;
  width: 220px;
  height: 220px;
  background: rgba(49, 95, 152, 0.055);
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
}

/* ─── Hero ───────────────────────────────────────────────────────────── */
.hero {
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: rgba(49, 95, 152, 0.25);
  filter: blur(120px);
  pointer-events: none;
  border-radius: 50%;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--line) 20%, var(--line) 80%, transparent 100%);
}

.hero > * { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: end;
}

.hero-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3.6rem, 10vw, 6.6rem);
  line-height: 0.88;
  letter-spacing: -0.055em;
  margin: 0;
}

.hero-name .muted {
  display: block;
  color: var(--text-soft);
  opacity: 0.72;
}

.hero-meta {
  margin-top: 32px;
}

.hero-role {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero-sub {
  margin: 8px 0 0;
  color: var(--text-soft);
  font-size: 1.04rem;
}

.hero-tagline {
  margin: 38px 0 0;
  color: var(--accent);
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
  max-width: 700px;
}

.hero-side {
  display: flex;
  justify-content: flex-end;
  align-self: center;
}

/* ─── Hero Panel (glass card) ────────────────────────────────────────── */
.hero-panel {
  width: 100%;
  max-width: 310px;
  padding: 30px 26px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line) 78%);
  background:
    linear-gradient(148deg,
      rgba(255, 255, 255, 0.55) 0%,
      rgba(143, 168, 199, 0.18) 60%,
      rgba(49, 95, 152, 0.07) 100%);
  box-shadow:
    var(--shadow-card),
    inset 0 1px 0 rgba(255, 255, 255, 0.60);
  backdrop-filter: blur(8px);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.hero-panel:hover {
  border-color: color-mix(in srgb, var(--accent) 36%, var(--line) 64%);
  box-shadow: var(--shadow-card-hover), inset 0 1px 0 rgba(255, 255, 255, 0.60);
}

.panel-text {
  margin: 12px 0 0;
  color: var(--text-soft);
  font-size: 0.97rem;
  line-height: 1.72;
}

/* ─── Sections ───────────────────────────────────────────────────────── */
.section {
  padding: 84px 0;
  position: relative;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-soft {
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(49, 95, 152, 0.05) 0%, transparent 60%),
    linear-gradient(175deg, var(--bg-soft) 0%, var(--bg-soft-2) 100%);
}

.section-blue-soft {
  background:
    radial-gradient(ellipse 55% 60% at 15% 80%, rgba(49, 95, 152, 0.08) 0%, transparent 55%),
    linear-gradient(165deg, rgba(49, 95, 152, 0.07) 0%, rgba(143, 168, 199, 0.06) 100%);
  border-top: 1px solid rgba(49, 95, 152, 0.13);
  border-bottom: 1px solid rgba(49, 95, 152, 0.13);
}

.section-light-editorial {
  background: linear-gradient(
    180deg,
    #f6f3ee 0%,
    #ebe6dd 100%
  );
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-light-editorial .preview-card {
  position: relative;
  padding: 26px 24px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(232, 226, 216, 0.65) 100%
  );
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
}

.section-light-editorial .preview-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(143, 168, 199, 0.12),
    transparent 40%
  );
  pointer-events: none;
}

.section-light-editorial .preview-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.section-deep,
.section-blue-deep {
  background:
    linear-gradient(170deg, var(--bg-deep) 0%, var(--bg-deep-2) 100%);
  color: var(--text-inverse);
  position: relative;
  overflow: hidden;
}

.section-deep::before,
.section-blue-deep::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 15% 20%, rgba(255,255,255,0.10) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 85% 80%, rgba(255,255,255,0.06) 0%, transparent 45%),
    radial-gradient(circle at 50% 110%, rgba(49, 95, 152, 0.30) 0%, transparent 55%);
  pointer-events: none;
}

/* ─── Typography ─────────────────────────────────────────────────────── */
.eyebrow {
  font-size: 0.80rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0 0 20px;
  font-weight: 500;
}

.eyebrow.inverse,
.inverse {
  color: rgba(247, 244, 238, 0.68);
}

.small-caps {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0 0 10px;
  font-weight: 500;
}

h1, h2, h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 4.8vw, 3.35rem);
  line-height: 1.06;
  margin-bottom: 24px;
}

h3 {
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  line-height: 1.16;
  margin: 0 0 12px;
}

.inverse-heading { color: var(--text-inverse); }

.body-lg {
  font-size: clamp(1.12rem, 2vw, 1.32rem);
  line-height: 1.84;
  max-width: 680px;
  margin: 0 0 16px;
}

.body {
  font-size: 1.04rem;
  line-height: 1.9;
  max-width: 680px;
  margin: 0 0 18px;
}

.body-soft   { color: var(--text-soft); }
.inverse-body { color: var(--text-inverse); }
.inverse-soft { color: rgba(247, 244, 238, 0.74); }

.quote-lg {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: clamp(2.2rem, 5.2vw, 4rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 30px;
  max-width: 860px;
}

/* ─── Decorative elements ────────────────────────────────────────────── */
.blue-divider {
  width: 72px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-soft) 100%);
  margin: 0 0 26px;
  border-radius: 999px;
}

.blue-italic {
  color: var(--accent);
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  line-height: 1.20;
  letter-spacing: -0.02em;
  margin: 0 0 34px;
  max-width: 720px;
}

.section-number {
  font-size: 0.80rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.65;
  margin: 0 0 16px;
}

/* ─── Layout helpers ─────────────────────────────────────────────────── */
.split {
  display: grid;
  gap: 36px;
}

.grid-2 {
  display: grid;
  gap: 20px;
}

/* ─── Cards & Panels ─────────────────────────────────────────────────── */
.inline-panel {
  padding: 28px 26px;
  border: 1px solid color-mix(in srgb, var(--accent) 14%, var(--line) 86%);
  background:
    linear-gradient(148deg,
      rgba(255, 255, 255, 0.50) 0%,
      rgba(143, 168, 199, 0.14) 60%,
      rgba(49, 95, 152, 0.05) 100%);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255,255,255,0.50);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

.inline-panel:hover {
  border-color: color-mix(in srgb, var(--accent) 28%, var(--line) 72%);
  box-shadow: var(--shadow-card-hover), inset 0 1px 0 rgba(255,255,255,0.50);
  transform: translateY(-2px);
}

/* ─── List clean ─────────────────────────────────────────────────────── */
.list-clean {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 13px;
}

.list-clean li {
  position: relative;
  padding-left: 18px;
}

.list-clean li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--accent);
  opacity: 0.7;
}

/* ─── Page titles (inner pages) ──────────────────────────────────────── */
.page-title-block {
  padding: 80px 0 12px;
}

.page-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4.8vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin: 0;
  max-width: 720px;
}

/* ─── Preview Links ──────────────────────────────────────────────────── */
.preview-links {
  display: grid;
  gap: 0;
  margin-top: 32px;
}

.preview-link {
  display: block;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  color: var(--text-main);
  transition: opacity var(--transition);
}

.preview-link:last-child { border-bottom: 1px solid var(--line); }
.preview-link:hover { opacity: 0.70; }

.preview-link-title {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.42rem;
  line-height: 1.10;
  margin-bottom: 8px;
}

.preview-link-text {
  display: block;
  color: var(--text-soft);
  font-size: 0.98rem;
}

/* ─── Preview Grid (home sections) ──────────────────────────────────── */
.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.preview-card {
  padding: 28px 26px;
  border: 1px solid color-mix(in srgb, var(--accent) 16%, rgba(211, 204, 196, 0.6) 84%);
  background:
    linear-gradient(148deg,
      rgba(255, 255, 255, 0.52) 0%,
      rgba(143, 168, 199, 0.16) 55%,
      rgba(49, 95, 152, 0.06) 100%);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255,255,255,0.55);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

.preview-card:hover {
  border-color: rgba(143, 168, 199, 0.50);
  box-shadow: var(--shadow-card-hover), inset 0 1px 0 rgba(255,255,255,0.55);
  transform: translateY(-4px);
}

.card-number {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.80rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.75;
}

/* ─── AI section (flagship) ──────────────────────────────────────────── */
.ai-flagship {
  position: relative;
}

.ai-flagship::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.07);
  filter: blur(100px);
  pointer-events: none;
  border-radius: 50%;
}

.ai-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.mini-panel {
  padding: 20px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(148deg,
      rgba(255, 255, 255, 0.09) 0%,
      rgba(143, 168, 199, 0.10) 100%);
  backdrop-filter: blur(4px);
  transition: border-color var(--transition), background var(--transition);
}

.mini-panel:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background:
    linear-gradient(148deg,
      rgba(255, 255, 255, 0.14) 0%,
      rgba(143, 168, 199, 0.16) 100%);
}

/* ─── Footer ─────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 52px;
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--bg-main) 94%, rgba(49, 95, 152, 0.06) 6%) 0%,
      var(--bg-main) 100%);
}

.footer-grid {
  display: grid;
  gap: 10px;
}

.footer-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.16rem;
  letter-spacing: -0.01em;
}

.footer-text {
  color: var(--text-soft);
  font-size: 0.94rem;
}

.footer-text a {
  color: var(--text-soft);
  transition: color var(--transition);
}

.footer-text a:hover { color: var(--accent); }

/* ─── Reveal animation ───────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 720ms var(--ease-out), transform 720ms var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive: desktop grid helpers ───────────────────────────────── */
@media (min-width: 860px) {
  .split {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
  }

  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* ─── Responsive: tablet ─────────────────────────────────────────────── */
@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-side {
    justify-content: flex-start;
  }
}

/* ─── Responsive: small tablet ───────────────────────────────────────── */
@media (max-width: 720px) {
  .preview-grid,
  .ai-mini-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 100%;
  }
}

/* ─── Responsive: mobile ─────────────────────────────────────────────── */
@media (max-width: 640px) {
  .nav-shell {
    padding: 14px 20px;
  }

  .container {
    width: min(var(--content-width), calc(100% - 30px));
  }

  .hero {
    padding: 64px 0 56px;
  }

  .hero-name {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

  .hero-tagline {
    font-size: clamp(1.72rem, 7vw, 2.6rem);
    margin-top: 30px;
  }

  .section {
    padding: 68px 0;
  }

  .page-title-block {
    padding: 60px 0 10px;
  }

  .hero-panel,
  .preview-card {
    padding: 24px 20px;
  }

  .inline-panel {
    padding: 22px 20px;
  }

  h2 {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }

  .quote-lg {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
  }

  .blue-italic {
    font-size: clamp(1.4rem, 6.5vw, 2rem);
    margin-bottom: 26px;
  }

  .split {
    gap: 24px;
  }

  .preview-grid {
    gap: 16px;
    margin-top: 28px;
  }

  .ai-mini-grid {
    gap: 12px;
    margin-top: 28px;
  }

  .mini-panel {
    padding: 16px 14px;
  }

  .mobile-menu-inner {
    padding: 10px 20px 20px;
  }
}

/* ─── Reduced motion ─────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ─── Dark mode panel overrides ──────────────────────────────────────── */
body.dark-mode .hero-panel,
body.dark-mode .preview-card,
body.dark-mode .inline-panel {
  background:
    linear-gradient(148deg,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(122, 174, 224, 0.09) 60%,
      rgba(31, 69, 116, 0.12) 100%);
  border-color: rgba(122, 174, 224, 0.18);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

body.dark-mode .hero-panel:hover,
body.dark-mode .preview-card:hover,
body.dark-mode .inline-panel:hover {
  border-color: rgba(122, 174, 224, 0.32);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

body.dark-mode .footer {
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--bg-main) 90%, rgba(122, 174, 224, 0.06) 10%) 0%,
      var(--bg-main) 100%);
}

body.dark-mode .mini-panel {
  background:
    linear-gradient(148deg,
      rgba(255, 255, 255, 0.06) 0%,
      rgba(122, 174, 224, 0.10) 100%);
  border-color: rgba(122, 174, 224, 0.16);
}

body.dark-mode .section-blue-soft {
  background:
    radial-gradient(ellipse 55% 60% at 15% 80%, rgba(122, 174, 224, 0.07) 0%, transparent 55%),
    linear-gradient(165deg, rgba(49, 95, 152, 0.10) 0%, rgba(122, 174, 224, 0.06) 100%);
}

/* ─── Dark mode: Selected Sections (section-light-editorial) ─────────── */
body.dark-mode .section-light-editorial {
  background:
    radial-gradient(ellipse 70% 55% at 12% 20%, rgba(30, 68, 120, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 88% 78%, rgba(20, 50, 95, 0.30) 0%, transparent 50%),
    linear-gradient(170deg, #0f1d30 0%, #0b1624 100%);
  border-top: 1px solid rgba(122, 174, 224, 0.12);
  border-bottom: 1px solid rgba(122, 174, 224, 0.12);
}

body.dark-mode .section-light-editorial h2 {
  color: var(--text-inverse);
}

body.dark-mode .section-light-editorial .eyebrow {
  color: rgba(168, 196, 224, 0.70);
}

body.dark-mode .section-light-editorial .preview-card {
  background:
    linear-gradient(180deg,
      rgba(52, 72, 98, 0.82) 0%,
      rgba(32, 48, 72, 0.88) 100%);
  border: 1px solid rgba(100, 140, 185, 0.22);
  border-bottom: 1px solid rgba(100, 140, 185, 0.32);
  box-shadow:
    0 14px 44px rgba(0, 0, 0, 0.46),
    0 2px 8px rgba(5, 15, 40, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
}

body.dark-mode .section-light-editorial .preview-card::before {
  background: linear-gradient(
    150deg,
    rgba(255, 255, 255, 0.04),
    transparent 50%
  );
}

body.dark-mode .section-light-editorial .preview-card:hover {
  border-color: rgba(122, 174, 224, 0.36);
  border-bottom-color: rgba(122, 174, 224, 0.48);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.56),
    0 4px 12px rgba(5, 15, 40, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transform: translateY(-4px);
}

body.dark-mode .section-light-editorial .preview-card h3 {
  color: #f0ece4;
}

body.dark-mode .section-light-editorial .preview-card .card-number {
  color: #7aaee0;
}

body.dark-mode .section-light-editorial .preview-card .body-soft {
  color: rgba(190, 210, 232, 0.72);
}
