/* ════════════════════════════════════════════════════════════════════════════
   LATTICE — faculty-profile.css
   Shared stylesheet for all six faculty profile pages.
   Built on the Liquid Glass design system. See assets/css/tokens.css.
   ════════════════════════════════════════════════════════════════════════════ */


/* ──────────────────────────────────────────────────────────────────
   TOKENS — Color, type, layout, and Liquid Glass tokens
   ────────────────────────────────────────────────────────────────── */
:root {
  --bg: #0a0908; --bg-soft: #12100e; --bg-card: #161310;
  --ink: #f5f1eb; --ink-soft: #a8a29a; --ink-mute: #9b9489;
  --line: rgba(245, 241, 235, 0.08);
  --line-strong: rgba(245, 241, 235, 0.18);
  --accent: #c4f542; --accent-glow: rgba(196, 245, 66, 0.35);
  --warn: #ff7849;
  --serif: 'Fraunces', 'Times New Roman', serif;
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --maxw: 1320px; --gutter: clamp(1.25rem, 3vw, 2.5rem);

  --lg-radius-sm: 10px; --lg-radius: 18px; --lg-radius-lg: 26px; --lg-radius-pill: 999px;
  --lg-bg: rgba(20, 17, 15, 0.42);
  --lg-bg-light: rgba(245, 241, 235, 0.05);
  --lg-bg-strong: rgba(20, 17, 15, 0.62);
  --lg-border: rgba(245, 241, 235, 0.14);
  --lg-border-strong: rgba(245, 241, 235, 0.24);
  --lg-blur: blur(20px) saturate(180%);
  --lg-shadow: inset 0 1px 0 rgba(245, 241, 235, 0.10), inset 0 -1px 0 rgba(0, 0, 0, 0.20), 0 8px 32px rgba(0, 0, 0, 0.40);
  --lg-shadow-lg: inset 0 1px 0 rgba(245, 241, 235, 0.12), inset 0 -1px 0 rgba(0, 0, 0, 0.25), 0 18px 50px rgba(0, 0, 0, 0.50);
  --lg-accent-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.15), 0 6px 22px rgba(196, 245, 66, 0.28);
  --lg-accent-shadow-hover: inset 0 1px 0 rgba(255, 255, 255, 0.30), inset 0 -1px 0 rgba(0, 0, 0, 0.15), 0 14px 44px rgba(196, 245, 66, 0.45);
}

/* ──────────────────────────────────────────────────────────────────
   RESET — Universal box-sizing / margin / padding
   ────────────────────────────────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--sans); line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; cursor: none;
}
body::before {
  content: ""; position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.55 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
}
::selection { background: var(--accent); color: var(--bg); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: none; }
img { max-width: 100%; display: block; }


/* ──────────────────────────────────────────────────────────────────
   CUSTOM CURSOR — Lime dot + lerping ring
   ────────────────────────────────────────────────────────────────── */
.cursor-dot, .cursor-ring {
  position: fixed; pointer-events: none; z-index: 9999;
  top: 0; left: 0; transform: translate(-50%, -50%);
  transition: opacity 0.2s;
}
.cursor-dot { width: 4px; height: 4px; background: var(--accent); border-radius: 50%; }
.cursor-ring {
  width: 32px; height: 32px;
  border: 1px solid rgba(245, 241, 235, 0.4);
  border-radius: 50%;
  transition: width 0.25s, height 0.25s, border-color 0.25s, background 0.25s;
}
.cursor-ring.hover {
  width: 56px; height: 56px;
  border-color: var(--accent);
  background: rgba(196, 245, 66, 0.06);
}


