/* itisnothuman — 3D / Tron direction. Gumroad layout, dark premium canvas,
   Pixar-style 3D not-humans and coins, neon mint accents. Flat: no drop shadows,
   glow is done with radial gradients + rim borders. */

:root {
  --bg: #0b0d12;
  --surface: #12151d;
  --surface-2: #171b25;
  --ink: #eef1f6;
  --muted: #9aa3b2;
  --line: rgba(255,255,255,.09);
  --line-2: rgba(255,255,255,.16);
  --mint: #5ff2c4;
  --teal: #23b3a4;
  --mint-dim: rgba(95,242,196,.14);
  --magenta: #ff90e8;
  --maxw: 1200px;
  --radius: 24px;
  --radius-lg: 30px;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --disp: 'Bricolage Grotesque', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); color: var(--ink); background: var(--bg); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; letter-spacing: -.011em; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
h1, h2, h3 { font-family: var(--disp); font-weight: 800; letter-spacing: -.03em; line-height: 1.02; text-wrap: balance; }
.kick { display: inline-block; font-weight: 700; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--mint); }
::selection { background: rgba(95,242,196,.28); color: #fff; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
section[id] { scroll-margin-top: 92px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
/* Hero entrance */
.rise { opacity: 0; transform: translateY(16px); animation: rise .8s cubic-bezier(.2,.7,.3,1) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }
.hfloat { opacity: 0; animation: coinIn 1.1s cubic-bezier(.2,.7,.3,1) forwards; animation-delay: .25s; }
@keyframes coinIn { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .reveal, .rise, .hfloat { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
}

/* Header — Gumroad flat bar, dark */
.gnav { position: sticky; top: 0; z-index: 60; background: rgba(11,13,18,.86); backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line); }
.gnav-inner { display: flex; align-items: stretch; justify-content: space-between; height: 72px; padding-left: 28px; }
.gnav-left { display: flex; align-items: center; gap: 14px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand .mark { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; position: relative; flex: none; }
.brand .mark img { position: absolute; top: 50%; left: 50%; width: 148%; height: 148%; transform: translate(-50%,-50%); max-width: none; }
.brand .mark::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 18px rgba(95,242,196,.4), inset 0 0 0 1px rgba(95,242,196,.25); }
.brand b { font-family: var(--disp); font-size: 20px; font-weight: 800; letter-spacing: -.03em; }
.gnav-pill { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 13px; font-weight: 700; font-size: 13px; color: var(--muted); transition: color .15s, border-color .15s; }
.gnav-pill svg { width: 14px; height: 14px; flex: none; }
.gnav-pill:hover { color: var(--mint); border-color: rgba(95,242,196,.5); }
.gnav-menu { display: flex; align-items: stretch; }
.gnav-links { display: flex; align-items: center; gap: 2px; padding: 0 10px; }
.gnav-links a { display: inline-flex; align-items: center; font-weight: 600; font-size: 15px; color: var(--muted); padding: 0 15px; height: 38px; border-radius: 999px; margin: auto 0; transition: color .14s, background .14s; }
.gnav-links a:hover { color: var(--ink); background: rgba(255,255,255,.06); }
.gnav-auth { display: flex; align-items: stretch; }
.gnav-login, .gnav-cta { display: inline-flex; align-items: center; padding: 0 26px; border-left: 1px solid var(--line); font-weight: 700; font-size: 15px; white-space: nowrap; transition: background .15s, color .15s; }
.gnav-login { color: var(--muted); }
.gnav-login:hover { color: var(--ink); background: rgba(255,255,255,.05); }
.gnav-cta { background: var(--mint); color: #06251b; }
.gnav-cta:hover { background: #83f6d2; }
.nav-toggle { display: none; align-self: center; width: 44px; height: 44px; margin-right: 16px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }

/* Hero */
.ghero { position: relative; overflow: hidden; padding: 118px 28px 265px; border-bottom: 1px solid var(--line-2); }
.hero-crew { position: absolute; z-index: 3; left: 50%; translate: -50% 0; bottom: -2px; display: flex; align-items: flex-end; gap: 8px; pointer-events: none; }
.hero-crew img { position: relative; height: var(--hh, 220px); width: auto; max-width: none; }
.hero-crew img:nth-child(4) { z-index: 2; }
@media (max-width: 900px) { .hero-crew img { height: calc(var(--hh, 220px) * .62); } .hero-crew { gap: 5px; } .ghero { padding-bottom: 200px; } }
@media (max-width: 620px) { .hero-crew img:nth-child(1), .hero-crew img:nth-child(7) { display: none; } .ghero { padding-bottom: 180px; } }
.ghero::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(52% 42% at 50% 8%, rgba(35,179,164,.10), transparent 70%),
  radial-gradient(30% 26% at 12% 66%, rgba(95,242,196,.05), transparent 70%),
  radial-gradient(30% 26% at 88% 62%, rgba(255,144,232,.04), transparent 70%);
  pointer-events: none; }
.ghero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 220px; pointer-events: none;
  background: linear-gradient(to top, rgba(95,242,196,.035), transparent); }
.ghero-copy { position: relative; z-index: 3; max-width: 880px; margin: 0 auto; text-align: center; }
.ghero .eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); background: var(--mint-dim); border: 1px solid rgba(95,242,196,.35); border-radius: 999px; padding: 8px 18px; }
.ghero .eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px rgba(95,242,196,.8); animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.ghero h1 { font-size: clamp(44px, 7.6vw, 100px); line-height: .96; letter-spacing: -.038em; margin-top: 28px; }
.ghero h1 .glow { color: var(--mint); text-shadow: 0 0 30px rgba(95,242,196,.25); }
.ghero-sub { font-size: clamp(18px, 2vw, 22px); color: var(--muted); max-width: 620px; margin: 26px auto 0; line-height: 1.55; }
.ghero-actions { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 42px; flex-wrap: wrap; }
.btn-neon { display: inline-flex; align-items: center; justify-content: center; height: 60px; padding: 0 36px; border-radius: 14px; background: var(--mint); color: #06251b; font-weight: 800; font-size: 18px; border: 1px solid rgba(95,242,196,.6); position: relative; transition: transform .16s ease, background .16s; }
.btn-neon::after { content: ''; position: absolute; inset: -1px; border-radius: 14px; box-shadow: 0 0 36px rgba(95,242,196,.22); pointer-events: none; }
.btn-neon.sm { height: 52px; padding: 0 28px; font-size: 16.5px; }
.btn-neon:hover { transform: translateY(-3px); background: #83f6d2; }

/* Stacked-shadow CTA (Gumroad signature, dark palette) */
.stack { position: relative; display: inline-block; }
.stack > i { position: absolute; inset: 0; border-radius: 14px; border: 1.5px solid #07090d; transition: transform .18s cubic-bezier(.2,.7,.3,1); }
.stack .l-teal { background: var(--teal); z-index: 2; }
.stack .l-cyan { background: #38d4f5; z-index: 1; }
.stack .stack-btn { position: relative; z-index: 3; display: inline-flex; align-items: center; justify-content: center; height: 60px; padding: 0 36px; border-radius: 14px; background: var(--mint); color: #06251b; font-weight: 800; font-size: 18px; border: 1.5px solid #07090d; transition: transform .18s cubic-bezier(.2,.7,.3,1); }
.stack:hover .stack-btn { transform: translate(-7px,-7px); }
.stack:hover .l-cyan { transform: translate(7px,7px); box-shadow: 0 0 26px rgba(56,212,245,.4); }
.stack.sm .stack-btn { height: 52px; padding: 0 28px; font-size: 16.5px; border-radius: 12px; }
.stack.sm > i { border-radius: 12px; }
.stack:focus-within .stack-btn { transform: translate(-7px,-7px); }
@media (prefers-reduced-motion: reduce) { .stack > i, .stack .stack-btn { transition: none; } }

/* Studio stat strip */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
@media (max-width: 900px) { .stat-strip { grid-template-columns: 1fr 1fr; gap: 16px; } }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px 26px; transition: border-color .25s ease; }
.stat:hover { border-color: var(--line-2); }
.stat b { display: block; font-family: var(--disp); font-weight: 800; font-size: clamp(32px, 3.4vw, 44px); letter-spacing: -.03em; line-height: 1; }
.stat b em { font-style: normal; color: var(--mint); }
.stat span { display: block; margin-top: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ghero-link { font-weight: 700; font-size: 17px; color: var(--ink); border-bottom: 2px solid var(--line-2); padding-bottom: 2px; transition: color .15s, border-color .15s; }
.ghero-link:hover { color: var(--mint); border-color: var(--mint); }
.ghero-note { margin-top: 34px; font-size: 14.5px; color: var(--muted); }
.ghero-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Floating 3D coin clusters — masked so edges melt into the bg */
.hfloat { position: absolute; z-index: 1; pointer-events: none; will-change: transform; }
.hfloat img { width: 100%; display: block;
  -webkit-mask-image: radial-gradient(56% 56% at 50% 50%, #000 46%, transparent 74%);
  mask-image: radial-gradient(56% 56% at 50% 50%, #000 46%, transparent 74%);
  animation: bob 7s ease-in-out infinite; }
.hf-left { width: 500px; left: -70px; top: 96px; }
.hf-right { width: 400px; right: -58px; top: 230px; transform: scaleX(-1); }
.hf-right img { animation-duration: 9.5s; animation-delay: 1.4s; transform: rotate(11deg) scale(1.04); }
@keyframes bob { 50% { translate: 0 -13px; } }
@media (prefers-reduced-motion: reduce) { .hfloat img { animation: none; } }
@media (max-width: 1100px) { .hf-left { width: 340px; left: -70px; } .hf-right { width: 300px; right: -70px; } }
@media (max-width: 760px) { .hfloat { opacity: .5; } .hf-left { width: 260px; top: 40px; } .hf-right { display: none; } .ghero { padding: 90px 24px calc(52vw + 60px); } }

/* Bento */
.gbento { max-width: 1152px; margin: 24px auto 0; padding: 0 24px 8px; display: flex; flex-direction: column; gap: 26px; position: relative; z-index: 5; }
.gbento-row { display: grid; gap: 26px; }
.gbento-row.r1 { grid-template-columns: 1.75fr 1fr; }
@media (max-width: 900px) { .gbento-row.r1 { grid-template-columns: 1fr; } }
.gcard { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; overflow: hidden; transition: border-color .25s ease; }
.gcard:hover { border-color: var(--line-2); }
.gcard::before { content: ''; position: absolute; inset: 0; border-radius: var(--radius-lg); background: radial-gradient(60% 44% at 82% 0%, rgba(95,242,196,.04), transparent 70%); pointer-events: none; }
.gcard h3 { font-size: clamp(26px, 3vw, 36px); }
.gcard .lead { font-size: 16.5px; color: var(--muted); margin-top: 12px; max-width: 34ch; }
.gcard .kick { margin-bottom: 12px; }

.gcard.split { display: grid; grid-template-columns: 1fr .95fr; gap: 30px; align-items: stretch; min-height: 460px; }
@media (max-width: 900px) { .gcard.split { grid-template-columns: 1fr; } }
.gcard.split .g-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; height: 100%; padding: 6px 0; }
.gcard.split .g-copy .lead { max-width: 40ch; }

/* Small AI-image disclosure labels (we label our own AI images) */
.g-media::before, .post .cover::before, .pf-slides::before, .feat .cover::before, .art-cover::before, .prose figure::before {
  content: 'AI'; position: absolute; top: 11px; right: 11px; z-index: 5;
  font-size: 10px; font-weight: 800; letter-spacing: .1em; line-height: 1;
  padding: 4px 8px; border-radius: 7px;
  background: rgba(11,13,18,.72); color: var(--mint);
  border: 1px solid rgba(95,242,196,.4); backdrop-filter: blur(4px);
  pointer-events: none;
}

/* Framed media panel — deliberate, bordered, cover-cropped */
.g-media { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #0a0c11; min-height: 340px; }
.g-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.gcard:hover .g-media img { transform: scale(1.025); }
.g-media::after { content: ''; position: absolute; inset: 0; border-radius: 20px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), inset 0 -40px 70px rgba(11,13,18,.35); pointer-events: none; }
@media (max-width: 900px) { .g-media { min-height: 300px; } }

.g-media.peek img { object-position: 40% 50%; }
.g-media.tall img { object-position: 50% 64%; }
.gcard.solo { display: flex; flex-direction: column; min-height: 460px; }
.gcard.solo .g-media { flex: 1; margin-top: 24px; min-height: 240px; }
.gcard.solo .g-media img { object-position: 50% 16%; }

.gchecks { display: flex; flex-direction: column; gap: 13px; margin-top: 20px; }
.gchecks > div { display: flex; gap: 12px; align-items: flex-start; }
.gchecks .ck { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--mint-dim); border: 1px solid rgba(95,242,196,.4); display: grid; place-items: center; margin-top: 2px; }
.gchecks .ck svg { width: 13px; height: 13px; }
.gchecks p { font-size: 15.5px; color: var(--ink); line-height: 1.4; }

/* Page hero (inner pages) */
.phero { position: relative; overflow: hidden; padding: 96px 28px 64px; }
.phero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(48% 40% at 50% 0%, rgba(35,179,164,.09), transparent 70%); pointer-events: none; }
.phero-copy { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; text-align: center; }
.phero h1 { font-size: clamp(40px, 6vw, 76px); letter-spacing: -.045em; margin-top: 24px; }
.phero .sub { font-size: clamp(17.5px, 1.9vw, 20px); color: var(--muted); max-width: 560px; margin: 20px auto 0; line-height: 1.55; }
.phero .pcoin { position: absolute; z-index: 1; width: 210px; right: 3%; top: 60px; pointer-events: none; }
.phero .pcoin img { width: 100%; -webkit-mask-image: radial-gradient(56% 56% at 50% 50%, #000 46%, transparent 74%); mask-image: radial-gradient(56% 56% at 50% 50%, #000 46%, transparent 74%); animation: bob 8s ease-in-out infinite; }
@media (max-width: 900px) { .phero .pcoin { display: none; } .phero { padding: 70px 24px 48px; } }

/* Tier cards */
.tier-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.tier-head h3 { font-size: 26px; }
.tier-pill { display: inline-flex; align-items: center; font-weight: 800; font-size: 13.5px; border-radius: 999px; padding: 7px 15px; white-space: nowrap; }
.tier-pill.free { color: var(--mint); background: var(--mint-dim); border: 1px solid rgba(95,242,196,.35); }
.tier-pill.pro { color: #0b0d12; background: var(--mint); border: 1px solid rgba(95,242,196,.6); }
.tier-note { font-size: 14px; color: var(--muted); margin-top: 18px; }

/* Lab / roadmap cards */
.lab-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .lab-grid { grid-template-columns: 1fr; } }
.lab-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; min-height: 420px; overflow: hidden; transition: border-color .25s ease; }
.lab-card:hover { border-color: var(--line-2); }
.lab-card .kick { margin-bottom: 10px; }
.lab-card h3 { font-size: 24px; }
.lab-card p { font-size: 15.5px; color: var(--muted); margin-top: 10px; max-width: 30ch; }
.lab-card .g-media { flex: 1; margin-top: 22px; min-height: 200px; }
.lab-card.ghosted { border-style: dashed; border-color: var(--line-2); background: transparent; align-items: flex-start; justify-content: center; }
.lab-card.ghosted h3 { font-size: 26px; }
.lab-card.ghosted .btn-ghost { margin-top: 22px; }
.gnav-links a.active { color: var(--ink); background: rgba(255,255,255,.06); }

/* Generic section header */
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 18px; }
.sec-head h2 { font-size: clamp(32px, 4.6vw, 56px); margin-top: 12px; }
.sec-head .sub { color: var(--muted); font-size: 17.5px; max-width: 52ch; margin: 14px auto 0; }

/* About / Product extras */
#work.gbento { margin-top: 92px; }
.gbento-row.single { grid-template-columns: 1fr; }
.vals { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.vals span { display: inline-flex; align-items: center; font-weight: 700; font-size: 12px; letter-spacing: .03em; color: var(--mint); background: var(--mint-dim); border: 1px solid rgba(95,242,196,.3); border-radius: 999px; padding: 4px 12px; }
.p-actions { display: flex; align-items: center; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.price-pill { display: inline-flex; align-items: center; font-weight: 800; font-size: 14px; color: var(--ink); border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 16px; }

/* Blog / News */
.blog { padding: 96px 0 30px; }
.blog .sec-head { text-align: center; max-width: 700px; margin: 0 auto 44px; }
.blog h2 { font-size: clamp(32px, 4.6vw, 56px); margin-top: 12px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }
.post { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s ease, transform .2s ease; }
.post:hover { border-color: rgba(95,242,196,.45); transform: translateY(-4px); }
.post .cover { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; }
.post .cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transition: transform .45s cubic-bezier(.2,.7,.3,1); }
.post:hover .cover img { transform: scale(1.045); }
.post .cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,13,18,.55), transparent 42%); pointer-events: none; }
.post .body { display: flex; flex-direction: column; gap: 9px; padding: 21px 22px 25px; }
.post .tag, .feat .meta .tag, .art-meta .tag { align-self: flex-start; font-weight: 700; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mint); background: var(--mint-dim); border: 1px solid rgba(95,242,196,.3); border-radius: 999px; padding: 4px 11px; }
.post b { font-size: 18.5px; font-weight: 800; letter-spacing: -.02em; line-height: 1.28; }
.post time { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.post .arr { position: absolute; right: 22px; bottom: 19px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--muted); transition: color .2s, border-color .2s, transform .25s cubic-bezier(.2,.7,.3,1); }
.post .arr svg { width: 15px; height: 15px; }
.post:hover .arr { color: #06251b; border-color: var(--mint); background: var(--mint); transform: translate(2px,-2px); }
.blog .sub { text-align: center; color: var(--muted); font-size: 17.5px; max-width: 52ch; margin: 14px auto 0; }
.blog-more { text-align: center; margin-top: 40px; }
.btn-ghost { display: inline-flex; align-items: center; gap: 9px; height: 54px; padding: 0 28px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 700; font-size: 16px; color: var(--ink); transition: border-color .18s, color .18s, transform .18s; }
.btn-ghost:hover { border-color: var(--mint); color: var(--mint); transform: translateY(-2px); }

/* Pre-footer slider — full width, flush to the footer */
.prefooter { position: relative; margin-top: 90px; border-top: 1px solid var(--line); overflow: hidden; }
.pf-slides { position: relative; height: clamp(320px, 44vw, 640px); }
.pf-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.pf-slide.on { opacity: 1; }
.pf-slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; display: block; }
.pf-slide img.pf-ph { object-position: 50% 82%; }
.pf-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 9px; z-index: 3; }
.pf-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.3); border: 1px solid rgba(255,255,255,.45); cursor: pointer; padding: 0; transition: background .2s, border-color .2s, transform .2s; }
.pf-dot:hover { background: rgba(255,255,255,.6); }
.pf-dot.on { background: var(--mint); border-color: var(--mint); transform: scale(1.2); }
@media (prefers-reduced-motion: reduce) { .pf-slide { transition: none; } }

