/* =====================================================
   Rohit Raju, Portfolio v2
   Editorial × modern product. Dark by default.
   ===================================================== */

:root {
  /* Original: near-black + white + vivid orange */
  --bg: #0d0d0d;
  --bg-elev: #161616;
  --bg-soft: #1f1f1f;
  --line: rgba(255,255,255,0.09);
  --line-strong: rgba(255,255,255,0.2);
  --text: #f5f5f5;
  --text-soft: #a8a8a8;
  --text-muted: #6d6d6d;
  --accent: #ff7a1a;
  --accent-2: #ff944d;
  --accent-glow: rgba(255, 122, 26, 0.32);

  /* Type */
  --font-display: "Instrument Serif", "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  /* Rhythm */
  --container: 1180px;
  --container-narrow: 880px;
  --gap: clamp(1.25rem, 2vw, 2rem);
  --radius: 14px;
  --radius-sm: 8px;

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --dur: 480ms;
}

[data-theme="light"] {
  --bg: #ffffff;
  --bg-elev: #f7f7f7;
  --bg-soft: #ededed;
  --line: rgba(13,13,13,0.1);
  --line-strong: rgba(13,13,13,0.22);
  --text: #0d0d0d;
  --text-soft: #4a4a4a;
  --text-muted: #7a7a7a;
  --accent: #e55a00;
  --accent-2: #c94d00;
  --accent-glow: rgba(229, 90, 0, 0.22);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
em { font-family: var(--font-display); font-style: italic; font-weight: 400; color: var(--accent); }

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

/* ---------- ambient background ---------- */
.grain {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}
.halo {
  position: fixed; top: -20vh; left: 50%; transform: translateX(-50%);
  width: 90vw; height: 90vh; z-index: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 30%, var(--accent-glow) 0%, transparent 55%);
  filter: blur(60px);
  opacity: 0.9;
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1.25rem, 4vw, 3rem);
  background: color-mix(in oklab, var(--bg) 75%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__brand {
  display: inline-flex; align-items: center;
  transition: opacity 200ms var(--ease);
}
.nav__brand:hover { opacity: 0.78; }
.nav__sig {
  height: 42px; width: auto; display: block;
  filter: drop-shadow(0 1px 6px rgba(0,0,0,0.6));
}
[data-theme="light"] .nav__sig { filter: invert(1) drop-shadow(0 1px 4px rgba(0,0,0,0.15)); }

.nav__links {
  display: flex; gap: 2rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-soft);
}
.nav__links a {
  position: relative; padding: .25rem 0;
  transition: color 180ms var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  height: 1px; width: 0; background: var(--accent);
  transition: width 260ms var(--ease);
}
.nav__links a:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: .5rem; }
.theme-toggle {
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--text-soft);
  transition: color 180ms, border-color 180ms, background 180ms;
}
.theme-toggle:hover { color: var(--text); border-color: var(--line-strong); background: var(--bg-soft); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }

.nav__menu { display: none; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 8px; flex-direction: column; justify-content: space-between; }
.nav__menu span { display: block; height: 1px; background: var(--text); transition: transform 220ms var(--ease); }

