/* Ticker, statement, product, process, why, engagement, contact. */

/* ---------- stack ticker ---------- */
.ticker { position: relative; display: grid; gap: 14px; overflow: hidden; padding-block: 22px; border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent); }
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; z-index: 2; width: 140px; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.track { display: flex; width: max-content; animation: slide var(--speed, 50s) linear infinite; }
.track.rev { animation-direction: reverse; }
.ticker:hover .track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.track span { display: inline-flex; align-items: center; gap: 28px; padding-inline: 28px; font: 600 clamp(18px, 2vw, 26px)/1 var(--display); letter-spacing: -0.02em; color: var(--dim); white-space: nowrap; transition: color 0.3s; }
.track span:hover { color: var(--ink); }
.track span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }

/* ---------- statement ---------- */
.statement { padding-block: clamp(110px, 15vw, 200px); }
.statement p { margin: 0; max-width: 20ch; font: 650 clamp(32px, 5vw, 76px)/1.05 var(--display); letter-spacing: -0.04em; text-wrap: balance; }
.statement .w { color: #2a2537; transition: color 0.5s var(--ease); }
.statement .w.lit { color: var(--ink); }
.statement .w.hot.lit { font-family: var(--serif); font-style: italic; font-weight: 400; background: var(--grad-text); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- product: Forgea OS, in its own lime ---------- */
.product { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(90px, 12vw, 170px); border-block: 1px solid var(--line); background: radial-gradient(1000px 600px at 85% 40%, rgba(172, 252, 79, 0.07), transparent 60%), #07090c; }
.product::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(238, 241, 245, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(238, 241, 245, 0.05) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse at 70% 50%, #000 10%, transparent 70%); }
.product-glow { position: absolute; right: -10%; top: 20%; z-index: -1; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(172, 252, 79, 0.22), transparent 62%); filter: blur(60px); animation: drift 18s ease-in-out infinite alternate; }
.product-grid { display: grid; gap: 64px; align-items: center; }
@media (min-width: 1080px) { .product-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.product-copy { display: grid; gap: 24px; justify-items: start; }
.product h2 em { background: linear-gradient(100deg, #acfc4f 0%, #e8ffc9 50%, #acfc4f 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; }
.forgea-logo { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font: 750 30px/1 var(--display); letter-spacing: -0.03em; }
.forgea-logo svg { width: 40px; height: 52px; filter: drop-shadow(0 0 18px rgba(172, 252, 79, 0.5)); }
.mods { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mods li { padding: 8px 13px; border-radius: 999px; font-size: 13.5px; font-weight: 550; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.launch { display: inline-flex; align-items: center; gap: 12px; font: 500 14px/1 var(--mono); color: #c7cdd6; }
.launch b { color: #fff; font-weight: 600; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(172, 252, 79, 0.7); animation: ping 1.8s ease-out infinite; }
@keyframes ping { to { box-shadow: 0 0 0 14px rgba(172, 252, 79, 0); } }
.product-stage { position: relative; display: block; height: clamp(320px, 40vw, 540px); perspective: 1800px; text-decoration: none; }
.shot { position: absolute; width: 86%; aspect-ratio: 1280 / 684; overflow: hidden; border-radius: 16px; background: #fff; transition: transform 0.9s var(--ease); box-shadow: 0 90px 140px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.1); }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.shot.back { right: 0; top: 0; transform: rotateY(-18deg) rotateX(8deg) translateZ(-120px) translateY(calc(var(--p, 0) * -40px)); filter: brightness(0.7); }
.shot.front { left: 0; bottom: 4%; transform: rotateY(-18deg) rotateX(8deg) translateY(calc(var(--p, 0) * 30px)); box-shadow: 0 90px 140px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 90px -20px rgba(172, 252, 79, 0.35); }
.product-stage:hover .shot { transform: rotateY(-6deg) rotateX(3deg); }
.float-chip { position: absolute; right: 4%; bottom: 0; display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; font: 600 13px/1 var(--mono); background: rgba(12, 16, 21, 0.85); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 20px 50px -16px #000, 0 0 40px -10px rgba(172, 252, 79, 0.45); animation: bob 6s ease-in-out infinite; }
.float-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }
@keyframes bob { 50% { translate: 0 -10px; } }

/* ---------- process: pinned and walked sideways on wide screens ---------- */
.process { position: relative; padding-block: clamp(90px, 11vw, 150px); }
.process-head { display: grid; gap: 22px; justify-items: start; margin-bottom: 52px; }
.process-track { display: grid; gap: 16px; padding-inline: max(16px, calc((100vw - 1280px) / 2 + 32px)); }
.step { position: relative; display: grid; gap: 14px; align-content: start; padding: 32px; border-radius: var(--radius); overflow: hidden; background: linear-gradient(160deg, var(--surface-2), var(--surface)); box-shadow: inset 0 0 0 1px var(--line); }
.step::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(106, 0, 255, 0.28), transparent 65%); }
.step .n { font: 700 clamp(64px, 7vw, 110px)/0.8 var(--display); letter-spacing: -0.06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0.9; }
.step h3 { font-size: clamp(26px, 2.4vw, 36px); }
.step p { margin: 0; color: var(--muted); max-width: 38ch; }
.step-art { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.step-art span { padding: 7px 12px; border-radius: 999px; font: 500 12px/1 var(--mono); color: var(--ink); background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line-2); }
.process-bar { display: none; height: 3px; margin-top: 40px; border-radius: 3px; background: var(--line); overflow: hidden; }
.process-bar i { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); box-shadow: 0 0 14px var(--orchid); }
@media (min-width: 1000px) {
  .process.pinned { height: calc(100vh + var(--travel, 2000px)); padding: 0; }
  /* One column the width of the screen, so the wide track cannot widen the heading's row. */
  .process.pinned .process-pin { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; overflow: hidden; }
  .process.pinned .process-track { display: flex; justify-self: start; width: max-content; gap: 20px; transform: translateX(calc(var(--x, 0) * -1px)); will-change: transform; }
  .process.pinned .step { width: min(440px, 34vw); min-height: 400px; }
  .process.pinned .process-bar { display: block; }
}

/* ---------- why ---------- */
.why { padding-block: clamp(90px, 11vw, 150px) clamp(40px, 5vw, 70px); }
.why-grid { display: grid; gap: 14px; margin-top: 56px; }
@media (min-width: 720px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .why-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.why-card { display: grid; gap: 14px; align-content: start; padding: 28px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.4s, translate 0.4s var(--ease); }
.why-card:hover { translate: 0 -6px; box-shadow: inset 0 0 0 1px rgba(194, 71, 246, 0.4), 0 30px 60px -30px rgba(106, 0, 255, 0.6); }
.why-card .ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; font: 600 22px/1 var(--display); color: #fff; background: var(--grad); box-shadow: 0 10px 30px -8px rgba(140, 40, 255, 0.8); }
.why-card p { margin: 0; color: var(--muted); font-size: 15px; }
.engage { display: grid; gap: 14px; margin-top: 14px; }
@media (min-width: 860px) { .engage { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plan { position: relative; display: grid; gap: 10px; padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.02); box-shadow: inset 0 0 0 1px var(--line); }
.plan small { font: 600 11px/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.plan p { margin: 0; color: var(--muted); font-size: 15px; }
.plan.feat { border: 1.5px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; box-shadow: 0 40px 80px -40px rgba(106, 0, 255, 0.7); }

/* ---------- contact ---------- */
.contact { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(110px, 14vw, 200px); text-align: center; }
.contact::before { content: ""; position: absolute; left: 50%; top: 50%; z-index: -1; width: 1200px; height: 900px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(106, 0, 255, 0.35), rgba(194, 71, 246, 0.12) 50%, transparent); }
.contact-marquee { position: absolute; inset: 50% 0 auto; z-index: -1; translate: 0 -50%; overflow: hidden; opacity: 0.5; }
.mq { display: flex; width: max-content; animation: slide 40s linear infinite; }
.mq span { font: 800 clamp(90px, 14vw, 220px)/1 var(--display); letter-spacing: -0.05em; white-space: nowrap; color: rgba(244, 241, 251, 0.035); }
.contact-inner { display: grid; justify-items: center; gap: 26px; }
.contact .lede { max-width: 44ch; }
.contact h2 { font-size: clamp(46px, 8vw, 128px); }
.contact-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
