:root {
  --primary: #6FCF97;
  --primary-dark: #4FA872;
  --secondary: #FFB570;
  --accent: #7FB8FF;
  --ink: #17242a;
  --ink-soft: #4a5a60;
  --paper: #F6F3EC;
  --paper-soft: #ffffff;
  --ocean-1: #06262e;
  --ocean-2: #0a3b47;
  --ocean-3: #0f4f5e;
  --line: rgba(255,255,255,0.14);
  --radius: 20px;
  --shadow: 0 18px 40px rgba(6,20,25,0.28);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; }
p { margin: 0 0 1em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--primary-dark);
  background: rgba(111,207,151,0.14);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(26px, 5vw, 40px); }
.section-head p { color: var(--ink-soft); font-size: clamp(15px, 2.4vw, 17px); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px; border-radius: 999px; font-weight: 800; font-size: 16px;
  text-decoration: none; border: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
  box-shadow: 0 12px 28px rgba(79,168,114,0.45);
}
.btn-primary:hover { box-shadow: 0 16px 34px rgba(79,168,114,0.55); }
.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.16); }
.btn-dark {
  background: var(--ink);
  color: #fff;
}

/* Nav */
header.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(8,28,34,0.55);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 46px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  color: rgba(255,255,255,0.85); text-decoration: none; font-weight: 600; font-size: 14.5px;
}
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: none; padding: 6px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-links-cta { display: none; }

/* Language switcher */
.lang-switcher { position: relative; }
.lang-switcher-mobile { display: none; }
.lang-switcher-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13.5px; font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background .18s ease;
}
.lang-switcher-btn:hover { background: rgba(255,255,255,0.16); }
.lang-switcher-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: rgba(6,20,25,0.97);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 6px;
  min-width: 150px;
  box-shadow: var(--shadow);
  z-index: 200;
}
.lang-switcher-item {
  display: block; width: 100%; text-align: left;
  background: none; border: none; color: rgba(255,255,255,0.85);
  padding: 10px 12px; border-radius: 8px;
  font-size: 14px; font-weight: 600; cursor: pointer;
}
.lang-switcher-item:hover { background: rgba(255,255,255,0.1); color: #fff; }
.lang-switcher-item.active { background: rgba(111,207,151,0.18); color: var(--primary); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 150px 0 90px;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url('images/hero-bg.png') center 30% / cover no-repeat;
  filter: saturate(1.05);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(4,16,20,0.75) 0%, rgba(5,22,28,0.55) 40%, rgba(4,16,20,0.92) 100%);
}
.hero-bubbles {
  position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
}
.bubble {
  position: absolute;
  bottom: -60px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,0.75), rgba(255,255,255,0.06) 70%);
  box-shadow: inset 0 0 6px rgba(255,255,255,0.25);
  animation-name: rise;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
@keyframes rise {
  0% { transform: translate(0, 0); opacity: 0; }
  8% { opacity: .85; }
  92% { opacity: .5; }
  100% { transform: translate(var(--drift), -640px); opacity: 0; }
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-copy .eyebrow { background: rgba(111,207,151,0.2); color: #b9f2cf; }
.hero h1 {
  font-size: clamp(34px, 6.5vw, 62px);
  letter-spacing: -0.02em;
}
.hero h1 span { color: var(--primary); }
.hero-copy p.lead {
  font-size: clamp(16px, 2.6vw, 19px); color: rgba(255,255,255,0.85); max-width: 520px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.hero-platforms { margin: 16px 0 0; font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,0.65); }
.hero-stats { display: flex; gap: 32px; margin-top: 48px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-size: 26px; color: var(--primary); }
.hero-stats div span { font-size: 13px; color: rgba(255,255,255,0.65); }
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art img {
  width: min(360px, 70%);
  filter: drop-shadow(0 30px 40px rgba(0,0,0,0.45));
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
.scroll-cue {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.6); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 1;
}
.scroll-cue .dot {
  width: 20px; height: 32px; border: 2px solid rgba(255,255,255,0.5); border-radius: 12px;
  position: relative;
}
.scroll-cue .dot::after {
  content: ""; position: absolute; top: 6px; left: 50%; width: 4px; height: 4px;
  background: #fff; border-radius: 50%; transform: translateX(-50%);
  animation: scrolldot 1.6s ease infinite;
}
@keyframes scrolldot { 0% { top: 6px; opacity: 1; } 70% { top: 18px; opacity: 0; } 100% { opacity: 0; } }

/* Pillars */
.pillars { background: var(--paper-soft); }
.pillar-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.pillar-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 30px 24px;
  border: 1px solid rgba(23,36,42,0.06);
}
.pillar-card .ic {
  width: 52px; height: 52px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 18px;
  background: rgba(111,207,151,0.16);
}
.pillar-card h3 { font-size: 18px; }
.pillar-card p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }

