@font-face {
  font-family: "Poppins";
  src: url("../../../assets/fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Poppins";
  src: url("../../../assets/fonts/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600;
}

@font-face {
  font-family: "Noto Sans SC";
  src: url("../../../assets/fonts/NotoSansSC-Regular.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Noto Sans SC";
  src: url("../../../assets/fonts/NotoSansSC-SemiBold.ttf") format("truetype");
  font-weight: 600;
}

:root {
  --ink: #0c2853;
  --ink-soft: #496783;
  --blue: #2979ff;
  --blue-soft: #a9d8ff;
  --cyan: #63dcf1;
  --violet: #8165e8;
  --violet-deep: #5f3ad1;
  --glass: rgba(247, 252, 255, 0.46);
  --line: rgba(80, 145, 225, 0.24);
  --shadow: 0 24px 70px rgba(65, 100, 170, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  color: var(--ink);
  font-family: "Noto Sans SC", sans-serif;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 255, 255, 0.98) 0 8%, transparent 31%),
    radial-gradient(circle at 11% 30%, rgba(145, 213, 255, 0.48), transparent 29%),
    radial-gradient(circle at 89% 22%, rgba(187, 158, 255, 0.37), transparent 30%),
    radial-gradient(circle at 53% 95%, rgba(104, 222, 244, 0.24), transparent 33%),
    linear-gradient(145deg, #edf8ff 0%, #e8f5ff 37%, #f0edff 72%, #e7f8ff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(81, 132, 202, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(81, 132, 202, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, #000 0, transparent 72%);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.bubble-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.ambient-layer,
.neural-map {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.ambient-layer {
  z-index: 0;
  overflow: hidden;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(22px);
  opacity: 0.5;
  animation: ambient-drift 14s ease-in-out infinite alternate;
}

.glow-one {
  width: 25vw;
  height: 25vw;
  left: -8vw;
  top: 45vh;
  background: rgba(83, 187, 255, 0.3);
}

.glow-two {
  width: 28vw;
  height: 28vw;
  right: -10vw;
  top: 8vh;
  background: rgba(153, 112, 244, 0.25);
  animation-delay: -5s;
}

.glow-three {
  width: 18vw;
  height: 18vw;
  left: 41vw;
  bottom: -9vw;
  background: rgba(84, 225, 239, 0.24);
  animation-delay: -9s;
}

.neural-map {
  z-index: 1;
  opacity: 0.72;
}

.neural-paths path {
  fill: none;
  stroke: url("#neuralStroke");
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 7 14;
  animation: neural-flow 8s linear infinite;
}

.neural-paths path:nth-child(2) { animation-delay: -2s; }
.neural-paths path:nth-child(3) { animation-delay: -4s; }
.neural-paths path:nth-child(4) { animation-delay: -6s; }

.neural-nodes circle {
  fill: rgba(255, 255, 255, 0.94);
  stroke: rgba(79, 145, 236, 0.85);
  stroke-width: 2;
  animation: node-pulse 3s ease-in-out infinite;
}

.neural-nodes circle:nth-child(3n) { animation-delay: -1s; }
.neural-nodes circle:nth-child(3n + 2) { animation-delay: -2s; }

.landing-shell {
  position: relative;
  z-index: 2;
  width: min(1500px, calc(100% - 36px));
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  padding: 12px 0 16px;
  overflow: hidden;
}

.hero {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  min-height: 340px;
  padding-top: 12px;
  text-align: center;
}

.logo-aura {
  position: absolute;
  top: -8px;
  width: min(590px, 62vw);
  height: 300px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.94) 0 12%, rgba(255, 187, 220, 0.24) 34%, rgba(125, 205, 255, 0.22) 52%, rgba(151, 118, 241, 0.1) 66%, transparent 76%);
  filter: blur(12px);
  animation: aura-breathe 6s ease-in-out infinite;
}

.logo-frame {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: clamp(230px, 18vw, 280px);
  aspect-ratio: 1;
  padding: 10px;
  border: 2px solid rgba(244, 145, 197, 0.72);
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 28%, rgba(255, 255, 255, 0.72), transparent 30%),
    linear-gradient(145deg, rgba(255, 244, 250, 0.52), rgba(221, 242, 255, 0.38));
  box-shadow:
    0 0 0 8px rgba(255, 218, 238, 0.13),
    0 0 42px rgba(239, 139, 195, 0.24),
    0 24px 60px rgba(57, 104, 175, 0.17),
    inset 0 0 32px rgba(255, 255, 255, 0.68);
  animation: logo-reveal 1.1s cubic-bezier(.2,.75,.25,1) both;
}

.logo-frame::before,
.logo-frame::after,
.logo-ring {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.logo-frame::before {
  inset: -17px;
  border: 1px solid rgba(255, 180, 220, 0.26);
}

.logo-frame::after {
  inset: 4px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: inset 0 0 22px rgba(255, 211, 235, 0.2);
}

.logo-ring {
  inset: -6px;
  border: 1px dashed rgba(105, 175, 239, 0.28);
  animation: portal-spin 22s linear infinite;
}

.hero-logo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  clip-path: circle(50% at 50% 50%);
  filter: saturate(1.04) contrast(1.03) drop-shadow(0 13px 27px rgba(31, 78, 145, 0.2));
  -webkit-mask-image: radial-gradient(circle, #000 0 82%, rgba(0, 0, 0, 0.94) 89%, transparent 100%);
  mask-image: radial-gradient(circle, #000 0 82%, rgba(0, 0, 0, 0.94) 89%, transparent 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  animation: copy-reveal 1s 180ms ease both;
}

.story-index {
  font-family: "Poppins", sans-serif;
  letter-spacing: 0.22em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.85rem, 2.4vw, 2.55rem);
  line-height: 1.05;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  text-shadow: 0 8px 24px rgba(58, 103, 172, 0.14);
}

.portal-nav {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.portal {
  position: absolute;
  width: clamp(128px, 11vw, 168px);
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
  isolation: isolate;
  animation: portal-arrive 900ms cubic-bezier(.2,.75,.25,1) both;
}

.portal-top-left { top: 8%; left: 1.4%; animation-delay: 120ms; }
.portal-top-right { top: 8%; right: 1.4%; animation-delay: 220ms; }
.portal-bottom-left { top: 72%; left: 1.4%; animation-delay: 320ms; }
.portal-bottom-right { top: 72%; right: 1.4%; animation-delay: 420ms; }

.portal-core {
  position: absolute;
  inset: 8px;
  z-index: 2;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 5px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.96), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(169, 220, 255, 0.32));
  box-shadow:
    inset 0 0 28px rgba(255, 255, 255, 0.82),
    0 14px 42px rgba(49, 117, 202, 0.18),
    0 0 0 7px rgba(179, 219, 255, 0.1);
  backdrop-filter: blur(14px) saturate(1.22);
  transition: background 360ms ease, box-shadow 360ms ease, transform 360ms ease, border-color 360ms ease;
}

.portal-core::before {
  content: "";
  position: absolute;
  inset: -35%;
  z-index: -1;
  background: conic-gradient(from 20deg, transparent, rgba(255, 255, 255, 0.68), transparent 32%, rgba(137, 101, 232, 0.38), transparent 70%);
  animation: portal-spin 9s linear infinite;
}

.portal-core img {
  width: clamp(28px, 2.5vw, 38px);
  height: clamp(28px, 2.5vw, 38px);
  filter: saturate(1.1) drop-shadow(0 5px 9px rgba(32, 91, 170, 0.16));
}

.portal-core strong {
  font-size: clamp(0.92rem, 1.1vw, 1.08rem);
  letter-spacing: 0.06em;
}

.portal-core small {
  color: var(--ink-soft);
  font-size: clamp(0.62rem, 0.72vw, 0.72rem);
}

.orbit-bubble {
  position: absolute;
  z-index: 3;
  display: block;
  border: 1px solid rgba(146, 105, 230, 0.28);
  border-radius: 50%;
  background: radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.9), rgba(165, 126, 241, 0.23) 48%, rgba(111, 77, 205, 0.08));
  box-shadow: 0 7px 20px rgba(103, 75, 191, 0.12);
  backdrop-filter: blur(5px);
  transition: inset 340ms cubic-bezier(.2,.85,.3,1), width 340ms ease, height 340ms ease, background 340ms ease, opacity 340ms ease, transform 340ms ease;
}

