/* GigoraNetwork landing + about pages. Tokens first, dark theme via [data-theme] on <html>. */
/* Layout: GigoraNetwork blue on white for a global marketplace. Globe hero, a split-flap
   departures board of real openings, a pinned escrow sequence, then quiet type-led sections. */
:root {
  --ink: #ffffff;          /* page ground */
  --panel: #f4f7ff;        /* raised surfaces, faint blue */
  --line: #e2e8f6;         /* hairlines */
  --fg: #0b1533;           /* text, deep navy */
  --muted: #5a6585;        /* secondary text */
  --brand: #2563eb;        /* GigoraNetwork blue */
  --brand-2: #1d4ed8;      /* deeper blue for text accents */
  --paid: #059669;         /* money released */
  --deep: #0c2461;         /* deep brand blue for the jobs board */
  --deep-2: #0a1d4f;
  --on-deep: #ffffff;
  --on-deep-muted: #a9bdf2;
  --on-deep-accent: #8fb0ff;
  --on-deep-live: #4ade80;
  --flap: #163a8f;         /* split-flap tiles */
  --vault-glow: #e6edff;
  --dot-rgb: 37, 99, 235;  /* globe and network dots */
  --shadow: #0b1533;
  --font-display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --font-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --nav-h: 64px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --ink: #070b1a; --panel: #0d1430; --line: #1c2648; --fg: #eef2ff; --muted: #94a1c6;
  --brand: #3b6cf6; --brand-2: #8fb0ff; --paid: #34d399;
  --deep: #0b1d4f; --deep-2: #081640; --flap: #15357f;
  --vault-glow: #15214d; --dot-rgb: 125, 160, 255; --shadow: #000000;
  color-scheme: dark;
} }
:root[data-theme="dark"] {
  --ink: #070b1a; --panel: #0d1430; --line: #1c2648; --fg: #eef2ff; --muted: #94a1c6;
  --brand: #3b6cf6; --brand-2: #8fb0ff; --paid: #34d399;
  --deep: #0b1d4f; --deep-2: #081640; --flap: #15357f;
  --vault-glow: #15214d; --dot-rgb: 125, 160, 255; --shadow: #000000;
  color-scheme: dark;
}
body, .nav, .vault, .ai-card, .menu-btn { transition: background-color .5s, border-color .5s, color .5s; }
* { box-sizing: border-box; }
html, body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink); color: var(--fg);
  font-family: var(--font-body); font-size: 16px; line-height: 1.55;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; margin: 0; letter-spacing: -0.035em; line-height: 0.98; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 6px; }

/* Background grid that brightens around the cursor */
.grid-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .8;
  mask-image: radial-gradient(520px circle at var(--mx, 70%) var(--my, 20%), #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(520px circle at var(--mx, 70%) var(--my, 20%), #000 0%, transparent 70%);
}

/* Nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; height: var(--nav-h); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: color-mix(in srgb, var(--ink) 72%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; white-space: nowrap; flex-shrink: 0; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.03em; }
.brand img { width: 30px; height: 30px; }
.brand b { color: var(--brand); font-weight: 700; }
.nav { --nav-max: 1440px; }
.nav .wrap { max-width: var(--nav-max); }
.nav-cta { flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: 24px; font-size: 14.5px; color: var(--muted); white-space: nowrap; }
.nav-links a { position: relative; display: inline-flex; align-items: center; gap: 6px; padding-block: 6px; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--brand); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.7,0,.2,1); }
.nav-links a:hover { color: var(--fg); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.stack { flex-direction: column; align-items: flex-start; gap: 0; line-height: 1.2; }
.nav-links a.stack small { font-size: 10.5px; color: var(--muted); opacity: .8; }
.nav-links a.gem svg { width: 13px; height: 13px; color: var(--brand); }
.theme-btn { position: relative; width: 40px; height: 40px; border: 1px solid var(--line); background: var(--ink); color: var(--fg); border-radius: 999px; cursor: pointer; display: grid; place-items: center; overflow: hidden; flex-shrink: 0; }
.theme-btn:hover { border-color: var(--brand); }
.theme-btn svg { position: absolute; width: 18px; height: 18px; transition: transform .55s cubic-bezier(.6,-0.3,.3,1.3), opacity .3s; }
.theme-btn .moon { transform: translateY(26px) rotate(-60deg); opacity: 0; }
.dark-on .theme-btn .sun { transform: translateY(-26px) rotate(90deg); opacity: 0; }
.dark-on .theme-btn .moon { transform: none; opacity: 1; color: var(--brand-2); }
.menu-btn { display: none; width: 40px; height: 40px; border: 1px solid var(--line); background: var(--ink); border-radius: 12px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-btn span { display: block; width: 16px; height: 2px; background: var(--fg); border-radius: 2px; transition: transform .3s; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
@media (max-width: 1440px) {
  .menu-btn { display: inline-flex; }
  .nav-links { position: fixed; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); left: 0; right: 0; margin: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--shadow) 30%, transparent); padding: 8px max(20px, env(safe-area-inset-right, 0px)) 18px max(20px, env(safe-area-inset-left, 0px)); font-size: 17px; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .4s cubic-bezier(.7,0,.2,1), visibility 0s .4s; }
  .nav-links.open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .4s cubic-bezier(.7,0,.2,1); }
  .nav-links a { padding-block: 14px; border-bottom: 1px solid var(--line); color: var(--fg); }
  .nav-links a::after { display: none; }
  .nav-links a.stack small { font-size: 12.5px; margin-top: 3px; }
}
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 550; font-size: 15px; border: 1px solid transparent; transition: background .2s, border-color .2s, color .2s; will-change: transform; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--brand) 70%, transparent); }
.btn-primary:hover { background: color-mix(in srgb, var(--brand) 85%, #000); }
.btn-ghost { border-color: var(--line); color: var(--fg); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn svg { width: 16px; height: 16px; }

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 90px) clamp(30px, 5vw, 60px); position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center; }
.eyebrow { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--paid); box-shadow: 0 0 0 0 var(--paid); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--paid) 70%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }
.h1 { font-size: clamp(46px, 7.4vw, 108px); font-weight: 780; }
.h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.h1 .line > span { display: inline-block; animation: rise .95s cubic-bezier(.2,.8,.1,1) both; }
.h1 .line:nth-child(2) > span { animation-delay: .1s; }
.h1 .line:nth-child(3) > span { animation-delay: .2s; }
@keyframes rise { from { transform: translateY(105%) rotate(2deg); } to { transform: none; } }
.paid { position: relative; color: var(--brand); white-space: nowrap; }
.paid svg { position: absolute; left: -4%; bottom: -.12em; width: 108%; height: .42em; overflow: visible; }
.paid path { fill: none; stroke: var(--brand); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1s .9s cubic-bezier(.6,0,.2,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.muted-word { color: var(--fg); }
.lede { margin-top: 26px; max-width: 34em; font-size: clamp(16px, 1.4vw, 18.5px); color: var(--muted); }
.lede strong { color: var(--fg); font-weight: 550; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; align-items: center; }
.hero-note { font-size: 13.5px; color: var(--muted); width: 100%; }

.globe-box { position: relative; aspect-ratio: 1; width: 100%; max-width: 580px; justify-self: end; max-height: 100%; }
.globe-box canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.globe-box canvas:active { cursor: grabbing; }
.globe-glow { display: none; }
.globe-tag { position: absolute; left: 4%; bottom: 6%; font-family: var(--font-mono); font-size: 12px; color: var(--muted); background: color-mix(in srgb, var(--panel) 80%, transparent); border: 1px solid var(--line); padding: 8px 12px; border-radius: 10px; backdrop-filter: blur(8px); }
.globe-tag b { color: var(--brand-2); font-weight: 500; }

/* Split-flap board */
.board-sec { padding-block: clamp(30px, 5vw, 60px); }
.board-head { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: end; justify-content: space-between; margin-bottom: 22px; }
.h2 { font-size: clamp(34px, 4.6vw, 64px); font-weight: 760; }
.sub { color: var(--muted); max-width: 36em; margin-top: 12px; }
.board { background: var(--deep); border: 1px solid var(--deep); border-radius: 20px; padding: clamp(14px, 2.4vw, 26px); box-shadow: 0 40px 80px -40px color-mix(in srgb, var(--deep) 70%, transparent); overflow: hidden; }
.board-cols, .flap-row { display: grid; grid-template-columns: var(--cols); gap: clamp(10px, 2vw, 22px); align-items: center; }
.board-cols { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; color: var(--on-deep-muted); text-transform: uppercase; padding: 0 2px 12px; border-bottom: 1px dashed color-mix(in srgb, var(--on-deep-muted) 35%, transparent); margin-bottom: 12px; }
.flap-row { padding: 6px 0; text-decoration: none; border-radius: 8px; }
.flap-row:hover .cell { background: var(--brand); }
.flaps { display: flex; gap: 2px; min-width: 0; overflow: hidden; }
.cell { position: relative; flex: 0 0 auto; width: var(--cw); height: calc(var(--cw) * 1.42); background: var(--flap); border-radius: 3px; display: grid; place-items: center; font-family: var(--font-mono); font-weight: 500; font-size: calc(var(--cw) * .82); color: var(--on-deep); line-height: 1; overflow: hidden; transition: background .2s; }
.cell::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.35); }
.cell.f { animation: flip .07s linear; }
@keyframes flip { 0% { transform: scaleY(1); filter: brightness(1); } 50% { transform: scaleY(.15); filter: brightness(.55); } 100% { transform: scaleY(1); filter: brightness(1); } }
.flaps.where .cell { color: var(--on-deep-accent); }
.status { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--on-deep-live); display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--on-deep-live); animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.board-foot { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; margin-top: 16px; font-size: 13.5px; color: var(--on-deep-muted); }

