﻿:root {
  --font-heading: "Space Grotesk", "Poppins", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --max-width: 1200px;

  --bg-0: #000000;
  --bg-1: #000000;
  --bg-2: #020503;
  --text: #ebf8f0;
  --muted: #8da89a;
  --line: rgba(84, 255, 173, 0.43);
  --line-soft: rgba(84, 255, 173, 0.19);
  --accent: #35ea98;
  --accent-strong: #159c65;
  --panel: rgba(3, 6, 5, 0.9);
  --panel-soft: rgba(7, 12, 10, 0.78);
  --shadow: 0 24px 62px rgba(0, 0, 0, 0.55);
}

html[data-theme="light"] {
  --bg-0: #edf8f2;
  --bg-1: #f8fff9;
  --bg-2: #deefe4;
  --text: #122820;
  --muted: #47675a;
  --line: rgba(16, 137, 84, 0.35);
  --line-soft: rgba(16, 137, 84, 0.16);
  --accent: #118d58;
  --accent-strong: #0d6d45;
  --panel: rgba(255, 255, 255, 0.88);
  --panel-soft: rgba(246, 255, 249, 0.75);
  --shadow: 0 20px 40px rgba(32, 93, 64, 0.14);
}

* {
  box-sizing: border-box;
}

/* ── Global theme transition ── */
html {
  transition: background-color .38s ease, color .28s ease;
}

* {
  transition:
    background-color .3s ease,
    border-color .3s ease,
    color .22s ease,
    box-shadow .3s ease;
}

canvas, svg, img, video { transition: none !important; }

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  background:
    radial-gradient(circle at 6% 8%, rgba(30, 164, 108, 0.09), transparent 23%),
    radial-gradient(circle at 92% 16%, rgba(55, 143, 100, 0.08), transparent 18%),
    radial-gradient(circle at 50% 120%, rgba(41, 138, 96, 0.08), transparent 38%),
    linear-gradient(130deg, var(--bg-0), var(--bg-1) 48%, var(--bg-2));
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(transparent 0 94%, rgba(75, 214, 145, 0.02) 94% 95%, transparent 95% 100%),
    linear-gradient(90deg, transparent 0 95%, rgba(75, 214, 145, 0.02) 95% 96%, transparent 96% 100%);
  background-size: 140px 140px;
  z-index: 0;
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 120%, rgba(15, 115, 71, 0.07), transparent 54%);
  z-index: 0;
}

.growth-vine {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.84;
  will-change: transform, filter;
  transition: transform 0.2s linear, filter 0.2s linear;
}

.growth-track,
.growth-active,
.growth-branch {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.growth-track {
  stroke: rgba(79, 210, 148, 0.11);
  stroke-width: 8;
}

.growth-active {
  stroke: url(#growthGradient);
  stroke-width: 9;
  filter: drop-shadow(0 0 14px rgba(44, 225, 144, 0.62));
}

.growth-branch {
  stroke: rgba(70, 210, 143, 0.27);
  stroke-width: 3.4;
}

.growth-leaf {
  opacity: 0;
}

.growth-leaf-core {
  transform-origin: center;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.growth-leaf-shape {
  fill: rgba(54, 218, 146, 0.42);
  stroke: rgba(25, 152, 99, 0.48);
  stroke-width: 1.1;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 2;
}

.site-header {
  width: min(var(--max-width), calc(100% - 2.2rem));
  margin: 0 auto;
  padding: 1.05rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  top: auto;
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent);
}

html[data-theme="light"] .site-header {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: transparent;
  box-shadow: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand--solo {
  gap: 0;
}

.brand-logo {
  width: 5.8rem;
  height: 5.8rem;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.18));
}

.brand-label {
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem;
}

.main-nav a {
  color: rgba(235, 248, 240, 0.86);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0.35rem 0.66rem;
  background: rgba(7, 12, 18, 0.28);
  backdrop-filter: blur(8px);
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.is-active {
  color: var(--text);
  border-color: var(--line);
  background: rgba(12, 64, 42, 0.36);
}

.theme-toggle {
  position: fixed;
  top: 0.95rem;
  right: 1rem;
  z-index: 24;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 0.42rem 0.9rem;
  cursor: pointer;
}

.theme-picker {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  background: rgba(1, 7, 4, 0.68);
  backdrop-filter: blur(6px);
}

.theme-picker-card {
  width: min(92vw, 520px);
  border-radius: 24px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(145deg, var(--panel), var(--panel-soft));
  box-shadow: var(--shadow);
  padding: 1.2rem;
}

.theme-picker-eyebrow {
  margin: 0;
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.theme-picker-card h2 {
  margin-top: 0.5rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.theme-picker-card p {
  margin-top: 0.7rem;
  color: var(--muted);
}

.theme-picker-options {
  margin-top: 0.95rem;
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.theme-choice,
.theme-picker-confirm {
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: rgba(12, 39, 26, 0.82);
  color: #eafcf3;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 0.72rem 0.75rem;
  cursor: pointer;
}

html[data-theme="light"] .theme-choice,
html[data-theme="light"] .theme-picker-confirm {
  background: rgba(255, 255, 255, 0.94);
  color: #113324;
}

html[data-theme="light"] .brand-logo {
  filter: drop-shadow(0 8px 18px rgba(70, 78, 86, 0.12));
}

html[data-theme="light"] .brand-label {
  color: #1b2730;
}

html[data-theme="light"] .main-nav a {
  color: rgba(31, 41, 49, 0.84);
  border-color: rgba(87, 101, 112, 0.14);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px) saturate(1.06);
}

html[data-theme="light"] .main-nav a:hover,
html[data-theme="light"] .main-nav a:focus-visible,
html[data-theme="light"] .main-nav a.is-active {
  color: #18222a;
  border-color: rgba(69, 84, 94, 0.22);
  background: rgba(255, 255, 255, 0.98);
}

.theme-choice {
  color: #e9fbf2;
}

html[data-theme="light"] .theme-choice {
  color: #133325;
}

.theme-choice.is-active {
  border-color: #31d28b;
  background: #15965f;
  color: #f6fff9;
}

.theme-picker-confirm {
  width: 100%;
  margin-top: 0.7rem;
  border-color: #31d28b;
  background: #15965f;
  color: #f6fff9;
}

main {
  width: min(var(--max-width), calc(100% - 2.2rem));
  margin: 0 auto;
  padding: 1rem 0 7rem;
}

.section {
  padding: 7.3rem 0;
}

.section--hero {
  padding: 0;
}

.section--full-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

main > .section--hero:first-child {
  margin-top: -1rem;
}

.section-tight {
  padding: 5.8rem 0;
}

.section-reveal {
  opacity: 0.2;
  transition: opacity 1.15s ease;
}

.section-reveal.is-visible {
  opacity: 1;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-heading);
  line-height: 1.2;
}

p {
  margin: 0;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
}

.hero,
.page-hero {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 1.1rem;
  align-items: center;
}

.hero h1,
.page-hero h1 {
  margin-top: 0.48rem;
  font-size: clamp(2rem, 4.7vw, 4rem);
}

.hero p,
.page-hero p,
.section-intro,
.muted {
  margin-top: 1rem;
  color: var(--muted);
}

.hero-flags {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.hero-flags li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.82rem;
  background: rgba(16, 67, 44, 0.38);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.panel,
.leaf-card {
  background: linear-gradient(145deg, var(--panel), var(--panel-soft));
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow);
}

.leaf-card {
  position: relative;
  overflow: hidden;
  border-radius: 34px 16px 38px 18px;
  padding: 1.25rem;
}

.leaf-card::before {
  display: none;
}

.leaf-card::after {
  content: "";
  position: absolute;
  left: -38%;
  bottom: -62%;
  width: 82%;
  height: 82%;
  background: radial-gradient(circle, rgba(60, 214, 142, 0.16), transparent 66%);
}

.leaf-card.has-float-icon {
  overflow: visible;
}

.decor-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  border: 1px solid rgba(97, 255, 188, 0.3);
  background: linear-gradient(145deg, rgba(10, 36, 24, 0.86), rgba(6, 18, 13, 0.74));
  display: grid;
  place-items: center;
  box-shadow: 0 0 16px rgba(66, 229, 151, 0.24);
  pointer-events: none;
}

html[data-theme="light"] .decor-icon {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(14, 147, 90, 0.26);
}

.decor-icon img {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
}

.decor-icon--tr {
  right: -12px;
  top: -14px;
}

.decor-icon--br {
  right: 14px;
  bottom: -14px;
}

.decor-icon--ml {
  left: -14px;
  top: 55%;
  transform: translateY(-50%);
}

.section-icon-gap {
  padding-bottom: clamp(8.2rem, 14vh, 10.4rem);
}

.icon-strip {
  margin-top: 1.25rem;
  border-radius: 24px 14px 24px 14px;
  padding: 1rem;
  border: 1px solid var(--line-soft);
  background: rgba(8, 14, 12, 0.74);
}

html[data-theme="light"] .icon-strip {
  background: rgba(255, 255, 255, 0.88);
}

.icon-strip-grid {
  display: grid;
  gap: 0.72rem;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.icon-strip-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.1rem;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 0.52rem 0.62rem;
  background: rgba(10, 26, 18, 0.42);
  color: var(--muted);
  font-weight: 600;
}

html[data-theme="light"] .icon-strip-item {
  background: rgba(255, 255, 255, 0.92);
}

.icon-strip-item img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(82, 247, 173, 0.42));
}

