/* ══════════════════════════════════════════════
   SHAURYA PORTFOLIO · style.css · v4 — Final
══════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────── */
:root {
  --bg:          #050508;
  --bg2:         #0a0a13;
  --surface:     rgba(255,255,255,0.03);
  --surface-hi:  rgba(255,255,255,0.055);
  --border:      rgba(255,255,255,0.065);
  --border-hi:   rgba(255,255,255,0.13);
  --text:        #ede9f6;
  --text-muted:  #7e7a96;
  --text-dim:    #38364f;
  --cyan:        #00d4ff;
  --cyan-dim:    rgba(0,212,255,0.1);
  --cyan-glow:   rgba(0,212,255,0.2);
  --violet:      #a78bfa;
  --pink:        #f472b6;
  --green:       #4ade80;
  --amber:       #fbbf24;
  --grad-text:   linear-gradient(125deg, #00d4ff 0%, #a78bfa 45%, #f472b6 100%);
  --grad-btn:    linear-gradient(135deg, #00c8f0, #6d5fff);
  --font-d:      'Bricolage Grotesque', sans-serif;
  --font-b:      'Plus Jakarta Sans', sans-serif;
  --radius:      18px;
  --nav-h:       68px;
  --max-w:       1160px;
  --spring:      cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── RESET ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* ── CURSOR (desktop only) ───────────────────── */
@media (pointer: fine) {
  * { cursor: none !important; }
}
.cursor {
  position: fixed;
  width: 20px; height: 20px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: transform 0.2s var(--spring);
  will-change: left, top, transform;
}
.cursor::before, .cursor::after {
  content: '';
  position: absolute;
  background: var(--cyan);
  border-radius: 2px;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  transition: width 0.22s var(--spring), height 0.22s var(--spring), opacity 0.2s;
  opacity: 0.82;
}
.cursor::before,
.cursor::after {
  display: none;
}
.cursor-center {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.cursor::before,
.cursor::after {
  display: none;
}
body.cursor-hover .cursor { transform: translate(-50%,-50%) rotate(45deg); }
body.cursor-hover .cursor::before { width: 28px; opacity: 1; }
body.cursor-hover .cursor::after  { height: 28px; opacity: 1; }
@media (pointer: coarse) { .cursor { display: none; } }

/* ── CARD PREVIEW FLOATER ────────────────────── */
.card-preview-float {
  position: fixed;
  pointer-events: none;
  z-index: 8888;
  transform: translate(-50%, -120%) scale(0.82);
  opacity: 0;
  transition:
    opacity   0.28s var(--spring),
    transform 0.28s var(--spring);
  will-change: left, top, transform, opacity;
}
.card-preview-float.active {
  opacity: 1;
  transform: translate(-50%, -120%) scale(1);
}
.cpf-inner {
  background: var(--bg2);
  border: 1px solid var(--border-hi);
  border-radius: 12px;
  padding: 0.5rem 1rem;
  font-family: var(--font-b);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  white-space: nowrap;
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cpf-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
@media (pointer: coarse) { .card-preview-float { display: none; } }

/* ── SCROLL BAR ──────────────────────────────── */
.scroll-bar {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--pink));
  z-index: 9998;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 8px var(--cyan-glow);
  transition: width 0.06s linear;
}

/* ── AURORA BACKGROUND ───────────────────────── */
#aurora-bg {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  width: 100%; height: 100%;
  display: block;
}
.bg-noise {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

/* ── NAV ─────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 200;
  border-bottom: 1px solid transparent;
  transition: background 0.5s, border-color 0.5s, box-shadow 0.5s;
}
.nav.scrolled {
  background: rgba(5,5,8,0.84);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-color: var(--border);
  box-shadow: 0 1px 0 rgba(255,255,255,0.035), 0 8px 40px rgba(0,0,0,0.5);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 clamp(1.5rem,5vw,3rem);
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-d); font-weight: 700;
  font-size: 1.1rem; letter-spacing: -0.03em;
  color: var(--text); transition: color 0.2s;
}
.nav-logo:hover { color: var(--cyan); }
.nav-links { list-style: none; display: flex; gap: 2.2rem; }
.nav-link {
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.04em;
  color: var(--text-muted); transition: color 0.2s; position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px; background: var(--cyan);
  transition: width 0.28s var(--spring);
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-cta {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 0.46rem 1.15rem; border-radius: 100px;
  border: 1px solid var(--border-hi); color: var(--text-muted);
  transition: all 0.25s; white-space: nowrap;
}
.nav-cta:hover { background: var(--cyan-dim); border-color: var(--cyan); color: var(--cyan); }

/* ── HERO ─────────────────────────────────────── */
.hero {
  position: relative; z-index: 1;
  min-height: 100svh; display: flex; align-items: center;
  padding: var(--nav-h) clamp(1.5rem,5vw,3rem) 4rem;
  overflow: hidden;
}
/* hero ambient light blob */
.hero-light {
  position: absolute; width: 560px; height: 560px; border-radius: 50%;
  pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(0,212,255,0.055) 0%, transparent 70%);
  transform: translate(-50%,-50%);
  transition: left 0.7s var(--spring), top 0.7s var(--spring);
  will-change: left, top;
}
.hero-content {
  max-width: var(--max-w); margin: 0 auto;
  width: 100%; position: relative; z-index: 1;
}

/* badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.76rem; font-weight: 500; letter-spacing: 0.06em;
  color: rgba(74,222,128,0.9);
  background: rgba(74,222,128,0.055);
  border: 1px solid rgba(74,222,128,0.18);
  padding: 0.3rem 0.9rem; border-radius: 100px;
  margin-bottom: 2.8rem;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 8px var(--green);
  animation: pulseDot 2.4s ease infinite;
}
@keyframes pulseDot {
  0%,100% { opacity:1; box-shadow: 0 0 8px var(--green); }
  50%      { opacity:0.4; box-shadow: 0 0 3px var(--green); }
}

/* title — more generous line spacing */
.hero-title {
  font-family: var(--font-d);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.hero-verb {
  font-size: clamp(2.6rem,6.5vw,5.8rem);
  font-weight: 300;
  color: var(--text-muted);
}
.hero-focus {
  font-size: clamp(4.5rem,10.5vw,9.5rem);
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradPulse 6s ease infinite;
  position: relative;
  display: inline-block;
}
.focus-line {
  position: absolute; bottom: 2px; left: 0; right: 0;
  height: 3px; border-radius: 3px;
  background: var(--grad-text); background-size: 200% 200%;
  animation: gradPulse 6s ease infinite;
  opacity: 0.4;
}
.word-swap { display: inline-block; will-change: transform, opacity; }
@keyframes gradPulse {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.hero-noun {
  font-size: clamp(2.4rem,6vw,5.5rem);
  font-weight: 700;
  color: var(--text);
}

/* byline */
.hero-byline {
  font-size: clamp(0.9rem,1.8vw,1.05rem);
  color: var(--text-muted); font-weight: 300;
  font-style: italic; margin-bottom: 2.8rem;
}
.byline-name {
  font-style: normal; font-weight: 600;
  color: var(--text); letter-spacing: -0.01em;
}

/* ── BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.72rem 1.6rem; border-radius: 100px;
  font-family: var(--font-b); font-size: 0.86rem;
  font-weight: 600; letter-spacing: 0.02em;
  position: relative; overflow: hidden;
  transition: transform 0.25s var(--spring), box-shadow 0.25s;
  will-change: transform;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.07); opacity: 0;
  transition: opacity 0.2s; border-radius: inherit;
}
.btn:hover::before { opacity: 1; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-primary { background: var(--grad-btn); color: #fff; }
.btn-primary:hover { box-shadow: 0 6px 28px var(--cyan-glow), 0 0 0 1px rgba(0,212,255,0.22); }
.btn-ghost { background: transparent; color: var(--text-muted); border: 1px solid var(--border-hi); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--text); }
.btn-lg { padding: 0.88rem 2rem; font-size: 0.93rem; }
.hero-actions {
  display: flex; align-items: center; gap: 1rem;
  flex-wrap: wrap; margin-bottom: 3.8rem;
}
@media (max-width: 400px) { .hero-actions { flex-direction: column; align-items: flex-start; } }

/* ── STATS ───────────────────────────────────── */
.hero-stats { display: flex; align-items: center; gap: 2.2rem; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; gap: 0.18rem; }
.stat-row { display: flex; align-items: baseline; gap: 2px; }
.stat-num {
  font-family: var(--font-d); font-size: 2.2rem; font-weight: 800;
  letter-spacing: -0.05em; color: var(--text); line-height: 1;
}
.stat-plus { font-size: 1.05rem; font-weight: 700; color: var(--cyan); }
.stat-label { font-size: 0.69rem; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-dim); }
.stat-div { width: 1px; height: 36px; background: var(--border); }
@media (max-width: 420px) { .stat-div { display: none; } }

/* ── SCROLL HINT ─────────────────────────────── */
.hero-scroll-hint {
  position: absolute; bottom: 2.5rem; right: clamp(1.5rem,5vw,3rem);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim);
}
.scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, transparent, var(--text-dim));
  animation: scrollAnim 2.4s ease infinite;
}
@keyframes scrollAnim {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── SECTIONS ────────────────────────────────── */
.section { position: relative; z-index: 1; padding: clamp(4rem,8vw,7rem) 0; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(1.5rem,5vw,3rem); }
.section-eyebrow {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 0.75rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.section-eyebrow::before { content: ''; display: inline-block; width: 20px; height: 1px; background: var(--cyan); }
.section-title {
  font-family: var(--font-d); font-size: clamp(2.2rem,5vw,3.8rem);
  font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; color: var(--text);
}
.section-title em {
  font-style: italic;
  background: var(--grad-text); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.section-head { margin-bottom: 3.2rem; }

/* ── ABOUT ───────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1.45fr; gap: 5rem; align-items: start; }
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; gap: 2rem; } }
.about-text { font-size: 0.97rem; color: var(--text-muted); line-height: 1.88; margin-bottom: 1.2rem; }
.about-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.chip {
  font-size: 0.76rem; font-weight: 500; padding: 0.28rem 0.82rem;
  border-radius: 100px; border: 1px solid var(--border-hi);
  color: var(--text-muted); background: var(--surface);
  transition: all 0.22s var(--spring);
}
.chip:hover { border-color: var(--cyan); color: var(--cyan); background: var(--cyan-dim); transform: translateY(-1px); }

/* ── PROJECT CARDS ───────────────────────────── */
.projects-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; }
@media (max-width: 960px) { .projects-grid { grid-template-columns: 1fr 1fr; } .project-card--next { grid-column: 1/-1; } }
@media (max-width: 560px) { .projects-grid { grid-template-columns: 1fr; } }

.project-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  transition:
    transform    0.5s var(--spring),
    border-color 0.3s,
    box-shadow   0.5s var(--spring);
  will-change: transform;
}
/* Desktop: tilt is applied via JS; mobile gets just lift */
@media (pointer: fine) {
  .project-card:hover {
    border-color: rgba(0,212,255,0.26);
    box-shadow: 0 24px 70px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
  }
}
@media (pointer: coarse) {
  .project-card:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: rgba(0,212,255,0.22);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  }
}