/* ---------- layout helpers ---------- */
main { position: relative; z-index: 1; }
.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) clamp(1.25rem, 4vw, 3rem);
}
.section__head { max-width: var(--container-narrow); margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section__num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}
.section__sub {
  font-size: 1.05rem;
  color: var(--text-soft);
  max-width: 58ch;
  margin: 0;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 7rem) clamp(1.25rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem);
}
.hero > *:not(.hero__portrait) { position: relative; z-index: 1; }
.hero__portrait {
  position: absolute;
  top: 0; right: -2vw; bottom: 0;
  width: min(55%, 680px);
  background-image: url("images/Rohit_BG_1.jpeg");
  background-size: cover;
  background-position: center 25%;
  background-repeat: no-repeat;
  filter: grayscale(0.35) contrast(1.05) brightness(0.95);
  opacity: 0.7;
  -webkit-mask-image: linear-gradient(to left, #000 30%, transparent 100%);
          mask-image: linear-gradient(to left, #000 30%, transparent 100%);
  pointer-events: none;
}
[data-theme="light"] .hero__portrait {
  mix-blend-mode: normal;
  opacity: 0.9;
  filter: grayscale(0.22) contrast(1.08) brightness(1.0) saturate(1);
  -webkit-mask-image: linear-gradient(to left, #000 36%, transparent 100%);
          mask-image: linear-gradient(to left, #000 36%, transparent 100%);
}
@media (max-width: 560px) {
  .hero__portrait { opacity: 0.22; width: 75%; }
  [data-theme="light"] .hero__portrait { opacity: 0.42; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  padding: .4rem .85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-elev);
  margin: 0 0 2rem;
}
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #3ccf5f;
  box-shadow: 0 0 0 3px rgba(60, 207, 95, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(60, 207, 95, 0.18); }
  50%      { box-shadow: 0 0 0 6px rgba(60, 207, 95, 0.05); }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 8.4vw, 7rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0 0 1.75rem;
  max-width: 18ch;
}
.hero__lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--text-soft);
  max-width: 62ch;
  margin: 0 0 2rem;
  line-height: 1.7;
}
.hero__lede strong { color: var(--text); font-weight: 600; }
.hero__lede a { border-bottom: 1px solid var(--line-strong); transition: color 180ms, border-color 180ms; }
.hero__lede a:hover { color: var(--accent); border-color: var(--accent); }

.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 4rem; }

.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.25rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: transform 180ms var(--ease), background 180ms, color 180ms, border-color 180ms;
  border: 1px solid transparent;
}
.btn svg { width: 16px; height: 16px; }
.btn--primary {
  background: var(--text); color: var(--bg);
}
.btn--primary:hover { transform: translateY(-1px); background: var(--accent); color: var(--bg); }
.btn--ghost {
  color: var(--text); border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero__proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 0;
  border-top: 1px solid var(--line);
}
.hero__proof li { display: flex; flex-direction: column; gap: .25rem; }
.proof__num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.01em;
}
.proof__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

@media (max-width: 680px) {
  .hero__proof { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- WORK LIST ---------- */
.work-list { display: flex; flex-direction: column; }
.work-item { border-top: 1px solid var(--line); }
.work-item:last-child { border-bottom: 1px solid var(--line); }

.work-item__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem 2rem;
  padding: 2rem 0;
  position: relative;
  transition: padding-left 360ms var(--ease);
}
.work-item__inner::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--accent);
  transform: scaleY(0); transform-origin: top;
  transition: transform 360ms var(--ease);
}
.work-item__inner:hover { padding-left: 1.25rem; }
.work-item__inner:hover::before { transform: scaleY(1); }
.work-item__inner:hover .work-item__title { color: var(--accent); }
.work-item__inner:hover .work-item__arrow { color: var(--accent); transform: translate(2px, -2px); }

.work-item__meta {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.work-item__idx { color: var(--accent); }
.work-item__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: .35rem 0 0;
  grid-column: 1;
  transition: color 260ms var(--ease);
}
.work-item__desc {
  grid-column: 1;
  color: var(--text-soft);
  max-width: 68ch;
  margin: .5rem 0 0;
}
.work-item__foot {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  margin-top: .75rem;
}
.work-item__ext {
  display: inline-flex; gap: 1rem; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 0.8rem;
}
.work-item__ext a {
  color: var(--text-soft);
  border-bottom: 1px dotted var(--line-strong);
  padding-bottom: 1px;
  transition: color 180ms, border-color 180ms;
}
.work-item__ext a:hover { color: var(--accent); border-color: var(--accent); }
.work-item__arrow {
  color: var(--text-muted);
  transition: color 260ms var(--ease), transform 260ms var(--ease);
  align-self: end;
}
.work-item__arrow svg { width: 22px; height: 22px; }