/* Escrow pinned sequence */
.escrow { height: 300vh; position: relative; }
.escrow-pin { position: sticky; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); min-height: calc(100vh - var(--nav-h)); display: flex; align-items: center; padding-block: 30px; }
.escrow-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 70px); align-items: center; width: 100%; }
.vault { position: relative; border: 1px solid var(--line); background: var(--ink); box-shadow: 0 30px 70px -40px color-mix(in srgb, var(--brand) 45%, transparent); border-radius: 26px; padding: clamp(20px, 3vw, 34px); overflow: hidden; }
.vault-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.vault-amount { font-family: var(--font-display); font-weight: 760; font-size: clamp(52px, 7vw, 92px); letter-spacing: -0.04em; margin-top: 18px; font-variant-numeric: tabular-nums; transition: color .4s; }
.vault-amount.released { color: var(--paid); }
.vault-state { margin-top: 6px; color: var(--muted); min-height: 1.6em; }
.lock { width: 64px; height: 64px; }
.lock .shackle { transition: transform .5s cubic-bezier(.5,-0.4,.3,1.4); transform-origin: center; }
.lock.open .shackle { transform: translateY(-9px) rotate(-14deg) translateX(-3px); }
.lock rect { transition: fill .4s; }
.lock.open rect { fill: var(--paid); }
.track { position: relative; height: 4px; background: var(--line); border-radius: 4px; margin-top: 34px; }
.track-fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--p, 0) * 100%); background: var(--brand); border-radius: inherit; }
.track-fill.done { background: var(--paid); }
.coin { position: absolute; top: 50%; left: calc(var(--p, 0) * 100%); width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--ink), 0 6px 18px color-mix(in srgb, var(--brand) 60%, transparent); }
.ticks { display: flex; justify-content: space-between; margin-top: 12px; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); letter-spacing: .06em; }
.ticks span.on { color: var(--fg); }
.milestones { margin-top: 26px; display: grid; gap: 8px; }
.ms { display: flex; justify-content: space-between; align-items: center; font-size: 14px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); transition: border-color .3s, color .3s, background .3s; }
.ms.active { border-color: color-mix(in srgb, var(--brand) 60%, var(--line)); color: var(--fg); background: color-mix(in srgb, var(--brand) 8%, transparent); }
.ms.paid-ms { color: var(--fg); }
.ms .tag { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; }
.ms.paid-ms .tag { color: var(--paid); }
.example { font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin-top: 14px; letter-spacing: .06em; }

