/* ============================================
   KOLVU.SITE — Day / Night Contrast System
   ============================================ */

:root {
  /* Light */
  --l-bg: #F8F7F2;
  --l-surface: #FFFFFF;
  --l-primary: #FF5C35;
  --l-secondary: #2959D9;
  --l-accent: #D9E64A;
  --l-text: #101318;
  --l-muted: #6D7379;

  /* Dark */
  --d-bg: #090B10;
  --d-surface: #141820;
  --d-primary: #FF7048;
  --d-secondary: #687FFF;
  --d-accent: #D9E64A;
  --d-text: #F6F4ED;
  --d-muted: #9298A2;

  /* Gradients */
  --g-day-burst: linear-gradient(135deg, #FF5C35, #D9E64A, #2959D9);
  --g-night-pulse: linear-gradient(135deg, #687FFF, #FF7048, #D9E64A);
  --g-electric-shadow: linear-gradient(135deg, #090B10, #202B55, #687FFF);
  --g-bright-field: linear-gradient(135deg, #FFFFFF, #F8F7F2, #D9E64A);

  /* Type */
  --font-display: "Archivo Black", sans-serif;
  --font-secondary: "Space Grotesk", sans-serif;
  --font-ui: "Inter", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  /* Layout */
  --pad-x: clamp(1.25rem, 4vw, 4.5rem);
  --pad-section: clamp(4.5rem, 10vw, 8.5rem);
  --max: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --focus: 0 0 0 3px var(--l-bg), 0 0 0 5px var(--l-secondary);
  --focus-dark: 0 0 0 3px var(--d-bg), 0 0 0 5px var(--d-secondary);
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-ui);
  color: var(--l-text);
  background: var(--l-bg);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

ul {
  list-style: none;
}

button,
.btn {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--pad-x);
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--l-primary);
  color: #fff;
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
}

.skip-link:focus {
  top: 1rem;
  box-shadow: var(--focus);
}

.section-inner {
  width: min(100% - (var(--pad-x) * 2), var(--max));
  margin-inline: auto;
}

.label {
  font-family: var(--font-mono);
  font-size: clamp(0.7rem, 1.2vw, 0.8rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.label--dark { color: var(--l-muted); }
.label--light { color: var(--d-muted); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.9rem 1.75rem;
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.btn--primary {
  background: var(--l-primary);
  color: #fff;
}

.btn--primary:hover {
  background: #e84d28;
  transform: translateY(-2px);
}

.btn--ghost {
  border: 2px solid var(--l-text);
  color: var(--l-text);
  background: transparent;
}

.btn--ghost:hover {
  background: var(--l-text);
  color: var(--l-bg);
  transform: translateY(-2px);
}

.btn--large {
  min-height: 3.75rem;
  padding-inline: 2.25rem;
  font-size: 0.95rem;
}

/* Grain overlay (site-wide subtle texture) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ============================================
   1. DAYLIGHT HERO
   ============================================ */

.hero {
  position: relative;
  min-height: 100svh;
  background: var(--l-bg);
  padding: 1.5rem var(--pad-x) 3rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: clamp(2rem, 6vw, 4rem);
  z-index: 2;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.25rem);
  letter-spacing: 0.04em;
  color: var(--l-text);
}

.hero__brand:hover {
  color: var(--l-primary);
}

.hero__marker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--l-muted);
}

.hero__grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  width: min(100%, var(--max));
  margin-inline: auto;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 5.75rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  max-width: 12ch;
}

.hero__support {
  font-family: var(--font-secondary);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--l-muted);
  max-width: 34ch;
  margin-bottom: 2.25rem;
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero__stage {
  position: relative;
  min-height: clamp(320px, 48vw, 520px);
  display: grid;
  place-items: center;
}

.hero__backtype {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 11rem);
  color: transparent;
  -webkit-text-stroke: 2px rgba(16, 19, 24, 0.12);
  letter-spacing: -0.04em;
  z-index: 0;
  user-select: none;
  animation: backtype-drift 12s ease-in-out infinite alternate;
}

.hero__art {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1;
  z-index: 1;
}

.shape {
  position: absolute;
}

.shape--circle {
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--l-secondary);
  top: 8%;
  left: 6%;
  animation: float-a 8s ease-in-out infinite;
  box-shadow: 0 24px 60px rgba(41, 89, 217, 0.28);
}

.shape--rect {
  width: 42%;
  height: 48%;
  background: var(--l-primary);
  top: 28%;
  right: 8%;
  transform: rotate(12deg);
  animation: float-b 9s ease-in-out infinite;
  box-shadow: 0 20px 50px rgba(255, 92, 53, 0.3);
}

