/* ─────────────────────────────────────────────────────
   Swati Porwal Portfolio — Shared Stylesheet
   ───────────────────────────────────────────────────── */

/* ── Design Tokens (yellow + black) ─────────────────── */
:root {
  --ink: #0B0D10;
  --surface: #15181D;
  --surface-2: #1C2026;
  --surface-3: #232830;
  --paper: #F7F5EF;
  --paper-dim: #B8B4A8;
  --slate: #8B93A0;
  --slate-dim: #4E545E;
  --signal: #FFB938;
  --signal-2: #FF5A36;
  --signal-dim: rgba(255,185,56,0.14);
  --signal-glow: rgba(255,185,56,0.32);
  --rose: #C98B82;
  --rose-dim: rgba(201,139,130,0.16);
  --sage: #6B9478;
  --sage-dim: rgba(107,148,120,0.16);
  --sky: #6898B8;
  --sky-dim: rgba(104,152,184,0.14);
  --green: #5FD98A;
  --green-dim: rgba(95,217,138,0.16);
  --on-accent: #0B0D10;
  --line: rgba(247,245,239,0.10);
  --line-strong: rgba(247,245,239,0.16);
  --display: "Space Grotesk", sans-serif;
  --sans: "Inter", -apple-system, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 24px 64px rgba(0,0,0,0.38);
  --shadow-soft: 0 12px 40px rgba(0,0,0,0.22);
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(255,185,56,0.10), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(255,185,56,0.06), transparent 50%),
    var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

/* ── Cursor glow (desktop, subtle amber) ───────────── */
.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  background: radial-gradient(
    circle,
    rgba(255, 185, 56, 0.11) 0%,
    rgba(255, 185, 56, 0.045) 38%,
    transparent 68%
  );
  transform: translate(-50%, -50%);
  opacity: 0;
  will-change: transform, left, top;
  mix-blend-mode: screen;
}
body.is-cursor-glow .cursor-glow { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .cursor-glow { display: none; }
}

/* ── Keyframe Animations ────────────────────────────── */
@keyframes pulse-amber {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,185,56,0.55); }
  60%       { box-shadow: 0 0 0 8px rgba(255,185,56,0); }
}
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(95,217,138,0.55); }
  60%       { box-shadow: 0 0 0 8px rgba(95,217,138,0); }
}
@keyframes glow-breathe {
  0%, 100% { opacity: 0.65; transform: scale(1); }
  50%       { opacity: 1;    transform: scale(1.06); }
}
@keyframes float-slow {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
@keyframes float-slow-2 {
  0%, 100% { transform: translateY(0px) rotate(-2deg); }
  50%       { transform: translateY(-14px) rotate(1deg); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slide-right {
  from { opacity: 0; transform: translateX(-14px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes shimmer-border {
  0%, 100% { opacity: 0.45; }
  50%       { opacity: 0.85; }
}
@keyframes stat-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,185,56,0); }
  50%       { box-shadow: 0 0 40px rgba(255,185,56,0.12); }
}
@keyframes hero-glow-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,185,56,0.15), var(--shadow-soft); }
  50%       { box-shadow: 0 0 48px rgba(255,185,56,0.28), 0 16px 48px rgba(0,0,0,0.35); }
}
@keyframes hero-shimmer {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}
@keyframes ev-charge-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes ev-float-front {
  0%, 100% { transform: translateY(-50%) rotate(3deg); }
  50%       { transform: translateY(calc(-50% - 6px)) rotate(3deg); }
}
@keyframes ev-float-back {
  0%, 100% { transform: translateY(-50%) rotate(-5deg); }
  50%       { transform: translateY(calc(-50% - 5px)) rotate(-5deg); }
}
@keyframes ev-pin-glow {
  0%, 100% { box-shadow: 0 0 8px rgba(255,185,56,0.25); transform: scale(1); }
  50%       { box-shadow: 0 0 14px rgba(255,185,56,0.5); transform: scale(1.06); }
}
@keyframes card-shimmer {
  0%, 100% { opacity: 0.35; }
  50%       { opacity: 0.75; }
}
@keyframes link-nudge {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(3px); }
}

/* ── Scroll Reveal ─────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.18s; }
.reveal-d3 { transition-delay: 0.26s; }
.reveal-d4 { transition-delay: 0.34s; }

/* ── Navigation ─────────────────────────────────────── */
header.topbar {
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,13,16,0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out), background 0.35s var(--ease-out);
}
header.topbar.scrolled {
  background: rgba(11,13,16,0.94);
  border-color: var(--line-strong);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
.topbar .wrap {
  display: flex; align-items: center;
  justify-content: space-between; height: 68px;
}
.brand {
  font-family: var(--display); font-size: 16px; font-weight: 700;
  letter-spacing: -0.01em; display: flex; align-items: center; gap: 9px;
  color: var(--paper);
}
.brand .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--signal);
  animation: pulse-amber 2.2s ease infinite;
  flex-shrink: 0;
}
nav.primary { display: flex; gap: 6px; align-items: center; }
nav.primary a {
  font-family: var(--sans); font-weight: 500; font-size: 14px;
  color: var(--slate); padding: 8px 14px; border-radius: 8px;
  position: relative;
  transition: color .2s var(--ease-out), background .2s var(--ease-out);
}
nav.primary a:not(.active)::after {
  content: '';
  position: absolute; left: 14px; right: 14px; bottom: 5px;
  height: 2px; border-radius: 2px; background: var(--signal);
  transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease-out);
}
nav.primary a:hover { color: var(--paper); background: var(--surface-2); }
nav.primary a:not(.active):hover::after { transform: scaleX(1); }
nav.primary a.active {
  color: var(--on-accent); background: var(--signal); font-weight: 700;
  box-shadow: 0 4px 16px rgba(255,185,56,0.25);
}

