/* ============================================================
   akshitraja.com — premium dark, lobster accent
   ============================================================ */

:root {
  --bg: #0a0a0c;
  --bg-raised: #111114;
  --bg-card: #131318;
  --ink: #f5f4f2;
  --ink-dim: #a8a7a3;
  --muted: #6e6d69;
  --line: #232328;
  --accent: #ff4f30;
  --accent-soft: #ff6a4d;
  --accent-glow: rgba(255, 79, 48, 0.35);
  --ok: #3ddc84;
  --font-sans: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --max: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* grain overlay for depth */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--accent); color: #fff; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-style: normal; }

.mono { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.02em; }
.accent { color: var(--accent); }
.link-accent {
  color: var(--accent);
  border-bottom: 1px solid var(--accent-glow);
  transition: border-color 0.2s;
}
.link-accent:hover { border-color: var(--accent); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

/* ============ type scale ============ */
h1 {
  font-size: clamp(2.3rem, 6vw, 4.1rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

/* masked line reveal (hero) */
h1 .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
h1 .line-inner { display: inline-block; }
html.js h1 .line-inner {
  transform: translateY(115%);
  animation: lineUp 1s var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 0.09s);
}
@keyframes lineUp { to { transform: none; } }
h2 {
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.eyebrow {
  color: var(--accent);
  text-transform: lowercase;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ============ buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease-out), background 0.18s, border-color 0.18s, box-shadow 0.18s;
  min-height: 48px;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 0 var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-soft);
  box-shadow: 0 8px 32px -8px var(--accent-glow);
  transform: translateY(-1px);
}
.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--ink-dim); background: var(--bg-raised); }
.btn-sm { padding: 0.5rem 1.15rem; font-size: 0.9rem; min-height: 40px; }

/* ============ nav ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 10, 12, 0.65);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav {
  transform: translateY(0);
  transition: transform 0.45s var(--ease-out), border-color 0.3s;
}
.nav.hidden { transform: translateY(-100%); }
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-right: auto;
}
.nav-mark { display: block; }
.nav-links {
  display: flex;
  gap: 1.8rem;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-dim);
  transition: color 0.2s;
  padding: 0.4rem 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }

/* ============ hero — split poster ============ */
.hero {
  display: grid;
  grid-template-columns: 58fr 42fr;
  min-height: 100svh;
}
.hero-left {
  background: var(--accent);
  color: #0c0c0e;
  display: flex;
  flex-direction: column;
  padding: 5.4rem clamp(1.25rem, 3.5vw, 3.2rem) 1.6rem;
  position: relative;
  overflow: hidden;
}
.hero-blurb {
  align-self: flex-end;
  text-align: left;
  max-width: 17rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  margin: 1.2rem 0 0.6rem;
}
.hero-name {
  font-family: "Anton", var(--font-sans);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.85;
  letter-spacing: 0.01em;
  color: #0c0c0e;
  margin-top: 0.4rem;
}
.hero-name .n1 { font-size: clamp(4.2rem, 15.2vw, 15rem); }
.hero-name .n2 { font-size: clamp(5rem, 18.6vw, 18.5rem); }
.hero-name em { color: #0c0c0e; }
.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 2.2rem;
}
.btn-dark {
  background: #0c0c0e;
  color: var(--ink);
}
.btn-dark:hover { background: #1d1d22; transform: translateY(-1px); }
.btn-dark-ghost {
  border-color: rgba(12, 12, 14, 0.45);
  color: #0c0c0e;
  background: transparent;
}
.btn-dark-ghost:hover { border-color: #0c0c0e; background: rgba(12, 12, 14, 0.06); }
.hero-meta {
  margin-top: auto;
  padding-top: 2.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 1.6rem;
  flex-wrap: wrap;
  color: rgba(12, 12, 14, 0.82);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 500;
}
.hero-meta-status { display: inline-flex; align-items: center; gap: 0.45rem; }
.status-dot--dark {
  background: #0c0c0e;
  animation: pulseDark 2.2s infinite;
}
@keyframes pulseDark {
  0%, 100% { box-shadow: 0 0 0 0 rgba(12, 12, 14, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(12, 12, 14, 0); }
}
.hero-right {
  position: relative;
  overflow: hidden;
}
.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 18%;
  will-change: transform;
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ok);
  display: inline-block;
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(61, 220, 132, 0); }
}
/* nav over the coral panel (top of page, not yet scrolled) */
.nav:not(.scrolled) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav:not(.scrolled) .nav-name { color: #0c0c0e; }
.nav:not(.scrolled) .nav-mark { box-shadow: 0 0 0 1.5px rgba(12, 12, 14, 0.85); border-radius: 7px; }
.nav:not(.scrolled) .nav-cta { background: #0c0c0e; color: var(--ink); }
.nav:not(.scrolled) .nav-cta:hover { background: #1d1d22; box-shadow: none; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.hero-stats strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.hero-stats span {
  color: var(--muted);
  font-size: 0.85rem;
}

/* ============ logo strip ============ */
.logos {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
  text-align: center;
}
.logos-label {
  color: var(--muted);
  text-transform: lowercase;
  margin-bottom: 2rem;
}
/* infinite marquee */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  padding-right: 4rem;
  animation: marquee 28s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-word {
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
  color: var(--muted);
  transition: color 0.25s;
  cursor: default;
  white-space: nowrap;
}
.logo-word:hover { color: var(--ink); }
.logo-phot:hover { color: var(--accent); }
.logo-adidas { font-weight: 800; letter-spacing: 0.04em; text-transform: lowercase; }
.logo-ixigo { font-weight: 600; letter-spacing: 0.02em; }
.logo-ff { font-weight: 500; font-size: 1.1rem; letter-spacing: 0.06em; text-transform: uppercase; }
.logo-veda { font-weight: 500; font-style: italic; }
.logos-edu {
  margin-top: 2.6rem;
  color: var(--muted);
}

/* ============ sections ============ */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 6rem 1.5rem;
}
.section-head { margin-bottom: 3.2rem; max-width: 44rem; }
.section-sub {
  color: var(--ink-dim);
  margin-top: 1.2rem;
  font-size: 1.05rem;
}

/* ============ about ============ */
.about-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 4rem;
  align-items: start;
}
.about-text p {
  color: var(--ink-dim);
  margin-bottom: 1.4rem;
  font-size: 1.06rem;
}
.about-text strong { color: var(--ink); font-weight: 600; }
.about-photos {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: sticky;
  top: 6rem;
}
.photo-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease-out);
}
.photo-card img { filter: saturate(0.92); }
.photo-card figcaption {
  padding: 0.7rem 1rem;
  color: var(--muted);
}
.tilt-l { transform: rotate(-1.2deg); }
.tilt-r { transform: rotate(1.1deg); }
.tilt-l:hover, .tilt-r:hover { transform: rotate(0deg) scale(1.01); }

