@font-face {
  font-family: "K2D";
  src: url("assets/fonts/K2D-ExtraBold-Thai.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}

@font-face {
  font-family: "K2D";
  src: url("assets/fonts/K2D-ExtraBold-Latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Anuphan";
  src: url("assets/fonts/Anuphan-Thai.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}

@font-face {
  font-family: "Anuphan";
  src: url("assets/fonts/Anuphan-Latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@property --sun-progress {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

@property --signal-angle {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0deg;
}

@property --signal-strength {
  syntax: "<number>";
  inherits: true;
  initial-value: 0.72;
}

:root {
  color-scheme: dark;
  --night-950: #090713;
  --night-850: #171126;
  --sunset-500: #FF6B35;
  --coral-400: #FF7A6E;
  --neon-pink-500: #FF3D8D;
  --violet-500: #7546FF;
  --sand-50: #FFF3E8;
  --mist-300: #BDB5C9;
  --page-gutter: clamp(1.25rem, 4.6vw, 5rem);
  --page-max: 92rem;
  --leading-thai-display: 1.28;
  --leading-thai-heading: 1.32;
  --leading-thai-card: 1.40;
  --leading-thai-card-stacked: 1.70;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-brutal: 7px 7px 0 #090713;
  --z-scene: 0;
  --z-content: 10;
  --z-header: 20;
}

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

html {
  min-width: 20rem;
  overflow-x: clip;
  background: var(--night-950);
  scroll-behavior: smooth;
}

body {
  min-width: 20rem;
  min-height: 100svh;
  margin: 0;
  overflow-x: clip;
  color: var(--sand-50);
  background:
    radial-gradient(circle at 88% 4%, rgb(117 70 255 / 16%), transparent 30rem),
    var(--night-950);
  font-family: "Anuphan", Tahoma, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  color: var(--night-950);
  background: var(--coral-400);
}

img,
svg,
canvas {
  display: block;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 50;
  padding: 0.7rem 1rem;
  color: var(--night-950);
  background: var(--sand-50);
  font-weight: 600;
  transform: translateY(-180%);
  transition: transform 180ms var(--ease-out-quint);
}

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

:focus-visible {
  outline: 3px solid var(--sunset-500);
  outline-offset: 5px;
}

.fallback-scene,
#sunset-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.fallback-scene {
  z-index: var(--z-scene);
  overflow: hidden;
  background:
    linear-gradient(115deg, rgb(9 7 19 / 98%) 0 28%, rgb(9 7 19 / 70%) 54%, transparent 78%),
    radial-gradient(circle at 77% 30%, rgb(255 61 141 / 34%), transparent 29%),
    linear-gradient(155deg, var(--night-950) 8%, var(--night-850) 48%, #2b1648 74%, #692e68 100%);
}

.fallback-scene__aurora {
  position: absolute;
  inset: 12% -16% auto 38%;
  height: 56%;
  opacity: calc(0.62 + var(--sun-progress) * 0.15);
  background:
    radial-gradient(ellipse at 60% 38%, rgb(255 122 110 / 36%), transparent 32%),
    radial-gradient(ellipse at 44% 50%, rgb(117 70 255 / 26%), transparent 42%);
  filter: blur(42px);
  transform: translate3d(calc(var(--sun-progress) * -4vw), calc(var(--sun-progress) * 5vh), 0);
}

.fallback-scene__sun {
  position: absolute;
  top: clamp(8rem, 18vh, 13rem);
  right: clamp(-9rem, 2vw, 3rem);
  width: clamp(22rem, 43vw, 42rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 34%, rgb(255 243 232 / 38%), transparent 17%),
    linear-gradient(150deg, var(--sunset-500), var(--coral-400) 48%, var(--neon-pink-500));
  box-shadow: 0 0 8rem rgb(255 61 141 / 28%);
  opacity: calc(0.88 - var(--sun-progress) * 0.2);
  transform: translate3d(calc(var(--sun-progress) * -5vw), calc(var(--sun-progress) * 18vh), 0) scale(calc(1 - var(--sun-progress) * 0.12));
}

.fallback-scene__sun::after {
  position: absolute;
  inset: 12%;
  border: 1px solid rgb(255 243 232 / 24%);
  border-radius: inherit;
  content: "";
}

.fallback-scene__wire {
  position: absolute;
  top: 14%;
  left: 0;
  width: 100%;
  height: 31%;
  opacity: 0.2;
  transform: translateY(calc(var(--sun-progress) * -3vh));
}

.fallback-scene__wire path {
  fill: none;
  stroke: var(--sand-50);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

.fallback-scene__city {
  position: absolute;
  right: -4%;
  bottom: -1px;
  width: min(78rem, 78vw);
  height: clamp(10rem, 28vh, 18rem);
  transform: translateY(calc(var(--sun-progress) * 3vh));
}

.fallback-scene__city-image {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: right bottom;
}

#sunset-canvas {
  z-index: 1;
  opacity: 0;
  transition: opacity 1.2s var(--ease-out-expo);
}

.webgl-ready #sunset-canvas {
  opacity: 0.84;
}

.webgl-failed #sunset-canvas {
  display: none;
}

.site-frame {
  position: relative;
  z-index: var(--z-content);
}

.site-header {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: var(--z-header);
  width: min(calc(100% - 2 * var(--page-gutter)), var(--page-max));
  min-height: 6.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.15rem;
  transform: translateX(-50%);
}

.site-header__controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem;
  border: 1px solid rgb(255 243 232 / 30%);
  border-radius: 2px;
  background: rgb(9 7 19 / 72%);
}

.language-switch button {
  min-width: 2.35rem;
  min-height: 1.9rem;
  padding: 0.3rem 0.45rem;
  border: 0;
  border-radius: 2px;
  color: var(--mist-300);
  background: transparent;
  font-family: "K2D", Tahoma, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
  transition: color 180ms ease, background-color 180ms ease;
}

.language-switch button:hover {
  color: var(--sand-50);
}

.language-switch button[aria-pressed="true"] {
  color: var(--night-950);
  background: var(--sunset-500);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.brand-lockup__mark {
  width: 3.5rem;
  height: 3.5rem;
  transition: transform 420ms var(--ease-out-expo), filter 420ms ease;
}

.brand-lockup__wordmark {
  display: flex;
  gap: 0.38em;
  font-family: "K2D", Tahoma, sans-serif;
  font-size: clamp(1.2rem, 1.7vw, 1.65rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}

.brand-lockup__wordmark span:last-child {
  color: var(--sunset-500);
}

.brand-lockup:hover .brand-lockup__mark {
  filter: drop-shadow(0 0 0.7rem rgb(255 61 141 / 42%));
  transform: rotate(-3deg) scale(1.05);
}

.development-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.25rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid rgb(255 243 232 / 22%);
  color: var(--mist-300);
  background: rgb(9 7 19 / 52%);
  font-family: "K2D", Tahoma, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.development-chip__signal {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--sunset-500);
  box-shadow: 0 0 0 0 rgb(255 107 53 / 45%);
  animation: signal-pulse 2.8s ease-out infinite;
}

.hero {
  width: min(calc(100% - 2 * var(--page-gutter)), var(--page-max));
  min-height: 100svh;
  min-height: 100dvh;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(19rem, 0.68fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 8rem);
  padding-block: clamp(8rem, 14vh, 11rem) clamp(4rem, 8vh, 7rem);
}

.hero__copy {
  max-width: 56rem;
}

.hero__kicker,
.story__signal,
.manifesto__label,
.story-beat__label {
  margin: 0;
  font-family: "K2D", Tahoma, sans-serif;
  font-weight: 800;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 0.75rem;
  color: var(--night-950);
  background: var(--sunset-500);
  box-shadow: 5px 5px 0 var(--neon-pink-500);
  font-size: clamp(0.72rem, 1vw, 0.86rem);
  letter-spacing: 0.14em;
}

.hero h1 {
  max-width: 14ch;
  margin: clamp(1.4rem, 3vh, 2.4rem) 0 0;
  font-family: "K2D", Tahoma, sans-serif;
  font-size: clamp(3.2rem, 7.5vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: var(--leading-thai-display);
  text-wrap: balance;
}

.hero h1 span {
  display: block;
}

.hero__emphasis {
  color: var(--coral-400);
}

.hero__lead {
  max-width: 60ch;
  margin: clamp(1.5rem, 4vh, 2.6rem) 0 0;
  color: var(--mist-300);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  font-weight: 400;
  line-height: 1.75;
  text-wrap: pretty;
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: clamp(2rem, 5vh, 4rem);
  color: var(--mist-300);
  font-size: 0.78rem;
  font-weight: 600;
}

.scroll-cue__line {
  position: relative;
  width: 3.5rem;
  height: 2px;
  overflow: hidden;
  background: rgb(255 243 232 / 18%);
}

.scroll-cue__line::after {
  position: absolute;
  inset: 0;
  background: var(--coral-400);
  content: "";
  transform: translateX(-100%);
  animation: cue-travel 2.2s var(--ease-out-quint) infinite;
}

.signal-lens {
  position: relative;
  width: min(100%, 25rem);
  justify-self: end;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgb(255 243 232 / 20%);
  border-radius: 12px 0 12px 0;
  background: rgb(23 17 38 / 78%);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  clip-path: polygon(0 0, calc(100% - 2.4rem) 0, 100% 2.4rem, 100% 100%, 2.4rem 100%, 0 calc(100% - 2.4rem));
  isolation: isolate;
}

.signal-lens::before {
  position: absolute;
  inset: -40% 45% -40% -60%;
  z-index: -1;
  background: linear-gradient(90deg, transparent, rgb(255 122 110 / 18%), transparent);
  content: "";
  transform: rotate(18deg) translateX(-80%);
  animation: lens-sweep 7s var(--ease-out-expo) infinite;
}

.signal-lens__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgb(255 243 232 / 20%);
}

.signal-lens__identity {
  margin: 0;
  font-family: "K2D", Tahoma, sans-serif;
  font-weight: 800;
  line-height: 1;
}

.signal-lens__identity span {
  display: block;
}

.signal-lens__identity span:first-child {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  letter-spacing: 0.04em;
}

.signal-lens__identity span:last-child {
  margin-top: 0.38rem;
  color: var(--coral-400);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
}

.signal-lens__id {
  padding: 0.45rem 0.55rem;
  color: var(--night-950);
  background: var(--sunset-500);
  font-family: "K2D", Tahoma, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.signal-lens__core {
  position: relative;
  min-height: 12.5rem;
  display: grid;
  place-items: center end;
  overflow: hidden;
}

.signal-lens__trace {
  position: absolute;
  top: 50%;
  left: 0;
  width: 62%;
  height: 1px;
  background: linear-gradient(90deg, var(--sunset-500), rgb(255 107 53 / 8%));
}

.signal-lens__trace::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--coral-400);
  content: "";
  transform: translateY(-50%);
}

.signal-lens__dial {
  position: relative;
  width: 11rem;
  min-height: 11rem;
  display: grid;
  place-items: center;
  margin-right: 0.3rem;
}

.signal-lens__dial::before,
.signal-lens__dial::after,
.signal-lens__orbit {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.signal-lens__dial::before {
  width: 9.4rem;
  aspect-ratio: 1;
  border: 1px solid rgb(255 243 232 / 17%);
}

.signal-lens__dial::after {
  width: 6.7rem;
  aspect-ratio: 1;
  border: 1px dashed rgb(255 107 53 / 44%);
  animation: orbit-spin 15s linear infinite;
}

.signal-lens__orbit {
  width: 10.8rem;
  aspect-ratio: 1;
  border-top: 2px solid var(--sunset-500);
  border-right: 2px solid transparent;
  transform: rotate(var(--signal-angle));
  animation: orbit-spin 11s linear infinite reverse;
}

.signal-lens__dial img {
  position: relative;
  z-index: 2;
  width: 4.75rem;
  height: 4.75rem;
  filter: drop-shadow(0 0 0.8rem rgb(255 61 141 / 36%));
}

.signal-lens__status {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0 0.9rem;
  border-block: 1px solid rgb(255 243 232 / 20%);
  font-size: 0.78rem;
}

.signal-lens__status span {
  color: var(--mist-300);
}

.signal-lens__status strong {
  color: var(--sand-50);
  font-weight: 600;
  text-align: right;
}

.signal-lens__wave {
  height: 2rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding-top: 0.85rem;
  overflow: hidden;
}

.signal-lens__wave i {
  width: 100%;
  height: calc(20% + var(--wave, 0.5) * 60%);
  background: var(--sunset-500);
  opacity: 0.72;
  transform-origin: center;
  animation: wave-pulse 1.7s ease-in-out infinite alternate;
}

.signal-lens__wave i:nth-child(3n + 1) { --wave: 0.28; animation-delay: -0.7s; }
.signal-lens__wave i:nth-child(3n + 2) { --wave: 0.8; animation-delay: -1.2s; background: var(--coral-400); }
.signal-lens__wave i:nth-child(3n) { --wave: 0.52; animation-delay: -0.2s; background: var(--neon-pink-500); }

.story {
  position: relative;
  width: min(calc(100% - 2 * var(--page-gutter)), var(--page-max));
  min-height: 238svh;
  margin-inline: auto;
  padding-block: clamp(7rem, 14vh, 12rem);
}

.story__intro {
  position: sticky;
  top: clamp(7rem, 16vh, 10rem);
  width: min(42%, 37rem);
}

.story__signal {
  color: var(--sunset-500);
  font-size: clamp(0.78rem, 1vw, 0.9rem);
}

.story__intro h2,
.manifesto h2 {
  margin: 1.1rem 0 0;
  font-family: "K2D", Tahoma, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: var(--leading-thai-heading);
  text-wrap: balance;
}

.story__intro h2 {
  font-size: clamp(2.3rem, 4.4vw, 4.6rem);
}

.story__intro > p:last-child {
  max-width: 56ch;
  margin: 1.5rem 0 0;
  color: var(--mist-300);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  text-wrap: pretty;
}

.story__beats {
  width: 52%;
  margin: -5rem 0 0 auto;
}

.story-beat {
  min-height: 70svh;
  display: flex;
  align-items: center;
  container-type: inline-size;
  perspective: 70rem;
}

.story-beat__layout {
  position: relative;
  width: 100%;
  min-height: 19rem;
  display: grid;
  align-items: end;
  padding: clamp(1.5rem, 4cqi, 3rem);
  overflow: hidden;
  border: 2px solid var(--sand-50);
  border-radius: 2px;
  color: var(--sand-50);
  background: rgb(23 17 38 / 92%);
  box-shadow: var(--shadow-brutal);
  transform: rotateY(-3deg) rotateX(1deg);
  transition: color 320ms ease, background 320ms ease, border-color 320ms ease, transform 520ms var(--ease-out-expo);
}

.story-beat__layout::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 15%, rgb(255 61 141 / 20%), transparent 30%),
    linear-gradient(135deg, transparent 62%, rgb(255 107 53 / 8%));
  content: "";
}

.story-beat__layout > * {
  position: relative;
}

.story-beat__index {
  position: absolute;
  top: -0.18em;
  right: -0.03em;
  color: rgb(255 243 232 / 5%);
  font-family: "K2D", Tahoma, sans-serif;
  font-size: clamp(4rem, 18cqi, 9rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.story-beat__content {
  align-self: end;
}

.story-beat__label {
  min-block-size: 1.5rem;
  display: flex;
  align-items: center;
  color: var(--sunset-500);
  font-size: 0.9rem;
  line-height: 1.5;
}

.story-beat h3 {
  max-width: 13ch;
  min-block-size: 3.4em;
  margin: 0.6rem 0 0;
  font-family: "K2D", Tahoma, sans-serif;
  font-size: clamp(2rem, 7cqi, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: var(--leading-thai-card);
  text-wrap: balance;
}

.story-beat--people h3 {
  line-height: var(--leading-thai-card-stacked);
}

html[lang="en"] .hero h1 {
  max-width: 13ch;
  line-height: 1.08;
}

html[lang="en"] .story__intro h2,
html[lang="en"] .manifesto h2 {
  line-height: 1.12;
}

html[lang="en"] .story-beat h3,
html[lang="en"] .story-beat--people h3 {
  line-height: 1.16;
}

.story-beat p:last-child {
  max-width: 52ch;
  margin: 1rem 0 0;
  color: var(--mist-300);
  text-wrap: pretty;
}

.story-beat__meter {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 38%;
  height: 0.38rem;
  background: var(--sunset-500);
  transform: scaleX(var(--signal-strength));
  transform-origin: right;
}

.story-beat--people .story-beat__layout {
  border-color: var(--coral-400);
  transform: translateX(-4%) rotateY(2deg) rotateX(-1deg);
}

.story-beat--people .story-beat__meter {
  width: 58%;
  background: var(--coral-400);
}

.story-beat--stories .story-beat__layout {
  border-color: var(--neon-pink-500);
  transform: translateX(3%) rotateY(-2deg);
}

.story-beat--stories .story-beat__meter {
  width: 78%;
  background: var(--neon-pink-500);
}

.story-beat__layout:hover {
  color: var(--night-950);
  background: var(--coral-400);
  border-color: var(--night-950);
  transform: translate(-4px, -4px) rotateY(0);
}

.story-beat__layout:hover p,
.story-beat__layout:hover .story-beat__label {
  color: var(--night-950);
}

.manifesto {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: clamp(7rem, 16vh, 12rem) var(--page-gutter);
  overflow: hidden;
  background: var(--sunset-500);
  color: var(--night-950);
  isolation: isolate;
}

.manifesto::before {
  position: absolute;
  right: clamp(-12rem, -8vw, -4rem);
  bottom: clamp(-8rem, -5vw, -3rem);
  z-index: -1;
  width: clamp(20rem, 62vw, 54rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgb(255 243 232 / 56%), transparent 19%),
    linear-gradient(150deg, var(--sand-50), var(--coral-400) 42%, var(--neon-pink-500));
  box-shadow: 0 0 8rem rgb(255 61 141 / 28%);
  content: "";
  pointer-events: none;
}

.manifesto::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: clamp(9rem, 24vh, 16rem);
  background:
    linear-gradient(to top, var(--night-950) 0 12%, transparent 12%),
    url("assets/zone-teen-thai-city.svg") right bottom / min(78rem, 92vw) 100% no-repeat;
  content: "";
  opacity: 0.94;
  pointer-events: none;
}

.manifesto__ghost {
  position: absolute;
  top: 2%;
  right: -0.04em;
  margin: 0;
  color: rgb(9 7 19 / 8%);
  font-family: "K2D", Tahoma, sans-serif;
  font-size: clamp(5rem, 17vw, 16rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.8;
  white-space: nowrap;
}

.manifesto__content {
  width: min(100%, var(--page-max));
  margin-inline: auto;
}

.manifesto__label {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}

.manifesto h2 {
  max-width: 18ch;
  font-size: clamp(2.8rem, 6.4vw, 6rem);
}

.manifesto__content > p:not(.manifesto__label) {
  max-width: 54ch;
  margin: 1.6rem 0 0;
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  font-weight: 600;
  text-wrap: pretty;
}

.manifesto__status {
  width: min(100%, 42rem);
  margin-top: clamp(3rem, 8vh, 6rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.2rem;
  border: 2px solid var(--night-950);
  background: var(--sand-50);
  box-shadow: 8px 8px 0 var(--neon-pink-500);
}

.manifesto__status span {
  font-size: 0.82rem;
  font-weight: 600;
}

.manifesto__status strong {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: "K2D", Tahoma, sans-serif;
  font-size: clamp(0.95rem, 1.5vw, 1.25rem);
  font-weight: 800;
}

.manifesto__status i {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: var(--neon-pink-500);
  animation: signal-pulse-dark 2.8s ease-out infinite;
}

.site-footer {
  min-height: 8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem var(--page-gutter);
  color: var(--mist-300);
  background: var(--night-950);
  font-family: "K2D", Tahoma, sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--sand-50);
}

.site-footer p {
  margin: 0;
}

@supports (color: oklch(70% 0.19 42)) {
  .fallback-scene__aurora {
    background:
      radial-gradient(ellipse at 60% 38%, color-mix(in oklch, var(--coral-400) 38%, transparent), transparent 32%),
      radial-gradient(ellipse at 44% 50%, color-mix(in oklch, var(--violet-500) 28%, transparent), transparent 42%);
  }

  .signal-lens {
    background: color-mix(in oklch, var(--night-850) 64%, transparent);
  }
}

@supports (animation-timeline: scroll()) {
  body {
    animation: page-signal linear both;
    animation-timeline: scroll();
  }

  .fallback-scene__sun,
  .fallback-scene__city,
  .fallback-scene__wire,
  .fallback-scene__aurora {
    will-change: transform;
  }
}

@supports (animation-timeline: view()) {
  .story-beat__layout {
    animation: beat-arrival both;
    animation-timeline: view();
    animation-range: entry 8% cover 38%;
  }
}

@container (min-width: 34rem) {
  .story-beat__layout {
    grid-template-columns: minmax(0, 1fr) 1.35fr;
    gap: 2rem;
  }

  .story-beat__content {
    grid-column: 2;
  }
}

@keyframes page-signal {
  from { --sun-progress: 0; --signal-strength: 0.45; }
  to { --sun-progress: 1; --signal-strength: 1; }
}

@keyframes beat-arrival {
  from {
    opacity: 0.68;
    translate: 4rem 2rem;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes signal-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgb(255 107 53 / 42%); }
  58% { box-shadow: 0 0 0 0.55rem rgb(255 107 53 / 0%); }
}

@keyframes signal-pulse-dark {
  0%, 100% { box-shadow: 0 0 0 0 rgb(9 7 19 / 40%); }
  58% { box-shadow: 0 0 0 0.55rem rgb(9 7 19 / 0%); }
}

@keyframes cue-travel {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(110%); }
}

@keyframes lens-sweep {
  0%, 45% { transform: rotate(18deg) translateX(-80%); }
  70%, 100% { transform: rotate(18deg) translateX(260%); }
}

@keyframes orbit-spin {
  to { --signal-angle: 360deg; transform: rotate(360deg); }
}

@keyframes wave-pulse {
  to { transform: scaleY(0.42); opacity: 0.36; }
}

@media (max-width: 64rem) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.55fr);
    gap: 2rem;
  }

  .story__intro {
    width: 45%;
  }
}

@media (max-width: 48rem) {
  .site-header {
    min-height: 5.5rem;
    gap: 0.75rem;
  }

  .brand-lockup__wordmark {
    display: none;
  }

  .development-chip {
    padding-inline: 0.65rem;
    font-size: 0.64rem;
  }

  .site-header__controls {
    gap: 0.45rem;
  }

  .language-switch button {
    min-width: 2.1rem;
    padding-inline: 0.35rem;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: clamp(2.5rem, 7vh, 4.5rem);
    padding-top: 8rem;
  }

  .hero__copy {
    position: relative;
    isolation: isolate;
  }

  .hero__copy::before {
    position: absolute;
    z-index: -1;
    inset: -2rem -1.25rem -2.5rem;
    background: radial-gradient(ellipse at 28% 48%, rgb(9 7 19 / 94%) 0 34%, rgb(9 7 19 / 78%) 58%, rgb(9 7 19 / 24%) 76%, transparent 88%);
    content: "";
    pointer-events: none;
  }

  .hero h1 {
    max-width: 11ch;
    font-size: clamp(3rem, 14.2vw, 5rem);
  }

  html[lang="en"] .hero h1 {
    max-width: 12ch;
    font-size: clamp(2.6rem, 12vw, 4.4rem);
  }

  .signal-lens {
    width: min(100%, 30rem);
    justify-self: start;
  }

  .fallback-scene__sun {
    top: 9rem;
    right: -12rem;
    width: 30rem;
    opacity: 0.54;
  }

  .fallback-scene__city {
    right: -34vw;
    width: 150vw;
    height: 13rem;
  }

  .story {
    min-height: auto;
    padding-block: 8rem;
  }

  .story__intro {
    position: relative;
    top: auto;
    width: 100%;
  }

  .story__beats {
    width: 100%;
    margin-top: 4rem;
  }

  .story-beat {
    min-height: auto;
    padding-block: 2.2rem;
  }

  .story-beat__layout,
  .story-beat--people .story-beat__layout,
  .story-beat--stories .story-beat__layout {
    min-height: 22rem;
    transform: none;
  }

  .story-beat h3 {
    min-block-size: auto;
  }

  .manifesto {
    min-height: 90svh;
  }

  .manifesto__status,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 24rem) {
  .development-chip {
    gap: 0;
    padding-inline: 0.5rem;
    font-size: 0.58rem;
  }

  .development-chip__signal {
    display: none;
  }
}

@media (pointer: coarse) {
  .brand-lockup:hover .brand-lockup__mark,
  .story-beat__layout:hover {
    filter: none;
    transform: none;
  }

  .story-beat__layout:hover {
    color: var(--sand-50);
    background: rgb(23 17 38 / 92%);
  }

  .story-beat__layout:hover p {
    color: var(--mist-300);
  }

  .story-beat__layout:hover .story-beat__label {
    color: var(--sunset-500);
  }
}

@media (prefers-contrast: more) {
  .hero__lead,
  .story__intro > p:last-child,
  .story-beat p:last-child,
  .site-footer {
    color: var(--sand-50);
  }

  .signal-lens {
    background: var(--night-850);
  }

  .language-switch {
    border-color: var(--sand-50);
    background: var(--night-950);
  }
}

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

  .fallback-scene__sun,
  .fallback-scene__city,
  .fallback-scene__wire,
  .fallback-scene__aurora,
  .story-beat__layout,
  .story-beat--people .story-beat__layout,
  .story-beat--stories .story-beat__layout {
    opacity: 1;
    transform: none;
  }

}