.shape--curve {
  width: 48%;
  height: 38%;
  background: var(--l-accent);
  border-radius: 60% 40% 55% 45% / 50% 45% 55% 50%;
  bottom: 10%;
  left: 22%;
  animation: morph 10s ease-in-out infinite;
  box-shadow: 0 16px 40px rgba(217, 230, 74, 0.35);
}

.shape--frame {
  inset: 12% 10% 18% 14%;
  border: 3px solid var(--l-text);
  z-index: 2;
  pointer-events: none;
  animation: frame-pulse 7s ease-in-out infinite;
}

.shape--panel {
  background: var(--l-surface);
  box-shadow: 0 10px 30px rgba(16, 19, 24, 0.08);
  z-index: 1;
}

.shape--panel-a {
  width: 34%;
  height: 22%;
  top: 14%;
  right: 18%;
  animation: float-c 6.5s ease-in-out infinite;
}

.shape--panel-b {
  width: 28%;
  height: 18%;
  bottom: 22%;
  left: 10%;
  animation: float-a 7.5s ease-in-out infinite reverse;
}

.hero__labels {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--l-muted);
}

.hero__labels li:nth-child(1) { position: absolute; top: 4%; left: 0; }
.hero__labels li:nth-child(2) { position: absolute; top: 18%; right: 0; }
.hero__labels li:nth-child(3) { position: absolute; bottom: 28%; left: 2%; }
.hero__labels li:nth-child(4) { position: absolute; bottom: 8%; right: 4%; }

@keyframes float-a {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes float-b {
  0%, 100% { transform: rotate(12deg) translateY(0); }
  50% { transform: rotate(16deg) translateY(-10px); }
}

@keyframes float-c {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(8px, -8px); }
}

@keyframes morph {
  0%, 100% { border-radius: 60% 40% 55% 45% / 50% 45% 55% 50%; transform: rotate(0deg); }
  50% { border-radius: 45% 55% 40% 60% / 55% 50% 45% 50%; transform: rotate(8deg); }
}

@keyframes frame-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

@keyframes backtype-drift {
  from { transform: translateX(-2%); }
  to { transform: translateX(2%); }
}

/* ============================================
   2. STATEMENT
   ============================================ */

.statement {
  background: var(--l-bg);
  padding: var(--pad-section) 0;
}

.statement__headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 16ch;
  margin-bottom: 1.75rem;
}

.statement__copy {
  font-family: var(--font-secondary);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--l-muted);
  max-width: 48ch;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.statement__rule {
  width: min(100%, 220px);
  height: 6px;
  background: var(--l-primary);
  animation: rule-grow 1.2s var(--ease) both;
  transform-origin: left;
}

@keyframes rule-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ============================================
   3. BRIGHT INDEX
   ============================================ */

.bright-index {
  background: var(--l-surface);
  padding: clamp(2rem, 5vw, 3rem) 0;
  border-top: 1px solid rgba(16, 19, 24, 0.08);
  border-bottom: 1px solid rgba(16, 19, 24, 0.08);
}

.index-list {
  display: flex;
  flex-direction: column;
}

.index-row__link {
  display: grid;
  grid-template-columns: 4.5rem minmax(8rem, 1fr) 2fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: clamp(1.4rem, 3vw, 2rem) 0;
  border-bottom: 1px solid rgba(16, 19, 24, 0.1);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), padding 0.35s var(--ease);
  position: relative;
}

.index-row:first-child .index-row__link {
  border-top: 1px solid rgba(16, 19, 24, 0.1);
}

.index-row__num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--l-muted);
  transition: color 0.35s var(--ease);
}

.index-row__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.75rem);
  letter-spacing: -0.02em;
  line-height: 1;
}

.index-row__desc {
  font-family: var(--font-secondary);
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  color: var(--l-muted);
  max-width: 40ch;
  transition: color 0.35s var(--ease);
}

.index-row__arrow {
  font-size: 1.5rem;
  transform: translateX(0);
  transition: transform 0.4s var(--ease);
  color: var(--l-text);
}

.index-row__link:hover,
.index-row__link:focus-visible {
  background: var(--l-primary);
  color: #fff;
  padding-inline: 1.25rem;
  box-shadow: none;
}

.index-row__link:hover .index-row__num,
.index-row__link:focus-visible .index-row__num {
  color: var(--l-accent);
}

.index-row__link:hover .index-row__desc,
.index-row__link:focus-visible .index-row__desc {
  color: rgba(255, 255, 255, 0.88);
}

.index-row__link:hover .index-row__arrow,
.index-row__link:focus-visible .index-row__arrow {
  transform: translateX(10px);
  color: #fff;
}