.icon-strip-large .icon-strip-item img {
  width: 48px;
  height: 48px;
}

.icon-strip--top {
  margin-top: 1.1rem;
  margin-bottom: 1.5rem;
}

.bud-image {
  position: relative;
  padding: 0.9rem;
  border-radius: 38px 22px 38px 22px;
  overflow: hidden;
}

.bud-image::before {
  display: none;
}

.bud-image::after {
  display: none;
}

.bud-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  transform: none;
  opacity: 1;
  filter: none;
  transition: opacity 0.25s ease;
}

.bud-image.is-bloom img {
  box-shadow: 0 0 16px rgba(69, 242, 163, 0.2);
}

.section-head {
  margin-bottom: 1rem;
}

.section-head h2 {
  margin-top: 0.45rem;
  font-size: clamp(1.6rem, 3.1vw, 2.7rem);
}

.grid-3 {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.pcb-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  cursor: pointer;
}

.pcb-button {
  position: relative;
  border: 1px solid #29c27f;
  border-radius: 999px 48px 999px 48px;
  padding: 0.8rem 1.3rem;
  font-size: 0.95rem;
  line-height: 1.1;
  color: #f6fff9;
  background: #15965f;
  box-shadow: 0 0 14px rgba(47, 212, 143, 0.24);
}

.pcb-button::before {
  display: none;
}

.pcb-button::after {
  display: none;
}

.ghost-button {
  border: 1px solid #1cab6e;
  border-radius: 999px;
  color: #f2fff8;
  background: #11784c;
  padding: 0.74rem 1.1rem;
  font-size: 0.94rem;
}

.pcb-button:hover,
.pcb-button:focus-visible,
.ghost-button:hover,
.ghost-button:focus-visible,
.theme-toggle:hover,
.theme-toggle:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

html[data-theme="light"] .ghost-button {
  background: #15965f;
  color: #f6fff9;
}

html[data-theme="light"] .pcb-button {
  background: #15965f;
  color: #f6fff9;
}

.icon-line {
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.icon-line img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(76, 247, 168, 0.42));
}

.service-grid,
.inventory-grid,
.news-list,
.case-grid,
.project-grid,
.ref-grid,
.download-grid,
.team-grid,
.impact-grid {
  display: grid;
  gap: 1rem;
}

.service-grid,
.news-list,
.case-grid,
.project-grid,
.ref-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.inventory-grid {
  grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
}

.download-grid,
.team-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.impact-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
}

.service-card h3 {
  min-height: 2.7em;
}

.service-card > p {
  min-height: 4.8em;
}

.service-icon-list {
  display: grid;
  gap: 0.38rem;
}

.service-icon-list .icon-line {
  margin-top: 0;
  min-height: 1.8rem;
}

.service-cta {
  margin-top: auto;
  padding-top: 0.35rem;
}

.trace-sequence > .trace-card {
  position: relative;
  isolation: isolate;
}

.trace-sequence > .trace-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1.6px solid rgba(108, 255, 195, 0.5);
  pointer-events: none;
  opacity: 0.24;
  box-shadow: 0 0 0 rgba(86, 252, 180, 0);
  transition: border-color 0.28s ease, box-shadow 0.28s ease, opacity 0.28s ease;
}

.trace-sequence > .trace-card.is-trace-active::before {
  animation: tracePulseActive 2.75s ease-in-out 1;
}

@keyframes tracePulseActive {
  0%,
  100% {
    opacity: 0.24;
    border-color: rgba(104, 255, 193, 0.42);
    box-shadow: 0 0 0 rgba(86, 252, 180, 0);
  }
  55% {
    opacity: 1;
    border-color: rgba(142, 255, 211, 1);
    box-shadow:
      0 0 0 1.6px rgba(96, 255, 186, 0.62),
      0 0 28px rgba(96, 255, 186, 0.72),
      0 0 44px rgba(96, 255, 186, 0.38);
  }
}

.impact-card {
  border-radius: 24px 14px 24px 14px;
  padding: 1rem;
  border: 1px solid var(--line-soft);
  background: rgba(8, 14, 12, 0.72);
}

html[data-theme="light"] .impact-card {
  background: rgba(255, 255, 255, 0.86);
}

.impact-value {
  margin-top: 0.25rem;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  color: var(--accent);
  line-height: 1.1;
}

.person-card {
  padding: 0;
  overflow: hidden;
}

.person-visual {
  min-height: 280px;
  display: grid;
  place-items: end center;
  background: radial-gradient(circle at 50% 15%, rgba(42, 201, 132, 0.2), transparent 55%);
}

.person-visual img {
  max-height: 320px;
  width: auto;
}

.person-copy {
  padding: 1rem 1.2rem 1.25rem;
}

.news-controls {
  padding: 1rem;
  border-radius: 18px;
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 1.9fr 1fr;
}

.news-controls label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.news-controls button {
  align-self: end;
}

.news-controls input,
.news-controls select {
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 0.56rem 0.62rem;
  background: rgba(2, 11, 8, 0.75);
  color: var(--text);
  font-family: var(--font-body);
}

html[data-theme="light"] .news-controls input,
html[data-theme="light"] .news-controls select {
  background: rgba(255, 255, 255, 0.86);
}

.news-card {
  border-radius: 26px 15px 30px 16px;
  padding: 1.1rem;
  border: 1px solid var(--line-soft);
  background: rgba(8, 14, 12, 0.72);
  display: flex;
  flex-direction: column;
  height: 100%;
}

html[data-theme="light"] .news-card {
  background: rgba(255, 255, 255, 0.87);
}

.news-thumb {
  margin: 0.2rem 0 0.7rem;
}

.news-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
}

.news-card h3 {
  font-family: var(--font-heading);
  font-size: 1.06rem;
  line-height: 1.32;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  overflow: hidden;
  min-height: calc(1.32em * 3);
}

