/* ============================================================
   Collin Phan — collinphan.com
   Single-scroll site. Sections share one document; nav is sticky
   at the top of the page (in-flow, not overlay), with a collapse
   toggle that tucks it into the right corner.
   ============================================================ */

:root {
  --bg: #f6f7fb;
  --bg-grad-1: oklch(0.92 0.06 245);
  --bg-grad-2: oklch(0.95 0.03 240);
  --bg-grad-3: #f6f7fb;
  --ink: #0a1628;
  --ink-soft: #4a5a72;
  --ink-faint: #9aa6b8;
  --rule: #dfe4ee;
  --card: #ffffff;
  --accent: oklch(0.62 0.18 250);
  --accent-soft: oklch(0.92 0.05 250);

  --pill-bg: #0a1628;
  --pill-ink: #f0f3fa;
  --pill-active: oklch(0.78 0.14 250);
  --pill-active-ink: #0a1628;

  --cursor-glow: oklch(0.62 0.18 250 / 0.38);

  --font-display: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-text: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --max: 1280px;
  --header-h: 84px;
}

html[data-theme="dark"] {
  --bg: #07101e;
  --bg-grad-1: oklch(0.34 0.12 250);
  --bg-grad-2: oklch(0.18 0.08 245);
  --bg-grad-3: #07101e;
  --ink: #f0f3fa;
  --ink-soft: #8a98b0;
  --ink-faint: #4a5468;
  --rule: #1a2638;
  --card: #0e1a2c;
  --accent: oklch(0.78 0.16 250);
  --accent-soft: oklch(0.32 0.10 250);
  --pill-bg: #0e1a2c;
  --pill-ink: #f0f3fa;
  --pill-active: oklch(0.78 0.16 250);
  --pill-active-ink: #07101e;
  --cursor-glow: oklch(0.78 0.16 250 / 0.45);
}

html[data-hero-font="grotesk"] { --font-display: "Helvetica Neue", Helvetica, Arial, sans-serif; }
html[data-hero-font="serif"]   { --font-display: "Times New Roman", Georgia, serif; }
html[data-hero-font="mono"]    { --font-display: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }


* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 280ms ease, color 280ms ease;
}
body {
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.5;
  position: relative;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: opacity 160ms ease;
}
a:hover { opacity: 0.6; }
::selection { background: var(--accent); color: var(--bg); }

/* ============================================================
   ANIMATED BACKGROUND
   ============================================================ */
.bg-anim {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
}
.bg-anim::before, .bg-anim::after {
  content: ""; position: absolute;
  width: 70vmax; height: 70vmax; border-radius: 50%;
  filter: blur(80px); opacity: 0.55; will-change: transform;
}
.bg-anim::before {
  background: var(--bg-grad-1);
  top: -25vmax; left: -15vmax;
  animation: drift1 32s ease-in-out infinite alternate;
}
.bg-anim::after {
  background: var(--bg-grad-2);
  bottom: -30vmax; right: -20vmax;
  animation: drift2 38s ease-in-out infinite alternate;
}
@keyframes drift1 {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(8vmax, 5vmax) scale(1.12); }
}
@keyframes drift2 {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(-6vmax, -8vmax) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .bg-anim::before, .bg-anim::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   CURSOR FOLLOWER
   ============================================================ */
.cursor-glow {
  position: fixed; top: 0; left: 0;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--cursor-glow) 0%, transparent 75%);
  pointer-events: none; z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 260ms ease;
  opacity: 0;
}
.cursor-glow.is-visible { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor-glow { display: none; } }
html[data-bloom="off"] .cursor-glow { display: none !important; }

