/* =========================================================================
   dawnweatherford.com — site styles
   -------------------------------------------------------------------------
   ONE FILE controls the whole look. To rebrand, edit the tokens in :root.
   Sections:  1) Tokens  2) Reset/base  3) Typography  4) Layout
              5) Header/nav  6) Hero + focus-bracket signature  7) Components
              8) Footer  9) Utilities  10) Responsive  11) Accessibility
   ========================================================================= */

/* ---- 1) DESIGN TOKENS — change these to rebrand -------------------------- */
:root {
  /* ===== Brand palette — from the MAP Lab logo (navy + teal/mint) =====
     Dark theme by default. Everything on the site flows from these nine
     values. To switch to light, see the OPTIONAL LIGHT THEME at the very
     bottom of this file. */
  --paper:        #04202E;  /* page background — deep MAP navy            */
  --paper-2:      #0A3346;  /* alternating section band (raised)          */
  --surface:      #0C3A50;  /* cards / panels                             */
  --surface-2:    #114A66;  /* raised / hover surface                     */
  --ink:          #ECF4F3;  /* primary text — soft mint-white             */
  --slate:        #9FB6BA;  /* secondary text — muted teal-grey           */
  --accent:       #19B6A1;  /* teal accent — links, marks (logo #12A093)  */
  --accent-bright:#46DCC0;  /* mint — hover / highlight (logo #3BD4B8)     */
  --line:         #17475D;  /* hairlines / borders                        */

  /* Typography */
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body:    "Public Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Type scale (fluid) */
  --step--1: clamp(0.83rem, 0.80rem + 0.15vw, 0.92rem);
  --step-0:  clamp(1.00rem, 0.96rem + 0.20vw, 1.13rem);
  --step-1:  clamp(1.20rem, 1.10rem + 0.45vw, 1.45rem);
  --step-2:  clamp(1.55rem, 1.35rem + 0.90vw, 2.10rem);
  --step-3:  clamp(2.05rem, 1.65rem + 1.90vw, 3.20rem);
  --step-4:  clamp(2.60rem, 1.90rem + 3.20vw, 4.40rem);

  /* Space + structure */
  --measure: 68ch;          /* comfortable reading width */
  --wrap:    1120px;        /* max content width         */
  --gap:     clamp(1rem, 0.6rem + 1.6vw, 2rem);
  --radius:  4px;
  --border:  1px solid var(--line);
}

/* ---- 2) RESET / BASE ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-bright); }
hr { border: 0; border-top: var(--border); margin: 2.5rem 0; }

/* ---- 3) TYPOGRAPHY ------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; color: var(--ink); margin: 0 0 .4em; letter-spacing: -0.01em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p  { margin: 0 0 1.1rem; max-width: var(--measure); }
strong { font-weight: 700; }

/* Mono "eyebrow" label — the utility voice: dates, sections, data */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 .9rem;
  display: inline-block;
}
.lead { font-size: var(--step-1); color: var(--slate); line-height: 1.5; max-width: 60ch; }

