/* Avanti Media Group. One system for the public site, sign-in and the investor room. */
@font-face { font-family: "Inter Tight"; src: url(/assets/fonts/InterTight.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --bg: #08080a;
  --bg-2: #0d0d10;
  --card: #111114;
  --text: #f4f2ee;
  --text-2: #a09d97;
  --text-3: #6d6a65;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .13);
  --amber: #e8943a;
  --amber-2: #f2ad5c;
  --amber-bg: rgba(232, 148, 58, .1);
  --green: #6cc08b;
  --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --w: 1200px;
  --gut: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--sans); font-feature-settings: "cv11", "ss01"; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
::selection { background: var(--amber); color: #140d04; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.w { max-width: var(--w); margin: 0 auto; padding: 0 var(--gut); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, border-color .25s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(8, 8, 10, .78); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom-color: var(--line); }
.nav .w { display: flex; align-items: center; gap: 32px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15.5px; letter-spacing: -.01em; white-space: nowrap; }
.logo svg { width: 20px; height: 20px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; color: var(--text-2); }
.nav-links a { transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 16px; font-size: 14.5px; color: var(--text-2); }
.nav-right a:hover, .nav-right button:hover { color: var(--text); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; font-size: 14.5px; font-weight: 550; letter-spacing: -.005em; white-space: nowrap; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn:active { transform: scale(.98); }
.btn.light { background: var(--text); color: #0b0b0c; }
.btn.light:hover { background: #fff; }
.btn.ghost { border: 1px solid var(--line-2); color: var(--text); }
.btn.ghost:hover { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .2); }
.btn.lg { height: 48px; padding: 0 22px; font-size: 15.5px; }
.arrow { display: inline-block; transition: transform .2s var(--ease); }
a:hover > .arrow, button:hover > .arrow { transform: translateX(3px); }
.textlink { color: var(--text); font-weight: 500; }
.textlink .muted { color: var(--text-2); }

/* ---------- hero ---------- */
.hero { padding: 168px 0 0; }
.hero h1 { font-size: clamp(44px, 6.2vw, 84px); line-height: 1.02; font-weight: 560; letter-spacing: -.038em; max-width: 14.5em; }
.hero-sub { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-top: 28px; flex-wrap: wrap; }
.hero-sub p { font-size: clamp(17px, 1.5vw, 19px); color: var(--text-2); max-width: 36em; line-height: 1.5; }
.hero-sub .textlink { font-size: 15.5px; }

.reel { position: relative; margin-top: 56px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: #050505; aspect-ratio: 16 / 8; box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 60px 140px -50px rgba(232, 148, 58, .25); }
.reel canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.reel .fallback { position: absolute; inset: 0; background-size: cover; background-position: center; filter: grayscale(1) contrast(1.2) brightness(.6); mix-blend-mode: screen; opacity: .0; }
.reel::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(5, 5, 5, .85)); }
.reel-cap { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 18px; display: flex; justify-content: space-between; font-size: 13px; color: rgba(244, 242, 238, .62); }
.reel-cap b { color: var(--text); font-weight: 500; }

/* ---------- sections ---------- */
.sec { padding: clamp(96px, 13vw, 168px) 0 0; }
.statement { font-size: clamp(26px, 3.3vw, 44px); line-height: 1.16; font-weight: 520; letter-spacing: -.028em; max-width: 24em; }
.statement span { color: var(--text-3); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); margin-bottom: 18px; }
.kicker i { width: 18px; height: 1px; background: var(--amber); }
.h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.05; font-weight: 560; letter-spacing: -.033em; }
.h2 + p { color: var(--text-2); font-size: 17px; max-width: 34em; margin-top: 16px; }
.sec-top { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 48px; }

/* offering cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { position: relative; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0) 45%), var(--card); overflow: hidden; display: flex; flex-direction: column; transition: border-color .25s; }
.card:hover { border-color: var(--line-2); }
.card .art { position: relative; height: 230px; border-bottom: 1px solid var(--line); overflow: hidden; }
.card .copy { padding: 22px 24px 26px; }
.card h3 { font-size: 19px; font-weight: 560; letter-spacing: -.015em; }
.card p { color: var(--text-2); font-size: 15px; margin-top: 8px; line-height: 1.55; }

/* art: halftone still */
.art canvas { width: 100%; height: 100%; display: block; }
.art .fade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, var(--card)); }

/* art: version stack */
.stack { position: absolute; left: 50%; top: 34px; width: 74%; transform: translateX(-50%); }
.stack .v { position: absolute; left: 0; right: 0; height: 132px; border-radius: 12px; border: 1px solid var(--line-2); background: #17171b; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .9); }
.stack .v:nth-child(1) { top: 0; transform: scale(.86); opacity: .45; }
.stack .v:nth-child(2) { top: 16px; transform: scale(.93); opacity: .7; }
.stack .v:nth-child(3) { top: 34px; padding: 16px 18px; background: #1b1b20; }
.v .row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-2); }
.v .row b { color: var(--text); font-weight: 550; font-size: 14px; }
.v .bars { display: flex; gap: 3px; margin: 16px 0 14px; height: 26px; align-items: end; }
.v .bars i { flex: 1; border-radius: 2px; background: rgba(255, 255, 255, .12); }
.v .bars i.on { background: var(--amber); }
.v .checks { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--text-2); }
.v .checks span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