/* ============================================================
   STICKY HEADER + NAV PILL
   Sticky (in-flow), not fixed-overlay. Collapse tucks it right.
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  pointer-events: none;
  transition: justify-content 380ms cubic-bezier(.22,1,.36,1);
}
.site-header::before {
  content: "";
  position: absolute; inset: 0;
  background: transparent;
  z-index: -1;
  pointer-events: none;
}

.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--pill-bg);
  color: var(--pill-ink);
  border-radius: 999px;
  padding: 6px;
  box-shadow: 0 8px 28px rgba(7,16,30,0.28), 0 1px 0 rgba(255,255,255,0.04) inset;
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  position: relative;
  max-width: 100%;
  transition: transform 480ms cubic-bezier(.22,1,.36,1),
              padding 320ms cubic-bezier(.22,1,.36,1),
              border-radius 320ms cubic-bezier(.22,1,.36,1);
}

/* Collapsed: nav slides to right edge of header, hides items, shows compact button */
.site-header.is-collapsed {
  justify-content: flex-end;
}
.site-header.is-collapsed .nav {
  padding: 4px;
}
.site-header.is-collapsed .nav__items,
.site-header.is-collapsed .nav__theme,
.site-header.is-collapsed .nav__collapse {
  display: none;
}
.site-header.is-collapsed .nav__expand {
  display: grid;
}
.nav__expand {
  display: none;
  place-items: center;
  width: 28px; height: 28px;
  border: none;
  background: transparent;
  color: var(--pill-ink);
  cursor: pointer;
  border-radius: 999px;
  opacity: 0.55;
  transition: background 160ms ease, opacity 160ms ease;
}
.nav__expand:hover { background: rgba(255,255,255,0.08); opacity: 1; }
.nav__expand svg {
  width: 12px; height: 12px;
  transition: transform 280ms cubic-bezier(.22,1,.36,1);
}
.nav__expand:hover svg { transform: scaleX(-1); }

.nav__theme {
  width: 32px; height: 32px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border: none;
  background: transparent;
  color: var(--pill-ink);
  border-radius: 999px;
  cursor: pointer;
  margin-right: 2px;
  transition: background 160ms ease;
}
.nav__theme:hover { background: rgba(255,255,255,0.08); }
.nav__theme svg { width: 16px; height: 16px; }

.nav__collapse {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border: none;
  background: transparent;
  color: var(--pill-ink);
  border-radius: 999px;
  cursor: pointer;
  margin-left: 2px;
  opacity: 0.55;
  transition: background 160ms ease, opacity 160ms ease;
}
.nav__collapse:hover { opacity: 1; background: rgba(255,255,255,0.08); }
.nav__collapse svg { width: 12px; height: 12px; }

.nav__tweaks {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border: none;
  background: transparent;
  color: var(--pill-ink);
  border-radius: 999px;
  cursor: pointer;
  margin-left: 2px;
  opacity: 0.55;
  transition: background 160ms ease, opacity 160ms ease;
}
.nav__tweaks:hover { opacity: 1; background: rgba(255,255,255,0.08); }
.nav__tweaks svg { width: 13px; height: 13px; }

.nav__items {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}
.nav__indicator {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  background: var(--pill-active);
  border-radius: 999px;
  transition: transform 380ms cubic-bezier(.22,1,.36,1), width 380ms cubic-bezier(.22,1,.36,1);
  z-index: 0;
  pointer-events: none;
  opacity: 0;
}
.nav__indicator.is-ready { opacity: 1; }
.nav__link {
  position: relative;
  z-index: 1;
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--pill-ink);
  border-bottom: none;
  transition: color 220ms ease;
  white-space: nowrap;
  cursor: pointer;
}
.nav__link:hover { opacity: 1; color: var(--pill-active); }
.nav__link.is-active { color: var(--pill-active-ink); }

@media (max-width: 640px) {
  .nav { font-size: 12px; padding: 5px; gap: 2px; }
  .nav__link { padding: 6px 9px; }
  .nav__theme, .nav__collapse { width: 26px; height: 26px; }
  :root { --header-h: 72px; }
}
@media (max-width: 420px) {
  .nav { font-size: 11px; }
  .nav__link { padding: 6px 7px; }
}

/* ============================================================
   SECTIONS
   Each section is full-bleed with content centered to --max.
   Scroll-margin offsets sticky header on anchor jumps.
   ============================================================ */
section {
  scroll-margin-top: var(--header-h);
  padding: 64px 40px 96px;
}
.section__inner {
  max-width: var(--max);
  margin: 0 auto;
}
@media (max-width: 720px) {
  section { padding: 48px 20px 72px; }
}

.section-divider {
  max-width: var(--max);
  margin: 0 auto;
  border: none;
  height: 1px;
  background: var(--rule);
}

/* ============================================================
   HERO (Landing)
   ============================================================ */
.hero {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 80px 40px 56px;
  position: relative;
  scroll-margin-top: var(--header-h);
}
.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  position: relative;
}
@media (max-width: 720px) {
  .hero { padding: 32px 20px 40px; min-height: calc(92vh - var(--header-h)); justify-content: center; }
}

