:root {
  color-scheme: dark;
  --black: #020106;
  --panel: rgba(33, 11, 58, 0.72);
  --panel-strong: rgba(42, 14, 75, 0.94);
  --line: rgba(202, 177, 255, 0.18);
  --text: #f7f4ff;
  --muted: rgba(247, 244, 255, 0.68);
  --purple: #7c3cff;
  --royal: #4b0082;
  --violet: #a78bfa;
  --deep-violet: #17002f;
  --silver: #d8d8e2;
  --mint: #8fffd0;
  --amber: #ffd27d;
  --danger: #ff7c9a;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
  --header-h: 64px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #07000f;
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(115deg, rgba(75, 0, 130, 0.62) 0%, rgba(18, 0, 38, 0.86) 32%, rgba(2, 1, 6, 0.98) 62%),
    radial-gradient(circle at 50% 0%, rgba(124, 60, 255, 0.44), transparent 35rem),
    radial-gradient(circle at 82% 24%, rgba(75, 0, 130, 0.4), transparent 30rem),
    linear-gradient(180deg, #120028 0%, #05020d 48%, #090014 100%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.4) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(167, 139, 250, 0.54) 0 1px, transparent 1.5px),
    linear-gradient(90deg, rgba(124, 60, 255, 0.08) 1px, transparent 1px);
  background-position:
    0 0,
    34px 48px,
    0 0;
  background-size:
    180px 180px,
    260px 260px,
    84px 100%;
  opacity: 0.34;
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(202, 177, 255, 0.14);
  background: linear-gradient(90deg, rgba(22, 0, 45, 0.78), rgba(2, 1, 6, 0.66));
  backdrop-filter: blur(22px) saturate(150%);
}

.brand,
.nav-links,
.button-row,
.column-title,
.coffee-tabs {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: linear-gradient(135deg, #8f5bff 0%, #4b0082 58%, #120020 100%);
  box-shadow: 0 10px 30px rgba(124, 60, 255, 0.46);
}

.nav-links {
  gap: clamp(14px, 3vw, 34px);
  color: rgba(247, 244, 255, 0.78);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--text);
}

.icon-action,
.icon-button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.icon-button {
  padding: 0;
}

.icon-action:hover,
.icon-button:hover {
  border-color: rgba(167, 139, 250, 0.55);
  background: rgba(109, 54, 255, 0.2);
  transform: translateY(-1px);
}

.icon-action svg,
.icon-button svg,
.signal-card svg,
.column-title svg,
.primary-link svg,
.ghost-link svg {
  width: 18px;
  height: 18px;
}

.section-band {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h) + 42px) clamp(18px, 6vw, 88px) 72px;
}

.hero {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding-top: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(124, 60, 255, 0.24), transparent 34rem),
    linear-gradient(100deg, rgba(75, 0, 130, 0.2), transparent 42%),
    linear-gradient(180deg, transparent 0%, rgba(31, 0, 61, 0.24) 100%);
}

.name-stage,
.section-copy h2,
.section-heading h2 {
  margin: 0;
  line-height: 0.92;
  letter-spacing: 0;
}

.name-stage {
  display: grid;
  width: min(92vw, 1180px);
  min-height: clamp(170px, 30vw, 360px);
  align-content: center;
  gap: clamp(18px, 2.5vw, 30px);
  place-items: center;
  text-align: center;
}

.name-stage h1 {
  margin: 0;
}

.name-word {
  --font: "Segoe UI Light", "Helvetica Neue", "Helvetica Neue LT Pro", Arial, sans-serif;
  --size: clamp(70px, 14vw, 196px);
  --weight: 100;
  --style: normal;
  --tracking: 0.16em;
  --skew: 0deg;
  --stretch: 1;
  --rotate: 0deg;
  --gradient: linear-gradient(90deg, #fbf9ff, #d5c3ff 58%, #b996ff);
  --stroke: 0 rgba(255, 255, 255, 0);
  --shadow: 0 20px 66px rgba(124, 60, 255, 0.2);
  --filter: none;
  --underline: rgba(202, 177, 255, 0.18);
  position: relative;
  display: inline-block;
  max-width: 100%;
  padding: 0 0 0.09em 0.16em;
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-family: var(--font);
  font-size: var(--size);
  font-style: var(--style);
  font-weight: var(--weight);
  letter-spacing: var(--tracking);
  line-height: 0.9;
  text-shadow: var(--shadow);
  filter: var(--filter);
  -webkit-text-stroke: var(--stroke);
  transform: skewX(var(--skew)) scaleX(var(--stretch)) rotate(var(--rotate));
  will-change: transform;
}



.section-copy h2,
.section-heading h2 {
  max-width: 980px;
  font-size: clamp(38px, 7vw, 86px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-lede,
.section-copy p,
.section-heading + p {
  max-width: min(650px, 100%);
  color: var(--muted);
  font-size: clamp(17px, 1.72vw, 21px);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.hero-actions,
.button-row {
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.primary-link,
.ghost-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.primary-link {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, #9868ff 0%, #6f22ff 38%, #4b0082 100%);
  box-shadow: 0 16px 48px rgba(124, 60, 255, 0.48);
}

.ghost-link {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.primary-link:hover,
.ghost-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.26);
}

.hero-panel,
.design-content,
.meal-board,
.coffee-board {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(151, 103, 255, 0.16), rgba(75, 0, 130, 0.16)),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(26px) saturate(140%);
}

.ai-layout,
.health-layout,
.cycling-layout,
.memory-layout {
  display: grid;
  gap: 18px;
}

.ai-layout { grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr); }
.health-layout { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }

.ai-priority,
.ai-feed,
.home-card,
.cycling-panel,
.memory-layout,
.destiny-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(140%);
}

.ai-priority,
.ai-feed,
.cycling-panel,
.destiny-card { padding: clamp(14px, 2vw, 20px); }

.ai-link-card,
.ai-news-item,
.route-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 70px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.ai-link-card + .ai-link-card,
.ai-news-item + .ai-news-item { margin-top: 10px; }
.ai-link-card:hover,
.ai-news-item:hover,
.route-card:hover { border-color: rgba(143, 255, 208, 0.45); background: rgba(255, 255, 255, 0.09); transform: translateY(-2px); }
.ai-link-index,
.ai-news-index { color: var(--mint); font-weight: 800; }
.ai-link-card strong,
.ai-news-item strong,
.ai-news-item span { display: block; }
.ai-link-card small,
.ai-news-item span { margin-top: 4px; color: var(--muted); }
.ai-link-card svg,
.ai-news-item svg { width: 17px; height: 17px; color: var(--mint); }
.ai-news-list { display: grid; gap: 10px; }
.ai-news-item { margin: 0; }
.live-dot { color: var(--mint); font-size: 10px; letter-spacing: 0.14em; }

.home-section { grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr); }
.home-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-content: center; }
.home-card { display: block; min-height: 190px; padding: 18px; color: inherit; }
.home-card-top { display: flex; align-items: center; justify-content: space-between; color: var(--mint); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; }
.home-card-top svg { width: 19px; height: 19px; }
.home-card strong { display: block; margin-top: 54px; font-size: 20px; }
.home-card > span { display: block; margin-top: 8px; color: var(--muted); line-height: 1.5; }
.home-card small { display: block; margin-top: 18px; color: var(--amber); }