/* Lore */
.lore {
  background: linear-gradient(180deg, var(--ocean-1), var(--ocean-2) 55%, var(--ocean-3));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.lore::before {
  content: ""; position: absolute; inset: 0; opacity: .18; z-index: 0;
  background: url('images/institute-bg.png') center / cover no-repeat;
  mask-image: linear-gradient(180deg, transparent, black 30%, black 70%, transparent);
}
.lore .wrap { position: relative; z-index: 1; }
.lore .section-head p { color: rgba(255,255,255,0.72); }
.lore .section-head .eyebrow { background: rgba(255,255,255,0.12); color: #cfe9ff; }
.lore-grid {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center;
}
.lore-portrait { position: relative; max-width: 560px; margin: 0 auto; }
.lore-portrait .frame {
  border-radius: 24px; overflow: hidden; border: 1px solid rgba(255,255,255,0.16);
  box-shadow: var(--shadow);
}
.lore-portrait .frame img { width: 100%; }
.lore-portrait .tag {
  position: absolute; left: 20px; bottom: -18px;
  background: rgba(8,28,34,0.85); backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  padding: 10px 18px; border-radius: 14px;
  font-size: 13px;
}
.lore-portrait .tag strong { color: var(--primary); display: block; font-size: 14.5px; }
.lore-steps { display: flex; flex-direction: column; gap: 22px; }
.lore-step { display: flex; gap: 18px; }
.lore-step .num {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(111,207,151,0.16); border: 1px solid rgba(111,207,151,0.4);
  color: var(--primary); font-weight: 800; display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.lore-step h3 { font-size: 17px; margin-bottom: 4px; }
.lore-step p { color: rgba(255,255,255,0.72); font-size: 14.5px; margin: 0; }

/* Sincronia Total */
.sincronia {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  position: relative;
  overflow: hidden;
}
.sincronia::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(60% 60% at 50% 0%, rgba(255,255,255,0.16), transparent 70%);
}
.sincronia .wrap { position: relative; z-index: 1; }
.sincronia .section-head .eyebrow { background: rgba(6,51,29,0.22); color: #fff; }
.sincronia .section-head h2 { color: #fff; }
.sincronia .section-head p { color: rgba(255,255,255,0.85); }

.sync-showcase {
  display: flex; align-items: center; justify-content: center; gap: 36px;
  flex-wrap: wrap; margin: 0 auto 40px;
}
.sync-side { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.sync-portrait {
  width: 220px; aspect-ratio: 1 / 1; border-radius: 28px; overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 20px 40px rgba(6,51,29,0.28);
  display: flex; align-items: center; justify-content: center;
  padding: 14px;
}
.sync-portrait img { width: 100%; height: 100%; object-fit: contain; }
.sync-portrait-glow {
  border-color: var(--secondary);
  box-shadow: 0 0 0 1px rgba(255,181,112,0.4), 0 0 50px rgba(255,181,112,0.55), 0 20px 40px rgba(6,51,29,0.35);
  animation: syncPulse 2.6s ease-in-out infinite;
}
@keyframes syncPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255,181,112,0.4), 0 0 30px rgba(255,181,112,0.4), 0 20px 40px rgba(6,51,29,0.35); }
  50% { box-shadow: 0 0 0 1px rgba(255,181,112,0.7), 0 0 70px rgba(255,181,112,0.7), 0 20px 40px rgba(6,51,29,0.35); }
}
.sync-label { font-weight: 800; font-size: 17px; color: #fff; }
.sync-label-total { color: #fff; }
.sync-sub {
  font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.sync-side-total .sync-sub { color: #fff; }
.sync-arrow { position: relative; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; }
.sync-arrow-icon { font-size: 26px; position: relative; z-index: 1; animation: syncSpark 2.6s ease-in-out infinite; }
.sync-arrow-glow {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,181,112,0.55), transparent 70%);
  filter: blur(4px);
  animation: syncPulse 2.6s ease-in-out infinite;
}
@keyframes syncSpark {
  0%, 100% { transform: scale(1); opacity: .85; }
  50% { transform: scale(1.25); opacity: 1; }
}
.sync-copy {
  max-width: 640px; margin: 0 auto; text-align: center;
  color: rgba(255,255,255,0.9); font-size: 16px;
}

/* Cast */
.cast { background: var(--paper); }
.cast-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
  max-width: 1020px; margin: 0 auto;
}
.cast-card {
  background: #fff; border-radius: 28px;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(23,36,42,0.06);
  box-shadow: 0 20px 40px rgba(23,36,42,0.07);
  display: flex; flex-direction: column; align-items: stretch;
  transition: transform .25s ease, box-shadow .25s ease;
}
.cast-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px rgba(23,36,42,0.13);
}
.cast-portrait {
  width: 100%; aspect-ratio: 4 / 5; overflow: hidden;
  background: linear-gradient(160deg, #eaf6f0, #d8ede2);
}
.cast-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.cast-info { padding: 28px 32px 34px; }
.cast-card h3 { font-size: 26px; margin-bottom: 6px; }
.cast-role {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: rgba(111,207,151,0.14);
  padding: 6px 16px; border-radius: 999px;
  margin-bottom: 18px;
}
.cast-card p { font-size: 16px; color: var(--ink-soft); margin: 0 auto; max-width: 340px; }
.cast-card:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: 420px; margin: 0 auto; }

/* Abissalys */
.abyss {
  background: linear-gradient(160deg, #0a0710 0%, #150c22 55%, #1d1128 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.abyss::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .6;
  background:
    linear-gradient(115deg, transparent 40%, rgba(157,78,221,0.14) 55%, transparent 70%),
    repeating-linear-gradient(135deg, rgba(157,78,221,0.05) 0 2px, transparent 2px 40px);
}
.abyss .wrap { position: relative; z-index: 1; max-width: 1320px; }
.abyss .section-head .eyebrow { background: rgba(157,78,221,0.18); color: #c9a6ff; }
.abyss .section-head p { color: rgba(255,255,255,0.68); }

.abyss-manifesto { text-align: center; margin: 0 auto 56px; max-width: 720px; }
.abyss-manifesto blockquote {
  margin: 0 0 14px; font-size: clamp(18px, 3vw, 24px); font-weight: 800; font-style: italic;
  color: #e6d4ff; border-left: 3px solid #9d4edd; padding-left: 18px; text-align: left;
}
.abyss-manifesto cite {
  display: block; font-style: normal; font-size: 14px; font-weight: 700;
  letter-spacing: .04em; color: #c9a6ff; padding-left: 21px;
}

.abyss-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.abyss-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(157,78,221,0.28);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  overflow: hidden;
  display: flex; flex-direction: column;
}
.abyss-portrait {
  aspect-ratio: 1 / 1; overflow: hidden;
  background: linear-gradient(160deg, #1c1326, #0d0813);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.abyss-portrait img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; }
.abyss-portrait.fill { padding: 0; }
.abyss-portrait.fill img { object-fit: cover; }
.abyss-info { padding: 30px 32px 36px; }
.abyss-tag {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: #c9a6ff; background: rgba(157,78,221,0.18); padding: 5px 14px; border-radius: 999px; margin-bottom: 12px;
}
.abyss-card h3 { font-size: 19px; margin-bottom: 10px; }
.abyss-card p { font-size: 15.5px; line-height: 1.6; color: rgba(255,255,255,0.68); margin: 0; }

/* Features */
.features { background: var(--paper-soft); }
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.feature-card {
  border-radius: var(--radius);
  padding: 28px;
  background: linear-gradient(160deg, #ffffff, #f2f7f4);
  border: 1px solid rgba(23,36,42,0.06);
  position: relative;
}
.feature-card .emoji { font-size: 30px; margin-bottom: 14px; display: block; }
.feature-card h3 { font-size: 17.5px; }
.feature-card p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }

/* Monolog */
.monolog { background: var(--paper); }
.filters {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px;
}
.chip {
  border: 1.5px solid rgba(23,36,42,0.14); background: #fff;
  padding: 8px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; gap: 6px;
  transition: transform .15s ease, box-shadow .15s ease;
  color: var(--ink);
}
.chip:hover { transform: translateY(-1px); }
.chip.active { color: #fff; border-color: transparent; box-shadow: 0 8px 18px rgba(0,0,0,0.18); }

.monolog-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px;
}
.mk-card {
  background: #fff; border-radius: 16px; padding: 14px 10px 12px;
  text-align: center; border: 1px solid rgba(23,36,42,0.07);
  transition: transform .15s ease, box-shadow .15s ease;
}
.mk-card:hover { transform: translateY(-4px); box-shadow: 0 14px 26px rgba(23,36,42,0.12); }
.mk-card .avatar {
  width: 100%; aspect-ratio: 1; border-radius: 12px; margin-bottom: 8px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.mk-card .avatar img { width: 78%; height: 78%; object-fit: contain; }
.mk-card .name { font-size: 12.5px; font-weight: 800; margin-bottom: 2px; }
.mk-card .type { font-size: 10.5px; font-weight: 700; opacity: .85; }
.mk-card.legendary { border: 1.5px solid var(--secondary); position: relative; }
.mk-card.legendary::before {
  content: "★"; position: absolute; top: 8px; right: 10px; color: var(--secondary); font-size: 12px;
}
.monolog-note {
  text-align: center; color: var(--ink-soft); font-size: 13.5px; margin-top: 30px;
}

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #06331d; text-align: center;
  border-radius: 32px; margin: 0 24px;
  padding: 72px 32px;
}
.cta-inner { max-width: 640px; margin: 0 auto; }
.cta h2 { font-size: clamp(24px, 5vw, 36px); color: #fff; }
.cta p { color: rgba(255,255,255,0.9); font-size: 16.5px; }
.cta .btn-dark { margin-top: 12px; }

/* Footer */
footer {
  background: var(--ocean-1); color: rgba(255,255,255,0.7);
  padding: 56px 0 28px; margin-top: 40px;
}
.footer-top {
  display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding-bottom: 36px; border-bottom: 1px solid var(--line);
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { height: 64px; }
.footer-brand strong { color: #fff; font-size: 16px; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 { color: #fff; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col a { display: block; color: rgba(255,255,255,0.65); text-decoration: none; font-size: 14px; margin-bottom: 10px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  padding-top: 24px; font-size: 13px; color: rgba(255,255,255,0.5);
}
.footer-bottom .credit strong { color: rgba(255,255,255,0.85); }

@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy p.lead { margin: 0 auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-art { order: -1; }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .lore-grid { grid-template-columns: 1fr; }
  .lore-portrait { margin-bottom: 28px; }
  .abyss-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(6,20,25,0.97);
    border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav-links.open { max-height: 420px; overflow-y: auto; }
  .nav-links a { padding: 16px 24px; border-top: 1px solid var(--line); }
  .nav-links-cta { display: block; margin: 12px 24px 20px; text-align: center; }
  .lang-switcher-mobile { display: block; padding: 16px 24px; border-top: 1px solid var(--line); }
  .lang-switcher-mobile .lang-switcher-btn { width: 100%; justify-content: center; }
  .lang-switcher-mobile .lang-switcher-menu { left: 0; right: 0; }
  .monolog-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 640px) {
  section { padding: 60px 0; }
  .wrap { padding: 0 18px; }
  .hero { padding: 130px 0 70px; min-height: auto; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: 22px; justify-content: space-between; }
  .pillar-grid, .feature-grid { grid-template-columns: 1fr; }
  .abyss-grid { grid-template-columns: 1fr; }
  .abyss-manifesto blockquote { text-align: center; border-left: none; padding-left: 0; }
  .abyss-manifesto cite { padding-left: 0; }
  .sync-showcase { flex-direction: column; gap: 18px; }
  .sync-arrow { transform: rotate(90deg); }
  .sync-portrait { width: 180px; }
  .cast-grid { grid-template-columns: 1fr; max-width: 400px; gap: 22px; }
  .cast-card:last-child:nth-child(odd) { grid-column: auto; max-width: none; }
  .cast-portrait { aspect-ratio: 1 / 1; }
  .cast-info { padding: 22px 24px 28px; }
  .cast-card h3 { font-size: 22px; }
  .monolog-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .footer-top { flex-direction: column; }
  .footer-cols { gap: 32px; }
  .cta { margin: 0 12px; padding: 48px 22px; }
}
@media (max-width: 420px) {
  .monolog-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Install as app */
.hidden { display: none !important; }
.install-btn { white-space: nowrap; }
.install-modal {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(6,20,25,0.6);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.install-modal-card {
  position: relative;
  background: #fff; border-radius: 24px;
  padding: 40px 32px 32px;
  max-width: 360px; width: 100%;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}
.install-modal-icon {
  width: 72px; height: 72px; border-radius: 20px; margin: 0 auto 16px;
  box-shadow: 0 10px 24px rgba(79,168,114,0.3);
}
.install-modal-card h3 { font-size: 20px; margin-bottom: 10px; }
.install-modal-card p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }
.install-modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; border-radius: 50%; border: none;
  background: rgba(23,36,42,0.06); color: var(--ink);
  font-size: 15px; cursor: pointer;
}
