/* Nebular Group — investor site */
:root {
  --bg: oklch(14% 0.01 255);
  --bg-2: oklch(17% 0.012 255);
  --bg-3: oklch(20% 0.014 255);
  --line: oklch(28% 0.01 255 / 0.9);
  --line-soft: oklch(28% 0.01 255 / 0.45);
  --ink: oklch(96% 0.005 255);
  --ink-2: oklch(78% 0.01 255);
  --ink-3: oklch(58% 0.012 255);
  --accent: oklch(80% 0.11 245);
  --accent-deep: oklch(60% 0.14 250);
  --warm: oklch(82% 0.08 70);
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.container { max-width: 1320px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 760px) { .container { padding: 0 22px; } }

/* === NAV === */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 40px;
  backdrop-filter: blur(14px);
  background: oklch(14% 0.01 255 / 0.55);
  border-bottom: 1px solid var(--line-soft);
}
.nav-logo { display: flex; flex-direction: column; align-items: stretch; gap: 5px; }
.nav-logo .nav-wm {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
}
.nav-logo .nav-bar {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, #9be3c8, #9bd3ee 50%, #e96a9a);
}
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { font-size: 13px; color: var(--ink-2); transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  border: 1px solid var(--line);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  transition: all 0.25s;
}
.nav-cta:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
@media (max-width: 760px) { .nav { padding: 16px 22px; } .nav-links a:not(.nav-cta) { display: none; } }

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 80px;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; min-height: calc(100vh - 220px); }
.hero canvas#nebula {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 75%);
  opacity: 0.3;
  z-index: 0;
}
.hero-inner { position: relative; z-index: 2; }
.hero-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  z-index: 2;
  pointer-events: none;
  overflow: visible;
}
.hero-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  pointer-events: auto;
  cursor: default;
  z-index: 1;
  text-align: center;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  width: auto;
  filter: drop-shadow(0 0 24px oklch(80% 0.11 245 / 0.55));
}
.hero-core .wm {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 300;
  font-size: 22px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: oklch(98% 0.01 250);
  line-height: 1;
  padding-left: 0.42em;
}
.hero-core .bar {
  height: 3px;
  border-radius: 2px;
  width: 130px;
  background: linear-gradient(90deg, #9be3c8, #9bd3ee 50%, #e96a9a);
}
.hero-core .meta {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.22em; color: var(--ink-2); text-transform: uppercase;
}
.hero-core::before, .hero-core::after { display: none; }
/* Nebula glow behind the wordmark */
.hero-core-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 360px; height: 360px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, oklch(82% 0.10 250 / 0.35) 0%, oklch(78% 0.12 250 / 0.18) 25%, oklch(45% 0.14 260 / 0.05) 60%, transparent 80%),
    radial-gradient(circle at 65% 35%, oklch(82% 0.08 70 / 0.2) 0%, transparent 45%),
    radial-gradient(circle at 30% 70%, oklch(78% 0.12 320 / 0.18) 0%, transparent 45%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 1;
  animation: nebulaPulse 7s ease-in-out infinite;
}
@keyframes nebulaPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.95; }
  50% { transform: translate(-50%, -50%) scale(1.08); opacity: 1; }
}
.hero-orbit-ring {
  position: absolute;
  top: 50%; left: 50%;
  border: 1px dashed oklch(80% 0.11 245 / 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.orbit-body {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  padding: 7px 14px;
  border-radius: 999px;
  background: oklch(14% 0.01 255 / 0.78);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--ink);
  transition: border-color 0.25s, background 0.25s, transform 0.25s, box-shadow 0.3s;
  z-index: 2;
}
.orbit-body .glyph {
  width: 7px; height: 7px; border-radius: 50%;
  flex-shrink: 0;
}
.orbit-body[data-id="wooditc"] .glyph { background: #5fd0c8; box-shadow: 0 0 10px #5fd0c8; }
.orbit-body[data-id="dws"] .glyph { background: #ee87b6; box-shadow: 0 0 10px #ee87b6; }
.orbit-body[data-id="advisercloud"] .glyph { background: #7aa9f7; box-shadow: 0 0 10px #7aa9f7; }
.orbit-body[data-id="childrensisa"] .glyph { background: #f7c089; box-shadow: 0 0 10px #f7c089; }
.orbit-body[data-id="qualis"] .glyph { background: #b099ff; box-shadow: 0 0 10px #b099ff; }
.orbit-body .wm {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--ink);
}
.orbit-body .bar { display: none; }
.orbit-body .meta { display: none; }
.orbit-body:hover {
  border-color: oklch(80% 0.10 250);
  background: oklch(20% 0.03 250 / 0.9);
  box-shadow: 0 0 24px oklch(80% 0.11 245 / 0.4);
  z-index: 5;
}
svg.orbit-lines {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}
svg.orbit-lines line {
  stroke: var(--accent);
  stroke-width: 1;
  stroke-dasharray: 4 6;
  opacity: 0;
  transition: opacity 0.25s;
}
svg.orbit-lines line.active { opacity: 0.55; }
svg.orbit-lines line.warm { stroke: var(--warm); }

@media (max-width: 1000px) {
  .hero .container { grid-template-columns: 1fr; gap: 60px; min-height: auto; }
  .hero-stage { max-width: 520px; margin: 0 auto; }
  .hero { padding: 130px 0 100px; }
}
.hero-tag { margin-bottom: 28px; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 5.6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  max-width: 14ch;
  margin-bottom: 28px;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 56ch;
  margin-bottom: 48px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: all 0.25s;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 30px oklch(80% 0.11 245 / 0.25); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink-2); }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink-2); }
.btn-arrow { display: inline-block; transition: transform 0.25s; }
.btn-primary:hover .btn-arrow { transform: translateX(3px); }

.hero-meta {
  position: relative;
  margin-top: 60px;
  z-index: 2;
  display: flex; justify-content: space-between;
  align-items: end;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
}
.hero-meta .ticker { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-meta .ticker span b { color: var(--ink); font-weight: 500; margin-right: 6px; }
@media (max-width: 760px) {
  .hero-meta { position: static; padding: 60px 0 0; flex-direction: column; gap: 18px; }
  .hero-meta .ticker { gap: 14px; }
}

/* === SECTION HEADER === */
.section { padding: 140px 0; position: relative; }
.section-head { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; margin-bottom: 80px; align-items: end; }
.section-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.section-head h2 em { font-style: italic; color: var(--accent); }
.section-head p { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 52ch; }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; gap: 30px; margin-bottom: 50px; } }

/* === NUMBERS === */
.numbers {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 100px 0;
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.number {
  padding: 40px;
  border-left: 1px solid var(--line-soft);
  position: relative;
}
.number:first-child { border-left: 0; }
.number .label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 24px; }
.number .figure { font-family: var(--serif); font-size: clamp(48px, 5.4vw, 84px); line-height: 1; letter-spacing: -0.02em; margin-bottom: 14px; }
.number .figure .unit { font-size: 0.42em; color: var(--accent); margin-left: 4px; vertical-align: 0.4em; font-family: var(--sans); letter-spacing: 0; }
.number .desc { font-size: 14px; line-height: 1.5; color: var(--ink-2); max-width: 28ch; }
@media (max-width: 900px) {
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .number { padding: 30px 22px; }
  .number:nth-child(3) { border-left: 0; }
  .number:nth-child(3), .number:nth-child(4) { border-top: 1px solid var(--line-soft); }
}
@media (max-width: 540px) {
  .numbers-grid { grid-template-columns: 1fr; }
  .number, .number:nth-child(n) { border-left: 0; border-top: 1px solid var(--line-soft); }
  .number:first-child { border-top: 0; }
}

/* === PORTFOLIO === */
.portfolio { position: relative; }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.brand-card {
  background: var(--bg);
  padding: 36px 30px;
  position: relative;
  cursor: pointer;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.3s ease;
  overflow: hidden;
}
.brand-card.span-3 { grid-column: span 3; }
.brand-card.span-2 { grid-column: span 2; }
.brand-card.span-4 { grid-column: span 4; }
.brand-card:hover { background: var(--bg-2); }
.brand-card .meta-top { display: flex; justify-content: space-between; align-items: start; margin-bottom: 30px; }
.brand-card .stake {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
  border: 1px solid oklch(80% 0.11 245 / 0.4);
  padding: 4px 10px;
  border-radius: 999px;
}
.brand-card .stake.minority { color: var(--warm); border-color: oklch(82% 0.08 70 / 0.4); }
.brand-card .ticker-id {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
}
.brand-card .wordmark {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 300;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 14px;
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1);
}
.brand-card .wm-bar {
  height: 3px;
  width: 64px;
  border-radius: 2px;
  margin-bottom: 22px;
  transition: width 0.4s cubic-bezier(.2,.7,.2,1);
}
.brand-card:hover .wm-bar { width: 110px; }
.brand-card[data-id="wooditc"] .wm-bar { background: linear-gradient(90deg, #1ea7a0, #5fd0c8); }
.brand-card[data-id="dws"] .wm-bar { background: linear-gradient(90deg, #d44a8a, #ee87b6); }
.brand-card[data-id="advisercloud"] .wm-bar { background: linear-gradient(90deg, #3870e6, #7aa9f7); }
.brand-card[data-id="childrensisa"] .wm-bar { background: linear-gradient(90deg, #f08a3c, #f7c089); }
.brand-card[data-id="qualis"] .wm-bar { background: linear-gradient(90deg, #7c5cff, #b099ff); }
.brand-card:hover .wordmark { transform: translateY(-4px); }
.brand-card .one-liner {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
  max-width: 36ch;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.brand-card:hover .one-liner { opacity: 1; transform: translateY(0); }
.brand-card .open-icon {
  position: absolute;
  bottom: 24px; right: 24px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--ink-2);
  transition: all 0.3s;
}
.brand-card:hover .open-icon { background: var(--ink); color: var(--bg); border-color: var(--ink); transform: rotate(45deg); }
.brand-card .sector-tag {
  position: absolute;
  bottom: 30px; left: 30px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  opacity: 1;
  transition: opacity 0.3s;
}
.brand-card:hover .sector-tag { opacity: 0; }

@media (max-width: 1100px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } .brand-card.span-3, .brand-card.span-2, .brand-card.span-4 { grid-column: span 1; } }
@media (max-width: 600px) { .portfolio-grid { grid-template-columns: 1fr; } }

/* === DETAIL PANEL === */
.detail-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: oklch(8% 0.01 255 / 0.7);
  backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.detail-overlay.open { opacity: 1; pointer-events: auto; }
.detail-panel {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(640px, 92vw);
  z-index: 101;
  background: var(--bg);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1);
  overflow-y: auto;
  display: flex; flex-direction: column;
}
.detail-panel.open { transform: translateX(0); }
.detail-panel .close {
  position: absolute; top: 24px; right: 24px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-size: 18px;
  color: var(--ink-2);
  transition: all 0.2s;
}
.detail-panel .close:hover { background: var(--ink); color: var(--bg); }
.detail-panel .head {
  padding: 90px 50px 40px;
  border-bottom: 1px solid var(--line-soft);
}
.detail-panel .head .stake-row { display: flex; gap: 10px; align-items: center; margin-bottom: 28px; }
.detail-panel .head h3 { font-family: var(--serif); font-size: 56px; line-height: 1; letter-spacing: -0.02em; margin-bottom: 14px; font-weight: 400; }
.detail-panel .head .tagline { font-size: 18px; color: var(--ink-2); line-height: 1.5; }
.detail-panel .body { padding: 40px 50px 60px; }
.detail-panel h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}
.detail-panel .body p { font-size: 15px; line-height: 1.65; color: var(--ink); margin-bottom: 18px; max-width: 60ch; }
.detail-panel .stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  margin: 30px 0;
}
.detail-panel .stat-row > div {
  background: var(--bg);
  padding: 22px;
}
.detail-panel .stat-row .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.detail-panel .stat-row .v { font-family: var(--serif); font-size: 32px; line-height: 1; }
.detail-panel .external-link {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  margin-top: 10px;
  transition: all 0.2s;
}
.detail-panel .external-link:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
@media (max-width: 600px) { .detail-panel .head { padding: 80px 26px 30px; } .detail-panel .head h3 { font-size: 40px; } .detail-panel .body { padding: 30px 26px 50px; } }

/* === SECTORS === */
.sectors-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.sector-card {
  border: 1px solid var(--line-soft);
  padding: 50px;
  position: relative;
  overflow: hidden;
  min-height: 460px;
  display: flex; flex-direction: column;
}
.sector-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.sector-card:hover::before { opacity: 1; }
.sector-card .num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--ink-3); margin-bottom: 30px; }
.sector-card h3 { font-family: var(--serif); font-size: 56px; line-height: 0.95; letter-spacing: -0.02em; margin-bottom: 24px; font-weight: 400; }
.sector-card h3 em { font-style: italic; color: var(--accent); }
.sector-card p { font-size: 16px; color: var(--ink-2); line-height: 1.6; margin-bottom: 30px; }
.sector-card ul { list-style: none; margin-top: auto; }
.sector-card ul li {
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
  color: var(--ink-2);
  display: flex; justify-content: space-between; align-items: center;
}
.sector-card ul li::after { content: "→"; color: var(--ink-3); font-family: var(--mono); }
@media (max-width: 900px) { .sectors-wrap { grid-template-columns: 1fr; } .sector-card { padding: 36px 26px; min-height: auto; } }

/* === CONTACT === */
.contact-section { background: var(--bg-2); border-top: 1px solid var(--line-soft); }
.contact-tabs {
  display: flex; gap: 6px;
  margin-bottom: 50px;
  border-bottom: 1px solid var(--line-soft);
}
.contact-tab {
  padding: 18px 26px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.25s;
}
.contact-tab.active { color: var(--ink); border-bottom-color: var(--accent); }
.contact-tab:hover:not(.active) { color: var(--ink-2); }

.contact-pane { display: none; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-pane.active { display: grid; }
.contact-pane h3 { font-family: var(--serif); font-size: clamp(40px, 4.5vw, 64px); line-height: 1; letter-spacing: -0.02em; font-weight: 400; margin-bottom: 24px; }
.contact-pane h3 em { font-style: italic; color: var(--accent); }
.contact-pane .lead-copy { font-size: 17px; color: var(--ink-2); line-height: 1.6; margin-bottom: 36px; max-width: 44ch; }
.contact-pane .checks { list-style: none; }
.contact-pane .checks li {
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  font-size: 14px;
  color: var(--ink-2);
}
.contact-pane .checks li:last-child { border-bottom: 1px solid var(--line-soft); }
.contact-pane .checks li::before {
  content: "+";
  font-family: var(--mono);
  color: var(--accent);
  font-size: 14px;
  line-height: 1.3;
}

.form-card {
  background: var(--bg);
  border: 1px solid var(--line-soft);
  padding: 40px;
}
.form-card .field { margin-bottom: 24px; }
.form-card label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.form-card input, .form-card select, .form-card textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  font: 15px var(--sans);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { border-bottom-color: var(--accent); }
.form-card textarea { resize: none; min-height: 90px; }
.form-card select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 14px) 50%, calc(100% - 8px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}
.form-card select option {
  background: var(--bg);
  color: var(--ink);
  padding: 12px;
}
.form-card .submit {
  margin-top: 14px;
  width: 100%;
  padding: 18px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: transform 0.2s;
}
.form-card .submit:hover { transform: translateY(-1px); }
.form-card .submit.sent { background: var(--accent); }
@media (max-width: 900px) { .contact-pane.active { grid-template-columns: 1fr; gap: 40px; } .form-card { padding: 30px 24px; } }

/* === FOOTER === */
footer {
  border-top: 1px solid var(--line-soft);
  padding: 80px 0 40px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}
.foot-grid h5 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 22px; }
.foot-grid ul { list-style: none; }
.foot-grid ul li { padding: 7px 0; font-size: 14px; color: var(--ink-2); }
.foot-grid ul li a:hover { color: var(--ink); }
.foot-brand .nav-logo { margin-bottom: 24px; }
.foot-brand p { font-size: 14px; color: var(--ink-2); line-height: 1.6; max-width: 38ch; }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
}
.foot-bottom a:hover { color: var(--ink); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px; } .foot-bottom { flex-direction: column; gap: 16px; } }

/* utilities */
.fade-in { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.in { opacity: 1; transform: translateY(0); }

/* Reduced motion — respect OS preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .nebula-canvas { display: none; }
  .orbit-pill { transition: none !important; }
  .fade-in { opacity: 1; transform: none; }
}