.steps { display: grid; gap: 4px; margin-top: 30px; }
.step { display: grid; grid-template-columns: 54px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); opacity: .38; transition: opacity .45s; }
.step.on { opacity: 1; }
.step-n { font-family: var(--font-mono); font-size: 13px; color: var(--brand); padding-top: 6px; }
.step h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.025em; }
.step p { color: var(--muted); margin-top: 6px; max-width: 30em; }

/* Categories */
.cats { padding-block: clamp(60px, 9vw, 120px) clamp(30px, 5vw, 60px); }
.cat-list { margin-top: 30px; border-top: 1px solid var(--line); }
.cat { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: clamp(14px, 2vw, 22px) 6px; border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.cat::before { content: ""; position: absolute; inset: 0; background: var(--brand); transform: scaleY(0); transform-origin: bottom; transition: transform .45s cubic-bezier(.7,0,.2,1); z-index: -1; }
.cat-name { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 4.2vw, 56px); letter-spacing: -0.035em; line-height: 1.05; transition: transform .45s cubic-bezier(.7,0,.2,1); }
.cat-name small { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--muted); vertical-align: top; margin-right: 14px; font-weight: 400; transition: color .3s; }
.cat-go { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; white-space: nowrap; transition: color .3s, transform .45s cubic-bezier(.7,0,.2,1); }
.cat-go svg { width: 22px; height: 22px; transition: transform .45s cubic-bezier(.7,0,.2,1); }
.cat:hover::before, .cat:focus-visible::before { transform: scaleY(1); }
.cat:hover .cat-name, .cat:focus-visible .cat-name { transform: translateX(18px); }
.cat:hover .cat-go, .cat:hover small, .cat:focus-visible .cat-go { color: #fff; }
.cat:hover .cat-go svg { transform: rotate(-45deg); }
.cat.ai .cat-name::after { content: "NEW"; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--paid); border: 1px solid currentColor; border-radius: 999px; padding: 3px 8px; margin-left: 14px; vertical-align: middle; font-weight: 500; }

/* AI split */
.ai { padding-block: clamp(40px, 6vw, 80px); }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ai-card { position: relative; border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 3.4vw, 40px); background: var(--panel); overflow: hidden; min-height: 330px; display: flex; flex-direction: column; isolation: isolate; }
.ai-card::before { content: none; }
.ai-card:hover::before { opacity: 1; }
.ai-card canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: .55; }
.ai-kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; color: var(--brand); text-transform: uppercase; }
.ai-card h3 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 760; margin-top: 14px; }
.ai-card p { color: var(--muted); margin-top: 14px; max-width: 30em; }
.ai-card .btn { margin-top: auto; align-self: flex-start; }
.ai-card .spacer { flex: 1; min-height: 24px; }

/* Numbers */
.nums { padding-block: clamp(40px, 6vw, 80px); }
.num-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.num { padding: 28px 20px 26px 0; border-right: 1px solid var(--line); padding-left: 20px; }
.num:first-child { padding-left: 0; }
.num:last-child { border-right: 0; }
.num b { display: block; font-family: var(--font-display); font-weight: 760; font-size: clamp(40px, 5.4vw, 76px); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.num span { display: block; margin-top: 10px; color: var(--muted); font-size: 14.5px; }
.asof { margin-top: 14px; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); letter-spacing: .06em; }

