/* Bloomin Solutions — "Technical Minimalist": paper, forest, hairlines. No shadows, no gradients. */

:root {
  --paper: #F7F7F5;
  --forest: #1A3C2B;
  --grid: #3A3A38;
  --coral: #FF8C69;
  --mint: #9EFFBF;
  --gold: #F4D35E;
  --white: #FFFFFF;
  --ink: #1A3C2B;
  --muted: rgba(58, 58, 56, 0.72);
  --line: rgba(58, 58, 56, 0.2);
  --line-forest: rgba(26, 60, 43, 0.2);

  --f-head: 'Space Grotesk', system-ui, sans-serif;
  --f-body: 'General Sans', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;

  --wrap: 1200px;
  --gutter: 32px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--paper);
  background-image: url('../img/mosaic.svg');
  background-size: 480px 480px;
  color: var(--grid);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--mint); color: var(--forest); }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--forest); color: var(--paper); padding: 8px 12px; }

/* ---------- Type ---------- */
.mono, .label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.label { color: var(--forest); display: inline-block; }
h1, h2, h3 { font-family: var(--f-head); color: var(--forest); margin: 0; font-weight: 700; }
h1 { font-size: clamp(48px, 8.4vw, 104px); line-height: 0.9; letter-spacing: -0.045em; }
h2 { font-size: clamp(36px, 5vw, 64px); line-height: 0.95; letter-spacing: -0.035em; }
h3 { font-size: 24px; line-height: 1.1; letter-spacing: -0.02em; }
p { margin: 0; }
.lead { font-size: 18px; color: var(--muted); max-width: 52ch; }