/* ---------- PUBLICATIONS ---------- */
.pubs { display: grid; gap: 0; }
.pub {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 1.5rem 2rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.pubs .pub:last-child { border-bottom: 1px solid var(--line); }
.pub__venue {
  display: flex; flex-direction: column; gap: .25rem;
  font-family: var(--font-mono); font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.pub__venue span:first-child { color: var(--accent); }
.pub__title {
  margin: 0;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  line-height: 1.25;
}
.pub__desc {
  grid-column: 2;
  color: var(--text-soft);
  margin: .5rem 0 0;
  max-width: 68ch;
  font-size: 0.97rem;
}
.pub__link {
  font-family: var(--font-mono); font-size: 0.8rem;
  color: var(--text);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  white-space: nowrap;
  transition: color 180ms, border-color 180ms;
}
.pub__link:not(.pub__link--muted):hover { color: var(--accent); border-color: var(--accent); }
.pub__link--muted { color: var(--text-muted); border-bottom-style: dotted; cursor: default; }

@media (max-width: 820px) {
  .pub { grid-template-columns: 1fr; gap: .5rem; }
  .pub__desc, .pub__link { grid-column: 1; }
}

/* ---------- CREATOR CARD ---------- */
.creator-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: linear-gradient(180deg, var(--bg-elev) 0%, var(--bg-soft) 100%);
  overflow: hidden;
  display: flex; flex-direction: column; gap: 2rem;
}
.creator-card::before {
  content: ""; position: absolute; top: -80px; right: -80px;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.creator-card__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  position: relative;
}
.creator-card__stats > div {
  display: flex; flex-direction: column; gap: .4rem;
  padding-right: 1rem;
  border-left: 1px solid var(--line);
  padding-left: 1.25rem;
}
.creator-card__stats > div:first-child { border-left: 0; padding-left: 0; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1; letter-spacing: -0.02em;
}
.stat__label {
  font-family: var(--font-mono); font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text-muted);
}
.creator-card__cta {
  align-self: start;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 1.25rem;
  border-radius: 999px;
  background: var(--accent); color: var(--bg);
  font-weight: 500;
  transition: transform 180ms, box-shadow 180ms;
  box-shadow: 0 10px 30px -12px var(--accent-glow);
}
.creator-card__cta:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px var(--accent-glow); }
.creator-card__cta svg { width: 16px; height: 16px; }

@media (max-width: 680px) {
  .creator-card__stats { grid-template-columns: 1fr; gap: 1.25rem; }
  .creator-card__stats > div { border-left: 0; border-top: 1px solid var(--line); padding: 1rem 0 0; }
  .creator-card__stats > div:first-child { border-top: 0; padding-top: 0; }
}

/* ---------- ABOUT ---------- */
.about {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: 4.5rem;
}
.about__prose p {
  font-size: 1.075rem;
  color: var(--text-soft);
  margin: 0 0 1.25rem;
  line-height: 1.75;
}
.about__prose p:last-child { margin-bottom: 0; }

.skills h3 {
  font-family: var(--font-mono); font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}
.skills__group { margin-bottom: 1.5rem; }
.skills__label {
  display: block;
  font-family: var(--font-mono); font-size: 0.74rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: .6rem;
}
.tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tags li {
  padding: .35rem .7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-soft);
  background: var(--bg-elev);
  transition: border-color 180ms, color 180ms;
}
.tags li:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 820px) {
  .about { grid-template-columns: 1fr; }
}

/* ---------- TIMELINE ---------- */
.timeline__title {
  font-family: var(--font-mono); font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 1.75rem;
}
.timeline__list { display: flex; flex-direction: column; gap: 0; }
.timeline__list > li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.25rem 2rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}
.timeline__list > li:last-child { border-bottom: 1px solid var(--line); }
.timeline__date {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.06em;
  padding-top: .4rem;
}
.timeline__list h4 {
  margin: 0 0 .25rem;
  font-size: 1.15rem;
  font-weight: 600;
}
.timeline__org {
  margin: 0 0 .75rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
}
.timeline__list p:not(.timeline__org) {
  color: var(--text-soft);
  margin: 0;
  max-width: 72ch;
}

@media (max-width: 720px) {
  .timeline__list > li { grid-template-columns: 1fr; gap: .5rem; }
}

.timeline__edu {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: .6rem;
  font-size: 0.95rem;
  color: var(--text-soft);
}
.timeline__edu-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: .25rem;
}
.timeline__edu strong { color: var(--text); font-weight: 600; }

