/* ============================================
   NIKHIL RAJPUT — PORTFOLIO v07
   Liquid glass + brutalism + sunset gradients
   ============================================ */

:root {
  --bg: #0A0908;
  --bg-2: #15110E;
  --ink: #F4EFE6;
  --ink-2: #BFB6A8;
  --ink-3: #6E665B;
  --rule: rgba(244, 239, 230, 0.10);
  --rule-strong: rgba(244, 239, 230, 0.22);

  --ember: #FF5E1A;
  --pink:  #FF2E93;
  --violet:#7B2CFF;
  --acid:  #D7FF3A;

  --grad-sunset: linear-gradient(120deg, #FF5E1A 0%, #FF2E93 48%, #7B2CFF 100%);

  /* glass */
  --glass-bg: rgba(244, 239, 230, 0.04);
  --glass-bg-strong: rgba(244, 239, 230, 0.07);
  --glass-border: rgba(244, 239, 230, 0.10);
  --glass-blur: 28px;
  --glass-sat: 140%;

  --col-gap: 28px;
  --col: minmax(0, 1fr);

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans:  "Inter Tight", system-ui, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-feature-settings: "ss01", "ss02", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body { overflow-x: hidden; cursor: none; }
@media (max-width: 760px) { body { cursor: auto; } }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: none; background: none; border: 0; }
img { display: block; max-width: 100%; }
::selection { background: var(--ember); color: var(--bg); }

/* ============ LIQUID GLASS ============ */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  border: 1px solid var(--glass-border);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 24px 60px rgba(0, 0, 0, 0.35);
}

.glass-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 24px 60px rgba(0, 0, 0, 0.35);
  transition: background .35s ease, border-color .35s ease, transform .4s cubic-bezier(.6,.05,.2,1);
}
.glass-card.sm { border-radius: 14px; }
.glass-card::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%),
                              rgba(255, 94, 26, 0.10), transparent 60%);
  opacity: 0;
  transition: opacity .4s ease;
}
.glass-card:hover {
  background: var(--glass-bg-strong);
  border-color: rgba(244, 239, 230, 0.18);
}
.glass-card:hover::before { opacity: 1; }

/* ============ AMBIENT BLOBS ============ */
.ambient-blobs {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.ab {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.55;
  mix-blend-mode: screen;
  will-change: transform;
}
.ab.b1 { width: 720px; height: 720px; left: -180px; top: -120px;
         background: radial-gradient(circle, var(--ember), transparent 65%);
         animation: drift1 26s ease-in-out infinite alternate; }
.ab.b2 { width: 640px; height: 640px; right: -160px; top: 120px;
         background: radial-gradient(circle, var(--pink), transparent 65%);
         animation: drift2 32s ease-in-out infinite alternate; }
.ab.b3 { width: 800px; height: 800px; left: 30%; top: 60%;
         background: radial-gradient(circle, var(--violet), transparent 65%);
         animation: drift3 38s ease-in-out infinite alternate; }
.ab.b4 { width: 520px; height: 520px; right: 10%; bottom: -120px;
         background: radial-gradient(circle, var(--ember), transparent 70%);
         animation: drift4 30s ease-in-out infinite alternate; }
@keyframes drift1 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(120px, 80px) scale(1.1); }
  100% { transform: translate(60px, 200px) scale(.95); }
}
@keyframes drift2 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-140px, 200px) scale(1.15); }
  100% { transform: translate(-60px, 80px) scale(.92); }
}
@keyframes drift3 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-180px, -160px) scale(.9); }
  100% { transform: translate(140px, -80px) scale(1.1); }
}
@keyframes drift4 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-100px, -240px) scale(1.05); }
  100% { transform: translate(60px, -100px) scale(.95); }
}

/* ============ GRAIN ============ */
.grain {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9000;
  opacity: 0.12; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.96 0 0 0 0 0.94 0 0 0 0 0.9 0 0 0 0.8 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
  animation: grainShift 1.6s steps(6) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0,0) }
  16%  { transform: translate(-6px,4px) }
  33%  { transform: translate(8px,-2px) }
  50%  { transform: translate(-2px,8px) }
  66%  { transform: translate(6px,6px) }
  83%  { transform: translate(-8px,-6px) }
  100% { transform: translate(0,0) }
}

/* ============ CURSOR ============ */
.cursor-blob {
  position: fixed; pointer-events: none; z-index: 8500;
  width: 460px; height: 460px;
  margin: -230px 0 0 -230px;
  border-radius: 50%;
  background: var(--grad-sunset);
  filter: blur(80px); opacity: 0.4;
  mix-blend-mode: screen;
  will-change: transform;
}
.cursor-dot {
  position: fixed; pointer-events: none; z-index: 9500;
  width: 10px; height: 10px;
  margin: -5px 0 0 -5px; border-radius: 50%;
  background: var(--ink);
  mix-blend-mode: difference;
  transition: width .2s, height .2s, margin .2s;
}
.cursor-dot.hot {
  width: 56px; height: 56px; margin: -28px 0 0 -28px;
  background: var(--ember); mix-blend-mode: normal;
}

