/* ================================================================
   KEN ZILLIG PERSONAL RESEARCH WEBSITE — STYLESHEET
   ================================================================
   
   HOW TO MAKE COMMON EDITS:
   
   - Change site colors: edit the values under ":root { }" below
   - Change fonts: edit the font-family values under ":root { }"
   - Adjust spacing: look for "padding" and "margin" values
   - Make text bigger/smaller: look for "font-size" values
   
   COLOR GUIDE (current palette):
   --ink:       very dark navy — main text color
   --deep:      darkest background (hero, footer)
   --water:     deep blue-green — primary accent
   --water-mid: medium teal — secondary accent  
   --sand:      warm off-white — light background sections
   --paper:     near-white — default page background
================================================================ */

:root {
  --ink:        #0f1e2a;
  --deep:       #091520;
  --water:      #0e4f6e;
  --water-mid:  #1a7a8a;
  --water-light:#2aa8b8;
  --sand:       #f0ede6;
  --paper:      #fafaf8;
  --mid-gray:   #6b7c8a;
  --light-gray: #e2e8ec;
  --white:      #ffffff;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --max-width: 1180px;
  --nav-height: 68px;
  --radius: 4px;
  --transition: 0.3s ease;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---- UTILITY ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.centered { text-align: center; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

/* ---- TYPOGRAPHY ---- */

/* Large italic serif display headings */
.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--mid-gray);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--water-light);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: var(--water-mid); transform: translateY(-2px); }

.btn-secondary {
  display: inline-block;
  padding: 0.85rem 2rem;
  border: 1.5px solid rgba(255,255,255,0.5);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition);
}
.btn-secondary:hover { border-color: white; background: rgba(255,255,255,0.1); }

.btn-outline {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border: 1.5px solid var(--water);
  color: var(--water);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
.btn-outline:hover { background: var(--water); color: white; }

/* ================================================================
   NAVIGATION
================================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
  background: transparent;
}

/* When user scrolls down, nav gets a solid background */
#navbar.scrolled {
  background: rgba(9, 21, 32, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.3);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  font-style: italic;
  color: white;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 3px;
}

/* Underline animation on nav links */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--water-light);
  transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: white; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* Mobile hamburger (hidden on desktop) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ================================================================
   HERO
================================================================ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: flex-start;

  /* 
    HERO BACKGROUND IMAGE
    Replace images/hero-bg.jpg with your own photo.
    Great options: fieldwork shot, fish underwater, Antarctic landscape.
    The overlay darkens it so text stays readable.
  */
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center 40%;

  /* Fallback gradient if no image is present */
  background-color: var(--deep);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* Dark gradient overlay — adjust the opacity values to control darkness */
  background: linear-gradient(
    105deg,
    rgba(9, 21, 32, 0.88) 0%,
    rgba(9, 21, 32, 0.6) 50%,
    rgba(9, 21, 32, 0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  padding-top: var(--nav-height);
}

/* Small label above your name */
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--water-light);
  margin-bottom: 1rem;
}

/* Your name — large serif display type */
.hero-name {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 1;
  color: white;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: rgba(255,255,255,0.75);
  margin-bottom: 2.5rem;
  max-width: 550px;
  line-height: 1.5;
}

.hero-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Subtle "scroll" indicator at the bottom */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  z-index: 2;
  animation: scrollBob 2s ease-in-out infinite;
}
.hero-scroll-hint::after {
  content: '';
  display: block;
  width: 1px;
  height: 30px;
  background: rgba(255,255,255,0.2);
  margin: 0.5rem auto 0;
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollBob { 0%,100%{opacity:.4} 50%{opacity:.8} }
@keyframes scrollLine { 0%,100%{height:30px} 50%{height:20px} }

/* ================================================================
   ABOUT STRIP
================================================================ */
#about-strip {
  padding: 7rem 0;
  background: var(--paper);
}

.about-image-wrap {
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
}

/* Your photo */
.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* Shown if photo doesn't load */
.photo-placeholder {
  display: none;
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--light-gray);
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  color: var(--mid-gray);
  font-style: italic;
}