.news-meta,
.news-status {
  margin-top: 0.36rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.news-rubric {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.news-rubric span {
  color: var(--text);
  font-weight: 700;
}

.news-card p {
  margin-top: 0.6rem;
  color: var(--muted);
}

.news-card .news-meta,
.news-card .news-rubric {
  min-height: 1.6em;
}

.news-card > p:last-child {
  margin-top: auto;
  padding-top: 0.55rem;
}

.news-more-wrap {
  margin-top: 1.1rem;
  display: flex;
  justify-content: center;
}

body.news-page .news-controls {
  border-color: rgba(84, 255, 173, 0.34);
  background: linear-gradient(145deg, rgba(10, 19, 15, 0.92), rgba(7, 14, 11, 0.86));
}

body.news-page .news-list {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

body.news-page .news-card {
  background: linear-gradient(145deg, rgba(10, 18, 14, 0.94), rgba(7, 13, 10, 0.86));
  border-color: rgba(84, 255, 173, 0.28);
}

body.news-page .news-card h3 {
  color: #f1fff7;
}

body.news-page .news-card p {
  color: rgba(224, 245, 235, 0.94);
}

body.news-page .news-meta,
body.news-page .news-status {
  color: rgba(166, 214, 190, 0.92);
}

html[data-theme="light"] body.news-page .news-card {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(16, 137, 84, 0.25);
}

html[data-theme="light"] body.news-page .news-card h3 {
  color: #113324;
}

html[data-theme="light"] body.news-page .news-card p {
  color: #1d4635;
}

.news-tags {
  margin-top: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.news-tags span {
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 0.2rem 0.56rem;
  font-size: 0.76rem;
}

.list-clean {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.42rem;
}

.list-clean li {
  color: var(--muted);
}

.site-footer {
  width: min(var(--max-width), calc(100% - 2.2rem));
  margin: 0 auto;
  padding: 2rem 0 2.8rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.post-layout {
  max-width: 930px;
}

.post-shell {
  border-radius: 30px 16px 34px 18px;
  padding: 1.35rem;
}

.post-shell .post-meta {
  margin-top: 0.45rem;
  color: var(--muted);
}

.post-shell .post-categories {
  margin: 0.8rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.34rem;
}

.post-shell .post-categories span {
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 0.2rem 0.56rem;
  font-size: 0.78rem;
}

.post-content {
  display: grid;
  gap: 0.9rem;
}

.post-content h2,
.post-content h3,
.post-content h4 {
  margin-top: 1.2rem;
}

.post-content p,
.post-content blockquote,
.post-content pre {
  margin: 0;
  color: var(--muted);
}

.post-content blockquote {
  padding: 0.75rem 0.9rem;
  border-left: 3px solid var(--line);
  background: rgba(20, 44, 33, 0.32);
  border-radius: 0 10px 10px 0;
}

.post-content pre {
  white-space: pre-wrap;
  font-family: var(--font-body);
  line-height: 1.7;
  padding: 0.24rem 0 0.24rem 0.9rem;
  border-left: 2px solid var(--line-soft);
  border-radius: 0;
  background: transparent;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
}

.plant-top {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 24;
  border: 1px solid rgba(102, 255, 187, 0.7);
  border-radius: 66% 34% 62% 38% / 52% 48% 52% 48%;
  clip-path: polygon(3% 50%, 12% 22%, 40% 8%, 75% 14%, 97% 40%, 97% 60%, 75% 86%, 40% 92%, 12% 78%);
  padding: 0.74rem 1.14rem 0.74rem 0.98rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.1;
  color: #03180f;
  text-shadow: 0 1px 0 rgba(230, 255, 241, 0.76);
  cursor: pointer;
  background:
    radial-gradient(circle at 16% 48%, rgba(228, 255, 240, 0.94) 0 5%, transparent 6%),
    radial-gradient(circle at 78% 50%, rgba(158, 255, 211, 0.34), transparent 44%),
    linear-gradient(147deg, #87ffd0, #3bd99d 48%, #11895c);
  box-shadow: 0 0 22px rgba(56, 216, 149, 0.45);
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.plant-top::after {
  content: "";
  display: inline-block;
  width: 1rem;
  height: 1rem;
  margin-left: 0.42rem;
  vertical-align: middle;
  background: url("../assets/svg/leaf-circuit.svg") center/contain no-repeat;
  filter: brightness(0.1) saturate(1.25);
}

.plant-top.is-visible {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.chapter-rail-auto {
  position: fixed;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 196px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: linear-gradient(145deg, var(--panel), var(--panel-soft));
  box-shadow: var(--shadow);
  padding: 0.62rem;
  display: grid;
  gap: 0.38rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.55s ease, visibility 0.45s ease;
}

.chapter-rail-auto.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.chapter-rail-auto h3 {
  font-size: 0.77rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 0.25rem;
}

.chapter-rail-auto a {
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 0.3rem 0.62rem;
  background: rgba(10, 26, 18, 0.42);
}

.chapter-rail-auto a.is-active,
.chapter-rail-auto a:hover,
.chapter-rail-auto a:focus-visible {
  color: var(--text);
  border-color: var(--line);
  background: rgba(22, 89, 58, 0.32);
}

.chapter-rail-auto__backtop {
  display: none;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.28s ease, transform 0.28s ease, max-height 0.28s ease;
}

.chapter-rail-auto__backtop[hidden] {
  display: none !important;
}

.chapter-rail-auto__backtop.is-visible {
  display: block;
  opacity: 1;
  max-height: 3rem;
  pointer-events: auto;
  transform: translateY(0);
}

.chapter-rail-mobile-toggle {
  display: none;
}

body.page-enter-left .site-header,
body.page-enter-left main,
body.page-enter-left .site-footer {
  animation: pageEnterLeft 0.5s cubic-bezier(0.17, 1, 0.35, 1) both;
}

body.page-enter-right .site-header,
body.page-enter-right main,
body.page-enter-right .site-footer {
  animation: pageEnterRight 0.5s cubic-bezier(0.17, 1, 0.35, 1) both;
}

body.page-entry-handoff .page-hero--cinema .hero-cinema__video,
body.page-entry-handoff .page-hero--cinema .hero-cinema__still,
body.page-entry-handoff .page-hero--cinema .hero-cinema__veil,
body.page-entry-handoff .page-hero--cinema .hero-cinema__scan {
  animation: heroHandoffMedia 0.88s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

body.page-entry-handoff .page-hero--cinema .page-hero__copy {
  animation: heroHandoffCopy 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

body.page-leave-left .site-header,
body.page-leave-left main,
body.page-leave-left .site-footer {
  animation: pageLeaveLeft 0.45s cubic-bezier(0.64, 0, 0.78, 0) both;
}

body.page-leave-right .site-header,
body.page-leave-right main,
body.page-leave-right .site-footer {
  animation: pageLeaveRight 0.45s cubic-bezier(0.64, 0, 0.78, 0) both;
}

body.vine-burning .growth-active {
  stroke: #ff7f2f;
  filter: drop-shadow(0 0 14px rgba(255, 124, 45, 0.85));
  animation: vineBurnDash 0.2s linear infinite, vineBurnPulse 0.3s ease-in-out infinite;
}

body.vine-burning .growth-track {
  stroke: rgba(255, 134, 48, 0.18);
}

body.vine-burning .growth-branch {
  stroke: rgba(255, 140, 66, 0.38);
}

body.vine-burning .plant-top {
  color: #2f0f00;
  background: linear-gradient(145deg, #ffc479, #ff8d43 56%, #d55a1e);
  border-color: rgba(255, 190, 125, 0.75);
}

body.is-transitioning {
  pointer-events: none;
}

@keyframes pageEnterLeft {
  from {
    opacity: 0;
    transform: translateX(-9vw) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes heroHandoffMedia {
  from {
    opacity: 0.72;
    transform: scale(1.08);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

@keyframes heroHandoffCopy {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pageEnterRight {
  from {
    opacity: 0;
    transform: translateX(9vw) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes pageLeaveLeft {
  from {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateX(-11vw) scale(0.95);
  }
}

@keyframes pageLeaveRight {
  from {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateX(11vw) scale(0.95);
  }
}

@keyframes vineBurnDash {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -36;
  }
}

@keyframes vineBurnPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@media (max-width: 1060px) {
  .chapter-rail-auto {
    top: auto;
    right: 0.9rem;
    bottom: 5.55rem;
    width: min(18.5rem, calc(100vw - 1.4rem));
    border-radius: 22px;
    padding: 0.78rem;
    transform: translateY(16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .chapter-rail-auto.is-visible {
    transform: translateY(0);
  }

  .chapter-rail-auto.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .chapter-rail-mobile-toggle {
    position: fixed;
    right: 0.9rem;
    bottom: 1rem;
    z-index: 26;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    background: linear-gradient(145deg, var(--panel), var(--panel-soft));
    color: var(--text);
    font-family: var(--font-heading);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.82rem 1rem;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
    transform: translateY(12px);
  }

  .chapter-rail-mobile-toggle.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .chapter-rail-mobile-toggle__icon {
    position: relative;
    width: 1rem;
    height: 0.8rem;
    display: inline-block;
  }

  .chapter-rail-mobile-toggle__icon::before,
  .chapter-rail-mobile-toggle__icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
  }

  .chapter-rail-mobile-toggle__icon::before {
    top: 0;
    box-shadow: 0 0.35rem 0 currentColor;
  }

  .chapter-rail-mobile-toggle__icon::after {
    top: 0.7rem;
  }

  .main-nav {
    display: none;
  }

  .hero,
  .page-hero,
  .split,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .news-controls {
    grid-template-columns: 1fr;
  }

  .bud-image::before,
  .bud-image::after {
    display: none;
  }

  .section {
    padding: 5.2rem 0;
  }

  .chapter-rail-auto {
    display: none;
  }

  .plant-top {
    right: 0.8rem;
    bottom: 0.8rem;
    padding: 0.64rem 0.98rem 0.64rem 0.86rem;
    font-size: 0.88rem;
  }

  .theme-toggle {
    top: 0.72rem;
    right: 0.76rem;
  }
}

body.home-choice-page {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 10% 14%, rgba(255, 139, 82, 0.17), transparent 24%),
    radial-gradient(circle at 50% 12%, rgba(90, 151, 255, 0.15), transparent 26%),
    radial-gradient(circle at 88% 14%, rgba(34, 208, 143, 0.18), transparent 24%),
    linear-gradient(135deg, #04070b 0%, #0a1017 46%, #07110d 100%);
}

html[data-theme="light"] body.home-choice-page {
  background:
    radial-gradient(circle at 10% 14%, rgba(255, 164, 118, 0.2), transparent 24%),
    radial-gradient(circle at 52% 10%, rgba(126, 176, 255, 0.2), transparent 27%),
    radial-gradient(circle at 88% 16%, rgba(59, 182, 133, 0.16), transparent 25%),
    linear-gradient(135deg, #fffaf2 0%, #f7fbff 46%, #eef8f1 100%);
}

body.home-choice-page::before {
  background-image:
    linear-gradient(transparent 0 95%, rgba(255, 255, 255, 0.025) 95% 96%, transparent 96% 100%),
    linear-gradient(90deg, transparent 0 95%, rgba(255, 255, 255, 0.02) 95% 96%, transparent 96% 100%);
  background-size: 150px 150px;
}

html[data-theme="light"] body.home-choice-page::before {
  background-image:
    linear-gradient(transparent 0 95%, rgba(28, 89, 63, 0.035) 95% 96%, transparent 96% 100%),
    linear-gradient(90deg, transparent 0 95%, rgba(28, 89, 63, 0.03) 95% 96%, transparent 96% 100%);
}

.choice-atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.choice-atmosphere__glow,
.choice-atmosphere__grid {
  position: absolute;
  inset: auto;
}

.choice-atmosphere__glow {
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.58;
  animation: choiceDrift 18s ease-in-out infinite;
}

.choice-atmosphere__glow--left {
  left: -8vw;
  top: 14vh;
  background: radial-gradient(circle, rgba(255, 139, 82, 0.28), transparent 68%);
}

.choice-atmosphere__glow--center {
  left: 31vw;
  top: 4vh;
  background: radial-gradient(circle, rgba(86, 146, 255, 0.22), transparent 68%);
  animation-delay: -6s;
}

.choice-atmosphere__glow--right {
  right: -8vw;
  top: 18vh;
  background: radial-gradient(circle, rgba(44, 205, 142, 0.24), transparent 68%);
  animation-delay: -12s;
}

.choice-atmosphere__grid {
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.04), transparent 44%),
    linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.025) 48%, transparent 52%);
  mix-blend-mode: screen;
  opacity: 0.55;
}

html[data-theme="light"] .choice-atmosphere__grid {
  background:
    radial-gradient(circle at 50% 50%, rgba(20, 70, 50, 0.06), transparent 42%),
    linear-gradient(110deg, transparent 0%, rgba(20, 70, 50, 0.035) 48%, transparent 52%);
  mix-blend-mode: multiply;
}

.home-choice-header {
  width: min(1380px, calc(100% - 2.2rem));
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 8;
  padding-top: 1.15rem;
  padding-bottom: 1.15rem;
  transform: translateX(-50%);
  background: transparent;
  backdrop-filter: none;
  justify-content: flex-start;
}

.home-choice-page main {
  width: calc(100% - 2.2rem);
  max-width: none;
  padding: 0 0 1.2rem;
}

.choice-main {
  display: block;
  position: relative;
  padding-top: 6.7rem;
}

.choice-hero {
  min-height: 100vh;
  display: block;
}

.world-stage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  min-height: 100vh;
  overflow: hidden;
  border-radius: 44px;
  padding: 0;
  isolation: isolate;
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.36),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.world-stage::before,
.world-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.world-stage::before {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.08), transparent 26%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.02));
  mix-blend-mode: screen;
}

.world-stage::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 18%, transparent 80%, rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at 50% 100%, rgba(0, 0, 0, 0.3), transparent 48%);
}

.choice-prompt {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 5;
  width: min(420px, calc(100% - 2rem));
  padding: 0.7rem 0.95rem;
  transform: translateX(-50%);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(8, 12, 18, 0.22);
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

html[data-theme="light"] .choice-prompt {
  border-color: rgba(87, 101, 112, 0.12);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 28px rgba(81, 116, 93, 0.1);
}

.choice-prompt h1 {
  margin-top: 0.18rem;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
}

.choice-prompt__meta {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.choice-prompt__meta a {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.world-card {
  --pointer-x: 50%;
  --pointer-y: 34%;
  --world-left-top: 12%;
  --world-left-bottom: 0%;
  --world-right-top: 100%;
  --world-right-bottom: 88%;
  --world-rail-band: 1.2%;
  --world-brand-anchor: 46.4%;
  --world-content-anchor: 46.4%;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 6.8rem 1.8rem 1.8rem;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  text-decoration: none;
  color: #f7fbff;
  box-shadow: 0 30px 84px rgba(0, 0, 0, 0.36);
  isolation: isolate;
  will-change: transform, opacity;
  transition:
    transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.45s ease,
    border-color 0.4s ease,
    filter 0.4s ease,
    opacity 0.35s ease;
}

.world-card::before,
.world-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.world-card::before {
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), var(--world-glow), transparent 32%),
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.08), transparent 30%),
    linear-gradient(180deg, var(--world-top), var(--world-bottom));
  z-index: -3;
}

.world-card::after {
  background:
    linear-gradient(180deg, rgba(7, 9, 13, 0.06), rgba(5, 7, 12, 0.26) 28%, rgba(3, 4, 8, 0.9)),
    linear-gradient(124deg, transparent 0%, rgba(255, 255, 255, 0.08) 44%, transparent 58%);
  z-index: -1;
}

.world-card__halo {
  position: absolute;
  inset: auto auto -28% -14%;
  width: 78%;
  height: 58%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 72%);
  opacity: 0.65;
  filter: blur(20px);
  z-index: -2;
  transition: transform 0.55s ease, opacity 0.35s ease;
}

.world-card__brand {
  position: absolute;
  top: 41%;
  left: var(--world-brand-anchor);
  z-index: 2;
  transform: translate(-50%, -50%);
}

.world-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.72rem;
  min-width: 15.2rem;
  min-height: 13.8rem;
  padding: 1.35rem 1.45rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(7, 12, 18, 0.14), rgba(7, 12, 18, 0.3));
  backdrop-filter: blur(7px);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.24);
  will-change: transform, opacity;
  transition: transform 0.45s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.world-brand__title {
  max-width: 15ch;
  color: rgba(247, 251, 255, 0.96);
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-align: center;
  text-wrap: balance;
}

.world-brand__logo {
  display: block;
  width: clamp(124px, 11vw, 168px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(194, 255, 76, 0.16));
}

.world-brand__caption {
  color: rgba(237, 244, 250, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 900;
}

.world-card__visual {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.world-card__visual::before,
.world-card__visual::after {
  content: "";
  position: absolute;
  inset: 0;
}

.world-card__visual::before {
  background-image: var(--world-image);
  background-size: var(--world-image-size, cover);
  background-repeat: var(--world-image-repeat, no-repeat);
  background-position: var(--world-image-position, center center);
  transform: scale(var(--world-image-scale, 1.08));
  filter: var(--world-image-filter, saturate(0.98) contrast(1.08));
  will-change: transform;
  transition: transform 0.6s ease, filter 0.45s ease;
}

.world-card__visual::after {
  background:
    linear-gradient(180deg, rgba(6, 9, 14, 0.04), rgba(6, 9, 14, 0.14) 24%, rgba(4, 7, 12, 0.68) 74%, rgba(3, 5, 10, 0.92)),
    var(--world-image-tint);
}

.world-card__visual span {
  display: none;
}

.world-card__rails {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.world-card__rails span {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.22) 12%, var(--world-line) 50%, rgba(255, 255, 255, 0.18) 88%, transparent 100%);
  opacity: 0.2;
  filter: none;
  will-change: opacity;
  transition: opacity 0.24s ease;
}

.world-card__rails span:first-child {
  clip-path: polygon(
    var(--world-left-top) 0,
    calc(var(--world-left-top) + var(--world-rail-band)) 0,
    calc(var(--world-left-bottom) + var(--world-rail-band)) 100%,
    var(--world-left-bottom) 100%
  );
}

.world-card__rails span:last-child {
  clip-path: polygon(
    calc(var(--world-right-top) - var(--world-rail-band)) 0,
    var(--world-right-top) 0,
    var(--world-right-bottom) 100%,
    calc(var(--world-right-bottom) - var(--world-rail-band)) 100%
  );
}

.world-card__content,
.world-card {
  position: relative;
  z-index: 1;
}

.world-card__content {
  position: absolute;
  left: var(--world-content-anchor);
  bottom: 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  width: min(24.8rem, calc(100% - 3rem));
  max-width: calc(100% - 3rem);
  padding: 1.2rem 1.18rem 1.14rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(10, 14, 19, 0.16), rgba(7, 10, 15, 0.72));
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
  text-align: center;
  transform: translateX(-50%);
}

.world-card__text {
  max-width: 25ch;
  color: rgba(247, 250, 253, 0.96);
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.52;
  letter-spacing: 0.01em;
  text-wrap: pretty;
}

.world-card__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.42rem;
}

.world-card__tags span {
  padding: 0.36rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  color: rgba(247, 251, 255, 0.92);
  font-weight: 700;
}

.world-card--private {
  --world-brand-anchor: 42%;
  --world-content-anchor: 42%;
  --world-top: rgba(53, 31, 22, 0.72);
  --world-bottom: rgba(43, 17, 12, 0.98);
  --world-glow: rgba(255, 160, 118, 0.44);
  --world-line: rgba(255, 188, 150, 0.96);
  --world-image: url("../assets/img/Jemke Care.png");
  --world-image-size: cover;
  --world-image-position: 60% center;
  --world-image-scale: 1.04;
  --world-image-filter: saturate(1.02) contrast(1.04);
  --world-image-tint:
    linear-gradient(180deg, rgba(89, 40, 24, 0.24), rgba(45, 18, 12, 0.16)),
    radial-gradient(circle at 50% 34%, rgba(255, 205, 175, 0.12), transparent 40%);
}

.world-card--business {
  --world-brand-anchor: 46.4%;
  --world-content-anchor: 46.4%;
  --world-top: rgba(11, 16, 18, 0.78);
  --world-bottom: rgba(3, 5, 6, 0.98);
  --world-glow: rgba(76, 223, 145, 0.34);
  --world-line: rgba(100, 240, 162, 0.96);
  --world-image: url("../assets/img/Jemke Systems.png");
  --world-image-size: cover;
  --world-image-position: 52% center;
  --world-image-scale: 1.04;
  --world-image-filter: saturate(1.02) contrast(1.05);
  --world-image-tint:
    linear-gradient(180deg, rgba(10, 28, 22, 0.18), rgba(4, 10, 8, 0.22)),
    radial-gradient(circle at 50% 32%, rgba(84, 255, 173, 0.12), transparent 42%);
}

.world-card--community {
  --world-brand-anchor: 50.8%;
  --world-content-anchor: 50.8%;
  --world-top: rgba(11, 35, 28, 0.74);
  --world-bottom: rgba(7, 24, 20, 0.98);
  --world-glow: rgba(86, 220, 171, 0.4);
  --world-line: rgba(121, 241, 196, 0.96);
  --world-image: url("../assets/img/Jemke Community.png");
  --world-image-size: cover;
  --world-image-position: 52% center;
  --world-image-scale: 1.04;
  --world-image-filter: saturate(1.02) contrast(1.02);
  --world-image-tint:
    linear-gradient(180deg, rgba(18, 58, 45, 0.22), rgba(7, 24, 20, 0.16)),
    radial-gradient(circle at 50% 34%, rgba(130, 255, 209, 0.1), transparent 42%);
}

.world-card:hover,
.world-card:focus-visible,
.world-card.is-active {
  z-index: 8;
  transform: scale(1.02);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 34px 92px rgba(0, 0, 0, 0.4);
}

.world-card:hover .world-card__halo,
.world-card:focus-visible .world-card__halo,
.world-card.is-active .world-card__halo {
  opacity: 0.8;
  transform: scale(1.08);
}

.world-card:hover .world-card__visual::before,
.world-card:focus-visible .world-card__visual::before,
.world-card.is-active .world-card__visual::before {
  transform: scale(1.11);
  filter: saturate(1.03) contrast(1.06);
}

.world-card:hover .world-card__rails span,
.world-card:focus-visible .world-card__rails span,
.world-card.is-active .world-card__rails span {
  opacity: 0.96;
}

.world-card:hover .world-brand,
.world-card:focus-visible .world-brand,
.world-card.is-active .world-brand {
  transform: translateY(-6px) scale(1.05);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(7, 12, 18, 0.32));
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.24);
}

.world-card.is-entering {
  filter: brightness(1.08);
}

.world-stage[data-active-world="private"] .world-card:not(.world-card--private),
.world-stage[data-active-world="business"] .world-card:not(.world-card--business),
.world-stage[data-active-world="community"] .world-card:not(.world-card--community) {
  filter: saturate(0.82) brightness(0.88);
}

.choice-footer {
  padding-bottom: 1.8rem;
}

.home-choice-page .plant-top {
  display: none !important;
}

html[data-theme="light"] .world-card {
  color: #173026;
  border-color: rgba(21, 93, 62, 0.12);
  box-shadow: 0 32px 66px rgba(86, 118, 100, 0.18);
}

html[data-theme="light"] .world-card::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(247, 251, 248, 0.24) 28%, rgba(242, 247, 244, 0.84)),
    linear-gradient(130deg, transparent 0%, rgba(255, 255, 255, 0.34) 46%, transparent 54%);
}