/* ============ LAYOUT ============ */
.shell {
  position: relative; z-index: 2;
  min-height: 100vh;
  padding: 0 40px;
  max-width: 1640px;
  margin: 0 auto;
}
@media (max-width: 760px) { .shell { padding: 0 20px; } }

.grid-lines {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  max-width: 1640px; margin: 0 auto;
  padding: 0 40px;
  display: grid; grid-template-columns: repeat(12, var(--col));
  gap: var(--col-gap); opacity: 0.4;
}
.grid-lines i { display: block; height: 100vh; border-left: 1px dashed var(--rule); }
.grid-lines i:last-child { border-right: 1px dashed var(--rule); }
@media (max-width: 760px) { .grid-lines { display: none; } }

/* ============ STATUS BAR ============ */
.statusbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 999; height: 30px;
  background: rgba(10, 9, 8, 0.6);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--rule);
  display: flex; align-items: center;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-3); padding: 0 18px; gap: 24px;
  overflow: hidden; white-space: nowrap;
}
.statusbar span b { color: var(--ink); font-weight: 500; }
.statusbar .sb-spacer { flex: 1; }
.statusbar .sb-blink { color: var(--ember); animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 0%,49% { opacity: 1 } 50%,100% { opacity: 0 } }

/* ============ NAV ============ */
.nav-wrap {
  position: fixed; top: 44px; left: 0; right: 0;
  z-index: 1000; display: flex; justify-content: center;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  position: relative;
  display: flex; align-items: center; gap: 4px;
  padding: 6px;
  background: rgba(20, 16, 14, 0.55) !important;
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border-radius: 100px;
}
.nav-brand {
  display: flex; align-items: center;
  padding: 6px 14px 6px 18px;
  border-right: 1px solid var(--rule);
  transition: opacity .2s;
}
.nav-brand:hover { opacity: .75; }
.nav-logo {
  height: 40px; width: 40px;
  object-fit: contain;
  display: block;
}
.nav-items { position: relative; display: flex; gap: 2px; }
.nav-item {
  position: relative; z-index: 1;
  padding: 10px 18px;
  font-size: 14px; font-weight: 500;
  color: var(--ink-2); border-radius: 100px;
  transition: color .25s ease;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-item.active { color: var(--bg); }
.nav-item:hover { color: var(--ink); }
.nav-item.active:hover { color: var(--bg); }
.nav-caret { font-size: 9px; opacity: .6; }
.nav-pill {
  position: absolute; z-index: 0; top: 0; left: 0;
  height: 100%;
  background: var(--grad-sunset);
  border-radius: 100px;
  transition: transform .42s cubic-bezier(.6,.05,.2,1), width .42s cubic-bezier(.6,.05,.2,1);
  box-shadow: 0 6px 18px rgba(255, 60, 130, 0.35);
}
.nav-cta {
  margin-left: 6px;
  padding: 10px 18px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 100px;
  border: 1px solid var(--rule-strong);
  color: var(--ink);
  transition: background .2s, color .2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.nav-cta::before {
  content: ""; width: 8px; height: 8px;
  border-radius: 50%; background: #5fff8e;
  box-shadow: 0 0 12px #5fff8e;
  animation: pulse 1.6s ease infinite;
}
.nav-cta:hover { background: var(--ink); color: var(--bg); }
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.7); }
}

