:root {
  --bg: #090909;
  --surface: rgba(13, 14, 16, 0.58);
  --surface-strong: rgba(10, 11, 13, 0.78);
  --text: #f5f5f3;
  --muted: #a0a3a8;
  --stroke: rgba(255, 255, 255, 0.13);
  --stroke-strong: rgba(255, 255, 255, 0.24);
  --accent-a: #89aacc;
  --accent-b: #4e85bf;
  --accent-c: #8a78ff;
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13), 0 24px 80px rgba(0, 0, 0, 0.28);
  --content-width: 1200px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --font-body: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-display: "Instrument Serif", "Songti SC", serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100%;
  overflow-x: clip;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-body);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.is-loading {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

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

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent-a);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--bg);
  background: var(--text);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Loading prelude */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  color: var(--text);
  background: var(--bg);
  transition: opacity 480ms ease, visibility 480ms ease;
}

.loading-screen.is-complete {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.loading-brand {
  position: absolute;
  top: clamp(24px, 4vw, 52px);
  left: clamp(24px, 5vw, 72px);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
}

.loading-words {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: clamp(60px, 10vw, 120px);
  overflow: hidden;
  color: rgba(245, 245, 243, 0.82);
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7.5rem);
  font-style: italic;
  line-height: 1;
  text-align: center;
  transform: translate(-50%, -50%);
}

.loading-words span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  animation: loadingWords 2.25s var(--ease-out) infinite;
}

.loading-words span:nth-child(2) { animation-delay: 0.75s; }
.loading-words span:nth-child(3) { animation-delay: 1.5s; }

.loading-count {
  position: absolute;
  right: clamp(24px, 5vw, 72px);
  bottom: clamp(30px, 6vw, 70px);
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 11vw, 10rem);
  font-variant-numeric: tabular-nums;
  line-height: 0.8;
}

.loading-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
}

.loading-progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b), var(--accent-c));
  box-shadow: 0 0 16px rgba(137, 170, 204, 0.45);
  transform: scaleX(0);
  transform-origin: left;
}

/* Fixed full-viewport video. No full-screen tint or dark overlay. */
.video-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  height: 100svh;
  overflow: hidden;
  background: #11151b;
  pointer-events: none;
}

.video-stage video,
.video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.video-stage video {
  z-index: 2;
  opacity: 0;
  filter: none;
  transition: opacity 500ms ease;
}

.video-poster {
  z-index: 1;
  background-image: url("/assets/video/hero-poster-desktop.webp?v=20260717f");
  background-position: 50% 50%;
  background-size: cover;
  transition: opacity 500ms ease;
}

.video-ready .video-stage video { opacity: 1; }
.video-ready .video-poster { opacity: 0; }
.video-fallback .video-stage video { display: none; }

.video-loading,
.enable-video {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(8, 9, 11, 0.66);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  box-shadow: var(--glass-shadow);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.video-loading[hidden],
.enable-video[hidden] {
  display: none !important;
}

.enable-video {
  color: var(--text);
  pointer-events: auto;
  cursor: pointer;
}

.loading-dot,
.pulse-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #6be39d;
  box-shadow: 0 0 0 5px rgba(107, 227, 157, 0.13);
}

.loading-dot { animation: loadingPulse 1.2s ease-in-out infinite; }

.glass-surface {
  position: relative;
  border: 1px solid var(--stroke);
  background: linear-gradient(135deg, rgba(13, 14, 16, 0.74), rgba(13, 14, 16, 0.46));
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(24px) saturate(135%);
  -webkit-backdrop-filter: blur(24px) saturate(135%);
}

.glass-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 26%, transparent 72%, rgba(137, 170, 204, 0.04));
  pointer-events: none;
}

