/* ================================================================
   ORVIO — Teaser landing (direction B · editorial)
   Responsive. Petrol base · coral hero · mint Balance band · Geist
   ================================================================ */

:root {
  --bg:        #0B1418;
  --bg-deep:   #070C10;
  --fg:        #E8ECEF;
  --fg-2:      #A9B5BE;
  --fg-3:      #6B7A85;
  --fg-4:      #44525C;
  --line:      #1B2E3C;
  --line-2:    #243845;
  --coral:     #FF6B5C;
  --mint:      #86E3C9;
  --font-sans: 'Geist', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', monospace;
  --pad: clamp(24px, 5.5vw, 100px);
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font-sans); font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
.app { position: relative; }

/* ---- shared mono label -------------------------------------------- */
.mono-lbl {
  font-family: var(--font-mono); font-size: clamp(12px, 1vw, 15px);
  letter-spacing: .24em; text-transform: uppercase; color: var(--fg-3);
}
.mono-lbl.dim { color: var(--fg-4); }

/* ---- atmosphere (fixed, whole page) ------------------------------- */
.atmos { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.atmos-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 35%, black 25%, transparent 80%);
          mask-image: radial-gradient(ellipse 70% 60% at 70% 35%, black 25%, transparent 80%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(150px); }
.atmos-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 40%, transparent 45%, rgba(0,0,0,.5) 100%);
}

/* ---- top / bottom chrome ------------------------------------------ */
.shell { position: relative; z-index: 2; }
.nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(24px, 3.4vw, 48px) var(--pad);
}
.wordmark { font-size: clamp(22px, 2vw, 30px); font-weight: 500; letter-spacing: -.03em; color: var(--fg); }

/* ---- mark animation ------------------------------------------------ */
.mk { display: block; overflow: visible; }
.mk-breathe .mk-glow { animation: mk-breathe 5.5s ease-in-out infinite; transform-origin: center; }
@keyframes mk-breathe { 0%,100%{ opacity:.7; transform:scale(1) } 50%{ opacity:1; transform:scale(1.06) } }
.mk-breathe .mk-dot { animation: mk-dot 2.8s ease-in-out infinite; transform-origin: 60px -5px; }
@keyframes mk-dot { 0%,100%{ opacity:.85 } 50%{ opacity:1 } }

.chip-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--mint); box-shadow: 0 0 14px var(--mint);
  animation: pulse-dot 2.4s ease-in-out infinite; flex: 0 0 auto;
}
.no-motion .chip-dot, .no-motion .mk-glow, .no-motion .mk-dot, .no-motion .rings { animation: none !important; }
@keyframes pulse-dot { 0%,100%{opacity:1} 50%{opacity:.35} }

/* ================================================================
   HERO — editorial split
   ================================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center;
  gap: clamp(32px, 4vw, 64px);
  padding: clamp(140px, 16vh, 200px) var(--pad) clamp(96px, 12vh, 140px);
}
.hero-text { max-width: 640px; }
.kicker {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--font-mono); font-size: clamp(12px, 1vw, 14px); letter-spacing: .24em;
  text-transform: uppercase; color: var(--fg-2); margin: 0 0 clamp(24px, 3vw, 38px);
}
.hero-head {
  margin: 0; font-weight: 400; letter-spacing: -.035em;
  font-size: clamp(44px, 7.2vw, 88px); line-height: 1.0;
  display: flex; flex-direction: column; text-wrap: balance;
}
.hero-head .accent { color: var(--coral); }
.hero-sub {
  margin: clamp(24px, 3vw, 34px) 0 0; max-width: 460px;
  font-size: clamp(17px, 1.7vw, 22px); line-height: 1.55; font-weight: 300; color: var(--fg-2);
  text-wrap: pretty;
}

.hero-mark { position: relative; display: flex; align-items: center; justify-content: center; min-height: 360px; }
.hero-mark .mk { position: relative; z-index: 2; }
.rings { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 1; }
.rings span {
  position: absolute; border: 1px solid rgba(255,255,255,.05); border-radius: 50%;
  animation: spin 64s linear infinite;
}
.rings span:nth-child(1) { width: 42vw; max-width: 560px; aspect-ratio: 1; }
.rings span:nth-child(2) { width: 58vw; max-width: 760px; aspect-ratio: 1; border-color: rgba(255,255,255,.035); animation-duration: 96s; animation-direction: reverse; }
.rings span:nth-child(3) { width: 74vw; max-width: 980px; aspect-ratio: 1; border-color: rgba(255,255,255,.022); animation-duration: 128s; }
@keyframes spin { to { transform: rotate(360deg); } }

/* scroll cue */
.scroll-cue {
  position: absolute; left: 50%; bottom: clamp(24px, 4vh, 44px); transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 3;
}
.scroll-cue .line { width: 1px; height: 40px; background: linear-gradient(var(--line-2), transparent); }
.scroll-cue .line::after {
  content: ''; display: block; width: 1px; height: 14px; background: var(--coral);
  animation: cue 2.2s var(--, ease) infinite;
}
@keyframes cue { 0%{ transform: translateY(-14px); opacity:0 } 30%{opacity:1} 100%{ transform: translateY(40px); opacity:0 } }
.no-motion .scroll-cue .line::after { animation: none; }