.bubble-a { width: 38px; height: 38px; top: -8px; left: 12px; }
.bubble-b { width: 24px; height: 24px; top: 23px; right: -10px; }
.bubble-c { width: 31px; height: 31px; bottom: -7px; right: 19px; }

.portal:hover .portal-core,
.portal:focus-visible .portal-core {
  transform: scale(1.06);
  border-color: rgba(109, 67, 219, 0.5);
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.8), transparent 26%),
    linear-gradient(145deg, rgba(176, 147, 244, 0.76), rgba(99, 66, 205, 0.78));
  box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.36), 0 18px 48px rgba(91, 55, 185, 0.3), 0 0 0 8px rgba(150, 112, 235, 0.15);
  color: #112d60;
}

.portal:hover .portal-core small,
.portal:focus-visible .portal-core small {
  color: rgba(16, 42, 86, 0.78);
}

.portal:hover .bubble-a,
.portal:focus-visible .bubble-a { width: 24px; height: 24px; top: 11%; left: 17%; transform: scale(0.78); }
.portal:hover .bubble-b,
.portal:focus-visible .bubble-b { width: 22px; height: 22px; top: 18%; right: 14%; transform: scale(0.76); }
.portal:hover .bubble-c,
.portal:focus-visible .bubble-c { width: 25px; height: 25px; bottom: 13%; right: 18%; transform: scale(0.8); }