/* ──────────────────────────────────────────────────────────────────
   NAVIGATION — Floating Liquid Glass pill nav
   ────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center;
  padding: 1rem var(--gutter);
  pointer-events: none;
}
.nav-pill {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; width: 100%; max-width: 1100px;
  padding: 0.55rem 0.7rem 0.55rem 1.4rem;
  background: var(--lg-bg);
  backdrop-filter: var(--lg-blur);
  -webkit-backdrop-filter: var(--lg-blur);
  border: 1px solid var(--lg-border);
  border-radius: var(--lg-radius-pill);
  box-shadow: var(--lg-shadow);
  transition: padding 0.35s cubic-bezier(.2,.7,.2,1), background 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.4s;
}
.nav.scrolled .nav-pill {
  padding-top: 0.45rem; padding-bottom: 0.45rem;
  background: var(--lg-bg-strong);
  border-color: var(--lg-border-strong);
  box-shadow: var(--lg-shadow-lg);
  transform: translateY(-2px);
}
.nav-brand {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 500; letter-spacing: 0.18em;
  font-size: 0.82rem; text-transform: uppercase;
}
.nav-mark { width: 22px; height: 22px; position: relative; }
.nav-mark::before, .nav-mark::after {
  content: ""; position: absolute; inset: 0;
  border: 1.5px solid var(--ink);
  transition: transform 0.7s cubic-bezier(.2,.7,.2,1);
}
.nav-mark::after { transform: rotate(45deg) scale(0.7); border-color: var(--accent); }
.nav-brand:hover .nav-mark::before { transform: rotate(45deg); }
.nav-brand:hover .nav-mark::after { transform: rotate(0) scale(1); }
.nav-links { display: flex; gap: 2rem; font-size: 0.85rem; color: var(--ink-soft); }
.nav-link { position: relative; padding: 0.4rem 0; transition: color 0.3s; }
.nav-link.active { color: var(--ink); }
.nav-link::after {
  content: ""; position: absolute; bottom: 0; left: 0;
  height: 1px; width: 100%; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s cubic-bezier(.2,.7,.2,1);
}
.nav-link.active::after, .nav-link:hover::after { transform: scaleX(1); }
.nav-link:hover { color: var(--ink); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.6rem 1.05rem;
  background: var(--accent); color: var(--bg);
  font-weight: 500; font-size: 0.82rem;
  letter-spacing: 0.04em;
  border: 1px solid rgba(196, 245, 66, 0.5);
  border-radius: 999px;
  box-shadow: var(--lg-accent-shadow);
  transition: transform 0.3s, box-shadow 0.4s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--lg-accent-shadow-hover); }
.nav-cta-arrow { display: inline-block; transition: transform 0.4s; }
.nav-cta:hover .nav-cta-arrow { transform: translateX(4px); }
@media (max-width: 820px) { .nav-links { display: none; } }


/* ──────────────────────────────────────────────────────────────────
   PROFILE HERO — Portrait + headline + meta
   ────────────────────────────────────────────────────────────────── */