/* Final CTA */
.final { padding-block: clamp(70px, 11vw, 150px) clamp(50px, 7vw, 90px); text-align: left; }
.mega { font-family: var(--font-display); font-weight: 800; font-size: clamp(56px, 13vw, 210px); letter-spacing: -0.055em; line-height: .88; padding-bottom: .14em; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--brand) 55%, transparent); background: linear-gradient(90deg, var(--brand) 0 var(--fill, 0%), transparent var(--fill, 0%)); -webkit-background-clip: text; background-clip: text; }
.final-row { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: end; margin-top: 34px; }
.final-row p { color: var(--muted); max-width: 30em; font-size: 17px; }

/* Footer: deep brand blue in both themes, with a cursor-lit wordmark */
.foot { position: relative; overflow: hidden; isolation: isolate; background: var(--deep); color: var(--on-deep-muted); font-size: 15px; padding-block: clamp(56px, 8vw, 96px) 26px; margin-top: 20px; }
.foot-dots { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(color-mix(in srgb, var(--on-deep) 18%, transparent) 1px, transparent 1.5px); background-size: 22px 22px; mask-image: radial-gradient(600px circle at var(--fx, 70%) var(--fy, 20%), #000, transparent 75%); -webkit-mask-image: radial-gradient(600px circle at var(--fx, 70%) var(--fy, 20%), #000, transparent 75%); }
.foot a { color: inherit; }
.foot-hello { display: flex; flex-wrap: wrap; gap: 28px 40px; justify-content: space-between; align-items: end; padding-bottom: clamp(32px, 5vw, 52px); border-bottom: 1px solid color-mix(in srgb, var(--on-deep) 14%, transparent); }
.foot-kick { font-size: 15px; color: var(--on-deep-muted); }
.mail { margin-top: 10px; display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap; background: none; border: 0; padding: 0; cursor: pointer; color: var(--on-deep); font: inherit; text-align: left; }
.mail-text { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 5vw, 62px); letter-spacing: -0.04em; line-height: 1; background: linear-gradient(90deg, var(--on-deep) 0 50%, var(--on-deep-accent) 50% 100%); background-size: 200% 100%; background-position: 0 0; -webkit-background-clip: text; background-clip: text; color: transparent; transition: background-position .6s cubic-bezier(.7,0,.2,1); overflow-wrap: anywhere; }
.mail:hover .mail-text, .mail:focus-visible .mail-text { background-position: -100% 0; }
.mail-pill { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--deep); background: var(--on-deep); padding: 8px 14px; border-radius: 999px; transition: transform .3s cubic-bezier(.5,-0.5,.3,1.5), background .3s; }
.mail:hover .mail-pill { transform: rotate(-6deg) scale(1.06); }
.mail-pill.done { background: var(--on-deep-live); }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { height: 48px; padding: 0 18px 0 14px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--on-deep) 22%, transparent); color: var(--on-deep); display: inline-flex; align-items: center; gap: 10px; font-size: 14px; transition: background .3s, color .3s, border-color .3s; }
.socials a:hover { background: var(--on-deep); color: var(--deep); border-color: var(--on-deep); }
.socials svg { width: 18px; height: 18px; }

