/* ============================================================
   HOME — home.css
   Homepage styles (blog keeps base/components/sections.css).
   Order: base · nav · hero · marquee · bento · journey ·
   expertise · initiatives · mentor · proof · writing ·
   contact · footer · reveal/motion
   ============================================================ */

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@supports (overflow-x: clip) { body { overflow-x: clip; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--lime); color: #111; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; border-radius: 6px; }

.ico { width: 1em; height: 1em; flex-shrink: 0; vertical-align: -.125em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .wrap { padding: 0 2rem; } }

.section { position: relative; z-index: 1; padding: 5.5rem 0; }
@media (min-width: 900px) { .section { padding: 8rem 0; } }

.eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--sand); margin-bottom: 1rem;
}
.sec-head { margin-bottom: 3rem; max-width: 760px; }
.sec-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.sub-head { margin: 6rem 0 2rem; }
.sec-title, .cta-big, .hero-name, .tile-n, .tt-big, .j-year, .foot-big, .ini-title {
  font-family: 'Bricolage Grotesque', 'Plus Jakarta Sans', system-ui, sans-serif;
}
.sec-title {
  font-size: clamp(2.1rem, 6vw, 4.2rem);
  font-weight: 700; line-height: 1.02; letter-spacing: -.03em;
}
.sec-title-sm { font-size: clamp(1.8rem, 4.5vw, 3rem); }
.sec-title em, .cta-big em, .hero-name .hn-accent { font-style: normal; color: var(--sand); }
.sec-sub { margin-top: 1.1rem; font-size: 1.05rem; color: var(--muted); max-width: 54ch; }
.sec-title, .cta-big { text-wrap: balance; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.4rem; border-radius: 999px;
  font-weight: 700; font-size: .92rem; line-height: 1; white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s, box-shadow .25s, transform .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn-sm { padding: .6rem 1.05rem; font-size: .82rem; }
.btn-lg { padding: 1rem 1.7rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-lime { background: var(--lime); color: #111208; }
.btn-lime:hover { background: var(--lime2); box-shadow: 0 10px 34px rgba(200, 245, 96, .35); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .16); color: var(--ink); }
.btn-ghost:hover { border-color: var(--sand-line); color: var(--sand); background: var(--sand-tint); }
.btn:active { transform: scale(.97); }
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }

/* ── Skip / progress ── */
.skip-link {
  position: absolute; top: -100px; left: 1rem; z-index: 1000;
  background: var(--lime); color: #111; padding: .6rem 1rem; border-radius: 0 0 10px 10px; font-weight: 700;
}
.skip-link:focus { top: 0; }
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 900;
  background: linear-gradient(90deg, var(--lime), var(--coral));
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ── Ambient background ── */
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.amb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; will-change: transform; }
.amb-1 { width: 46vmax; height: 46vmax; background: radial-gradient(circle, rgba(200,245,96,.32), transparent 65%); top: -18vmax; right: -14vmax; animation: drift1 22s ease-in-out infinite alternate; }
.amb-2 { width: 40vmax; height: 40vmax; background: radial-gradient(circle, rgba(255,122,89,.26), transparent 65%); bottom: -20vmax; left: -14vmax; animation: drift2 26s ease-in-out infinite alternate; }
.amb-3 { width: 30vmax; height: 30vmax; background: radial-gradient(circle, rgba(182,164,255,.22), transparent 65%); top: 40%; left: 45%; animation: drift3 30s ease-in-out infinite alternate; }
.amb-grid {
  position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
}
@keyframes drift1 { to { transform: translate(-8vmax, 10vmax) scale(1.1); } }
@keyframes drift2 { to { transform: translate(10vmax, -6vmax) scale(1.15); } }
@keyframes drift3 { to { transform: translate(-12vmax, -8vmax) scale(.9); } }

