/* ============ KOSMOS Capital — premium VC site
   palette: void #050811 · panel #0c1124 · photon #f4f1e8 · gold #d4a13c · aurora #5fb8a6 · rose #e8556e
   type:    DM Serif Display · Sora · JetBrains Mono
============ */

*,*::before,*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  background: #050811;
  color: #f4f1e8;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 110px;
}
section { scroll-margin-top: 90px; }

:root {
  --void: #050811;
  --void-2: #0a0f1d;
  --panel: #0e1322;
  --panel-2: #141a2c;

  --photon: #f4f1e8;
  --photon-soft: #cfcbc1;
  --photon-dim: #7a7b86;
  --photon-mute: #4a4c5a;

  --gold: #d4a13c;
  --gold-soft: #e8c067;
  --aurora: #5fb8a6;
  --rose: #e8556e;

  --line: rgba(244, 241, 232, 0.08);
  --line-strong: rgba(244, 241, 232, 0.18);
  --line-gold: rgba(212, 161, 60, 0.32);

  --f-display: 'DM Serif Display', 'Times New Roman', serif;
  --f-body: 'Sora', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 1640px;
  --nav-h: 72px;
  --ease: cubic-bezier(.55,.06,.22,.99);
  --ease-out: cubic-bezier(.22,1,.36,1);
}

body {
  font-family: var(--f-body);
  font-size: clamp(15.5px, 1vw, 17px);
  line-height: 1.6;
  background: var(--void);
  color: var(--photon);
  font-weight: 300;
  overflow-x: hidden;
  letter-spacing: 0.005em;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

::selection { background: var(--gold); color: var(--void); }

/* ---------- micro / mono labels ---------- */
.micro {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--photon-dim);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--aurora);
  box-shadow: 0 0 10px var(--aurora);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  50% { opacity: 0.45; transform: scale(0.8); }
}

.ulink {
  position: relative;
  color: var(--gold);
  white-space: nowrap;
}
.ulink::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
  transition: opacity .3s var(--ease);
}
.ulink:hover::after { opacity: 1; }

em { font-style: italic; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all .35s var(--ease-out);
  position: relative;
  white-space: nowrap;
}
@media (hover: none) { .btn { cursor: pointer; } }
.btn--sm { padding: 10px 18px; font-size: 11px; }
.btn--lg { padding: 18px 32px; font-size: 13px; }
.btn--xl { padding: 22px 38px; font-size: 13px; }
.btn--solid {
  background: var(--gold);
  color: var(--void);
  border-color: var(--gold);
}
.btn--solid:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  transform: translateY(-1px);
  box-shadow: 0 12px 40px -8px rgba(212, 161, 60, 0.5);
}
.btn--ghost {
  background: transparent;
  color: var(--photon);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--photon);
  background: rgba(244, 241, 232, 0.05);
}
.btn svg { transition: transform .35s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

/* ---------- boot loader ---------- */
.boot {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--void);
  display: grid;
  grid-template-rows: 1fr auto auto auto;
  gap: clamp(20px, 4vh, 48px);
  padding: clamp(40px, 8vh, 80px) var(--gutter);
  place-items: center;
  transition: opacity .55s var(--ease), visibility .55s;
}
body:not(.is-loading) .boot {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.boot__counter {
  align-self: end;
  font-family: var(--f-display);
  font-size: clamp(140px, 22vw, 340px);
  line-height: 0.85;
  color: var(--photon);
  letter-spacing: -0.04em;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.boot__counter em {
  font-style: normal;
  font-family: var(--f-mono);
  font-size: 0.18em;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-weight: 500;
}
.boot__brand {
  display: flex;
  gap: clamp(4px, 0.8vw, 12px);
  font-family: var(--f-display);
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.boot__letter {
  color: var(--photon-mute);
  transition: color .35s var(--ease);
}
.boot__letter.is-on { color: var(--gold); }
.boot__line {
  width: min(540px, 80vw);
  height: 1px;
  background: var(--line-strong);
  position: relative;
  overflow: hidden;
}
.boot__line-fill {
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s var(--ease);
}
.boot__caps {
  width: min(540px, 80vw);
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--photon-dim);
}
.boot__caps span:nth-child(2) {
  color: var(--gold);
}

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--aurora));
  z-index: 100;
  transition: width .1s linear;
}