/* ---- 4) LAYOUT ----------------------------------------------------------- */
.wrap { width: min(100% - 2.4rem, var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(2.75rem, 2rem + 4vw, 5.5rem); }
.section--alt { background: var(--paper-2); border-block: var(--border); }
.grid { display: grid; gap: var(--gap); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.stack > * + * { margin-top: 1rem; }

/* ---- 5) HEADER / NAV ----------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; }
.brand span { color: var(--accent); }
.nav-links { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-links a {
  font-family: var(--font-body); font-size: var(--step--1); font-weight: 600;
  letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink);
  text-decoration: none; padding: .4rem 0; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--accent); transition: right .22s ease;
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav-toggle { display: none; background: none; border: var(--border); border-radius: var(--radius); padding: .45rem .6rem; cursor: pointer; color: var(--ink); font-family: var(--font-mono); font-size: .8rem; }

/* ---- 6) HERO + FOCUS-BRACKET SIGNATURE ----------------------------------- */
/* The signature: camera "focus brackets" frame the portrait — a nod to
   face identification, ID verification, and looking closely.               */
.hero { padding-block: clamp(2.5rem, 1.5rem + 5vw, 5.5rem); }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; }
.hero h1 { margin-bottom: .25em; }
.hero .lead { margin-bottom: 1.6rem; }

.portrait {
  position: relative; width: min(320px, 80%); margin-inline: auto; aspect-ratio: 4/5;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; background: var(--paper-2); }
/* four corner brackets */
.portrait::before, .portrait::after,
.portrait .br::before, .portrait .br::after {
  content: ""; position: absolute; width: 34px; height: 34px; pointer-events: none;
  border-color: var(--accent); border-style: solid; border-width: 0;
}
.portrait::before { top: -10px; left: -10px; border-top-width: 2px; border-left-width: 2px; }
.portrait::after  { top: -10px; right: -10px; border-top-width: 2px; border-right-width: 2px; }
.portrait .br::before { bottom: -10px; left: -10px; border-bottom-width: 2px; border-left-width: 2px; }
.portrait .br::after  { bottom: -10px; right: -10px; border-bottom-width: 2px; border-right-width: 2px; }

/* quick links row under hero text */
.quicklinks { display: flex; flex-wrap: wrap; gap: .5rem .5rem; list-style: none; padding: 0; margin: 1.4rem 0 0; }
.quicklinks a {
  font-family: var(--font-mono); font-size: var(--step--1); text-decoration: none;
  color: var(--ink); border: var(--border); border-radius: 999px; padding: .4rem .85rem;
  transition: border-color .15s, color .15s, background .15s;
}
.quicklinks a:hover { color: var(--accent); border-color: var(--accent); background: var(--surface); }

/* supporting stats — quiet, not a big-number hero */
.stats { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 2rem; padding-top: 1.4rem; border-top: var(--border); }
.stat { }
.stat b { display: block; font-family: var(--font-display); font-size: var(--step-2); font-weight: 500; line-height: 1; }
.stat span { font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: .06em; color: var(--slate); text-transform: uppercase; }

/* ---- 7) COMPONENTS ------------------------------------------------------- */
/* Card */
.card { background: var(--surface); border: var(--border); border-radius: var(--radius); padding: 1.5rem 1.6rem; }
.card h3 { font-size: var(--step-1); }
.card .eyebrow { margin-bottom: .5rem; }

/* Research-area / feature block with a left rule */
.feature { padding-left: 1.25rem; border-left: 2px solid var(--accent); }
.feature + .feature { margin-top: 2rem; }
.feature h3 { font-size: var(--step-1); margin-bottom: .35em; }

/* Publication list */
.pub-list { list-style: none; margin: 0; padding: 0; }
.pub-list li { padding: 1rem 0; border-top: var(--border); max-width: var(--measure); }
.pub-list li:last-child { border-bottom: var(--border); }
.pub-list .yr { font-family: var(--font-mono); font-size: var(--step--1); color: var(--accent); letter-spacing: .04em; }
.pub-list .title { font-weight: 600; }
.pub-list .venue { color: var(--slate); font-style: italic; }
.pub-list a { word-break: break-word; }

/* Course table */
.table { width: 100%; border-collapse: collapse; font-size: var(--step-0); }
.table caption { text-align: left; color: var(--slate); font-size: var(--step--1); margin-bottom: .6rem; font-family: var(--font-mono); }
.table th, .table td { text-align: left; padding: .7rem .8rem; border-bottom: var(--border); vertical-align: top; }
.table th { font-family: var(--font-mono); font-size: var(--step--1); text-transform: uppercase; letter-spacing: .06em; color: var(--slate); font-weight: 600; }

/* Buttons */
.btn { display: inline-block; font-family: var(--font-body); font-weight: 600; font-size: var(--step-0); text-decoration: none; padding: .7rem 1.15rem; border-radius: var(--radius); border: 2px solid var(--ink); color: var(--ink); background: transparent; transition: .15s; }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn--accent { border-color: var(--accent); color: var(--surface); background: var(--accent); }
.btn--accent:hover { background: var(--accent-bright); border-color: var(--accent-bright); color: var(--surface); }

/* Resource (OER) block */
.resource { background: var(--surface); border: var(--border); border-top: 4px solid var(--accent); border-radius: var(--radius); padding: 1.8rem; }
.resource h3 { font-size: var(--step-2); }
.resource .tag { font-family: var(--font-mono); font-size: var(--step--1); color: var(--slate); }
.resource dl { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1rem; margin: 1.1rem 0 0; }
.resource dt { font-family: var(--font-mono); font-size: var(--step--1); text-transform: uppercase; letter-spacing: .05em; color: var(--accent); }
.resource dd { margin: 0; }

/* Page intro */
.page-intro { padding-block: clamp(2rem, 1.4rem + 3vw, 3.5rem); border-bottom: var(--border); }

/* ---- 8) FOOTER ----------------------------------------------------------- */
.site-footer { background: var(--ink); color: color-mix(in srgb, var(--paper) 82%, transparent); padding-block: 2.75rem; margin-top: 3rem; }
.site-footer a { color: var(--paper); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between; align-items: flex-start; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; padding: 0; margin: 0; font-family: var(--font-mono); font-size: var(--step--1); }
.footer-note { font-size: var(--step--1); color: color-mix(in srgb, var(--paper) 62%, transparent); font-family: var(--font-mono); }

/* ---- 9) UTILITIES -------------------------------------------------------- */
.center { text-align: center; }
.muted { color: var(--slate); }
.mono { font-family: var(--font-mono); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.narrow { max-width: var(--measure); }

/* ---- 10) RESPONSIVE ------------------------------------------------------ */
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .portrait { order: -1; margin: 0 0 1.5rem; }
  .cols-2, .cols-3 { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; }
  .nav-links {
    position: absolute; top: 64px; left: 0; right: 0; flex-direction: column;
    gap: 0; background: var(--paper); border-bottom: var(--border);
    padding: .5rem 1.2rem 1rem; display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { width: 100%; padding: .7rem 0; border-bottom: var(--border); }
  .nav-links a::after { display: none; }
}

/* ---- 11) ACCESSIBILITY --------------------------------------------------- */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 0; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* =========================================================================
   12) FLOURISH LAYER — the brand's connective tissue
       Two motifs only: the focus RETICLE (looking closely / ID verification)
       and the gaze CONSTELLATION (fixations / similarity space). Used with
       restraint so the page reads as designed, not decorated.
   ========================================================================= */

/* --- Reticle mark before every section label (masked → follows --accent) -- */
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; }
.eyebrow::before {
  content: ""; width: 13px; height: 13px; flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: url(../img/reticle.svg) center / contain no-repeat;
          mask: url(../img/reticle.svg) center / contain no-repeat;
}