/* ── Hamburger Menu ─────────────────────────────────── */
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 8px; border-radius: 8px;
  transition: background .15s ease;
}
.hamburger:hover { background: var(--surface); }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--paper); border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Typography Helpers ─────────────────────────────── */
.kicker {
  font-family: var(--sans); font-weight: 700; font-size: 13px;
  letter-spacing: 0.08em; color: var(--signal);
  text-transform: uppercase; margin-bottom: 14px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 13px;
  color: var(--signal); background: var(--signal-dim);
  padding: 7px 14px; border-radius: 100px; margin-bottom: 26px;
}
.eyebrow .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--signal);
  animation: pulse-amber 2s ease infinite;
}

/* ── Buttons ────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--signal); color: var(--on-accent);
  font-family: var(--sans); font-weight: 700; font-size: 15px;
  padding: 14px 24px; border-radius: 10px;
  transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px var(--signal-glow);
}
.btn-primary:active { transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--line-strong); color: var(--paper);
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  padding: 14px 24px; border-radius: 10px;
  background: rgba(21,24,29,0.5);
  transition: background .2s var(--ease-out), border-color .2s var(--ease-out), transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.btn-ghost:hover {
  background: var(--surface); border-color: rgba(255,185,56,0.35);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

/* ── Page Head (inner pages — match hero yellow glow) ─ */
.page-head {
  padding: 80px 0 56px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-head::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,185,56,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,185,56,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at 30% 40%, black, transparent 78%);
  mask-image: radial-gradient(circle at 30% 40%, black, transparent 78%);
}
.page-head::after {
  content: '';
  position: absolute;
  width: 480px; height: 480px;
  top: -180px; left: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,185,56,0.14), transparent 65%);
  pointer-events: none;
  filter: blur(8px);
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--signal);
  background: var(--signal-dim);
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
  letter-spacing: 0.06em;
}
.page-head .kicker::before {
  content: '';
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--signal);
  animation: pulse-amber 2s ease infinite;
  flex-shrink: 0;
}
.page-head h1 {
  font-family: var(--display); font-size: clamp(34px,4.6vw,52px);
  font-weight: 700; letter-spacing: -0.025em; margin-bottom: 16px; max-width: 760px;
}
.page-head h1 .highlight { color: var(--signal); }
.page-head p { color: var(--slate); font-size: 18px; max-width: 580px; line-height: 1.6; }

/* ── Section Scaffolding ────────────────────────────── */
section { padding: 90px 0; border-top: 1px solid var(--line); }
.section-head { margin-bottom: 48px; }
.section-head .kicker {
  display: inline-flex; align-items: center; gap: 10px;
}
.section-head .kicker::after {
  content: '';
  width: 32px; height: 1px;
  background: linear-gradient(90deg, var(--signal), transparent);
}
.section-head h2 {
  font-family: var(--display); font-size: clamp(28px,3.6vw,40px);
  font-weight: 700; letter-spacing: -0.018em; max-width: 640px;
  line-height: 1.15;
}

/* ── Status Line ────────────────────────────────────── */
.status-line {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-weight: 600; font-size: 12.5px;
  color: var(--slate); margin-bottom: 18px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.status-line .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  animation: pulse-green 2s ease infinite;
  flex-shrink: 0;
}
.status-line .pulse.amber {
  background: var(--signal);
  animation: pulse-amber 2s ease infinite;
}

