/* ═══════════════════════════════════════════════

    CUSTOMIZE YOUR PAGE — START HERE
   ════════════════════════════════════════════

   These are the only lines you need to change
   to completely restyle the page.

   COLORS: replace the hex codes below.
   To find hex codes:
     → https://coolors.co  (palette generator)
     → https://colorhunt.co (curated palettes)

   FONTS: replace the font names below.
   To find fonts:
     → https://fonts.google.com
     → Pick a font, click "Get font", copy the
       <link> tag into the <head> of index.html,
       then use the font name here.

   ════════════════════════════════════════════ */

:root {

  /* --- COLORS --------------------------------
     Tip: pick an accent color you like and
     build the rest around it using coolors.co  
     
     Another option is to think of a painting you like.
     You can ask U-M GPT to give you a color palette 
     inspired by that painting. */

  --ink:     #1a1a2e;   /* headings — usually your darkest color    */
  --body:    #3d3d5c;   /* body text — slightly lighter than ink    */
  --muted:   #7c7c9a;   /* captions and labels — noticeably lighter */
  --accent:  #0f4c81;   /* links and highlights — your "brand" color */
  --surface: #f4f6fb;   /* alternating section background — very light */
  --border:  #e2e4ed;   /* lines and dividers — subtle               */

  /* --- FONTS ---------------------------------
     The page uses Georgia (built into every
     computer) by default. To use a Google Font,
     add its <link> to index.html first, then
     change the name here.

     Good serif options for academic pages:
       Lora, Playfair Display, Merriweather
     Good sans-serif options:
       Inter, DM Sans, Source Sans 3           */

  --font-main: Georgia, serif;

}


/* ═══════════════════════════════════════════════
   BASE — don't need to change this
   ════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  color: var(--body);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3 { color: var(--ink); line-height: 1.2; }
h1 { font-size: 2.2rem; margin-bottom: 1rem; }
h2 { font-size: 1.6rem; margin-bottom: 0.75rem; }

p  { max-width: 100ch; margin-bottom: 1rem; }
a  { color: var(--accent); }

ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
ul ul {
  padding-left: 1.5rem;
}
li { margin-bottom: 0.25rem; }

code {
  font-family: monospace;
  font-size: 0.88em;
  background: var(--surface);
  padding: 1px 5px;
  border-radius: 3px;
}


/* ═══════════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════════ */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand {
  font-weight: 700; color: var(--ink);
  text-decoration: none; font-size: 1rem;
}
.nav-links {
  display: flex; gap: 1.5rem; list-style: none;
}
.nav-links a {
  font-size: 0.9rem; color: var(--muted);
  text-decoration: none; font-family: system-ui, sans-serif;
}
.nav-links a:hover { color: var(--accent); }


/* ═══════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════ */
.hero {
  background: linear-gradient(135deg, #f4f6fb, #eef2ff);
  padding: 5rem 2rem 4rem;
  text-align: center;
}
.tag {
  display: inline-block;
  font-family: system-ui, sans-serif;
  font-size: 0.8rem; font-weight: 500;
  background: #dbeafe; color: #1d4ed8;
  padding: 4px 12px; border-radius: 20px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  max-width: 700px; margin: 0 auto 1rem;
}
.subtitle {
  font-size: 1.05rem; color: var(--body);
  max-width: 580px; margin: 0 auto 2rem;
}
.hero-actions {
  display: flex; gap: 0.75rem;
  justify-content: center; flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.btn-primary {
  background: var(--ink); color: #fff;
  padding: 0.6rem 1.4rem; border-radius: 6px;
  font-family: system-ui, sans-serif;
  font-size: 0.9rem; font-weight: 500;
  text-decoration: none;
}
.btn-outline {
  border: 1.5px solid var(--ink); color: var(--ink);
  padding: 0.6rem 1.4rem; border-radius: 6px;
  font-family: system-ui, sans-serif;
  font-size: 0.9rem; font-weight: 500;
  text-decoration: none;
}
.btn-primary:hover { opacity: 0.85; }
.btn-outline:hover { background: var(--ink); color: #fff; }


/* ═══════════════════════════════════════════════
   SECTIONS
   ════════════════════════════════════════════ */
section { padding: 3.5rem 2rem; }
section:nth-child(even) { background: var(--surface); }
.container { max-width: 820px; margin: 0 auto; }


/* ═══════════════════════════════════════════════
   FIGURES
   ════════════════════════════════════════════ */
.fig-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 1.5rem;
}
figure { margin: 0; }
.fig-finding {
  font-style: italic;
  color: var(--accent);
  margin-bottom: 0.5rem;
  max-width: 100%;
}
figure img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--border);
}
figcaption {
  font-family: system-ui, sans-serif;
  font-size: 0.85rem; color: var(--muted);
  margin-top: 0.5rem; line-height: 1.5;
}


/* ═══════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */
footer {
  background: var(--ink); color: #8892b0;
  padding: 2.5rem 2rem; text-align: center;
  font-family: system-ui, sans-serif; font-size: 0.85rem;
}
footer p { max-width: 100%; margin-bottom: 0.5rem; }
footer a { color: #93c5fd; }
