:root {
  color-scheme: dark;
  --ink: #02050a;
  --ink-2: #07101b;
  --panel: #0a121d;
  --panel-2: #101a27;
  --line: rgba(90, 211, 255, 0.3);
  --line-strong: rgba(73, 190, 255, 0.68);
  --blue: #39bff8;
  --blue-soft: #8be4ff;
  --gold: #d8a94b;
  --gold-soft: #ffe0a1;
  --text: #f5f7fb;
  --muted: #a7b2c0;
  --dim: #6f7c8b;
  --danger: #ff5f68;
  --success: #59d98e;
  --radius: 8px;
  --nav-height: 48px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

@font-face {
  font-family: "AetherBlanka";
  src: url("ZiTiKu/blanka-regular.otf") format("opentype");
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(2, 5, 10, 0.15), rgba(2, 5, 10, 1) 56rem),
    var(--ink);
  color: var(--text);
  letter-spacing: 0;
  overflow-x: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

img,
canvas {
  max-width: 100%;
}

.studio-switcher > *,
.wheel-layout > *,
.project-board > *,
.project-row > *,
.footer-columns > *,
.focus-strip > *,
.promo-grid > * {
  min-width: 0;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-height);
  background: rgba(3, 7, 12, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(2, 5, 10, 0.92);
  border-color: rgba(57, 191, 248, 0.16);
}

.nav-shell {
  width: min(1060px, calc(100% - 32px));
  height: var(--nav-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-soft);
  font-size: 14px;
  font-weight: 800;
}

.brand-emblem {
  width: 28px;
  height: 28px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(216, 169, 75, 0.58);
  border-radius: 50%;
  background: #0b0f18;
  box-shadow:
    0 0 22px rgba(216, 169, 75, 0.35),
    0 0 28px rgba(57, 191, 248, 0.1);
}

.brand-emblem img {
  width: 78px;
  height: 106px;
  object-fit: cover;
  object-position: 50% 28%;
}

.brand-text,
h1 {
  font-family: "AetherBlanka", "Arial Black", Inter, ui-sans-serif, system-ui, sans-serif;
}

.brand-text {
  position: relative;
  color: var(--gold-soft);
  font-size: 14px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-shadow:
    0 0 18px rgba(216, 169, 75, 0.22),
    0 0 24px rgba(57, 191, 248, 0.1);
  -webkit-text-stroke: 0.25px rgba(255, 224, 161, 0.3);
}

.brand-text::after {
  content: "";
  position: absolute;
  inset: auto 0 -5px;
  height: 1px;
  background: linear-gradient(90deg, rgba(216, 169, 75, 0), rgba(216, 169, 75, 0.68), rgba(57, 191, 248, 0));
  opacity: 0.72;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  color: rgba(245, 247, 251, 0.76);
  font-size: 12px;
}

.nav-menu a {
  transition: color 160ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--blue-soft);
}

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: calc(var(--nav-height) + 74px) 24px 54px;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(2, 5, 10, 0), var(--ink));
  z-index: -1;
}

.hero-primary {
  min-height: min(850px, 100vh);
  min-height: min(850px, 100svh);
  background:
    radial-gradient(circle at 50% 58%, rgba(57, 191, 248, 0.13), transparent 34rem),
    #03070c;
}

.ambient-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  color: var(--text);
  font-size: clamp(50px, 7.4vw, 116px);
  line-height: 0.92;
  font-weight: 760;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  text-shadow:
    0 0 36px rgba(57, 191, 248, 0.16),
    0 0 54px rgba(216, 169, 75, 0.08);
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1;
  font-weight: 740;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.14;
}