html[data-theme="light"] .world-brand {
  border-color: rgba(77, 92, 103, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(243, 247, 250, 0.94));
  backdrop-filter: blur(14px) saturate(1.08);
  box-shadow: 0 22px 52px rgba(85, 97, 109, 0.18);
}

html[data-theme="light"] .world-brand__title {
  color: rgba(20, 31, 39, 0.96);
}

html[data-theme="light"] .world-brand__caption {
  color: rgba(58, 72, 82, 0.82);
}

html[data-theme="light"] .world-card__visual::before {
  filter: saturate(1.03) contrast(1.08) brightness(1.04);
}

html[data-theme="light"] .world-card__visual::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(246, 249, 251, 0.12) 24%, rgba(238, 243, 246, 0.56) 74%, rgba(233, 239, 242, 0.72)),
    var(--world-image-tint);
}

html[data-theme="light"] .world-card__content {
  border-color: rgba(77, 92, 103, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(241, 245, 248, 0.92));
  backdrop-filter: blur(14px) saturate(1.06);
  box-shadow: 0 18px 42px rgba(92, 103, 115, 0.16);
}

html[data-theme="light"] .world-card__text {
  color: rgba(21, 30, 38, 0.96);
}

html[data-theme="light"] .world-card__tags span {
  color: rgba(34, 44, 52, 0.88);
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(87, 101, 112, 0.14);
}