/* shine overlay */
.card-shine {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  border-radius: inherit; opacity: 0; transition: opacity 0.3s;
}
.project-card:hover .card-shine { opacity: 1; }

/* image zone */
.card-img-wrap {
  position: relative; width: 100%; aspect-ratio: 16/9;
  overflow: hidden; background: var(--bg2);
}
.card-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.55s var(--spring); }
.project-card:hover .card-img { transform: scale(1.05); }
.card-img-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  padding: 1rem; transition: opacity 0.3s;
}
.card-img-placeholder svg { width: 100%; height: 100%; max-width: 200px; }
.card-img-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; height: 65%;
  background: linear-gradient(to top, var(--bg2) 0%, transparent 100%);
  pointer-events: none;
}

/* card body */
.card-body { padding: 1.4rem 1.6rem 1.7rem; position: relative; z-index: 1; }
.card-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.85rem; }
.card-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.tag {
  font-size: 0.63rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--cyan); background: var(--cyan-dim);
  border: 1px solid rgba(0,212,255,0.16); padding: 0.17rem 0.5rem; border-radius: 5px;
}
.tag--coming { color: var(--amber); background: rgba(251,191,36,0.08); border-color: rgba(251,191,36,0.2); }
.card-index { font-family: var(--font-d); font-size: 0.72rem; font-weight: 700; color: var(--text-dim); }
.card-title {
  font-family: var(--font-d); font-size: 1.22rem; font-weight: 700;
  letter-spacing: -0.03em; color: var(--text); margin-bottom: 0.5rem; line-height: 1.2;
}
.card-title--xl { font-size: clamp(1.8rem,3.5vw,2.5rem); font-weight: 800; margin-bottom: 1rem; }
.card-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.72; margin-bottom: 1.35rem; }
.card-footer { display: flex; gap: 0.65rem; flex-wrap: wrap; }
.card-btn {
  display: inline-flex; align-items: center; gap: 0.38rem;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.03em;
  color: var(--text); background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-hi); padding: 0.4rem 0.82rem; border-radius: 8px;
  transition: all 0.22s var(--spring);
}
.card-btn:hover { background: var(--cyan-dim); border-color: rgba(0,212,255,0.32); color: var(--cyan); transform: translateY(-1px); }
.card-btn--ghost { background: transparent; color: var(--text-muted); }