.hero-copy {
  width: min(680px, 100%);
  margin: 0 auto;
  color: rgba(245, 247, 251, 0.82);
  font-size: clamp(19px, 2.4vw, 28px);
  line-height: 1.35;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.link-pill {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border: 1px solid rgba(57, 191, 248, 0.58);
  border-radius: 999px;
  color: var(--blue-soft);
  font-size: 15px;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.link-pill:hover,
.link-pill:focus-visible {
  border-color: var(--gold);
  color: var(--gold-soft);
  background: rgba(216, 169, 75, 0.09);
}

.link-pill-primary {
  background: #0171e3;
  border-color: #0171e3;
  color: #fff;
}

.link-pill-primary:hover,
.link-pill-primary:focus-visible {
  background: #0e8eff;
  border-color: #0e8eff;
  color: #fff;
}

.hero-device {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100% - 24px));
  margin: 56px auto 0;
  padding: 14px;
  border: 1px solid rgba(57, 191, 248, 0.32);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(13, 29, 46, 0.86), rgba(5, 10, 17, 0.96)),
    var(--panel);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.56),
    0 0 80px rgba(57, 191, 248, 0.16);
}

.device-toolbar {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--dim);
  font-size: 12px;
}

.device-toolbar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--dim);
}

.device-toolbar span:first-child {
  background: var(--danger);
}

.device-toolbar span:nth-child(2) {
  background: var(--gold);
}

.device-toolbar span:nth-child(3) {
  background: var(--success);
}

.device-toolbar p {
  margin: 0 0 0 7px;
}

.studio-switcher {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.member-tabs,
.wheel-stage {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  background: rgba(1, 7, 14, 0.72);
}

.member-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  background:
    linear-gradient(90deg, rgba(57, 191, 248, 0.08), rgba(216, 169, 75, 0.04)),
    rgba(1, 7, 14, 0.72);
}

.member-tab {
  position: relative;
  min-height: 94px;
  padding: 14px 16px;
  border: 1px solid rgba(57, 191, 248, 0.13);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(57, 191, 248, 0.08), rgba(57, 191, 248, 0.01)),
    rgba(255, 255, 255, 0.02);
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.member-tab:hover,
.member-tab:focus-visible,
.member-tab.is-active {
  border-color: rgba(57, 191, 248, 0.58);
  background:
    linear-gradient(135deg, rgba(57, 191, 248, 0.16), rgba(216, 169, 75, 0.06)),
    rgba(255, 255, 255, 0.03);
  transform: translateY(-1px);
}

.member-tab.is-active::after {
  content: "";
  position: absolute;
  inset: auto 16px 10px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-soft), var(--blue), transparent);
}

.member-tab span {
  position: relative;
  z-index: 1;
  display: block;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 760;
}

.member-tab strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 9px;
  color: var(--text);
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1;
}

.member-tab small {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.member-signature-bg {
  position: absolute;
  z-index: 0;
  right: 12px;
  top: 50%;
  width: min(58%, 260px);
  height: 78%;
  object-fit: contain;
  object-position: center right;
  opacity: 0.18;
  mix-blend-mode: screen;
  filter:
    saturate(0.95)
    contrast(1.08)
    drop-shadow(0 0 14px rgba(57, 191, 248, 0.16));
  transform: translateY(-50%);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.member-tab:hover .member-signature-bg,
.member-tab:focus-visible .member-signature-bg,
.member-tab.is-active .member-signature-bg {
  opacity: 0.3;
  transform: translateY(-50%) scale(1.02);
}

.panel-label {
  margin: 0;
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 760;
}

.panel-label span {
  color: var(--muted);
  font-weight: 600;
}

.wheel-stage {
  min-height: 330px;
  padding: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 50%, rgba(216, 169, 75, 0.08), transparent 15rem),
    radial-gradient(circle at 86% 20%, rgba(57, 191, 248, 0.1), transparent 18rem),
    rgba(1, 7, 14, 0.72);
}

.wheel-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.42fr) minmax(0, 0.58fr);
  gap: 18px;
  align-items: center;
  min-height: 268px;
}

.wheel-selector {
  position: relative;
  height: 244px;
  border: 1px solid rgba(57, 191, 248, 0.24);
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%, rgba(0, 0, 0, 0.34)),
    #050b12;
  box-shadow:
    inset 0 0 18px rgba(0, 0, 0, 0.72),
    0 18px 44px rgba(0, 0, 0, 0.34);
  --wheel-rotation: 0deg;
}