/* ---------- 3D stage ---------- */
.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse at 50% 40%, #0c142a 0%, #050811 70%);
}
.stage canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}
.stage__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5,8,17,0.55) 0%, rgba(5,8,17,0.15) 35%, rgba(5,8,17,0.15) 65%, rgba(5,8,17,0.65) 100%),
    radial-gradient(ellipse 55% 45% at 50% 50%, rgba(5,8,17,0.6) 0%, rgba(5,8,17,0.2) 50%, transparent 75%);
}

/* ---------- header ---------- */
.hdr {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--gutter);
  background: rgba(5, 8, 17, 0.55);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.hdr__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--photon);
  font-weight: 500;
}
.hdr__brand-mark { color: var(--gold); display: inline-flex; }
.hdr__brand-text em {
  color: var(--gold);
  font-style: normal;
  margin: 0 4px;
}
.hdr__nav {
  display: flex;
  gap: 36px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hdr__nav a {
  color: var(--photon-soft);
  position: relative;
  padding: 4px 0;
  transition: color .3s var(--ease);
}
.hdr__nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.hdr__nav a:hover { color: var(--photon); }
.hdr__nav a:hover::after { transform: scaleX(1); }
.hdr__right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.hdr__clock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--photon-soft);
}
.hdr__burger {
  width: 44px; height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--photon);
}
.hdr__burger:hover { border-color: var(--gold); color: var(--gold); }

@media (max-width: 1080px) {
  .hdr__nav { display: none; }
  .hdr__clock { display: none; }
  .hdr__burger { display: inline-flex; }
}
@media (max-width: 520px) {
  .hdr__brand-text { font-size: 10px; }
  .hdr .btn--sm { display: none; }
}

/* ---------- mobile menu ---------- */
.mmenu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--void);
  visibility: hidden;
  opacity: 0;
  transition: opacity .55s var(--ease), visibility .55s;
  overflow-y: auto;
}
.mmenu.is-open { visibility: visible; opacity: 1; }
.mmenu__inner {
  padding: 100px var(--gutter) 40px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.mmenu__row { border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.mmenu__nav { display: flex; flex-direction: column; }
.mmenu__link {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-display);
  font-size: clamp(28px, 8vw, 44px);
  color: var(--photon);
  transform: translateY(20px);
  opacity: 0;
  transition: transform .5s var(--ease) calc(var(--i) * 70ms), opacity .5s var(--ease) calc(var(--i) * 70ms), color .3s var(--ease);
}
.mmenu__link em {
  font-family: var(--f-mono);
  font-size: 12px;
  font-style: normal;
  color: var(--gold);
  letter-spacing: 0.15em;
}
.mmenu.is-open .mmenu__link { transform: translateY(0); opacity: 1; }
.mmenu__link:nth-child(1) { --i: 1; }
.mmenu__link:nth-child(2) { --i: 2; }
.mmenu__link:nth-child(3) { --i: 3; }
.mmenu__link:nth-child(4) { --i: 4; }
.mmenu__link:nth-child(5) { --i: 5; }
.mmenu__bot {
  margin-top: auto;
  display: grid;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
body.menu-open { overflow: hidden; }
body.menu-open .hdr__burger { transform: rotate(45deg); }
.hdr__burger { transition: transform .4s var(--ease); }

/* ============================================================
   SECTIONS
   ============================================================ */
main { position: relative; z-index: 2; }

.sx {
  position: relative;
  padding: clamp(64px, 9vw, 120px) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.sx__head {
  display: grid;
  gap: 18px;
  max-width: 1100px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.sx__head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  justify-items: center;
}
.sx__head--split {
  max-width: var(--max);
  grid-template-columns: 1.4fr 1fr;
  align-items: end;
  gap: clamp(32px, 5vw, 64px);
}
.sx__head--split .sx__sub { margin: 0; max-width: 460px; }
@media (max-width: 880px) {
  .sx__head--split { grid-template-columns: 1fr; }
}
.sx__h {
  font-family: var(--f-display);
  font-size: clamp(36px, 5.6vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-weight: 400;
  margin: 0;
  color: var(--photon);
  text-shadow: 0 4px 36px rgba(5, 8, 17, 0.85);
}
.sx__h em {
  color: var(--gold);
  font-style: italic;
}
.sx__sub {
  font-size: clamp(15px, 1.2vw, 19px);
  max-width: 640px;
  color: var(--photon-soft);
  margin: 8px 0 0;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 22px) var(--gutter) 70px;
}
@media (max-width: 720px) {
  .hero { min-height: auto; padding-bottom: 50px; }
}
.hero__grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.95 0 0 0 0 0.94 0 0 0 0 0.92 0 0 0 0.1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
  mix-blend-mode: overlay;
}
.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: clamp(20px, 3vw, 36px);
}
.hero__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.hero__meta .micro em {
  color: var(--gold);
  font-style: normal;
  margin: 0 4px;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.hero__left { display: grid; gap: clamp(20px, 3vw, 36px); }
@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; gap: 28px; }
}