.hero__intro {
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1.3;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 0 28px;
  letter-spacing: -0.005em;
  text-wrap: pretty;
  font-style: italic;
}
.hero__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(64px, 17vw, 280px);
  line-height: 0.86;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0;
  white-space: nowrap;
}
html[data-hero-font="serif"] .hero__name { font-weight: 700; letter-spacing: -0.03em; }
html[data-hero-font="mono"]  .hero__name { font-weight: 700; letter-spacing: -0.05em; font-size: clamp(56px, 14vw, 220px); }
@media (max-width: 540px) {
  .hero__name { font-size: clamp(56px, 18vw, 96px); }
}
.hero__meta {
  position: absolute;
  top: 16px;
  right: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  text-align: right;
  line-height: 1.7;
}
@media (max-width: 720px) { .hero__meta { display: none; } }

.hero__scroll-cue {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero__scroll-cue span:first-child { animation: bob 2.4s ease-in-out infinite; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(3px); }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about__layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 32px;
}
@media (max-width: 720px) {
  .about__layout { grid-template-columns: 1fr; gap: 32px; }
}
.about__photo-wrap {
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--rule);
}
.about__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.about__body {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 640px;
  margin: 24px 0 0;
  text-wrap: pretty;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

/* ============================================================
   RESUME
   ============================================================ */
.resume__header {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 24px;
  margin-bottom: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}
.resume__role {
  color: var(--ink-soft);
  font-size: 16px;
  margin: 0 0 12px;
}
.resume__contact {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.8;
  text-align: right;
}
.resume__contact a {
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 540px) {
  .resume__contact { text-align: left; font-size: 11px; }
}

.resume__print {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  transition: all 160ms ease;
}
.resume__print:hover { color: var(--ink); border-color: var(--ink-soft); }

.resume__section {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
}
.resume__section:first-of-type { border-top: none; padding-top: 0; }
@media (max-width: 720px) {
  .resume__section { grid-template-columns: 1fr; gap: 12px; padding: 18px 0; }
}
.resume__section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: 4px;
}

.resume__entry {
  margin-bottom: 22px;
  border-radius: 6px;
  padding: 0.6rem 0.5rem;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
  border-left: 2px solid transparent;
  transition: background 0.2s ease, border-left-color 0.2s ease;
}
.resume__entry:last-child { margin-bottom: 0; }
.resume__entry:hover {
  background: color-mix(in srgb, var(--accent) 6%, transparent);
  border-left-color: var(--accent);
}
.resume__entry-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 2px;
}
@media (max-width: 540px) {
  .resume__entry-row { flex-wrap: wrap; gap: 4px 12px; }
}
.resume__entry-role {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.resume__entry-org {
  color: var(--ink-soft);
  font-weight: 400;
}
.resume__entry-dates {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
  white-space: nowrap;
}
.resume__entry-sub {
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
  margin: 6px 0 2px;
  letter-spacing: -0.005em;
}
.resume__entry-bullets {
  margin: 6px 0 0;
  padding-left: 16px;
  color: var(--ink-soft);
  line-height: 1.55;
  font-size: 14px;
}
.resume__entry-bullets li { margin-bottom: 4px; }
.resume__entry-bullets li b,
.resume__entry-bullets li strong { color: var(--ink); font-weight: 600; }

.resume__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.resume__chip {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  color: var(--ink);
  background: var(--card);
}

/* ============================================================
   PROJECTS
   ============================================================ */
.projects__quote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin: 0 0 24px;
  max-width: 22ch;
  text-wrap: balance;
}
html[data-hero-font="serif"] .projects__quote { font-weight: 600; }
.projects__quote-mark {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  color: var(--accent);
  margin-right: 4px;
  vertical-align: -0.1em;
}
.projects__sub {
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 640px;
  margin: 0 0 32px;
  text-wrap: pretty;
  line-height: 1.6;
}

.projects__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}


/* ============================================================
   CONTACT
   ============================================================ */
.contact__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin: 0 0 24px;
}
.contact__lead {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 0 48px;
  text-wrap: pretty;
}
.contact__links {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
  max-width: 640px;
}
.contact__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--rule);
  font-size: 17px;
  border-left: none;
  border-right: none;
  border-top: none;
  transition: padding 220ms ease, color 220ms ease;
  color: var(--ink);
}
.contact__link:hover { padding-left: 14px; opacity: 1; color: var(--accent); }
.contact__link-label { display: flex; align-items: center; gap: 14px; min-width: 0; }
.contact__link-kind {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 100px;
  flex-shrink: 0;
}
.contact__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--ink-faint);
}
.contact__link-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.contact__link-arrow {
  font-family: var(--font-mono);
  color: var(--ink-soft);
  flex-shrink: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--rule);
  padding: 24px 40px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: 0.04em;
  max-width: var(--max);
  margin: 0 auto;
}
@media (max-width: 720px) {
  .footer { padding: 24px 20px; flex-direction: column; gap: 8px; align-items: flex-start; }
}