html[data-theme="light"] .world-card:hover,
html[data-theme="light"] .world-card:focus-visible,
html[data-theme="light"] .world-card.is-active {
  border-color: rgba(21, 93, 62, 0.22);
  box-shadow: 0 38px 78px rgba(86, 118, 100, 0.24);
}

@keyframes choiceDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, 18px, 0) scale(1.04);
  }
}

@media (min-width: 1401px) {
  .world-card {
    --world-left-top: 12%;
    --world-left-bottom: 0%;
    --world-right-top: 100%;
    --world-right-bottom: 88%;
    clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
  }

  .world-card--private {
    margin-right: -5vw;
    z-index: 1;
  }

  .world-card--business {
    margin-left: -5vw;
    margin-right: -5vw;
    z-index: 2;
  }

  .world-card--community {
    margin-left: -5vw;
    z-index: 3;
  }
}

@media (min-width: 1061px) and (max-width: 1400px) {
  .world-stage {
    gap: 0.35rem;
    padding: 0.35rem;
  }

  .world-card {
    --world-left-top: 10%;
    --world-left-bottom: 0%;
    --world-right-top: 100%;
    --world-right-bottom: 90%;
    --world-brand-anchor: 46.2%;
    --world-content-anchor: 46.2%;
    min-width: 0;
    min-height: 100vh;
    padding: 6.35rem 1rem 1.3rem;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
  }

  .world-card--private,
  .world-card--business,
  .world-card--community {
    margin: 0;
  }

  .world-card--private {
    --world-brand-anchor: 43.2%;
    --world-content-anchor: 43.2%;
  }

  .world-card--business {
    --world-brand-anchor: 46.2%;
    --world-content-anchor: 46.2%;
  }

  .world-card--community {
    --world-brand-anchor: 49.2%;
    --world-content-anchor: 49.2%;
  }

  .world-card__brand {
    top: 34%;
  }

  .world-brand {
    min-width: min(100%, 11.5rem);
    min-height: 9.6rem;
    padding: 1rem;
    border-radius: 28px;
  }

  .world-brand__name {
    font-size: 1.12rem;
  }

  .world-brand__subline {
    font-size: 0.78rem;
  }

  .world-card__content {
    width: min(20rem, 100%);
    margin-inline: auto;
    padding: 1rem 0.92rem;
  }

  .world-card__text {
    font-size: 0.96rem;
  }

  .world-card__tags span {
    padding: 0.34rem 0.62rem;
    font-size: 0.74rem;
  }
}