/* mega menu */
.nav-mega {
  position: absolute; top: calc(100% + 12px);
  left: 50%;
  transform: translate(-50%, -8px);
  width: min(720px, 92vw);
  pointer-events: none;
  background: rgba(20, 16, 14, 0.7) !important;
  backdrop-filter: blur(32px) saturate(160%);
  -webkit-backdrop-filter: blur(32px) saturate(160%);
  border-radius: 22px;
  padding: 18px;
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
}
.nav-mega.open { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.nav-mega-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 8px 14px;
  border-bottom: 1px solid var(--rule);
}
.nav-mega-all {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.08em; color: var(--ink);
  padding: 6px 10px; border-radius: 100px;
  border: 1px solid var(--rule-strong);
  transition: background .2s, color .2s;
}
.nav-mega-all:hover { background: var(--ink); color: var(--bg); }
.nav-mega-grid { display: grid; grid-template-columns: 1fr; gap: 6px; margin-top: 10px; }
.nav-mega-item {
  display: grid; grid-template-columns: 40px 1fr 30px;
  align-items: center; gap: 14px;
  padding: 14px;
  border-radius: 14px;
  text-align: left;
  transition: background .25s ease;
  width: 100%;
}
.nav-mega-item:hover { background: rgba(244,239,230,0.05); }
.nmi-num { font-family: var(--mono); font-size: 11px; color: var(--ember); letter-spacing: .1em; }
.nmi-company { font-size: 18px; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.nmi-role { font-family: var(--mono); font-size: 11px; color: var(--ink-2); margin-top: 2px; }
.nmi-duration { font-family: var(--mono); font-size: 10px; color: var(--ink-3); margin-top: 4px; letter-spacing: .08em; }
.nmi-arrow { font-size: 18px; color: var(--ink-2); text-align: right; transition: transform .25s, color .25s; }
.nav-mega-item:hover .nmi-arrow { transform: translate(4px, -4px); color: var(--ember); }

/* ============ FIXED PAGE SIDEBAR ============ */
.page-sidebar-fixed {
  position: fixed;
  left: 0; top: 30px; bottom: 0;
  width: 44px;
  z-index: 500;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 72px 0 60px;
  overflow: hidden;
}
.psf-line {
  position: absolute;
  left: 50%; transform: translateX(-50%);
  top: 72px; bottom: 60px;
  width: 1px; background: var(--rule-strong);
  overflow: hidden;
}
.psf-dot {
  position: absolute; left: -3px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 16px var(--ember), 0 0 4px var(--ember);
  animation: dotSlide 3.4s ease-in-out infinite;
}
.psf-ticker {
  position: absolute;
  left: 2px; top: 80px; bottom: 70px;
  width: 18px; overflow: hidden;
}
.psf-ticker-track {
  display: flex; flex-direction: column;
  gap: 20px; align-items: center;
  animation: blogTick 28s linear infinite;
}
.psf-tick {
  font-family: var(--mono); font-size: 8px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3); white-space: nowrap;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  line-height: 1;
}
.psf-tick.dim { color: var(--rule-strong); }
.psf-label {
  position: absolute; bottom: 62px;
  font-family: var(--mono); font-size: 8px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-3);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}
@media (max-width: 900px) { .page-sidebar-fixed { display: none; } }

/* ============ HERO ============ */
.hero {
  position: relative; padding-top: 180px; padding-bottom: 100px;
  z-index: 2;
}
.hero-eyebrow {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 32px;
}
.hero-eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--ink-3); }
.hero-title {
  font-weight: 500;
  font-size: clamp(64px, 13vw, 220px);
  line-height: 0.86;
  letter-spacing: -0.04em;
  margin: 0;
  font-variation-settings: "wght" 520, "wdth" 100;
}
.hero-title .grad {
  background: var(--grad-sunset);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  font-style: italic;
  font-family: var(--serif); font-weight: 400;
  letter-spacing: -0.02em;
}
.hero-title .out {
  -webkit-text-stroke: 1.5px var(--ink);
  color: transparent;
}
.hero-anim em, .hero-anim span, .hero-anim {
  display: inline-block;
  animation: heroIn 1.2s cubic-bezier(.6,.05,.2,1) both;
}
.hero-anim em { animation-delay: .15s; }
.hero-anim .out { animation-delay: .3s; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(40px); font-variation-settings: "wght" 200, "wdth" 75; }
  to   { opacity: 1; transform: translateY(0);    font-variation-settings: "wght" 520, "wdth" 100; }
}

.hero-meta {
  margin-top: 96px;
  display: grid; grid-template-columns: repeat(12, var(--col));
  gap: var(--col-gap);
  border-top: 1px solid var(--rule);
  padding-top: 32px;
}
.hero-bio {
  grid-column: 1 / span 5;
  font-size: 17px; line-height: 1.55;
  color: var(--ink-2);
  max-width: 36ch;
}
.hero-bio b { color: var(--ink); font-weight: 500; }
.hero-stats {
  grid-column: 7 / span 6;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.hero-stat { padding: 22px; }
.hero-stat .n {
  font-size: 44px; line-height: 1;
  font-variation-settings: "wght" 600, "wdth" 75;
  letter-spacing: -0.02em;
}
.hero-stat .l {
  margin-top: 10px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3);
}
@media (max-width: 760px) {
  .hero-bio, .hero-stats { grid-column: 1 / -1; }
  .hero-stat .n { font-size: 28px; }
}