.wheel-selector::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 50%;
  z-index: 4;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-soft);
  box-shadow: 0 0 18px rgba(255, 224, 161, 0.8);
  transform: translateY(-50%);
}

.wheel-selector::after {
  content: "";
  position: absolute;
  right: -128px;
  top: 50%;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(57, 191, 248, 0.1) 0deg 10deg,
    rgba(255, 255, 255, 0.035) 10deg 20deg
  );
  opacity: 0.55;
  transform: translateY(-50%);
  transition: transform 700ms cubic-bezier(0.19, 1, 0.22, 1);
}

.wheel-signature-bg {
  position: absolute;
  z-index: 1;
  right: 22px;
  top: 50%;
  width: min(58%, 280px);
  height: 72%;
  object-fit: contain;
  object-position: center right;
  opacity: 0.12;
  mix-blend-mode: screen;
  filter:
    saturate(0.95)
    contrast(1.08)
    blur(0.2px)
    drop-shadow(0 0 18px rgba(57, 191, 248, 0.14));
  transform: translateY(-50%);
  pointer-events: none;
  transition: opacity 220ms ease;
}

.wheel-selector:hover .wheel-signature-bg {
  opacity: 0.18;
}

.wheel-selector.is-moving::after {
  transform: translateY(-50%) rotate(var(--wheel-rotation));
}

.wheel-track {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.wheel-item {
  position: absolute;
  top: 93px;
  left: 42px;
  right: 18px;
  z-index: 2;
  display: grid;
  gap: 3px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.2);
  text-align: left;
  cursor: pointer;
  opacity: 0;
  filter: blur(2px);
  transform-origin: 238px center;
  transform: rotate(calc(var(--offset) * 28deg));
  transition:
    transform 700ms cubic-bezier(0.19, 1, 0.22, 1),
    opacity 520ms ease,
    filter 520ms ease,
    color 420ms ease;
}

.wheel-item .num {
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 900;
}

.wheel-item .label {
  color: currentColor;
  font-size: clamp(21px, 2.8vw, 36px);
  font-weight: 900;
  line-height: 0.95;
}

.wheel-item.is-active {
  opacity: 1;
  filter: blur(0);
  color: var(--text);
  transform: rotate(0deg) translateX(12px);
}

.wheel-item.is-prev,
.wheel-item.is-next {
  opacity: 0.22;
  filter: blur(1.4px);
}

.wheel-item.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.wheel-item.is-prev {
  transform: rotate(-30deg);
}

.wheel-item.is-next {
  transform: rotate(30deg);
}

.wheel-ghost {
  pointer-events: none;
}

.wheel-ghost .label {
  color: rgba(255, 255, 255, 0.18);
}

.project-detail {
  min-height: 244px;
  padding: clamp(22px, 3.4vw, 34px);
  border: 1px solid rgba(57, 191, 248, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(57, 191, 248, 0.12), rgba(216, 169, 75, 0.035) 48%, rgba(255, 255, 255, 0.015)),
    rgba(255, 255, 255, 0.025);
}

.project-owner {
  margin-bottom: 18px;
  color: var(--gold-soft);
  font-size: 14px;
  font-weight: 760;
}

.project-detail h2 {
  margin-bottom: 9px;
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 0.98;
}

.project-detail p[data-project-subtitle] {
  margin-bottom: 24px;
  color: var(--blue-soft);
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 650;
}

.project-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 18px;
  border: 1px solid rgba(57, 191, 248, 0.45);
  border-radius: 999px;
  color: var(--blue-soft);
  font-size: 14px;
}

.project-link::after {
  content: " >";
  margin-left: 6px;
}

.hero-secondary {
  min-height: 560px;
  background: #050910;
  padding-bottom: 64px;
}

.hero-secondary .hero-content {
  margin-top: 0;
}

.focus-strip {
  width: min(1080px, calc(100% - 32px));
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(57, 191, 248, 0.18);
  border-radius: var(--radius);
  background: rgba(57, 191, 248, 0.16);
}