/* ── Showcase Card ──────────────────────────────────── */
.showcase {
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  background: var(--surface); margin-bottom: 32px;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.showcase:hover {
  border-color: rgba(255,185,56,0.18);
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}
.showcase-grid { display: grid; grid-template-columns: 1fr 1fr; }
.showcase-media {
  position: relative;
  background: linear-gradient(135deg, #2b2118, #1a1410);
  display: flex; align-items: center; justify-content: center;
  padding: 40px; gap: 16px; min-height: 380px;
}
.showcase-media.kazam-media { background: linear-gradient(135deg, #2a1414, #1a0e0e); }
.showcase-media img {
  border-radius: 14px;
  box-shadow: 0 24px 50px rgba(0,0,0,0.5);
}
.showcase-media .quote-img { max-height: 360px; }
.showcase-media .wheel-img { max-height: 320px; }
.showcase-media .img-pair { display: flex; gap: 14px; align-items: center; }
.showcase-media .img-pair img { max-height: 320px; }
.showcase-body {
  padding: 48px; display: flex;
  flex-direction: column; justify-content: center;
}
.showcase-body h3 {
  font-family: var(--display); font-size: 28px; font-weight: 700;
  letter-spacing: -0.012em; margin-bottom: 14px; line-height: 1.2;
}
.showcase-body p, .showcase-body p.desc {
  color: var(--slate); font-size: 16px; line-height: 1.7;
  margin-bottom: 26px; max-width: 760px;
}

/* ── Pull Quote ─────────────────────────────────────── */
.pull-quote {
  font-family: var(--display); font-size: 19px; font-weight: 600; line-height: 1.55;
  color: var(--paper); border-left: 3px solid var(--signal);
  padding: 4px 0 4px 20px; margin: 0 0 26px 0;
}

/* ── Detail Grid ────────────────────────────────────── */
.detail-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
  margin: 28px 0; padding: 24px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.detail-item .label {
  font-weight: 700; font-size: 11px; color: var(--slate-dim);
  letter-spacing: 0.06em; margin-bottom: 6px; text-transform: uppercase;
}
.detail-item .value { font-size: 14.5px; color: var(--paper-dim); line-height: 1.6; }

/* ── Proof Strip ────────────────────────────────────── */
.proof-strip {
  display: flex; align-items: center; gap: 16px; margin: 26px 0;
  padding: 16px 18px; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--line);
}
.proof-strip img { width: 90px; border-radius: 8px; flex-shrink: 0; }
.proof-strip .proof-text { font-size: 14px; color: var(--paper-dim); line-height: 1.5; }
.proof-strip .proof-text b { color: var(--signal); }

/* ── Tags ───────────────────────────────────────────── */
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.tag {
  font-family: var(--sans); font-weight: 600; font-size: 11.5px;
  color: var(--paper-dim); border: 1px solid var(--line);
  padding: 5px 12px; border-radius: 100px;
  transition: border-color .15s ease, color .15s ease;
  cursor: default;
}

/* ── Link Row ───────────────────────────────────────── */
.link-row { display: flex; gap: 24px; flex-wrap: wrap; }
.link-row a {
  font-family: var(--sans); font-weight: 700; font-size: 14.5px;
  color: var(--signal); display: flex; align-items: center; gap: 6px;
}
.link-row a::after { content: "→"; transition: transform .15s ease; }
.link-row a:hover::after { transform: translateX(4px); }

/* ── Empty Slot ─────────────────────────────────────── */
.empty-slot {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 36px 32px;
  color: var(--slate-dim); text-align: center; gap: 8px;
  border: 1px dashed var(--line); border-radius: 20px;
}
.empty-slot .big { font-size: 22px; color: var(--slate); }

/* ── CTA Strip ──────────────────────────────────────── */
.cta-strip {
  padding: 100px 0; text-align: center; border-top: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 80% at 50% 100%, rgba(255,185,56,0.09), transparent 60%),
    radial-gradient(ellipse 40% 50% at 20% 50%, rgba(255,185,56,0.05), transparent 55%);
}
.cta-strip .wrap { position: relative; z-index: 1; }
.cta-strip h2 {
  font-family: var(--display); font-size: clamp(30px,4.2vw,44px);
  font-weight: 700; letter-spacing: -0.022em; margin-bottom: 18px;
}
.cta-strip p { color: var(--slate); margin-bottom: 36px; font-size: 17px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ── Featured writing (LinkedIn) ───────────────────── */
.writing-strip {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}
.writing-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 32px 36px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(165deg, var(--surface), rgba(21,24,29,0.96));
  transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.writing-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 19px;
  padding: 1px;
  background: linear-gradient(120deg, transparent, rgba(255,185,56,0.45), transparent, rgba(255,185,56,0.25), transparent);
  background-size: 220% 100%;
  animation: ticker-scroll 8s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.55;
}
.writing-card > * { position: relative; z-index: 1; }
.writing-card:hover {
  border-color: rgba(255,185,56,0.28);
  box-shadow: var(--shadow-soft);
}
.writing-card .kicker { margin-bottom: 10px; }
.writing-card h2 {
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  max-width: 560px;
}
.writing-card p {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.6;
  max-width: 580px;
  margin-bottom: 18px;
}
.writing-card .writing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-dim);
}
.writing-card .writing-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.writing-card .writing-meta .dot-sep {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--signal);
  opacity: 0.7;
}
.writing-card .writing-cta { flex-shrink: 0; }
@media (max-width: 820px) {
  .writing-card { grid-template-columns: 1fr; }
  .writing-card .writing-cta { justify-self: start; }
}