/* sticker badges */
.sticker {
  position: absolute;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 100px;
  background: var(--ink); color: var(--bg);
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(0,0,0,.4);
  z-index: 5; user-select: none;
}
.sticker.grad { background: var(--grad-sunset); color: var(--bg); }
.sticker.spin {
  animation: spin 14s linear infinite;
  border-radius: 50%;
  width: 110px; height: 110px;
  display: grid; place-items: center;
  text-align: center; padding: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ MARQUEE ============ */
.marquee {
  position: relative; z-index: 2;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  padding: 26px 0;
  margin: 32px -40px;
}
.marquee-track {
  display: flex; gap: 56px;
  animation: marquee 32s linear infinite;
  white-space: nowrap; width: max-content;
}
.marquee.reverse .marquee-track { animation-direction: reverse; }
.marquee-item {
  font-size: 56px; line-height: 1;
  font-variation-settings: "wght" 500, "wdth" 100;
  letter-spacing: -0.03em;
  display: inline-flex; align-items: center; gap: 56px;
  color: var(--ink);
}
.marquee-item .grad {
  background: var(--grad-sunset);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; font-style: italic;
  font-family: var(--serif); font-weight: 400;
}
.marquee-item .out { -webkit-text-stroke: 1px var(--ink-2); color: transparent; }
.marquee-dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--ember); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ SECTIONS ============ */
.section {
  position: relative; z-index: 2;
  padding: 160px 0 120px;
  border-top: 1px solid var(--rule);
}
.section-head {
  display: grid; grid-template-columns: repeat(12, var(--col));
  gap: var(--col-gap);
  margin-bottom: 88px;
}
.section-num {
  grid-column: 1 / span 2;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3);
}
.section-num b { color: var(--ember); }
.section-title {
  grid-column: 3 / span 9;
  font-weight: 500;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  margin: 0;
  font-variation-settings: "wght" 500;
}
.section-title em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  background: var(--grad-sunset);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
@media (max-width: 760px) {
  .section { padding: 80px 0 60px; }
  .section-num { grid-column: 1 / -1; margin-bottom: 8px; }
  .section-title { grid-column: 1 / -1; }
}

/* ============ WORK GRID ============ */
.work-list {
  display: flex; flex-direction: column; gap: 22px;
}
.work-card {
  position: relative;
  display: grid;
  grid-template-columns: 60px 1fr 200px 120px 60px;
  gap: 24px;
  align-items: center;
  padding: 32px 36px;
  cursor: none;
}
.work-card .wc-num {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.1em; color: var(--ink-3);
}
.work-card .wc-title {
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 500; line-height: 1;
  letter-spacing: -0.03em; margin: 0;
  font-variation-settings: "wght" 500, "wdth" 100;
  transition: font-variation-settings .4s ease, color .25s ease;
}
.work-card:hover .wc-title {
  font-variation-settings: "wght" 600, "wdth" 110;
  background: var(--grad-sunset);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.work-card .wc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px;
  border: 1px solid var(--rule-strong);
  color: var(--ink-2);
}
.work-card .wc-meta {
  text-align: right;
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-3); letter-spacing: 0.06em;
}
.work-card .wc-arrow {
  text-align: right; font-size: 28px;
  transition: transform .35s cubic-bezier(.6,.05,.2,1), color .25s;
  color: var(--ink-2);
}
.work-card:hover .wc-arrow { transform: translate(8px, -8px) rotate(-12deg); color: var(--ember); }
@media (max-width: 760px) {
  .work-card { grid-template-columns: 40px 1fr 50px; padding: 18px; }
  .work-card .wc-tags, .work-card .wc-meta { display: none; }
  .work-card .wc-preview { display: none; }
}
.preview-fill {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 12px;
  color: var(--bg); letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============ PROCESS ============ */
.process {
  display: grid; grid-template-columns: repeat(12, var(--col));
  gap: var(--col-gap);
}
.process-item {
  grid-column: span 3;
  padding: 32px;
  display: flex; flex-direction: column; gap: 14px;
}
.process-item .pi-num {
  font-family: var(--mono); font-size: 11px;
  color: var(--ember); letter-spacing: 0.1em;
}
.process-item .pi-title {
  font-size: 22px; line-height: 1.1;
  letter-spacing: -0.02em; font-weight: 500;
  margin: 0;
}
.process-item .pi-body {
  font-size: 14px; color: var(--ink-2); line-height: 1.55;
  margin: 0;
}
@media (max-width: 760px) { .process-item { grid-column: span 6; } }

/* ============ NOW ============ */
.now {
  display: grid; grid-template-columns: repeat(12, var(--col));
  gap: var(--col-gap);
}
.now-card {
  padding: 30px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative; overflow: hidden;
  border-radius: 16px;
}
.now-card .nc-label {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3);
}
.now-card .nc-value {
  font-size: 20px; font-weight: 500;
  letter-spacing: -0.01em; line-height: 1.25;
}
.now-card .nc-sub {
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-2); margin-top: auto;
  letter-spacing: 0.04em;
}
.now-card.span-3 { grid-column: span 3; }
.now-card.span-4 { grid-column: span 4; }
.now-card.span-6 { grid-column: span 6; }
.now-card.glow {
  background: var(--grad-sunset);
  color: var(--bg);
  border: 0;
  backdrop-filter: none;
}
.now-card.glow .nc-label, .now-card.glow .nc-sub { color: rgba(10,9,8,.7); }
.equalizer {
  display: inline-flex; align-items: end; gap: 3px;
  height: 18px; margin-right: 8px;
}
.equalizer i {
  display: block; width: 3px;
  background: currentColor;
  animation: eq 1.1s ease-in-out infinite;
  border-radius: 2px;
}
.equalizer i:nth-child(1) { animation-delay: 0s; }
.equalizer i:nth-child(2) { animation-delay: .15s; }
.equalizer i:nth-child(3) { animation-delay: .3s; }
.equalizer i:nth-child(4) { animation-delay: .45s; }
@keyframes eq { 0%,100% { height: 4px; } 50% { height: 18px; } }
@media (max-width: 760px) {
  .now-card.span-3, .now-card.span-4, .now-card.span-6 { grid-column: span 12; }
}