.clocks { display: grid; grid-template-columns: repeat(6, 1fr); border-bottom: 1px solid color-mix(in srgb, var(--on-deep) 14%, transparent); }
.clock { padding: 22px 0 22px 16px; border-left: 1px solid color-mix(in srgb, var(--on-deep) 10%, transparent); min-width: 0; }
.clock:first-child { border-left: 0; padding-left: 0; }
.clock b { display: block; font-family: var(--font-mono); font-weight: 500; font-size: clamp(20px, 2.2vw, 28px); color: var(--on-deep); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.clock b i { font-style: normal; animation: blink 1s steps(2) infinite; }
.clock span { display: flex; align-items: center; gap: 7px; margin-top: 4px; font-size: 13px; }
.clock span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--day, var(--on-deep-muted)); flex-shrink: 0; }
.clock.day span::before { --day: #fbbf24; }
.clock.night span::before { --day: var(--on-deep-accent); }

.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr) 1.3fr; gap: 36px 28px; padding-block: clamp(36px, 5vw, 56px); }
.foot-col { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.foot h4 { margin: 0 0 6px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--on-deep); }
.foot-col a { position: relative; display: inline-flex; align-items: center; transition: color .25s, transform .35s cubic-bezier(.7,0,.2,1); }
.foot-col a::before { content: "→"; position: absolute; left: -18px; opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .35s cubic-bezier(.7,0,.2,1); color: var(--on-deep-accent); }
.foot-col a:hover { color: var(--on-deep); transform: translateX(18px); }
.foot-col a:hover::before { opacity: 1; transform: none; }
.foot-col a.gem::after { content: ""; width: 9px; height: 9px; margin-left: 8px; background: var(--on-deep-accent); clip-path: polygon(25% 0, 75% 0, 100% 35%, 50% 100%, 0 35%); }
.foot-tag p { line-height: 1.6; max-width: 24em; }
.up { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--on-deep); font-size: 14px; border-bottom: 1px solid color-mix(in srgb, var(--on-deep) 35%, transparent); padding-bottom: 3px; }
.up svg { width: 15px; height: 15px; transition: transform .35s cubic-bezier(.5,-0.5,.3,1.5); }
.up:hover svg { transform: translateY(-4px); }

.wordmark { font-family: var(--font-display); font-weight: 800; font-size: clamp(54px, 15.6vw, 236px); letter-spacing: -0.06em; line-height: .8; white-space: nowrap; text-align: center; margin: 0 -0.02em; padding-block: 10px 18px; user-select: none; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--on-deep) 22%, transparent); background: none; transition: color .5s; }
.wordmark:hover { color: color-mix(in srgb, var(--on-deep) 16%, transparent); }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; padding-top: 22px; border-top: 1px solid color-mix(in srgb, var(--on-deep) 14%, transparent); font-size: 13.5px; }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-bottom a:hover { color: var(--on-deep); }
@media (max-width: 980px) { .clocks { grid-template-columns: repeat(3, 1fr); } .clock:nth-child(4) { border-left: 0; padding-left: 0; } .clock:nth-child(-n+3) { border-bottom: 1px solid color-mix(in srgb, var(--on-deep) 10%, transparent); } .foot-cols { grid-template-columns: repeat(3, 1fr); } .foot-tag { grid-column: 1 / -1; } }
@media (max-width: 640px) { .foot-cols { grid-template-columns: 1fr 1fr; } .clocks { grid-template-columns: repeat(2, 1fr); } .clock:nth-child(odd) { border-left: 0; padding-left: 0; } .clock:nth-child(4) { border-left: 1px solid color-mix(in srgb, var(--on-deep) 10%, transparent); padding-left: 16px; } .clock:nth-child(-n+4) { border-bottom: 1px solid color-mix(in srgb, var(--on-deep) 10%, transparent); } }

/* Theme switch: the new theme spreads out from the toggle as a circle */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { animation: reveal .7s cubic-bezier(.7,0,.2,1); }
@keyframes reveal { from { clip-path: circle(0 at var(--tx, 90%) var(--ty, 30px)); } to { clip-path: circle(150vmax at var(--tx, 90%) var(--ty, 30px)); } }