/* ================================================================
   BALANCE BAND — the seal's spotlight
   ================================================================ */
.balance {
  position: relative; z-index: 2;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 90% at 50% 0%, rgba(134,227,201,.07), transparent 70%),
    linear-gradient(180deg, rgba(7,12,16,.4), rgba(7,12,16,.9));
  padding: clamp(80px, 14vh, 160px) var(--pad);
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.balance .eyebrow { margin: 0 0 clamp(28px, 4vw, 44px); color: var(--fg-3); }
.balance-mark-row { display: flex; align-items: center; gap: clamp(16px, 2vw, 26px); }
.balance-name {
  font-size: clamp(34px, 6vw, 64px); font-weight: 500; letter-spacing: -.035em; color: var(--fg);
}
.balance-name b { font-weight: 500; color: var(--mint); }
.balance-tag {
  display: inline-flex; align-items: center; gap: 10px; margin-top: clamp(28px, 4vw, 40px);
  padding: 9px 20px; border: 1px solid rgba(134,227,201,.24); border-radius: 999px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .26em; text-transform: uppercase; color: var(--mint);
  background: rgba(134,227,201,.04);
}
.balance-line {
  margin: clamp(36px, 5vw, 56px) 0 0; max-width: 540px;
  font-size: clamp(18px, 1.9vw, 23px); line-height: 1.5; font-weight: 300; color: var(--fg-2);
  text-wrap: pretty;
}

/* ================================================================
   FOOTER
   ================================================================ */
.foot {
  position: relative; z-index: 2; background: var(--bg-deep);
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
  padding: clamp(32px, 5vw, 56px) var(--pad);
}
.foot-left { display: flex; align-items: center; gap: 16px; }
.foot .wordmark { font-size: 22px; }
.social { display: inline-flex; align-items: center; gap: 16px; }
.social a { color: var(--fg-2); }
.social a:hover { color: var(--coral); }
.social-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--fg-3); opacity: .6; }

/* ---- reveal on scroll --------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease, cubic-bezier(0,0,.2,1)), transform .9s var(--ease, cubic-bezier(0,0,.2,1)); }
.reveal.in { opacity: 1; transform: none; }
.no-motion .reveal { opacity: 1; transform: none; transition: none; }

/* entrance for hero */
.enter { opacity: 0; transform: translateY(20px); animation: enter .9s cubic-bezier(0,0,.2,1) forwards; }
.enter.d1 { animation-delay: .05s; } .enter.d2 { animation-delay: .18s; }
.enter.d3 { animation-delay: .31s; } .enter.d4 { animation-delay: .44s; }
@keyframes enter { to { opacity: 1; transform: none; } }
.no-motion .enter { opacity: 1; transform: none; animation: none; }
/* safety net: once ready, above-fold hero content is visible no matter what */
.app.ready .enter { opacity: 1 !important; transform: none !important; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr; text-align: center;
    padding-top: clamp(120px, 18vh, 180px);
  }
  .hero-text { max-width: 640px; margin: 0 auto; order: 2; }
  .hero-head { align-items: center; }
  .kicker { margin-bottom: 28px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-mark { order: 1; min-height: 280px; margin-bottom: 8px; }
  .rings span:nth-child(1){ width: 70vw; } .rings span:nth-child(2){ width: 92vw; } .rings span:nth-child(3){ display:none; }
  .scroll-cue { display: none; }
}
@media (max-width: 520px) {
  .balance-mark-row { flex-direction: column; gap: 18px; }
  .foot { justify-content: center; text-align: center; }
}