/* Footer — Gumroad-style: columns + giant wordmark */
footer { background: #07090d; border-top: 1px solid var(--line); }
.foot-cols { max-width: var(--maxw); margin: 0 auto; padding: 64px 28px 10px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
@media (max-width: 760px) { .foot-cols { grid-template-columns: 1fr 1fr; gap: 30px 20px; } }
.foot-brand p { color: var(--muted); font-size: 15px; margin-top: 14px; max-width: 30ch; line-height: 1.55; }
/* Footer hero — the crew perched above the giant wordmark */
.foot-hero { position: relative; padding-top: 34px; }
.foot-crew { display: flex; justify-content: center; position: relative; z-index: 2; margin-bottom: -10px; }
.foot-crew span { width: 58px; height: 58px; border-radius: 50%; overflow: hidden; border: 2px solid rgba(255,255,255,.16); background: #0a0c11; margin-left: -13px; transition: transform .18s ease, border-color .18s ease; }
.foot-crew span:first-child { margin-left: 0; }
.foot-crew span:hover { transform: translateY(-6px); border-color: var(--mint); }
.foot-crew span:nth-child(2) { transform: rotate(-4deg); }
.foot-crew span:nth-child(4) { transform: rotate(5deg); }
.foot-crew span:nth-child(2):hover, .foot-crew span:nth-child(4):hover { transform: translateY(-6px); }
.foot-crew img { width: 100%; height: 100%; object-fit: cover; }
.foot-crew span.pt img { transform: scale(1.9); transform-origin: 50% 16%; }
@media (max-width: 600px) { .foot-crew span { width: 46px; height: 46px; } }
.foot-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 14px; font-weight: 700; }
.foot-col a { display: block; font-weight: 600; font-size: 15px; color: rgba(238,241,246,.82); padding: 5px 0; transition: color .15s; }
.foot-col a:hover { color: var(--mint); }
.foot-mark { font-family: var(--disp); font-size: clamp(42px, 12vw, 178px); font-weight: 800; letter-spacing: -.045em; line-height: .92; text-align: center; padding: 48px 20px 0; user-select: none; white-space: nowrap; background: linear-gradient(180deg, #ffffff 30%, #9becd4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.foot-bar { max-width: var(--maxw); margin: 34px auto 0; padding: 24px 28px 36px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.foot-bar a { color: rgba(238,241,246,.82); text-decoration: underline; text-underline-offset: 3px; }
.foot-bar a:hover { color: var(--mint); }

/* Mobile nav — full-screen overlay */
html.menu-open, html.menu-open body { overflow: hidden; }
@media (max-width: 940px) {
  .gnav { backdrop-filter: none; background: rgba(9,11,15,.97); }
  .nav-toggle { display: inline-flex; position: relative; z-index: 70; }
  .gnav-left { position: relative; z-index: 70; }
  .gnav-menu { position: fixed; inset: 0; z-index: 65; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; background: rgba(7,9,13,.96); backdrop-filter: blur(18px) saturate(130%); opacity: 0; pointer-events: none; transition: opacity .28s ease; }
  .gnav.open .gnav-menu { opacity: 1; pointer-events: auto; }
  .gnav-links { flex-direction: column; align-items: center; gap: 4px; padding: 0; }
  .gnav-links a { font-family: var(--disp); font-size: 30px; font-weight: 700; color: var(--ink); height: auto; padding: 10px 20px; opacity: 0; transform: translateY(12px); transition: opacity .35s ease, transform .35s ease, background .14s; }
  .gnav.open .gnav-links a { opacity: 1; transform: none; }
  .gnav.open .gnav-links a:nth-child(1) { transition-delay: .06s; }
  .gnav.open .gnav-links a:nth-child(2) { transition-delay: .12s; }
  .gnav.open .gnav-links a:nth-child(3) { transition-delay: .18s; }
  .gnav-auth { flex-direction: column; align-items: stretch; margin-top: 28px; gap: 12px; width: min(320px, 78vw); opacity: 0; transform: translateY(12px); transition: opacity .35s ease .24s, transform .35s ease .24s; }
  .gnav.open .gnav-auth { opacity: 1; transform: none; }
  .gnav-login, .gnav-cta { justify-content: center; border-left: 0; border-radius: 999px; height: 54px; font-size: 17px; }
  .gnav-login { border: 1px solid var(--line-2); color: var(--ink); }
  .gnav-cta { border: 1px solid rgba(95,242,196,.6); }
  .gnav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .gnav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .gnav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  @media (prefers-reduced-motion: reduce) { .gnav-menu, .gnav-links a, .gnav-auth { transition: none; } }
}

/* Responsiveness refinements */
@media (max-width: 600px) { .gnav-pill { display: none; } .gnav-inner { padding-left: 20px; } }
@media (max-width: 900px) {
  .gcard { padding: 26px; }
  .gcard.split { min-height: 0; gap: 22px; }
  .gcard.solo { min-height: 0; }
  .g-media { min-height: 240px; }
  .g-media.peek { min-height: 440px; }
  #about .gcard.split { min-height: 0; }
  .sec-head .sub { font-size: 16px; }
  #work.gbento { margin-top: 60px; }
  .blog { padding: 64px 0 20px; }
  .prefooter { margin-top: 56px; }
  .pf-slides { height: clamp(240px, 52vw, 420px); }
  .foot-cols { padding-top: 48px; }
  .foot-brand { grid-column: 1 / -1; }
  .lab-card { min-height: 0; }
  .lab-card.ghosted { min-height: 260px; }
}
@media (max-width: 480px) {
  .ghero-actions { flex-direction: column; gap: 18px; }
  .btn-neon, .ghero-actions .stack, .ghero-actions .stack-btn { width: 100%; }
  .blog-grid { gap: 18px; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
}

/* >>> Blog pages <<< */
.gnav-links a.on { color: var(--mint); }

.bhero { position: relative; overflow: hidden; padding: 96px 28px 60px; border-bottom: 1px solid var(--line); }
.bhero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(48% 60% at 50% 0%, rgba(35,179,164,.09), transparent 70%); }
.bhero-in { position: relative; max-width: var(--maxw); margin: 0 auto; text-align: center; }
.bhero h1 { font-size: clamp(44px, 6.6vw, 88px); line-height: .96; letter-spacing: -.038em; margin-top: 22px; }
.bhero .sub { color: var(--muted); font-size: 18px; line-height: 1.6; max-width: 54ch; margin: 18px auto 0; }
.bhero .crewline { display: inline-flex; align-items: center; gap: 14px; margin-top: 30px; color: var(--muted); font-size: 14px; font-weight: 600; }
.bhero .crewline .avs { display: flex; }
.bhero .crewline .avs img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(255,255,255,.16); background: #0a0c11; margin-left: -9px; }
.bhero .crewline .avs img:first-child { margin-left: 0; }

.bmain { padding: 64px 0 90px; }
.feat { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s ease, transform .2s ease; margin-bottom: 64px; }
.feat:hover { border-color: rgba(95,242,196,.45); transform: translateY(-4px); }
.feat .cover { position: relative; min-height: 400px; overflow: hidden; }
.feat .cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.feat:hover .cover img { transform: scale(1.04); }
.feat .body { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 48px 46px; }
.feat .meta { display: flex; align-items: center; gap: 12px; }
.feat .meta time { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.feat b { font-family: var(--disp); font-size: clamp(26px, 2.8vw, 38px); font-weight: 800; letter-spacing: -.025em; line-height: 1.12; }
.feat .dek { color: var(--muted); font-size: 16.5px; line-height: 1.6; }
.feat .rl { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15.5px; color: var(--mint); margin-top: 6px; }
.feat .rl svg { width: 15px; height: 15px; transition: transform .2s; }
.feat:hover .rl svg { transform: translateX(3px); }

.bsec-label { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin: 0 0 24px; }
.bsec-label h2 { font-size: 28px; letter-spacing: -.02em; }
.bsec-label span { font-size: 13.5px; color: var(--muted); font-weight: 600; }

.archive { margin-top: 64px; }
.arow { display: grid; grid-template-columns: 1fr max-content 7.5em; align-items: baseline; gap: 20px; padding: 21px 0; border-bottom: 1px solid var(--line); transition: border-color .2s; }
.arow:first-of-type { border-top: 1px solid var(--line); }
.arow:hover { border-bottom-color: rgba(95,242,196,.35); }
.arow b { font-size: 17.5px; font-weight: 800; letter-spacing: -.015em; transition: color .15s; }
.arow:hover b { color: var(--mint); }
.arow .tg { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.arow time { font-size: 13.5px; color: var(--muted); font-weight: 600; text-align: right; transition: color .15s; }
.arow:hover time { color: var(--ink); }

.subcta { margin-top: 64px; border: 1px solid rgba(95,242,196,.3); background: var(--mint-dim); border-radius: var(--radius); padding: 42px 46px; display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.subcta h3 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.02em; }
.subcta p { color: var(--muted); font-size: 15.5px; margin-top: 8px; max-width: 44ch; }

/* Single post */
.article { position: relative; padding: 88px 28px 0; }
.art-head { max-width: 780px; margin: 0 auto; text-align: center; }
.art-meta { display: inline-flex; align-items: center; gap: 12px; }
.art-meta time, .art-meta .rt { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.art-meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }
.article h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.04; letter-spacing: -.035em; margin-top: 20px; }
.art-dek { color: var(--muted); font-size: 19px; line-height: 1.6; max-width: 56ch; margin: 22px auto 0; }
.art-author { display: inline-flex; align-items: center; gap: 13px; margin-top: 30px; }
.art-author img { width: 46px; height: 46px; border-radius: 50%; border: 2px solid rgba(255,255,255,.16); background: #0a0c11; }
.art-author .who { text-align: left; }
.art-author .who b { display: block; font-size: 15px; line-height: 1.25; }
.art-author .who span { display: block; font-size: 13px; color: var(--muted); font-weight: 600; line-height: 1.35; margin-top: 2px; }
.art-cover { position: relative; max-width: 1060px; margin: 48px auto 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.art-cover img { display: block; width: 100%; }

.prose { max-width: 660px; margin: 56px auto 0; font-size: 18px; line-height: 1.78; color: rgba(238,241,246,.88); }
.prose p { margin: 0 0 26px; }
.prose a { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
.prose h2 { font-size: 29px; letter-spacing: -.02em; line-height: 1.2; margin: 58px 0 18px; color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 26px; padding-left: 24px; }
.prose li { margin-bottom: 10px; }
.prose li::marker { color: var(--mint); font-weight: 700; }
.prose blockquote { font-family: var(--disp); font-size: clamp(25px, 3vw, 33px); font-weight: 800; letter-spacing: -.02em; line-height: 1.32; color: var(--ink); border-left: 3px solid var(--mint); padding: 10px 0 10px 30px; margin: 52px 0; }
.prose figure { position: relative; margin: 40px 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.prose figure img { display: block; width: 100%; }
.prose figcaption { padding: 13px 18px; font-size: 13.5px; color: var(--muted); font-weight: 600; border-top: 1px solid var(--line); }
.callout { border: 1px solid rgba(95,242,196,.3); background: var(--mint-dim); border-radius: 14px; padding: 24px 26px; margin: 0 0 26px; font-size: 16.5px; line-height: 1.65; }
.callout b { color: var(--mint); }
.art-end { max-width: 660px; margin: 52px auto 0; padding-top: 30px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 13px; color: var(--muted); font-size: 14.5px; }
.art-end .avs { display: flex; }
.art-end .avs img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(255,255,255,.16); background: #0a0c11; margin-left: -9px; }
.art-end .avs img:first-child { margin-left: 0; }

.pn { max-width: 1060px; margin: 68px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pn a { border: 1px solid var(--line); background: var(--surface); border-radius: 16px; padding: 22px 26px; transition: border-color .2s, transform .2s; }
.pn a:hover { border-color: rgba(95,242,196,.45); transform: translateY(-4px); }
.pn a:hover b { color: var(--mint); }
.pn a span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.pn a b { font-size: 16.5px; font-weight: 800; letter-spacing: -.015em; line-height: 1.3; transition: color .15s; }
.pn a.next { text-align: right; }

.more { border-top: 1px solid var(--line); margin-top: 84px; padding: 72px 0 96px; }
.more .bsec-label { margin-bottom: 26px; }

@media (max-width: 900px) {
  .feat { grid-template-columns: 1fr; }
  .feat .cover { min-height: 260px; }
  .feat .body { padding: 30px 26px 34px; }
  .bmain { padding: 48px 0 70px; }
  .subcta { padding: 32px 28px; }
  .arow { grid-template-columns: 1fr auto; }
  .arow .tg { display: none; }
  .article { padding-top: 64px; }
  .pn { grid-template-columns: 1fr; }
  .pn a.next { text-align: left; }
}

/* >>> Say hi <<< */
.say-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.say-grid a { display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line); background: var(--surface); border-radius: 16px; padding: 26px 26px 28px; transition: border-color .2s, transform .2s; }
.say-grid a:hover { border-color: rgba(95,242,196,.45); transform: translateY(-4px); }
.say-grid a:hover b { color: var(--mint); }
.say-grid .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--mint-dim); border: 1px solid rgba(95,242,196,.3); color: var(--mint); }
.say-grid .ic svg { width: 19px; height: 19px; }
.say-grid b { font-size: 17.5px; font-weight: 800; letter-spacing: -.015em; transition: color .15s; }
.say-grid p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.say-grid .em { margin-top: auto; padding-top: 8px; font-size: 13.5px; font-weight: 700; color: var(--mint); }
@media (max-width: 900px) { .say-grid { grid-template-columns: 1fr; } }

/* >>> Changelog <<< */
.clog { max-width: 860px; margin: 0 auto; padding: 8px 28px 0; }
.clog-v { display: grid; grid-template-columns: 170px 1fr; gap: 30px; padding: 38px 0; border-top: 1px solid var(--line); }
.clog-v:first-of-type { border-top: 0; }
.clog-v .ver b { display: block; font-family: var(--disp); font-weight: 800; font-size: 28px; letter-spacing: -.02em; }
.clog-v .latest { display: inline-block; margin-top: 10px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--mint); background: var(--mint-dim); border: 1px solid rgba(95,242,196,.3); border-radius: 999px; padding: 3px 10px; }
.clog-v ul { margin: 4px 0 0; padding-left: 20px; }
.clog-v li { margin-bottom: 13px; color: rgba(238,241,246,.88); font-size: 16.5px; line-height: 1.68; }
.clog-v li::marker { color: var(--mint); }
.clog-v code { font: 600 13.5px/1.2 ui-monospace, 'SF Mono', Menlo, monospace; background: var(--mint-dim); color: var(--mint); border: 1px solid rgba(95,242,196,.25); border-radius: 6px; padding: 2px 7px; white-space: nowrap; }
.clog-v .rn { display: inline-flex; align-items: center; gap: 7px; margin-top: 4px; font-weight: 700; font-size: 14.5px; color: var(--mint); }
@media (max-width: 700px) { .clog-v { grid-template-columns: 1fr; gap: 12px; padding: 30px 0; } }
