/* Shared styles for thecre.ws (Geoff, Susan, Darwin pages) */

:root {
  --paper: #fbfaf7;
  --paper-2: #f3f0e8;
  --card: #ffffff;
  --ink: #18212d;
  --ink-2: #4a5566;
  --ink-3: #7b8596;
  --line: #e4e0d6;
  --primary: #1f3b63;
  --primary-2: #2d5b94;
  --accent: #d9692b;
  --accent-soft: #fbe9dd;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(24, 33, 45, .06), 0 8px 24px rgba(24, 33, 45, .06);
  --shadow-lg: 0 2px 4px rgba(24, 33, 45, .06), 0 18px 48px rgba(24, 33, 45, .12);
  --display: "Fraunces", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary-2); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -.01em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
section { padding: 88px 0; }
section.alt { background: var(--paper-2); }
.eyebrow {
  font: 600 .78rem/1 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 46em; }
.section-head { margin-bottom: 40px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 247, .85);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { font: 600 1.25rem var(--display); color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand span { color: var(--accent); }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a.navlink {
  display: block; padding: 6px 12px; border-radius: 999px;
  color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem;
}
.nav a.navlink:hover { color: var(--ink); background: var(--paper-2); }
.nav a.navlink[aria-current="page"] { color: #fff; background: var(--primary); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 80px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(217, 105, 43, .14), transparent 62%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: auto auto -50% -15%; width: 680px; height: 680px;
  background: radial-gradient(circle, rgba(45, 91, 148, .12), transparent 62%);
  pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.headshot {
  width: 220px; height: 220px; border-radius: 50%;
  object-fit: cover; border: 6px solid #fff; box-shadow: var(--shadow-lg);
}
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); letter-spacing: -.02em; margin-bottom: .2em; }
.hero .role { font-size: 1.2rem; color: var(--ink-2); margin-bottom: 1.1em; }
.hero .role strong { color: var(--ink); font-weight: 600; }
.tagline { font-size: 1.15rem; max-width: 36em; color: var(--ink-2); }

.social { display: flex; gap: 10px; list-style: none; padding: 0; margin: 24px 0 0; flex-wrap: wrap; }
.social a {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
  border: 1px solid var(--line); background: var(--card); border-radius: 999px;
  color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .92rem;
  transition: transform .15s, border-color .15s, color .15s;
}
.social a:hover { color: var(--primary); border-color: var(--primary-2); transform: translateY(-2px); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; position: relative; z-index: 1; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.stat b { display: block; font: 600 2.1rem/1 var(--display); color: var(--primary); margin-bottom: 6px; }
.stat span { color: var(--ink-2); font-size: .92rem; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 32px 40px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--primary-2);
}
.timeline li.current::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.timeline .when { font: 500 .82rem var(--mono); color: var(--ink-3); }
.timeline h3 { margin: 2px 0 2px; font-size: 1.25rem; }
.timeline .org { color: var(--primary-2); font-weight: 600; margin-bottom: 8px; }
.timeline p { color: var(--ink-2); margin: 0; max-width: 52em; }