.about-affiliations {
  margin-top: 1.5rem;
  border-left: 2px solid var(--water-light);
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.affil-item { display: flex; flex-direction: column; }
.affil-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid-gray);
}
.affil-value {
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 500;
}

/* Bio paragraphs */
.about-text p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  color: #2a3a48;
  line-height: 1.8;
}

/* Quick stats row */
.about-stats {
  display: flex;
  gap: 2.5rem;
  margin: 2.5rem 0;
  padding: 2rem 0;
  border-top: 1px solid var(--light-gray);
  border-bottom: 1px solid var(--light-gray);
}

.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--water);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-top: 0.25rem;
}

/* ================================================================
   RESEARCH HIGHLIGHTS (homepage cards)
================================================================ */
#research-highlights {
  padding: 7rem 0;
  background: var(--sand);
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.research-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.research-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.card-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  /* Fallback gradient shown when no image is present */
  background: linear-gradient(135deg, var(--water) 0%, var(--deep) 100%);
}
.card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.research-card:hover .card-img-wrap img { transform: scale(1.05); }
.card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9,21,32,0.6) 0%, transparent 60%);
}

.card-body { padding: 1.75rem; }
.card-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--water-mid);
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.card-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  color: var(--ink);
}
.card-body p {
  font-size: 0.9rem;
  color: var(--mid-gray);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.card-arrow {
  color: var(--water-mid);
  font-size: 1.1rem;
  transition: transform var(--transition);
  display: inline-block;
}
.research-card:hover .card-arrow { transform: translateX(5px); }

/* ================================================================
   RECENT PUBLICATIONS STRIP (homepage)
================================================================ */
#recent-pubs {
  padding: 7rem 0;
  background: var(--paper);
}

.pub-list { display: flex; flex-direction: column; gap: 0; }

.pub-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--light-gray);
  align-items: start;
}
.pub-item:first-child { border-top: 1px solid var(--light-gray); }

.pub-year {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--water-light);
  padding-top: 0.2rem;
}

.pub-authors {
  font-size: 0.9rem;
  color: var(--mid-gray);
  margin-bottom: 0.3rem;
}
.pub-title {
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 0.3rem;
  line-height: 1.5;
}
.pub-journal {
  font-size: 0.85rem;
  color: var(--water-mid);
  font-style: italic;
}

/* ================================================================
   FOOTER
================================================================ */
#footer {
  background: var(--deep);
  padding: 3rem 0;
  color: rgba(255,255,255,0.5);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: white;
  font-style: italic;
}
.footer-role { font-size: 0.85rem; margin-top: 0.2rem; }

.footer-links {
  display: flex;
  gap: 2rem;
}
.footer-links a {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--water-light); }

.footer-copy { font-size: 0.8rem; width: 100%; text-align: center; margin-top: 1rem; }

/* ================================================================
   RESEARCH PAGE
================================================================ */
.page-hero {
  background: var(--deep);
  padding: calc(var(--nav-height) + 4rem) 0 4rem;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: white;
  margin-bottom: 1rem;
}
.page-hero p {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  font-style: italic;
  font-family: var(--font-display);
}

/* Individual research project sections */
.research-section {
  padding: 6rem 0;
  border-bottom: 1px solid var(--light-gray);
}
.research-section:nth-child(even) { background: var(--sand); }

.research-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.research-section:nth-child(even) .research-section-inner { direction: rtl; }
.research-section:nth-child(even) .research-section-inner > * { direction: ltr; }

.research-section-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--water), var(--deep));
}
.research-section-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.research-section-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--water-mid);
  font-weight: 500;
  margin-bottom: 1rem;
}
.research-section-text h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1.25rem;
  line-height: 1.25;
}
.research-section-text p {
  font-size: 0.98rem;
  color: #2a3a48;
  margin-bottom: 1rem;
  line-height: 1.8;
}
.research-section-text .funding-note {
  font-size: 0.82rem;
  color: var(--mid-gray);
  font-style: italic;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--light-gray);
}

/* ================================================================
   PUBLICATIONS PAGE
================================================================ */
.pubs-page { padding: 5rem 0; }

.pub-section-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--ink);
  margin: 3rem 0 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--water-light);
}
.pub-section-title:first-child { margin-top: 0; }