/* featured "next" card */
.project-card--next {
  background: linear-gradient(135deg, rgba(0,212,255,0.035), rgba(167,139,250,0.045));
  border-color: rgba(0,212,255,0.09);
  min-height: 210px; display: flex; align-items: center;
}
.card-body--next { width: 100%; }
.next-ring {
  position: absolute; right: -55px; top: 50%; transform: translateY(-50%);
  width: 250px; height: 250px; border-radius: 50%;
  border: 1px solid rgba(0,212,255,0.07); pointer-events: none;
}
.next-ring::before {
  content: ''; position: absolute; inset: 20px; border-radius: 50%;
  border: 1px dashed rgba(167,139,250,0.09);
  animation: ringRot 20s linear infinite;
}
.next-ring::after {
  content: ''; position: absolute; inset: 42px; border-radius: 50%;
  border: 1px solid rgba(244,114,182,0.06);
  animation: ringRot 13s linear infinite reverse;
}
@keyframes ringRot { to { transform: rotate(360deg); } }
@media (max-width: 560px) { .next-ring { display: none; } }

/* ── SKILLS ──────────────────────────────────── */
.section--skills { overflow: hidden; }
.marquee-wrap {
  position: relative; margin-bottom: 3rem;
}
.marquee-wrap::before, .marquee-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 130px;
  z-index: 2; pointer-events: none;
}
.marquee-wrap::before { left:0;  background: linear-gradient(to right, rgba(5,5,8,0.7), transparent); }
.marquee-wrap::after  { right:0; background: linear-gradient(to left,  rgba(5,5,8,0.7), transparent); }
.marquee { overflow: hidden; padding: 1rem 0; border-top: 1px solid rgba(255,255,255,0.04); border-bottom: 1px solid rgba(255,255,255,0.04); }
.marquee-track {
  display: flex; align-items: center; gap: 1.6rem;
  width: max-content; animation: marqueeRun 30s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeRun { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.m-item {
  font-family: var(--font-d); font-size: 1.05rem; font-weight: 700;
  letter-spacing: -0.02em; color: var(--text-muted); white-space: nowrap; transition: color 0.2s;
}
.m-item:hover { color: var(--cyan); }
.m-dot { color: var(--cyan); font-size: 0.55rem; opacity: 0.4; }

.skill-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; }
@media (max-width: 640px) { .skill-cards { grid-template-columns: 1fr; } }
.skill-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.8rem 1.7rem;
  transition: border-color 0.3s, background 0.3s, transform 0.35s var(--spring);
}
.skill-card:hover { border-color: var(--border-hi); background: var(--surface-hi); transform: translateY(-4px); }
.skill-icon-wrap {
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--border-hi); background: var(--surface-hi);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan); margin-bottom: 1.1rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.skill-card:hover .skill-icon-wrap { border-color: rgba(0,212,255,0.32); box-shadow: 0 0 14px var(--cyan-dim); }
.skill-name { font-family: var(--font-d); font-size: 1rem; font-weight: 700; letter-spacing: -0.02em; color: var(--text); margin-bottom: 0.5rem; }
.skill-desc { font-size: 0.83rem; color: var(--text-muted); line-height: 1.72; }

