/* Orion Quant landing — visual tokens taken from the existing concept site. */
:root {
  --mid: #070B1A;
  --ind: #121A3A;
  --deep: #1C2550;
  --line: #2A3360;
  --star: #F2F4FA;
  --haze: #8A93B2;
  --muted: #B9C0D8;
  --rigel: #8FB8FF;
  --betel: #E8834A;
  --gold: #C9A55C;
  --teal: #2EC4B6;
  --red: #E5484D;
  --max: 1240px;
  --pad: 48px;
  --font-serif: "Cormorant Garamond", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --font-sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--mid); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
body {
  margin: 0;
  background: var(--mid);
  color: var(--star);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11.5px;
  font-weight: 500;
}

/* Skip link */
.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  background: var(--star);
  color: var(--mid);
  padding: 10px 16px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
}
.skip:focus { top: 16px; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
button:focus-visible,
a.btn:focus-visible,
input:focus-visible {
  outline-offset: 2px;
}

/* Top notice */
.notice {
  background: #0E1430;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--haze);
}
.notice .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding-top: 9px;
  padding-bottom: 9px;
}
.notice strong { color: var(--betel); font-weight: 600; }
.notice a {
  color: var(--star);
  border-bottom: 1px solid var(--gold);
  white-space: nowrap;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 11, 26, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand:focus-visible { outline-offset: 4px; }
.brand-mark { flex: 0 0 auto; width: 22px; height: 36px; }
.brand-name { display: flex; flex-direction: column; }
.brand-name .t {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: 0.42em;
  line-height: 1;
  padding-right: 0.2em;
}
.brand-name .s {
  font-size: 9.5px;
  letter-spacing: 0.5em;
  color: var(--haze);
  margin-top: 5px;
  text-transform: uppercase;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13.5px;
  color: var(--haze);
}
.nav a { display: inline-block; padding: 8px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--star); }
.nav-cta {
  border: 1px solid var(--gold);
  color: var(--star) !important;
  padding: 7px 14px !important;
  border-radius: 2px;
  letter-spacing: 0.02em;
}
.nav-cta:hover { background: rgba(201, 165, 92, 0.12); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 70% 80% at 72% 40%, #1C2550 0%, #0D1330 45%, #070B1A 80%);
}
.hero-stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  min-height: 640px;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 88px;
}
.eyebrow {
  color: var(--gold);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35em 0;
}
.eyebrow span + span::before {
  content: "·";
  margin: 0 0.7em;
  color: var(--gold);
}
.hero h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(44px, 6.4vw, 84px);
  line-height: 1.0;
  margin: 18px 0 22px;
  letter-spacing: -0.01em;
  max-width: 11ch;
}
.hero h1 em {
  font-style: italic;
  color: var(--rigel);
}
.lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 540px;
  margin: 0 0 34px;
  line-height: 1.55;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  background: none;
  text-align: center;
}
.btn-primary { background: var(--star); color: var(--mid); }
.btn-primary:hover { background: #fff; }
.btn-ghost { border-color: #47518A; color: var(--star); }
.btn-ghost:hover { border-color: var(--rigel); background: rgba(143, 184, 255, 0.06); }
.btn[disabled] { opacity: 0.65; cursor: not-allowed; }

.endorse {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.endorse::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.hero-note {
  margin-top: 36px;
  font-size: 12px;
  color: var(--haze);
  max-width: 520px;
  border-left: 2px solid var(--betel);
  padding-left: 14px;
  line-height: 1.55;
}
.hero-note a { color: var(--star); border-bottom: 1px solid var(--gold); }

.constellation {
  justify-self: end;
  width: min(100%, 380px);
  padding: 10px 8px 0 0;
}
.constellation svg { width: 100%; height: auto; overflow: visible; }
.constellation text {
  font-family: var(--font-mono);
  font-size: 10px;
  fill: var(--haze);
  letter-spacing: 1px;
}

/* Sections */
section.s {
  padding: 110px 0;
  border-top: 1px solid var(--line);
}
.section-head {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  margin-bottom: 54px;
}
.section-head .n { color: var(--rigel); }
.section-head h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.05;
  margin: 0 0 16px;
}
.section-head p {
  color: var(--muted);
  font-size: 17.5px;
  max-width: 720px;
  margin: 0;
}

/* Feature / approach cards */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.feature {
  background: var(--mid);
  padding: 32px 28px 36px;
}
.feature .ic { height: 46px; margin-bottom: 22px; color: var(--rigel); }
.feature h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 27px;
  margin: 0 0 10px;
}
.feature p { color: var(--haze); font-size: 14.5px; margin: 0; }

/* Markets */
.markets { margin-top: 64px; }
.markets-label {
  margin-bottom: 18px;
  color: var(--gold);
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.card {
  background: var(--mid);
  padding: 30px 26px 34px;
}
.card .ic { height: 46px; margin-bottom: 22px; }
.card h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 27px;
  margin: 0 0 8px;
}
.card p { color: var(--haze); font-size: 14.5px; margin: 0; }
.card .st {
  margin-top: 18px;
  color: var(--teal);
  font-size: 11px;
}
.card .st.research { color: var(--betel); }

/* Process steps */
.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 64px;
}
.step { border-top: 1px solid var(--rigel); padding-top: 22px; }
.step .k { color: var(--rigel); }
.step h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  margin: 10px 0 8px;
}
.step p { color: var(--haze); font-size: 14.5px; margin: 0; }