/* ── Hero (homepage) ────────────────────────────────── */
.hero {
  padding: 76px 0 0;
  position: relative; overflow: hidden;
  border-top: none !important;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,185,56,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,185,56,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none; z-index: 0;
  -webkit-mask-image: radial-gradient(circle at 70% 35%, black, transparent 75%);
  mask-image: radial-gradient(circle at 70% 35%, black, transparent 75%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 52px; align-items: center;
}
.hero h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(36px, 5.1vw, 62px); line-height: 1.04; letter-spacing: -0.028em;
  margin-bottom: 24px;
}
.hero p.lede {
  font-size: 18px; color: var(--slate); max-width: 540px;
  line-height: 1.65; margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.rotator-word {
  display: inline-block; color: var(--signal);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}
.rotator-word.swap { opacity: 0; transform: translateY(-12px); }
.hero-aurora { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55;
  transition: transform 0.6s var(--ease-out);
}
.aurora.a1 {
  width: 540px; height: 540px; top: -160px; right: -80px;
  background: radial-gradient(circle, rgba(255,185,56,0.40), transparent 65%);
  animation: glow-breathe 6s ease-in-out infinite;
}
.aurora.a2 {
  width: 460px; height: 460px; top: 120px; right: 220px;
  background: radial-gradient(circle, rgba(255,185,56,0.22), transparent 65%);
  animation: glow-breathe 7.5s ease-in-out infinite reverse;
}
.hero-visual { position: relative; display: flex; flex-direction: column; justify-content: center; }
.hero-stats-panel {
  position: relative;
  width: 100%;
  padding: 1px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255,185,56,0.35), rgba(255,185,56,0.05) 40%, rgba(255,185,56,0.12));
  animation: fade-up 0.75s 0.28s var(--ease-out) both, stat-glow 4s 1s ease-in-out infinite;
}
.hero-stats-panel::before {
  content: '';
  position: absolute; inset: 1px; border-radius: 19px;
  background: var(--surface);
  z-index: 0;
}
.hero-stats-header {
  position: relative; z-index: 1;
  padding: 22px 32px 0;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--slate-dim);
}
.hero-stats {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  padding: 28px 32px 32px;
}
.stat-item {
  display: flex; flex-direction: column; gap: 6px;
  padding: 16px 12px;
  border-radius: 12px;
  transition: background .25s var(--ease-out);
}
.stat-item:hover { background: rgba(255,185,56,0.06); }
.stat-num {
  font-family: var(--display); font-size: 42px; font-weight: 700;
  color: var(--signal); letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 13px; color: var(--slate); font-weight: 500; line-height: 1.4; }
.hero-text > * { animation: fade-up 0.65s var(--ease-out) both; }
.hero-text .eyebrow  { animation-delay: 0.05s; }
.hero-text h1        { animation-delay: 0.14s; }
.hero-text .lede     { animation-delay: 0.24s; }
.hero-text .hero-cta { animation-delay: 0.34s; }
.hero-text .cred-bar { animation-delay: 0.44s; }
.ticker-wrap { margin: 52px 0 0; }
.ticker-item { color: var(--paper-dim); }
.ticker-item .sep { background: var(--signal); opacity: 0.55; }

/* ── Personal strip (homepage) ──────────────────────── */
.personal-strip {
  padding: 72px 0;
  border-top: 1px solid var(--line);
  border-bottom: none;
  background:
    radial-gradient(ellipse 55% 70% at 0% 50%, rgba(255,185,56,0.06), transparent 60%),
    radial-gradient(ellipse 40% 50% at 100% 80%, rgba(255,185,56,0.04), transparent 55%);
}
.personal-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}
.personal-intro h2 {
  font-family: var(--display);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.personal-intro p {
  color: var(--slate);
  font-size: 16px;
  max-width: 360px;
  line-height: 1.65;
  margin-bottom: 20px;
}
.personal-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--signal);
  transition: opacity .2s var(--ease-out);
}
.personal-link:hover { opacity: 0.85; }
.personal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.personal-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 18px 20px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(165deg, var(--surface), rgba(21,24,29,0.92));
  position: relative;
  overflow: hidden;
  transition: border-color .28s var(--ease-out), transform .28s var(--ease-out), box-shadow .28s var(--ease-out);
}
.personal-tile::before {
  content: '';
  position: absolute;
  left: 0; top: 14px; bottom: 14px;
  width: 3px;
  border-radius: 3px;
  background: var(--signal);
}
.personal-tile.accent-rose::before { background: var(--rose); }
.personal-tile.accent-sage::before { background: var(--sage); }
.personal-tile.accent-sky::before { background: var(--sky); }
.personal-tile.accent-amber::before { background: var(--signal); }
.personal-tile:hover {
  border-color: rgba(255,185,56,0.28);
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}
.personal-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--slate-dim);
  text-transform: uppercase;
  margin-bottom: 2px;
}
.personal-icon { display: none; }
.personal-name {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: -0.01em;
}
.personal-detail { font-size: 13px; color: var(--slate); line-height: 1.45; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr !important; }
  .hero-visual { margin-top: 24px; height: auto !important; }
  .hero-stats-panel { margin-top: 0; }
  .stat-num { font-size: 32px; }
  .personal-inner { grid-template-columns: 1fr; gap: 32px; }
  .personal-intro p { max-width: none; }
  .hp1 { width: 180px !important; right: 24px !important; top: 0 !important; }
  .hp2 { width: 145px !important; right: 185px !important; top: 60px !important; }
}

/* ── Metrics Strip ──────────────────────────────────── */
.metrics-strip {
  display: flex; gap: 0; margin-top: 48px; padding-top: 36px;
  border-top: 1px solid var(--line);
}
.metric {
  display: flex; flex-direction: column; gap: 4px;
  padding-right: 36px; margin-right: 36px;
  border-right: 1px solid var(--line);
}
.metric:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.metric-num {
  font-family: var(--display); font-size: 28px; font-weight: 700;
  letter-spacing: -0.02em; color: var(--signal);
}
.metric-label { font-size: 13px; color: var(--slate); font-weight: 500; }

