/* Valorantum Capital — vortex path, logo blues only */
:root {
  --navy: #013781;
  --navy-deep: #00245c;
  --ink: #001433;
  --mid: #3c6090;
  --mist: #9bb4d0;
  --paper: #f3f6fa;
  --white: #ffffff;
  --line: #d4deea;
  --muted: #3d5670;
  --text: #12253c;
  --on-dark: #f4f7fb;
  --on-dark-muted: #d3deea;
  --display: "Bodoni Moda", "Times New Roman", serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --maxw: 1140px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }
html, body { width: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
  color: var(--ink);
}
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--navy); }

p { margin: 0; overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }
svg { max-width: 100%; display: block; }

.wrap {
  width: min(var(--maxw), calc(100% - 40px));
  margin: 0 auto;
  max-width: 100%;
}
.hero-grid, .hero-copy, .hero-vortex, .about-grid, .board, .focus-grid, .contact-inner, .faq-wrap {
  min-width: 0;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--navy); color: var(--on-dark); padding: 10px 16px;
  border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

.kicker, .eyebrow, .panel-kicker {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 14px;
}
.kicker.on-dark, .eyebrow { color: var(--mist); }
.panel-kicker { color: var(--mid); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.btn-primary {
  background: var(--navy); color: var(--on-dark);
  box-shadow: 0 10px 24px -12px rgba(1, 55, 129, .55);
}
.btn-ghost {
  background: transparent; color: var(--on-dark); border-color: rgba(244, 247, 251, .35);
}

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(243, 246, 250, .9);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -22px rgba(0, 20, 51, .45);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img {
  width: 44px; height: 44px; border-radius: 10px; object-fit: cover;
  background: var(--white); border: 1px solid var(--line);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
  font-family: var(--body); font-size: 15px; font-weight: 700; letter-spacing: 0.02em; color: var(--on-dark);
  transition: color .25s var(--ease);
}
.brand-text em {
  font-family: var(--display); font-style: italic; font-size: 14px; color: var(--mist); font-weight: 600;
  transition: color .25s var(--ease);
}
.site-header.scrolled .brand-text strong { color: var(--ink); }
.site-header.scrolled .brand-text em { color: var(--navy); }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: 14px; font-weight: 500; color: var(--on-dark-muted); transition: color .2s var(--ease); }
.nav .nav-cta {
  color: var(--ink); background: var(--on-dark); padding: 9px 18px; border-radius: 999px; font-weight: 600;
}
.site-header.scrolled .nav a { color: var(--muted); }
.site-header.scrolled .nav .nav-cta { color: var(--on-dark); background: var(--navy); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--on-dark); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease), background .25s var(--ease); }
.site-header.scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero — dark vortex */
.hero {
  position: relative;
  padding: 128px 0 72px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 70% at 78% 42%, rgba(1, 55, 129, .55), transparent 64%),
    var(--ink);
  color: var(--on-dark);
}
.hero-wash {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 18% 82%, rgba(60, 96, 144, .18), transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(155, 180, 208, .12), transparent 36%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: 28px;
}
.hero-copy { max-width: min(560px, 100%); width: 100%; }
.hero h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.7rem);
  color: var(--on-dark);
}
.hero h1 em { color: var(--mist); }
.lede {
  margin-top: 22px; font-size: 1.08rem; color: var(--on-dark-muted); max-width: 100%;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-marks {
  list-style: none; margin: 28px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px 18px;
}
.hero-marks li {
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--mist);
  padding-left: 16px; position: relative;
}
.hero-marks li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--mist);
}

.hero-vortex {
  display: grid; place-items: center;
  min-height: 320px; max-width: 100%; width: 100%; overflow: hidden;
}
.vortex {
  width: min(640px, 100%);
  max-width: 100%;
  aspect-ratio: 1;
  height: auto;
}
.vortex text {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  fill: var(--on-dark);
}

.origin-center { transform-origin: 400px 400px; transform-box: view-box; }
.spin-slow { animation: spin 84s linear infinite; }
.spin-slower { animation: spin 140s linear infinite reverse; }
.station-keep {
  transform-origin: 0px 0px;
  transform-box: fill-box;
  animation: spin-rev 84s linear infinite;
}

.coil-draw {
  stroke-dasharray: 12 18;
  animation: dash 28s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-rev { to { transform: rotate(-360deg); } }
@keyframes dash { to { stroke-dashoffset: -420; } }

/* Sections */
.section { padding: 96px 0; }
.section-head { max-width: min(680px, 100%); margin: 0 0 48px; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.15rem); }
.section-head .lead, .about-copy .lead { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }

