/* =========================================================
   FORWARD SYSTEMS — landing page
   Three themes via [data-theme]: light · dark · colorful
   ========================================================= */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* type */
  --f-display: "Instrument Serif", "Times New Roman", serif;
  --f-sans:    "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* layout */
  --page-pad: clamp(20px, 4vw, 64px);
  --rail:     clamp(60px, 8vw, 120px);
  --max:      1480px;

  --t: cubic-bezier(.22,.61,.36,1);
}

/* ---------- LIGHT (default) ---------- */
[data-theme="light"] {
  --bg:        #f1ede4;            /* warm cream */
  --bg-2:      #e8e2d4;
  --paper:     #f7f4ec;
  --ink:       #16161a;
  --ink-soft:  #2a2a2f;
  --muted:     #6f6a5e;
  --line:      #cfc8b8;
  --line-soft: #ddd6c5;
  --accent:    #16161a;
  --accent-2:  #16161a;
  --halo:      radial-gradient(circle at center, rgba(22,22,26,.10), rgba(22,22,26,0) 60%);
  --orb-fg:    #16161a;
  --orb-bg-1:  rgba(22,22,26,0);
  --orb-bg-2:  rgba(22,22,26,0);
  --strike:    #b59a64;            /* warm gold strike */
  --grid:      rgba(22,22,26,.04);
  --signal:    #2a2a2f;
  --rule-dot:  #16161a;
}

/* ---------- DARK ---------- */
[data-theme="dark"] {
  --bg:        #08080a;
  --bg-2:      #0c0c0f;
  --paper:     #0c0c0f;
  --ink:       #f0ece2;
  --ink-soft:  #d8d2c4;
  --muted:     #76726a;
  --line:      #1d1d22;
  --line-soft: #14141a;
  --accent:    #f0ece2;
  --accent-2:  #f0ece2;
  --halo:      radial-gradient(circle at center, rgba(240,236,226,.10), rgba(240,236,226,0) 60%);
  --orb-fg:    #f0ece2;
  --orb-bg-1:  rgba(240,236,226,0);
  --orb-bg-2:  rgba(240,236,226,0);
  --strike:    #cf9f4e;
  --grid:      rgba(240,236,226,.04);
  --signal:    #f0ece2;
  --rule-dot:  #f0ece2;
}

/* ---------- COLORFUL ---------- */
[data-theme="colorful"] {
  --bg:        #05050a;
  --bg-2:      #07060e;
  --paper:     #07060e;
  --ink:       #f4f0ff;
  --ink-soft:  #d6d0eb;
  --muted:     #807a98;
  --line:      #1c1830;
  --line-soft: #14122a;
  --accent:    #c4b6ff;
  --accent-2:  #ff95d3;
  --halo:      radial-gradient(circle at 30% 40%, rgba(120,80,255,.35), rgba(120,80,255,0) 55%),
               radial-gradient(circle at 70% 60%, rgba(255,80,160,.28), rgba(255,80,160,0) 55%),
               radial-gradient(circle at 50% 50%, rgba(80,220,255,.25), rgba(80,220,255,0) 60%);
  --orb-fg:    #ffffff;
  --strike:    #ff7ad1;
  --grid:      rgba(180,160,255,.05);
  --signal:    #c4b6ff;
  --rule-dot:  #c4b6ff;
  --iri: linear-gradient(110deg,
            #6df5ff 0%,
            #8b7bff 25%,
            #ff7ad1 50%,
            #ffb56b 75%,
            #6df5ff 100%);
}

/* ---------- BASE ---------- */
html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-weight: 400;
  font-feature-settings: "ss01","ss02","cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background .6s var(--t), color .6s var(--t);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  padding: 0 var(--page-pad);
  padding-top: 56px;
  font-size: 16px;
  line-height: 1.55;
}

[data-theme="colorful"] body::before {
  content: "";
  position: fixed; inset: -10%;
  background: var(--halo);
  filter: blur(60px);
  z-index: -2;
  opacity: .9;
  pointer-events: none;
  animation: drift 30s ease-in-out infinite alternate;
}
@keyframes drift {
  0%   { transform: translate(-3%, -2%) scale(1); }
  100% { transform: translate( 4%,  3%) scale(1.08); }
}