/* Floating navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  width: 100%;
  padding: max(16px, env(safe-area-inset-top)) 20px 0;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 102;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b), var(--accent-c));
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 8px;
  width: auto;
  max-width: calc(100vw - 40px);
  min-height: 62px;
  padding: 7px;
  border-radius: 999px;
  background: rgba(11, 12, 14, 0.55);
  transition: background 260ms ease, border-color 260ms ease, box-shadow 260ms ease, transform 300ms var(--ease-out);
}

.site-header.is-scrolled .nav-shell {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(8, 9, 11, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 44px rgba(0, 0, 0, 0.32);
  transform: translateY(-2px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 10px;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  padding: 2px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
  transition: transform 300ms var(--ease-out), background 400ms ease;
}

.brand:hover .brand-mark {
  background: linear-gradient(315deg, var(--accent-a), var(--accent-b));
  transform: rotate(-8deg) scale(1.06);
}

.brand-mark i {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  border-radius: 50%;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-display);
  font-size: 19px;
  font-style: italic;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-en {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.brand-cn {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 7px;
  border-right: 1px solid var(--stroke);
  border-left: 1px solid var(--stroke);
}

.desktop-nav a,
.nav-cta {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease, transform 240ms var(--ease-out);
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
  overflow: hidden;
  margin-left: 2px;
  color: var(--bg);
  background: var(--text);
  font-weight: 600;
  transform: translate(var(--magnet-x, 0), var(--magnet-y, 0));
}

.nav-cta::before,
.button--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
  opacity: 0;
  transition: opacity 220ms ease;
}

.nav-cta:hover::before,
.button--primary:hover::before { opacity: 1; }
.nav-cta { isolation: isolate; }
.nav-cta::before { z-index: -1; }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 240ms var(--ease-out);
}

.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: calc(82px + env(safe-area-inset-top));
  right: 14px;
  left: 14px;
  z-index: 99;
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 26px;
  opacity: 0;
  transform: translateY(-12px) scale(0.98);
  transform-origin: top center;
  transition: opacity 240ms ease, transform 280ms var(--ease-out);
}

.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { opacity: 1; transform: translateY(0) scale(1); }

.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 14px;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 500;
}

.mobile-menu a:hover,
.mobile-menu a:active { background: rgba(255, 255, 255, 0.08); }
.mobile-menu a span { color: var(--muted); font-size: 10px; letter-spacing: 0.14em; }

/* Scroll story */
.scroll-story {
  position: relative;
  z-index: 10;
}

.story-section {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 122svh;
  padding: max(118px, 14svh) 0 max(94px, 11svh);
}

.section-frame {
  width: min(calc(100% - 64px), var(--content-width));
  margin: 0 auto;
}

.section-frame--left { display: flex; justify-content: flex-start; }
.section-frame--right { display: flex; justify-content: flex-end; }
.section-frame--center { display: flex; justify-content: center; }
.section-content { width: min(100%, 1050px); }

.hero-panel {
  width: min(100%, 700px);
  padding: clamp(34px, 5vw, 62px);
  border-radius: 36px;
}