.portal:hover .orbit-bubble,
.portal:focus-visible .orbit-bubble {
  opacity: 0.92;
  background: radial-gradient(circle at 30% 26%, #e2d7ff, #7451da 54%, #4f2eaf);
}

.portal:focus-visible {
  outline: 3px solid rgba(72, 121, 255, 0.42);
  outline-offset: 6px;
}

.story-carousel {
  --slide-width: min(570px, 48vw);
  --slide-half: min(285px, 24vw);
  position: relative;
  z-index: 3;
  width: min(1120px, 76vw);
  margin: 44px auto 0;
  padding: 0;
  perspective: 1400px;
  animation: carousel-reveal 1s 320ms ease both;
}

.carousel-viewport {
  position: relative;
  height: clamp(315px, 40vh, 375px);
  overflow: visible;
}

.carousel-track {
  position: relative;
  height: 100%;
  perspective: 1400px;
  transform-style: preserve-3d;
  touch-action: pan-y;
}

.story-slide {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--slide-width);
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) scale(0.58);
  transform-style: preserve-3d;
  backface-visibility: visible;
  will-change: left, transform, opacity, filter;
  transition: opacity 340ms ease, filter 340ms ease;
}

.carousel-track.is-ready .story-slide {
  transition:
    left 720ms cubic-bezier(.22,.8,.24,1),
    transform 720ms cubic-bezier(.22,.8,.24,1),
    opacity 430ms ease,
    filter 430ms ease;
}

.story-slide.is-active {
  opacity: 1;
  z-index: 4;
  pointer-events: auto;
  transform: translateX(-50%) scale(1);
  filter: none;
}

.story-slide.is-left,
.story-slide.is-right {
  z-index: 2;
  opacity: 0.76;
  pointer-events: auto;
  cursor: pointer;
  filter: saturate(0.76) brightness(1.04);
}

.story-slide.is-left {
  left: 12%;
  transform: translateX(-50%) perspective(1000px) rotateY(39deg) scale(0.68);
  transform-origin: center;
}

.story-slide.is-right {
  left: 88%;
  transform: translateX(-50%) perspective(1000px) rotateY(-39deg) scale(0.68);
  transform-origin: center;
}

.story-visual {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: auto;
  aspect-ratio: 2.25 / 1;
  min-height: 0;
  border: 1px solid rgba(96, 153, 219, 0.2);
  border-radius: 28px;
  background: rgba(246, 251, 255, 0.52);
  box-shadow: 0 18px 42px rgba(60, 106, 169, 0.14);
}