/* Risk */
.risk {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.ks {
  background: var(--ind);
  border: 1px solid var(--line);
  padding: 34px;
  border-radius: 4px;
}
.ks-title {
  margin: 0 0 18px;
  color: var(--haze);
}
.ks .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px dashed #2F3970;
  font-size: 14.5px;
}
.ks .row span:last-child { color: var(--teal); white-space: nowrap; }
.ks .halt {
  margin-top: 22px;
  background: #2A1420;
  border: 1px solid #6B2A35;
  color: #FFB4B7;
  padding: 16px 18px;
  border-radius: 3px;
  font-size: 14px;
  line-height: 1.45;
}
.ks .halt strong { color: var(--red); font-weight: 600; }
.principles { list-style: none; padding: 0; margin: 0; }
.principles li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.principles li:first-child { padding-top: 0; }
.principles b {
  display: block;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 4px;
}
.principles span { color: var(--haze); font-size: 14.5px; }
.fn {
  margin-top: 28px;
  font-size: 12px;
  color: var(--haze);
}

/* Founder (brief, conservative) */
.founder {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 8px;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
}
.portrait {
  width: 88px;
  height: 110px;
  background: linear-gradient(160deg, #1C2550, #0B1024);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 28px;
  color: #3A4688;
}
.founder h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 32px;
  margin: 0 0 4px;
}
.founder .role { color: var(--gold); font-size: 13px; margin: 0 0 10px; }
.founder p { color: var(--muted); margin: 0; max-width: 640px; font-size: 15.5px; }

/* Enquire */
.enquire-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: start;
}
.enquire-copy p { color: var(--muted); max-width: 480px; }
.contact-mail {
  display: inline-block;
  margin-top: 18px;
  color: var(--rigel);
  border-bottom: 1px solid transparent;
}
.contact-mail:hover { border-bottom-color: var(--rigel); }

.form {
  background: var(--ind);
  border: 1px solid var(--line);
  padding: 34px;
  border-radius: 4px;
}
.form-intro {
  margin: 0 0 22px;
  color: var(--haze);
  font-size: 13.5px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--haze);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}
.field input[type="email"] {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #3A4688;
  padding: 10px 0 8px;
  font-size: 16px; /* 16px avoids iOS zoom */
  color: var(--star);
  border-radius: 0;
}
.field input[type="email"]::placeholder { color: #5C6594; }
.field input[type="email"]:hover { border-bottom-color: var(--rigel); }
.chk {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--muted);
  margin: 8px 0 22px;
  line-height: 1.5;
}
.chk input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--gold);
}
.form .btn { width: 100%; }
.form-status[hidden] { display: none !important; }
.form-status {
  background: var(--ind);
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  padding: 34px;
  border-radius: 4px;
}
.form-status h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 32px;
  margin: 0 0 10px;
}
.form-status p { color: var(--muted); margin: 0 0 10px; font-size: 15px; }
.form-status p:last-child { margin-bottom: 0; }
.form-status .stub-note { font-size: 13px; color: var(--haze); }

/* Disclaimers / footer */
.disc {
  background: #050816;
  border-top: 1px solid var(--line);
  padding: 80px 0 50px;
}
.disc h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 40px;
  margin: 10px 0 26px;
}
.dgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 56px;
  font-size: 13px;
  color: #9AA2C0;
  line-height: 1.65;
}
.dgrid h3 {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--star);
  margin: 0 0 6px;
  font-weight: 600;
}
.dgrid p { margin: 0; }
.placeholder {
  display: inline;
  border: 1px dashed var(--betel);
  color: var(--betel);
  padding: 0 6px;
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  border-radius: 2px;
  text-transform: uppercase;
}
.foot {
  border-top: 1px solid var(--line);
  margin-top: 56px;
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--haze);
}
.foot-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.foot-links a:hover { color: var(--star); }

/* Mobile */
@media (max-width: 800px) {
  :root { --pad: 22px; }
  .notice .wrap { flex-direction: column; align-items: flex-start; gap: 4px; }
  .nav { display: none; }
  .header-cta {
    display: inline-flex;
    border: 1px solid var(--gold);
    color: var(--star);
    padding: 7px 12px;
    border-radius: 2px;
    font-size: 13px;
  }
  .site-header .wrap { height: 62px; }
  .brand-name .t { font-size: 22px; letter-spacing: 0.36em; }
  .hero .wrap {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 12px;
    padding-bottom: 64px;
  }
  .constellation {
    order: -1;
    justify-self: center;
    max-width: 220px;
    padding: 8px 0 4px;
  }
  .lead { font-size: 16.5px; }
  .actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  section.s { padding: 70px 0; }
  .section-head { grid-template-columns: 1fr; gap: 10px; margin-bottom: 34px; }
  .features, .cards, .flow, .risk, .enquire-grid, .dgrid { grid-template-columns: 1fr; }
  .risk { gap: 36px; }
  .enquire-grid { gap: 36px; }
  .founder { grid-template-columns: 72px 1fr; gap: 18px; }
  .portrait { width: 72px; height: 90px; font-size: 22px; }
  .disc { padding: 56px 0 40px; }
  .disc h2 { font-size: 32px; }
  .form, .form-status { padding: 26px 22px; }
}
@media (min-width: 801px) {
  .header-cta { display: none; }
}

@media (max-width: 1100px) and (min-width: 801px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .nav { gap: 20px; }
}
