/* ===========================================================
   Oludolapo Makinde — personal site
   Bold editorial design system
   =========================================================== */

:root {
  --ink:        #0E0D0B;
  --ink-2:      #17150F;
  --ink-3:      #221F17;
  --paper:      #F6F1E7;
  --paper-dim:  #C9C2B4;
  --muted:      #8F887B;
  --gold:       #E4B363;
  --gold-dim:   #A87F3C;
  --rule:       rgba(246, 241, 231, 0.14);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 350;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

::selection { background: var(--gold); color: var(--ink); }

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--alt { background: var(--ink-2); }

.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }

/* ---------- type ---------- */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  font-variation-settings: "SOFT" 0, "WONK" 1;
}

.display {
  font-size: clamp(2.9rem, 8.5vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
}

.h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
.h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.25rem;
}

.lede {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.55;
  color: var(--paper-dim);
  max-width: 40ch;
}

.prose { max-width: 68ch; color: var(--paper-dim); }
.prose p { margin: 0 0 1.15rem; }
.prose strong { color: var(--paper); font-weight: 600; }
.prose em { color: var(--paper); }

.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

/* ---------- header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 13, 11, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 72px;
}

.brand {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.brand span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.9rem);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 450;
  letter-spacing: 0.01em;
  color: var(--paper-dim);
  padding-block: 0.35rem;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--paper); border-bottom-color: var(--gold); }
.nav-links a[aria-current="page"] { color: var(--paper); border-bottom-color: var(--gold); }

.nav-cta {
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  color: var(--ink) !important;
  background: var(--gold);
  padding: 0.5rem 0.95rem !important;
  border-radius: 999px;
  border-bottom: 0 !important;
  transition: background 0.18s ease;
}
.nav-cta:hover { background: #F2C879; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  font-weight: 550;
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid var(--rule);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
  font-family: var(--sans);
}
.btn--primary { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--primary:hover { background: #F2C879; border-color: #F2C879; }
.btn--ghost { background: transparent; color: var(--paper); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }

/* ---------- hero ---------- */

.hero { padding-block: clamp(3.5rem, 9vw, 7.5rem) clamp(3rem, 7vw, 5.5rem); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
}

.hero-name { margin-bottom: 0.9rem; }
.hero-name .line-2 { color: var(--gold); display: block; }

.hero-cred {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin: 0 0 1.6rem;
  padding-left: 0.9rem;
  border-left: 2px solid var(--gold);
}

.hero-roles {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.hero-roles li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.92rem;
  color: var(--paper-dim);
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
}
.hero-roles li b {
  color: var(--paper);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  min-width: 5.5rem;
  color: var(--gold);
}

/* headshot */
.portrait-img {
  width: 100%;
  max-height: 500px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 22%;
  border-radius: 4px;
  border: 1px solid var(--rule);
}

/* contact-page portrait */
.contact-portrait {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 22%;
  border-radius: 4px;
  border: 1px solid var(--rule);
  margin-bottom: 1.75rem;
}

/* headshot placeholder (unused once a real photo is in place) */
.portrait {
  aspect-ratio: 4 / 5;
  border: 1px dashed var(--rule);
  border-radius: 4px;
  background: linear-gradient(150deg, var(--ink-2), var(--ink-3));
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- stat strip ---------- */

.strip {
  border-block: 1px solid var(--rule);
  background: var(--ink-2);
}
.strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
}
.strip-item {
  background: var(--ink-2);
  padding: clamp(1.5rem, 3vw, 2.4rem) clamp(1rem, 2vw, 1.8rem);
}
.strip-item .num {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1;
  color: var(--gold);
  display: block;
  margin-bottom: 0.45rem;
  letter-spacing: -0.03em;
}
.strip-item .lab {
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- section heading ---------- */

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}
.sec-head--single { grid-template-columns: 1fr; max-width: 62ch; }

/* ---------- cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.card {
  background: var(--ink);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.section--alt .card { background: var(--ink-2); }
.card .num {
  font-family: var(--serif);
  color: var(--gold-dim);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}
.card p { margin: 0; color: var(--paper-dim); font-size: 0.95rem; }

/* ---------- inline art panel ---------- */
.art {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--rule);
  border-radius: 4px;
}

/* ---------- photo band ---------- */
.photo-band {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: 50% 35%;
  display: block;
  border: 1px solid var(--rule);
  border-radius: 4px;
}
@media (max-width: 640px) {
  .photo-band { aspect-ratio: 4 / 3; }
}