::selection { background: var(--ink); color: var(--bg); }
[data-theme="colorful"] ::selection { background: #ff7ad1; color: #07060e; }

a { color: inherit; text-decoration: none; }
em { font-style: italic; }

/* ---------- STATUS BAR ---------- */
.status-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--page-pad);
  background: color-mix(in oklab, var(--bg), transparent 25%);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  border-bottom: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--muted);
  z-index: 50;
  text-transform: uppercase;
}
.status-left, .status-right { display: flex; align-items: center; gap: 10px; }
.status-name { color: var(--ink); font-weight: 500; letter-spacing: .08em; }
.status-mark { color: var(--ink); display: inline-flex; }
.status-sep { opacity: .35; }
.status-dot { display: inline-flex; align-items: center; gap: 6px; }
.status-dot .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #2db97a;
  box-shadow: 0 0 0 0 rgba(45,185,122,.55);
  animation: pulse 2.2s ease-out infinite;
}
[data-theme="colorful"] .status-dot .dot { background: #6df5ff; box-shadow: 0 0 0 0 rgba(109,245,255,.6); }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0   color-mix(in oklab, currentColor, transparent 30%); }
  70%  { box-shadow: 0 0 0 8px color-mix(in oklab, currentColor, transparent 100%); }
  100% { box-shadow: 0 0 0 0   color-mix(in oklab, currentColor, transparent 100%); }
}

@media (max-width: 800px) {
  .status-left .status-meta:nth-of-type(2),
  .status-left .status-sep:nth-of-type(2),
  .status-right .status-meta:not(#clock):not(.status-dot),
  .status-right .status-sep { display: none; }
}

/* ---------- THEME SWITCH ---------- */
.theme-switch {
  position: fixed;
  top: 56px; right: var(--page-pad);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  background: color-mix(in oklab, var(--paper), transparent 10%);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 6px 20px -10px color-mix(in oklab, var(--ink), transparent 75%);
}
.theme-switch button {
  position: relative;
  z-index: 2;
  border: 0; background: transparent;
  color: var(--muted);
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: color .4s var(--t);
  font: inherit; letter-spacing: inherit; text-transform: inherit;
}
.theme-switch button[aria-selected="true"] { color: var(--bg); }
[data-theme="colorful"] .theme-switch button[aria-selected="true"] { color: #05050a; }
.theme-switch__pill {
  position: absolute;
  top: 3px; bottom: 3px;
  left: 3px;
  width: 0;
  background: var(--ink);
  border-radius: 999px;
  transition: transform .5s var(--t), width .5s var(--t), background .6s var(--t);
  z-index: 1;
}
[data-theme="colorful"] .theme-switch__pill {
  background: var(--iri);
  background-size: 300% 100%;
  animation: iri 8s linear infinite;
}
@keyframes iri { 0% { background-position: 0% 50%; } 100% { background-position: 300% 50%; } }

/* ---------- GLOBAL: section labels, kbd ---------- */
.kbd, .status-meta {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-label {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 36px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.section-label .kbd:first-child {
  color: var(--ink);
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 4px 8px;
  border-radius: 4px;
}

.section-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(36px, 5.6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}
.section-title em { font-style: italic; color: var(--muted); }
.section-title__accent {
  font-style: italic;
  color: var(--strike) !important;
}
[data-theme="colorful"] .section-title__accent {
  background: var(--iri);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  animation: iri 7s linear infinite;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(60px, 9vw, 140px) 0 clamp(40px, 6vw, 90px);
  max-width: var(--max);
  margin: 0 auto;
  min-height: calc(100vh - 56px);
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: clamp(24px, 4vw, 56px);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 35%, #000 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 35%, #000 35%, transparent 80%);
  z-index: 0;
}

.hero__index {
  display: flex; align-items: center; gap: 14px;
  position: relative; z-index: 2;
}
.hero__index .kbd { color: var(--muted); }
.hero__index .kbd:first-child {
  color: var(--ink);
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 4px 8px;
  border-radius: 4px;
}

.hero__orb-wrap {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(420px, 64vw, 880px);
  height: clamp(420px, 64vw, 880px);
  z-index: 1;
  pointer-events: none;
}
.hero__orb-wrap #orb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.orb-halo {
  position: absolute; inset: -10%;
  background: var(--halo);
  filter: blur(30px);
  z-index: -1;
}
.orb-ring {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: .55;
}
.orb-ring--1 { width: 92%; height: 92%; border-style: dashed; animation: spin 60s linear infinite; }
.orb-ring--2 { width: 100%; height: 100%; }
.orb-ring--3 { width: 110%; height: 110%; opacity: .25; }
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }
[data-theme="colorful"] .orb-ring { border-color: rgba(196,182,255,.25); }

.hero__title {
  position: relative;
  z-index: 2;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(56px, 11vw, 168px);
  line-height: .94;
  letter-spacing: -0.02em;
  text-align: center;
  text-wrap: balance;
  margin-top: auto;
}
.hero__title .line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: rise 1.1s var(--t) forwards;
}
.hero__title .line:nth-child(1) { animation-delay: .15s; }
.hero__title .line:nth-child(2) { animation-delay: .35s; }
.hero__title .line:nth-child(3) { animation-delay: .55s; }
.hero__title em {
  font-style: italic;
  color: var(--strike);
}
[data-theme="colorful"] .hero__title em {
  background: var(--iri);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: iri 7s linear infinite;
}
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

.hero__sub {
  position: relative;
  z-index: 2;
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--ink-soft);
  line-height: 1.5;
  opacity: 0;
  animation: rise 1s var(--t) forwards .8s;
}