/* ============================================================
   TWEAKS
   ============================================================ */
.tweaks {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 12px 40px rgba(7,16,30,0.18);
  font-family: var(--font-mono);
  font-size: 12px;
  z-index: 99;
  width: 240px;
  display: none;
}
body.tweaks-on .tweaks { display: block; }
.tweaks__title {
  display: flex; justify-content: space-between; align-items: center;
  margin: 0 0 12px;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft);
}
.tweaks__close {
  border: none; background: transparent; color: var(--ink-soft);
  cursor: pointer; font-size: 14px;
}
.tweaks__group { margin-bottom: 12px; }
.tweaks__group:last-child { margin-bottom: 0; }
.tweaks__label {
  display: block; margin-bottom: 6px; color: var(--ink-soft);
  font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
}
.tweaks__row { display: flex; gap: 4px; flex-wrap: wrap; }
.tweaks__btn {
  flex: 1 1 auto; padding: 6px 8px;
  border: 1px solid var(--rule); background: transparent;
  border-radius: 8px; color: var(--ink);
  font-family: var(--font-mono); font-size: 11px;
  cursor: pointer; transition: all 120ms ease;
}
.tweaks__btn:hover { border-color: var(--ink-soft); }
.tweaks__btn.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tweaks__swatches { display: flex; gap: 6px; }
.tweaks__swatch {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--rule); cursor: pointer; padding: 0;
}
.tweaks__swatch.is-active { border-color: var(--ink); transform: scale(1.1); }

/* ============================================================
   RESUME TWO-COLUMN SPLIT
   ============================================================ */
.resume__split {
  display: flex;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 40px 0;
}
.resume__name-col {
  width: 200px;
  flex-shrink: 0;
}
.resume__name-sticky {
  position: sticky;
  top: calc(var(--header-h) + 3rem);
  display: flex;
  flex-direction: column;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent);
  opacity: 0.5;
}
.resume__content-col {
  flex: 1;
  min-width: 0;
  max-width: 680px;
}
.resume__name-social {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  margin-top: 1.5rem;
}
.resume__name-social-link {
  color: var(--accent);
  border-bottom: none;
  opacity: 0.72;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
}
.resume__name-social-link:hover {
  opacity: 1;
}
.resume__name-social-link svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.5;
}
@media (max-width: 720px) {
  .resume__split { flex-direction: column; padding: 24px 20px 0; gap: 0; }
  .resume__name-col { display: none; }
}

/* ============================================================
   BLOOM PAUSE (cursor glow fades over resume)
   ============================================================ */
.bloom-paused .cursor-glow {
  opacity: 0 !important;
  transition: opacity 0.4s ease;
}

/* ============================================================
   PROJECT ROWS (flat list)
   ============================================================ */
.project-row {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding: 0.9rem 0.5rem;
  margin: 0 -0.5rem;
  border-bottom: 1px solid var(--rule);
  border-radius: 4px;
  transition: background 0.2s ease;
}
.project-row:first-child { border-top: none; }
.project-row:hover {
  background: color-mix(in srgb, var(--accent) 6%, transparent);
}
.project-row__num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  flex-shrink: 0;
}
.project-row__info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.project-row__name {
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  border-bottom: none;
}
a.project-row__name:hover {
  color: var(--accent);
  opacity: 1;
}
.project-row__desc {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

/* ============================================================
   PRINT (Resume-friendly)
   When printing, hide everything except the resume section.
   ============================================================ */
@media print {
  html, body { background: #ffffff !important; color: #000 !important; }
  .site-header, .footer, .bg-anim, .cursor-glow, .tweaks, .resume__print,
  #landing, #about, #projects, #contact, .section-divider,
  .resume__name-col { display: none !important; }
  section { padding: 0; scroll-margin: 0; }
  #resume { padding: 0; }
  .resume__split { padding: 0; gap: 0; }
  .resume__content-col { max-width: 100%; }
  .resume__header { padding-bottom: 12px; margin-bottom: 16px; }
  .resume__section { padding: 12px 0; gap: 16px; grid-template-columns: 130px 1fr; }
  .resume__entry { margin-bottom: 10px; }
  .resume__entry-bullets { font-size: 11.5px; line-height: 1.4; }
  .resume__entry-role { font-size: 13px; }
  .section__title { font-size: 24px; }
  .resume__chip { background: transparent !important; }
  a { color: #000 !important; border-bottom: none !important; }
  @page { margin: 0.5in; }
}