.design-branches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.branch-card { position: relative; min-height: 208px; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,0.055); color: inherit; transition: transform 180ms ease, border-color 180ms ease; }
.branch-card:hover { transform: translateY(-3px); border-color: rgba(143,255,208,0.45); }
.branch-icon { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--mint); }
.branch-icon svg { width: 18px; height: 18px; }
.branch-card strong { display: block; margin-top: 60px; font-size: 19px; }
.branch-card span { display: block; margin-top: 7px; color: var(--muted); line-height: 1.45; }
.branch-arrow { position: absolute; top: 18px; right: 18px; width: 17px; height: 17px; color: var(--mint); }

.cycling-panel { margin-top: 18px; }
.cycling-layout { grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr); }
.cycling-globe-wrap,
.memory-globe-wrap { position: relative; min-height: 380px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: radial-gradient(circle at center, rgba(48, 129, 147, 0.2), transparent 58%), rgba(0,0,0,0.2); }
#cyclingGlobe,
#memoryGlobe { display: block; width: 100%; height: 100%; min-height: 380px; cursor: grab; }
#cyclingGlobe:active,
#memoryGlobe:active { cursor: grabbing; }
.globe-hint { position: absolute; right: 14px; bottom: 12px; color: var(--muted); font-size: 11px; }
.route-list { display: grid; gap: 10px; align-content: start; }
.route-card { grid-template-columns: minmax(0, 1fr) 34px; min-height: 82px; }
.route-card strong,
.route-card span { display: block; }
.route-card strong { margin: 5px 0; font-size: 17px; }
.route-card span:last-child { color: var(--muted); font-size: 13px; }
.route-status { color: var(--amber); font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.route-card.is-complete { border-color: rgba(143,255,208,0.55); background: rgba(143,255,208,0.1); }
.route-card button { display: grid; width: 30px; height: 30px; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.route-card.is-complete button { color: var(--mint); }
.route-card button svg { width: 21px; height: 21px; }

.memory-layout { grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr); padding: 18px; }
.memory-side { padding: 12px 8px; }
.memory-side p { color: var(--muted); line-height: 1.65; }
.memory-empty { position: absolute; top: 50%; left: 50%; display: grid; gap: 8px; place-items: center; color: var(--muted); text-align: center; transform: translate(-50%, -50%); }
.memory-empty svg { width: 28px; height: 28px; color: var(--mint); }
.memory-empty small { color: rgba(247,244,255,0.42); white-space: nowrap; }
.memory-schema { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.memory-schema span { padding: 5px 8px; border: 1px solid var(--line); border-radius: 5px; color: var(--violet); font-size: 11px; }

.destiny-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.destiny-card strong,
.destiny-card span { display: block; }
.destiny-card span { margin-top: 7px; color: var(--muted); }

.site-header-minimal { background: rgba(7, 0, 15, 0.42); }
.directory-section { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(260px, 1.1fr); gap: clamp(28px, 8vw, 120px); align-items: center; min-height: 46svh; padding: 72px clamp(18px, 8vw, 120px); border-top: 1px solid rgba(202,177,255,0.13); }
.directory-section h2 { margin: 0; font-size: clamp(54px, 10vw, 128px); line-height: .9; }
.directory-lede { max-width: 420px; margin: 24px 0 0; color: var(--muted); font-size: 18px; line-height: 1.6; }
.directory-links { display: grid; gap: 8px; }
.directory-links a, .directory-open { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; padding: 0 18px; border-bottom: 1px solid var(--line); color: inherit; }
.directory-links a span, .directory-links a small { display: block; }
.directory-links a span { font-weight: 800; letter-spacing: .08em; }
.directory-links a small { margin-left: auto; color: var(--muted); }
.directory-links svg, .directory-open svg { width: 18px; height: 18px; color: var(--mint); }
.directory-open { max-width: 420px; border: 1px solid var(--line); border-radius: 8px; font-weight: 800; transition: transform 180ms ease, border-color 180ms ease; }
.directory-open:hover { transform: translateX(4px); border-color: rgba(143,255,208,.5); }

.subpage { min-height: 100svh; padding: 120px clamp(18px, 8vw, 120px) 90px; }
.subpage-head { max-width: 900px; margin-bottom: 80px; }
.subpage-head h1 { margin: 0; font-size: clamp(58px, 11vw, 150px); line-height: .9; }
.subpage-head p:last-child { max-width: 620px; margin-top: 26px; color: var(--muted); font-size: 19px; line-height: 1.6; }
.subsection { margin-top: 70px; }
.subsection-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.subsection-head span { color: var(--mint); font-size: 12px; font-weight: 800; }
.subsection-head h2 { margin: 0; font-size: clamp(28px, 4vw, 48px); }
.reference-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.reference-grid > * { min-height: 150px; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.045); }
.reference-grid strong, .reference-grid span { display: block; }
.reference-grid strong { margin-top: 58px; font-size: 18px; }
.reference-grid span { margin-top: 7px; color: var(--muted); line-height: 1.4; }
.subpage-note { color: var(--muted); line-height: 1.6; }
.memory-subpage .memory-layout { max-width: 1180px; margin-top: 0; }

@media (max-width: 980px) {
  .directory-section { grid-template-columns: 1fr; min-height: auto; padding-top: 64px; padding-bottom: 64px; }
  .reference-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .nav-links { gap: 10px; font-size: 10px; }
  .site-header-minimal .brand span:last-child { display: none; }
  .directory-section h2 { font-size: clamp(56px, 19vw, 96px); }
  .directory-links a { min-height: 62px; padding: 0 8px; }
  .directory-links a small { font-size: 11px; }
  .subpage { padding: 92px 16px 64px; }
  .subpage-head { margin-bottom: 54px; }
  .reference-grid { grid-template-columns: 1fr; }
}

.hero-panel {
  padding: clamp(12px, 2vw, 18px);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.signal-card {
  min-height: 154px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at top right, rgba(167, 139, 250, 0.32), transparent 55%),
    linear-gradient(145deg, rgba(75, 0, 130, 0.34), rgba(0, 0, 0, 0.22));
  transition:
    transform 220ms ease,
    background 220ms ease,
    border-color 220ms ease;
}

.signal-card:hover {
  border-color: rgba(167, 139, 250, 0.5);
  background:
    radial-gradient(circle at top right, rgba(143, 255, 208, 0.18), transparent 55%),
    rgba(124, 60, 255, 0.26);
  transform: translateY(-4px);
}

.signal-card span,
.signal-card strong {
  display: block;
}

.signal-card span {
  margin-top: 52px;
  color: var(--muted);
  font-size: 14px;
}

.signal-card strong {
  margin-top: 6px;
  font-size: 20px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 860px);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  justify-content: center;
}

.metric-list {
  display: grid;
  gap: 12px;
}

.metric-list article,
.meal-list article,
.work-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.metric-list article,
.meal-list article {
  padding: 18px;
}

.metric-list span,
.meal-list span,
.work-card span {
  color: var(--muted);
}