.hero__panel {
  background: linear-gradient(180deg, rgba(14, 19, 34, 0.92), rgba(10, 15, 29, 0.72));
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: clamp(16px, 1.4vw, 24px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  position: relative;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.55);
}
.hero__panel::before {
  content: '';
  position: absolute;
  top: -1px; left: 14%; right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.panel__row {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 4px;
  background: rgba(5, 8, 17, 0.45);
  border: 1px solid var(--line);
}
.panel__num {
  font-family: var(--f-display);
  font-size: clamp(28px, 2.4vw, 40px);
  line-height: 1;
  font-weight: 400;
  color: var(--photon);
  letter-spacing: -0.02em;
}
.panel__num em {
  font-style: normal;
  color: var(--gold);
  font-family: var(--f-mono);
  font-size: 0.5em;
  margin-left: 2px;
  vertical-align: super;
}
.panel__cap {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--photon-dim);
}

.hero__wordmark {
  display: flex;
  font-family: var(--f-display);
  font-size: clamp(64px, 11vw, 168px);
  line-height: 0.85;
  letter-spacing: -0.028em;
  font-weight: 400;
  color: var(--photon);
  gap: clamp(2px, 0.5vw, 6px);
  overflow: hidden;
  text-shadow: 0 4px 60px rgba(5, 8, 17, 0.85), 0 0 2px rgba(5, 8, 17, 0.7);
  margin-left: -2px;
}
.hero__wordmark .hero__word:first-child { color: var(--gold); }
@media (max-width: 880px) {
  .hero__wordmark { font-size: clamp(56px, 17vw, 110px); }
}
.hero__word {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  animation: reveal 1s var(--ease-out) calc(var(--i) * 80ms + 600ms) forwards;
}
@keyframes reveal {
  to { transform: translateY(0); opacity: 1; }
}
.hero__tag {
  font-family: var(--f-display);
  font-size: clamp(20px, 2.1vw, 30px);
  line-height: 1.25;
  font-weight: 400;
  color: var(--photon);
  max-width: 720px;
  margin: 0;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 1.2s forwards;
  text-shadow: 0 2px 14px rgba(5, 8, 17, 0.95), 0 0 24px rgba(5, 8, 17, 0.85);
}
.hero__tag em { color: var(--gold); font-style: italic; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 1.4s forwards;
}
.hero__lede {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.55;
  color: var(--photon-soft);
  max-width: 760px;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  text-shadow: 0 1px 8px rgba(5, 8, 17, 0.9);
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 1.6s forwards;
}
.hero__lede em { color: var(--gold-soft); font-style: italic; }

/* ---------- hero ticker ---------- */
.hero__ticker {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.hero__ticker-label {
  flex: 0 0 auto;
  color: var(--gold);
  padding-right: 16px;
  border-right: 1px solid var(--line);
}
.hero__ticker-track {
  display: flex;
  gap: 36px;
  white-space: nowrap;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--photon-soft);
  animation: tickerMarch 38s linear infinite;
}
.hero__ticker-track b {
  color: var(--photon);
  font-weight: 500;
  letter-spacing: 0.12em;
  margin-right: 4px;
}
@keyframes tickerMarch {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.hero__scroll {
  position: absolute;
  bottom: 24px;
  right: var(--gutter);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--photon-dim);
}
.hero__scroll-line {
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  width: 30%;
  animation: scrollIndicator 2.5s linear infinite;
}
@keyframes scrollIndicator {
  to { left: 130%; }
}
@media (max-width: 720px) {
  .hero__scroll { display: none; }
  .hero__wordmark { font-size: clamp(60px, 18vw, 110px); }
}