/* ── CONTACT ─────────────────────────────────── */
.section--contact { text-align: center; }
.contact-wrap { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.contact-badge {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green); background: rgba(74,222,128,0.06);
  border: 1px solid rgba(74,222,128,0.18);
  padding: 0.28rem 1rem; border-radius: 100px; margin-bottom: 1.8rem;
}
.contact-title {
  font-family: var(--font-d);
  font-size: clamp(2.5rem,7vw,5.5rem); font-weight: 800;
  letter-spacing: -0.04em; line-height: 1.05; color: var(--text); margin-bottom: 1.1rem;
}
.title-outline {
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.2);
  -webkit-text-fill-color: transparent; color: transparent;
  transition: -webkit-text-stroke-color 0.35s;
}
.contact-wrap:hover .title-outline { -webkit-text-stroke-color: var(--cyan); }
.contact-sub { font-size: 0.96rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 400px; line-height: 1.72; }
.contact-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2rem; }
@media (max-width: 400px) { .contact-actions { flex-direction: column; width: 100%; } .contact-actions .btn { justify-content: center; } }
.contact-email {
  font-size: 0.8rem; color: var(--text-dim); letter-spacing: 0.04em;
  font-style: italic; padding-top: 1rem; border-top: 1px solid var(--border);
  width: 100%; text-align: center;
}