@media (max-width: 1180px) {
  .choice-prompt {
    width: min(390px, calc(100% - 1.4rem));
  }
}

@media (max-width: 1060px) {
  .home-choice-header {
    width: min(100%, calc(100% - 1.4rem));
    gap: 0.75rem;
  }

  .home-choice-page main {
    width: calc(100% - 1.4rem);
    padding-top: 0.55rem;
  }

  .choice-hero {
    min-height: auto;
  }

  .world-stage {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    overflow: visible;
    border-radius: 0;
    min-height: auto;
    padding-top: 6.5rem;
    padding-bottom: 4.4rem;
  }

  .world-card {
    min-height: 260px;
    border-radius: 28px;
    clip-path: none;
    padding: 1rem;
  }

  .world-card__brand {
    position: relative;
    top: auto;
    left: auto;
    display: flex;
    justify-content: center;
    transform: none;
  }

  .world-brand {
    width: fit-content;
    min-width: min(13.6rem, calc(100% - 1.4rem));
    max-width: calc(100% - 1.4rem);
    min-height: auto;
    flex-direction: column;
    justify-content: center;
    padding: 0.95rem 1rem 0.9rem;
    gap: 0.45rem;
  }

  .world-card__text {
    max-width: none;
  }

  .world-card__content {
    position: relative;
    left: auto;
    bottom: auto;
    padding: 1rem;
    width: 100%;
    max-width: 100%;
    margin-top: 1.75rem;
    transform: none;
  }

  .world-card__rails {
    display: none;
  }

  .choice-prompt {
    width: min(100%, calc(100% - 0.2rem));
    border-radius: 26px;
    padding: 0.8rem 0.9rem;
  }

  .choice-prompt {
    top: 0.2rem;
  }
}

@media (max-width: 720px) {
  .choice-prompt,
  .world-card {
    padding: 1rem;
  }

  .world-brand {
    min-width: min(12.4rem, calc(100% - 1.2rem));
    max-width: calc(100% - 1.2rem);
    padding: 0.85rem 0.9rem 0.82rem;
  }

  .world-card__content {
    margin-top: 1.9rem;
    padding: 0.9rem 0.92rem 0.86rem;
  }

  .world-brand__title {
    font-size: 1rem;
  }

  .world-brand__logo {
    width: 102px;
  }

  .world-brand__caption {
    font-size: 0.72rem;
  }

  .choice-prompt h1 {
    font-size: clamp(1rem, 5.6vw, 1.4rem);
  }

  .world-card__text {
    font-size: 0.94rem;
  }
}

.world-card__doors {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.world-card__doors span {
  position: absolute;
  top: 0;
  bottom: 0;
  transition: transform 0.52s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.3s ease;
}

.world-card__doors span:nth-child(1),
.world-card__doors span:nth-child(2) {
  width: 50%;
  background: linear-gradient(180deg, rgba(6, 10, 16, 0.22), rgba(6, 10, 16, 0.34));
  opacity: 0;
}

.world-card__doors span:nth-child(1) {
  left: 0;
}

.world-card__doors span:nth-child(2) {
  right: 0;
}

.world-card__doors span:nth-child(3) {
  left: 50%;
  width: 6px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, var(--world-line), transparent);
  filter: drop-shadow(0 0 10px var(--world-line));
  opacity: 0;
}