/* ============ CONTACT CTA ============ */
.contact-cta {
  position: relative; padding: 140px 0 120px;
  border-top: 1px solid var(--rule);
  text-align: center; overflow: hidden;
}
.contact-cta .big {
  font-size: clamp(64px, 14vw, 220px);
  line-height: .9; letter-spacing: -0.04em;
  font-weight: 500; margin: 0;
  font-variation-settings: "wght" 500, "wdth" 100;
}
.contact-cta .big em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  background: var(--grad-sunset);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.contact-cta .big .out {
  -webkit-text-stroke: 1.5px var(--ink); color: transparent;
}
.contact-cta-sub {
  margin-top: 28px;
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3);
}
.contact-btn {
  margin-top: 40px;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 28px;
  border-radius: 100px;
  background: var(--ink); color: var(--bg);
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase;
  transition: transform .25s ease;
}
.contact-btn:hover { transform: translateY(-2px) scale(1.02); }
.contact-btn .arrow {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--bg); color: var(--ink);
  display: grid; place-items: center; font-size: 14px;
}

/* ============ FOOTER ============ */
.footer {
  border-top: 1px solid var(--rule);
  padding: 50px 0 70px;
  display: grid; grid-template-columns: repeat(12, var(--col));
  gap: var(--col-gap);
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-3);
  position: relative; z-index: 2;
}
.footer .col { display: flex; flex-direction: column; gap: 8px; }
.footer .col.span-3 { grid-column: span 3; }
.footer a:hover { color: var(--ink); }
.footer b { color: var(--ink); font-weight: 500; }
@media (max-width: 760px) { .footer .col.span-3 { grid-column: span 6; } }

/* ============ WORK PAGE ============ */
.work-hero { padding-top: 180px; padding-bottom: 80px; position: relative; z-index: 2; }
.work-hero .wh-title {
  font-size: clamp(60px, 11vw, 180px);
  font-weight: 500; line-height: .9;
  letter-spacing: -0.04em; margin: 0;
}
.work-hero .wh-title em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  background: var(--grad-sunset);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.work-modules {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(12, var(--col));
  gap: var(--col-gap);
  padding: 40px 0 100px;
}
.module {
  padding: 32px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 360px;
  border-radius: 18px;
}
.module:hover { transform: translateY(-4px); }
.module .mod-tag {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-3);
}
.module .mod-title {
  margin: 14px 0 0;
  font-size: 32px; font-weight: 500;
  line-height: 1.05; letter-spacing: -0.02em;
}
.module .mod-body {
  font-size: 14px; color: var(--ink-2);
  line-height: 1.55; margin-top: 12px;
}
.module .mod-art {
  margin-top: auto; height: 180px;
  border-radius: 12px;
  position: relative; overflow: hidden;
}
.module.span-4  { grid-column: span 4; }
.module.span-5  { grid-column: span 5; }
.module.span-6  { grid-column: span 6; }
.module.span-7  { grid-column: span 7; }
.module.span-8  { grid-column: span 8; }
.module.span-12 { grid-column: span 12; }
.module.feature {
  background: var(--grad-sunset) !important;
  color: var(--bg);
  border: 0;
  backdrop-filter: none;
}
.module.feature .mod-tag, .module.feature .mod-body { color: rgba(10,9,8,.78); }
.module.tall { min-height: 480px; }
@media (max-width: 760px) {
  .module.span-4,.module.span-5,.module.span-6,
  .module.span-7,.module.span-8 { grid-column: span 12; }
}

/* company row */
.company-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; text-align: left;
  border-radius: 14px;
}