.profile-hero {
  padding: clamp(7rem, 12vh, 10rem) var(--gutter) clamp(3rem, 6vh, 5rem);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.profile-hero .hero-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 920px) {
  .profile-hero .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Portrait card */
.hero-portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  position: relative; overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--lg-border);
  border-radius: var(--lg-radius-lg);
  box-shadow: var(--lg-shadow-lg);
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1), border-color 0.5s;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 1s 0.2s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-portrait::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(196, 245, 66, 0.18), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(255, 120, 73, 0.10), transparent 50%),
    linear-gradient(135deg, #1a1714 0%, #0c0a09 100%);
}
.hero-portrait .initials {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(4rem, 8vw, 6rem);
  color: var(--ink); letter-spacing: -0.04em;
}
.hero-portrait img {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%; object-fit: cover; object-position: center 22%;
  filter: grayscale(0.85) contrast(1.05) brightness(0.85) sepia(0.15);
  transition: filter 1s cubic-bezier(.2,.7,.2,1), transform 1.4s cubic-bezier(.2,.7,.2,1);
}
.hero-portrait:hover img {
  filter: grayscale(0.15) contrast(1.05) brightness(1) sepia(0);
  transform: scale(1.03);
}
.hero-portrait::after {
  content: ""; position: absolute; inset: 0; z-index: 3;
  pointer-events: none;
  background-image:
    linear-gradient(0deg, rgba(245, 241, 235, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 241, 235, 0.05) 1px, transparent 1px);
  background-size: 28px 28px; mix-blend-mode: overlay;
}
.hero-portrait .corner {
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--accent);
  z-index: 4;
  opacity: 0;
  transition: opacity 0.5s, transform 0.7s cubic-bezier(.2,.7,.2,1);
}
.hero-portrait .corner.tl { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.hero-portrait .corner.br { bottom: 12px; right: 12px; border-left: none; border-top: none; }
.hero-portrait:hover .corner { opacity: 1; }
.hero-portrait:hover .corner.tl { transform: translate(-3px, -3px); }
.hero-portrait:hover .corner.br { transform: translate(3px, 3px); }

/* Hero text column */
.hero-text { padding-top: 0.5rem; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.55rem 0.95rem 0.55rem 0.85rem;
  background: var(--lg-bg);
  backdrop-filter: var(--lg-blur);
  -webkit-backdrop-filter: var(--lg-blur);
  border: 1px solid var(--lg-border);
  border-radius: var(--lg-radius-pill);
  box-shadow: var(--lg-shadow);
  font-family: var(--mono); font-size: 0.7rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp 0.9s 0.1s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%;
  box-shadow: 0 0 14px var(--accent-glow);
  animation: pulse 2.4s ease-in-out infinite;
}
.hero-name {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 0.95; letter-spacing: -0.03em;
  margin-bottom: 1rem;
  opacity: 0; transform: translateY(40px);
  animation: fadeUp 1s 0.3s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-name em { font-style: italic; color: var(--accent); }
.hero-role {
  font-family: var(--sans);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--ink-soft);
  margin-bottom: 1.8rem;
  opacity: 0; animation: fadeUp 1s 0.5s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-quote {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.45;
  color: var(--ink);
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
  max-width: 50ch;
  position: relative;
  opacity: 0; animation: fadeUp 1s 0.7s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-quote::before {
  content: "“";
  color: var(--accent);
  font-size: 1.6rem;
  vertical-align: -0.2em;
  margin-right: 0.2rem;
}
.hero-quote em { font-style: normal; color: var(--accent); }

/* Meta strip — at-a-glance facts */
.hero-meta-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  padding: 1rem;
  background: var(--lg-bg);
  backdrop-filter: var(--lg-blur);
  -webkit-backdrop-filter: var(--lg-blur);
  border: 1px solid var(--lg-border);
  border-radius: var(--lg-radius);
  box-shadow: var(--lg-shadow);
  opacity: 0; animation: fadeUp 1.2s 0.9s cubic-bezier(.2,.7,.2,1) forwards;
}
@media (max-width: 720px) { .hero-meta-strip { grid-template-columns: 1fr; gap: 0.4rem; } }
.meta-cell { padding: 0.7rem 0.9rem; }
.meta-cell .lab {
  display: block;
  font-family: var(--mono); font-size: 0.62rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 0.25rem;
}
.meta-cell .val {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.meta-cell .val em { font-style: italic; color: var(--accent); }


/* ──────────────────────────────────────────────────────────────────
   LAYOUT — Container, sections, section heads
   ────────────────────────────────────────────────────────────────── */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(4rem, 9vh, 6rem) 0; position: relative; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; gap: 2rem;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.section-label {
  font-family: var(--mono); font-size: 0.72rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-mute);
}
.section-label::before { content: "§ "; color: var(--accent); }
.section-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  letter-spacing: -0.02em; line-height: 1;
  max-width: 18ch; margin-top: 1rem;
}
.section-title em { font-style: italic; color: var(--accent); }
.section-aside { max-width: 42ch; color: var(--ink-soft); font-size: 0.95rem; }


/* ──────────────────────────────────────────────────────────────────
   EXPERTISE TAGS — Glass chip pills
   ────────────────────────────────────────────────────────────────── */
.tag-grid {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
}
.tag {
  padding: 0.55rem 1rem;
  background: var(--lg-bg-light);
  backdrop-filter: var(--lg-blur);
  -webkit-backdrop-filter: var(--lg-blur);
  border: 1px solid var(--lg-border);
  border-radius: var(--lg-radius-pill);
  box-shadow: inset 0 1px 0 rgba(245, 241, 235, 0.05);
  font-family: var(--mono); font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  transition: color 0.3s, border-color 0.3s, background 0.3s, transform 0.4s;
  cursor: none;
}
.tag:hover {
  color: var(--ink);
  border-color: rgba(196, 245, 66, 0.4);
  background: rgba(196, 245, 66, 0.04);
  transform: translateY(-2px);
}


/* ──────────────────────────────────────────────────────────────────
   PROSE — Long-form text blocks
   ────────────────────────────────────────────────────────────────── */
.prose {
  max-width: 720px; margin: 0 auto;
  font-size: 1.08rem; line-height: 1.7;
  color: var(--ink-soft);
}
.prose p { margin-bottom: 1.4rem; }
.prose p strong { color: var(--ink); font-weight: 500; }
.prose p em { color: var(--accent); font-style: italic; }
.prose .lead {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.4;
  color: var(--ink); margin-bottom: 2rem;
}


/* ──────────────────────────────────────────────────────────────────
   COURSES — Glass cards for the courses they teach
   ────────────────────────────────────────────────────────────────── */
.course-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  max-width: 920px; margin: 0 auto;
}
.crs-card {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 1.5rem;
  padding: 1.6rem 1.8rem;
  background: var(--lg-bg-light);
  backdrop-filter: var(--lg-blur);
  -webkit-backdrop-filter: var(--lg-blur);
  border: 1px solid var(--lg-border);
  border-radius: var(--lg-radius);
  box-shadow: var(--lg-shadow);
  align-items: center;
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1), border-color 0.4s, background 0.4s;
  cursor: none;
}
.crs-card:hover {
  transform: translateY(-3px);
  border-color: rgba(196, 245, 66, 0.35);
  background: rgba(196, 245, 66, 0.04);
}
.crs-num {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 2.4rem; line-height: 1;
  color: var(--ink-mute); letter-spacing: -0.03em;
  transition: color 0.4s;
}
.crs-card:hover .crs-num { color: var(--accent); }
.crs-body { display: flex; flex-direction: column; gap: 0.4rem; }
.crs-name {
  font-family: var(--serif); font-weight: 400;
  font-size: 1.35rem; line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink); transition: color 0.4s;
}
.crs-name em { font-style: italic; color: var(--ink); transition: color 0.4s; }
.crs-card:hover .crs-name em { color: var(--accent); }
.crs-meta {
  font-family: var(--mono); font-size: 0.66rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-mute);
}
.crs-arrow {
  color: var(--ink-mute);
  transition: color 0.4s, transform 0.5s cubic-bezier(.2,.7,.2,1);
}
.crs-card:hover .crs-arrow { color: var(--accent); transform: translate(6px, -6px); }
@media (max-width: 600px) {
  .crs-card { grid-template-columns: 50px 1fr 30px; padding: 1.4rem; gap: 1rem; }
  .crs-num { font-size: 1.8rem; }
}