/* ---------- Buttons & badge ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 18px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; border-radius: 2px; border: 1px solid var(--forest);
  cursor: pointer; transition: background-color .15s var(--ease), color .15s var(--ease);
}
.btn-solid { background: var(--forest); color: var(--paper); }
.btn-solid:hover { background: #0F2A1D; }
.btn-ghost { background: transparent; color: var(--forest); }
.btn-ghost:hover { background: var(--forest); color: var(--paper); }
.btn .arrow { transition: transform .15s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px; border: 1px solid var(--line-forest);
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--forest); background: var(--paper);
}
.badge::before { content: ''; width: 8px; height: 8px; background: var(--forest); }
.badge.live::before { background: #2E9E5B; animation: blink 2s steps(2, start) infinite; }
.badge.soon::before { background: transparent; border: 1px solid var(--forest); }
@keyframes blink { 50% { opacity: .35; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(247, 247, 245, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { width: 32px; height: 32px; }
.brand-word { font-family: var(--f-head); font-weight: 700; font-size: 22px; letter-spacing: -0.045em; color: var(--forest); line-height: 1; }
.brand-sub { display: block; font-family: var(--f-mono); font-size: 8px; letter-spacing: 0.32em; color: var(--forest); margin-top: 3px; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; color: var(--grid); padding: 6px 0; border-bottom: 1px solid transparent;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--forest); border-bottom-color: var(--forest); }
.nav-links .idx { color: var(--muted); margin-right: 4px; }
.nav-cta { display: flex; gap: 8px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); width: 40px; height: 40px; border-radius: 2px; cursor: pointer; }
.menu-btn span { display: block; width: 16px; height: 1px; background: var(--forest); margin: 4px auto; }

main { padding-top: 64px; }

/* ---------- Sections ---------- */
.section { border-top: 1px solid var(--line); padding: 112px 0; scroll-margin-top: 64px; }
.section-head { display: grid; grid-template-columns: 200px 1fr; gap: 32px; margin-bottom: 56px; }
.section-head .label { padding-top: 10px; }
.section-head p { margin-top: 20px; }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 112px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center; }
.hero h1 .accent { display: inline-block; background: var(--mint); padding: 0 .08em; }
.hero-sub {
  margin-top: 40px; padding-left: 20px; border-left: 1px solid var(--forest);
  font-family: var(--f-mono); font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase;
  line-height: 1.7; color: var(--grid); max-width: 46ch;
}
.hero-actions { margin-top: 40px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { margin-top: 56px; display: flex; gap: 32px; flex-wrap: wrap; }
.hero-meta div { font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero-meta strong { display: block; color: var(--forest); font-size: 12px; font-weight: 500; margin-top: 4px; }

/* Orbit graphic: the company at the centre, ventures around it. */
.orbit-box { position: relative; aspect-ratio: 1; border: 1px solid var(--line); background: var(--paper); }
.orbit-box .tick { position: absolute; font-family: var(--f-mono); font-size: 9px; letter-spacing: .14em; color: var(--muted); }
.orbit-box .tl { top: 12px; left: 14px; } .orbit-box .br { bottom: 12px; right: 14px; }
.orbit-box svg { width: 100%; height: 100%; }
.orbit-spin { transform-origin: 250px 250px; animation: spin 40s linear infinite; }
.orbit-spin-rev { transform-origin: 250px 250px; animation: spin 60s linear infinite reverse; }
.orbit-label { transform-box: fill-box; transform-origin: center; animation: spin 40s linear infinite reverse; }
.orbit-label.rev { animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Bento ---------- */
.bento {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.cell { min-width: 0; background: var(--paper); padding: 32px; display: flex; flex-direction: column; gap: 18px; min-height: 300px; }
.cell-label { border-left: 3px solid var(--forest); padding-left: 10px; }
.cell-label.coral { border-color: var(--coral); }
.cell-label.mint { border-color: var(--mint); }
.cell-label.gold { border-color: var(--gold); }
.cell p { color: var(--muted); max-width: 44ch; }
.mock {
  margin-top: auto; background: var(--white); border: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 12px; line-height: 1.7; color: var(--grid); padding: 14px 16px;
  overflow-x: auto; white-space: pre;
}
.mock .k { color: var(--forest); font-weight: 500; }
.mock .c { color: var(--muted); }
.chip { display: inline-block; padding: 0 6px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--forest); }
.chip.mint { background: var(--mint); } .chip.coral { background: var(--coral); } .chip.gold { background: var(--gold); }

/* ---------- Ventures ---------- */
.ventures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.venture { background: var(--paper); padding: 40px; display: flex; flex-direction: column; gap: 22px; min-height: 420px; min-width: 0; }
.venture-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.venture h3 { font-size: clamp(30px, 3.2vw, 42px); letter-spacing: -0.035em; line-height: .95; }
.venture h3 small { display: block; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-top: 12px; }
.venture p { color: var(--muted); max-width: 52ch; }
.venture ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.venture li { font-family: var(--f-mono); font-size: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; }
.venture li span { color: var(--muted); min-width: 24px; }
.venture.next { background: var(--paper); border: 0; position: relative; justify-content: center; align-items: flex-start; grid-column: 1 / -1; min-height: 300px; }
.venture.next .dash {
  position: absolute; inset: 24px; border: 1px dashed rgba(58, 58, 56, 0.35);
  pointer-events: none;
}
.venture.next h3 { color: var(--grid); }
.seed { width: 56px; height: 56px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--forest); }
.step { padding: 28px 28px 0 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step .num { font-family: var(--f-mono); font-size: 12px; color: var(--forest); letter-spacing: .1em; }
.step h3 { margin: 28px 0 12px; }
.step p { color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 640px; gap: 64px; align-items: start; }
.contact-list { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); }
.contact-list li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 110px 1fr; gap: 16px; }
.contact-list .mono { color: var(--muted); padding-top: 3px; }
.contact-list a { color: var(--forest); text-decoration: none; font-family: var(--f-head); font-size: 20px; letter-spacing: -0.01em; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-list address { font-style: normal; color: var(--forest); }

.form-box { position: relative; background: var(--paper); border: 1px solid var(--line); padding: 40px; max-width: 640px; width: 100%; }
.corner { position: absolute; width: 10px; height: 10px; border: 0 solid var(--forest); }
.corner.tl { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; }
.corner.tr { top: -1px; right: -1px; border-top-width: 2px; border-right-width: 2px; }
.corner.bl { bottom: -1px; left: -1px; border-bottom-width: 2px; border-left-width: 2px; }
.corner.br { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--forest); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; color: var(--grid);
  background: var(--white); border: 1px solid var(--line); border-radius: 2px;
  padding: 10px 12px; width: 100%;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest); }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.form-foot .mono { color: var(--muted); font-size: 10px; }
.hp { display: none; }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding: 96px 0 72px; }
.page-head h1 { font-size: clamp(44px, 7vw, 88px); margin-top: 24px; }
.page-head .lead { margin-top: 28px; }

.prose { max-width: 720px; }
.prose h2 { font-size: 28px; letter-spacing: -0.02em; margin: 48px 0 14px; }
.prose p, .prose li { color: var(--grid); }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 20px; }
.prose a { color: var(--forest); }

.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.value { background: var(--paper); padding: 32px; }
.value .num { font-family: var(--f-mono); font-size: 11px; color: var(--muted); letter-spacing: .1em; }
.value h3 { margin: 18px 0 10px; }
.value p { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--paper); padding: 64px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.foot-grid h4 { font-family: var(--f-mono); font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 8px; }
.foot-grid a { text-decoration: none; color: var(--forest); }
.foot-grid a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-tag { margin-top: 18px; color: var(--muted); max-width: 34ch; }
.foot-bottom {
  margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .orbit-box { max-width: 460px; }
  .ventures { grid-template-columns: minmax(0, 1fr); }
  .venture { min-height: 0; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .menu-btn { display: block; }
  .site-header.open .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px;
  }
  .site-header.open .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .section { padding: 80px 0; }
  .hero { padding: 56px 0 80px; }
  .bento, .values { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .step h3 { margin-top: 16px; }
  .form-box, .venture, .cell { padding: 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .nav-cta .btn-solid { display: none; }
  .hero-sub { font-size: 12px; }
}