/* Publication entries on the full publications page */
.pub-entry {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--light-gray);
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1.5rem;
}

.pub-entry-year {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--water-light);
  font-weight: 300;
  padding-top: 0.1rem;
}

.pub-entry-content {}
.pub-entry-title {
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 0.3rem;
}
.pub-entry-authors {
  font-size: 0.88rem;
  color: var(--mid-gray);
  margin-bottom: 0.2rem;
}
.pub-entry-journal {
  font-size: 0.88rem;
  color: var(--water-mid);
  font-style: italic;
}
.pub-entry-link {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--water);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pub-entry-link:hover { color: var(--water-mid); }

.pub-status-badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(14, 79, 110, 0.1);
  color: var(--water);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* ================================================================
   CV PAGE
================================================================ */
.cv-page { padding: 5rem 0; }

.cv-section {
  margin-bottom: 4rem;
}
.cv-section-title {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--water-mid);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--light-gray);
}

.cv-entry {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
  align-items: start;
}
.cv-date {
  font-size: 0.85rem;
  color: var(--mid-gray);
  padding-top: 0.15rem;
  line-height: 1.4;
}
.cv-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.2rem;
}
.cv-subtitle {
  font-size: 0.9rem;
  color: var(--mid-gray);
  margin-bottom: 0.3rem;
}
.cv-detail {
  font-size: 0.88rem;
  color: #4a5a6a;
  line-height: 1.6;
}

.cv-download-bar {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  border: 1px solid var(--light-gray);
}
.cv-download-bar p { font-size: 0.95rem; color: var(--mid-gray); }

/* Grant total highlight */
.grants-total {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--water);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

/* ================================================================
   CONTACT PAGE
================================================================ */
.contact-page { padding: 5rem 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}

.contact-info-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}
.contact-info-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 0.3rem;
}
.contact-info-value {
  font-size: 1rem;
  color: var(--ink);
}
.contact-info-value a { color: var(--water); text-decoration: underline; text-underline-offset: 2px; }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid-gray);
  font-weight: 500;
}
.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: white;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--water-light);
  box-shadow: 0 0 0 3px rgba(42, 168, 184, 0.1);
}
.form-group textarea { min-height: 140px; resize: vertical; }

.form-submit {
  align-self: flex-start;
  padding: 0.9rem 2.5rem;
  background: var(--water);
  color: white;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.form-submit:hover { background: var(--water-mid); transform: translateY(-2px); }

/* Formspree success message */
.form-success {
  display: none;
  padding: 1rem 1.5rem;
  background: rgba(14, 79, 110, 0.08);
  border-left: 3px solid var(--water-light);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--water);
}

/* ================================================================
   SHINY APP EMBED SECTION
   Used on research pages to embed interactive tools
================================================================ */
.shiny-embed-section {
  padding: 5rem 0;
  background: var(--deep);
  color: white;
}
.shiny-embed-section .section-title { color: white; }
.shiny-embed-section .section-sub { color: rgba(255,255,255,0.5); }

.shiny-frame-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.1);
  /* Default height — adjust as needed for your app */
  height: 600px;
}

.shiny-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Placeholder shown before real app is embedded */
.shiny-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.4);
  font-style: italic;
  gap: 1rem;
}
.shiny-placeholder p { font-size: 0.9rem; }

/* ================================================================
   RESPONSIVE — MOBILE BREAKPOINTS
================================================================ */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 3rem; }
  .research-grid { grid-template-columns: 1fr; }
  .research-section-inner { grid-template-columns: 1fr; direction: ltr !important; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .cv-entry { grid-template-columns: 1fr; gap: 0.25rem; }
  .pub-entry { grid-template-columns: 1fr; gap: 0.5rem; }
  .about-image-wrap { position: static; }
  .about-stats { gap: 1.5rem; flex-wrap: wrap; }
}

@media (max-width: 680px) {
  .nav-links { display: none; flex-direction: column; gap: 1rem; background: rgba(9,21,32,0.97); position: fixed; inset: var(--nav-height) 0 0 0; justify-content: center; align-items: center; padding: 2rem; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero-links { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .cv-download-bar { flex-direction: column; gap: 1rem; }
}