/* ---------- About page ---------- */
.ab-hero { padding-block: clamp(40px, 7vw, 90px) clamp(30px, 5vw, 60px); }
.ab-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: center; }
.ab-h1 { font-size: clamp(46px, 7.4vw, 104px); }
.meet { position: relative; aspect-ratio: 400 / 380; width: 100%; max-width: 460px; justify-self: end; }
.meet-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.meet-lines path { fill: none; stroke: var(--brand); stroke-width: 2; stroke-dasharray: 300; stroke-dashoffset: 300; animation: draw 1.2s cubic-bezier(.6,0,.2,1) forwards; opacity: .7; }
.meet-lines path:nth-child(2) { animation-delay: .35s; }
.meet-lines path:nth-child(3) { animation-delay: .7s; }
.pulse-dot { fill: var(--brand); filter: drop-shadow(0 0 6px var(--brand)); }
.node { position: absolute; width: 27%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%) scale(.6); opacity: 0; display: grid; place-items: center; align-content: center; background: var(--ink); border: 2px solid var(--brand); box-shadow: 0 0 0 10px color-mix(in srgb, var(--brand) 10%, transparent), 0 20px 50px -20px color-mix(in srgb, var(--brand) 60%, transparent); animation: pop .7s cubic-bezier(.4,1.6,.5,1) forwards; }
.node span { font-family: var(--font-display); font-weight: 760; font-size: clamp(22px, 3vw, 34px); letter-spacing: -0.04em; color: var(--brand); line-height: 1; }
.node img { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); border-radius: 50%; object-fit: cover; }
.node small { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.n1 { left: 50%; top: 15.8%; animation-delay: .1s; }
.n2 { left: 82.5%; top: 79%; animation-delay: .45s; }
.n3 { left: 17.5%; top: 79%; animation-delay: .8s; }
@keyframes pop { to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.node::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--brand); animation: ring 3s 1.5s infinite; opacity: 0; }
.n2::after { animation-delay: 2.5s; } .n3::after { animation-delay: 3.5s; }
@keyframes ring { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.5); opacity: 0; } }
.meet-tag { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); white-space: nowrap; background: var(--ink); padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; }
.meet-tag b { color: var(--fg); font-weight: 500; }

.story { padding-block: clamp(50px, 8vw, 100px); }
.story-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px 60px; align-items: start; }
.story-grid .h2 { position: sticky; top: calc(var(--nav-h) + 30px); }
.story-text { display: grid; gap: 22px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.65; color: var(--muted); max-width: 36em; }
.story-text p:first-child { color: var(--fg); }
.drop { float: left; font-family: var(--font-display); font-weight: 800; font-size: 4.1em; line-height: .82; margin: 6px 12px 0 0; color: var(--brand); }

.timeline-sec { padding-block: clamp(40px, 6vw, 80px); }
.timeline { list-style: none; margin: 40px 0 0; padding: 0 0 0 0; position: relative; --tl: 0; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 150px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; }
.timeline::before { background: var(--line); }
.timeline::after { background: var(--brand); transform-origin: top; transform: scaleY(var(--tl)); }
.timeline li { position: relative; display: grid; grid-template-columns: 150px 1fr; column-gap: 46px; padding-bottom: clamp(30px, 4vw, 46px); }
.timeline li::before { content: ""; position: absolute; left: 144px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 2px solid var(--line); transition: border-color .4s, background .4s, box-shadow .4s; z-index: 1; }
.timeline li.lit::before { border-color: var(--brand); background: var(--brand); box-shadow: 0 0 0 6px color-mix(in srgb, var(--brand) 18%, transparent); }
.timeline li.next::before { border-style: dashed; }
.timeline time { grid-row: span 2; font-family: var(--font-mono); font-size: 13px; color: var(--muted); padding-top: 3px; letter-spacing: .04em; text-align: right; padding-right: 0; }
.timeline li.lit time { color: var(--brand); }
.timeline h3 { grid-column: 2; font-size: clamp(22px, 2.6vw, 32px); font-weight: 720; letter-spacing: -0.03em; line-height: 1.1; }
.timeline p { grid-column: 2; color: var(--muted); margin-top: 8px; max-width: 34em; }