.focus-strip article {
  min-height: 150px;
  padding: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(57, 191, 248, 0.1), transparent 10rem),
    rgba(3, 8, 15, 0.96);
}

.focus-strip span {
  display: block;
  margin-bottom: 38px;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 760;
}

.focus-strip strong {
  display: block;
  color: var(--text);
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.08;
}

.focus-strip small {
  display: block;
  margin-top: 8px;
  color: var(--blue-soft);
  font-size: 13px;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
  background: var(--ink);
}

.member-grid {
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 14px;
}

.promo-card {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  padding: clamp(38px, 5vw, 72px) clamp(24px, 4vw, 56px);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--panel);
}

.member-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  grid-template-rows: min-content min-content min-content auto;
  align-items: center;
  gap: clamp(26px, 5vw, 72px);
  min-height: 500px;
  padding: clamp(24px, 4.8vw, 62px);
  isolation: isolate;
  outline: none;
  overflow: hidden;
  z-index: 1;
  text-align: left;
}

.member-card:hover,
.member-card:focus-within,
.member-card:focus {
  z-index: 8;
}

.promo-card h2 {
  width: min(600px, 100%);
  font-size: clamp(34px, 4.6vw, 58px);
}

.promo-card > p:not(.eyebrow) {
  width: min(620px, 100%);
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.promo-card a {
  margin-top: 4px;
  color: var(--blue-soft);
  font-size: 16px;
}

.promo-card a::after {
  content: " >";
}

.member-card > .eyebrow,
.member-card > h2,
.member-card > a {
  position: relative;
  z-index: 3;
  grid-column: 2;
  margin-left: 0;
  margin-right: 0;
}

.member-card > .eyebrow {
  grid-row: 1;
}

.member-card > h2 {
  grid-row: 2;
  width: min(660px, 100%);
  margin-block: 12px 18px;
  font-size: clamp(42px, 5.6vw, 78px);
  line-height: 1.04;
}

.member-card > a {
  grid-row: 3;
  width: fit-content;
  font-size: 20px;
}

.member-card:nth-child(2) > .eyebrow,
.member-card:nth-child(2) > h2,
.member-card:nth-child(2) > a,
.member-card:nth-child(2) .member-note {
  grid-column: 1;
}

.member-note {
  position: relative;
  z-index: 3;
  grid-column: 2;
  grid-row: 4;
  width: min(620px, 100%);
  max-height: 0;
  margin-top: 0;
  padding: 0 20px;
  border: 1px solid rgba(57, 191, 248, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(57, 191, 248, 0.14), rgba(216, 169, 75, 0.06)),
    rgba(2, 8, 15, 0.92);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  opacity: 0;
  overflow: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  transition:
    max-height 280ms ease,
    padding 280ms ease,
    opacity 220ms ease,
    transform 280ms ease,
    margin-top 280ms ease;
}

.member-card:hover .member-note,
.member-card:focus-within .member-note,
.member-card:focus .member-note {
  max-height: 180px;
  margin-top: 14px;
  padding: 18px 20px;
  opacity: 1;
  transform: translateY(0);
}

.member-note span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.member-card .member-note p {
  margin: 0;
  color: rgba(245, 247, 251, 0.82);
  font-size: 17px;
  line-height: 1.75;
}

.promo-dark {
  background:
    linear-gradient(180deg, rgba(16, 28, 44, 0.55), rgba(5, 9, 16, 1)),
    var(--panel);
}

.promo-blue {
  background:
    linear-gradient(180deg, rgba(2, 48, 74, 0.72), rgba(3, 8, 15, 1)),
    #061220;
}

.promo-gold {
  background:
    linear-gradient(180deg, rgba(216, 169, 75, 0.18), rgba(5, 9, 16, 1) 58%),
    #080a0e;
}

.member-portrait {
  position: relative;
  grid-column: 1;
  grid-row: 1 / span 4;
  width: 100%;
  max-width: 560px;
  height: 100%;
  min-height: 420px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(57, 191, 248, 0.22);
  border-radius: var(--radius);
  background: #03070c;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.member-card:nth-child(2) .member-portrait {
  grid-column: 2;
}

.member-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 5, 10, 0), rgba(2, 5, 10, 0.35) 62%, rgba(2, 5, 10, 0.78)),
    linear-gradient(90deg, rgba(2, 5, 10, 0.22), transparent 32%, rgba(2, 5, 10, 0.2));
  pointer-events: none;
}