/* ──────────────────────────────────────────────────────────────────
   WORKS — Editorial row format for selected papers / talks / essays
   ────────────────────────────────────────────────────────────────── */
.works {
  border-top: 1px solid var(--line);
  max-width: 920px; margin: 0 auto;
}
.work {
  display: grid;
  grid-template-columns: 90px 90px 1fr 60px;
  gap: 1.5rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  position: relative;
  transition: padding 0.5s cubic-bezier(.2,.7,.2,1);
  cursor: none;
}
.work::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(196, 245, 66, 0.04) 50%, transparent);
  opacity: 0; transition: opacity 0.5s; pointer-events: none;
}
.work:hover::before { opacity: 1; }
.work:hover { padding-left: 0.8rem; padding-right: 0.8rem; }
.work-yr {
  font-family: var(--mono); font-size: 0.74rem;
  color: var(--ink-mute); letter-spacing: 0.06em;
}
.work-type {
  font-family: var(--mono); font-size: 0.62rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
}
.work-title {
  font-family: var(--serif); font-weight: 400;
  font-size: 1.1rem; line-height: 1.3;
  color: var(--ink); transition: color 0.4s;
}
.work-title em { font-style: italic; color: var(--ink); transition: color 0.4s; }
.work:hover .work-title { color: var(--accent); }
.work:hover .work-title em { color: var(--accent); }
.work-arrow {
  justify-self: end; color: var(--ink-mute);
  transition: color 0.4s, transform 0.4s;
}
.work:hover .work-arrow { color: var(--accent); transform: translate(6px, -6px); }
@media (max-width: 720px) {
  .work {
    grid-template-columns: 80px 1fr 30px;
    grid-template-rows: auto auto auto;
  }
  .work-yr { grid-row: 1; }
  .work-type { grid-column: 2; grid-row: 1; }
  .work-title { grid-column: 1 / 3; grid-row: 2; }
  .work-arrow { grid-column: 3; grid-row: 1 / -1; align-self: center; }
}