/* ============================================
   4. TRANSITION ZONE
   ============================================ */

.transition-zone {
  position: relative;
  min-height: clamp(70vh, 80vw, 90vh);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    #F8F7F2 0%,
    #D9E64A 22%,
    #2959D9 48%,
    #202B55 72%,
    #090B10 100%
  );
  background-size: 100% 200%;
  animation: day-to-night 18s ease-in-out infinite alternate;
}

.transition-zone__field {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tz-shape {
  position: absolute;
  opacity: 0.55;
}

.tz-shape--a {
  width: clamp(140px, 22vw, 280px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 92, 53, 0.55);
  top: 12%;
  left: 10%;
  animation: float-a 10s ease-in-out infinite;
}

.tz-shape--b {
  width: clamp(100px, 16vw, 200px);
  height: clamp(140px, 24vw, 280px);
  background: rgba(255, 255, 255, 0.22);
  top: 30%;
  right: 14%;
  transform: rotate(-18deg);
  animation: float-c 11s ease-in-out infinite;
}

.tz-shape--c {
  width: clamp(180px, 28vw, 340px);
  height: clamp(100px, 14vw, 180px);
  background: rgba(104, 127, 255, 0.45);
  border-radius: 50% 40% 60% 40%;
  bottom: 18%;
  left: 28%;
  animation: morph 14s ease-in-out infinite;
}

.tz-shape--d {
  width: clamp(80px, 12vw, 140px);
  aspect-ratio: 1;
  border: 3px solid rgba(217, 230, 74, 0.7);
  bottom: 24%;
  right: 22%;
  animation: frame-pulse 8s ease-in-out infinite;
}

.transition-zone__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--pad-x);
}

.transition-zone__headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: #fff;
  text-shadow: 0 8px 40px rgba(9, 11, 16, 0.35);
  display: flex;
  flex-direction: column;
  gap: 0.35em;
}

.transition-zone__line:last-child {
  color: var(--d-accent);
}

@keyframes day-to-night {
  0% { background-position: 50% 0%; }
  100% { background-position: 50% 100%; }
}

/* ============================================
   5. NIGHT MODE
   ============================================ */

.night-mode {
  background: var(--d-bg);
  color: var(--d-text);
  padding: var(--pad-section) 0;
}

.night-mode__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.night-mode__headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 12ch;
  margin-bottom: 1.5rem;
  color: var(--d-text);
}

.night-mode__support {
  font-family: var(--font-secondary);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--d-muted);
  max-width: 32ch;
  line-height: 1.6;
}

.night-mode__object {
  position: relative;
  min-height: clamp(280px, 40vw, 420px);
  display: grid;
  place-items: center;
}

.night-object__core {
  width: min(78%, 320px);
  aspect-ratio: 0.85;
  background: var(--g-electric-shadow);
  clip-path: polygon(18% 0%, 100% 12%, 82% 100%, 0% 78%);
  position: relative;
  z-index: 1;
  animation: night-tilt 12s ease-in-out infinite alternate;
}

.night-object__glow {
  position: absolute;
  width: 55%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 112, 72, 0.55) 0%, transparent 70%);
  filter: blur(8px);
  right: 8%;
  bottom: 12%;
  z-index: 0;
  animation: glow-breathe 6s ease-in-out infinite;
}

.night-object__cut {
  position: absolute;
  width: 42%;
  height: 8px;
  background: var(--d-secondary);
  top: 42%;
  left: 18%;
  z-index: 2;
  transform: rotate(-18deg);
  box-shadow: 0 0 24px rgba(104, 127, 255, 0.5);
}

@keyframes night-tilt {
  from { transform: rotate(-4deg) translateY(0); }
  to { transform: rotate(3deg) translateY(-12px); }
}

@keyframes glow-breathe {
  0%, 100% { opacity: 0.65; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.12); }
}

/* ============================================
   6. DARK EXPERIMENTS
   ============================================ */

.dark-experiments {
  background: var(--d-bg);
  padding: 0 0 var(--pad-section);
}

.experiment-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(104, 127, 255, 0.35);
}

.experiment-row {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1.5rem;
  align-items: baseline;
  padding: clamp(1.5rem, 3vw, 2.25rem) 1.25rem;
  border-bottom: 1px solid rgba(104, 127, 255, 0.28);
  background: var(--d-surface);
  transition: background 0.35s var(--ease), padding-left 0.35s var(--ease);
}

.experiment-row:hover,
.experiment-row:focus-within {
  background: #1c2230;
  padding-left: 1.75rem;
}