.member-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 42%;
  filter: saturate(0.95) contrast(1.06);
}

.member-portrait-comic {
  border-color: rgba(216, 169, 75, 0.25);
  box-shadow: 0 -20px 70px rgba(216, 169, 75, 0.08);
}

.promo-light {
  background: #f4f2ed;
  color: #090d13;
}

.promo-light .eyebrow,
.promo-light a {
  color: #9a6e15;
}

.promo-light > p:not(.eyebrow) {
  color: #3a4551;
}

.mini-map,
.stack-preview,
.audit-strip,
.metrics-preview {
  width: min(420px, 88%);
  margin-top: auto;
}

.mini-map {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding-top: 46px;
}

.member-card .mini-map {
  grid-template-columns: repeat(3, 1fr);
}

.mini-map span {
  height: 130px;
  border: 1px solid rgba(57, 191, 248, 0.24);
  border-radius: var(--radius);
  background: rgba(57, 191, 248, 0.08);
}

.mini-map span:nth-child(2),
.mini-map span:nth-child(4) {
  transform: translateY(30px);
}

.member-card .mini-map span:nth-child(2) {
  transform: translateY(30px);
}

.member-card .mini-map span:nth-child(3) {
  transform: translateY(8px);
}

.stack-preview {
  display: grid;
  gap: 10px;
  padding-top: 40px;
}

.stack-preview span {
  display: block;
  padding: 15px 18px;
  border: 1px solid rgba(139, 228, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
  color: var(--blue-soft);
  font-size: 14px;
}

.audit-strip {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 9px;
  padding-top: 48px;
  height: 180px;
}

.audit-strip span {
  width: 48px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(180deg, var(--gold-soft), rgba(216, 169, 75, 0.1));
}

.audit-strip span:nth-child(1) {
  height: 64px;
}

.audit-strip span:nth-child(2) {
  height: 112px;
}

.audit-strip span:nth-child(3) {
  height: 152px;
}

.audit-strip span:nth-child(4) {
  height: 94px;
}

.audit-strip span:nth-child(5) {
  height: 132px;
}

.metrics-preview {
  margin-top: auto;
  padding-top: 54px;
}

.metrics-preview strong {
  display: block;
  color: #090d13;
  font-size: clamp(66px, 7vw, 104px);
  line-height: 0.9;
}

.metrics-preview span {
  color: #506070;
}

.case-strip,
.method-band,
.signal-panel,
.contact-hero {
  padding: clamp(76px, 9vw, 128px) 24px;
}

.section-heading {
  width: min(1080px, 100%);
  margin: 0 auto 30px;
  text-align: center;
}

.case-strip {
  background: #050910;
}

.project-board {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.66fr);
  gap: 12px;
}

.project-summary,
.project-row {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(17, 32, 50, 0.9), rgba(6, 10, 18, 0.98)),
    var(--panel);
}

.project-summary {
  position: sticky;
  top: calc(var(--nav-height) + 22px);
  min-height: 384px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.project-summary::before {
  content: "";
  position: absolute;
  inset: 20px 20px auto auto;
  width: 96px;
  height: 96px;
  border: 1px solid rgba(57, 191, 248, 0.2);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57, 191, 248, 0.16), transparent 70%);
}

.project-summary span {
  color: var(--text);
  font-size: clamp(74px, 9vw, 120px);
  font-weight: 850;
  line-height: 0.8;
}

.project-summary strong {
  margin-top: 14px;
  color: var(--gold-soft);
  font-size: 20px;
  font-weight: 700;
}