/* ── NAV ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .85rem 1rem;
  padding-top: max(.85rem, env(safe-area-inset-top));
  transition: background-color .35s, border-color .35s, padding .35s;
  border-bottom: 1px solid transparent;
}
@media (min-width: 640px) { #nav { padding-left: 2rem; padding-right: 2rem; } }
#nav.scrolled {
  background: rgba(11, 11, 14, .78);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--border);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  #nav.scrolled { background: rgba(11, 11, 14, .97); }
}
.logo { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; }
.logo-mark {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: var(--lime); color: #111; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: .9rem;
  transition: transform .4s var(--ease);
}
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.logo-txt { font-size: 1rem; letter-spacing: -.01em; }
.nav-links { display: none; gap: .3rem; padding: .3rem; border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,.03); }
.nav-links a {
  position: relative; padding: .45rem 1rem; border-radius: 999px;
  font-size: .86rem; font-weight: 600; color: var(--muted); transition: color .25s, background-color .25s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.is-active { color: #111; background: var(--lime); }
.nav-actions { display: none; align-items: center; gap: .6rem; }
@media (min-width: 960px) {
  .nav-links, .nav-actions { display: flex; }
  .ham { display: none !important; }
}
.ham {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: rgba(255,255,255,.04);
  position: relative; z-index: 850;
}
.ham span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease); }
.ham[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.ham[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

#drawer {
  position: fixed; inset: 0; z-index: 790;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 6rem 1.25rem max(2rem, env(safe-area-inset-bottom));
  background: var(--bg);
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  overflow-y: auto;
}
#drawer.open { opacity: 1; visibility: visible; }
#drawer[hidden] { display: none; }
.drawer-links { display: flex; flex-direction: column; }
.drawer-links a {
  display: flex; align-items: baseline; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--border);
  font-family: 'Bricolage Grotesque', sans-serif; font-size: clamp(2rem, 10vw, 3rem); font-weight: 700; letter-spacing: -.02em;
  transform: translateY(20px); opacity: 0; transition: transform .5s var(--ease), opacity .5s, color .2s;
}
.drawer-links a small { font-family: 'JetBrains Mono', monospace; font-size: .8rem; color: var(--sand); font-weight: 400; }
.drawer-links a:active { color: var(--sand); }
#drawer.open .drawer-links a { transform: none; opacity: 1; }
#drawer.open .drawer-links a:nth-child(2) { transition-delay: .05s; }
#drawer.open .drawer-links a:nth-child(3) { transition-delay: .1s; }
#drawer.open .drawer-links a:nth-child(4) { transition-delay: .15s; }
.drawer-foot { display: grid; gap: .7rem; margin-top: 2rem; }
.drawer-social { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .8rem; color: var(--muted); font-size: .9rem; }
body.no-scroll { overflow: hidden; }

/* ── HERO ── */
.hero {
  position: relative; z-index: 1;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 7rem 0 5rem;
}
.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 4rem; } }

.status-pill {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .45rem .9rem; border-radius: 999px; font-size: .82rem; font-weight: 600;
  background: rgba(94, 226, 155, .08); border: 1px solid rgba(94, 226, 155, .25); color: var(--emerald);
}
.status-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); }
.status-dot::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--emerald);
  animation: ping 1.8s var(--ease) infinite;
}
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

.hero-name {
  margin: 1.2rem 0 1rem;
  font-size: clamp(4rem, 17vw, 9.5rem);
  font-weight: 800; line-height: .88; letter-spacing: -.035em;
}
.hn-line { display: block; overflow: hidden; padding-bottom: .06em; }
.hn-word { display: inline-block; }
.hn-word .ch { display: inline-block; will-change: transform; }