.experiment-row__num {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--d-accent);
  letter-spacing: 0.08em;
}

.experiment-row__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  color: var(--d-text);
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.experiment-row__title::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 3px;
  margin-left: 0.75rem;
  vertical-align: middle;
  background: var(--d-primary);
  transition: width 0.4s var(--ease);
}

.experiment-row:hover .experiment-row__title::after {
  width: 48px;
}

.experiment-row__desc {
  font-family: var(--font-secondary);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--d-muted);
}

/* ============================================
   7. SPLIT GALLERY
   ============================================ */

.split-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100svh;
}

.split-gallery__half {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: clamp(2rem, 4vw, 3.5rem);
}

.split-gallery__half--light {
  background: var(--l-bg);
}

.split-gallery__half--dark {
  background: var(--d-bg);
}

.gallery-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.gallery-item__art {
  flex: 1;
  min-height: clamp(160px, 22vw, 240px);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease);
}

.gallery-item:hover .gallery-item__art {
  transform: scale(1.02);
}

.gallery-item__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
}

.gallery-item--light .gallery-item__label { color: var(--l-muted); }
.gallery-item--dark .gallery-item__label { color: var(--d-muted); }

/* Light compositions */
.gallery-item__art--circle {
  background: var(--g-bright-field);
  display: grid;
  place-items: center;
}

.gallery-item__art--circle::before {
  content: "";
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--l-secondary);
  box-shadow: 0 0 0 12px rgba(41, 89, 217, 0.15);
}

.gallery-item__art--rect {
  background: var(--l-surface);
  display: grid;
  place-items: center;
  border: 1px solid rgba(16, 19, 24, 0.08);
}

.gallery-item__art--rect::before {
  content: "";
  width: 62%;
  height: 48%;
  background: var(--g-day-burst);
  transform: rotate(-8deg);
}

.gallery-item__art--strip {
  background: linear-gradient(90deg, var(--l-bg) 0%, var(--l-bg) 38%, transparent 38%),
              var(--g-day-burst);
  background-size: 100% 100%;
}

.gallery-item__art--strip::before {
  content: "";
  position: absolute;
  left: 38%;
  top: 0;
  bottom: 0;
  width: 14%;
  background: var(--l-primary);
}

/* Dark compositions */
.gallery-item__art--square {
  background: var(--d-surface);
  display: grid;
  place-items: center;
}

.gallery-item__art--square::before {
  content: "";
  width: 52%;
  aspect-ratio: 1;
  background: var(--g-night-pulse);
  box-shadow: 0 0 40px rgba(104, 127, 255, 0.25);
}

.gallery-item__art--blob {
  background: var(--d-surface);
  display: grid;
  place-items: center;
}

.gallery-item__art--blob::before {
  content: "";
  width: 70%;
  height: 70%;
  background: radial-gradient(circle at 30% 30%, var(--d-primary), var(--d-secondary) 70%);
  border-radius: 58% 42% 48% 52% / 45% 55% 45% 55%;
  animation: morph 12s ease-in-out infinite;
}

.gallery-item__art--field {
  background: var(--g-electric-shadow);
  background-size: 200% 200%;
  animation: field-shift 10s ease-in-out infinite alternate;
}

.gallery-item__art--field::after {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(217, 230, 74, 0.45);
}

@keyframes field-shift {
  from { background-position: 0% 0%; }
  to { background-position: 100% 100%; }
}

/* ============================================
   8. NUMBERS
   ============================================ */

.numbers {
  background: var(--l-secondary);
  color: #fff;
  padding: var(--pad-section) 0;
  position: relative;
  overflow: hidden;
}

.numbers::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(217, 230, 74, 0.12) 100%);
  pointer-events: none;
}

.numbers__headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.75rem);
  letter-spacing: -0.02em;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  position: relative;
}

.numbers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.numbers__item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.5rem 1.5rem 0.5rem 0;
  border-right: 3px solid var(--l-primary);
}

.numbers__item:last-child {
  border-right: none;
  padding-right: 0;
}

.numbers__item:not(:first-child) {
  padding-left: 1.5rem;
}

.numbers__value {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--l-accent);
  line-height: 1;
  letter-spacing: -0.03em;
}

.numbers__label {
  font-family: var(--font-secondary);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.02em;
}

/* ============================================
   9. FINAL SUNRISE
   ============================================ */

.sunrise {
  position: relative;
  background: var(--l-bg);
  padding: clamp(6rem, 14vw, 10rem) 0;
  overflow: hidden;
  text-align: center;
}