.about { background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: .78fr 1.22fr; gap: 48px; align-items: start;
}
.about-copy p + p { margin-top: 16px; color: var(--muted); }
.facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
  margin: 32px 0 0; padding: 0;
}
.facts div {
  border-top: 1px solid var(--line); padding-top: 14px;
}
.facts dt {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mid); font-weight: 600; margin-bottom: 6px;
}
.facts dd { margin: 0; font-family: var(--display); font-size: 1.15rem; color: var(--ink); }

/* Spiral board + stations */
.path { background: var(--paper); }
.board {
  position: relative;
  width: min(860px, 100%);
  margin: 0 auto;
  aspect-ratio: 1;
}
.board-svg {
  width: 100%; height: auto;
  display: block;
}
.station-slot {
  position: absolute;
  width: min(230px, 42%);
  z-index: 2;
}
.s-vision { left: 58.4%; top: 37.9%; transform: translate(-8%, -112%); }
.s-allocation { left: 29.7%; top: 61.2%; transform: translate(-92%, -8%); }
.s-risk { left: 70.7%; top: 76.9%; transform: translate(-40%, -118%); }
.s-growth { left: 24.1%; top: 17.9%; transform: translate(-10%, 18%); }

.station-card, .focus-card, .contact-panel, .faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease), transform .25s var(--ease);
}
.station-card { padding: 18px 18px 16px; }
.station-card .idx, .focus-index {
  display: block;
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  font-variant-numeric: tabular-nums;
  color: var(--navy); margin-bottom: 8px;
}
.station-card h3 { font-size: 1.28rem; margin-bottom: 6px; }
.station-card p { color: var(--muted); font-size: .92rem; }

/* Quote band — near-white on ink */
.quote-band {
  background: var(--ink);
  color: var(--on-dark);
  padding: 92px 0;
  position: relative;
  overflow: hidden;
}
.quote-band::before {
  content: "";
  position: absolute; left: -6%; top: -40%;
  width: 420px; height: 420px; border-radius: 50%;
  border: 1px solid rgba(155, 180, 208, .2);
  pointer-events: none;
  animation: spin 72s linear infinite;
}
.quote-inner { position: relative; z-index: 1; max-width: 860px; }
.quote-inner blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.28;
  color: var(--on-dark);
}
.quote-attr {
  margin-top: 22px;
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 600; color: var(--on-dark-muted);
}