.hero__bottom {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 8px;
  opacity: 0;
  animation: rise 1s var(--t) forwards 1.1s;
}
.hero__scroll { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
.hero__signal { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
.signal-bars { display: inline-flex; gap: 2px; align-items: end; height: 14px; }
.signal-bars i {
  display: inline-block; width: 2px; background: var(--signal);
  animation: bars 1.6s ease-in-out infinite;
}
.signal-bars i:nth-child(1)  { height: 30%; animation-delay: 0s; }
.signal-bars i:nth-child(2)  { height: 50%; animation-delay: .08s; }
.signal-bars i:nth-child(3)  { height: 80%; animation-delay: .16s; }
.signal-bars i:nth-child(4)  { height: 60%; animation-delay: .24s; }
.signal-bars i:nth-child(5)  { height: 90%; animation-delay: .32s; }
.signal-bars i:nth-child(6)  { height: 40%; animation-delay: .40s; }
.signal-bars i:nth-child(7)  { height: 70%; animation-delay: .48s; }
.signal-bars i:nth-child(8)  { height: 100%; animation-delay: .56s; }
.signal-bars i:nth-child(9)  { height: 55%; animation-delay: .64s; }
.signal-bars i:nth-child(10) { height: 75%; animation-delay: .72s; }
.signal-bars i:nth-child(11) { height: 35%; animation-delay: .80s; }
.signal-bars i:nth-child(12) { height: 65%; animation-delay: .88s; }
@keyframes bars {
  0%, 100% { transform: scaleY(.6); }
  50%      { transform: scaleY(1); }
}

/* ============================================================
   BELIEF
   ============================================================ */
.belief {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 14vw, 200px) 0 clamp(80px, 12vw, 180px);
  text-align: center;
}
.belief .section-label { justify-content: center; border-bottom: 0; padding: 0; margin-bottom: 48px; }

/* the why-now follow-up that lives inside the belief block now */
.belief__whynow {
  margin: clamp(56px, 8vw, 96px) auto 0;
  max-width: 1080px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 36px);
  line-height: 1.28;
  letter-spacing: -0.005em;
  color: var(--ink-soft);
  text-wrap: balance;
}
.belief__whynow em { font-style: italic; color: var(--ink); }
.belief__answer {
  display: block;
  margin-top: 10px;
  color: var(--strike);
  font-style: italic;
}
[data-theme="colorful"] .belief__answer {
  background: var(--iri);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: iri 7s linear infinite;
}
[data-theme="colorful"] .belief__answer em {
  color: inherit;
  background: inherit;
  -webkit-background-clip: inherit;
  background-clip: inherit;
}
.belief__text {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(20px, 3.8vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--ink);
  margin: 0 auto;
}
.belief__text em { font-style: italic; }