.story-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.story-slide.is-active .story-visual {
  cursor: zoom-in;
}

.carousel-side-button {
  position: absolute;
  top: -50px;
  z-index: 7;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0 0 4px;
  border: 1px solid rgba(92, 148, 217, 0.26);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  font-family: "Poppins", sans-serif;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(48, 95, 163, 0.15);
  backdrop-filter: blur(12px);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.carousel-side-left {
  left: calc(50% - var(--slide-half) + 25px);
  transform: translateX(-50%);
}

.carousel-side-right {
  right: calc(50% - var(--slide-half) + 25px);
  transform: translateX(50%);
}

.carousel-side-button:hover,
.carousel-side-button:focus-visible {
  border-color: rgba(118, 86, 218, 0.38);
  background: rgba(246, 240, 255, 0.92);
  box-shadow: 0 15px 34px rgba(91, 65, 180, 0.2);
}

.carousel-side-left:hover,
.carousel-side-left:focus-visible {
  transform: translateX(-50%) scale(1.08);
}

.carousel-side-right:hover,
.carousel-side-right:focus-visible {
  transform: translateX(50%) scale(1.08);
}

.placeholder-visual {
  display: grid;
  place-items: center;
  color: rgba(30, 70, 128, 0.42);
  font-family: "Poppins", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.92), transparent 24%),
    linear-gradient(135deg, rgba(123, 203, 255, 0.4), rgba(234, 246, 255, 0.74) 47%, rgba(178, 150, 244, 0.32));
}

.placeholder-visual::before,
.placeholder-visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 50%;
}

.placeholder-visual::before { width: 170px; height: 170px; left: -55px; bottom: -80px; }
.placeholder-visual::after { width: 110px; height: 110px; right: -22px; top: -35px; }

.story-copy {
  width: 100%;
  margin-top: 15px;
  text-align: center;
  color: #111f31;
  font-family: "Poppins", "Noto Sans SC", sans-serif;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 320ms ease 220ms, transform 420ms ease 180ms;
}

.story-slide.is-active .story-copy {
  opacity: 1;
  transform: translateY(0);
}

.story-slide:not(.is-active) .story-copy {
  visibility: hidden;
}

.story-index {
  display: block;
  margin-bottom: 8px;
  color: #4778b8;
  font-size: 0.65rem;
  font-weight: 600;
}

.story-copy h2 {
  margin: 0;
  color: #0b1727;
  font-size: clamp(1.04rem, 1.45vw, 1.42rem);
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.story-copy p {
  margin: 11px auto 0;
  max-width: 590px;
  color: rgba(13, 29, 49, 0.72);
  font-family: "Noto Sans SC", sans-serif;
  font-size: 0.8rem;
  line-height: 1.65;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  width: var(--slide-width);
  margin: 0 auto;
  padding: 5px 24px 0;
}

.carousel-progress {
  display: flex;
  justify-content: center;
  gap: 9px;
}

.carousel-dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(51, 103, 168, 0.22);
  transition: width 250ms ease, background 250ms ease;
}

.carousel-dot.is-active {
  width: 28px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
}