/* ---------- research strands ---------- */
.strands {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.strand {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: clamp(1rem, 4vw, 3rem);
  padding-block: clamp(1.75rem, 4vw, 2.75rem);
  border-bottom: 1px solid var(--rule);
}
.strand-num {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.03em;
}
.strand-body h3 { margin-bottom: 0.7rem; }
.strand-body p {
  margin: 0;
  color: var(--paper-dim);
  max-width: 66ch;
}
.strand-body strong { color: var(--paper); font-weight: 600; }
.strand-body em { color: var(--paper); }

@media (max-width: 640px) {
  .strand { grid-template-columns: 1fr; gap: 0.5rem; }
  .strand-num { font-size: 2rem; }
}

/* ---------- quote over photo ---------- */
.quote-band {
  position: relative;
  margin: 0;
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  isolation: isolate;
}
.quote-band img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  object-position: 50% 38%;
  display: block;
}
.quote-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(14, 13, 11, 0.94) 0%,
    rgba(14, 13, 11, 0.72) 32%,
    rgba(14, 13, 11, 0.28) 62%,
    rgba(14, 13, 11, 0.4) 100%
  );
}
.quote-band blockquote {
  position: absolute;
  left: clamp(1.25rem, 4vw, 3rem);
  right: clamp(1.25rem, 4vw, 3rem);
  bottom: clamp(1.5rem, 4vw, 2.75rem);
  z-index: 2;
  margin: 0;
  padding-left: 1.2rem;
  border-left: 3px solid var(--gold);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3vw, 2.3rem);
  line-height: 1.24;
  letter-spacing: -0.02em;
  color: var(--paper);
  max-width: 40ch;
}
@media (max-width: 640px) {
  .quote-band img { aspect-ratio: 3 / 4; object-position: 50% 30%; }
  .quote-band blockquote { font-size: 1.3rem; }
}

/* ---------- pull quote ---------- */

.pull-quote {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3.4vw, 2.5rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--paper);
  max-width: 26ch;
  margin: 0 0 clamp(2.5rem, 5vw, 3.5rem);
  padding-left: 1.2rem;
  border-left: 3px solid var(--gold);
}

/* condensed single-line entry description */
.entry-desc {
  margin: 0;
  color: var(--paper-dim);
  font-size: 0.97rem;
  max-width: 62ch;
}

/* ---------- entry lists (CV-style) ---------- */

.entries { display: grid; gap: 0; border-top: 1px solid var(--rule); }

.entry {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--rule);
}
.entry .when {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  padding-top: 0.35rem;
}
.entry h3 { margin-bottom: 0.3rem; }
.entry .where {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 0.9rem;
}
.entry ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--paper-dim);
  font-size: 0.95rem;
  display: grid;
  gap: 0.5rem;
}
.entry ul li::marker { color: var(--gold-dim); }
.entry > div > p:last-child { margin-bottom: 0; }

/* ---------- publications ---------- */

.pub-group { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.pub-group > h2 {
  font-size: 1.05rem;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 0;
}
.pub {
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
}
.pub .yr {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--gold-dim);
  letter-spacing: -0.02em;
}
.pub .title {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.9vw, 1.3rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0 0 0.4rem;
}
.pub .title a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--gold-dim);
  transition: color 0.18s ease, border-color 0.18s ease;
}
.pub .title a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.pub .meta { margin: 0; color: var(--muted); font-size: 0.9rem; }
.pub .meta a { color: var(--paper-dim); text-decoration-color: var(--gold-dim); text-underline-offset: 3px; }
.pub .meta a:hover { color: var(--gold); }

.tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  margin-left: 0.5rem;
  vertical-align: 0.15em;
}
.tag--quiet { color: var(--muted); border-color: var(--rule); }

/* ---------- awards table ---------- */

.awards { display: grid; border-top: 1px solid var(--rule); }

/* two-column flow (fills down column 1, then column 2) */
.awards--2col {
  display: block;
  column-count: 2;
  column-gap: clamp(1.75rem, 4vw, 3.5rem);
}
.awards--2col .award { break-inside: avoid; }
@media (max-width: 640px) {
  .awards--2col { column-count: 1; }
}