/* ---------- MANIFEST ---------- */
.manifest__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.manifest__col {
  padding: clamp(28px, 3.5vw, 44px);
  background: rgba(10, 15, 29, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: grid;
  gap: 18px;
  align-content: start;
}
.manifest__col h3 {
  font-family: var(--f-display);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--photon);
}
.manifest__col p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--photon-soft);
}
@media (max-width: 980px) {
  .manifest__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .manifest__grid { grid-template-columns: 1fr; }
}

/* ---------- APPROACH ---------- */
.approach__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.approach__row {
  display: grid;
  grid-template-columns: 80px 1fr 60px;
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(32px, 5vw, 56px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background .4s var(--ease);
  position: relative;
}
.approach__row::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(212, 161, 60, 0.04), transparent);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.approach__row:hover::before { opacity: 1; }
.approach__no {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--gold);
  padding-top: 6px;
}
.approach__body h3 {
  font-family: var(--f-display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 400;
  margin: 0 0 12px;
  letter-spacing: -0.015em;
  color: var(--photon);
  text-shadow: 0 2px 14px rgba(5, 8, 17, 0.9);
}
.approach__body p {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.6;
  color: var(--photon);
  margin: 0;
  max-width: 720px;
  text-shadow: 0 1px 10px rgba(5, 8, 17, 0.85);
}
.approach__ico {
  color: var(--photon-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .4s var(--ease), transform .4s var(--ease);
}
.approach__row:hover .approach__ico { color: var(--gold); transform: rotate(10deg); }
@media (max-width: 720px) {
  .approach__row { grid-template-columns: 60px 1fr; }
  .approach__ico { display: none; }
}

/* ---------- PORTFOLIO ---------- */
.portfolio__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.port {
  padding: clamp(28px, 3.5vw, 44px);
  background: rgba(10, 15, 29, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: grid;
  gap: 18px;
  align-content: start;
  position: relative;
  transition: background .4s var(--ease);
}
.port:hover { background: rgba(14, 19, 34, 0.85); }
.port__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.port__no {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--gold);
}
.port__tag {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--photon-dim);
}
.port__tag--exit {
  color: var(--aurora);
  border-color: rgba(95, 184, 166, 0.4);
}
.port__name {
  font-family: var(--f-display);
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.015em;
  color: var(--photon);
  line-height: 1.05;
}
.port__name em {
  display: block;
  color: var(--gold);
  font-style: italic;
  font-size: 0.7em;
  margin-top: 4px;
}
.port__about {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--photon-soft);
}
.port__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--photon-dim);
  letter-spacing: 0.08em;
}
.port__stats b {
  font-weight: 500;
  color: var(--photon);
  margin-right: 6px;
}
.port--exit { background: rgba(95, 184, 166, 0.04); }
@media (max-width: 960px) {
  .portfolio__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .portfolio__list { grid-template-columns: 1fr; }
}

/* ---------- TEAM ---------- */
.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 32px);
}
.member {
  padding: clamp(20px, 2.5vw, 32px);
  background: rgba(10, 15, 29, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  gap: 14px;
  align-content: start;
  transition: border-color .4s var(--ease), transform .5s var(--ease);
}
.member:hover {
  border-color: var(--line-gold);
  transform: translateY(-4px);
}
.member__portrait {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg);
  font-family: var(--f-display);
  font-size: 28px;
  color: var(--gold);
  letter-spacing: -0.02em;
  border: 1px solid var(--line-gold);
}
.member h3 {
  font-family: var(--f-display);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 400;
  margin: 4px 0 0;
  letter-spacing: -0.01em;
  color: var(--photon);
}
.member__role {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--aurora);
}
.member__bio {
  font-size: 14px;
  line-height: 1.55;
  color: var(--photon-soft);
  margin: 0;
}
@media (max-width: 960px) {
  .team__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .team__grid { grid-template-columns: 1fr; }
}