.project-summary p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.project-row {
  min-height: 128px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 112px minmax(210px, 0.68fr) minmax(230px, 1fr);
  gap: 22px;
  align-items: center;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.project-row:hover,
.project-row:target {
  border-color: rgba(57, 191, 248, 0.42);
  background:
    linear-gradient(135deg, rgba(57, 191, 248, 0.13), rgba(216, 169, 75, 0.05)),
    var(--panel);
  transform: translateX(3px);
}

.project-row span {
  color: var(--gold-soft);
  font-size: 14px;
  font-weight: 760;
}

.project-row h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.04;
}

.project-row p,
.steps p,
.contact-hero p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.method-band {
  background: var(--ink);
}

.steps {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.steps article {
  min-height: 280px;
  padding: 28px;
  border: 1px solid rgba(57, 191, 248, 0.18);
  border-radius: var(--radius);
  background: rgba(10, 18, 29, 0.72);
}

.steps span {
  display: inline-block;
  margin-bottom: 70px;
  color: var(--gold-soft);
  font-weight: 760;
}

.signal-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(300px, 1.2fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto 12px;
  border: 1px solid rgba(57, 191, 248, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(57, 191, 248, 0.11), rgba(216, 169, 75, 0.07) 58%, transparent),
    rgba(8, 14, 23, 0.92);
}

.color-system {
  margin: 0;
  display: grid;
  gap: 12px;
}

.color-system div {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.color-system div:first-child {
  border-top: 0;
  padding-top: 0;
}

.color-system dt {
  float: left;
  width: 105px;
  color: var(--gold-soft);
  font-weight: 760;
}

.color-system dd {
  margin: 0 0 0 124px;
  color: var(--muted);
  line-height: 1.55;
}

.contact-hero {
  min-height: auto;
  display: block;
  text-align: left;
  background:
    radial-gradient(circle at 78% 42%, rgba(57, 191, 248, 0.14), transparent 28rem),
    #04080e;
}

.contact-panel {
  width: min(1080px, 100%);
  min-height: 340px;
  margin: 0 auto;
  padding: clamp(34px, 5vw, 58px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  border: 1px solid rgba(57, 191, 248, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(57, 191, 248, 0.1), rgba(216, 169, 75, 0.04) 52%, transparent),
    rgba(8, 14, 23, 0.86);
}

.contact-panel h2,
.contact-panel p {
  width: min(800px, 100%);
}

.contact-hero .link-pill {
  white-space: nowrap;
}

.site-footer {
  padding: 34px 24px 28px;
  background: #f5f5f7;
  color: #30333a;
}

.footer-note,
.footer-columns,
.footer-legal {
  width: min(1060px, 100%);
  margin: 0 auto;
}

.footer-note {
  padding-bottom: 20px;
  border-bottom: 1px solid #d7d7dd;
}

.footer-note strong {
  color: #11131a;
}

.footer-note p {
  margin: 8px 0 0;
  color: #6f6f78;
  font-size: 13px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 22px;
}

.footer-columns h3 {
  margin-bottom: 9px;
  color: #1d1d1f;
  font-size: 13px;
}

.footer-columns a {
  display: block;
  margin: 7px 0;
  color: #565963;
  font-size: 12px;
}

.footer-legal {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #d7d7dd;
}

.footer-legal a {
  color: #565963;
  font-size: 12px;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: #0066cc;
}

@keyframes pulseLine {
  0%,
  100% {
    transform: scaleX(0.36);
    opacity: 0.45;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@media (max-width: 860px) {
  .nav-shell {
    width: min(100% - 28px, 1060px);
  }

  .nav-toggle {
    display: block;
  }

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

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    inset: var(--nav-height) 0 auto;
    display: grid;
    gap: 0;
    padding: 8px 28px 18px;
    background: rgba(2, 5, 10, 0.96);
    transform: translateY(-130%);
    transition: transform 220ms ease;
  }

  .nav-menu.is-open {
    transform: translateY(0);
  }

  .nav-menu a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 18px;
  }

  .hero {
    min-height: 720px;
    padding-inline: 18px;
  }

  .hero-secondary .hero-content {
    margin-top: 0;
  }

  .studio-switcher,
  .promo-grid,
  .member-grid,
  .project-board,
  .project-row,
  .contact-panel,
  .steps,
  .signal-panel,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .hero-device {
    margin-top: 40px;
  }

  .promo-card {
    min-height: 500px;
  }

  .member-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 18px;
    min-height: auto;
    padding: 28px;
    text-align: center;
  }

  .member-card > .eyebrow,
  .member-card > h2,
  .member-card > a,
  .member-note,
  .member-portrait,
  .member-card:nth-child(2) > .eyebrow,
  .member-card:nth-child(2) > h2,
  .member-card:nth-child(2) > a,
  .member-card:nth-child(2) .member-note,
  .member-card:nth-child(2) .member-portrait,
  .member-card:nth-child(3) .member-note {
    grid-column: 1;
  }

  .member-card > .eyebrow {
    grid-row: 1;
  }

  .member-card > h2 {
    grid-row: 2;
    width: min(620px, 100%);
    margin-inline: auto;
    font-size: clamp(36px, 8vw, 58px);
  }

  .member-card > a {
    grid-row: 3;
    margin-inline: auto;
  }

  .member-portrait,
  .member-card:nth-child(2) .member-portrait {
    grid-row: 4;
    width: min(560px, 100%);
    min-height: auto;
    aspect-ratio: 1;
    margin: 8px auto 0;
  }

  .member-note,
  .member-card:nth-child(2) .member-note,
  .member-card:nth-child(3) .member-note {
    grid-row: 5;
    position: relative;
    inset: auto;
    width: min(620px, 100%);
    margin: 6px auto 0;
    max-height: none;
    padding: 0 4px;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .member-note span {
    display: none;
  }

  .member-card .member-note p {
    color: rgba(245, 247, 251, 0.66);
    font-size: 15px;
    line-height: 1.7;
  }

  .member-card:hover .member-note,
  .member-card:focus-within .member-note,
  .member-card:focus .member-note,
  .member-card:nth-child(3):hover .member-note,
  .member-card:nth-child(3):focus-within .member-note,
  .member-card:nth-child(3):focus .member-note {
    max-height: none;
    margin: 6px auto 0;
    padding: 0 4px;
    transform: none;
  }

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

  .project-summary {
    position: relative;
    top: auto;
    min-height: 220px;
  }

  .signal-panel {
    width: calc(100% - 24px);
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(36px, 11.5vw, 62px);
    letter-spacing: 0.025em;
  }

  h2 {
    font-size: 38px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-copy {
    font-size: 20px;
  }

  .hero-actions {
    width: 100%;
  }

  .link-pill {
    min-width: min(100%, 230px);
  }

  .hero-device {
    width: 100%;
    padding: 10px;
  }

  .studio-switcher,
  .wheel-layout {
    gap: 8px;
  }

  .member-tabs,
  .wheel-layout {
    grid-template-columns: 1fr;
  }

  .member-tabs,
  .wheel-stage,
  .project-detail {
    padding: 14px;
  }

  .member-tab {
    min-height: 92px;
  }

  .member-signature-bg {
    width: min(54%, 190px);
    opacity: 0.14;
  }

  .wheel-selector {
    height: 220px;
  }

  .project-detail {
    min-height: auto;
  }

  .hero-secondary {
    min-height: 620px;
  }

  .focus-strip {
    grid-template-columns: 1fr;
  }

  .focus-strip article {
    min-height: 118px;
  }

  .focus-strip span {
    margin-bottom: 22px;
  }

  .promo-card {
    min-height: 520px;
    padding: 36px 20px;
  }

  .member-card {
    min-height: auto;
    padding: 28px 18px;
  }

  .member-note {
    padding: 0 2px;
  }

  .project-board,
  .project-row {
    grid-template-columns: 1fr;
  }

  .project-row {
    gap: 10px;
    min-height: 168px;
  }

  .contact-panel {
    min-height: 300px;
    padding: 28px 20px;
  }

  .contact-hero .link-pill {
    width: 100%;
  }

  .color-system dt {
    float: none;
    display: block;
    width: auto;
    margin-bottom: 6px;
  }

  .color-system dd {
    margin-left: 0;
  }
}

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