/* ============ build / terminal ============ */
.build-grid {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: 3.5rem;
  align-items: center;
}
.terminal {
  background: #0d0d10;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 64px -24px rgba(0, 0, 0, 0.8), 0 0 80px -40px var(--accent-glow);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1rem;
  background: #16161a;
  border-bottom: 1px solid var(--line);
}
.t-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #2e2e34;
}
.t-dot:first-child { background: var(--accent); }
.terminal-title {
  margin-left: 0.6rem;
  color: var(--muted);
}
.terminal-body {
  padding: 1.3rem 1.2rem 1.5rem;
  font-size: 0.82rem;
  line-height: 2;
  color: var(--ink-dim);
}
.terminal-body p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-prompt { color: var(--accent); }
.t-ok { color: var(--ok); }
.t-log { color: var(--muted); }
.t-cursor {
  display: inline-block;
  width: 8px; height: 15px;
  background: var(--accent);
  vertical-align: middle;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* typed-in lines */
html.js .terminal-body p {
  opacity: 0;
  transform: translateY(4px);
}
.terminal.typed p {
  animation: lineIn 0.3s var(--ease-out) forwards;
}
.terminal.typed p:nth-child(1) { animation-delay: 0.1s; }
.terminal.typed p:nth-child(2) { animation-delay: 0.5s; }
.terminal.typed p:nth-child(3) { animation-delay: 0.9s; }
.terminal.typed p:nth-child(4) { animation-delay: 1.25s; }
.terminal.typed p:nth-child(5) { animation-delay: 1.6s; }
.terminal.typed p:nth-child(6) { animation-delay: 1.95s; }
.terminal.typed p:nth-child(7) { animation-delay: 2.4s; }
@keyframes lineIn { to { opacity: 1; transform: none; } }

.build-points {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.build-points li {
  padding-left: 1.2rem;
  border-left: 2px solid var(--line);
  transition: border-color 0.3s;
}
.build-points li:hover { border-left-color: var(--accent); }
.build-points strong {
  display: block;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.build-points span { color: var(--muted); font-size: 0.95rem; }

/* ============ newsletter ============ */
.newsletter { padding-top: 2rem; }
.newsletter-card {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255, 79, 48, 0.12), transparent 55%),
    var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(2.2rem, 5vw, 4rem);
  text-align: center;
}
.newsletter-card .eyebrow { justify-content: center; }
.newsletter-sub {
  color: var(--ink-dim);
  max-width: 33rem;
  margin: 1.2rem auto 2.2rem;
}
.subscribe-form {
  display: flex;
  gap: 0.6rem;
  max-width: 30rem;
  margin: 0 auto;
}
.subscribe-form input {
  flex: 1;
  min-width: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 0.85rem 1.4rem;
  min-height: 48px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.subscribe-form input::placeholder { color: var(--muted); }
.subscribe-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.subscribe-form input.error { border-color: #ff3b30; }
.form-note {
  color: var(--muted);
  margin-top: 1rem;
}
.form-note.success { color: var(--ok); }

/* ============ follow ============ */
.follow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.follow-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.8rem 1.6rem;
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}
.follow-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-glow);
  box-shadow: 0 20px 48px -20px rgba(0, 0, 0, 0.7);
}
.follow-card svg { color: var(--ink-dim); margin-bottom: 0.6rem; transition: color 0.3s; }
.follow-card:hover svg { color: var(--accent); }
.follow-card strong { font-size: 1.15rem; font-weight: 700; }
.follow-card .mono { color: var(--muted); }
.follow-cta {
  margin-top: 0.9rem;
  font-size: 0.92rem;
  color: var(--ink-dim);
}
.follow-card:hover .follow-cta { color: var(--ink); }