.section-kicker,
.hero-footnote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.live-clock {
  color: rgba(245, 245, 243, 0.76);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.hero-panel h1 {
  margin: 42px 0 12px;
  font-size: clamp(4.4rem, 9vw, 8.2rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.86;
  text-wrap: balance;
}

.hero-panel h1 em {
  display: inline-block;
  margin-left: 0.16em;
  color: rgba(245, 245, 243, 0.94);
  font-family: var(--font-display);
  font-size: 1.12em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.hero-subtitle {
  margin: 28px 0 0;
  color: rgba(245, 245, 243, 0.84);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 400;
}

.hero-subtitle em {
  display: inline-block;
  min-width: 2.2em;
  font-family: var(--font-display);
  font-size: 1.3em;
  font-style: italic;
  animation: roleFade 480ms var(--ease-out);
}

.hero-copy {
  max-width: 570px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 52px;
  overflow: hidden;
  padding: 14px 23px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  transform: translate(var(--magnet-x, 0), var(--magnet-y, 0));
  transition: transform 280ms var(--ease-out), border-color 220ms ease, background 220ms ease;
}

.button:hover { transform: translate(var(--magnet-x, 0), calc(var(--magnet-y, 0px) - 2px)); }

.button--primary {
  color: var(--bg);
  background: var(--text);
}

.button--primary::before { z-index: -1; }

.button--glass {
  border: 1px solid var(--stroke-strong);
  color: var(--text);
  background: rgba(9, 9, 9, 0.34);
}

.button--glass:hover {
  border-color: var(--accent-a);
  background: rgba(9, 9, 9, 0.62);
}

.hero-footnote {
  justify-content: flex-start;
  margin-top: 42px;
  letter-spacing: 0.12em;
}

.scroll-cue {
  position: absolute;
  bottom: 5.5svh;
  left: 50%;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.24em;
  transform: translateX(-50%);
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 1px;
  height: 42px;
  overflow: hidden;
  background: var(--stroke);
}

.scroll-cue b {
  position: absolute;
  inset: 0;
  display: block;
  background: var(--text);
  animation: scrollDown 1.6s ease-in-out infinite;
}

.scene-number {
  position: absolute;
  right: max(26px, calc((100vw - var(--content-width)) / 2));
  bottom: 5svh;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(245, 245, 243, 0.62);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.14em;
}

.scene-number i { display: block; width: 48px; height: 1px; background: var(--stroke-strong); }

.section-heading {
  max-width: 760px;
  margin-bottom: 18px;
  padding: 32px 34px;
  border-radius: 30px;
}

.section-frame--right .section-heading { margin-left: auto; }

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: var(--accent-a);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
}

.section-label::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
}

.section-heading h2,
.closing-panel h2 {
  margin: 0;
  max-width: 660px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1.02;
  text-wrap: balance;
}

.section-heading h2::first-letter,
.closing-panel h2::first-letter { font-family: var(--font-display); font-style: italic; }

.section-heading > p:last-child {
  max-width: 580px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.8;
}

/* Bento portal cards */
.site-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.site-grid .site-card:nth-child(1) { grid-column: span 5; }
.site-grid .site-card:nth-child(2) { grid-column: span 7; }
#industry .site-grid .site-card:nth-child(1) { grid-column: span 7; }
#industry .site-grid .site-card:nth-child(2) { grid-column: span 5; }
.site-grid--market .site-card:nth-child(1) { grid-column: span 7; }
.site-grid--market .site-card:nth-child(2) { grid-column: span 5; }
.site-grid--market .site-card:nth-child(3) { grid-column: span 12; min-height: 230px; }

.site-card {
  --pointer-x: 50%;
  --pointer-y: 50%;
  isolation: isolate;
  display: flex;
  min-height: 300px;
  flex-direction: column;
  overflow: hidden;
  padding: 30px;
  border-radius: 30px;
  transition: transform 420ms var(--ease-out), border-color 240ms ease, box-shadow 320ms ease;
}

.site-card::after {
  content: "";
  position: absolute;
  top: -45%;
  left: -20%;
  z-index: -1;
  width: 75%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(137, 170, 204, 0.24), transparent 67%);
  filter: blur(18px);
  opacity: 0.35;
  transition: opacity 360ms ease, transform 700ms var(--ease-out);
}

.site-card:nth-child(2n)::after {
  top: auto;
  right: -16%;
  bottom: -55%;
  left: auto;
  background: radial-gradient(circle, rgba(138, 120, 255, 0.2), transparent 68%);
}