/* ============ ABOUT ============ */
.about-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(12, var(--col));
  gap: var(--col-gap);
  padding: 180px 0 80px;
}
.about-portrait {
  grid-column: 1 / span 5;
  aspect-ratio: 4/5;
  background: var(--grad-sunset) !important;
  position: relative; overflow: hidden;
  border-radius: 18px;
}
.about-portrait::after {
  content: "[ NIKHIL ]";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 14px;
  letter-spacing: 0.2em;
  color: rgba(10,9,8,.65);
  background: repeating-linear-gradient(45deg, rgba(0,0,0,.06) 0 12px, transparent 12px 24px);
}
.about-text {
  grid-column: 7 / span 6;
  display: flex; flex-direction: column; gap: 24px;
}
.about-text h2 {
  font-size: clamp(40px, 5vw, 72px);
  margin: 0; font-weight: 500;
  letter-spacing: -0.03em; line-height: .98;
}
.about-text h2 em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  background: var(--grad-sunset);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.about-text p {
  font-size: 17px; line-height: 1.6;
  color: var(--ink-2); margin: 0; max-width: 52ch;
}
.about-text p b { color: var(--ink); font-weight: 500; }
@media (max-width: 760px) {
  .about-portrait, .about-text { grid-column: 1 / -1; }
}

.about-strip {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(12, var(--col));
  gap: var(--col-gap);
  padding: 40px 0 100px;
}
.about-strip .item {
  grid-column: span 3;
  padding: 22px;
}
.about-strip .item h4 {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ember); margin: 0 0 16px;
}
.about-strip .item ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
  font-size: 14px; color: var(--ink);
}
.about-strip .item li b {
  display: block;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.08em; color: var(--ink-3);
  font-weight: 400; margin-top: 2px;
}
@media (max-width: 760px) { .about-strip .item { grid-column: span 6; } }

/* ============ CONTACT ============ */
.contact-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(12, var(--col));
  gap: var(--col-gap);
  padding: 180px 0 80px;
}
.contact-grid .lead {
  grid-column: 1 / span 12;
  font-size: clamp(56px, 9vw, 140px);
  font-weight: 500; line-height: .9;
  letter-spacing: -0.04em; margin: 0 0 60px;
}
.contact-grid .lead em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  background: var(--grad-sunset);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.contact-grid .lead .out {
  -webkit-text-stroke: 1.5px var(--ink); color: transparent;
}
.contact-channels {
  grid-column: 1 / span 7;
  align-self: start;
  display: flex; flex-direction: column;
  padding: 12px 24px;
  border-radius: 18px;
}
.channel {
  border-top: 1px solid var(--rule);
  padding: 22px 0;
  display: grid; grid-template-columns: 80px 1fr auto;
  gap: 24px; align-items: center;
  cursor: none;
  transition: padding .3s ease;
}
.channel:first-child { border-top: 0; }
.channel:hover { padding-left: 12px; }
.channel .ch-num { font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.1em; }
.channel .ch-name {
  font-size: 26px; font-weight: 500; letter-spacing: -0.02em;
  transition: color .25s, transform .25s;
}
.channel:hover .ch-name {
  background: var(--grad-sunset);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.channel .ch-handle { font-family: var(--mono); font-size: 12px; color: var(--ink-2); letter-spacing: 0.04em; }
.channel .ch-arrow {
  font-size: 22px; color: var(--ink-2);
  transition: transform .3s, color .3s;
}
.channel:hover .ch-arrow { transform: translate(6px,-6px) rotate(-10deg); color: var(--ember); }
.contact-meta {
  grid-column: 9 / span 4;
  display: flex; flex-direction: column; gap: 16px;
}
.contact-meta .block { padding: 22px; }
.contact-meta .block h5 {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ember); margin: 0 0 12px;
}
.contact-meta .block p { font-size: 16px; line-height: 1.55; color: var(--ink); margin: 0; }
.contact-meta .block .available {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink);
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.08em;
}
.contact-meta .block .available::before {
  content: ""; width: 8px; height: 8px;
  border-radius: 50%; background: #5fff8e;
  box-shadow: 0 0 12px #5fff8e;
  animation: pulse 1.6s ease infinite;
}
@media (max-width: 760px) {
  .contact-channels, .contact-meta { grid-column: 1 / -1; }
  .channel { grid-template-columns: 50px 1fr auto; gap: 12px; padding: 18px 0; }
}