/* ──────────────────────────────────────────────────────────────────
   READING LIST — Compact items: title · author · year
   ────────────────────────────────────────────────────────────────── */
.reading-list {
  list-style: none;
  max-width: 720px; margin: 0 auto;
  border-top: 1px solid var(--line);
}
.reading-list li {
  padding: 1.1rem 0;
  border-bottom: 1px dashed var(--line);
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 1rem;
  align-items: baseline;
  transition: padding 0.4s;
}
.reading-list li:hover { padding-left: 0.6rem; }
.reading-list .num {
  font-family: var(--mono); font-size: 0.7rem;
  letter-spacing: 0.14em; color: var(--ink-mute);
}
.reading-list .title {
  font-family: var(--serif); font-size: 1.05rem;
  color: var(--ink-soft); transition: color 0.3s;
}
.reading-list .title em { font-style: italic; color: var(--ink); }
.reading-list li:hover .title { color: var(--ink); }
.reading-list .yr {
  font-family: var(--mono); font-size: 0.66rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-mute);
}


/* ──────────────────────────────────────────────────────────────────
   CTA — Bottom call-to-action
   ────────────────────────────────────────────────────────────────── */
.cta {
  border-top: 1px solid var(--line);
  padding: clamp(4rem, 10vh, 7rem) var(--gutter);
  background: var(--bg);
  position: relative; overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(196, 245, 66, 0.06), transparent 50%);
  pointer-events: none;
}
.cta-inner {
  max-width: var(--maxw); margin: 0 auto;
  position: relative;
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 3rem; align-items: end;
}
@media (max-width: 820px) { .cta-inner { grid-template-columns: 1fr; } }
.cta-headline {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1; letter-spacing: -0.02em;
}
.cta-headline em { font-style: italic; color: var(--accent); }
.cta-aside { color: var(--ink-soft); max-width: 36ch; font-size: 0.95rem; }


/* ──────────────────────────────────────────────────────────────────
   BUTTONS — Primary lime pill
   ────────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 1.05rem 1.7rem;
  background: var(--accent); color: var(--bg);
  font-weight: 500; font-size: 0.9rem;
  letter-spacing: 0.02em;
  border: 1px solid rgba(196, 245, 66, 0.5);
  border-radius: var(--lg-radius-pill);
  box-shadow: var(--lg-accent-shadow);
  margin-top: 1.6rem;
  transition: transform 0.4s, box-shadow 0.4s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--lg-accent-shadow-hover); }
.btn-primary svg { transition: transform 0.4s; }
.btn-primary:hover svg { transform: translate(4px, -4px); }


/* ──────────────────────────────────────────────────────────────────
   FOOTER — Mono uppercase footer strip
   ────────────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem var(--gutter) 1.6rem;
  font-family: var(--mono); font-size: 0.7rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-mute);
}
.foot-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}


/* ──────────────────────────────────────────────────────────────────
   KEYFRAMES — Animation definitions
   ────────────────────────────────────────────────────────────────── */
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.85); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }


/* ──────────────────────────────────────────────────────────────────
   REDUCED MOTION — Disable animations + restore system cursor
   ────────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
  a, button, .crs-card, .work, .tag { cursor: pointer; }
}