.site-card:hover {
  z-index: 2;
  border-color: rgba(137, 170, 204, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 30px 90px rgba(0, 0, 0, 0.4);
  transform: translateY(-7px);
}

.site-card:hover::after { opacity: 0.8; transform: translate3d(8%, 5%, 0) scale(1.18); }

.card-shine {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(420px circle at var(--pointer-x) var(--pointer-y), rgba(255, 255, 255, 0.12), transparent 42%);
  transition: opacity 260ms ease;
}

.site-card:hover .card-shine { opacity: 1; }

.card-code {
  align-self: flex-start;
  padding: 7px 10px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(9, 9, 9, 0.28);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.card-code--cyan { color: #9edce4; }
.card-code--blue { color: #9dbfe8; }
.card-code--violet { color: #b5a9f3; }

.site-card h3 {
  margin: auto 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 450;
  letter-spacing: -0.045em;
}

.site-card > p {
  max-width: 580px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.75;
}

.card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--stroke);
  color: rgba(245, 245, 243, 0.82);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.card-arrow {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--stroke);
  border-radius: 50%;
  transition: color 240ms ease, background 240ms ease, transform 300ms var(--ease-out);
}

.site-card:hover .card-arrow {
  color: var(--bg);
  background: var(--text);
  transform: rotate(45deg);
}


.card-meta {
  display: block;
  margin: -12px 0 18px;
  color: rgba(199, 215, 233, 0.78);
  font-size: 10px;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

/* Closing statement */
.closing-section {
  align-items: center;
  min-height: 118svh;
  overflow: hidden;
  padding-top: 170px;
}

.marquee {
  position: absolute;
  top: 9svh;
  left: 50%;
  width: 115vw;
  overflow: hidden;
  color: rgba(245, 245, 243, 0.82);
  transform: translateX(-50%) rotate(-2deg);
  white-space: nowrap;
}

.marquee div {
  display: inline-block;
  min-width: max-content;
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 8vw, 8.6rem);
  font-style: italic;
  line-height: 1;
  animation: marquee 34s linear infinite;
}

.marquee i { padding: 0 0.24em; color: var(--accent-a); font-style: normal; }

.closing-panel {
  width: min(100%, 890px);
  padding: clamp(40px, 7vw, 78px);
  border-radius: 38px;
  text-align: center;
}

.closing-panel .section-label { justify-content: center; }
.closing-panel > p:not(.section-label) { margin: 20px 0 0; color: var(--muted); font-size: 13px; }
.closing-panel .button { margin-top: 34px; }

.portal-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 38px;
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}

.portal-stats span {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 6px;
  padding: 24px 12px;
}

.portal-stats span + span { border-left: 1px solid var(--stroke); }
.portal-stats strong { font-family: var(--font-display); font-size: clamp(2.3rem, 5vw, 4rem); font-style: italic; font-weight: 400; line-height: 1; }
.portal-stats small { color: var(--muted); font-size: 10px; letter-spacing: 0.12em; }

.site-footer {
  position: relative;
  z-index: 20;
  padding: 0 24px 24px;
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, var(--content-width));
  min-height: 70px;
  margin: 0 auto;
  padding: 18px 26px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
}

.footer-shell p { margin: 0; }
.footer-shell a { transition: color 180ms ease; }
.footer-shell a:hover { color: var(--text); }

.reveal {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(42px);
  transition: opacity 900ms var(--ease-out), filter 900ms var(--ease-out), transform 1000ms var(--ease-out);
}

.reveal--from-right { transform: translate3d(58px, 22px, 0); }
.reveal--from-left { transform: translate3d(-58px, 22px, 0); }
.reveal--card { transition-delay: var(--delay, 0ms); }
.reveal--scale { transform: translateY(36px) scale(0.96); }
.reveal.is-visible { opacity: 1; filter: blur(0); transform: none; }

.noscript-notice {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 1000;
  padding: 16px;
  border: 1px solid var(--stroke);
  border-radius: 18px;
  color: var(--text);
  background: var(--surface-strong);
}

@keyframes loadingPulse {
  0%, 100% { opacity: 0.42; transform: scale(0.88); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes loadingWords {
  0% { opacity: 0; transform: translateY(70%); }
  12%, 28% { opacity: 1; transform: translateY(0); }
  40%, 100% { opacity: 0; transform: translateY(-70%); }
}

@keyframes roleFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollDown {
  from { transform: translateY(-110%); }
  to { transform: translateY(120%); }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@media (min-width: 1800px) {
  :root { --content-width: 1380px; }
  .section-content { width: min(100%, 1160px); }
  .site-card { min-height: 330px; }
}

@media (max-width: 1024px) {
  .section-frame { width: min(calc(100% - 40px), var(--content-width)); }
  .hero-panel { width: min(100%, 640px); }
  .desktop-nav a { padding-right: 10px; padding-left: 10px; }
  .brand-copy { display: none; }
  .site-card { min-height: 270px; }
}

@media (max-width: 767px) {
  html { scroll-padding-top: 82px; }
  .loading-brand { top: 26px; left: 22px; }
  .loading-count { right: 22px; bottom: 34px; }

  .video-poster {
    background-image: url("/assets/video/hero-poster-mobile.webp?v=20260717f");
    background-position: 50% 42%;
  }

  .video-stage video { object-position: 50% 42%; }

  .site-header { padding: max(10px, env(safe-area-inset-top)) 12px 0; }
  .nav-shell { justify-content: space-between; width: min(100%, 430px); max-width: 100%; min-height: 58px; padding: 6px; }
  .brand { padding-right: 4px; }
  .brand-copy { display: flex; }
  .brand-mark { width: 44px; height: 44px; }
  .desktop-nav, .nav-cta { display: none; }
  .menu-toggle { display: flex; }

  .story-section {
    align-items: flex-start;
    min-height: 124svh;
    padding: calc(105px + env(safe-area-inset-top)) 0 92px;
  }

  .hero-section { align-items: center; padding-top: calc(92px + env(safe-area-inset-top)); }
  .section-frame { width: calc(100% - 28px); }
  .section-frame--left, .section-frame--right { justify-content: center; }

  .hero-panel { padding: 30px 22px; border-radius: 28px; }
  .hero-panel h1 { margin-top: 32px; font-size: clamp(3.7rem, 19vw, 5.7rem); }
  .hero-subtitle { max-width: 320px; margin-top: 24px; font-size: 0.98rem; line-height: 1.65; }
  .hero-copy { max-width: 310px; font-size: 13px; line-height: 1.75; }
  .desktop-break { display: none; }
  .hero-actions { display: grid; grid-template-columns: 1fr; margin-top: 26px; }
  .button { width: 100%; min-height: 50px; }
  .hero-footnote { margin-top: 30px; font-size: 8px; letter-spacing: 0.08em; }
  .scroll-cue { display: none; }

  .scene-number { right: 18px; bottom: 32px; }
  .scene-number i { width: 28px; }
  .section-heading { width: 100%; margin-bottom: 12px; padding: 25px 22px; border-radius: 26px; }
  .section-heading h2, .closing-panel h2 { font-size: clamp(2.25rem, 11vw, 3.5rem); }
  .section-heading > p:last-child { font-size: 13px; line-height: 1.7; }

  .site-grid,
  .site-grid--market { grid-template-columns: 1fr; gap: 12px; }
  .site-grid .site-card:nth-child(n),
  #industry .site-grid .site-card:nth-child(n),
  .site-grid--market .site-card:nth-child(n) { grid-column: auto; min-height: 220px; }
  .site-card { padding: 23px; border-radius: 25px; }
  .site-card h3 { font-size: 1.6rem; }
  .site-card > p { font-size: 13px; line-height: 1.65; }

  .closing-section { align-items: center; min-height: 116svh; padding-top: 160px; }
  .marquee { top: 8svh; }
  .marquee div { font-size: clamp(3.4rem, 17vw, 6rem); }
  .closing-panel { padding: 42px 22px; border-radius: 28px; }
  .portal-stats span { padding: 20px 5px; }
  .portal-stats small { font-size: 8px; letter-spacing: 0.05em; }

  .site-footer { padding: 0 14px 14px; }
  .footer-shell { align-items: flex-start; flex-direction: column; gap: 8px; padding: 20px; border-radius: 24px; }
  .reveal--from-right, .reveal--from-left { transform: translateY(36px); }
}

@media (max-width: 420px) {
  .brand-copy { display: none; }
  .section-kicker { align-items: flex-start; flex-direction: column; gap: 8px; }
  .hero-panel h1 { font-size: clamp(3.35rem, 18vw, 4.8rem); }
  .site-card { min-height: 205px; }
  .portal-stats strong { font-size: 2.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .loading-screen { display: none; }
  body.is-loading { overflow: auto; }
  .reveal { opacity: 1; filter: none; transform: none; }
  .video-stage video { display: none; }
}
