:root { --scroll: 0; }
.scroll-bar {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 2px; z-index: 60;
  transform-origin: left; transform: scaleX(var(--scroll));
  background: var(--green);
}

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent; border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.site-header .header-inner {
  border: 1px solid transparent; border-radius: 999px;
  transition: max-width .55s cubic-bezier(.22,1,.36,1), margin-top .55s cubic-bezier(.22,1,.36,1),
    height .55s cubic-bezier(.22,1,.36,1), padding .55s cubic-bezier(.22,1,.36,1),
    background-color .4s ease, border-color .4s ease;
}
.site-header[data-floating="true"] .header-inner {
  max-width: 860px; margin-top: 14px; height: 56px; padding-inline: 14px 10px;
  background: rgba(14,16,17,.72); border-color: rgba(255,255,255,.09);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  animation: pill-drop .55s cubic-bezier(.22,1,.36,1);
}
@keyframes pill-drop { from { transform: translateY(-18px); opacity: .4; } to { transform: none; opacity: 1; } }

.brand-logo { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.brand-mark { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.site-nav a:not(.btn) { position: relative; background: transparent !important; }
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px;
  background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.site-nav a:not(.btn):hover::after, .site-nav a:not(.btn).is-active::after { transform: scaleX(1); }
.site-nav a:not(.btn).is-active { color: var(--text); }

@media (max-width: 760px) {
  .site-header[data-floating="true"] .header-inner { margin-inline: 10px; max-width: none; }
  .site-nav {
    top: calc(100% + 8px); margin-inline: 10px; border: 1px solid var(--border-strong);
    border-radius: 20px; background: rgba(14,16,17,.94);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  }
}
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

.btn-primary, .btn-secondary {
  position: relative; isolation: isolate; overflow: hidden; border: 0;
  transition: transform .2s ease;
}
.btn-primary::before, .btn-secondary::before {
  content: ""; position: absolute; inset: 0; z-index: -2; border-radius: inherit;
  background: conic-gradient(from var(--spin), transparent 0 55%, var(--green) 75%, #b9ffd9 88%, transparent 100%);
  animation: spin 3.2s linear infinite;
}
.btn-primary::after, .btn-secondary::after {
  content: ""; position: absolute; inset: 2px; z-index: -1;
  border-radius: calc(var(--radius-sm) - 2px); transition: background-color .2s ease;
}
.btn-primary::after, .btn-secondary::after {
  background-image: linear-gradient(110deg, transparent 35%, rgba(61,220,132,.35) 50%, transparent 65%);
  background-size: 250% 100%; background-position: 150% 0; background-repeat: no-repeat;
  transition: background-color .2s ease, background-position .8s cubic-bezier(.22,1,.36,1);
}
.btn-primary::after   { background-color: #fff; }
.btn-secondary::after { background-color: #0b0d0e; }
.btn-primary:hover, .btn-secondary:hover { transform: translateY(-3px) scale(1.03); }
.btn-primary:active, .btn-secondary:active { transform: translateY(0) scale(.98); }
.btn-primary:hover::after   { background-color: #e9fff3; background-position: -50% 0; }
.btn-secondary:hover::after { background-color: #14181a; background-position: -50% 0; }
.btn-primary:hover::before, .btn-secondary:hover::before { animation-duration: 1s; filter: brightness(1.3); }
@keyframes spin { to { --spin: 360deg; } }
.hero { padding: calc(var(--header-h) + clamp(40px, 7vw, 96px)) 0 clamp(64px, 9vw, 120px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .globe-stage { order: -1; max-width: 420px; margin-inline: auto; } }

.hero h1 {
  margin: 22px 0 0; font-size: clamp(3rem, 7.4vw, 6.6rem); font-weight: 800;
  line-height: .98; letter-spacing: -.06em; text-transform: none; perspective: 800px;
}
.hero h1 > span { display: block; overflow: hidden; white-space: nowrap; padding-bottom: .06em; }
.hero h1 .line { display: block; }
@media (max-width: 760px) { .hero h1 { font-size: clamp(3rem, 17vw, 5rem); } .hero h1 > span { white-space: normal; } }
.js .hero h1 .line { opacity: 0; }
.js .hero h1 > span:nth-child(1) .line { transform: translateX(-110%); }
.js .hero h1 > span:nth-child(2) .line { transform: translateX(110%); }
.js .hero h1 > span:nth-child(3) .line { transform: translateY(110%) rotateX(-60deg); }
.js.is-loaded .hero h1 > span .line { opacity: 1; transform: none; transition: transform 1s cubic-bezier(.16,1,.3,1), opacity .8s ease; }
.is-loaded .hero h1 > span:nth-child(2) .line { transition-delay: .15s; }
.is-loaded .hero h1 > span:nth-child(3) .line { transition-delay: .3s; }

.hero h1 .hl .line {
  background: linear-gradient(100deg, var(--green) 0%, #b9ffd9 25%, var(--green) 50%, var(--green) 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; animation: shimmer 4s linear infinite;
}
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -100% 0; } }

.hero h1.glitch .line { animation: glitch .32s steps(2) 1; }
@keyframes glitch {
  0% { transform: none; } 25% { transform: translate(-4px,1px); }
  50% { transform: translate(5px,-1px); }
  75% { transform: translate(-2px,0); } 100% { transform: none; }
}

.hero-lede { max-width: 50ch; margin: 32px 0 0; color: var(--text-2); font-size: clamp(17px, 1.9vw, 21px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 12px; margin-top: 32px; }
.rotator { color: var(--green); font-weight: 700; white-space: nowrap; }
.rotator::after {
  content: ""; display: inline-block; width: .5em; height: 1em; margin-left: 3px;
  vertical-align: -.12em; background: var(--green); animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.js .availability, .js .hero-lede, .js .hero-actions, .js .globe-stage { opacity: 0; transform: translateY(24px); }
.js.is-loaded .availability, .js.is-loaded .hero-lede, .js.is-loaded .hero-actions, .js.is-loaded .globe-stage {
  opacity: 1; transform: none; transition: opacity .8s ease, transform .8s cubic-bezier(.16,1,.3,1);
}
.is-loaded .hero-lede { transition-delay: .6s; }
.is-loaded .hero-actions { transition-delay: .75s; }
.is-loaded .globe-stage { transition-delay: .5s; transition-duration: 1.2s; }

.availability::before { animation: pulse 2s ease-in-out infinite; }
.globe-stage { position: relative; width: 100%; aspect-ratio: 1; }
.globe-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.orbit-chip {
  position: absolute; left: 0; top: 0; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px 8px 10px; background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: 999px; font: 600 15px var(--font-mono); letter-spacing: .04em; color: var(--text);
  white-space: nowrap; will-change: transform;
}
.orbit-chip svg { width: 32px; height: 32px; flex: none; }
.js .orbit-chip { opacity: 0; }
html:not(.js) .globe-stage { display: none; }
.section { padding-block: clamp(72px, 10vw, 130px); }
main > .section + .section { border-top: 0; }

.section-head h2 { font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -.04em; }
.section-head p { font-size: 18px; }
.kicker {
  display: inline-block; margin-bottom: 18px; padding: 5px 12px;
  background: var(--green-fill); border: 1px solid var(--green-line); border-radius: 999px; font-size: 12px;
}

.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .9s cubic-bezier(.16,1,.3,1); }
.js .reveal.in { opacity: 1; transform: none; }
.entry, .commission-card { position: relative; border-radius: 18px; transition: transform .3s ease, border-color .3s ease; }
.commission-card { padding: clamp(20px, 3vw, 32px); background: var(--surface); border: 1px solid var(--border-strong); overflow: hidden; }
.commission-card:focus-within { border-color: var(--green-line); }
.entry::after, .commission-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(320px circle at var(--cx, 50%) var(--cy, 50%), rgba(61,220,132,.1), transparent 65%);
  transition: opacity .3s ease;
}
.entry:hover::after, .commission-card:hover::after { opacity: 1; }
.entry:hover { transform: translateX(6px); }

@media (prefers-reduced-motion: reduce) {
  .brand-mark, .availability::before, .hero h1 .hl .line, .btn-primary::before, .btn-secondary::before, .btn-secondary::before, .rotator::after { animation: none; }
  .js .hero h1 .line, .js .availability, .js .hero-lede, .js .hero-actions, .js .globe-stage, .js .reveal { opacity: 1; transform: none; }
}