/* ---------- CONTACT ---------- */
.contact { text-align: center; }
.contact__inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  justify-items: center;
}
.contact__h {
  font-family: var(--f-display);
  font-size: clamp(40px, 6vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 400;
  margin: 0;
  color: var(--photon);
  text-shadow: 0 4px 40px rgba(5, 8, 17, 0.85);
}
.contact__h em { color: var(--gold); font-style: italic; }
.contact__sub {
  font-size: clamp(16px, 1.3vw, 20px);
  color: var(--photon-soft);
  max-width: 720px;
  margin: 0;
  line-height: 1.55;
}
.contact__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.contact__details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
  padding-top: 40px;
  border-top: 1px solid var(--line);
  width: 100%;
  margin: 24px 0 0;
}
.contact__details > div {
  text-align: left;
  display: grid;
  gap: 6px;
}
.contact__details dt {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--photon-dim);
}
.contact__details dd {
  font-size: 14px;
  color: var(--photon-soft);
  margin: 0;
  line-height: 1.5;
}
@media (max-width: 760px) {
  .contact__details { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .contact__details { grid-template-columns: 1fr; }
}

/* ---------- FOOTER ---------- */
.foot {
  position: relative;
  z-index: 3;
  padding: clamp(48px, 7vw, 90px) var(--gutter) 28px;
  border-top: 1px solid var(--line);
  background: var(--void);
  max-width: var(--max);
  margin: 0 auto;
}
.foot__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: clamp(28px, 5vw, 64px);
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.foot__brand {
  display: flex;
  gap: 18px;
  align-items: start;
  color: var(--gold);
}
.foot__mark { display: inline-flex; }
.foot__name {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--photon);
  margin: 0 0 6px;
  font-weight: 500;
}
.foot__name em { color: var(--gold); font-style: normal; margin: 0 4px; }
.foot__desc {
  font-size: 14px;
  color: var(--photon-soft);
  margin: 0;
  line-height: 1.55;
  max-width: 320px;
}
.foot__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.foot__col {
  display: grid;
  gap: 10px;
  align-content: start;
}
.foot__col a, .foot__col p {
  font-size: 14px;
  color: var(--photon-soft);
  margin: 0;
  transition: color .3s var(--ease);
}
.foot__col a:hover { color: var(--gold); }
.foot__bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.foot__credit {
  color: var(--gold);
  position: relative;
}
.foot__credit:hover { text-decoration: underline; }
@media (max-width: 880px) {
  .foot__top { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .foot__cols { grid-template-columns: 1fr; }
}

/* ============================================================
   FORM MODAL
   ============================================================ */
.formx {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity .55s var(--ease), visibility .55s;
}
body.form-open .formx {
  visibility: visible;
  opacity: 1;
}
.formx__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 17, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.formx__panel {
  position: relative;
  background:
    linear-gradient(180deg, rgba(212, 161, 60, 0.06) 0%, transparent 200px),
    linear-gradient(180deg, #11172a 0%, #0c1224 100%);
  border: 1px solid rgba(212, 161, 60, 0.18);
  border-radius: 10px;
  width: min(620px, 92vw);
  max-height: 92svh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(28px, 4vw, 44px);
  padding-top: clamp(20px, 3vw, 32px);
  transform: translateY(30px) scale(0.97);
  transition: transform .6s var(--ease-out);
  box-shadow: 0 40px 100px -10px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(212, 161, 60, 0.08), inset 0 1px 0 rgba(212, 161, 60, 0.18);
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.formx__panel::-webkit-scrollbar { width: 6px; }
.formx__panel::-webkit-scrollbar-track { background: transparent; }
.formx__panel::-webkit-scrollbar-thumb {
  background: rgba(212, 161, 60, 0.5);
  border-radius: 3px;
}
.formx__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-right: 48px;
}
.formx__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--photon);
  text-transform: uppercase;
}
.formx__brand-mark {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--gold);
}
body.form-open .formx__panel { transform: translateY(0) scale(1); }
.formx__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--photon);
  display: grid;
  place-items: center;
  transition: border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
  z-index: 2;
}
.formx__close:hover { border-color: var(--gold); color: var(--gold); transform: rotate(90deg); }
.formx__progress {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.formx__progress-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--photon-mute);
  transition: color .3s var(--ease);
}
.formx__progress-step em {
  font-style: normal;
  color: var(--photon-mute);
  border: 1px solid var(--photon-mute);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font-size: 10px;
  transition: all .3s var(--ease);
}
.formx__progress-step.is-active { color: var(--photon); }
.formx__progress-step.is-active em {
  color: var(--void);
  background: var(--gold);
  border-color: var(--gold);
}
.formx__progress-step.is-done em {
  background: var(--aurora);
  border-color: var(--aurora);
  color: var(--void);
}
.formx__progress-sep {
  flex: 1;
  height: 1px;
  background: var(--line-strong);
  min-width: 20px;
}
.formx__step {
  display: none;
  border: 0;
  padding: 0;
  margin: 0;
  flex-direction: column;
  gap: 20px;
}
.formx__step.is-active { display: flex; animation: stepIn .55s var(--ease-out); }
@keyframes stepIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
.formx__legend {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0 0 6px;
}
.formx__legend h2 {
  font-family: var(--f-display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.015em;
  color: var(--photon);
}
.formx__legend p {
  font-size: 14px;
  color: var(--photon-soft);
  margin: 4px 0 0;
}
.formx__field {
  display: grid;
  gap: 8px;
}
.formx__field > span {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--photon-soft);
}
.formx__field > span em {
  color: var(--gold);
  font-style: normal;
  margin-left: 4px;
}
.formx__field input,
.formx__field textarea {
  width: 100%;
  background: rgba(5, 8, 17, 0.55);
  border: 1px solid rgba(244, 241, 232, 0.14);
  border-radius: 6px;
  padding: 14px 16px;
  color: var(--photon);
  font-family: inherit;
  font-size: 15px;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
  resize: vertical;
}
.formx__field input::placeholder,
.formx__field textarea::placeholder { color: var(--photon-mute); }
.formx__field input:focus,
.formx__field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(5, 8, 17, 0.85);
  box-shadow: 0 0 0 4px rgba(212, 161, 60, 0.12);
}
.formx__field.is-error input,
.formx__field.is-error textarea { border-color: var(--rose); }
.formx__err {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--rose);
  letter-spacing: 0.05em;
  min-height: 14px;
}
.formx__check-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.formx__pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--photon-soft);
  transition: all .3s var(--ease);
}
.formx__pill input { position: absolute; opacity: 0; pointer-events: none; }
.formx__pill i {
  width: 12px;
  height: 12px;
  border: 1px solid var(--photon-mute);
  border-radius: 50%;
  transition: all .3s var(--ease);
}
.formx__pill:hover { border-color: var(--gold); color: var(--photon); }
.formx__pill:has(input:checked) {
  border-color: var(--gold);
  background: rgba(212, 161, 60, 0.1);
  color: var(--photon);
}
.formx__pill:has(input:checked) i { background: var(--gold); border-color: var(--gold); }
.formx__actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
  flex-wrap: wrap;
}
.formx__success {
  text-align: center;
  display: grid;
  gap: 16px;
  justify-items: center;
  padding: 20px 0;
}
.formx__success-icon {
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  color: var(--aurora);
  border: 1px solid var(--aurora);
  border-radius: 50%;
  margin-bottom: 8px;
}
.formx__success h2 {
  font-family: var(--f-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 400;
  margin: 0;
  color: var(--photon);
}
.formx__success p {
  color: var(--photon-soft);
  margin: 0;
  max-width: 380px;
}

body.form-open { overflow: hidden; }

/* ---------- mobile-specific ---------- */
@media (max-width: 720px) {
  .sx { padding: clamp(48px, 9vw, 80px) var(--gutter); }
  .hero__meta { gap: 8px; }
  .hero__meta .micro { font-size: 10px; }
  .hero__panel { padding: 16px; gap: 10px; }
  .panel__row { padding: 8px 10px; }
  .panel__num { font-size: 26px; }
  .hero__ticker-label { font-size: 10px; padding-right: 10px; }
  .formx { align-items: stretch; padding: 0; }
  .formx__panel {
    width: 100%;
    max-width: 100%;
    max-height: 100svh;
    height: 100svh;
    border-radius: 0;
    border: 0;
  }
}

/* ---------- reduced motion fallback ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero__word { transform: none; opacity: 1; }
  .hero__tag, .hero__lede, .hero__cta { opacity: 1; }
  .stage { display: none; }
}