/* --- Hero ambient texture: the gaze constellation, faded so text stays king */
.hero { position: relative; overflow: hidden; }
.hero-grid { position: relative; z-index: 1; }
.hero-texture {
  position: absolute; top: 0; right: 0; height: 100%; width: 48%; max-width: 560px;
  background: url(../img/gaze-constellation.svg) no-repeat right center / contain;
  opacity: .55; pointer-events: none; z-index: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 60%);
          mask-image: linear-gradient(to right, transparent 0%, #000 60%);
}
@media (max-width: 820px) { .hero-texture { opacity: .28; width: 70%; } }

/* --- Camera-focus load animation on the portrait brackets ---------------- */
@media (prefers-reduced-motion: no-preference) {
  .portrait::before      { animation: focus-tl .7s cubic-bezier(.2,.75,.2,1) both; }
  .portrait::after       { animation: focus-tr .7s cubic-bezier(.2,.75,.2,1) both .08s; }
  .portrait .br::before  { animation: focus-bl .7s cubic-bezier(.2,.75,.2,1) both .16s; }
  .portrait .br::after   { animation: focus-br .7s cubic-bezier(.2,.75,.2,1) both .24s; }
  .portrait img          { animation: fade-in .9s ease .1s both; }
}
@keyframes focus-tl { from { opacity: 0; transform: translate(-12px,-12px); } to { opacity: 1; transform: none; } }
@keyframes focus-tr { from { opacity: 0; transform: translate( 12px,-12px); } to { opacity: 1; transform: none; } }
@keyframes focus-bl { from { opacity: 0; transform: translate(-12px, 12px); } to { opacity: 1; transform: none; } }
@keyframes focus-br { from { opacity: 0; transform: translate( 12px, 12px); } to { opacity: 1; transform: none; } }
@keyframes fade-in  { from { opacity: 0; } to { opacity: 1; } }

/* --- Editorial drop cap for an opening paragraph ------------------------- */
.dropcap::first-letter {
  font-family: var(--font-display); font-weight: 500; color: var(--accent);
  font-size: 3.4em; line-height: .78; float: left; padding: .06em .12em 0 0;
}

/* --- Pull quote: a scholarly accent moment ------------------------------ */
.pullquote {
  position: relative; font-family: var(--font-display); font-style: italic;
  font-size: var(--step-2); line-height: 1.28; color: var(--ink);
  max-width: 30ch; margin: 0; padding: .1rem 0 .1rem 1.5rem;
  border-left: 3px solid var(--accent);
}
.pullquote cite {
  display: block; margin-top: .8rem; font-family: var(--font-mono); font-style: normal;
  font-size: var(--step--1); letter-spacing: .06em; text-transform: uppercase; color: var(--slate);
}
.quote-band { background: var(--paper-2); border-block: var(--border); }
.quote-band .wrap { display: flex; justify-content: center; }

