:root {
  /* Change these two to re-colour the whole site */
  --accent: #e0601f;
  --accent-deep: #ad5a2a;
  --glow-hot: #fbe88a;
  --glow-mid: #f08a3e;

  --bg: #000;
  --card: #0a0a0a;
  --line: #1d1d1d;
  --text: #f4f4f4;
  --muted: #9a9a9a;
  --dim: #6e6e6e;
  --display: "Michroma", "Eurostile", sans-serif;
  --body: "Geist", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 64px);
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; background: var(--bg); }
body { background: var(--bg); color: var(--text); font: 400 16px/1.5 var(--body); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
i { font-style: normal; }

#sphere { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }

.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 3; display: flex; justify-content: space-between; align-items: flex-start; padding: 24px var(--gutter); }
.logo { font: 400 20px/1 var(--display); letter-spacing: .02em; -webkit-text-stroke: .4px currentColor; }
.nav nav { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: #c9c9c9; }
.nav nav a:hover { color: #fff; }

.tag { position: relative; z-index: 2; font-size: 14px; color: var(--dim); letter-spacing: .02em; text-transform: uppercase; }
.center { text-align: center; }

.title { position: relative; z-index: 2; font: 400 clamp(21px, 2.9vw, 42px)/1.16 var(--display); text-transform: uppercase; -webkit-text-stroke: .3px currentColor; background: linear-gradient(180deg, #f5f5f5 0%, #7d7d7d 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.title { -webkit-text-stroke-color: transparent; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--gutter) 40px; overflow: hidden; }
.hero-glow { position: absolute; z-index: 0; inset: 0; background:
  radial-gradient(17% 30% at 50% -3%, var(--glow-hot) 0%, rgba(251, 232, 138, .55) 50%, rgba(240, 138, 62, 0) 100%),
  radial-gradient(36% 46% at 50% -6%, rgba(240, 138, 62, .95) 0%, rgba(214, 112, 44, .6) 48%, rgba(120, 60, 20, 0) 100%),
  radial-gradient(70% 62% at 50% -8%, rgba(120, 60, 22, .8) 0%, rgba(66, 32, 10, .5) 55%, rgba(0, 0, 0, 0) 100%); }
.stars { position: absolute; z-index: 0; inset: 0; opacity: .5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='164' height='152'%3E%3Cpath d='M82 70v12M76 76h12' stroke='%23fff' stroke-opacity='.28' stroke-width='.7'/%3E%3C/svg%3E"); }
.sphere-slot { pointer-events: none; }
.hero-slot { position: absolute; left: 50%; top: 22%; width: min(52vh, 62vw); aspect-ratio: 1; transform: translateX(-50%); }
.hero-inner { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(32px, 7vh, 72px); }
.hero h1 { margin-top: 14px; font: 400 clamp(26px, 4.3vw, 66px)/1.22 var(--display); text-transform: uppercase; -webkit-text-stroke: .9px currentColor; }
.hero h1 span { display: block; white-space: nowrap; }
.hero h1 .indent { display: flex; align-items: center; gap: .32em; padding-left: .2em; }
.spark { width: .92em; height: .92em; fill: #f1f1f1; flex: none; filter: drop-shadow(0 0 10px rgba(255,255,255,.55)); }
.fade-end { background: linear-gradient(90deg, #fff 55%, #5d5d5d 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke-color: transparent; width: fit-content; }
.hero-side { flex: 0 1 370px; min-width: 280px; color: #c4c4c4; font-size: 15.5px; }
.side-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.mark { font: 400 22px var(--display); color: #bdbdbd; }
.actions { display: flex; align-items: center; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.btn-tick { position: relative; padding: 13px 27px; background: #232323; color: #fff; font-size: 15px; transition: background .2s; }
.btn-tick:hover { background: #333; }
.btn-tick::before { content: ""; position: absolute; inset: -1px; pointer-events: none; background:
  linear-gradient(#fff,#fff) 0 0/9px 1.5px, linear-gradient(#fff,#fff) 0 0/1.5px 9px,
  linear-gradient(#fff,#fff) 100% 0/9px 1.5px, linear-gradient(#fff,#fff) 100% 0/1.5px 9px,
  linear-gradient(#fff,#fff) 0 100%/9px 1.5px, linear-gradient(#fff,#fff) 0 100%/1.5px 9px,
  linear-gradient(#fff,#fff) 100% 100%/9px 1.5px, linear-gradient(#fff,#fff) 100% 100%/1.5px 9px; background-repeat: no-repeat; }
.btn-text { padding: 13px 27px; color: #bdbdbd; font-size: 15px; }
.btn-text:hover { color: #fff; }
.stack { position: relative; z-index: 2; text-align: center; color: var(--dim); font-size: 14px; }
.stack ul { list-style: none; padding: 0; margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px clamp(24px, 5vw, 72px); color: #5f5f5f; font-size: 19px; font-weight: 500; letter-spacing: -.01em; }

/* Cards */
.card { position: relative; z-index: 2; background: var(--card); border: 1px solid #161616; border-radius: 20px; }
.card h3 { font-size: 16px; font-weight: 400; color: #eee; }
.card p { color: #8f8f8f; font-size: 15px; line-height: 1.42; }

/* About */
.about { position: relative; padding: clamp(80px, 13vh, 130px) var(--gutter) 40px; }
.about .title { margin-top: 18px; }
.inline-slot { display: inline-block; width: 1.05em; height: 1.05em; vertical-align: -.17em; margin: 0 .1em; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.stat { min-height: 330px; padding: 24px 22px 22px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.stat strong { display: block; margin-bottom: 14px; font: 400 clamp(26px, 2.8vw, 38px)/1.1 var(--display); color: #fff; -webkit-text-stroke: .6px currentColor; }
.stat > strong { margin-top: 20px; }
.stat > p { flex: 1; }
.stat p { max-width: 34ch; }
.accent { background: var(--accent-deep); border-color: transparent; }
.accent h3, .accent strong { color: #fff; }
.accent p { color: #f0cfbb; }
.wave-card { background: linear-gradient(180deg, #17100b, #070707); }
.wave { position: absolute; left: 0; right: 0; top: 76px; width: 100%; height: 110px; fill: none; stroke: var(--glow-mid); stroke-width: 1.2; opacity: .5; vector-effect: non-scaling-stroke; }
.wave-card > div { position: relative; }
.statement { display: flex; align-items: flex-end; gap: 32px; margin-top: 88px; }
.rule { flex: 1; height: 1px; background: #232323; margin-bottom: 12px; }
.statement .title { flex: 0 0 auto; }

/* Platform */
.platform { position: relative; padding: clamp(90px, 15vh, 160px) var(--gutter) clamp(70px, 12vh, 120px); }
.platform .title { margin-top: 18px; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.product { padding: 24px 22px; min-height: 580px; display: flex; flex-direction: column; background: linear-gradient(180deg, #0e0e0e, #030303); }
.product:first-child { z-index: 0; } /* sits under the canvas so the sphere shows on it */
.product h3 { font-size: 21px; margin-bottom: 12px; }
.product .short { position: relative; z-index: 2; max-width: 30ch; }
.art { position: relative; flex: 1; min-height: 260px; margin: 22px 0; }
.card-slot { position: absolute; left: 50%; top: 50%; width: min(92%, 340px); aspect-ratio: 1; transform: translate(-50%, -50%); }
.art-window .win { position: absolute; left: 8%; right: 8%; top: 8%; bottom: 0; border: 1px solid #2a2a2a; border-bottom: 0; border-radius: 42px 42px 0 0; padding: 30px 32px; display: flex; gap: 22px; align-items: flex-start; -webkit-mask: linear-gradient(#000 60%, transparent); mask: linear-gradient(#000 60%, transparent); background: linear-gradient(#2a2a2a,#2a2a2a) 0 78px/100% 1px no-repeat; }
.art-window b { width: 14px; height: 14px; border-radius: 50%; background: #353535; }
.dome { position: absolute; left: 50%; bottom: 8%; width: 45%; aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%); background: linear-gradient(180deg, #3a3a3a, #0a0a0a 80%); }
.art-pages { -webkit-mask: linear-gradient(#000 70%, transparent); mask: linear-gradient(#000 70%, transparent); }
.art-pages > div { position: absolute; border: 1px solid #2c2c2c; border-radius: 16px; background: #0b0b0b; bottom: 0; }
.art-pages > div:nth-child(1) { left: 13%; right: 2%; top: 8%; }
.art-pages > div:nth-child(2) { left: 7%; right: 7%; top: 14%; }
.art-pages > div:nth-child(3) { left: 1%; right: 13%; top: 20%; padding: 34px 28px; display: flex; flex-direction: column; gap: 30px; }
.art-pages span { display: block; height: 1px; background: #3d3d3d; }
.pill { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 12px 21px; border: 1px solid #252525; border-radius: 999px; background: #0d0d0d; color: #eee; font-size: 14px; transition: background .2s, border-color .2s; }
.pill:hover { background: #1b1b1b; border-color: #3a3a3a; }
.product .pill { align-self: center; }
.pill.solid { background: var(--accent); border-color: var(--accent); color: #fff; }
.pill.solid:hover { background: #f06f2c; border-color: #f06f2c; }
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 20px; }
.mini { padding: 22px; }
.mini h3 { margin-bottom: 10px; font-size: 17px; }
.mini p { font-size: 14px; }

/* Footer */
.footer { position: relative; min-height: 1000px; overflow: hidden; padding: 90px var(--gutter) 28px; }
.sunset { position: absolute; z-index: 0; inset: 0; background: radial-gradient(75% 44% at 50% 50%, var(--accent-deep) 0%, #83421d 38%, rgba(60, 28, 10, .75) 70%, transparent 100%); }
.ridges { position: absolute; z-index: 0; left: 0; right: 0; bottom: 0; width: 100%; height: 56%; }
.footer-inner { position: relative; z-index: 2; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand { max-width: 500px; }
.logo.big { font-size: clamp(30px, 3.4vw, 46px); -webkit-text-stroke: .9px currentColor; margin-bottom: 18px; }
.footer-brand p { color: #c3b8b1; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.32; }
.footer-links { display: flex; gap: clamp(32px, 5vw, 72px); }
.footer-links h4 { padding-bottom: 12px; margin-bottom: 18px; font-size: 13px; font-weight: 400; letter-spacing: .03em; text-transform: uppercase; color: #a39a94; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-links a { display: block; margin-bottom: 16px; color: #e8e2de; font-size: 15px; }
.footer-links a:hover { color: #fff; }
.footer-slot { width: min(320px, 62vw); aspect-ratio: 1; margin: -30px auto -70px; }
.glass { position: relative; z-index: 2; max-width: 570px; margin: 0 auto; padding: 22px; border-radius: 18px; background: rgba(60, 60, 60, .28); border: 1px solid rgba(255,255,255,.07); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.glass label { display: block; margin-bottom: 12px; font-size: 16px; }
.field { display: flex; align-items: center; padding: 4px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; }
.field input { flex: 1; min-width: 0; padding: 8px 16px; background: none; border: 0; outline: 0; color: #fff; font: inherit; font-size: 14px; }
.field input::placeholder { color: #d5d5d5; }
.field:focus-within { border-color: #fff; }
.field button { padding: 10px 22px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font: inherit; font-size: 14px; cursor: pointer; }
.field button:hover { background: #f06f2c; }
.form-note { min-height: 0; color: #e8e2de; font-size: 13px; }
.form-note:not(:empty) { margin-top: 10px; }
.wordmark { position: absolute; z-index: 0; left: 0; right: 0; bottom: 40px; text-align: center; white-space: nowrap; font: 400 12.4vw/1 var(--display); -webkit-text-stroke: 2px transparent; background: linear-gradient(180deg, #262626 15%, rgba(38, 38, 38, 0) 98%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.legal { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: 26px; display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: #cfcfcf; }

/* Scroll reveal, only when JS is running */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease var(--d, 0s), transform .9s cubic-bezier(.2,.7,.2,1) var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 1100px) {
  .hero-inner { flex-direction: column; align-items: stretch; gap: 28px; }
  .hero-side { flex: none; min-width: 0; max-width: 520px; }
}

@media (max-width: 960px) {
  .side-top { margin-bottom: 18px; }
  .hero-slot { top: 12%; width: min(64vw, 40vh); }
  .hero { padding-top: 46vh; }
  .stat-grid, .product-grid { grid-template-columns: 1fr; }
  .mini-grid { grid-template-columns: 1fr 1fr; }
  .stat { min-height: 250px; }
  .product { min-height: 500px; }
  .statement { display: block; margin-top: 60px; }
  .rule { display: none; }
  .footer { min-height: 1100px; }
  .footer-slot { margin: 30px auto -60px; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 5.6vw; -webkit-text-stroke-width: .5px; }
  .mini-grid { grid-template-columns: 1fr; }
  .nav nav { font-size: 11px; }
  .stack ul { font-size: 16px; }
  .footer-links { width: 100%; justify-content: space-between; gap: 16px; }
  .legal { flex-direction: column; gap: 2px; font-size: 12px; }
  .wordmark { bottom: 62px; }
}