/* ── Credential Bar ─────────────────────────────────── */
.cred-bar {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 10px 26px; margin-top: 40px;
}
.cred-bar .cred-label {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--slate-dim);
}
.cred-bar .cred-item {
  font-family: var(--display); font-size: 15px; font-weight: 600;
  color: var(--paper-dim); letter-spacing: -0.01em;
}
.cred-bar .cred-dot {
  width: 4px; height: 4px; border-radius: 50%; background: var(--signal-dim);
}

/* ── Pillars (What I do) ────────────────────────────── */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar {
  border: 1px solid var(--line); border-radius: 18px; padding: 32px 30px;
  background: linear-gradient(165deg, var(--surface) 0%, rgba(21,24,29,0.92) 100%);
  position: relative; overflow: hidden;
  transition: border-color .3s var(--ease-out), transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.pillar::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--signal), transparent);
  opacity: 0; transition: opacity .3s var(--ease-out);
}
.pillar::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 100% 0%, rgba(201,139,130,0.08), transparent 45%);
  opacity: 0; transition: opacity .3s var(--ease-out);
}
.pillar:hover {
  border-color: rgba(255,185,56,0.28); transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}
.pillar:hover::before,
.pillar:hover::after { opacity: 1; }
.pillar .pillar-num {
  font-family: var(--display); font-size: 13px; font-weight: 700;
  color: var(--signal); letter-spacing: 0.04em; margin-bottom: 16px;
}
.pillar h3 {
  font-family: var(--display); font-size: 20px; font-weight: 700;
  letter-spacing: -0.01em; margin-bottom: 12px; line-height: 1.25;
}
.pillar p { font-size: 14.5px; color: var(--slate); line-height: 1.6; margin-bottom: 20px; }
.pillar .pillar-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.pillar .pillar-tags span {
  font-size: 11px; font-weight: 600; color: var(--paper-dim);
  background: var(--surface-2); border: 1px solid var(--line);
  padding: 4px 10px; border-radius: 100px;
}

/* ── Work Grid (featured cards) ─────────────────────── */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.work-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, var(--surface) 0%, rgba(21,24,29,0.95) 100%);
  transition: border-color .3s var(--ease-out), transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.work-card:hover {
  border-color: rgba(255,185,56,0.28); transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}
.work-card-media {
  position: relative; min-height: 210px; padding: 28px;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  background: linear-gradient(135deg, #2b2118, #1a1410);
  overflow: hidden;
}
.work-card-media img {
  max-height: 168px; border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.5);
  transition: transform .45s var(--ease-out);
}
.work-card:hover .work-card-media > img { transform: scale(1.03); }