/* ── FOOTER ──────────────────────────────────── */
.footer {
  position: relative; z-index: 1;
  padding: 1.8rem clamp(1.5rem,5vw,3rem);
  border-top: 1px solid var(--border);
  background: rgba(5,5,8,0.7); backdrop-filter: blur(10px);
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.8rem;
}
.footer-logo { font-family: var(--font-d); font-weight: 700; font-size: 1rem; letter-spacing: -0.03em; color: var(--text-muted); }
.footer-copy, .footer-stack { font-size: 0.73rem; color: var(--text-dim); letter-spacing: 0.04em; }
@media (max-width: 420px) { .footer-inner { flex-direction: column; text-align: center; } }

/* ── REVEAL ──────────────────────────────────── */
.reveal-up {
  opacity: 0; transform: translateY(26px);
  transition:
    opacity   0.78s var(--spring),
    transform 0.78s var(--spring);
  transition-delay: var(--d, 0s);
}
.reveal-up.visible { opacity: 1; transform: translateY(0); }

/* ── MOBILE OVERRIDES ────────────────────────── */
@media (max-width: 600px) {
  .nav-links, .nav-cta, .hero-scroll-hint { display: none; }
  .hero { padding-bottom: 3rem; }
  .hero-title { gap: 0.15rem; }
}