/* art: timeline */
.tl { position: absolute; left: 26px; right: 26px; top: 50%; transform: translateY(-50%); }
.tl .track { position: relative; height: 54px; border-radius: 10px; background: #17171b; border: 1px solid var(--line-2); overflow: hidden; display: flex; gap: 2px; padding: 6px; }
.tl .track i { flex: 1; border-radius: 5px; background: rgba(255, 255, 255, .07); }
.tl .track i.seg { flex: 1.6; background: var(--amber-bg); border: 1px solid rgba(232, 148, 58, .55); }
.tl .head { position: absolute; top: -10px; bottom: -10px; left: 46%; width: 2px; background: var(--text); border-radius: 2px; }
.tl .head::before { content: ""; position: absolute; top: -4px; left: -4px; width: 10px; height: 10px; border-radius: 3px; background: var(--text); }
.tl .labels { display: flex; justify-content: space-between; margin-top: 12px; font-size: 12.5px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.tl .tag { position: absolute; left: 31%; top: -40px; padding: 4px 10px; border-radius: 999px; background: var(--amber); color: #140d04; font-size: 12px; font-weight: 600; white-space: nowrap; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { position: relative; padding: 28px 24px 0 0; }
.step::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--bg); border: 1px solid var(--text-3); }
.step:first-child::before { background: var(--amber); border-color: var(--amber); }
.step .n { font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.step h3 { font-size: 18px; font-weight: 560; letter-spacing: -.012em; margin-top: 6px; }
.step p { color: var(--text-2); font-size: 14.5px; margin-top: 6px; line-height: 1.55; }

/* company facts */
.facts { display: grid; grid-template-columns: 1fr 2fr; gap: 32px 64px; }
.facts dl { display: grid; grid-template-columns: 200px 1fr; border-top: 1px solid var(--line); }
.facts dt, .facts dd { padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--text-3); font-size: 14.5px; }
.facts dd { font-size: 16.5px; }
.facts dd a { border-bottom: 1px solid var(--line-2); transition: border-color .15s, color .15s; }
.facts dd a:hover { color: var(--amber-2); border-color: var(--amber); }

/* invite panel */
.invite { position: relative; overflow: hidden; border-radius: 22px; border: 1px solid var(--line); padding: clamp(40px, 6vw, 72px); background: radial-gradient(90% 140% at 100% 0%, rgba(232, 148, 58, .16), transparent 55%), var(--bg-2); display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: end; }
.invite p { color: var(--text-2); font-size: 17px; margin-top: 14px; max-width: 30em; }
.invite .acts { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }

/* footer */
.foot { margin-top: clamp(96px, 12vw, 160px); border-top: 1px solid var(--line); }
.foot .w { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 40px; font-size: 13.5px; color: var(--text-3); }
.foot nav { display: flex; gap: 22px; }
.foot a:hover { color: var(--text); }

/* reveal on scroll (only once the script runs) */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- sign in ---------- */
.auth { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 96px var(--gut) 48px; }
.auth-box { width: min(380px, 100%); text-align: center; }
.auth-box .mark { width: 44px; height: 44px; margin: 0 auto 28px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-2); background: linear-gradient(180deg, #19191d, #0f0f12); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .9); }
.auth-box .mark svg { width: 20px; height: 20px; }
.auth-box h1 { font-size: 24px; font-weight: 560; letter-spacing: -.02em; }
.auth-box .sub { color: var(--text-2); font-size: 15px; margin-top: 8px; }
.auth-box form { margin-top: 32px; text-align: left; }
.field { position: relative; }
.field input { width: 100%; height: 48px; padding: 0 64px 0 14px; border-radius: 10px; border: 1px solid var(--line-2); background: #0f0f12; outline: 0; font: 500 14.5px var(--mono); letter-spacing: .02em; transition: border-color .15s, box-shadow .15s; }
.field input::placeholder { color: #4b4945; font-family: var(--sans); letter-spacing: 0; }
.field input:focus { border-color: rgba(232, 148, 58, .7); box-shadow: 0 0 0 4px rgba(232, 148, 58, .12); }
.field button { position: absolute; right: 6px; top: 6px; height: 36px; padding: 0 10px; border-radius: 7px; font-size: 13px; color: var(--text-3); }
.field button:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.auth-box .btn { width: 100%; height: 46px; margin-top: 12px; border-radius: 10px; font-size: 15px; }
.auth-box .btn[disabled] { opacity: .65; }
.msg { min-height: 20px; margin-top: 12px; font-size: 13.5px; color: #ee8a7a; text-align: center; }
.msg.ok { color: var(--text-2); }
.auth-box .help { margin-top: 26px; color: var(--text-3); font-size: 13.5px; }
.auth-box .help a { color: var(--text-2); }
.auth-box .help a:hover { color: var(--text); }
.shake { animation: shake .4s cubic-bezier(.36, .07, .19, .97); }
@keyframes shake { 20%, 80% { transform: translateX(-2px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-5px); } }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .facts { grid-template-columns: 1fr; }
  .invite { grid-template-columns: 1fr; }
  .invite .acts { justify-content: flex-start; }
  .reel { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-right { margin-left: auto; }
  .hero { padding-top: 128px; }
  .steps { grid-template-columns: 1fr; }
  .facts dl { grid-template-columns: 1fr; }
  .facts dt { padding-bottom: 0; border-bottom: 0; }
  .facts dd { padding-top: 4px; }
  .reel { aspect-ratio: 1 / 1; border-radius: 16px; }
}