.world-stage.is-door-opening .world-card:not(.is-opening) {
  opacity: 0;
  transform: scale(0.92);
}

.world-stage.is-door-opening .world-card.is-opening {
  z-index: 12;
  transform: scale(1.02);
}

.world-stage.is-door-opening .world-card.is-opening .world-card__rails span {
  opacity: 1;
  filter: drop-shadow(0 0 12px var(--world-line)) drop-shadow(0 0 26px var(--world-line));
}

.world-stage.is-door-opening .world-card.is-opening .world-card__doors span:nth-child(1),
.world-stage.is-door-opening .world-card.is-opening .world-card__doors span:nth-child(2),
.world-stage.is-door-opening .world-card.is-opening .world-card__doors span:nth-child(3) {
  opacity: 1;
}

.world-stage.is-door-opening .world-card.is-opening .world-card__doors span:nth-child(1) {
  transform: translateX(-4%);
}

.world-stage.is-door-opening .world-card.is-opening .world-card__doors span:nth-child(2) {
  transform: translateX(4%);
}

.world-door-transition {
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
}

.world-door-transition__shell {
  position: absolute;
  left: var(--start-x);
  top: var(--start-y);
  width: var(--start-w);
  height: var(--start-h);
  overflow: hidden;
  border-radius: 36px;
  box-shadow: 0 34px 92px rgba(0, 0, 0, 0.4);
  transition:
    left 0.46s cubic-bezier(0.2, 0.7, 0.2, 1),
    top 0.46s cubic-bezier(0.2, 0.7, 0.2, 1),
    width 0.46s cubic-bezier(0.2, 0.7, 0.2, 1),
    height 0.46s cubic-bezier(0.2, 0.7, 0.2, 1),
    border-radius 0.38s ease;
}

.world-door-transition__visual,
.world-door-transition__visual::before,
.world-door-transition__visual::after {
  position: absolute;
  inset: 0;
}

.world-door-transition__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.1);
  z-index: 0;
}

.world-door-transition__visual::before,
.world-door-transition__visual::after {
  content: "";
  z-index: 1;
}

.world-door-transition__visual::before {
  background-image: var(--transition-image);
  background-size: cover;
  background-position: center center;
  transform: scale(1.1);
}

.world-door-transition--business .world-door-transition__visual::before {
  display: none;
}

.world-door-transition__visual::after {
  background:
    linear-gradient(180deg, rgba(6, 9, 14, 0.06), rgba(6, 9, 14, 0.22) 30%, rgba(4, 7, 12, 0.86)),
    var(--transition-tint);
}

.world-door-transition--business .world-door-transition__visual::after {
  display: none;
}

.world-door-transition--business .world-door-transition__visual {
  background: #020505;
}

.world-door-transition__brand {
  position: absolute;
  left: 50%;
  top: 36%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.world-door-transition__doors {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.world-door-transition__door,
.world-door-transition__seam {
  position: absolute;
  top: 0;
  bottom: 0;
}

.world-door-transition__door {
  width: 50%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(4, 8, 14, 0.18)),
    linear-gradient(135deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.42));
  backdrop-filter: blur(10px);
  transition: transform 0.42s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.2s ease;
}

.world-door-transition__door--left {
  left: 0;
}

.world-door-transition__door--right {
  right: 0;
}

.world-door-transition__seam {
  left: 50%;
  width: 8px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, var(--transition-line), transparent);
  filter: drop-shadow(0 0 12px var(--transition-line)) drop-shadow(0 0 28px var(--transition-line));
  transition: opacity 0.24s ease;
}

.world-door-transition.is-centering .world-door-transition__shell {
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  border-radius: 0;
}

.world-door-transition.is-centering .world-door-transition__brand .world-brand {
  transform: scale(1.1);
}

.world-door-transition.is-opening .world-door-transition__door--left {
  transform: translateX(-104%);
}

.world-door-transition.is-opening .world-door-transition__door--right {
  transform: translateX(104%);
}

.world-door-transition.is-opening .world-door-transition__seam {
  opacity: 0;
}

.is-door-transitioning .site-header,
.is-door-transitioning .choice-prompt,
.is-door-transitioning .site-footer {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.page-hero--cinema {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #020406;
}

.page-hero--cinema::before,
.page-hero--cinema::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.page-hero--cinema::before {
  background:
    linear-gradient(180deg, rgba(3, 6, 10, 0.58), rgba(3, 6, 10, 0.12) 22%, rgba(3, 6, 10, 0.12) 56%, rgba(3, 6, 10, 0.82)),
    linear-gradient(90deg, rgba(2, 5, 8, 0.72) 0%, rgba(2, 5, 8, 0.5) 22%, rgba(2, 5, 8, 0.14) 54%, rgba(2, 5, 8, 0.22) 100%);
}

.page-hero--cinema::after {
  background:
    radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.08), transparent 22%),
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.05), transparent 24%),
    linear-gradient(180deg, transparent 0%, transparent 58%, rgba(0, 0, 0, 0.28) 100%);
  mix-blend-mode: screen;
}

.page-hero--cinema .page-hero__copy {
  position: relative;
  z-index: 2;
  width: min(44rem, calc(100vw - 2.4rem));
  margin: 0 auto clamp(1.2rem, 4vw, 2.4rem);
  padding: clamp(1.35rem, 2.6vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(6, 11, 18, 0.22), rgba(6, 11, 18, 0.58));
  backdrop-filter: blur(18px);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
}

.page-hero--cinema .page-hero__copy.story-focus {
  --focus: 1;
  opacity: 1;
}

.page-hero--cinema .page-hero__copy > * {
  max-width: 38rem;
}

.page-hero--cinema .page-hero__copy .eyebrow {
  color: rgba(236, 247, 255, 0.74);
}

.page-hero--cinema .page-hero__copy p,
.page-hero--cinema .page-hero__copy .muted,
.page-hero--cinema .page-hero__copy .story-lead,
.page-hero--cinema .page-hero__copy .story-long {
  color: rgba(237, 244, 251, 0.86);
}

.hero-cinema {
  position: relative;
  overflow: hidden;
  min-height: clamp(320px, 44vw, 500px);
}

.page-hero--cinema .hero-cinema {
  position: absolute;
  inset: 0;
  min-height: 100%;
  border-radius: 0;
}

.hero-cinema__video,
.hero-cinema__still,
.hero-cinema__veil,
.hero-cinema__scan {
  position: absolute;
  inset: 0;
}

.hero-cinema__video,
.hero-cinema__still {
  width: 100%;
  height: 100%;
  object-fit: var(--hero-media-fit, cover);
  object-position: var(--hero-media-position, center center);
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  filter: var(--hero-media-filter, saturate(1.02) contrast(1.06));
  transform: scale(var(--hero-media-scale, 1));
}

.page-hero--cinema .hero-cinema__video,
.page-hero--cinema .hero-cinema__still,
.page-hero--cinema .hero-cinema__veil,
.page-hero--cinema .hero-cinema__scan {
  border-radius: 0;
}

.page-hero--cinema .hero-cinema__video,
.page-hero--cinema .hero-cinema__still {
  border: 0;
  filter: var(--hero-media-page-filter, saturate(1.08) contrast(1.08) brightness(0.82));
}

.hero-cinema__veil {
  background:
    linear-gradient(180deg, rgba(5, 9, 14, 0.12), rgba(5, 9, 14, 0.26) 28%, rgba(3, 5, 10, 0.74)),
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.08), transparent 30%);
  border-radius: 16px;
}

.hero-cinema__scan {
  border-radius: 16px;
  background:
    linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.06) 48%, transparent 52%, transparent 100%),
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.04) 50%, transparent 100%);
  mix-blend-mode: screen;
  animation: heroCinemaSweep 8s linear infinite;
}

