/* Butiko Group visual system — 2026 */
:root {
  --ink: #0e1815;
  --paper: #f2f3ed;
  --cream: #fbfcf7;
  --acid: #c8ef57;
  --coral: #e76543;
  --blue: #226b5c;
  --muted: #626b66;
  --line: #cbd1ca;
  --max: 1200px;
  --font-display: 'Space Grotesk', 'Avenir Next', 'Segoe UI', sans-serif;
  --font-sans: 'Manrope', 'Avenir Next', 'Segoe UI', sans-serif;
}

body {
  background-image: radial-gradient(circle at 12% 3%, rgba(200, 239, 87, .08), transparent 24rem);
}

::selection { background: var(--acid); color: var(--ink); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 84px;
  background: rgba(242, 243, 237, .9);
  box-shadow: 0 1px 0 rgba(14, 24, 21, .08);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
}
[id] { scroll-margin-top: 104px; }
.logo { font-family: var(--font-display); font-weight: 650; letter-spacing: -.035em; }
.logo-mark {
  border-radius: 10px;
  background: var(--ink);
  font: 600 18px/1 var(--font-display);
  letter-spacing: -.06em;
}
.nav-links { font-size: 12px; letter-spacing: .015em; }
.nav-links a:not(.nav-cta) { text-underline-offset: 7px; text-decoration-thickness: 2px; }
.nav-links a:not(.nav-cta):hover { text-decoration: underline; text-decoration-color: var(--acid); }
.nav-links .nav-cta,
.button {
  border-radius: 3px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.nav-links .nav-cta:hover,
.button:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--coral); }

.hero { min-height: 750px; }
.hero h1,
.display,
.section h2,
.page-hero h1,
.signup-panel h2,
.contact h2,
.personal-hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -.065em;
}
.hero h1 { font-size: clamp(59px, 7.25vw, 106px); line-height: .91; }
.hero h1 em { font-style: normal; color: var(--blue); }
.eyebrow { font-family: var(--font-display); font-weight: 650; letter-spacing: .13em; }
.eyebrow i { border-radius: 2px; background: var(--coral); }
.hero .lead,
.section-intro,
.page-hero p { color: #3f4a45; }

.hero-visual {
  border-radius: 12px;
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(200, 239, 87, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 239, 87, .07) 1px, transparent 1px);
  background-size: 28px 28px;
  box-shadow: 14px 14px 0 var(--blue);
}
.orbit { border-color: #496059; }
.core { border-radius: 12px; font: 600 45px/1 var(--font-display); }
.chip { border-radius: 2px; box-shadow: 6px 6px 0 var(--coral); font-family: var(--font-display); }
.ticker { background: var(--acid); color: var(--ink); border-block: 1px solid var(--ink); }

.section h2 { line-height: 1.01; }
.areas { gap: 12px; background: transparent; border: 0; }
.area {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(251, 252, 247, .78);
  transition: border-color .18s ease, transform .18s ease;
}
.area:hover { border-color: var(--blue); transform: translateY(-3px); }
.area .num { color: var(--blue); font-family: var(--font-display); }
.area h3,
.moment h3,
.lab-copy h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.055em; }

.manifesto { background: #10251f; }
.manifesto blockquote {
  font-family: var(--font-display);
  font-weight: 450;
  line-height: 1.04;
  letter-spacing: -.055em;
}
.timeline { border-left-color: var(--line); }
.moment::before { border-radius: 2px; background: var(--blue); }
.lab-card { border-radius: 8px; overflow: hidden; }
.lab-stats { background: var(--blue); }
.lab-stats strong { font-family: var(--font-display); font-weight: 500; }
.contact { background: var(--acid); border: 1px solid var(--ink); box-shadow: 12px 12px 0 var(--blue); }
footer a { text-underline-offset: 4px; }

@media (max-width: 820px) {
  .nav { height: 70px; }
  .hero h1,
  .page-hero h1,
  .personal-hero h1 { font-size: 54px; }
  .hero-visual { box-shadow: 8px 8px 0 var(--blue); }
  .contact { box-shadow: 7px 7px 0 var(--blue); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker div { animation: none; }
  .area,
  .button,
  .nav-links .nav-cta { transition: none; }
}

/* Trading directory: the same brand, with denser technical surfaces. */
.live-strip,
.lab-deep-dive > summary,
.experiment-ops,
.journey .experiment-scroll { background: #10251f; }
.live-strip { border-radius: 7px; overflow: hidden; }
.catalog-card,
.experiment-chart,
.pair-card { border-radius: 7px; }
.catalog-card h3,
.experiment-chart h3,
.experiment-ops h3,
.detail-head h2 { font-family: var(--font-display); font-weight: 550; }
.catalog-card.atlas { box-shadow: inset 0 5px 0 var(--acid); }
.catalog-card.cap { box-shadow: inset 0 5px 0 var(--coral); }
.catalog-card.xgb { box-shadow: inset 0 5px 0 var(--blue); }
.experiment-cta,
.lab-horizon { background: var(--blue); border-radius: 7px; }
.real-bars .bar { fill: var(--blue); }
.real-bars .bar.loss { fill: var(--coral); }

/* Private portal: inherit the public identity instead of falling back to Georgia/Arial. */
.portal-copy h1,
.portal-form h2,
.login-card h1,
.terms-card h1,
.terms-card h2,
.member-head h1,
.member-title h2,
.metric-grid strong,
.signal-card h3,
.empty-feed h1 { font-family: var(--font-display); font-weight: 550; }
.portal-form,
.login-card,
.terms-card,
.member-nav,
.member-table th,
.disclosure { background: #10251f; }
.portal-form,
.login-card,
.terms-card { border-radius: 8px; box-shadow: 12px 12px 0 var(--acid); }
.portal-field input,
.portal-field select,
.portal-field textarea,
.signal-card h3 small { font-family: var(--font-sans); }
.member-alert { background: var(--acid); }
.signal-card.is-open { border-top-color: var(--blue); }
.metric-grid div,
.signal-card,
.empty-feed { background: var(--cream); }