/* "expand" is typed, then the whole line stretches wider */
.belief__slot {
  display: inline-block;
  position: relative;
  vertical-align: baseline;
  font-style: italic;
  color: var(--strike);
  white-space: nowrap;
}
.belief__typed {
  display: inline-block;
}
.belief__caret {
  display: inline-block;
  width: 2px;
  height: 0.85em;
  background: var(--strike);
  margin-left: 2px;
  vertical-align: -0.08em;
  opacity: 0;
  animation: caret-blink 1.05s steps(1) infinite;
}
.belief__caret.is-on { opacity: 1; }
.belief__caret.is-done { opacity: 0; animation: none; }
@keyframes caret-blink {
  0%, 50%  { opacity: 1; }
  51%,100% { opacity: 0; }
}

/* once typing is complete the whole line letter-spaces wider */
.belief__text {
  transition: letter-spacing 1.4s cubic-bezier(.22,.61,.36,1),
              word-spacing 1.4s cubic-bezier(.22,.61,.36,1);
}
.belief__text.is-wide {
  letter-spacing: 0.04em;
  word-spacing: 0.18em;
}

[data-theme="colorful"] .belief__slot {
  background: var(--iri);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: iri 7s linear infinite;
}
[data-theme="colorful"] .belief__caret {
  background: #ff7ad1;
}

.belief__rule {
  margin: 56px auto 0;
  display: flex; align-items: center; justify-content: center; gap: 14px;
}
.belief__rule span {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--rule-dot);
  opacity: .3;
}
.belief__rule span:nth-child(3) { opacity: 1; transform: scale(1.4); }

/* ============================================================
   WHY NOW
   ============================================================ */
.whynow {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(60px, 10vw, 140px) 0;
}
.whynow__lead {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(28px, 4.2vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
  max-width: 1100px;
}
.whynow__lead em { font-style: italic; }
.whynow__lead .whynow__answer {
  display: block;
  margin-top: 8px;
  color: var(--strike);
  font-style: italic;
}
[data-theme="colorful"] .whynow__lead .whynow__answer {
  background: var(--iri);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: iri 7s linear infinite;
}
.whynow__lead--secondary {
  color: var(--ink-soft);
  font-size: clamp(22px, 3vw, 40px);
  line-height: 1.25;
  margin-left: auto;
  max-width: 880px;
  text-align: right;
}
.whynow__rule {
  margin: clamp(40px, 5vw, 64px) 0;
  display: flex; align-items: center; gap: 14px;
}
.whynow__rule span {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--rule-dot);
  opacity: .35;
}
.whynow__rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
  margin-left: 12px;
}

/* ============================================================
   INTERESTS
   ============================================================ */
.interests {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(60px, 10vw, 140px) 0;
}
.interests__list {
  list-style: none;
  margin: clamp(40px, 5vw, 64px) 0 clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.interests__list li {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: baseline;
  gap: 24px;
  padding: clamp(18px, 2.4vw, 28px) 0;
  border-bottom: 1px solid var(--line);
  transition: padding .5s var(--t), background .5s var(--t);
  cursor: default;
}
.interests__list li:hover { padding-left: 16px; padding-right: 16px; background: var(--bg-2); }
.interests__list li:hover .topic { font-style: italic; letter-spacing: -0.02em; }
.interests__list .num {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--muted);
}
.interests__list .topic {
  font-family: var(--f-display);
  font-size: clamp(36px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: font-style .4s var(--t), letter-spacing .4s var(--t);
}
[data-theme="colorful"] .interests__list li:nth-child(2n) .topic em,
[data-theme="colorful"] .interests__list li:hover .topic {
  background: var(--iri);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: iri 7s linear infinite;
}
.interests__list .trail {
  width: 80px; height: 1px;
  background: var(--line);
  position: relative;
}
.interests__list .trail::after {
  content: ""; position: absolute; right: 0; top: -2px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
}
.interests__foot {
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--muted);
  max-width: 700px;
  text-wrap: pretty;
}

/* ============================================================
   TWO VISIONS
   ============================================================ */