/* ---------- Projects ---------- */
.project {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: center;
  margin-bottom: 72px;
}
.project:last-child { margin-bottom: 0; }
.project:nth-child(even) .shot-col { order: 2; }
.project h3 { font-size: 1.7rem; margin-bottom: .25em; }
.project .sub { color: var(--ink-3); font-size: .95rem; margin-bottom: 1em; }
.project p { color: var(--ink-2); }
.learned { font: 600 .75rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 18px 0 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li {
  font: 500 .8rem var(--mono); padding: 5px 10px; border-radius: 8px;
  background: var(--card); border: 1px solid var(--line); color: var(--ink-2);
}
.chips li.new { background: var(--accent-soft); border-color: #f2c7aa; color: #8a3a10; }
.chip-key { font-size: .82rem; color: var(--ink-3); margin-top: 10px; }
.chip-key i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--accent-soft); border: 1px solid #f2c7aa; margin-right: 4px; vertical-align: -1px; }
.project .links { margin-top: 18px; display: flex; gap: 16px; flex-wrap: wrap; font-weight: 500; font-size: .95rem; }
.badge-private { font: 500 .75rem var(--mono); color: var(--ink-3); border: 1px dashed var(--ink-3); border-radius: 6px; padding: 3px 8px; }

.browser {
  border-radius: 12px; overflow: hidden; background: var(--card);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
}
.browser:hover { transform: translateY(-4px) rotate(-.3deg); }
.browser .bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eeebe4; border-bottom: 1px solid var(--line); }
.browser .bar i { width: 11px; height: 11px; border-radius: 50%; background: #d8d3c8; }
.browser .bar i:nth-child(1) { background: #ef6a5e; }
.browser .bar i:nth-child(2) { background: #f5bf4f; }
.browser .bar i:nth-child(3) { background: #61c454; }
.browser .bar span { margin-left: 10px; font: .75rem var(--mono); color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser button.zoom { all: unset; cursor: zoom-in; display: block; width: 100%; }
.browser button.zoom:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.browser.narrow img { max-height: 440px; margin: 0 auto; }

/* Screenshot carousel: swipeable scroll-snap track with arrows and dots */
.carousel { position: relative; }
.carousel .slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.carousel .slides::-webkit-scrollbar { display: none; }
.carousel .slides > .zoom { flex: 0 0 100%; scroll-snap-align: start; }
.carousel .nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: var(--shadow-lg);
  opacity: 0; transition: opacity .2s ease;
}
.carousel:not(.ready) .nav-btn { display: none; }
.carousel .prev { left: 10px; }
.carousel .next { right: 10px; }
.carousel:hover .nav-btn, .carousel .nav-btn:focus-visible { opacity: 1; }
.carousel .nav-btn:focus-visible { outline: 3px solid var(--accent); }
.carousel .dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.carousel .dots button {
  width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(24, 33, 45, .25); transition: background .2s ease, transform .2s ease;
}
.carousel .dots button[aria-current="true"] { background: var(--accent); transform: scale(1.2); }
@media (hover: none) { .carousel .nav-btn { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .carousel .slides { scroll-behavior: auto; } }
.browser .caption { font-size: .8rem; color: var(--ink-3); padding: 8px 14px; border-top: 1px solid var(--line); }

.archive { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 64px; }
.archive h4 { grid-column: 1 / -1; font: 600 .78rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 4px; }
.mini { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.mini h5 { font: 600 1.05rem var(--display); margin: 0 0 6px; }
.mini p { color: var(--ink-2); font-size: .92rem; margin-bottom: 12px; }
.mini .chips li { font-size: .72rem; padding: 3px 8px; }

/* Lightbox */
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1280px, 94vw); max-height: 92vh; }
dialog.lightbox::backdrop { background: rgba(14, 20, 30, .82); backdrop-filter: blur(3px); }
dialog.lightbox img { max-height: 88vh; width: auto; margin: 0 auto; border-radius: 10px; box-shadow: var(--shadow-lg); }
dialog.lightbox form { position: fixed; top: 16px; right: 20px; }
dialog.lightbox button { font-size: 1.6rem; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; cursor: pointer; }

/* ---------- Education ---------- */
.edu-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 40px; }
.edu-intro blockquote { margin: 0; font: italic 500 1.5rem/1.35 var(--display); color: var(--primary); border-left: 4px solid var(--accent); padding-left: 20px; }
.degrees { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.degree {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 20px 22px; box-shadow: var(--shadow); text-align: center; overflow: hidden;
}
.degree::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--primary-2); }
.degree.grad::before { background: var(--accent); }
.degree .icon { font-size: 1.7rem; color: var(--primary-2); margin-bottom: 10px; }
.degree.grad .icon { color: var(--accent); }
.degree .lvl { font: 600 .74rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.degree h3 { font-size: 1.2rem; margin: 6px 0 4px; }
.degree .school { font-size: .9rem; color: var(--ink-2); }
.edu-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.note { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.note h4 { margin: 0 0 8px; font: 600 1.05rem var(--display); }
.note p, .note ul { color: var(--ink-2); margin: 0; font-size: .95rem; }
.note ul { padding-left: 1.1em; }

/* ---------- Wednesday Wisdom ---------- */
.ww-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filters button {
  font: 500 .85rem var(--body); padding: 7px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--card); color: var(--ink-2);
}
.filters button[aria-pressed="true"] { background: var(--primary); color: #fff; border-color: var(--primary); }
.ww-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; align-items: start; }
.ww {
  margin: 0; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
}
.ww[hidden] { display: none; }
.ww .tag { display: inline-block; font: 600 .7rem var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; margin-bottom: 10px; }
.ww h4 { font: 600 1.15rem/1.3 var(--display); margin: 0 0 8px; }
.ww p { color: var(--ink-2); font-size: .93rem; margin: 0; }
.ww blockquote { margin: 0 0 8px; font: italic 1.08rem/1.4 var(--display); color: var(--ink); }
.ww .date { display: block; margin-top: 12px; font: .75rem var(--mono); color: var(--ink-3); }
.t-leadership { background: #e3ecf8; color: #1f3b63; }
.t-engineering { background: #e2f3ee; color: #0f5e4f; }
.t-quotes { background: #f4e8f7; color: #6a2a7c; }
.t-sports { background: #e8f3dd; color: #3c6114; }
.t-life { background: var(--accent-soft); color: #8a3a10; }
.t-society { background: #f6eedb; color: #6b4d0e; }
.t-ideas { background: #ece9f9; color: #3b2f86; }

/* ---------- Interests ---------- */
.interests { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.interest { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.interest .icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.4rem; margin-bottom: 18px; color: #fff; background: var(--primary-2);
}
.interest:nth-child(2) .icon { background: var(--accent); }
.interest:nth-child(3) .icon { background: #7a4bb5; }
.interest p { color: var(--ink-2); font-size: .96rem; }
.interest p:last-child { margin-bottom: 0; }

/* ---------- Generic cards / lists (Susan) ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pill-list li { padding: 7px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: .92rem; color: var(--ink-2); }
.strengths { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.strengths li {
  counter-increment: s; display: flex; align-items: center; gap: 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; font-weight: 600;
}
.strengths li::before {
  content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent-soft); color: #8a3a10; font: 600 .9rem var(--mono); flex: none;
}
.strengths li span { font-weight: 400; color: var(--ink-3); font-size: .88rem; margin-left: auto; text-align: right; }
.cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff;
  border-radius: 20px; padding: 48px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
.cta h2 { color: #fff; }
.cta p { color: #d4e0f0; margin: 0; max-width: 40em; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px;
  background: #fff; color: var(--primary); font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: transform .15s;
}
.btn:hover { transform: translateY(-2px); color: var(--accent); }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: #146c43; background: #e2f4ea; padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #1f9d5b; box-shadow: 0 0 0 0 rgba(31, 157, 91, .5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(31, 157, 91, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 157, 91, 0); } }

/* ---------- Footer ---------- */
footer { padding: 48px 0; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .9rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--ink-2); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .browser:hover { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  section { padding: 64px 0; }
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .headshot { margin: 0 auto; width: 180px; height: 180px; }
  .tagline { margin-left: auto; margin-right: auto; }
  .social { justify-content: center; }
  .stats, .degrees { grid-template-columns: repeat(2, 1fr); }
  .project { grid-template-columns: 1fr; gap: 24px; }
  .project:nth-child(even) .shot-col { order: 0; }
  .archive, .interests { grid-template-columns: 1fr; }
  .edu-intro, .edu-notes, .grid-2 { grid-template-columns: 1fr; gap: 24px; }
  .cta { grid-template-columns: 1fr; padding: 32px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .nav .brand { font-size: 1.05rem; }
  .nav a.navlink { padding: 6px 9px; font-size: .88rem; }
  .stats { gap: 10px; }
  .stat { padding: 14px; }
  .stat b { font-size: 1.7rem; }
  .degrees { grid-template-columns: 1fr; }
}

/* ---------- Landing page ---------- */
.hero.landing .wrap { display: block; }
.landing { min-height: calc(100vh - 64px); display: flex; flex-direction: column; justify-content: center; padding: 64px 0 80px; }
.landing .hero-text { text-align: center; max-width: 40em; margin: 0 auto 56px; position: relative; z-index: 1; }
.landing h1 { font-size: clamp(3rem, 8vw, 5.5rem); letter-spacing: -.02em; margin-bottom: .15em; }
.landing h1 span { color: var(--accent); }
.family { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; z-index: 1; }
.member {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 36px 28px 30px;
  box-shadow: var(--shadow); color: var(--ink); text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.member:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-2); color: var(--ink); }
.member:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.member img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; border: 5px solid #fff; box-shadow: var(--shadow-lg); margin-bottom: 20px; }
.member img.toon { border-radius: 28px; background: #eef8ff; object-fit: contain; }
.member h2 { font-size: 1.8rem; margin-bottom: .15em; }
.member .what { font-weight: 600; color: var(--primary-2); margin-bottom: 12px; }
.member p { color: var(--ink-2); font-size: .96rem; flex: 1; }
.member .go { font-weight: 600; color: var(--accent); }
.member .go i { transition: transform .2s; }
.member:hover .go i { transform: translateX(4px); }
.member.kid h2 { font-family: "Fredoka", var(--display); }
@media (max-width: 900px) { .family { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }

.versions { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px; }
.versions li { display: flex; gap: 12px; align-items: baseline; color: var(--ink-2); font-size: .95rem; }
.versions b { flex: none; font: 600 .75rem var(--mono); color: var(--accent); background: var(--accent-soft); border-radius: 6px; padding: 2px 7px; }

.ww.featured { grid-column: 1 / -1; border: 2px solid var(--accent); background: linear-gradient(135deg, #fff, var(--accent-soft)); padding: 28px 32px; }
.ww.featured h4 { font-size: 1.6rem; }
.ww.featured p { font-size: 1rem; max-width: 60em; }
.ww h4 a { color: inherit; text-decoration-color: var(--accent); }
.ww h4 a:hover { color: var(--accent); }
.more-wrap { text-align: center; margin-top: 24px; }
.more-wrap button { font: 600 .95rem var(--body); padding: 12px 22px; border-radius: 999px; cursor: pointer; border: 1px solid var(--line); background: var(--card); color: var(--primary); }
.more-wrap button:hover { border-color: var(--primary-2); }

/* Music degree award: gold star, glow and shimmer */
.degree.award { --gold: #d4a017; border-color: #ecd28a; animation: award-glow 3.2s ease-in-out infinite; }
.degree.award::before { background: linear-gradient(90deg, #b8860b, #f5d76e, #b8860b); }
.degree.award::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 236, 170, .55) 50%, transparent 65%);
  transform: translateX(-120%); animation: award-shimmer 4.5s ease-in-out infinite 1s;
}
.degree.award .icon { color: var(--gold); }
.award-star {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-size: .9rem;
  background: radial-gradient(circle at 35% 30%, #ffe680, #d4a017 70%);
  box-shadow: 0 0 0 3px #fff6d6, 0 4px 12px rgba(212, 160, 23, .45);
  animation: award-twinkle 2.4s ease-in-out infinite;
}
.award-note {
  margin-top: 12px; padding-top: 10px; border-top: 1px dashed #ecd28a;
  font: 600 .8rem/1.35 var(--body); color: #8a6408;
}
.award-note i { margin-right: 4px; }
.award-note span { display: block; font-weight: 400; color: var(--ink-3); margin-top: 2px; }
.degree.award:hover .award-star, .degree.award:focus-visible .award-star { animation: award-spin .8s ease; }
.degree.award:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@keyframes award-glow { 50% { box-shadow: var(--shadow), 0 0 0 4px rgba(245, 215, 110, .35), 0 0 24px rgba(212, 160, 23, .25); } }
@keyframes award-shimmer { 0% { transform: translateX(-120%); } 40%, 100% { transform: translateX(120%); } }
@keyframes award-twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.12) rotate(12deg); } }
@keyframes award-spin { to { transform: rotate(360deg) scale(1.15); } }
@media (prefers-reduced-motion: reduce) {
  .degree.award, .degree.award::after, .award-star { animation: none; }
  .degree.award::after { display: none; }
}

.browser button.zoom.photo { background: #eef8ff; }

.timeline p + p { margin-top: 10px; }