/* --- Section divider: a centered reticle, ties pages together ----------- */
.rule-mark { display: flex; align-items: center; gap: 1rem; color: var(--line); }
.rule-mark::before, .rule-mark::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.rule-mark i {
  width: 16px; height: 16px; flex: 0 0 auto; background: var(--accent); opacity: .8;
  -webkit-mask: url(../img/reticle.svg) center / contain no-repeat;
          mask: url(../img/reticle.svg) center / contain no-repeat;
}

/* --- Card micro-interaction: a subtle focus/lift ------------------------ */
.card { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px -18px rgba(20,33,58,.45); border-color: var(--accent); }

/* --- Prose links: attention-highlight on hover (thematic, accessible) --- */
main :where(p, li, dd, .lead) a:not(.btn) {
  text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent);
  transition: text-decoration-color .15s ease, background-size .25s ease;
  background-image: linear-gradient(color-mix(in srgb, var(--accent) 12%, transparent),
                                    color-mix(in srgb, var(--accent) 12%, transparent));
  background-repeat: no-repeat; background-position: 0 100%; background-size: 100% 0;
}
main :where(p, li, dd, .lead) a:not(.btn):hover {
  text-decoration-color: var(--accent); background-size: 100% 100%;
}

/* --- Refined stat rhythm: a garnet tick over each number ---------------- */
.stat b { position: relative; padding-top: .55rem; }
.stat b::before { content: ""; position: absolute; top: 0; left: 0; width: 22px; height: 2px; background: var(--accent); }

/* =========================================================================
   13) DARK-THEME FIXES + HOVER SHADING
   ========================================================================= */

/* Footer: previously used --ink as a dark background; in dark mode --ink is
   light, so give the footer its own raised surface. */
.site-footer { background: var(--paper-2); color: var(--slate); border-top: 1px solid var(--line); }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--accent-bright); }
.footer-note { color: var(--slate); }

/* Portrait frame reads better with a faint surface behind the fallback. */
.portrait img { background: var(--surface); }

/* ---- Hover shading (subtle, where it aids affordance) ---- */

/* Cards lighten as they lift */
.card:hover        { background: var(--surface-2); }
a.card:hover       { background: var(--surface-2); border-color: var(--accent); }

/* Nav links: soft shaded pill on hover (desktop) */
.nav-links a { border-radius: 6px; }
@media (min-width: 821px) {
  .nav-links a { padding-inline: .5rem; }
  .nav-links a:hover { background: color-mix(in srgb, var(--accent) 14%, transparent); }
}

/* Publication rows shade on hover */
.pub-list li { transition: background .15s ease; padding-inline: .7rem; margin-inline: -.7rem; border-radius: 5px; }
.pub-list li:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); }

/* Course table rows shade on hover */
.table tbody tr { transition: background .15s ease; }
.table tbody tr:hover { background: color-mix(in srgb, var(--accent) 9%, transparent); }

/* Quicklink pills fill softly on hover */
.quicklinks a:hover { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent-bright); border-color: var(--accent); }

/* Resource blocks lift + shade */
.resource { transition: background .18s ease, box-shadow .18s ease, transform .18s ease; }
.resource:hover { background: var(--surface-2); transform: translateY(-2px); box-shadow: 0 14px 36px -22px rgba(0,0,0,.7); }

/* Buttons: keep the invert, add a soft glow on the accent button */
.btn--accent:hover { box-shadow: 0 8px 22px -12px var(--accent-bright); }

/* Quote band sits on the raised surface in dark mode */
.quote-band { background: var(--paper-2); }

/* =========================================================================
   OPTIONAL LIGHT THEME
   The site is dark by default (your preference). To go light, either paste
   these values over the ones in :root at the top, OR add class="theme-light"
   to the <html> tag on every page and un-comment this block:

   .theme-light {
     --paper:#F7FBFA; --paper-2:#ECF4F2; --surface:#FFFFFF; --surface-2:#F0F7F5;
     --ink:#0B2A3A; --slate:#4A5E64; --accent:#12A093; --accent-bright:#0E7C7B;
     --line:#DCE7E5;
   }
   ========================================================================= */

/* =========================================================================
   14) PEOPLE — student cards, initials-avatar fallback, name wall
   ========================================================================= */