.vision {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(60px, 10vw, 140px) 0;
}
.vision__split {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: clamp(28px, 5vw, 80px);
  margin-top: clamp(20px, 3vw, 40px);
}
@media (max-width: 800px) {
  .vision__split { grid-template-columns: 1fr; }
  .vision__divider { display: none; }
}
.vision__divider { background: var(--line); }
.vision__tag {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  width: 100%;
}
.vision__tag span {
  color: var(--ink);
  font-family: var(--f-display);
  font-style: italic;
  font-size: 22px;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1;
}
.vision__tag--bright span { color: var(--strike); }
[data-theme="colorful"] .vision__tag--bright span {
  background: var(--iri);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: iri 7s linear infinite;
}
.vision__h {
  font-family: var(--f-display);
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--ink);
  text-wrap: balance;
}
.vision__h em { font-style: italic; }
.vision__h--muted { color: var(--muted); }
.vision__h--muted em { color: var(--ink-soft); }
.vision__body {
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 540px;
  text-wrap: pretty;
}
.vision__close {
  margin-top: clamp(48px, 6vw, 80px);
  font-family: var(--f-display);
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.25;
  text-align: center;
  color: var(--ink);
  text-wrap: balance;
}
.vision__close em {
  display: inline-block;
  margin-top: 6px;
}
[data-theme="colorful"] .vision__close em {
  background: var(--iri);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: iri 7s linear infinite;
}

/* ============================================================
   SELECTED SYSTEMS
   ============================================================ */
.systems {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(60px, 10vw, 140px) 0;
}
.systems__list {
  list-style: none;
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.system {
  border-bottom: 1px solid var(--line);
  position: relative;
}
.system__link {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: clamp(20px, 3vw, 56px);
  padding: clamp(28px, 4vw, 48px) clamp(0px, 1vw, 16px);
  text-decoration: none;
  color: inherit;
  transition: background .4s var(--t), padding .4s var(--t);
  position: relative;
}
.system__link:hover {
  background: var(--bg-2);
  padding-left: 16px; padding-right: 16px;
}
[data-theme="colorful"] .system::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  height: 1px;
  width: 0;
  background: var(--iri);
  background-size: 200% 100%;
  transition: width .6s var(--t);
}
[data-theme="colorful"] .system:hover::after { width: 100%; animation: iri 7s linear infinite; }

.system__num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 14px;
  align-self: start;
}
.system__head {
  display: flex; align-items: baseline; gap: 18px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.system__name {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: letter-spacing .4s var(--t), font-style .4s var(--t);
}
.system:hover .system__name {
  font-style: italic;
  letter-spacing: -0.025em;
}
.system__domain {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--bg-2);
  transition: color .3s var(--t), border-color .3s var(--t);
}
.system:hover .system__domain {
  color: var(--ink);
  border-color: var(--ink-soft);
}
.system__tag {
  font-family: var(--f-display);
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.25;
  color: var(--strike);
  margin-bottom: 18px;
}
.system__tag em { font-style: italic; }
[data-theme="colorful"] .system__tag {
  background: var(--iri);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: iri 7s linear infinite;
}
.system__desc {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 760px;
  text-wrap: pretty;
  margin-bottom: 20px;
}
.system__themes {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.system__themes li {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 5px 9px;
  background: transparent;
  transition: border-color .3s var(--t), color .3s var(--t);
}
.system:hover .system__themes li {
  border-color: var(--line-soft);
  color: var(--ink-soft);
}

@media (max-width: 700px) {
  .system__link { grid-template-columns: 1fr; }
  .system__num { padding-top: 0; }
}

/* ============================================================
   APPROACH
   ============================================================ */
.approach {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(60px, 10vw, 140px) 0;
}
.approach__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  margin-top: clamp(20px, 3vw, 40px);
}
@media (max-width: 900px) {
  .approach__grid { grid-template-columns: 1fr; }
}
.approach__lead p {
  margin-top: 28px;
  max-width: 540px;
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--ink-soft);
  line-height: 1.55;
  text-wrap: pretty;
}
.approach__meta {
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: clamp(20px, 2.4vw, 36px);
  align-self: start;
  position: relative;
}
.approach__meta::before {
  content: "01 ÷ 06";
  position: absolute;
  top: -10px;
  left: 16px;
  background: var(--bg);
  padding: 0 8px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--muted);
  text-transform: uppercase;
}
[data-theme="colorful"] .approach__meta {
  background: linear-gradient(180deg, rgba(28,24,48,.4), rgba(7,6,14,.2));
}
.approach__meta dl { display: grid; gap: 18px; }
.approach__meta dl > div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line-soft);
}
.approach__meta dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.approach__meta dt {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 3px;
}
.approach__meta dd {
  font-family: var(--f-display);
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.2;
  color: var(--ink);
}

/* ============================================================
   PRINCIPLES
   ============================================================ */