/* EV app — CSS phone mockup (no proprietary screenshots) */
.ev-phone-stack {
  position: relative;
  width: 100%;
  min-height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ev-phone {
  position: absolute;
  width: 88px;
  border-radius: 14px;
  padding: 5px;
  background: linear-gradient(160deg, #2a3038, #12151a);
  box-shadow: 0 14px 36px rgba(0,0,0,0.55), inset 0 0 0 1px rgba(255,255,255,0.08);
}
.ev-phone-screen {
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(180deg, #15233a, #0a1018);
  aspect-ratio: 9 / 16;
  padding: 8px 7px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ev-phone--front {
  right: 14%;
  top: 50%;
  transform: translateY(-50%) rotate(3deg);
  z-index: 2;
  width: 96px;
}
.ev-phone--back {
  left: 12%;
  top: 54%;
  transform: translateY(-50%) rotate(-5deg);
  z-index: 1;
  width: 78px;
  opacity: 0.92;
}
.ev-screen-label {
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  line-height: 1;
}
.ev-screen-title {
  font-family: var(--display);
  font-size: 9px;
  font-weight: 700;
  color: var(--paper);
  line-height: 1.2;
}
.ev-screen-map {
  flex: 1;
  min-height: 36px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 30% 40%, rgba(255,185,56,0.2), transparent 45%),
    radial-gradient(circle at 70% 60%, rgba(95,217,138,0.15), transparent 40%),
    rgba(11,13,16,0.6);
  border: 1px solid rgba(247,245,239,0.08);
  position: relative;
}
.ev-pin {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7px;
  line-height: 1;
}
.ev-pin.main {
  left: 38%;
  top: 32%;
  background: rgba(255,185,56,0.2);
  border: 1px solid var(--signal);
  box-shadow: 0 0 10px rgba(255,185,56,0.35);
}
.ev-pin.alt {
  right: 22%;
  bottom: 24%;
  background: rgba(95,217,138,0.15);
  border: 1px solid var(--green);
  font-size: 6px;
}
.ev-screen-cta {
  height: 14px;
  border-radius: 7px;
  background: var(--signal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6px;
  font-weight: 700;
  color: var(--on-accent);
}
.ev-ring-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ev-ring {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid rgba(247,245,239,0.1);
  border-top-color: var(--signal);
  border-right-color: var(--signal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 8px;
  font-weight: 700;
  color: var(--signal);
}
.ev-screen-stat {
  font-size: 6px;
  color: var(--slate);
  text-align: center;
}
.ev-screen-stat b {
  display: block;
  color: var(--paper);
  font-size: 7px;
  font-weight: 700;
  margin-top: 1px;
}
.card-cover.cover-ev .ev-phone-stack { min-height: 140px; width: 100%; }
.card-cover.cover-ev .ev-phone--front { width: 72px; right: 10%; }
.card-cover.cover-ev .ev-phone--back { width: 60px; left: 8%; }
.card-cover.cover-ev .ev-phone-screen { padding: 6px 5px; gap: 4px; }
.card-cover.cover-ev .ev-screen-title { font-size: 7px; }
.card-cover.cover-ev .ev-screen-map { min-height: 28px; }
.card-cover.cover-ev .ev-ring { width: 28px; height: 28px; font-size: 7px; border-width: 2px; }
.work-card:hover .ev-phone--front { transform: translateY(-50%) rotate(3deg) scale(1.03); }
.work-card:hover .ev-phone--back { transform: translateY(-50%) rotate(-5deg) scale(1.02); }
.work-card:not(:hover) .ev-phone--front { animation: ev-float-front 5s ease-in-out infinite; }
.work-card:not(:hover) .ev-phone--back { animation: ev-float-back 5.6s ease-in-out infinite 0.45s; }
.project-card:not(:hover) .ev-phone--front { animation: ev-float-front 5s ease-in-out infinite; }
.project-card:not(:hover) .ev-phone--back { animation: ev-float-back 5.6s ease-in-out infinite 0.45s; }
.ev-pin.main { animation: ev-pin-glow 2.8s ease-in-out infinite; }
.ev-ring { animation: ev-charge-spin 5s linear infinite; }

.hero-stats .stat-item {
  animation: fade-up 0.7s var(--ease-out) both;
}
.hero-stats .stat-item:nth-child(1) { animation-delay: 0.55s; }
.hero-stats .stat-item:nth-child(2) { animation-delay: 0.65s; }
.hero-stats .stat-item:nth-child(3) { animation-delay: 0.75s; }
.hero-stats .stat-item:nth-child(4) { animation-delay: 0.85s; }

.work-card-body .work-link::after { animation: link-nudge 2.2s ease-in-out infinite; }
.work-card:hover .work-link::after { animation: none; transform: translateX(4px); }

.media-glyph {
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
}
.media-glyph .mg-mark {
  font-family: var(--display); font-size: 22px; font-weight: 700;
  color: var(--paper); letter-spacing: -0.01em;
}
.media-glyph .mg-sub {
  font-size: 12px; font-weight: 600; color: var(--slate);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.work-card-media.b2b { background: linear-gradient(135deg, #15233a, #0e1626); }
.work-card-media.b2c { background: linear-gradient(135deg, #15233a, #0a1018); }
.work-card-media.solo { background: linear-gradient(135deg, #1d2a1c, #121a12); }
.work-card-media .badge {
  position: absolute; top: 16px; left: 16px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--on-accent); background: var(--signal);
  padding: 4px 10px; border-radius: 100px;
}
.work-card-media .badge.alt { background: var(--paper); color: var(--on-accent); }
.work-card-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.work-card-body .ctx {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--slate-dim); margin-bottom: 10px;
}
.work-card-body h3 {
  font-family: var(--display); font-size: 20px; font-weight: 700;
  letter-spacing: -0.012em; margin-bottom: 10px; line-height: 1.25;
}
.work-card-body p { font-size: 14.5px; color: var(--slate); line-height: 1.6; margin-bottom: 18px; }
.work-card-body .work-metrics {
  display: flex; gap: 22px; margin-bottom: 20px; padding-top: 16px;
  border-top: 1px solid var(--line); margin-top: auto;
}
.work-card-body .work-metric .wm-num {
  font-family: var(--display); font-size: 20px; font-weight: 700;
  color: var(--signal); letter-spacing: -0.01em; display: block;
}
.work-card-body .work-metric .wm-label { font-size: 11.5px; color: var(--slate); }
.work-card-body .work-link {
  font-weight: 700; font-size: 14px; color: var(--signal);
  display: inline-flex; align-items: center; gap: 6px;
}
.work-card-body .work-link::after { content: "→"; transition: transform .15s ease; }
.work-card:hover .work-link::after { transform: translateX(4px); }

/* ── Skills Ticker ──────────────────────────────────── */
.ticker-wrap {
  overflow: hidden; border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0; margin: 60px 0 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.ticker-track {
  display: flex; gap: 0; width: max-content;
  animation: ticker-scroll 28s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  display: inline-flex; align-items: center; gap: 28px; padding: 0 28px;
  font-family: var(--sans); font-weight: 600; font-size: 13.5px;
  color: var(--paper-dim); white-space: nowrap;
}
.ticker-item .sep {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--signal); opacity: 0.7; flex-shrink: 0;
}

/* ── Portrait (shared) ──────────────────────────────── */
.portrait-card {
  position: relative; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); margin-bottom: 20px;
  aspect-ratio: 1 / 1; background: var(--surface-2);
}
.portrait-card.caricature-card {
  aspect-ratio: 4 / 3;
  padding: 1px;
  border: none;
  background: linear-gradient(145deg, rgba(255,185,56,0.32), rgba(255,185,56,0.06) 45%, rgba(95,160,255,0.14));
  box-shadow: var(--shadow-soft);
  transition: box-shadow .35s var(--ease-out), transform .35s var(--ease-out);
}
.portrait-card.caricature-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.portrait-card.caricature-card img {
  border-radius: 17px;
  object-fit: cover;
  object-position: center 20%;
}
.interest-strip {
  margin: 0 0 20px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(165deg, var(--surface), rgba(21,24,29,0.96));
}
.interest-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-dim);
  margin-bottom: 10px;
}
.interest-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.interest-chips span {
  font-size: 12px;
  font-weight: 500;
  color: var(--paper-dim);
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 4px 11px;
  border-radius: 100px;
  transition: border-color .2s var(--ease-out), color .2s var(--ease-out);
}
.interest-chips span:hover {
  border-color: rgba(255,185,56,0.28);
  color: var(--paper);
}
.soul-profile-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
}
.soul-profile-card .soul-wheel-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin-bottom: 16px;
  background: conic-gradient(
    #C98B82 0deg 60deg,
    #D4A04A 60deg 120deg,
    #6B9478 120deg 180deg,
    #6898B8 180deg 240deg,
    #B8956B 240deg 300deg,
    #A8849E 300deg 360deg
  );
}
.soul-profile-quote {
  font-size: 15px;
  color: var(--paper-dim);
  line-height: 1.65;
  margin-bottom: 16px;
}
.soul-profile-card .interest-strip { margin: 0; background: var(--surface-2); }
.portrait-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; display: block; }
.portrait-card .photo-fallback {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: 64px; letter-spacing: -0.02em;
  color: var(--signal);
  background:
    radial-gradient(circle at 30% 25%, rgba(255,185,56,0.22), transparent 60%),
    radial-gradient(circle at 75% 85%, rgba(95,160,255,0.18), transparent 60%),
    var(--surface);
}

/* ── About: Layout ──────────────────────────────────── */
.about-layout { padding: 0 0 56px; }
.about-top {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 48px;
  align-items: start;
}
.about-aside { position: sticky; top: 88px; }
.about-aside .portrait-card { margin-bottom: 16px; }
.about-aside .interest-strip { margin-bottom: 0; }
.about-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.about-facts .side-block { margin-bottom: 0; height: 100%; }

/* legacy alias */
.content-grid {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px;
  padding: 0 0 80px;
}
.bio p { color: var(--paper-dim); font-size: 17px; margin-bottom: 22px; line-height: 1.75; }
.bio p:last-child { margin-bottom: 0; }
.bio p b { color: var(--paper); font-weight: 700; }

.side-block {
  border: 1px solid var(--line); border-radius: 16px; padding: 28px;
  background: linear-gradient(165deg, var(--surface), rgba(28,32,38,0.95));
  margin-bottom: 20px;
  transition: border-color .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.side-block:hover {
  border-color: rgba(255,185,56,0.18);
  box-shadow: var(--shadow-soft);
}
.side-block .label {
  font-weight: 700; font-size: 11px; color: var(--slate-dim);
  letter-spacing: 0.08em; margin-bottom: 16px; text-transform: uppercase;
}
.timeline-item { display: flex; gap: 14px; margin-bottom: 18px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item .yr {
  font-weight: 700; font-size: 12px; color: var(--signal);
  flex-shrink: 0; width: 54px; padding-top: 2px;
}
.timeline-item .what b {
  display: block; font-size: 14.5px; color: var(--paper);
  margin-bottom: 2px; font-weight: 600;
}
.timeline-item .what span { font-size: 13px; color: var(--slate); }

/* ── About: Skills Section ──────────────────────────── */
.skills-section {
  padding: 60px 0 80px; border-top: 1px solid var(--line);
}
.skills-section-head { margin-bottom: 36px; }
.skills-section-head h2 {
  font-family: var(--display); font-size: clamp(24px, 3vw, 32px);
  font-weight: 700; letter-spacing: -0.015em; margin-bottom: 10px;
}
.skills-section-head p { color: var(--slate); font-size: 16px; max-width: 520px; }
.skills-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.skills-group {
  border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px;
  background: var(--surface);
  transition: border-color .2s ease;
}
.skills-group:hover { border-color: rgba(255,185,56,0.18); }
.skills-group-label {
  font-weight: 700; font-size: 11px; color: var(--signal);
  letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 14px;
}
.skills-list { display: flex; flex-wrap: wrap; gap: 7px; }
.skills-list .skill-tag {
  font-size: 12.5px; font-weight: 500; color: var(--paper-dim);
  background: var(--surface-2); border: 1px solid var(--line);
  padding: 4px 11px; border-radius: 100px;
}

/* ── About: Now Section ─────────────────────────────── */
section.now {
  padding: 60px 0 90px; border-top: 1px solid var(--line);
}
.now-section-head { margin-bottom: 32px; }
.now-section-head h2 {
  font-family: var(--display); font-size: clamp(24px, 3vw, 32px);
  font-weight: 700; letter-spacing: -0.015em;
}
.now-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (min-width: 960px) {
  .now-grid { grid-template-columns: repeat(4, 1fr); }
}
.now-card {
  border: 1px solid var(--line); border-radius: 16px; padding: 28px;
  background: var(--surface);
  transition: border-color .2s ease, transform .2s ease;
}
.now-card:hover { border-color: rgba(255,185,56,0.18); transform: translateY(-3px); }
.now-card .icon-label {
  font-weight: 700; font-size: 11px; color: var(--signal);
  letter-spacing: 0.06em; margin-bottom: 14px; text-transform: uppercase;
}
.now-card p { font-size: 15px; color: var(--paper-dim); line-height: 1.65; }

/* ── Contact Grid ───────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.contact-card {
  border: 1px solid var(--line); border-radius: 16px; padding: 34px;
  background: linear-gradient(165deg, var(--surface), rgba(28,32,38,0.92));
  transition: background .25s var(--ease-out), transform .28s var(--ease-out), border-color .28s var(--ease-out), box-shadow .28s var(--ease-out);
  display: flex; flex-direction: column; gap: 14px;
}
.contact-card:hover {
  background: var(--surface-2); transform: translateY(-5px);
  border-color: rgba(255,185,56,0.45);
  box-shadow: 0 20px 48px rgba(255,185,56,0.12);
}
.contact-card .label {
  font-weight: 700; font-size: 11px; color: var(--slate-dim);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.contact-card .value {
  font-family: var(--display); font-size: 22px; font-weight: 600;
  letter-spacing: -0.01em; color: var(--paper);
}
.contact-card .arrow {
  font-weight: 700; font-size: 13px; color: var(--signal);
  display: flex; align-items: center; gap: 6px; margin-top: auto;
}
.contact-card .arrow::after { content: "→"; transition: transform .15s ease; }
.contact-card:hover .arrow::after { transform: translateX(4px); }

/* ── Contact Note ───────────────────────────────────── */
.note {
  margin-top: 40px; padding: 28px 32px; border-radius: 16px;
  border: 1px solid var(--line); background: var(--surface);
  font-size: 15.5px; color: var(--slate); line-height: 1.7;
}
.note b { color: var(--paper-dim); }

/* ── Footer ─────────────────────────────────────────── */
footer { border-top: 1px solid var(--line); padding: 36px 0; }
footer .wrap,
footer .footer-inner {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
footer .copy { font-family: var(--sans); font-size: 13px; color: var(--slate-dim); }
.footer-tag {
  font-size: 12px;
  color: var(--slate);
  font-weight: 500;
  letter-spacing: 0.01em;
}
footer .social { display: flex; gap: 24px; }
footer .social a {
  font-family: var(--sans); font-weight: 500; font-size: 13px; color: var(--slate);
  transition: color .15s ease;
}
footer .social a:hover { color: var(--paper); }

/* ── Focus ──────────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 880px) {
  .showcase-grid { grid-template-columns: 1fr !important; }
  .showcase-media { min-height: 280px; padding: 28px; flex-direction: column; }
  .showcase-media .img-pair { flex-direction: column; }
  .showcase-body { padding: 32px 28px; }
  .detail-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .proof-strip { flex-direction: column; align-items: flex-start; }
  .skills-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 820px) {
  .content-grid { grid-template-columns: 1fr !important; gap: 40px; }
  .about-top { grid-template-columns: 1fr !important; gap: 32px; }
  .about-aside { position: static; }
  .about-facts { grid-template-columns: 1fr !important; }
  .now-grid { grid-template-columns: 1fr !important; }
  .metrics-strip { gap: 0; flex-wrap: wrap; }
  .metric { padding: 0 24px 0 0; margin: 0 24px 16px 0; }
  .pillars { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  nav.primary {
    display: none;
    flex-direction: column; gap: 4px;
    position: fixed; top: 68px; left: 0; right: 0;
    background: rgba(11,13,16,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 28px 24px;
    border-bottom: 1px solid var(--line);
  }
  nav.primary.open { display: flex; }
  nav.primary.open a { width: fit-content; }
  .hamburger { display: flex; }
  .page-head { padding: 60px 0 40px; }
  section { padding: 64px 0; }
  .showcase-body { padding: 28px 24px; }
  .contact-grid { grid-template-columns: 1fr !important; }
  footer .wrap,
  footer .footer-inner { flex-direction: column; align-items: flex-start; }
  .skills-grid { grid-template-columns: 1fr !important; }
}

/* ── Added motion: progress · shimmer · tilt · magnetic ─ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--signal), #ffd98a);
  box-shadow: 0 0 12px rgba(255,185,56,0.55);
  z-index: 100; pointer-events: none;
}

@keyframes text-shimmer {
  to { background-position: 200% center; }
}
.page-head h1 .highlight,
.rotator-word {
  background: linear-gradient(100deg, var(--signal) 0%, #ffe1a0 28%, var(--signal) 52%, #ffeec2 76%, var(--signal) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: text-shimmer 5.5s linear infinite;
}

/* subtle scale-in on every reveal */
.reveal { transform: translateY(28px) scale(0.99); }
.reveal.visible { transform: translateY(0) scale(1); }

/* JS-driven 3D tilt on cards */
.tilt-card { transition: transform .25s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s var(--ease-out); will-change: transform; transform-style: preserve-3d; }

/* skill tags & chips — hover pop */
.skill-tag, .interest-chips span {
  transition: transform .2s var(--ease-out), border-color .2s var(--ease-out), background .2s var(--ease-out), color .2s var(--ease-out);
}
.skill-tag:hover, .interest-chips span:hover {
  transform: translateY(-3px);
  border-color: rgba(255,185,56,0.45);
  color: var(--paper);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .soul-wheel-float { animation: none !important; }
  .page-head h1 .highlight, .rotator-word { animation: none !important; }
  .scroll-progress { display: none; }
}