.people-grid {
  display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.person {
  background: var(--surface); border: var(--border); border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.5rem;
  transition: background .18s ease, transform .18s ease, border-color .18s ease;
}
.person:hover { background: var(--surface-2); transform: translateY(-3px); border-color: var(--accent); }

/* Avatar: shows initials by default; a dropped-in photo covers them. */
.avatar {
  width: 88px; aspect-ratio: 1; border-radius: 50%; position: relative;
  display: grid; place-items: center; overflow: hidden; margin-bottom: 1.05rem;
  background: linear-gradient(155deg, var(--surface-2), var(--paper-2));
  box-shadow: 0 0 0 1px var(--line); transition: box-shadow .18s ease;
}
.avatar::before {
  content: attr(data-initials);
  font-family: var(--font-display); font-weight: 600; font-size: 1.7rem;
  color: var(--accent-bright); letter-spacing: .02em;
}
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.person:hover .avatar { box-shadow: 0 0 0 2px var(--accent); }

.person .role {
  font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: .06em;
  text-transform: uppercase; color: var(--accent);
}
.person h3 { font-size: var(--step-1); margin: .35rem 0 .3rem; }
.person .project { color: var(--slate); margin: 0; font-size: var(--step-0); line-height: 1.5; }
.person .whereabouts { margin: .7rem 0 0; font-size: var(--step--1); color: var(--slate); font-style: italic; }

.badge {
  display: inline-block; margin-top: .8rem;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--paper); background: var(--accent); padding: .2rem .6rem; border-radius: 999px;
}

/* Name wall — scales to the whole undergraduate roster */
.namewall { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; padding: 0; margin: 1.3rem 0 0; }
.namewall li {
  font-size: var(--step-0); color: var(--ink); background: var(--surface);
  border: var(--border); border-radius: 999px; padding: .42rem .95rem;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.namewall li:hover { background: var(--surface-2); border-color: var(--accent); color: var(--accent-bright); }

/* Auto-generated publication tags (theme + student co-authorship) */
.pub-list .tags { display: block; margin-top: .4rem; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .04em; color: var(--slate); }
.pub-list .tag-theme { color: var(--accent); text-transform: uppercase; }
.pub-list .tag-students { color: var(--accent-bright); }

/* =========================================================================
   15) JOIN / RECRUITING — tick lists, numbered steps, FAQ, nav CTA
   ========================================================================= */
/* Reticle-bulleted lists */
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 1.6rem; margin-bottom: .75rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; background: var(--accent);
  -webkit-mask: url(../img/reticle.svg) center / contain no-repeat;
          mask: url(../img/reticle.svg) center / contain no-repeat;
}

/* Numbered process steps (a real sequence → numbering is meaningful) */
.steps {
  list-style: none; counter-reset: step; padding: 0; margin: 1.4rem 0 0;
  display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.steps li {
  counter-increment: step; background: var(--surface); border: var(--border); border-radius: var(--radius);
  padding: 1.4rem; transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.steps li:hover { background: var(--surface-2); border-color: var(--accent); transform: translateY(-2px); }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-mono); font-size: .85rem; letter-spacing: .1em; color: var(--accent); }
.steps h3 { font-size: var(--step-1); margin: .35rem 0 .35rem; }
.steps p { color: var(--slate); margin: 0; }

/* FAQ — native <details>, no JS */
.faq { border-top: var(--border); margin-top: .5rem; }
.faq details { border-bottom: var(--border); }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; padding: 1rem 2rem 1rem 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%); color: var(--accent); font-family: var(--font-mono); font-size: 1.2rem; }
.faq details[open] summary::after { content: "\2013"; }
.faq summary:hover { color: var(--accent-bright); }
.faq p { color: var(--slate); margin: 0 0 1rem; max-width: var(--measure); }

/* Members-only pointer */
.members { margin-top: 2.5rem; padding-top: 1.5rem; border-top: var(--border); }

/* Nav "Join" call-to-action */
.nav-links a.nav-cta { color: var(--accent-bright); }
@media (min-width: 821px) {
  .nav-links a.nav-cta {
    background: color-mix(in srgb, var(--accent) 16%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
    padding: .35rem .85rem;
  }
  .nav-links a.nav-cta::after { display: none; }
  .nav-links a.nav-cta:hover { background: var(--accent); color: var(--paper); }
}

/* Centered call-to-action band (Join page) */
.cta-band { background: var(--paper-2); border-block: var(--border); }
.cta-band .eyebrow { justify-content: center; }
.cta-band .btn--accent { margin-top: .4rem; }

/* Student names that link to their professional profile (LinkedIn/ResearchGate) */
.namelink { color: inherit; text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); transition: color .15s ease, border-color .15s ease; }
.namelink:hover { color: var(--accent-bright); border-color: var(--accent-bright); }
.namelink::after { content: "\2197"; font-size: .66em; vertical-align: super; margin-left: .12em; color: var(--accent); }
.namewall .namelink { border-bottom: none; }
.namewall li:hover .namelink { color: var(--accent-bright); }