.hero-role { font-size: clamp(1rem, 2.4vw, 1.2rem); color: var(--ink); font-weight: 600; max-width: 34ch; }
.hero-rotator { margin-top: .6rem; font-size: clamp(1rem, 2.4vw, 1.2rem); color: var(--muted); }
.rot { position: relative; display: inline-grid; vertical-align: bottom; overflow: hidden; color: var(--sand); font-weight: 700; }
.rot-word {
  grid-area: 1 / 1; white-space: nowrap;
  transform: translateY(110%); opacity: 0;
  transition: transform .6s var(--ease), opacity .6s;
}
.rot-word.is-on { transform: none; opacity: 1; }
.rot-word.is-out { transform: translateY(-110%); opacity: 0; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.hero-visual { position: relative; max-width: 520px; width: 100%; margin: 0 auto; }
.photo-card {
  position: relative; border-radius: 28px; overflow: hidden;
  aspect-ratio: 4 / 5; background: var(--card);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .5);
  -webkit-mask-image: -webkit-radial-gradient(white, black); /* Safari radius+overflow fix */
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 40%; transform: scale(1.08); }
.photo-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(11,11,14,.7)); }
.float-chip {
  position: absolute; z-index: 2;
  padding: .5rem .85rem; border-radius: 14px; font-size: .78rem; color: var(--muted);
  background: rgba(20, 20, 26, .78); border: 1px solid rgba(255,255,255,.1);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: bob 6s ease-in-out infinite;
}
.float-chip b { display: block; font-family: 'Bricolage Grotesque', sans-serif; font-size: 1.15rem; color: var(--ink); line-height: 1.1; }
.fc-1 { top: 1rem; left: 1rem; }
.fc-1 b { color: var(--sand); }
.fc-2 { top: 1rem; right: 1rem; animation-delay: -2s; }
.fc-2 b { color: var(--coral); }
.fc-3 { top: 60%; left: 1rem; animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.terminal {
  position: relative; z-index: 3;
  margin: -5.5rem .75rem 0;
  border-radius: 16px; overflow: hidden;
  background: rgba(14, 14, 18, .92); border: 1px solid rgba(255,255,255,.1);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
  font-family: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace; font-size: .76rem;
}
@media (min-width: 960px) { .terminal { margin: -6rem -2.5rem 0 -3rem; } }
.term-bar { display: flex; align-items: center; gap: .4rem; padding: .6rem .85rem; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.03); }
.tdot { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.tdot:nth-child(2) { background: #febc2e; }
.tdot:nth-child(3) { background: #28c840; }
.term-title { margin-left: .5rem; color: var(--dim); }
.term-replay { margin-left: auto; color: var(--dim); font-size: .72rem; padding: .2rem .4rem; border-radius: 6px; transition: color .2s, background-color .2s; }
.term-replay:hover { color: var(--sand); background: var(--sand-tint); }
.term-body { padding: .9rem 1rem 1rem; min-height: 11.5rem; }
.tl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.75; color: var(--muted); }
.tl-cmd { color: var(--ink); }
.t-dim { color: var(--dim); }
.t-ok { color: var(--emerald); margin-right: .35rem; }
.t-pass { background: var(--emerald); color: #0b0b0e; font-weight: 700; padding: 0 .35rem; border-radius: 3px; margin-right: .35rem; }
.tl-sum { margin-top: .35rem; color: var(--ink); }
.js .terminal.is-typing .tl { visibility: hidden; }
.js .terminal.is-typing .tl.on { visibility: visible; }
.tl.on.caret::after { content: '▋'; color: var(--sand); margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.scroll-cue { position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%); display: none; padding: .5rem; }
@media (min-width: 960px) and (min-height: 760px) { .scroll-cue { display: block; } }
.sc-mouse { display: block; width: 22px; height: 34px; border: 2px solid rgba(255,255,255,.3); border-radius: 12px; position: relative; }
.sc-wheel { position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--lime); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { from { transform: translateY(0); opacity: 1; } to { transform: translateY(12px); opacity: 0; } }

/* ── Marquee ── */
.marquee {
  position: relative; z-index: 1; display: flex; overflow: hidden;
  border-block: 1px solid var(--border); background: rgba(255,255,255,.02);
  padding: 1.1rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.mq-track { display: flex; flex-shrink: 0; align-items: center; gap: 2rem; padding-right: 2rem; animation: marquee 38s linear infinite; }
.mq-track span { font-family: 'Bricolage Grotesque', sans-serif; font-size: clamp(1.1rem, 3vw, 1.6rem); font-weight: 600; color: var(--muted); white-space: nowrap; }
.mq-track i { color: var(--sand); font-style: normal; }
.marquee:hover .mq-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ── Impact bento ── */
#impact { padding-top: 4rem; }
.bento { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, auto); }
  .tile-xl { grid-column: span 2; grid-row: span 2; }
}
.tile {
  position: relative; overflow: hidden;
  transition: border-color .3s;
  padding: 1.6rem; border-radius: var(--r);
  background: var(--card); border: 1px solid var(--border);
  display: flex; flex-direction: column; justify-content: space-between; gap: 1rem;
  min-height: 170px;
}
.tile:hover { border-color: var(--sand-line); }
.tile-k { font-size: .82rem; color: var(--muted); font-weight: 600; }
.tile-n { font-size: clamp(2.8rem, 7vw, 4.2rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.tile-n-sm { font-size: clamp(2.2rem, 5vw, 3rem); }
.tile-p { font-size: .9rem; color: var(--muted); max-width: 32ch; position: relative; z-index: 1; }
.tile-xl { background: linear-gradient(150deg, var(--sand-bg), var(--card) 60%); border-color: rgba(230,211,168,.18); }
.tile-xl .tile-n { font-size: clamp(4rem, 12vw, 7.5rem); color: var(--sand); }
.tile-coral { background: linear-gradient(150deg, #2a1a16, var(--card) 70%); border-color: rgba(255,122,89,.22); }
.tile-coral .tile-n { color: var(--coral); }

.dots-globe {
  position: absolute; right: -60px; bottom: -60px; width: 300px; height: 300px; border-radius: 50%;
  background-image: radial-gradient(rgba(230,211,168,.5) 1.4px, transparent 1.6px);
  background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(circle, #000 40%, transparent 70%);
  mask-image: radial-gradient(circle, #000 40%, transparent 70%);
  opacity: .5; animation: spin 60s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.tile-ring { flex-direction: row; align-items: center; justify-content: flex-start; gap: 1.5rem; }
.ring { width: 120px; height: 120px; flex-shrink: 0; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring-bg { stroke: rgba(255,255,255,.07); }
.ring-fg { stroke: var(--lime); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.8s var(--ease); }
.tile-ring.in .ring-fg { stroke-dashoffset: 97; }
.ring-label .tile-k { margin-top: .4rem; }
@media (min-width: 960px) {
  .tile-ring { flex-direction: column; align-items: flex-start; justify-content: space-between; }
  .tile-ring .ring { width: 96px; height: 96px; }
}

.bars { display: flex; align-items: flex-end; gap: 6px; height: 46px; }
.bars i { flex: 1; border-radius: 4px 4px 0 0; background: rgba(200,245,96,.25); height: 10%; transition: height 1s var(--ease); }
.bars i:last-child { background: var(--lime); }
.tile.in .bars i:nth-child(1) { height: 22%; }
.tile.in .bars i:nth-child(2) { height: 34%; transition-delay: .08s; }
.tile.in .bars i:nth-child(3) { height: 46%; transition-delay: .16s; }
.tile.in .bars i:nth-child(4) { height: 58%; transition-delay: .24s; }
.tile.in .bars i:nth-child(5) { height: 70%; transition-delay: .32s; }
.tile.in .bars i:nth-child(6) { height: 84%; transition-delay: .4s; }
.tile.in .bars i:nth-child(7) { height: 100%; transition-delay: .48s; }

.avatars { display: flex; }
.avatars i {
  width: 34px; height: 34px; border-radius: 50%; margin-right: -10px;
  border: 2px solid var(--card); background: linear-gradient(135deg, var(--lilac), var(--coral));
  display: grid; place-items: center; font-style: normal; font-size: .68rem; font-weight: 700; color: #111;
}
.avatars i:nth-child(2) { background: linear-gradient(135deg, var(--lime), var(--emerald)); }
.avatars i:nth-child(3) { background: linear-gradient(135deg, var(--coral), #ffd27a); }
.avatars i:nth-child(4) { background: linear-gradient(135deg, #7ad7ff, var(--lilac)); }
.avatars i:last-child { background: var(--card2); color: var(--ink); }

/* ── Journey (horizontal) ── */
.journey { position: relative; overflow: hidden; }
@supports (overflow: clip) { .journey { overflow-x: clip; overflow-y: visible; } }
.journey-track {
  display: flex; gap: 1rem;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding: .5rem 1rem 1.5rem;
  scroll-padding-inline: 1rem;
  scrollbar-width: none;
}
.journey-track::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .journey-track { padding-left: 2rem; padding-right: 2rem; scroll-padding-inline: 2rem; } }
@media (min-width: 1180px) { .journey-track { padding-left: calc((100vw - 1180px) / 2 + 2rem); } }
.jcard {
  position: relative; flex: 0 0 min(84vw, 380px); scroll-snap-align: start;
  display: flex; flex-direction: column; gap: .7rem;
  padding: 1.8rem; border-radius: var(--r);
  background: var(--card); border: 1px solid var(--border);
  transition: border-color .3s, transform .4s var(--ease);
}
.jcard:hover { border-color: var(--sand-line); }
.jcard::before {
  content: ''; position: absolute; top: 2.6rem; left: -1rem; width: 1rem; height: 1px; background: var(--border);
}
.jcard:first-child::before { display: none; }
.j-year { font-size: 3.6rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.2px rgba(244,241,234,.35); }
.jcard-now .j-year { color: var(--sand); -webkit-text-stroke: 0; }
.jcard-now { background: linear-gradient(160deg, var(--sand-bg), var(--card) 60%); border-color: rgba(230,211,168,.22); }
.j-period { font-family: 'JetBrains Mono', monospace; font-size: .74rem; color: var(--sand); }
.j-role { font-size: 1.25rem; font-weight: 700; line-height: 1.25; }
.j-org { font-size: .88rem; color: var(--muted); font-weight: 600; }
.j-win { display: flex; gap: .5rem; align-items: flex-start; font-size: .88rem; font-weight: 600; color: var(--ink); padding: .6rem .75rem; border-radius: 10px; background: rgba(94,226,155,.08); border: 1px solid rgba(94,226,155,.2); }
.j-win .ico { color: var(--emerald); margin-top: .15em; }
.j-txt { font-size: .92rem; color: var(--muted); }
.jcard .chips { margin-top: auto; padding-top: .4rem; }
.journey-foot { display: flex; align-items: center; gap: 1rem; margin-top: .5rem; }
.journey-bar { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.journey-fill { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--lime), var(--coral)); transform-origin: 0 50%; transform: scaleX(.2); }
.journey-hint { font-family: 'JetBrains Mono', monospace; font-size: .75rem; color: var(--dim); }
/* Pinned mode (desktop + GSAP) */
.journey.is-pinned { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.journey.is-pinned .journey-track { overflow: visible; scroll-snap-type: none; width: max-content; padding-right: 30vw; }
.journey.is-pinned .jcard { flex-basis: 400px; min-height: 380px; }
.journey.is-pinned .journey-hint { visibility: hidden; }

.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chips span {
  font-size: .74rem; font-weight: 600; color: var(--muted);
  padding: .3rem .65rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03);
}

/* ── Expertise tabs ── */
.xp { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .xp { grid-template-columns: 300px 1fr; gap: 2rem; } }
.xp-tabs {
  display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  margin: 0 -1rem; padding: 0 1rem .25rem;
}
.xp-tabs::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .xp-tabs { flex-direction: column; margin: 0; padding: 0; overflow: visible; } }
.xp-tab {
  position: relative; flex-shrink: 0; display: flex; align-items: center; gap: .8rem;
  padding: .85rem 1.1rem; border-radius: 14px; text-align: left;
  border: 1px solid var(--border); background: var(--card); color: var(--muted);
  font-weight: 700; font-size: .92rem;
  transition: color .25s, border-color .25s, background-color .25s;
}
.xp-tab:hover { color: var(--ink); border-color: var(--sand-line); }
.xp-tab.is-on { color: #111; background: var(--lime); border-color: var(--lime); }
.xp-num { font-family: 'JetBrains Mono', monospace; font-size: .72rem; opacity: .7; }
.xp-panels { position: relative; }
.xp-panel {
  padding: 1.8rem; border-radius: var(--r); background: var(--card); border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 1.4rem;
}
.xp-panel[hidden] { display: none; }
.xp-panel.anim-in { animation: panelIn .55s var(--ease) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.xp-for { font-family: 'JetBrains Mono', monospace; font-size: .76rem; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; }
.xp-flow { display: grid; gap: .8rem; align-items: stretch; }
@media (min-width: 640px) { .xp-flow { grid-template-columns: 1fr auto 1fr; } }
.xp-box { padding: 1.3rem; border-radius: 14px; font-size: 1.02rem; line-height: 1.55; }
.xp-lbl { display: block; margin-bottom: .5rem; font-family: 'JetBrains Mono', monospace; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.xp-problem { background: rgba(255,122,89,.07); border: 1px solid rgba(255,122,89,.22); color: var(--muted); }
.xp-problem .xp-lbl { color: var(--coral); }
.xp-fix { background: var(--sand-tint); border: 1px solid rgba(230,211,168,.25); color: var(--ink); }
.xp-fix .xp-lbl { color: var(--sand); }
.xp-arrow { display: grid; place-items: center; color: var(--sand); font-size: 1.4rem; }
.xp-arrow .ico { animation: nudge 1.6s ease-in-out infinite; }
@media (max-width: 639px) { .xp-arrow .ico { transform: rotate(90deg); animation: none; } }
@keyframes nudge { 50% { transform: translateX(5px); } }

/* ── Initiatives ── */
.ini-grid { display: grid; gap: 1rem; }
@media (min-width: 720px) { .ini-grid { grid-template-columns: repeat(2, 1fr); } }
.ini {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: .8rem;
  padding: 1.8rem; border-radius: var(--r);
  background: var(--card); border: 1px solid var(--border);
  transition: border-color .3s, transform .4s var(--ease);
  transform-style: preserve-3d;
}
.ini:hover { border-color: var(--sand-line); }
.ini-glow {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px circle at var(--mx) var(--my), rgba(230,211,168,.09), transparent 45%);
}
.ini:hover .ini-glow { opacity: 1; }
.ini-kicker { font-family: 'JetBrains Mono', monospace; font-size: .74rem; color: var(--coral); text-transform: uppercase; letter-spacing: .05em; }
.ini-title { font-size: clamp(1.5rem, 3.4vw, 2rem); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.ini-lead { color: var(--muted); font-size: .98rem; }
.ini-stats { display: flex; flex-wrap: wrap; gap: .4rem; }
.ini-stats span { font-size: .78rem; font-weight: 700; padding: .35rem .7rem; border-radius: 8px; background: rgba(230,211,168,.1); color: var(--sand); }
.ini-more { border-top: 1px solid var(--border); padding-top: .8rem; margin-top: auto; }
.ini-more summary {
  cursor: pointer; list-style: none; font-size: .86rem; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between;
}
.ini-more summary::-webkit-details-marker { display: none; }
.ini-more summary::after { content: '+'; font-size: 1.2rem; color: var(--sand); transition: transform .3s var(--ease); }
.ini-more[open] summary::after { transform: rotate(45deg); }
.ini-more p { margin-top: .6rem; font-size: .9rem; color: var(--muted); animation: panelIn .4s var(--ease) both; }
.ini-link { align-self: flex-start; font-size: .88rem; font-weight: 700; color: var(--sand); border-bottom: 1px solid transparent; transition: border-color .2s; }
.ini-link:hover { border-color: var(--sand); }

/* ── Mentor row ── */
.mentor-row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .mentor-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .mentor-row { grid-template-columns: repeat(4, 1fr); } }
.mcard {
  display: flex; flex-direction: column; gap: .5rem;
  padding: 1.5rem; border-radius: var(--r); background: var(--card); border: 1px solid var(--border);
  transition: transform .35s var(--ease), border-color .3s;
}
.mcard:hover { border-color: var(--sand-line); }
.m-ico { font-size: 1.35rem; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--sand-tint); color: var(--sand); margin-bottom: .3rem; }
.m-meta { font-family: 'JetBrains Mono', monospace; font-size: .72rem; color: var(--dim); }
.m-title { font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.m-txt { font-size: .88rem; color: var(--muted); }
.m-link { margin-top: auto; padding-top: .4rem; font-size: .84rem; font-weight: 700; color: var(--sand); border-bottom: 1px solid transparent; align-self: flex-start; transition: border-color .2s; }
.m-link:hover { border-color: var(--sand); }

/* ── Toptal spotlight ── */
.toptal {
  display: grid; gap: 2rem; padding: 2rem; border-radius: 24px;
  background: linear-gradient(140deg, var(--sand-bg) 0%, var(--card) 55%, #1f1915 100%);
  border: 1px solid rgba(230,211,168,.16);
}
@media (min-width: 900px) { .toptal { grid-template-columns: 1fr 1fr; padding: 3rem; align-items: center; } }
.tt-big { font-size: clamp(4.5rem, 14vw, 8rem); font-weight: 800; line-height: .9; letter-spacing: -.05em; color: var(--sand); }
.tt-lbl { margin-top: .8rem; color: var(--muted); }
.tt-badge-line { display: inline-block; margin-top: 1rem; padding: .4rem .8rem; border-radius: 999px; font-size: .78rem; font-weight: 700; border: 1px solid rgba(230,211,168,.3); color: var(--sand); }
.tt-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 1.8rem; }
.tt-stats div { padding: 1rem .8rem; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--border); }
.tt-stats b { display: block; font-family: 'Bricolage Grotesque', sans-serif; font-size: 1.8rem; line-height: 1; font-variant-numeric: tabular-nums; }
.tt-stats sup { font-size: .55em; }
.tt-stats div > span { display: block; margin-top: .35rem; font-size: .74rem; color: var(--muted); line-height: 1.3; }
.tt-right { margin: 0; }
.tt-img { border-radius: 18px; overflow: hidden; aspect-ratio: 960 / 595; -webkit-mask-image: -webkit-radial-gradient(white, black); }
.tt-img img { width: 100%; height: 115%; object-fit: cover; }
.tt-right figcaption { margin-top: .7rem; font-size: .8rem; color: var(--dim); }

.tt-official { margin-top: 1.8rem; }
.ttb-h { display: inline-block; background: #25a9ef; padding: 6px; clip-path: polygon(50% 0, 100% 24%, 100% 76%, 50% 100%, 0 76%, 0 24%); -webkit-clip-path: polygon(50% 0, 100% 24%, 100% 76%, 50% 100%, 0 76%, 0 24%); transition: transform .4s var(--ease); }
.ttb-h:hover { transform: rotate(-3deg) scale(1.03); }
.ttb-a {
  width: 150px; padding: 20px 0 30px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: #204ecf; text-align: center; font-family: Arial, sans-serif;
  background: radial-gradient(circle at 20% -10%, #00c3ff -80%, #fff 30%), radial-gradient(circle at -20% 20%, #00c3ff -80%, #fff 30%), radial-gradient(circle at 70% 100%, #00c3ff -80%, #fff 30%), radial-gradient(circle at 120% 80%, #00c3ff -80%, #fff 30%);
  background-blend-mode: multiply;
  clip-path: polygon(50% 0, 100% 24%, 100% 76%, 50% 100%, 0 76%, 0 24%);
  -webkit-clip-path: polygon(50% 0, 100% 24%, 100% 76%, 50% 100%, 0 76%, 0 24%);
}
.ttb-b { font-size: 14px; font-weight: 700; line-height: 1; }
.ttb-c { width: 90px; height: 1px; background: #25a9ef; }
.ttb-d { font-size: 12px; margin-bottom: -4px; }
.ttb-f { display: inline-flex; padding: 3px 16px; border-radius: 5px; background: #296bff; color: #fff; font-size: 13px; font-weight: 600; }

/* ── Testimonials ── */
.quotes { position: relative; padding: 2rem 1.5rem; border-radius: 24px; background: var(--card); border: 1px solid var(--border); overflow: hidden; }
@media (min-width: 900px) { .quotes { padding: 3.5rem 4rem; } }
.quotes::before {
  content: '\201C'; position: absolute; top: -2.5rem; right: 1.5rem;
  font-family: 'Bricolage Grotesque', Georgia, serif; font-size: 14rem; line-height: 1; color: rgba(230,211,168,.08); pointer-events: none;
}
.q-stage { display: grid; }
.q-slide {
  grid-area: 1 / 1; margin: 0;
  opacity: 0; visibility: hidden; transform: translateX(30px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), visibility .6s;
}
.q-slide.is-on { opacity: 1; visibility: visible; transform: none; }
.q-slide.is-prev { transform: translateX(-30px); }
.q-slide blockquote {
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 500;
  font-size: clamp(1.2rem, 3vw, 1.9rem); line-height: 1.35; letter-spacing: -.01em; max-width: 46ch;
}
.q-slide figcaption { display: flex; align-items: center; gap: .9rem; margin-top: 1.8rem; }
.q-av { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-weight: 800; font-size: .9rem; color: #111; background: linear-gradient(135deg, var(--sand), var(--coral)); }
.q-slide figcaption b { display: block; }
.q-slide figcaption small { display: block; font-size: .82rem; color: var(--muted); }
.q-controls { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }
.q-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.14); transition: border-color .2s, color .2s, background-color .2s; }
.q-btn:hover { border-color: var(--sand-line); color: var(--sand); background: var(--sand-tint); }
.q-dots { display: flex; gap: .4rem; flex: 1; }
.q-dot { position: relative; flex: 1; max-width: 60px; height: 24px; }
.q-dot::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; background: rgba(255,255,255,.12); }
.q-dot::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; background: var(--lime); transform: scaleX(0); transform-origin: 0 50%; }
.q-dot.is-on::after { transform: scaleX(1); transition: transform var(--q-dur, 7s) linear; }
.quotes.is-paused .q-dot.is-on::after, .quotes.no-auto .q-dot.is-on::after { transition: none; transform: scaleX(1); }

/* ── Credentials ── */
.creds { display: grid; gap: 1rem; }
@media (min-width: 720px) { .creds { grid-template-columns: 1fr 1fr; } .cert-cloud { grid-column: 1 / -1; } }
.edu { display: flex; align-items: center; gap: 1rem; padding: 1.3rem; border-radius: var(--r); background: var(--card); border: 1px solid var(--border); transition: border-color .3s; }
.edu:hover { border-color: var(--sand-line); }
.edu-ico { width: 56px; height: 56px; flex-shrink: 0; display: grid; place-items: center; border-radius: 14px; background: var(--sand-tint); border: 1px solid rgba(230,211,168,.2); color: var(--sand); font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 1.1rem; }
.edu b { display: block; font-size: 1.05rem; }
.edu span { font-size: .88rem; color: var(--muted); }
.cert-cloud { display: flex; flex-wrap: wrap; gap: .6rem; }
.cert-cloud li {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1rem; border-radius: 999px; background: var(--card); border: 1px solid var(--border);
  font-size: .86rem; font-weight: 600;
}
.cert-cloud small { color: var(--dim); font-weight: 500; }
.cert-cloud .ico { color: var(--emerald); }

/* ── Beliefs (scroll-scrubbed words) ── */
.beliefs { display: grid; gap: 2.5rem; }
.belief {
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 600;
  font-size: clamp(1.6rem, 4.6vw, 3.2rem); line-height: 1.15; letter-spacing: -.025em;
  max-width: 24ch; color: var(--ink);
}
.belief em { font-style: normal; color: var(--sand); }
.belief:nth-child(2) { margin-left: auto; text-align: right; }
.belief:nth-child(2) em { color: var(--coral); }
.belief .w { display: inline; }
.js .beliefs.is-scrub .w { opacity: .16; }

/* ── Writing ── */
.posts { display: grid; gap: 1rem; }
@media (min-width: 900px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.post {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--r); background: var(--card); border: 1px solid var(--border);
  transition: border-color .3s, transform .4s var(--ease);
  overflow: hidden;
}
.post::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px circle at var(--mx) var(--my), rgba(230,211,168,.09), transparent 45%);
}
.post:hover { border-color: var(--sand-line); }
.post:hover::before { opacity: 1; }
.post-link { display: flex; flex-direction: column; gap: .8rem; padding: 1.6rem 1.6rem 1rem; flex: 1; position: relative; }
.post-meta { display: flex; justify-content: space-between; gap: 1rem; font-size: .78rem; color: var(--dim); }
.post-tag { color: var(--coral); font-weight: 700; }
.post-title { font-size: 1.3rem; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.post-ex { font-size: .9rem; color: var(--muted); }
.post-read { margin-top: auto; padding-top: .4rem; display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 700; color: var(--sand); }
.post-read .ico { transition: transform .3s var(--ease); }
.post:hover .post-read .ico { transform: translateX(4px); }
.post-share { display: flex; gap: .4rem; padding: 0 1.6rem 1.4rem; position: relative; }
.share-btn {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  border: 1px solid var(--border); color: var(--muted); font-size: .9rem; transition: color .2s, border-color .2s, background-color .2s;
}
.share-btn:hover { color: var(--sand); border-color: var(--sand-line); background: var(--sand-tint); }
.share-btn.copied { color: var(--emerald); border-color: var(--emerald); }
.sec-head-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.guide-strip {
  display: grid; gap: 1.4rem; align-items: center; margin-top: 1rem; padding: 1rem;
  border-radius: var(--r); background: var(--card); border: 1px solid var(--border);
  transition: border-color .3s;
}
@media (min-width: 720px) { .guide-strip { grid-template-columns: minmax(220px, 340px) 1fr; padding: 1rem 1.6rem 1rem 1rem; } }
.guide-strip:hover { border-color: var(--sand-line); }
.guide-strip img { width: 100%; height: auto; border-radius: calc(var(--r) - 6px); }
.guide-strip-copy { display: flex; flex-direction: column; gap: .6rem; }
.guide-strip-copy .post-tag { font-size: .78rem; }
.guide-strip:hover .post-read .ico { transform: translateX(4px); }

/* ── Contact ── */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.05fr .95fr; align-items: start; gap: 4rem; } }
.cta-big { font-size: clamp(2.6rem, 8vw, 5.4rem); font-weight: 800; line-height: 1; letter-spacing: -.035em; }
.email-row { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: 2rem; }
.email-link {
  font-family: 'Bricolage Grotesque', sans-serif; font-size: clamp(1.15rem, 4vw, 1.6rem); font-weight: 600;
  background: linear-gradient(var(--sand), var(--sand)) 0 100% / 0 2px no-repeat;
  transition: background-size .4s var(--ease), color .2s; padding-bottom: 2px; word-break: break-all;
}
.email-link:hover { background-size: 100% 2px; color: var(--sand); }
.copy-email { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .8rem; border-radius: 999px; border: 1px solid var(--border); font-size: .8rem; font-weight: 700; color: var(--muted); transition: color .2s, border-color .2s, background-color .2s; }
.copy-email:hover { color: var(--sand); border-color: var(--sand-line); background: var(--sand-tint); }
.copy-email.copied { color: var(--emerald); border-color: var(--emerald); }
.socials { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.soc { display: inline-flex; align-items: center; gap: .5rem; padding: .65rem 1rem; border-radius: 12px; border: 1px solid var(--border); background: var(--card); font-size: .88rem; font-weight: 600; transition: border-color .25s, background-color .25s, color .25s; }
.soc:hover { border-color: var(--sand-line); color: var(--sand); background: var(--sand-tint); }

.form-box { padding: 1.6rem; border-radius: 24px; background: var(--card); border: 1px solid var(--border); }
@media (min-width: 640px) { .form-box { padding: 2.2rem; } }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.fg { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.1rem; border: 0; min-width: 0; }
.fg label, .fg legend { font-size: .8rem; font-weight: 700; color: var(--muted); }
.fg legend { margin-bottom: .45rem; padding: 0; }
.fg input[type="text"], .fg input[type="email"], .fg textarea {
  width: 100%; padding: .85rem 1rem; border-radius: 12px;
  background: var(--bg2); border: 1px solid rgba(255,255,255,.1); color: var(--ink);
  font: inherit; font-size: 16px; /* 16px prevents iOS zoom on focus */
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.fg textarea { min-height: 130px; resize: vertical; }
.fg input::placeholder, .fg textarea::placeholder { color: var(--dim); }
.fg input:focus, .fg textarea:focus { outline: none; border-color: var(--sand); box-shadow: 0 0 0 3px var(--sand-tint); }
.fg .is-invalid { border-color: var(--coral) !important; }
.type-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.type-chips label { position: relative; cursor: pointer; }
.type-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.type-chips span { display: inline-block; padding: .5rem .85rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.12); font-size: .82rem; font-weight: 600; color: var(--muted); transition: all .2s; }
.type-chips label:hover span { border-color: var(--sand-line); color: var(--ink); }
.type-chips input:checked + span { background: var(--lime); border-color: var(--lime); color: #111; }
.type-chips input:focus-visible + span { outline: 2px solid var(--sand); outline-offset: 2px; }
.f-error { min-height: 1.2em; margin-bottom: .6rem; font-size: .84rem; color: var(--coral); }
.f-success { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .4rem; padding: 3rem 1rem; }
.f-success[hidden] { display: none; }
.f-success b { font-size: 1.3rem; }
.f-success span { color: var(--muted); }
.fs-check { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: #111; font-size: 1.8rem; margin-bottom: .6rem; animation: pop .6s var(--ease) both; }
@keyframes pop { from { transform: scale(0); } 60% { transform: scale(1.15); } to { transform: scale(1); } }

/* ── Footer ── */
.footer { position: relative; z-index: 1; padding: 4rem 0 max(2rem, env(safe-area-inset-bottom)); border-top: 1px solid var(--border); overflow: hidden; }
.foot-big {
  font-size: clamp(4rem, 19vw, 15rem); font-weight: 800; line-height: .85; letter-spacing: -.06em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(244,241,234,.14);
  margin-bottom: 2.5rem; user-select: none;
}
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; font-size: .84rem; color: var(--dim); }
.foot-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.foot-links a, .to-top { color: var(--muted); transition: color .2s; }
.foot-links a:hover, .to-top:hover { color: var(--sand); }

/* ── Reveal (progressive enhancement: only hidden when JS runs) ── */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-hero] { opacity: 0; transform: translateY(20px); }
.js .hero.ready [data-hero] { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .hero.ready [data-hero]:nth-of-type(2) { transition-delay: .1s; }
.js .hn-word .ch { transform: translateY(110%); }
.js .hero.ready .hn-word .ch { transform: none; transition: transform 1s var(--ease); }

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  .js [data-reveal], .js [data-hero], .js .hn-word .ch { opacity: 1 !important; transform: none !important; }
  .mq-track { animation: none; }
  .marquee { overflow-x: auto; }
  .js .beliefs.is-scrub .w { opacity: 1; }
}

/* ── Small phones ── */
@media (max-width: 380px) {
  .hero-name { font-size: 3.6rem; }
  .terminal { font-size: .68rem; margin-left: 0; margin-right: 0; }
  .tt-stats { grid-template-columns: 1fr; }
  .float-chip { font-size: .7rem; }
}