.award {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  padding-block: 1rem;
  border-bottom: 1px solid var(--rule);
  font-size: 0.95rem;
}
.award .yr { color: var(--gold); font-size: 0.85rem; letter-spacing: 0.08em; }
.award .name { color: var(--paper); }
.award .name small { display: block; color: var(--muted); font-size: 0.85rem; margin-top: 0.15rem; }
.award .amt { font-family: var(--serif); color: var(--paper-dim); white-space: nowrap; }

/* ---------- quote / callout ---------- */

.callout {
  border-left: 3px solid var(--gold);
  padding: 0.4rem 0 0.4rem 1.6rem;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.6vw, 1.85rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  max-width: 32ch;
}

/* ---------- placeholder note ---------- */

.placeholder {
  border: 1px dashed var(--rule);
  border-radius: 4px;
  padding: 1rem 1.2rem;
  color: var(--muted);
  font-size: 0.85rem;
  background: rgba(246, 241, 231, 0.02);
}
.placeholder b { color: var(--gold-dim); font-weight: 600; }

/* ---------- contact form ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.field { display: grid; gap: 0.45rem; margin-bottom: 1.15rem; }
.field label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 0.98rem;
  color: var(--paper);
  background: var(--ink-2);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 0.8rem 0.95rem;
  width: 100%;
  transition: border-color 0.18s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.field select { appearance: none; cursor: pointer; }

.contact-list { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--rule); }
.contact-list li { padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.contact-list .k {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.contact-list a { color: var(--paper); text-decoration-color: var(--gold-dim); text-underline-offset: 4px; }
.contact-list a:hover { color: var(--gold); }

/* ---------- link list ---------- */

.linklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.linklist li { border-bottom: 1px solid var(--rule); }
.linklist a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.15rem 0;
  text-decoration: none;
  transition: padding 0.2s ease, color 0.2s ease;
}
.linklist a:hover { padding-inline: 0.6rem; color: var(--gold); }
.linklist .arrow { color: var(--gold); font-size: 1.1rem; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--rule);
  background: var(--ink-2);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
}
.footer-grid h4 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
  font-weight: 600;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-grid a { text-decoration: none; color: var(--paper-dim); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--gold); }
.footer-bottom {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- decorative page-header motif ---------- */

.head-motif {
  position: absolute;
  top: clamp(-90px, -6vw, -40px);
  right: clamp(-80px, -4vw, -30px);
  width: min(380px, 46vw);
  height: auto;
  pointer-events: none;
  z-index: 0;
}
.head-motif .arc { fill: none; stroke: var(--gold); }
.head-motif .dot { fill: var(--gold); }
.head-motif .dot--soft { fill: var(--gold-dim); }

@media (prefers-reduced-motion: no-preference) {
  .head-motif .arc { animation: motif-in 1.1s ease both; }
}
@keyframes motif-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- framework diagram ---------- */

.figure {
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
}
.framework {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--ink-2);
}
.framework .node { fill: none; stroke: var(--gold-dim); stroke-width: 1.4; }
.framework .node--out { fill: var(--gold); stroke: var(--gold); }
.framework .link { fill: none; stroke: var(--gold-dim); stroke-width: 1.4; opacity: 0.55; }
.framework .lbl {
  font-family: var(--sans);
  fill: var(--paper);
  font-size: 15px;
  font-weight: 500;
}
.framework .lbl--sub { fill: var(--muted); font-size: 12.5px; font-weight: 400; letter-spacing: 0.04em; }
.framework .lbl--out { fill: var(--ink); font-weight: 600; }
.framework .kicker {
  font-family: var(--sans);
  fill: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.figcaption {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 60ch;
}

@media (max-width: 640px) {
  .framework .lbl { font-size: 13px; }
  .framework .lbl--sub { font-size: 11px; }
}

/* ---------- page header ---------- */

.page-head {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--rule);
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(2.4rem, 6.5vw, 4.6rem); letter-spacing: -0.035em; line-height: 0.98; }
.page-head .lede { margin-top: 1.5rem; max-width: 54ch; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .portrait, .portrait-img { max-width: 320px; }
  .sec-head { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .strip-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { flex-direction: column; align-items: flex-start; gap: 0.75rem; padding-block: 0.9rem; }
  .nav-links { justify-content: flex-start; gap: 0.85rem 1.1rem; }
  .entry { grid-template-columns: 1fr; gap: 0.5rem; }
  .entry .when { padding-top: 0; }
  .pub { grid-template-columns: 1fr; gap: 0.35rem; }
  .pub .yr { font-size: 0.95rem; }
  .award { grid-template-columns: 3.5rem 1fr; }
  .award .amt { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