/* ---------- QUOTES ---------- */
.quotes {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.quote {
  margin: 0;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elev);
  position: relative;
  transition: border-color 260ms, transform 260ms;
}
.quote:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.quote::before {
  content: "\201C";
  position: absolute; top: -22px; left: 16px;
  font-family: var(--font-display);
  font-size: 5rem; line-height: 1;
  color: var(--accent);
}
.quote blockquote {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  color: var(--text-soft);
  line-height: 1.7;
}
.quote figcaption {
  display: flex; flex-direction: column; gap: .1rem;
  font-size: 0.9rem;
}
.quote figcaption strong { color: var(--text); }
.quote figcaption span {
  font-family: var(--font-mono); font-size: 0.76rem;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.06em;
}

@media (max-width: 820px) {
  .quotes { grid-template-columns: 1fr; }
}

/* ---------- SIDENOTE (YouTube) ---------- */
.sidenote {
  max-width: var(--container);
  margin: 0 auto;
  padding: 2rem clamp(1.25rem, 4vw, 3rem);
}
.sidenote__inner {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.75rem 0;
  display: flex; flex-direction: column; gap: 1rem;
}
.sidenote__inner .section__num { margin-bottom: 0; }
.sidenote__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.sidenote__text {
  margin: 0;
  max-width: 62ch;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}
.sidenote__text strong { color: var(--text); font-weight: 600; }
.sidenote__lead {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-right: .5rem;
}
.sidenote__cta {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text);
  padding: .5rem .9rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: color 180ms, border-color 180ms, background 180ms;
}
.sidenote__cta:hover { color: var(--bg); background: var(--accent); border-color: var(--accent); }
.sidenote__cta svg { width: 14px; height: 14px; }

/* ---------- CONTACT ---------- */
.contact {
  text-align: center;
}
.contact__inner {
  max-width: 760px; margin: 0 auto;
}
.contact__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 1rem 0 1.25rem;
}
.contact__lede {
  color: var(--text-soft);
  font-size: 1.1rem;
  max-width: 54ch;
  margin: 0 auto 2.5rem;
}
.contact__mail {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--text);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: .35rem;
  transition: color 220ms, border-color 220ms, letter-spacing 260ms;
}
.contact__mail:hover { color: var(--accent); border-color: var(--accent); letter-spacing: 0.005em; }
.contact__mail svg { width: 18px; height: 18px; }

.contact__socials {
  display: flex; justify-content: center; gap: 2rem;
  margin-top: 3rem;
  font-family: var(--font-mono); font-size: 0.85rem;
  color: var(--text-soft);
}
.contact__socials a { position: relative; padding-bottom: 2px; }
.contact__socials a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  height: 1px; width: 0; background: var(--accent);
  transition: width 240ms var(--ease);
}
.contact__socials a:hover { color: var(--text); }
.contact__socials a:hover::after { width: 100%; }

/* ---------- FOOTER ---------- */
.foot {
  border-top: 1px solid var(--line);
  padding: 2rem clamp(1.25rem, 4vw, 3rem);
}
.foot__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 0.78rem;
  color: var(--text-muted);
}
.foot__mono { font-style: italic; }
.foot__top { transition: color 180ms; }
.foot__top:hover { color: var(--accent); }

.accent-text { color: var(--accent); font-style: italic; font-family: var(--font-display); }

/* ---------- REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .eyebrow__dot { animation: none; }
}

/* ---------- responsive nav ---------- */
@media (max-width: 820px) {
  .nav__links {
    position: fixed; inset: 64px 0 auto 0;
    flex-direction: column; gap: 0;
    padding: 1rem clamp(1.25rem, 4vw, 3rem);
    background: color-mix(in oklab, var(--bg) 92%, transparent);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-110%);
    transition: transform 300ms var(--ease);
    font-size: 1rem;
  }
  .nav__links a { padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .nav.is-open .nav__links { transform: none; }
  .nav__menu { display: flex; }
  .nav.is-open .nav__menu span:first-child { transform: translateY(6px) rotate(45deg); }
  .nav.is-open .nav__menu span:last-child { transform: translateY(-6px) rotate(-45deg); }
}