/* ============ kinetic text strips ============ */
.kinetic {
  padding: 5rem 0 2rem;
  overflow: hidden;
}
.k-row {
  white-space: nowrap;
  font-family: "Anton", var(--font-sans);
  font-size: clamp(2.6rem, 7vw, 6rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.18;
  color: var(--ink);
  will-change: transform;
}
.k-row span { display: inline-block; }
.k-row--outline {
  color: transparent;
  -webkit-text-stroke: 1px var(--muted);
}

/* ============ endurance — pinned horizontal gallery ============ */
.endurance { overflow: hidden; }
.end-pin {
  padding: 6rem 0 4rem;
}
.endurance .section-head {
  max-width: var(--max);
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
}
.end-hint { color: var(--muted); margin-top: 1.4rem; }
.end-track {
  display: flex;
  align-items: stretch;
  gap: 1.4rem;
  width: max-content;
  padding: 0 max(1.5rem, calc((100vw - var(--max)) / 2));
  will-change: transform;
}
.end-track figure {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  height: min(60vh, 560px);
}
.end-track img {
  height: 100%;
  width: auto;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.03);
}
.end-track figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.2rem 1.1rem 0.9rem;
  background: linear-gradient(to top, rgba(10,10,12,0.85), transparent);
  color: var(--ink-dim);
}
.end-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.1rem;
  min-width: 320px;
  padding: 2.4rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(255, 79, 48, 0.1), transparent 60%),
    var(--bg-card);
}
.end-card .mono { color: var(--accent); }
.end-card strong {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.end-card .btn { align-self: flex-start; }

/* ============ recognition ============ */
.recognition { text-align: center; padding-top: 0; }
.badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}
.badge-row li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1.5rem;
  background: var(--bg-raised);
  transition: border-color 0.25s, transform 0.25s var(--ease-out);
}
.badge-row li:hover { border-color: var(--accent-glow); transform: translateY(-2px); }
.badge-row strong { font-size: 0.98rem; font-weight: 700; }
.badge-row span { font-size: 0.8rem; color: var(--muted); }

/* ============ footer — cinematic bookend ============ */
.footer {
  position: relative;
  margin-top: 3rem;
  overflow: hidden;
}
.footer-media {
  position: absolute;
  inset: 0;
}
.footer-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}
.footer-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--bg) 0%, rgba(10,10,12,0.78) 30%, rgba(10,10,12,0.72) 100%);
}
.footer-inner {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 5rem 1.5rem 2rem;
}
.footer-name {
  font-family: "Anton", var(--font-sans);
  font-size: clamp(3.4rem, 11vw, 10.5rem);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin-top: 4.5rem;
  text-align: left;
}
.footer-name em { color: var(--accent); }
.footer-bio {
  color: var(--ink-dim);
  max-width: 36rem;
  font-size: 0.98rem;
  margin-bottom: 1.8rem;
}
.subscribe-form--footer { margin: 0; max-width: 26rem; }
.footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.8rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}
.footer-socials { display: flex; gap: 1.6rem; }
.footer-socials a {
  font-size: 0.92rem;
  color: var(--ink-dim);
  transition: color 0.2s;
}
.footer-socials a:hover { color: var(--accent); }
.footer-copy { color: var(--muted); }