/* Focus */
.focus { background: var(--white); }
.focus-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.focus-card {
  padding: 32px 28px 28px;
  min-height: 230px;
}
.focus-card h3 { font-size: 1.5rem; margin-bottom: 12px; }
.focus-card p { color: var(--muted); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq-head { margin: 0; position: sticky; top: 100px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { overflow: hidden; }
.faq-item.open { border-color: var(--navy); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: 0; cursor: pointer; text-align: left; color: var(--ink);
  font-family: var(--body); font-size: 1.05rem; font-weight: 600; padding: 22px 24px;
}
.faq-ico { position: relative; flex: 0 0 auto; width: 16px; height: 16px; }
.faq-ico::before, .faq-ico::after {
  content: ""; position: absolute; background: var(--navy); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.faq-ico::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq-ico::after { top: 0; left: 7px; width: 2px; height: 16px; }
.faq-item.open .faq-ico::after { transform: scaleY(0); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-a { max-height: 280px; }
.faq-a p { color: var(--muted); margin: 0; padding: 0 24px 24px; font-size: .98rem; }

/* Contact */
.contact { background: var(--paper); border-top: 1px solid var(--line); }
.contact-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.contact-copy h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); margin-bottom: 16px; }
.contact-copy p { color: var(--muted); margin-bottom: 20px; }
.contact-email {
  display: inline-block;
  font-family: var(--display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--navy);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.contact-addr { margin-top: 18px; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.contact-social { margin-top: 14px; }
.contact-social a {
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy);
}
.contact-panel {
  padding: 32px 28px;
  background: var(--white);
}
.contact-panel h3 { font-size: 1.7rem; margin-bottom: 10px; }
.contact-panel p { color: var(--muted); margin-bottom: 22px; }

/* Footer — dark, near-white */
.site-footer {
  background: var(--ink); color: var(--on-dark-muted);
  padding: 48px 0 28px;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; flex-wrap: wrap;
  padding-bottom: 28px; border-bottom: 1px solid rgba(212, 222, 234, .16);
}
.site-footer .brand img { border-color: rgba(212, 222, 234, .2); }
.site-footer .brand-text strong { color: var(--on-dark); }
.site-footer .brand-text em { color: var(--mist); }
.footer-tag { margin-top: 12px; font-size: .95rem; color: var(--on-dark-muted); }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { color: var(--on-dark-muted); font-size: 14px; font-weight: 500; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  color: var(--on-dark-muted); font-size: 13px; padding-top: 20px;
}

/* Reveal — transform reset must come before hover transforms */
.js .reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .spin-slow, .spin-slower, .station-keep, .coil-draw, .quote-band::before { animation: none; }
}

/* Hover (fine pointers only) AFTER reveal.in so lift is not overridden */
@media (hover: hover) and (pointer: fine) {
  .nav a:hover { color: var(--on-dark); }
  .nav .nav-cta:hover { background: var(--white); color: var(--navy-deep); }
  .site-header.scrolled .nav a:hover { color: var(--navy); }
  .site-header.scrolled .nav .nav-cta:hover { background: var(--navy-deep); color: var(--on-dark); }
  .btn-primary:hover {
    transform: translateY(-2px);
    background: var(--navy-deep);
    box-shadow: 0 16px 32px -12px rgba(1, 55, 129, .65);
  }
  .btn-ghost:hover {
    transform: translateY(-2px);
    border-color: var(--mist);
    color: var(--on-dark);
  }
  .js .reveal.in.station-card:hover,
  .js .reveal.in.focus-card:hover,
  .js .reveal.in.contact-panel:hover,
  .js .reveal.in.faq-item:hover {
    transform: translateY(-5px);
    border-color: var(--navy);
    box-shadow: 0 22px 40px -28px rgba(1, 55, 129, .45);
    background: var(--white);
  }
  .faq-q:hover { color: var(--navy); }
  .contact-email:hover { border-bottom-color: var(--navy); }
  .footer-nav a:hover, .contact-social a:hover { color: var(--on-dark); }
}

/* Tablet */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-vortex { min-height: 280px; order: -1; }
  .vortex { width: min(420px, 86%); }
  .about-grid { grid-template-columns: 1fr; gap: 12px; }
  .facts { grid-template-columns: 1fr; }
  .board { aspect-ratio: auto; width: 100%; }
  .board-svg { width: min(420px, 88%); margin: 0 auto 28px; }
  .station-slot {
    position: static; width: auto; transform: none;
    margin: 0 0 14px;
  }
  .focus-grid { grid-template-columns: 1fr; }
  .faq-wrap { grid-template-columns: 1fr; gap: 28px; }
  .faq-head { position: static; }
  .contact-inner { grid-template-columns: 1fr; gap: 36px; }
}

/* Mobile ~390px */
@media (max-width: 720px) {
  .wrap { width: min(var(--maxw), calc(100% - 32px)); }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0; align-items: stretch;
    background: rgba(243, 246, 250, .98); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
    transform: translateY(-130%);
    transition: transform .35s var(--ease);
    z-index: 90;
  }
  .nav.open { transform: translateY(0); }
  .nav a {
    padding: 14px 4px; font-size: 17px; color: var(--text);
    border-bottom: 1px solid var(--line);
  }
  .nav .nav-cta {
    text-align: center; margin-top: 12px; border: 0;
    color: var(--on-dark); background: var(--navy);
  }
  html, body, .wrap, .hero-grid, .hero-copy, .section-head, .station-card, .focus-card, .contact-panel {
    max-width: 100%;
  }
  .hero { padding: 118px 0 56px; }
  .lede, .lead, .station-card p, .focus-card p { max-width: 100%; }
  .hero h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; white-space: normal; word-break: break-word; }
  .hero-marks { flex-direction: column; gap: 8px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .station-card { padding: 22px 20px; }
  .focus-card { min-height: 0; padding: 24px 20px; }
  .quote-band { padding: 64px 0; }
  .contact-panel { padding: 22px 18px; }
  .footer-inner, .footer-bottom { flex-direction: column; }
  .contact-email { font-size: 1.25rem; word-break: break-word; }
}

@media (max-width: 420px) {
  .wrap { width: calc(100% - 28px); }
  .header-inner { height: 70px; }
  .brand-text strong { font-size: 14px; }
  .hero { padding: 108px 0 48px; }
  .hero-vortex { min-height: 220px; }
  .nav { inset: 70px 0 auto 0; }
}