.sunrise__orb {
  position: absolute;
  left: 50%;
  top: 42%;
  translate: -50% -50%;
  width: min(90vw, 640px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--g-day-burst);
  opacity: 0.35;
  filter: blur(2px);
  animation: sunrise-rise 14s ease-in-out infinite alternate;
  z-index: 0;
}

.sunrise__orb::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: var(--l-bg);
  opacity: 0.55;
}

.sunrise__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sunrise__headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 14ch;
  margin-bottom: 1.5rem;
}

.sunrise__support {
  font-family: var(--font-secondary);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--l-muted);
  max-width: 38ch;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

@keyframes sunrise-rise {
  from { transform: scale(0.92) translateY(18px); opacity: 0.28; }
  to { transform: scale(1.08) translateY(-12px); opacity: 0.42; }
}

/* ============================================
   10. FOOTER
   ============================================ */

.footer {
  background: var(--d-bg);
}

.footer__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(140px, 22vw, 220px);
}

.footer__half {
  display: grid;
  place-items: center;
  overflow: hidden;
}

.footer__half--light {
  background: var(--l-bg);
  color: var(--l-text);
}

.footer__half--dark {
  background: var(--d-bg);
  color: var(--d-text);
}

.footer__word {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 7.5rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.footer__body {
  width: min(100% - (var(--pad-x) * 2), var(--max));
  margin-inline: auto;
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
  color: var(--d-text);
}

.footer__tagline {
  font-family: var(--font-secondary);
  font-size: clamp(1.15rem, 2.4vw, 1.65rem);
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  max-width: 28ch;
  color: var(--d-muted);
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: clamp(3rem, 6vw, 4rem);
}

.footer__col-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--d-accent);
  margin-bottom: 1.1rem;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer__col a {
  font-family: var(--font-secondary);
  font-size: 1rem;
  color: var(--d-text);
  transition: color 0.25s var(--ease);
}

.footer__col a:hover {
  color: var(--d-primary);
}

.footer__col a:focus-visible {
  box-shadow: var(--focus-dark);
}

.footer__bottom {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--d-muted);
  border-top: 1px solid rgba(146, 152, 162, 0.25);
  padding-top: 1.5rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero__headline {
    max-width: none;
  }

  .hero__stage {
    order: -1;
    min-height: clamp(280px, 70vw, 400px);
  }

  .index-row__link {
    grid-template-columns: 3.5rem 1fr auto;
    grid-template-areas:
      "num title arrow"
      "num desc arrow";
    gap: 0.35rem 1rem;
  }

  .index-row__num { grid-area: num; align-self: start; padding-top: 0.35rem; }
  .index-row__title { grid-area: title; }
  .index-row__desc { grid-area: desc; }
  .index-row__arrow { grid-area: arrow; }

  .night-mode__grid {
    grid-template-columns: 1fr;
  }

  .night-mode__object {
    min-height: 280px;
    order: -1;
  }

  .numbers__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 0;
  }

  .numbers__item {
    border-right: none;
    border-bottom: 3px solid var(--l-primary);
    padding: 0 1rem 1.5rem 0 !important;
  }

  .numbers__item:nth-child(even) {
    padding-left: 1.5rem !important;
    border-left: 3px solid var(--l-primary);
  }

  .numbers__item:nth-child(3),
  .numbers__item:nth-child(4) {
    border-bottom: none;
    padding-bottom: 0 !important;
  }
}

@media (max-width: 720px) {
  .split-gallery {
    grid-template-columns: 1fr;
  }

  .split-gallery__half--dark {
    order: 2;
  }

  .footer__nav {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .index-row__link:hover,
  .index-row__link:focus-visible {
    padding-inline: 0.75rem;
  }

  .experiment-row {
    grid-template-columns: 3.5rem 1fr;
    gap: 1rem;
  }

  .footer__word {
    font-size: clamp(2.5rem, 16vw, 4rem);
  }
}

@media (max-width: 520px) {
  .numbers__grid {
    grid-template-columns: 1fr;
  }

  .numbers__item,
  .numbers__item:nth-child(even) {
    border: none !important;
    border-bottom: 3px solid var(--l-primary) !important;
    padding: 0 0 1.5rem 0 !important;
  }

  .numbers__item:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }

  .hero__labels {
    display: none;
  }

  .shape--frame {
    inset: 16% 14% 22% 16%;
  }

  .transition-zone__headline {
    font-size: clamp(2rem, 10vw, 3rem);
  }
}

/* ============================================
   REDUCED MOTION
   ============================================ */

@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;
  }

  .transition-zone {
    background-position: 50% 50%;
  }

  .sunrise__orb {
    transform: none;
    opacity: 0.35;
  }
}