/* ============ scroll animations ============ */
/* reveal styles only apply when JS is running (html.js) so the site
   stays fully readable with JS disabled */
html.js .anim {
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.9s var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 0.12s);
}
@keyframes rise { to { opacity: 1; transform: none; } }

html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 0.08s);
}
html.js .reveal.in-view {
  opacity: 1;
  transform: none;
}

/* ============ scroll thread (vertical progress) ============ */
.scroll-thread {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 12px;
  width: 2px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 99;
  pointer-events: none;
}
.scroll-thread-fill {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent-soft), var(--accent));
  transform: scaleY(0);
  transform-origin: top;
}
.scroll-thread-dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px 2px var(--accent-glow);
  transform: translate(-50%, -50%);
}
@media (max-width: 640px) {
  .scroll-thread { right: 6px; }
  .scroll-thread-dot { width: 7px; height: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-thread-dot { box-shadow: none; }
}

/* ============ custom cursor (fine pointers only) ============ */
.cursor { display: none; }
@media (pointer: fine) {
  .cursor { display: block; }
  .cursor-dot, .cursor-ring {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 1000;
    border-radius: 50%;
    transform: translate(-100px, -100px);
  }
  .cursor-dot {
    width: 6px; height: 6px;
    background: var(--accent);
  }
  .cursor-ring {
    width: 34px; height: 34px;
    border: 1px solid rgba(255, 79, 48, 0.5);
    transition: width 0.25s, height 0.25s, border-color 0.25s;
  }
  .cursor-ring.hovering {
    width: 56px; height: 56px;
    border-color: rgba(255, 79, 48, 0.9);
  }
}

/* word scrub (about heading) */
.scrub-words .w { display: inline-block; }

/* statement typography + pill word */
.statement-type {
  font-size: clamp(2.2rem, 5.2vw, 4.2rem);
}
.pill-word {
  display: inline-block;
  background: var(--accent);
  color: #0a0a0c;
  border-radius: 999px;
  padding: 0 0.45em 0.06em;
  line-height: 1.18;
  transform: rotate(-2deg);
}

/* ============ reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .anim, .reveal, .terminal-body p, h1 .line-inner {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
  .status-dot, .t-cursor, .marquee-track { animation: none; }
  .marquee-track { flex-wrap: wrap; justify-content: center; width: auto; }
  [data-parallax] { transform: none !important; }
  .cursor { display: none !important; }
}

/* ============ responsive ============ */
@media (max-width: 920px) {
  /* horizontal gallery falls back to a vertical stack (no pin on touch) */
  .end-track {
    flex-direction: column;
    width: auto;
    padding: 0 1.5rem;
  }
  .end-track figure { height: auto; }
  .end-track img { width: 100%; height: auto; }
  .end-card { min-width: 0; }
  .end-hint { display: none; }

  /* split hero stacks: coral poster panel on top, photo below */
  .hero { grid-template-columns: 1fr; }
  .hero-left { min-height: auto; padding-top: 5.2rem; }
  .hero-blurb { align-self: flex-start; margin-top: 0.6rem; }
  .hero-name .n1 { font-size: clamp(4.6rem, 24vw, 9rem); }
  .hero-name .n2 { font-size: clamp(5.4rem, 28.5vw, 10.5rem); }
  .hero-meta { margin-top: 2.4rem; }
  .hero-right { height: 58svh; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-photos { position: static; flex-direction: row; }
  .about-photos figure { flex: 1; }
  .build-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .follow-grid { grid-template-columns: 1fr; }
  .bp-desktop { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1rem; }
  .about-photos { flex-direction: column; }
  .subscribe-form { flex-direction: column; }
  .subscribe-form .btn { width: 100%; }
  .section { padding: 4.5rem 1.25rem; }
  .footer-meta { flex-direction: column; align-items: flex-start; }
  .terminal-body { font-size: 0.68rem; }
}