.hero-cinema__badge {
  position: absolute;
  left: 1.15rem;
  bottom: 1.15rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.42rem 0.86rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 12, 18, 0.34);
  backdrop-filter: blur(12px);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f6fbff;
}

.page-hero--cinema .hero-cinema__badge {
  left: auto;
  right: clamp(1rem, 2.6vw, 2rem);
  top: clamp(5.4rem, 8vh, 7rem);
  bottom: auto;
  z-index: 2;
}

.hero-cinema--private .hero-cinema__veil {
  background:
    linear-gradient(180deg, rgba(74, 34, 21, 0.14), rgba(74, 34, 21, 0.2) 24%, rgba(29, 12, 8, 0.78)),
    radial-gradient(circle at 50% 24%, rgba(255, 199, 171, 0.1), transparent 30%);
}

.hero-cinema--private {
  --hero-media-fit: cover;
  --hero-media-position: 60% center;
  --hero-media-scale: 1.04;
  --hero-media-page-filter: saturate(1.02) contrast(1.04) brightness(0.94);
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 211, 186, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(56, 25, 17, 0.16), rgba(14, 8, 6, 0.94));
}

.hero-cinema--business .hero-cinema__veil {
  background:
    linear-gradient(180deg, rgba(13, 28, 22, 0.14), rgba(13, 28, 22, 0.22) 24%, rgba(3, 7, 5, 0.84)),
    radial-gradient(circle at 50% 24%, rgba(120, 255, 188, 0.1), transparent 30%);
}

.hero-cinema--business {
  --hero-media-fit: cover;
  --hero-media-position: 52% center;
  --hero-media-scale: 1.04;
  --hero-media-page-filter: saturate(1.02) contrast(1.04) brightness(0.92);
  background:
    radial-gradient(circle at 50% 18%, rgba(90, 255, 171, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(8, 18, 14, 0.14), rgba(0, 0, 0, 0.94));
}

.hero-cinema--community .hero-cinema__veil {
  background:
    linear-gradient(180deg, rgba(20, 64, 51, 0.14), rgba(20, 64, 51, 0.2) 24%, rgba(6, 22, 18, 0.8)),
    radial-gradient(circle at 50% 24%, rgba(176, 255, 224, 0.12), transparent 30%);
}

.hero-cinema--community {
  --hero-media-fit: cover;
  --hero-media-position: 52% center;
  --hero-media-scale: 1.04;
  --hero-media-page-filter: saturate(1.02) contrast(1.03) brightness(0.94);
  background:
    radial-gradient(circle at 50% 18%, rgba(160, 255, 214, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(10, 28, 22, 0.16), rgba(5, 18, 14, 0.94));
}

html[data-theme="light"] .hero-cinema__video,
html[data-theme="light"] .hero-cinema__still {
  filter: saturate(1.04) contrast(1.02) brightness(1.06);
}

html[data-theme="light"] .page-hero--cinema::before {
  background:
    linear-gradient(180deg, rgba(247, 251, 248, 0.42), rgba(247, 251, 248, 0.1) 20%, rgba(247, 251, 248, 0.08) 56%, rgba(247, 251, 248, 0.78)),
    linear-gradient(90deg, rgba(247, 251, 248, 0.8) 0%, rgba(247, 251, 248, 0.54) 22%, rgba(247, 251, 248, 0.12) 54%, rgba(247, 251, 248, 0.24) 100%);
}

html[data-theme="light"] .page-hero--cinema .page-hero__copy {
  border-color: rgba(21, 93, 62, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(247, 251, 248, 0.86));
  box-shadow: 0 30px 74px rgba(82, 118, 98, 0.16);
}

html[data-theme="light"] .page-hero--cinema .page-hero__copy .eyebrow {
  color: rgba(18, 49, 37, 0.62);
}

html[data-theme="light"] .page-hero--cinema .page-hero__copy p,
html[data-theme="light"] .page-hero--cinema .page-hero__copy .muted,
html[data-theme="light"] .page-hero--cinema .page-hero__copy .story-lead,
html[data-theme="light"] .page-hero--cinema .page-hero__copy .story-long {
  color: rgba(19, 45, 35, 0.86);
}

html[data-theme="light"] .hero-cinema__badge {
  color: #123126;
  border-color: rgba(21, 93, 62, 0.16);
  background: rgba(255, 255, 255, 0.74);
}

@keyframes heroCinemaSweep {
  0% {
    transform: translateY(-28%) scaleY(1.1);
    opacity: 0.22;
  }
  50% {
    transform: translateY(12%) scaleY(1);
    opacity: 0.4;
  }
  100% {
    transform: translateY(42%) scaleY(1.1);
    opacity: 0.22;
  }
}

@media (max-width: 1060px) {
  .world-card__doors {
    display: none;
  }
}

@media (max-width: 720px) {
  .page-hero--cinema {
    min-height: 90svh;
    align-items: flex-end;
  }

  .page-hero--cinema .page-hero__copy {
    width: calc(100vw - 1.2rem);
    margin-bottom: 0.6rem;
    padding: 1.05rem 1rem 1.1rem;
    border-radius: 28px;
  }

  .page-hero--cinema .hero-cinema__badge {
    top: 4.8rem;
    right: 0.7rem;
  }

  .hero-cinema {
    min-height: 280px;
  }
}


@media (prefers-reduced-motion: reduce) {
  .choice-atmosphere__glow,
  .world-card,
  .world-card__halo,
  .world-card__visual span,
  .hero-cinema__scan {
    animation: none !important;
    transition: none !important;
  }
}

/* ── MODERN ENHANCEMENTS ── */

/* World card stagger entrance */
@keyframes worldCardIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.97);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.world-card {
  animation: worldCardIn 0.9s cubic-bezier(0.2, 1, 0.4, 1) both;
}
.world-card--private   { animation-delay: 0.08s; }
.world-card--business  { animation-delay: 0.22s; }
.world-card--community { animation-delay: 0.36s; }

/* Subtle scan-line shimmer on world cards */
@keyframes scanPulse {
  0%, 100% { opacity: 0.18; }
  50%       { opacity: 0.32; }
}
.world-card__rails span {
  animation: scanPulse 3.8s ease-in-out infinite;
}
.world-card__rails span:last-child {
  animation-delay: 1.9s;
}

/* Enhanced brand card hover lift */
.world-card:hover .world-brand,
.world-card:focus-visible .world-brand {
  box-shadow: 0 24px 60px rgba(0,0,0,0.32), 0 0 40px rgba(255,255,255,0.06);
}

/* Smooth world image zoom on hover */
.world-card:hover .world-card__visual::before,
.world-card:focus-visible .world-card__visual::before {
  transform: scale(1.13);
  transition: transform 0.8s cubic-bezier(0.2, 1, 0.4, 1), filter 0.5s ease;
}

/* Choice prompt fade-in */
@keyframes promptIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-12px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.choice-prompt {
  animation: promptIn 0.7s cubic-bezier(0.2, 1, 0.4, 1) 0.5s both;
}

/* World stage appearance */
@keyframes stageIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.world-stage {
  animation: stageIn 0.4s ease 0.1s both;
}

/* Footer fade-in */
.choice-footer {
  animation: fadeUp 0.6s ease 0.9s both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Improved world-card content readability */
.world-card__text {
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
  line-height: 1.55;
}

/* Mobile: tighter gap in world stage */
@media (max-width: 720px) {
  .world-stage {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }
  .world-card {
    min-height: 50vw;
    padding: 3.5rem 1.4rem 1.4rem;
  }
  .world-brand {
    min-width: 12rem;
    min-height: 10rem;
  }
}