.principles {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(60px, 10vw, 140px) 0;
}
.principles__list {
  list-style: none;
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.principle {
  display: grid;
  grid-template-columns: 80px 1fr 100px;
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
  padding: clamp(28px, 4vw, 48px) clamp(0px, 1vw, 16px);
  border-bottom: 1px solid var(--line);
  transition: background .4s var(--t), padding .4s var(--t);
  position: relative;
}
.principle:hover {
  background: var(--bg-2);
  padding-left: 16px; padding-right: 16px;
}
[data-theme="colorful"] .principle::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  height: 1px;
  width: 0;
  background: var(--iri);
  background-size: 200% 100%;
  transition: width .6s var(--t);
}
[data-theme="colorful"] .principle:hover::after { width: 100%; animation: iri 7s linear infinite; }

.principle__num {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(36px, 4.5vw, 64px);
  color: var(--muted);
  line-height: 1;
}
.principle__body h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.05;
  letter-spacing: -.01em;
  margin-bottom: 12px;
  color: var(--ink);
}
.principle__body p {
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--ink-soft);
  max-width: 620px;
  line-height: 1.55;
  text-wrap: pretty;
}
.principle__glyph {
  width: 60px; height: 60px;
  color: var(--ink);
  align-self: center;
  justify-self: end;
  opacity: .85;
}
.principle__glyph svg { width: 100%; height: 100%; }
[data-theme="colorful"] .principle__glyph { color: var(--accent); }

@media (max-width: 700px) {
  .principle { grid-template-columns: 50px 1fr; }
  .principle__glyph { display: none; }
}

/* ============================================================
   CLOSING / FORWARD
   ============================================================ */
.closing {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(100px, 14vw, 200px) 0 clamp(80px, 10vw, 160px);
  text-align: center;
}
.closing .section-label { justify-content: center; border-bottom: 0; padding: 0; margin-bottom: 48px; }
.closing__title {
  position: relative;
  z-index: 2;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(30px, 4.4vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
  color: var(--ink-soft);
}
.closing__title span { display: block; }
.closing__title em { font-style: italic; color: var(--ink); }
.closing__verbs em { color: var(--strike); }
[data-theme="colorful"] .closing__verbs em {
  background: var(--iri);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: iri 7s linear infinite;
}

/* the hammer — punchier final line */
.closing__hammer {
  position: relative;
  z-index: 2;
  margin: clamp(40px, 6vw, 88px) auto 0;
  max-width: 1200px;
}
.closing__amp {
  display: block;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 28px;
  color: var(--muted);
  margin-bottom: 24px;
}
.closing__hammer p {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(40px, 6.2vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}
.closing__hammer em { font-style: italic; color: var(--strike); }
[data-theme="colorful"] .closing__hammer em {
  background: var(--iri);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: iri 7s linear infinite;
}
.closing__signoff {
  position: relative; z-index: 2;
  margin-top: clamp(40px, 6vw, 72px);
}
.closing__signoff .kbd {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding-top: 14px;
  min-width: 120px;
}
.closing__orb {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
.closing__orb canvas {
  width: clamp(340px, 50vw, 600px);
  height: clamp(340px, 50vw, 600px);
  opacity: .35;
}
.orb-halo--small { width: 80%; height: 80%; }

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 64px) 0 clamp(20px, 3vw, 32px);
  border-top: 1px solid var(--line);
}
.foot__cols {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(40px, 6vw, 64px);
}
@media (max-width: 800px) { .foot__cols { grid-template-columns: 1fr 1fr; } }
.foot__mark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-size: 22px; color: var(--ink); }
.foot__motto {
  margin-top: 18px;
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 26px);
  color: var(--ink-soft);
  line-height: 1.25;
  max-width: 340px;
  text-wrap: balance;
}
.foot__label {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.foot__col ul { list-style: none; display: grid; gap: 8px; }
.foot__col li {
  font-family: var(--f-display);
  font-size: clamp(17px, 1.3vw, 21px);
  color: var(--ink);
  line-height: 1.2;
}
.foot__col a {
  position: relative;
  transition: color .3s var(--t);
}
.foot__col a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px;
  background: currentColor; opacity: .25;
  transition: opacity .3s var(--t);
}
.foot__col a:hover::after { opacity: 1; }

.foot__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: clamp(16px, 2vw, 24px);
  border-top: 1px solid var(--line-soft);
}

/* ============================================================
   reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
