:root {
  color-scheme: dark;
  --bg: #080d0b;
  --bg-2: #0f1712;
  --panel: rgba(245, 236, 218, 0.065);
  --panel-strong: rgba(245, 236, 218, 0.11);
  --ink: #f5ecda;
  --muted: #b8ad97;
  --quiet: #7f8d78;
  --line: rgba(245, 236, 218, 0.15);
  --line-strong: rgba(245, 236, 218, 0.27);
  --gold: #d2ad63;
  --clay: #c9784a;
  --moss: #8ea978;
  --teal: #4ba69a;
  --shadow: 0 32px 100px rgba(0, 0, 0, 0.42);
  --max: 1180px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(142,169,120,.22), transparent 30rem),
    radial-gradient(circle at 88% 18%, rgba(201,120,74,.18), transparent 28rem),
    radial-gradient(circle at 48% 100%, rgba(75,166,154,.13), transparent 34rem),
    linear-gradient(180deg, #080d0b 0%, #111913 42%, #070a08 100%);
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(245,236,218,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,236,218,.025) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 78%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 38%, transparent 0 18rem, rgba(0,0,0,.18) 48rem, rgba(0,0,0,.42) 100%);
}

.cursor-glow {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  background: radial-gradient(circle, rgba(210,173,99,.12), transparent 68%);
  transition: opacity .3s ease;
}
body.pointer-active .cursor-glow { opacity: 1; }

body, button, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
p { color: var(--muted); line-height: 1.7; text-wrap: pretty; }
button { color: inherit; }

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 32px), var(--max));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 14px 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 13, 11, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 780; letter-spacing: .035em; }
.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  position: relative;
  background: conic-gradient(from 215deg, var(--moss), var(--gold), var(--clay), var(--teal), var(--moss));
  box-shadow: 0 0 0 1px rgba(245,236,218,.2), 0 0 34px rgba(210,173,99,.23);
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px rgba(245,236,218,.22);
}
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a, .nav-toggle {
  color: var(--muted);
  padding: 10px 13px;
  border-radius: 999px;
  font-size: 14px;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.site-nav a:hover, .site-nav a:focus-visible { color: var(--ink); background: rgba(245,236,218,.08); }
.nav-toggle { display: none; border: 1px solid var(--line); background: transparent; color: var(--ink); min-height: 44px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.section-pad {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 112px 0;
  scroll-margin-top: 116px;
  position: relative;
  z-index: 1;
}
.hero {
  min-height: 100vh;
  display: grid;
  align-content: center;
  padding-top: 170px;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) 420px; gap: 54px; align-items: center; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .19em;
  font-size: 12px;
  font-weight: 800;
}
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1 {
  max-width: 870px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(56px, 9vw, 124px);
  line-height: .88;
  letter-spacing: -.078em;
}
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5.7vw, 76px);
  line-height: .94;
  letter-spacing: -.052em;
}
h3 { font-size: 22px; letter-spacing: -.025em; }
.hero-copy {
  max-width: 710px;
  margin: 30px 0 0;
  font-size: clamp(19px, 2.15vw, 27px);
  color: #ded4bf;
}
.hero-actions, .consulting-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 780;
  border: 1px solid var(--line);
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.button.ghost { background: rgba(245,236,218,.055); color: var(--ink); }

.night-orbit {
  position: absolute;
  width: min(52vw, 640px);
  aspect-ratio: 1;
  right: -8%;
  top: 15%;
  z-index: -1;
  border-radius: 50%;
  border: 1px solid rgba(245,236,218,.08);
  opacity: .72;
  animation: breathe 12s ease-in-out infinite alternate;
}
.night-orbit span { position: absolute; border-radius: 50%; border: 1px solid rgba(245,236,218,.09); inset: 12%; }
.night-orbit span:nth-child(2) { inset: 27%; border-color: rgba(210,173,99,.16); }
.night-orbit span:nth-child(3) { width: 12px; height: 12px; inset: auto; top: 18%; left: 24%; background: var(--gold); box-shadow: 0 0 30px rgba(210,173,99,.7); }
@keyframes breathe { from { transform: rotate(-8deg) scale(.98); } to { transform: rotate(7deg) scale(1.04); } }