.team { padding-block: clamp(50px, 8vw, 100px); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; perspective: 1000px; }
.person { position: relative; border: 1px solid var(--line); border-radius: 24px; padding: 26px; background: var(--panel); transform-style: preserve-3d; transition: transform .15s ease-out, border-color .3s, box-shadow .3s; overflow: hidden; isolation: isolate; }
.person::before { content: none; }
.person:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: 0 30px 60px -35px color-mix(in srgb, var(--brand) 55%, transparent); }
.person:hover::before { opacity: 1; }
.avatar { position: relative; width: 96px; height: 96px; border-radius: 28px; display: grid; place-items: center; background: var(--brand); overflow: hidden; transform: translateZ(30px); }
.avatar::after { content: none; }
@keyframes spin { to { transform: rotate(1turn); } }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.person:hover .avatar img { transform: scale(1.08); }
.avatar.photo::after { opacity: .45; }
.avatar span { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 800; font-size: 34px; letter-spacing: -0.04em; color: #fff; }
.person h3 { margin-top: 22px; font-size: 24px; font-weight: 720; letter-spacing: -0.03em; line-height: 1.15; transform: translateZ(20px); }
.role { margin-top: 6px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.person p:last-child { margin-top: 14px; color: var(--muted); }

.hold { padding-block: clamp(40px, 6vw, 80px); }
.hold-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 34px; border-top: 1px solid var(--line); }
.hold-item { padding: 30px 28px 10px 0; }
.hold-item + .hold-item { padding-left: 28px; border-left: 1px solid var(--line); }
.hold-item svg { width: 44px; height: 44px; fill: none; stroke: var(--brand); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 160; stroke-dashoffset: 0; }
.hold-item:hover svg { animation: redraw 1.1s cubic-bezier(.6,0,.2,1); }
@keyframes redraw { 0% { stroke-dashoffset: 160; } 100% { stroke-dashoffset: 0; } }
.hold-item h3 { margin-top: 18px; font-size: clamp(22px, 2.2vw, 28px); font-weight: 720; letter-spacing: -0.03em; }
.hold-item p { margin-top: 8px; color: var(--muted); max-width: 26em; }

@media (max-width: 980px) {
  .ab-hero-grid, .story-grid { grid-template-columns: 1fr; }
  .meet { justify-self: center; max-width: 380px; }
  .story-grid .h2 { position: static; }
  .team-grid, .hold-grid { grid-template-columns: 1fr; }
  .hold-item + .hold-item { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .timeline::before, .timeline::after { left: 6px; }
  .timeline li { grid-template-columns: 1fr; padding-left: 34px; }
  .timeline li::before { left: 0; }
  .timeline time { grid-row: auto; text-align: left; margin-bottom: 6px; }
  .timeline h3, .timeline p { grid-column: 1; }
}

/* Responsive */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .globe-box { justify-self: center; max-width: 440px; margin-top: 10px; }
  .escrow-grid { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .num-row { grid-template-columns: repeat(2, 1fr); }
  .num:nth-child(2) { border-right: 0; }
  .num:nth-child(3) { padding-left: 0; }
  .num:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 980px) and (min-width: 0px) { .escrow { height: auto; } .escrow-pin { position: relative; top: 0; min-height: 0; padding-block: 60px; } }
@media (max-width: 520px) {
  .nav-cta .btn-ghost { display: none; }
  .cat-go span { display: none; }
  .num { padding-left: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .escrow { height: auto; } .escrow-pin { position: relative; top: 0; }
}

/* Signed-in menu bits */
.nav-signout { margin: 0; display: inline-flex; }
.menu-only { display: none; margin: 0; }
.menu-only button { all: unset; cursor: pointer; display: block; width: 100%; padding-block: 14px; color: var(--fg); }
@media (max-width: 1440px) { .menu-only { display: block; } }
@media (max-width: 520px) { .nav-signout { display: none; } }