.metric-list strong,
.metric-list span,
.meal-list strong,
.meal-list span {
  display: block;
}

.metric-list strong,
.meal-list strong {
  margin-top: 5px;
}

.section-heading {
  margin-bottom: clamp(28px, 6vw, 56px);
}

.coffee-tabs button {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
}

.coffee-tabs button.active {
  background: rgba(255, 255, 255, 0.14);
  color: var(--text);
}

.fitness-section {
  padding-top: clamp(72px, 10vw, 132px);
}

.fitness-board {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(14px, 2vw, 20px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(143, 255, 208, 0.08), rgba(75, 0, 130, 0.16)),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(26px) saturate(140%);
}

.fitness-subtabs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.fitness-mode {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  margin-bottom: 12px;
  color: var(--text);
  font-weight: 800;
}

.fitness-mode svg {
  width: 19px;
  height: 19px;
  color: var(--mint);
}

.fitness-subtabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.fitness-subtabs button.active {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.13);
  color: var(--text);
}

.fitness-subtabs {
  width: fit-content;
  margin-bottom: 12px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.fitness-list {
  display: grid;
  gap: 10px;
}

.fitness-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 82px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.fitness-index {
  color: var(--mint);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.fitness-card strong,
.fitness-card span {
  display: block;
}

.fitness-card strong {
  font-size: 17px;
}

.fitness-card div span {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.fitness-card small {
  color: var(--amber);
  font-weight: 700;
  white-space: nowrap;
}

.design-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: clamp(14px, 2vw, 18px);
}

.column-title {
  justify-content: space-between;
  min-height: 42px;
  margin-bottom: 12px;
  color: var(--text);
  font-weight: 800;
}

.work-grid,
.meal-list,
.coffee-list {
  display: grid;
  gap: 12px;
}

.work-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.work-card {
  position: relative;
  overflow: hidden;
  min-height: 188px;
  padding: 18px;
  isolation: isolate;
  color: inherit;
  text-decoration: none;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.work-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(135deg, rgba(143, 255, 208, 0.1), transparent 45%),
    radial-gradient(circle at 82% 18%, var(--card-glow, rgba(109, 54, 255, 0.34)), transparent 34%),
    rgba(255, 255, 255, 0.045);
}

.work-card strong,
.work-card span {
  display: block;
}

.work-card strong {
  margin-top: 78px;
  font-size: 23px;
}

.work-card span {
  margin-top: 8px;
  line-height: 1.45;
}

.work-card[href]::after {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--mint);
  content: "↗";
}

.work-card[href]:hover {
  border-color: rgba(247, 244, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 80;
  background:
    radial-gradient(circle at 50% 50%, rgba(31, 0, 61, 0.92), #000 72%),
    #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 640ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.transition-to-black .page-transition {
  opacity: 1;
}

body.transition-to-wood .page-transition {
  background:
    radial-gradient(circle at 50% 44%, rgba(178, 107, 50, 0.76), transparent 32rem),
    linear-gradient(135deg, #2a1308 0%, #8a4b23 48%, #c58a55 100%);
  opacity: 1;
}

body.minigt-active {
  background: #000;
}

body.minigt-active::before {
  background:
    radial-gradient(circle at 52% 52%, rgba(60, 60, 66, 0.18), transparent 34rem),
    linear-gradient(180deg, #050505 0%, #000 100%);
}

body.minigt-active::after {
  opacity: 0.1;
}

body.muji-active {
  background: #2a1308;
  color: #fff6ea;
}

body.muji-active::before {
  background:
    linear-gradient(96deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 18px),
    radial-gradient(circle at 16% 20%, rgba(198, 132, 78, 0.28), transparent 28rem),
    radial-gradient(circle at 82% 64%, rgba(99, 48, 20, 0.34), transparent 30rem),
    linear-gradient(135deg, #211006 0%, #5a2d14 42%, #a16535 100%);
}

body.muji-active::after {
  background-image:
    repeating-linear-gradient(92deg, rgba(255, 236, 203, 0.08) 0 1px, transparent 1px 38px),
    repeating-linear-gradient(7deg, rgba(79, 35, 13, 0.14) 0 1px, transparent 1px 26px);
  opacity: 0.34;
}

.project-body {
  overflow-x: hidden;
}

.project-page {
  position: relative;
  min-height: 100svh;
  padding: 104px clamp(18px, 6vw, 88px) 72px;
}

.minigt-page {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(320px, 1.3fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
  background:
    radial-gradient(circle at 70% 46%, rgba(255, 255, 255, 0.13), transparent 30rem),
    linear-gradient(180deg, rgba(0, 0, 0, 0.94), #000);
  color: #f7f7fb;
  overflow: hidden;
}

.muji-page {
  display: grid;
  grid-template-columns: minmax(0, 920px);
  align-items: center;
  justify-content: start;
  background:
    linear-gradient(100deg, rgba(255, 246, 234, 0.08) 0 1px, transparent 1px 24px),
    radial-gradient(circle at 76% 38%, rgba(255, 205, 145, 0.2), transparent 28rem),
    linear-gradient(135deg, rgba(42, 19, 8, 0.96), rgba(126, 70, 33, 0.94) 58%, rgba(194, 132, 82, 0.9));
  color: #fff6ea;
  overflow: hidden;
}

.muji-page .project-copy {
  max-width: 920px;
}

.muji-page .project-copy p {
  color: rgba(255, 246, 234, 0.7);
}

.muji-page .project-back {
  background: rgba(255, 246, 234, 0.08);
  color: rgba(255, 246, 234, 0.74);
  border-color: rgba(255, 238, 211, 0.18);
}

.no-project-image .minigt-page {
  grid-template-columns: minmax(0, 920px);
  justify-content: start;
  align-items: center;
}

.no-project-image .project-copy {
  max-width: 920px;
}

.minigt-immersive {
  background: #000;
}

.minigt-immersive .project-page {
  isolation: isolate;
}

.minigt-immersive .project-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.minigt-immersive .project-copy .eyebrow {
  margin-bottom: 22px;
  color: rgba(203, 190, 220, 0.58);
}

.minigt-immersive .project-copy h1 {
  max-width: 7em;
  font-size: clamp(42px, 5.5vw, 86px);
  letter-spacing: -0.045em;
}

.minigt-immersive .project-copy p:not(.eyebrow) {
  max-width: 520px;
  margin: 30px 0 0;
  color: rgba(247, 247, 251, 0.62);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.65;
}

.minigt-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 560px;
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.minigt-specs div {
  display: grid;
  gap: 7px;
}

.minigt-specs strong {
  color: #f4f0fa;
  font-size: clamp(14px, 1.15vw, 17px);
  font-weight: 700;
  white-space: nowrap;
}

.minigt-specs span {
  color: rgba(247, 247, 251, 0.43);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.minigt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.minigt-reset,
.minigt-download {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(247, 247, 251, 0.82);
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.minigt-reset:hover,
.minigt-download:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.minigt-reset svg,
.minigt-download svg {
  width: 16px;
  height: 16px;
}

.minigt-stage {
  position: relative;
  min-height: min(78vh, 760px);
  overflow: hidden;
  opacity: 0;
  transform: scale(0.97);
  animation: minigtStageIn 1200ms 180ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.minigt-stage::before {
  position: absolute;
  top: 14%;
  right: 6%;
  bottom: 12%;
  left: 4%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(130, 109, 148, 0.2), transparent 66%);
  filter: blur(28px);
  content: "";
}

.stage-caption {
  position: absolute;
  top: 13%;
  right: 4%;
  left: 4%;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  color: rgba(247, 247, 251, 0.35);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.16em;
}

.minigt-stage model-viewer {
  position: absolute;
  inset: 9% 0 7%;
  z-index: 2;
  width: 100%;
  height: 84%;
  --poster-color: transparent;
  --progress-bar-color: #a78bfa;
  --progress-mask: transparent;
  background: transparent;
  filter: drop-shadow(0 34px 36px rgba(0, 0, 0, 0.88));
}

.model-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  color: rgba(247, 247, 251, 0.54);
  font-size: 12px;
  letter-spacing: 0.12em;
  transform: translate(-50%, -50%);
}

.stage-floor {
  position: absolute;
  right: 12%;
  bottom: 15%;
  left: 12%;
  height: 17%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.04) 42%, transparent 72%);
  filter: blur(14px);
  transform: rotateX(72deg);
}

.stage-note {
  position: absolute;
  right: 4%;
  bottom: 13%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(247, 247, 251, 0.42);
  font-size: 11px;
}

.stage-note svg {
  width: 15px;
  height: 15px;
}

@keyframes minigtStageIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.project-back {
  position: absolute;
  top: calc(var(--header-h) + 18px);
  left: clamp(18px, 6vw, 88px);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(247, 247, 251, 0.72);
  font-weight: 800;
}

.project-back svg {
  width: 17px;
  height: 17px;
}

.project-copy {
  max-width: 560px;
  opacity: 0;
  transform: translateY(18px);
  animation: minigtTextIn 900ms 360ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.project-copy h1,
.project-copy h2 {
  margin: 0;
  font-size: clamp(40px, 6vw, 92px);
  line-height: 0.95;
}

.project-copy p:not(.eyebrow) {
  color: rgba(247, 247, 251, 0.62);
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.7;
}

.project-visual {
  position: relative;
  min-height: min(72vh, 760px);
}

.project-visual::before {
  position: absolute;
  inset: 18% 12% 6%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.13), transparent 68%);
  filter: blur(18px);
  content: "";
  opacity: 0;
  animation: minigtGlowIn 1600ms 580ms ease forwards;
}

.project-visual img {
  position: absolute;
  right: -5%;
  top: 50%;
  width: min(72vw, 980px);
  max-width: none;
  height: auto;
  filter: drop-shadow(0 36px 90px rgba(0, 0, 0, 0.9));
  opacity: 0;
  transform: translateY(-45%) scale(0.92) rotate(-2deg);
  animation: minigtProductIn 1500ms 320ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes minigtProductIn {
  to {
    opacity: 1;
    transform: translateY(-50%) scale(1) rotate(0deg);
  }
}

@keyframes minigtTextIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes minigtGlowIn {
  to {
    opacity: 1;
  }
}

/* Scroll-led product view for the isolated eight-grid model. */
.minigt-scroll-page {
  min-height: 100vh;
  overflow-x: hidden;
  background: #000;
}

.minigt-scroll-page,
.minigt-scroll,
.minigt-pin,
.minigt-products {
  background: #000;
}

.minigt-scroll-page::before {
  background: #000;
}

.minigt-scroll-page::after {
  display: none;
}

.minigt-scroll {
  position: relative;
  height: auto;
}

.minigt-pin {
  position: relative;
  display: grid;
  width: 100%;
  height: 170svh;
  min-height: 960px;
  place-items: center;
  overflow: visible;
}

.minigt-pin::before {
  display: none;
}

.minigt-pin .project-back {
  top: 30px;
  left: clamp(18px, 4vw, 60px);
  z-index: 5;
}

.minigt-copy {
  position: absolute;
  top: 50%;
  left: clamp(18px, 5.2vw, 104px);
  z-index: 4;
  width: min(38vw, 700px);
  transform: translateY(-50%);
  transition: transform 120ms linear;
}

.minigt-copy .eyebrow {
  margin: 0 0 26px;
  color: var(--violet);
  font-size: clamp(12px, 1.15vw, 18px);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.minigt-copy h1 {
  max-width: 8em;
  margin: 0;
  color: #f7f7fb;
  font-size: clamp(42px, 6.3vw, 116px);
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.minigt-copy > p:last-child {
  max-width: 690px;
  margin: 38px 0 0;
  color: rgba(247, 247, 251, 0.62);
  font-size: clamp(17px, 1.65vw, 30px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.7;
}

.minigt-model-wrap {
  position: absolute;
  top: 70vh;
  left: 50%;
  z-index: 2;
  display: grid;
  width: min(50vw, 760px);
  height: min(50vw, 760px);
  min-width: 340px;
  min-height: 340px;
  place-items: center;
  opacity: 0;
  transform: translate(-50%, 32px) scale(0.92);
  transition: opacity 120ms linear, transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.minigt-model-wrap::after {
  display: none;
}

.minigt-model-wrap model-viewer {
  width: 100%;
  height: 100%;
  --poster-color: transparent;
  --progress-bar-color: #a78bfa;
  background: transparent;
  filter: none;
}

.minigt-products {
  position: relative;
  z-index: 3;
  min-height: 70vh;
  padding: 11vh clamp(18px, 7vw, 120px) 18vh;
  background: #000;
}

.minigt-products-heading {
  max-width: 680px;
  margin-bottom: 42px;
}

.minigt-products-heading .eyebrow {
  margin: 0 0 18px;
  color: var(--violet);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.minigt-products-heading h2 {
  margin: 0;
  color: #f7f7fb;
  font-size: clamp(42px, 6vw, 86px);
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.minigt-product-list {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.minigt-product-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(120px, 0.35fr) 24px;
  gap: 20px;
  align-items: center;
  min-height: 104px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(247, 247, 251, 0.68);
  transition: color 180ms ease, padding 240ms ease, background 180ms ease;
}

.minigt-product-item:hover,
.minigt-product-item.is-current {
  padding-right: 10px;
  padding-left: 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.045);
}

.product-index,
.product-type {
  color: rgba(247, 247, 251, 0.38);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-name {
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 700;
}

.minigt-product-item svg {
  width: 18px;
  height: 18px;
  color: var(--violet);
}

@keyframes minigtModelReveal {
  to {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

@media (max-width: 720px) {
  .minigt-scroll {
    height: auto;
  }

  .minigt-pin {
    height: 145svh;
    min-height: 800px;
  }

  .minigt-model-wrap {
    top: 53vh;
    left: 50%;
    width: min(88vw, 620px);
    height: min(88vw, 620px);
    min-width: 280px;
    min-height: 280px;
    margin-top: 0;
  }

  .minigt-pin .project-back {
    top: 18px;
  }

  .minigt-copy {
    top: 94px;
    left: 16px;
    width: calc(100% - 32px);
    transform: none;
  }

  .minigt-products {
    min-height: 68vh;
    padding: 10vh 16px 14vh;
  }

  .minigt-products-heading {
    margin-bottom: 28px;
  }

  .minigt-product-item {
    grid-template-columns: 36px minmax(0, 1fr) 18px;
    gap: 9px;
    min-height: 86px;
  }

  .product-type {
    display: none;
  }

  .product-name {
    font-size: 16px;
  }

  .minigt-copy .eyebrow {
    margin-bottom: 16px;
    font-size: 11px;
  }

  .minigt-copy h1 {
    font-size: clamp(40px, 12vw, 68px);
  }

  .minigt-copy > p:last-child {
    max-width: 560px;
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.55;
  }
}

.minigt-story-page,
.minigt-story,
.minigt-story-track,
.minigt-story-pin {
  background: #000;
}

.minigt-story-page::before,
.minigt-story-page::after {
  display: none;
}

.minigt-story {
  min-height: 100vh;
  overflow-x: clip;
}

.minigt-story-track {
  position: relative;
  height: 360vh;
}

.minigt-story-pin {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  min-height: 0;
  overflow: visible;
}

.minigt-story-pin .project-back {
  top: 30px;
  left: clamp(18px, 4vw, 60px);
  z-index: 6;
}

.story-copy {
  position: absolute;
  top: 50%;
  left: clamp(18px, 5.2vw, 104px);
  z-index: 5;
  width: min(38vw, 700px);
  pointer-events: none;
  transform: translateY(-50%);
  transition: transform 140ms linear;
}

.story-copy .eyebrow {
  margin: 0 0 26px;
  color: var(--violet);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.story-copy h1 {
  max-width: 8em;
  margin: 0;
  color: #f7f7fb;
  font-size: 64px;
  letter-spacing: 0;
  line-height: 1.12;
}

.story-copy h1 span { display: block; }

.story-copy > p:last-child {
  max-width: 690px;
  margin: 38px 0 0;
  color: rgba(247, 247, 251, 0.62);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
}

.story-canvas-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.story-status {
  position: absolute;
  top: 70%;
  left: 10%;
  width: 80%;
  color: #c0addb;
  text-align: center;
  font-size: 14px;
}

.story-canvas-wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  outline: none;
  touch-action: pan-y;
  background: transparent;
}

.story-canvas-wrap canvas:focus-visible { outline: 1px solid var(--violet); outline-offset: -4px; }

@media (min-width: 721px) and (max-width: 1100px) {
  .story-copy { width: 70%; }
  .story-copy h1 { font-size: 54px; }
}

.story-canvas-wrap canvas:active {
  cursor: grabbing;
}

.minigt-story .minigt-products {
  min-height: 70vh;
  background: #000;
}

@media (max-width: 720px) {
  .minigt-story-track {
    height: 390vh;
  }

  .minigt-story-pin {
    min-height: 0;
  }

  .minigt-story-pin .project-back {
    top: 18px;
  }

  .story-copy {
    top: 94px;
    left: 16px;
    width: calc(100% - 32px);
    transform: none;
  }

  .story-copy .eyebrow {
    margin-bottom: 16px;
    font-size: 11px;
  }

  .story-copy h1 {
    font-size: 40px;
  }

  .story-copy > p:last-child {
    max-width: 560px;
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.55;
  }

}

.food-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
}

.meal-board,
.coffee-board {
  padding: clamp(14px, 2vw, 18px);
}

.meal-list article {
  min-height: 96px;
  background:
    linear-gradient(135deg, rgba(143, 255, 208, 0.12), transparent),
    rgba(255, 255, 255, 0.05);
}

.coffee-tabs {
  width: fit-content;
  gap: 4px;
  margin-bottom: 12px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.coffee-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 88px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.coffee-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 58%),
    #006241;
  color: white;
  font-weight: 900;
}

.coffee-card strong,
.coffee-card span {
  display: block;
}

.coffee-card span {
  margin-top: 4px;
  color: var(--muted);
}

.coffee-card small {
  color: var(--amber);
  font-weight: 700;
  white-space: nowrap;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  padding: 32px clamp(18px, 6vw, 88px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  max-width: min(320px, calc(100vw - 36px));
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 14, 28, 0.92);
  box-shadow: var(--shadow);
  color: var(--text);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .split-section,
  .design-content,
  .food-layout,
  .ai-layout,
  .health-layout,
  .cycling-layout,
  .memory-layout,
  .minigt-page {
    grid-template-columns: 1fr;
  }

  .section-band {
    min-height: auto;
  }

  .hero {
    min-height: 100svh;
  }

  .project-visual {
    min-height: 52vh;
  }

  .minigt-stage {
    min-height: 58vh;
  }

  .stage-caption {
    top: 7%;
  }

  .stage-note {
    bottom: 8%;
  }

  .project-visual img {
    right: 50%;
    width: min(112vw, 760px);
    transform: translate(50%, -45%) scale(0.92) rotate(-2deg);
  }

  @keyframes minigtProductIn {
    to {
      opacity: 1;
      transform: translate(50%, -50%) scale(1) rotate(0deg);
    }
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 0 14px;
  }

  .nav-links {
    display: none;
  }

  .section-band {
    padding: calc(var(--header-h) + 38px) 16px 56px;
  }

  .hero-panel {
    margin-bottom: 16px;
  }

  .signal-grid,
  .work-grid,
  .design-branches,
  .home-grid {
    grid-template-columns: 1fr;
  }

  .destiny-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .fitness-card {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .fitness-card small {
    grid-column: 2;
  }

  .coffee-card {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .coffee-card small {
    grid-column: 2;
  }

  .hero h1 {
    font-size: clamp(56px, 22vw, 88px);
  }

  .minigt-immersive .project-page {
    padding-top: 88px;
  }

  .minigt-immersive .project-copy h1 {
    max-width: 9em;
  }

  .minigt-specs {
    gap: 7px;
    margin-top: 30px;
  }

  .minigt-specs strong {
    font-size: 12px;
  }

  .minigt-specs span {
    font-size: 9px;
    letter-spacing: 0.03em;
  }

  .minigt-stage {
    min-height: 52vh;
    margin-top: -16px;
  }

  .stage-caption {
    top: 7%;
    font-size: 8px;
  }

  .stage-note {
    right: 50%;
    bottom: 5%;
    transform: translateX(50%);
    white-space: nowrap;
  }

  .section-copy h2,
  .section-heading h2 {
    font-size: clamp(36px, 13vw, 58px);
  }

  .site-footer {
    display: grid;
    gap: 8px;
  }
}

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

/* Section entrance motion */
.directory-section {
  opacity: 0;
  transform: translateY(30px);
}
.directory-section.visible {
  animation: directory-enter 760ms cubic-bezier(.22,1,.36,1) forwards;
}
.directory-section:nth-of-type(2).visible { animation-delay: 80ms; }
.directory-section:nth-of-type(3).visible { animation-delay: 160ms; }
.directory-section:nth-of-type(4).visible { animation-delay: 240ms; }
.directory-section:nth-of-type(5).visible { animation-delay: 320ms; }
.directory-section:nth-of-type(6).visible { animation-delay: 400ms; }
@keyframes directory-enter { to { opacity: 1; transform: translateY(0); } }

.reveal-on-load { opacity: 0; transform: translateY(24px); animation: subpage-enter 700ms cubic-bezier(.22,1,.36,1) forwards; }
.subpage-head.reveal-on-load { animation-delay: 80ms; }
.subsection.reveal-on-load { animation-delay: 180ms; }
.reference-branch:nth-child(1) { animation-delay: 120ms; }
.reference-branch:nth-child(2) { animation-delay: 200ms; }
.reference-branch:nth-child(3) { animation-delay: 280ms; }
.reference-branch:nth-child(4) { animation-delay: 360ms; }
.reference-branch:nth-child(5) { animation-delay: 440ms; }
.reference-branch { opacity: 0; transform: translateY(22px); animation: subpage-enter 680ms cubic-bezier(.22,1,.36,1) forwards; }
@keyframes subpage-enter { to { opacity: 1; transform: translateY(0); } }

.design-reference-list { display: grid; gap: 24px; }
.reference-branch { display: grid; grid-template-columns: minmax(210px, .34fr) minmax(0, .66fr); gap: 22px; padding: 22px 0; border-top: 1px solid var(--line); }
.reference-branch-head h3 { margin: 12px 0 0; font-size: clamp(28px, 4vw, 46px); }
.reference-branch-head p { max-width: 280px; margin: 12px 0 0; color: var(--muted); line-height: 1.55; }
.reference-kicker { color: var(--mint); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.reference-sites { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.reference-sites a { min-height: 108px; padding: 14px; border: 1px solid var(--line); border-radius: 7px; background: rgba(255,255,255,.04); transition: transform 180ms ease, border-color 180ms ease, background 180ms ease; }
.reference-sites a:hover { transform: translateY(-2px); border-color: rgba(143,255,208,.45); background: rgba(255,255,255,.08); }
.reference-sites strong, .reference-sites span { display: block; }
.reference-sites strong { font-size: 15px; }
.reference-sites span { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.45; }

@media (max-width: 720px) {
  .reference-branch { grid-template-columns: 1fr; gap: 16px; }
  .reference-sites { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .directory-section, .reveal-on-load, .reference-branch { opacity: 1; transform: none; animation: none; }
}

/* Product-led homepage treatment */
.site-mark {
  color: rgba(247, 244, 255, 0.84);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  transition: color 180ms ease;
}

.site-mark:hover { color: var(--mint); }
.site-header-minimal { justify-content: space-between; background: rgba(6, 2, 14, 0.58); }
.site-header-minimal .nav-links { margin-left: auto; }

.hero {
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(139, 77, 255, 0.2), transparent 31rem),
    radial-gradient(circle at 15% 82%, rgba(143, 255, 208, 0.05), transparent 25rem),
    linear-gradient(180deg, rgba(18, 0, 40, 0.16), rgba(2, 1, 6, 0.54));
}

.solar-system {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0;
  animation: solarReveal 1800ms 260ms cubic-bezier(.22,1,.36,1) forwards;
}

.planet-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(213, 195, 255, 0.11);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.planet-motion {
  position: absolute;
  inset: 0;
  display: block;
  transform: scaleX(var(--orbit-ratio));
  animation: planetOrbit var(--duration) linear infinite;
}

.planet-motion b {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--planet-size);
  height: var(--planet-size);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.9), 0 0 10px rgba(203, 177, 255, 0.48);
  transform: translate(-50%, -50%) scaleX(var(--dot-counter, 1));
}

.planet-orbit.mercury { width: min(27vw, 350px); aspect-ratio: 350 / 156; height: auto; --duration: 9.6s; --planet-size: 1px; --orbit-ratio: 2.2436; --dot-counter: .4457; }
.planet-orbit.venus { width: min(39vw, 508px); aspect-ratio: 508 / 234; height: auto; --duration: 24.8s; --planet-size: 1.5px; --orbit-ratio: 2.1709; --dot-counter: .4606; transform: translate(-50%, -50%) rotate(12deg); }
.planet-orbit.earth { width: min(51vw, 662px); aspect-ratio: 662 / 338; height: auto; --duration: 40s; --planet-size: 1.8px; --orbit-ratio: 1.9586; --dot-counter: .5106; transform: translate(-50%, -50%) rotate(-8deg); }
.planet-orbit.mars { width: min(62vw, 806px); aspect-ratio: 806 / 442; height: auto; --duration: 75.2s; --planet-size: 1.2px; --orbit-ratio: 1.8235; --dot-counter: .5484; transform: translate(-50%, -50%) rotate(19deg); }
.planet-orbit.jupiter { width: min(75vw, 975px); aspect-ratio: 975 / 585; height: auto; --duration: 474.6s; --planet-size: 3px; --orbit-ratio: 1.6667; --dot-counter: .6; transform: translate(-50%, -50%) rotate(-16deg); }
.planet-orbit.saturn { width: min(88vw, 1144px); aspect-ratio: 1144 / 741; height: auto; --duration: 1178.3s; --planet-size: 2.5px; --orbit-ratio: 1.544; --dot-counter: .6477; transform: translate(-50%, -50%) rotate(9deg); }
.planet-orbit.uranus { width: min(104vw, 1352px); aspect-ratio: 1352 / 910; height: auto; --duration: 3362.1s; --planet-size: 2px; --orbit-ratio: 1.4857; --dot-counter: .6731; transform: translate(-50%, -50%) rotate(-11deg); }
.planet-orbit.venus .planet-motion { animation-delay: -8s; }.planet-orbit.earth .planet-motion { animation-delay: -23s; }.planet-orbit.mars .planet-motion { animation-delay: -47s; }.planet-orbit.jupiter .planet-motion { animation-delay: -281s; }.planet-orbit.saturn .planet-motion { animation-delay: -752s; }.planet-orbit.uranus .planet-motion { animation-delay: -1940s; }
.name-stage { position: relative; z-index: 1; min-height: 0; gap: 22px; }
.name-stage h1 { opacity: 0; transform: translateY(28px) scale(.97); animation: heroTitleIn 1100ms 220ms cubic-bezier(.22,1,.36,1) forwards; }
.name-word { animation: none; }

.feature-section { position: relative; display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(32px, 9vw, 150px); align-items: center; min-height: 100svh; padding: clamp(92px, 13vh, 180px) clamp(20px, 8vw, 140px); overflow: hidden; border-top: 1px solid rgba(202,177,255,.13); }
.feature-section::after { position: absolute; right: 8%; bottom: 9%; left: 8%; height: 1px; background: linear-gradient(90deg, transparent, rgba(202,177,255,.2), transparent); content: ""; }
.feature-intro { position: relative; z-index: 2; max-width: 520px; }
.feature-intro .eyebrow { margin-bottom: 22px; color: var(--mint); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.feature-intro h2 { margin: 0; font-size: clamp(80px, 14vw, 220px); font-weight: 800; letter-spacing: -.07em; line-height: .8; }
.feature-lede { max-width: 400px; margin: 34px 0 0; color: var(--muted); font-size: clamp(17px, 1.5vw, 22px); line-height: 1.65; }
.nas-feature { background: linear-gradient(120deg, rgba(8,2,18,.25), rgba(23,0,47,.7)); }
.nas-feature::before { position: absolute; top: 8%; right: -8%; width: 58vw; height: 58vw; max-width: 900px; max-height: 900px; border: 1px solid rgba(124,60,255,.16); border-radius: 50%; box-shadow: 0 0 120px rgba(124,60,255,.16); content: ""; }
.nas-card { position: relative; z-index: 2; display: flex; min-height: min(64vh, 610px); flex-direction: column; justify-content: space-between; padding: clamp(20px, 3vw, 44px); border: 1px solid rgba(202,177,255,.2); border-radius: 12px; background: linear-gradient(145deg, rgba(80,31,138,.52), rgba(9,3,18,.86) 70%); box-shadow: 0 35px 100px rgba(0,0,0,.42), inset 0 1px rgba(255,255,255,.09); transform: perspective(1200px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); transition: transform 400ms cubic-bezier(.22,1,.36,1), border-color 300ms ease, box-shadow 300ms ease; }
.nas-card:hover { border-color: rgba(167,139,250,.5); box-shadow: 0 45px 120px rgba(0,0,0,.5), 0 0 70px rgba(124,60,255,.12); }
.nas-card::before { position: absolute; top: 0; right: 13%; width: 34%; height: 1px; background: var(--mint); box-shadow: 0 0 20px var(--mint); content: ""; }
.nas-card-top, .nas-card-bottom { display: flex; align-items: center; gap: 10px; color: rgba(247,244,255,.53); font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.nas-card-index { margin-left: auto; color: rgba(247,244,255,.28); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 14px var(--mint); }
.nas-card-body { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.nas-label { margin: 0 0 18px; color: rgba(247,244,255,.44); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.nas-value { margin: 0; color: #fff; font-size: clamp(48px, 7vw, 102px); font-weight: 700; letter-spacing: -.07em; line-height: .84; }
.nas-value em { color: var(--violet); font-style: normal; }
.nas-signal { display: flex; width: min(28vw, 190px); height: 120px; align-items: flex-end; justify-content: space-between; gap: 7px; padding: 0 0 3px; }
.nas-signal span { flex: 1; height: 25%; border-radius: 99px 99px 0 0; background: linear-gradient(180deg, var(--mint), rgba(143,255,208,.1)); opacity: .7; animation: signalPulse 1.8s ease-in-out infinite alternate; }
.nas-signal span:nth-child(2) { height: 52%; animation-delay: 200ms; }.nas-signal span:nth-child(3) { height: 84%; animation-delay: 420ms; }.nas-signal span:nth-child(4) { height: 64%; animation-delay: 160ms; }.nas-signal span:nth-child(5) { height: 36%; animation-delay: 520ms; }
.nas-card-bottom { justify-content: space-between; padding-top: 20px; border-top: 1px solid rgba(202,177,255,.14); }.nas-card-bottom p { margin: 0; color: rgba(247,244,255,.5); font-size: 12px; font-weight: 500; letter-spacing: 0; }
.feature-link { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .03em; }.feature-link svg { width: 16px; height: 16px; color: var(--mint); transition: transform 220ms ease; }.feature-link:hover svg { transform: translate(3px, -3px); }

.minigt-feature { grid-template-columns: minmax(0, 1.18fr) minmax(280px, .82fr); background: radial-gradient(circle at 27% 48%, rgba(124,60,255,.2), transparent 30rem), linear-gradient(145deg, #0b0414, #17002f 75%); }
.minigt-feature-visual { position: relative; display: grid; min-height: min(72vh, 720px); place-items: center; transform: perspective(1200px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); transition: transform 400ms cubic-bezier(.22,1,.36,1); }
.minigt-feature-visual img { position: relative; z-index: 2; width: min(80%, 690px); height: auto; filter: drop-shadow(0 45px 55px rgba(0,0,0,.78)); animation: productFloat 7s ease-in-out infinite; }.minigt-feature-visual:hover img { animation-play-state: paused; }
.visual-halo { position: absolute; width: min(72%, 590px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(169,124,255,.45), rgba(124,60,255,.08) 43%, transparent 69%); filter: blur(5px); }
.visual-label, .visual-caption { position: absolute; z-index: 3; color: rgba(247,244,255,.4); font-size: 10px; font-weight: 800; letter-spacing: .15em; }.visual-label { top: 8%; left: 4%; }.visual-caption { right: 3%; bottom: 8%; writing-mode: vertical-rl; }
.minigt-feature-copy { padding: 5vh 0; }.minigt-feature-copy h2 { color: #fff; }.feature-meta { display: flex; gap: 24px; margin-top: 42px; padding-top: 16px; border-top: 1px solid rgba(202,177,255,.18); color: rgba(247,244,255,.42); font-size: 10px; font-weight: 800; letter-spacing: .13em; }.feature-link-large { margin-top: 44px; padding-bottom: 11px; border-bottom: 1px solid rgba(143,255,208,.5); }
.reveal-item { opacity: 0; transform: translateY(34px); }.feature-section.visible .reveal-item { animation: featureReveal 900ms cubic-bezier(.22,1,.36,1) forwards; }.feature-section.visible .reveal-item:nth-child(2) { animation-delay: 150ms; }.minigt-feature.visible .reveal-item:nth-child(1) { animation-delay: 80ms; }.minigt-feature.visible .reveal-item:nth-child(2) { animation-delay: 220ms; }
.site-footer a { display: inline-flex; align-items: center; gap: 7px; }.site-footer a svg { width: 14px; height: 14px; }

@keyframes solarReveal { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }
@keyframes planetOrbit { from { transform: scaleX(var(--orbit-ratio)) rotate(0); } to { transform: scaleX(var(--orbit-ratio)) rotate(360deg); } }
@keyframes heroItemIn { to { opacity: 1; transform: translateY(0); } } @keyframes heroTitleIn { to { opacity: 1; transform: translateY(0) scale(1); } } @keyframes cueFloat { 50% { transform: translateY(5px); } } @keyframes featureReveal { to { opacity: 1; transform: translateY(0); } } @keyframes productFloat { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-10px) rotate(1deg); } } @keyframes signalPulse { to { opacity: 1; filter: brightness(1.24); } }

.story-progress { position: absolute; right: clamp(18px, 4vw, 60px); bottom: 13%; z-index: 5; display: flex; align-items: center; gap: 12px; color: rgba(247,247,251,.46); font-size: 9px; font-weight: 800; letter-spacing: .13em; writing-mode: vertical-rl; }.story-progress-line { position: relative; display: block; width: 1px; height: 94px; background: rgba(247,247,251,.2); overflow: hidden; }.story-progress-line i { display: block; width: 100%; height: 100%; background: var(--mint); transform: scaleY(.04); transform-origin: top; transition: transform 180ms ease; }

@media (max-width: 720px) {
  .site-mark { font-size: 10px; }.planet-orbit.mercury { width: 55vw; }.planet-orbit.venus { width: 72vw; }.planet-orbit.earth { width: 92vw; }.planet-orbit.mars { width: 108vw; }.planet-orbit.jupiter { width: 126vw; }.planet-orbit.saturn { width: 144vw; }.planet-orbit.uranus { width: 165vw; }
  .feature-section, .minigt-feature { grid-template-columns: 1fr; min-height: auto; gap: 32px; padding: 110px 18px 120px; }.feature-intro h2 { font-size: clamp(74px, 24vw, 120px); }.feature-lede { margin-top: 24px; }.nas-card { min-height: 450px; }.nas-card-body { align-items: flex-start; flex-direction: column; }.nas-signal { width: 65%; height: 82px; }.nas-card-bottom { align-items: flex-start; flex-direction: column; gap: 18px; }.minigt-feature { padding-top: 88px; }.minigt-feature-visual { min-height: 390px; order: 2; }.minigt-feature-copy { order: 1; padding: 0; }.minigt-feature-visual img { width: 88%; }.visual-caption { right: 0; bottom: 4%; }.feature-meta { margin-top: 30px; }.feature-link-large { margin-top: 32px; }.story-progress { right: 14px; bottom: 17%; }.story-progress-line { height: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  .solar-system, .planet-motion, .name-stage h1, .feature-section.visible .reveal-item, .nas-signal span, .minigt-feature-visual img { animation: none !important; opacity: 1; transform: none; }.planet-orbit { transform: translate(-50%, -50%) !important; }.reveal-item { opacity: 1; transform: none; }.nas-card, .minigt-feature-visual { transform: none; }
}


/* Directory and scroll entrance motion */
.reveal-section { opacity: 0; transform: translateY(34px); transition: opacity 760ms cubic-bezier(.22,1,.36,1), transform 760ms cubic-bezier(.22,1,.36,1); }
.reveal-section.is-visible { opacity: 1; transform: translateY(0); }
.directory-section.reveal-section { transition-delay: 80ms; }
.directory-note { margin: 16px 0 0; color: rgba(247,244,255,.46); font-size: 12px; line-height: 1.5; }
.design-header .nav-links { max-width: calc(100vw - 160px); overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.design-header .nav-links::-webkit-scrollbar { display: none; }
.design-subpage { padding-top: 142px; }
.design-hero { max-width: 1160px; }
.design-hero h1 { margin: 0; font-size: clamp(70px, 12vw, 170px); line-height: .84; letter-spacing: -.07em; }
.design-hero h1 em { color: var(--violet); font-style: normal; }
.design-hero p:last-child { max-width: 650px; margin-top: 34px; color: var(--muted); font-size: 19px; line-height: 1.7; }
.design-works, .reference-branch { max-width: 1160px; margin: 100px auto 0; }
.works-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.work-card { min-height: 260px; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(145deg,rgba(124,60,255,.18),rgba(255,255,255,.045)); transition: transform 240ms ease,border-color 240ms ease,background 240ms ease; }
.work-card:hover { transform: translateY(-5px); border-color: rgba(143,255,208,.48); background: linear-gradient(145deg,rgba(124,60,255,.28),rgba(255,255,255,.07)); }
.work-index { color: var(--mint); font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.work-card strong { display:block; margin-top:72px; font-size: clamp(21px,2.2vw,31px); }
.work-card p { max-width: 420px; margin: 12px 0 28px; color: var(--muted); line-height:1.6; }
.work-link, .reference-visit { display:inline-flex; align-items:center; gap:8px; color: var(--mint); font-size:12px; font-weight:800; letter-spacing:.06em; }
.work-link svg, .reference-visit svg { width:15px; height:15px; }
.branch-intro { max-width: 740px; margin: -5px 0 25px; color: var(--muted); line-height:1.65; }
.reference-grid-five { grid-template-columns: repeat(5,minmax(0,1fr)); }
.reference-card { display:flex; min-height: 286px; flex-direction:column; padding:18px; border:1px solid var(--line); border-radius:8px; background:rgba(255,255,255,.045); transition: transform 220ms ease,border-color 220ms ease,background 220ms ease; }
.reference-card:hover { transform: translateY(-5px); border-color:rgba(143,255,208,.48); background:rgba(255,255,255,.08); }
.reference-card-top { display:flex; align-items:center; justify-content:space-between; color:var(--mint); }
.reference-mark { display:grid; width:30px; height:30px; place-items:center; border:1px solid var(--line); border-radius:50%; font-size:14px; }
.reference-domain { color:rgba(247,244,255,.4); font-size:9px; font-weight:800; letter-spacing:.12em; }
.reference-card strong { margin-top:50px; font-size:18px; }
.reference-card p { flex:1; margin:10px 0 20px; color:var(--muted); font-size:13px; line-height:1.55; }
.reference-card .reference-visit { border-top:1px solid var(--line); padding-top:12px; }
.design-page .subsection-head { margin-bottom:18px; }
@media (max-width: 1080px) { .reference-grid-five { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 760px) { .works-grid { grid-template-columns:1fr; } .reference-grid-five { grid-template-columns: repeat(2,minmax(0,1fr)); } .design-subpage { padding-top:112px; } .design-works,.reference-branch { margin-top:72px; } .design-header .nav-links { max-width: calc(100vw - 110px); } }
@media (max-width: 480px) { .reference-grid-five { grid-template-columns:1fr; } .reference-card { min-height:220px; } .reference-card strong { margin-top:34px; } }
@media (prefers-reduced-motion: reduce) { .reveal-section { opacity:1; transform:none; transition:none; } }

/* Continuous homepage atmosphere */
body:has(> main#top) {
  background: #090311;
}

body:has(> main#top) main#top {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 12%, rgba(104, 45, 190, 0.16), transparent 48%),
    linear-gradient(180deg, #16062c 0%, #0d041a 48%, #090311 100%);
}

body:has(> main#top) .hero,
body:has(> main#top) .directory-section,
body:has(> main#top) .site-footer {
  position: relative;
  z-index: 1;
  background: transparent;
}

body:has(> main#top) .hero {
  background:
    radial-gradient(ellipse at 50% 45%, rgba(124, 60, 255, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(18, 0, 40, 0.08), rgba(18, 0, 40, 0.02) 72%, transparent 100%);
}

body:has(> main#top) .directory-section {
  min-height: 34svh;
  align-items: start;
  padding-top: clamp(54px, 8vh, 92px);
  padding-bottom: clamp(54px, 8vh, 92px);
  border-top: 0;
  background: transparent;
}

body:has(> main#top) .directory-section + .directory-section {
  background: transparent;
}

body:has(> main#top) .site-footer {
  border-top: 0;
  background: linear-gradient(180deg, rgba(9, 3, 17, 0.04), rgba(4, 1, 8, 0.72));
}

/* Keep the opening scene full-screen before the first section begins. */
body:has(> main#top) .hero {
  min-height: 100svh;
  height: 100svh;
}

body:has(> main#top) #nas.directory-section {
  min-height: 38svh;
  padding-top: clamp(34px, 5vh, 58px);
}

body:has(> main#top) #minigt.directory-section {
  min-height: 38svh;
  padding-top: clamp(42px, 6vh, 72px);
}

@media (max-width: 720px) {
  body:has(> main#top) .hero { min-height: 100svh; height: 100svh; }
  body:has(> main#top) #nas.directory-section,
  body:has(> main#top) #minigt.directory-section { min-height: 42svh; }
}