/* ============ CONTEXT MENU ============ */
.ctx-menu {
  position: fixed; z-index: 10000;
  width: 280px;
  background: rgba(20, 16, 14, 0.78) !important;
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border-radius: 16px;
  padding: 8px;
  animation: ctxIn .18s cubic-bezier(.6,.05,.2,1);
}
@keyframes ctxIn {
  from { opacity: 0; transform: scale(.96) translateY(-4px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.ctx-head { padding: 10px 12px 6px; }
.ctx-section { padding: 4px; }
.ctx-label {
  font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); padding: 6px 8px 4px;
}
.ctx-item {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 9px 12px;
  border-radius: 8px;
  color: var(--ink); font-size: 13px;
  transition: background .15s;
  text-align: left;
}
.ctx-item:hover { background: rgba(244,239,230,0.08); }
.ctx-item kbd {
  font-family: var(--mono); font-size: 10px;
  color: var(--ink-3); letter-spacing: 0.08em;
  background: rgba(244,239,230,0.06);
  padding: 2px 6px; border-radius: 4px;
}
.ctx-divider { height: 1px; background: var(--rule); margin: 4px 8px; }
.ctx-foot { padding: 8px 12px; color: var(--ink-3); }
.ctx-toast {
  position: fixed; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 10001;
  padding: 12px 22px;
  border-radius: 100px;
  background: rgba(20, 16, 14, 0.88) !important;
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.06em; color: var(--ink);
  animation: toastIn .3s cubic-bezier(.6,.05,.2,1);
}
@keyframes toastIn {
  from { opacity: 0; transform: translate(-50%, 12px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

/* page transitions */
.page-fade { opacity: 1; transform: none; }
.page-fade.entering { animation: pageFade .55s cubic-bezier(.6,.05,.2,1) both; }
@keyframes pageFade {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

[data-reveal] {
  opacity: 1; transform: none;
  transition: opacity .8s ease, transform .8s cubic-bezier(.6,.05,.2,1);
}

/* ============ FLEX TEXT (variable-font letter hover wave) ============ */
.flex-text { display: inline-flex; flex-wrap: wrap; }
.flex-letter {
  display: inline-block;
  transition:
    font-variation-settings .25s cubic-bezier(.6,.05,.2,1),
    color .25s ease;
}
.flex-text:hover .flex-letter {
  font-variation-settings: "wght" 700, "wdth" 110;
  animation: letterWave .6s cubic-bezier(.6,.05,.2,1) both;
  animation-delay: calc(var(--i) * 0.03s);
}
@keyframes letterWave {
  0%   { transform: translateY(0); }
  40%  { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

/* ============ BLOG HERO ============ */
.blog-hero {
  padding-top: 180px; padding-bottom: 80px;
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 56px;
  align-items: start;
}
.blog-side {
  position: sticky; top: 120px;
  display: flex; flex-direction: row; gap: 18px;
  height: 360px; overflow: hidden;
}
.blog-vticker { flex: 1; overflow: hidden; }
.blog-vticker-track {
  display: flex; flex-direction: column; gap: 16px;
  animation: blogTick 22s linear infinite;
}
.blog-tick-row {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); white-space: nowrap; line-height: 1;
}
.blog-tick-row.accent { color: var(--ember); }
@keyframes blogTick {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
.blog-side-line {
  width: 1px; background: var(--rule-strong);
  position: relative; overflow: hidden; flex-shrink: 0;
}
.blog-side-dot {
  position: absolute; left: -3px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 14px var(--ember), 0 0 4px var(--ember);
  animation: dotSlide 2.8s ease-in-out infinite;
}
@keyframes dotSlide {
  0%, 100% { top: 0; }
  50% { top: calc(100% - 7px); }
}
.blog-hero-main { display: flex; flex-direction: column; }
.blog-hero-stats {
  display: flex; gap: 40px;
  margin-top: 40px; padding-top: 28px;
  border-top: 1px solid var(--rule);
  flex-wrap: wrap;
}
.blog-stat { display: flex; flex-direction: column; gap: 8px; }
.blog-stat-val {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.06em; color: var(--ink);
}
@media (max-width: 760px) {
  .blog-hero { grid-template-columns: 1fr; padding-top: 120px; }
  .blog-side { display: none; }
}

/* ============ BLOG POST PAGE ============ */
.blog-post-wrap {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 56px;
  padding-top: 120px; padding-bottom: 100px;
  align-items: start;
}
.blog-post-sidebar {
  position: sticky; top: 120px;
  display: flex; flex-direction: row; gap: 18px;
  height: 480px; overflow: hidden;
  align-self: start;
}
.blog-post-body-wrap {
  max-width: 72ch;
}
.blog-lede {
  font-size: 20px; line-height: 1.55;
  color: var(--ink-2); margin: 0 0 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--rule);
}
.blog-prose {
  display: flex; flex-direction: column; gap: 52px;
}
.blog-section { display: flex; flex-direction: column; gap: 18px; }
.blog-section-h {
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.02em; color: var(--ink);
  margin: 0;
  padding-left: 16px;
  border-left: 2px solid var(--ember);
}
.blog-section p {
  font-size: 16px; line-height: 1.75;
  color: var(--ink-2); margin: 0;
}
.blog-section code {
  font-family: var(--mono); font-size: 13px;
  background: var(--glass-bg-strong);
  border: 1px solid var(--rule-strong);
  border-radius: 4px; padding: 1px 6px;
  color: var(--ember);
}
.blog-next {
  margin-top: 72px; padding: 28px 32px;
  border-radius: 16px;
}
.blog-next-title {
  display: block; font-size: 22px; font-weight: 500;
  letter-spacing: -0.02em; color: var(--ink);
  margin: 0;
  transition: color .2s;
}
.blog-next-title:hover { color: var(--ember); }
@media (max-width: 760px) {
  .blog-post-wrap { grid-template-columns: 1fr; padding-top: 100px; }
  .blog-post-sidebar { display: none; }
}

/* utilities */
.ru { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.h-rule { height: 1px; background: var(--rule); width: 100%; }

/* ============ ANIMATED GRADIENT (animate-ui port) ============ */
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.now-card.glow,
.module.feature,
.sticker.grad,
.about-portrait,
.nav-pill {
  background-size: 400% 400% !important;
  animation: gradientShift 5s ease-in-out infinite;
}
.hero-title .grad {
  background-size: 400% 400% !important;
  animation: heroIn 1.2s cubic-bezier(.6,.05,.2,1) both, gradientShift 5s ease-in-out infinite;
}

/* ============================================================
   MOBILE — iPhone / smartphone (≤ 760 px)
   ============================================================ */

/* Global tap highlight removal */
* { -webkit-tap-highlight-color: transparent; }

/* ── Reusable grid helpers (used by pages.jsx) ── */
.company-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.achievement-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}

/* ── Mobile hamburger button ── */
.nav-hamburger {
  display: none;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 0;
  width: 42px; height: 42px; padding: 0;
  border-radius: 100px;
  border: 1px solid var(--rule-strong);
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block; width: 18px; height: 1.5px;
  background: var(--ink);
  transition: transform .25s ease, opacity .25s ease;
}
.nav-hamburger span:nth-child(2) { margin: 5px 0; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mobile full-screen nav sheet ── */
.nav-mobile-sheet {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 998;
  padding: 110px 28px 48px;
  background: rgba(10, 9, 8, 0.97);
  backdrop-filter: blur(32px) saturate(120%);
  -webkit-backdrop-filter: blur(32px) saturate(120%);
  transform: translateY(-100%);
  transition: transform .38s cubic-bezier(.6,.05,.2,1);
  pointer-events: none;
  overflow-y: auto;
}
.nav-mobile-sheet.open {
  transform: translateY(0);
  pointer-events: auto;
}
.nav-mobile-item {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 36px; font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink-2);
  transition: color .2s;
  text-align: left;
}
.nav-mobile-item.active { color: var(--ink); }
.nav-mobile-item .mob-arrow { font-size: 22px; transition: transform .2s; }
.nav-mobile-item:hover .mob-arrow { transform: translate(4px, -4px); }
.nav-mobile-cta {
  margin-top: 32px;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px; border-radius: 100px;
  background: var(--ink); color: var(--bg);
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase;
}

@media (max-width: 760px) {
  /* Nav — swap full bar for hamburger */
  .nav-items, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  /* Keep the brand logo a bit smaller */
  .nav-logo { height: 32px; width: 32px; }

  /* Status bar — hide non-essential items */
  .sb-hide-mobile { display: none !important; }

  /* Cursor — not applicable on touch */
  button, a { cursor: auto; }
  .work-card, .channel { cursor: auto; }

  /* Hero */
  .hero { padding-top: 120px; padding-bottom: 60px; }
  .hero-meta { margin-top: 48px; }
  .hero-stat { padding: 14px 10px; }
  .sticker, .sticker.spin, .sticker.grad { display: none !important; }

  /* Marquee — fix negative margin (shell is 20px, not 40px) */
  .marquee { margin: 32px -20px; }

  /* Section */
  .section-head { margin-bottom: 48px; }

  /* Work hero */
  .work-hero { padding-top: 120px; padding-bottom: 60px; }
  .work-hero .wh-title { font-size: clamp(40px, 10vw, 180px); }

  /* Work grid helpers */
  .company-grid { grid-template-columns: 1fr; }
  .achievement-grid { grid-template-columns: 1fr; }

  /* About */
  .about-grid { padding-top: 120px; }
  .about-portrait { aspect-ratio: 16/9; max-height: 220px; }

  /* Contact */
  .contact-grid { padding-top: 120px; }
  .contact-grid .lead { font-size: clamp(36px, 9vw, 140px); }
  .contact-cta { padding: 80px 0 60px; }
  .contact-cta .big { font-size: clamp(36px, 10vw, 140px); }

  /* Blog — featured post hero title override (inline style uses 56px) */
  .blog-featured-title { font-size: 28px !important; }

  /* Module — ensure span-12 modules don't overflow on phones */
  .module { padding: 20px; }
  .module .mod-title { font-size: clamp(22px, 6vw, 40px); }
}

@media (max-width: 480px) {
  /* Footer — single column on very narrow screens */
  .footer .col.span-3 { grid-column: span 12; }
}