.lab-console, .map-detail, .consulting-card, .vision-copy, .founder-note {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(245,236,218,.09), rgba(245,236,218,.035));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.lab-console { border-radius: 30px; padding: 18px; transform: rotate(1.25deg); }
.console-topline { display: flex; justify-content: space-between; align-items: center; margin: 4px 4px 14px; color: var(--quiet); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; }
.status-dot { color: var(--moss); }
.status-dot::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--moss); box-shadow: 0 0 18px rgba(142,169,120,.7); }
.console-row {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 18px;
  padding: 16px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 3px 10px;
  text-align: left;
  background: transparent;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.console-row:hover, .console-row.active { background: rgba(245,236,218,.075); border-color: var(--line); transform: translateX(2px); }
.console-row span { grid-row: 1 / span 2; color: var(--gold); font-weight: 850; letter-spacing: .12em; }
.console-row strong { font-size: 16px; }
.console-row em { color: var(--muted); font-style: normal; font-size: 13px; }

.section-kicker { display: grid; grid-template-columns: .85fr 1.15fr; gap: 54px; align-items: end; margin-bottom: 48px; }
.section-kicker p:last-child { max-width: 580px; font-size: 18px; }
.map-section { border-top: 1px solid var(--line); }
.venture-map {
  position: relative;
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: 42px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(210,173,99,.13), transparent 18rem),
    linear-gradient(145deg, rgba(245,236,218,.05), rgba(245,236,218,.018));
}
.map-lines { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.map-lines line { stroke: rgba(245,236,218,.17); stroke-width: .16; }
.map-core {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 176px; height: 176px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  border: 1px solid var(--line-strong);
  background: radial-gradient(circle at 35% 25%, rgba(245,236,218,.16), rgba(245,236,218,.055));
  box-shadow: 0 0 80px rgba(210,173,99,.13), inset 0 0 50px rgba(255,255,255,.04);
}
.core-ring { position: absolute; inset: -14px; border-radius: 50%; border: 1px dashed rgba(210,173,99,.28); animation: spin 34s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.map-core strong { font-family: Georgia, "Times New Roman", serif; font-size: 27px; letter-spacing: -.04em; }
.map-core em { color: var(--gold); font-style: normal; font-size: 12px; text-transform: uppercase; letter-spacing: .18em; font-weight: 800; }
.map-node {
  position: absolute;
  min-width: 156px;
  min-height: 54px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(8,13,11,.72);
  backdrop-filter: blur(12px);
  color: var(--ink);
  cursor: pointer;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}
.map-node:hover, .map-node.active { transform: translateY(-3px); border-color: rgba(210,173,99,.7); background: rgba(245,236,218,.095); box-shadow: 0 18px 50px rgba(0,0,0,.3); }
.node-products { left: 9%; top: 19%; }
.node-systems { right: 9%; top: 23%; }
.node-consulting { left: 8%; bottom: 17%; }
.node-creative { right: 12%; bottom: 14%; }
.node-karsana { left: 50%; transform: translateX(-50%); top: 8%; }
.node-karsana:hover, .node-karsana.active { transform: translateX(-50%) translateY(-3px); }
.map-detail { margin: -86px auto 0; width: min(calc(100% - 48px), 720px); border-radius: 28px; padding: 26px 28px; position: relative; z-index: 2; }
.map-detail h3 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 8px; }
.map-detail p:not(.eyebrow) { margin: 0; font-size: 17px; }
.text-link { display: inline-flex; margin-top: 18px; color: var(--gold); font-weight: 800; }

.split-section, .company { display: grid; grid-template-columns: .86fr 1.14fr; gap: 62px; align-items: start; border-top: 1px solid var(--line); }
.work-stack { display: grid; border-top: 1px solid var(--line); }
.work-stack article {
  display: grid;
  grid-template-columns: 54px 240px 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}
.work-stack span { color: var(--gold); font-weight: 850; font-size: 13px; letter-spacing: .13em; }
.work-stack p { margin: 0; }

.consulting-card {
  width: min(calc(100% - 40px), 1260px);
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 20px;
  border-radius: 42px;
  padding: clamp(28px, 5vw, 58px);
  background:
    radial-gradient(circle at 12% 18%, rgba(201,120,74,.18), transparent 25rem),
    linear-gradient(145deg, rgba(245,236,218,.09), rgba(245,236,218,.035));
}
.consulting-content p:not(.eyebrow) { max-width: 760px; font-size: 18px; }
.consulting-proof { align-self: stretch; border-left: 1px solid var(--line); padding-left: 28px; }
.consulting-proof span { color: var(--gold); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 850; }
.consulting-proof ul { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.consulting-proof li { color: var(--ink); padding-bottom: 14px; border-bottom: 1px solid var(--line); }

.vision {
  width: min(calc(100% - 40px), 1360px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: stretch;
}
.vision-copy {
  padding: clamp(34px, 7vw, 84px);
  border-radius: 44px;
  background:
    radial-gradient(circle at 75% 20%, rgba(142,169,120,.2), transparent 24rem),
    linear-gradient(135deg, rgba(142,169,120,.15), rgba(210,173,99,.075) 48%, rgba(201,120,74,.08)),
    rgba(245,236,218,.035);
}
.vision-copy p { max-width: 870px; font-size: 18px; }
.founder-note { align-self: end; padding: 28px; border-radius: 32px; }
.founder-note span { color: var(--gold); text-transform: uppercase; font-size: 12px; letter-spacing: .16em; font-weight: 850; }
.founder-note p { color: var(--ink); font-size: 20px; line-height: 1.45; }
.company-copy { font-size: 18px; }
.contact { text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact h2 { max-width: 820px; margin: 0 auto 22px; }
.email-link { display: inline-block; margin-top: 6px; color: var(--gold); font-size: clamp(26px, 5vw, 56px); font-family: Georgia, "Times New Roman", serif; letter-spacing: -.04em; }
.fine-print { color: var(--quiet); }

.site-footer {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 44px 0 58px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  color: var(--muted);
}
.site-footer p { max-width: 620px; margin: 10px 0 0; font-size: 14px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
.site-footer a { color: #dcd2bd; }
.site-footer a:hover { color: var(--gold); }
.copyright { grid-column: 1 / -1; opacity: .75; }

[data-animate] { opacity: 0; transform: translateY(18px); transition: opacity .75s ease, transform .75s ease; }
[data-animate].visible { opacity: 1; transform: translateY(0); }
.site-header[data-animate] { transform: translateX(-50%) translateY(18px); }
.site-header[data-animate].visible { transform: translateX(-50%) translateY(0); }

.policy-page main {
  width: min(calc(100% - 40px), 820px);
  margin: 0 auto;
  padding: 160px 0 96px;
}
.policy-page h1 { font-size: clamp(44px, 7vw, 84px); }
.policy-page h2 { font-size: 28px; margin-top: 42px; }
.policy-page li { color: var(--muted); line-height: 1.7; margin-bottom: 10px; }

@media (max-width: 980px) {
  .hero-grid, .section-kicker, .split-section, .company, .vision, .consulting-card { grid-template-columns: 1fr; }
  .lab-console { transform: none; }
  .consulting-proof { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 24px; }
}

@media (max-width: 900px) {
  .site-header { left: 16px; right: 16px; width: auto; transform: none; border-radius: 26px; align-items: flex-start; flex-wrap: wrap; }
  .site-header[data-animate], .site-header[data-animate].visible { transform: none; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-top: 8px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 14px; }
  .section-pad { width: min(calc(100% - 28px), var(--max)); padding: 78px 0; }
  .hero { padding-top: 150px; }
  .night-orbit { width: 95vw; right: -45%; top: 19%; }
  .hero-actions, .consulting-actions { flex-direction: column; }
  .button { width: 100%; }
  .venture-map { min-height: 660px; }
  .map-core { width: 150px; height: 150px; }
  .map-node { min-width: 138px; font-size: 13px; }
  .node-products { left: 5%; top: 18%; }
  .node-systems { right: 5%; top: 25%; }
  .node-consulting { left: 5%; bottom: 22%; }
  .node-creative { right: 5%; bottom: 16%; }
  .node-karsana { top: 7%; }
  .map-detail { margin-top: -60px; width: min(calc(100% - 28px), 720px); }
  .work-stack article { grid-template-columns: 48px 1fr; gap: 12px 18px; }
  .work-stack p { grid-column: 2; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .brand-text { display: none; }
  .eyebrow { font-size: 10px; letter-spacing: .14em; line-height: 1.6; }
  h1 { max-width: 100%; font-size: clamp(43px, 13.3vw, 62px); line-height: .94; letter-spacing: -.064em; }
  h2 { letter-spacing: -.045em; }
  .hero-copy { max-width: 100%; font-size: 18px; line-height: 1.65; }
  .venture-map { min-height: 720px; }
  .map-lines { opacity: .25; }
  .map-node { left: 50% !important; right: auto !important; transform: translateX(-50%); }
  .map-node:hover, .map-node.active { transform: translateX(-50%) translateY(-3px); }
  .node-karsana { top: 6%; }
  .node-products { top: 18%; }
  .node-systems { top: 30%; }
  .node-consulting { bottom: 27%; }
  .node-creative { bottom: 15%; }
  .map-core { top: 52%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
  [data-animate] { opacity: 1; transform: none; }
  .cursor-glow { display: none; }
}