.page-toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 20;
  max-width: calc(100% - 32px);
  padding: 12px 20px;
  border: 1px solid rgba(111, 81, 211, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  box-shadow: 0 18px 48px rgba(63, 70, 150, 0.18);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.page-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 42px;
  background: rgba(235, 245, 255, 0.76);
  backdrop-filter: blur(20px) saturate(1.08);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.image-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox figure {
  width: min(1460px, 92vw);
  margin: 0;
  transform: translateY(18px) scale(0.96);
  transition: transform 380ms cubic-bezier(.2,.78,.24,1);
}

.image-lightbox.is-open figure {
  transform: translateY(0) scale(1);
}

.image-lightbox figure img {
  display: block;
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border: 1px solid rgba(110, 161, 222, 0.28);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 30px 90px rgba(41, 79, 145, 0.22);
}

.image-lightbox figcaption {
  margin-top: 15px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(83, 141, 210, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(56, 106, 174, 0.14);
  transition: transform 180ms ease, background 180ms ease;
}

.lightbox-close:hover {
  transform: rotate(7deg) scale(1.06);
  background: #ffffff;
}

@keyframes neural-flow { to { stroke-dashoffset: -84; } }
@keyframes node-pulse { 0%, 100% { opacity: 0.42; transform: scale(0.86); } 50% { opacity: 1; transform: scale(1.18); } }
@keyframes ambient-drift { to { transform: translate3d(5vw, -4vh, 0) scale(1.12); } }
@keyframes aura-breathe { 0%, 100% { transform: scale(0.94); opacity: 0.6; } 50% { transform: scale(1.08); opacity: 0.92; } }
@keyframes portal-spin { to { transform: rotate(360deg); } }
@keyframes logo-reveal { from { transform: translateY(-24px) scale(0.9); } to { transform: none; } }
@keyframes copy-reveal { from { transform: translateY(14px); } to { transform: none; } }
@keyframes portal-arrive { from { transform: scale(0.72); } to { transform: scale(1); } }
@keyframes carousel-reveal { from { transform: translateY(30px); } to { transform: none; } }

@media (max-width: 1120px) {
  .story-carousel { --slide-width: min(520px, 49vw); --slide-half: min(260px, 24.5vw); }
  .portal { width: 130px; }
  .portal-top-left, .portal-bottom-left { left: 0; }
  .portal-top-right, .portal-bottom-right { right: 0; }
  .story-carousel { width: min(880px, 72vw); }
}

@media (max-width: 860px) {
  body { overflow: hidden; }
  .neural-map { display: none; }
  .landing-shell { width: min(100% - 18px, 760px); padding-top: 8px; }
  .hero { min-height: 300px; padding-top: 8px; }
  .portal-nav {
    position: absolute;
    inset: 0;
    display: block;
    width: auto;
    margin: 0;
  }
  .portal {
    position: absolute;
    width: min(112px, 25vw);
  }
  .portal-top-left { top: 3%; left: 0; }
  .portal-top-right { top: 3%; right: 0; }
  .portal-bottom-left { top: 76%; left: 0; }
  .portal-bottom-right { top: 76%; right: 0; }
  .story-carousel { --slide-width: min(500px, 68vw); --slide-half: min(250px, 34vw); width: 94vw; margin-top: 36px; }
  .carousel-viewport { height: clamp(285px, 42vh, 340px); }
  .story-slide.is-left { left: 5%; transform: translateX(-50%) perspective(800px) rotateY(42deg) scale(0.64); }
  .story-slide.is-right { left: 95%; transform: translateX(-50%) perspective(800px) rotateY(-42deg) scale(0.64); }
  .carousel-side-button { top: -46px; width: 40px; height: 40px; }
}

@media (max-width: 520px) {
  .logo-frame { width: min(190px, 52vw); }
  .hero { min-height: 245px; padding-top: 4px; }
  .hero h1 { font-size: 1.75rem; }
  .portal { width: min(88px, 23vw); }
  .portal-core { inset: 6px; }
  .portal-core img { width: 24px; height: 24px; }
  .portal-core strong { font-size: 0.76rem; }
  .portal-core small { display: none; }
  .portal-bottom-left, .portal-bottom-right { top: 81%; }
  .carousel-viewport { height: 310px; }
  .story-carousel { --slide-width: 72vw; --slide-half: 36vw; }
  .story-slide { width: var(--slide-width); }
  .story-visual { height: auto; aspect-ratio: 2.25 / 1; border-radius: 18px; }
  .story-copy { margin-top: 10px; }
  .story-copy h2 { font-size: 0.96rem; }
  .story-copy p { margin-top: 7px; font-size: 0.68rem; line-height: 1.5; }
  .carousel-controls { width: var(--slide-width); padding-top: 0; }
  .carousel-side-button { top: -40px; width: 34px; height: 34px; font-size: 1.55rem; }
  .image-lightbox { padding: 16px; }
  .lightbox-close { top: 14px; right: 14px; width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
