/* ============================================
   Kratimenos Lab — Professional Academic Site
   ============================================ */

:root {
  --sage-900: #2d4a30;
  --sage-800: #3d6341;
  --sage-700: #4d7c51;
  --sage-600: #5c8a5f;
  --sage-500: #7a9a7e;
  --sage-400: #99b49c;
  --sage-300: #b8ceba;
  --sage-200: #d4e3d5;
  --sage-100: #e8f0e9;
  --sage-50:  #f4f8f4;

  --neutral-900: #1a1a2e;
  --neutral-800: #2d2d3f;
  --neutral-700: #404052;
  --neutral-600: #555566;
  --neutral-500: #71717a;
  --neutral-400: #a1a1aa;
  --neutral-300: #d4d4d8;
  --neutral-200: #e4e4e7;
  --neutral-100: #f4f4f5;
  --neutral-50:  #fafafa;

  --white: #ffffff;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -4px rgba(0,0,0,.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.08), 0 8px 10px -6px rgba(0,0,0,.04);
  --radius: 8px;
  --radius-lg: 12px;
  --max-w: 1140px;
  --transition: all .25s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-sans);
  color: var(--neutral-700);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage-700); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--sage-900); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--sage-500);
  outline-offset: 2px;
  border-radius: 4px;
}
ul, ol { list-style: none; }

/* ---------- Utilities ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.text-center { text-align: center; }

/* ============================
   NAVIGATION
   ============================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--neutral-200);
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; height: 72px;
}
.nav-brand {
  display: flex; align-items: center; gap: .75rem;
  font-family: var(--font-serif); font-weight: 700; font-size: 1.15rem;
  color: var(--neutral-900); letter-spacing: -.01em;
}
.nav-brand img { height: 44px; width: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--sage-300); }
.nav-links { display: flex; gap: .5rem; }
.nav-links a {
  font-size: .85rem; font-weight: 500; color: var(--neutral-600);
  padding: .5rem .85rem; border-radius: 6px;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--sage-800); background: var(--sage-50); }
.nav-links a.active { color: var(--sage-800); background: var(--sage-100); font-weight: 600; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--neutral-300);
  border-radius: 6px; padding: .45rem .55rem; cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--neutral-700); margin: 4px 0; transition: .3s; }

/* ============================
   PAGE HEADER (Hero-style)
   ============================ */
.page-header {
  padding: 8rem 2rem 4rem;
  background: linear-gradient(135deg, var(--sage-50) 0%, var(--white) 40%, var(--sage-100) 100%);
  border-bottom: 1px solid var(--sage-200);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; top: -50%; right: -20%; width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122,154,126,.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 {
  font-family: var(--font-serif); font-size: 2.5rem; font-weight: 700;
  color: var(--neutral-900); margin-bottom: .5rem; letter-spacing: -.02em;
}
.page-header .subtitle {
  font-size: 1.1rem; color: var(--neutral-500); max-width: 640px;
}
.breadcrumb {
  font-size: .82rem; color: var(--neutral-400); margin-bottom: 1rem;
}
.breadcrumb a { color: var(--sage-600); }
.breadcrumb span { margin: 0 .4rem; }

/* ============================
   HOME HERO (special)
   ============================ */
.hero {
  padding: 10rem 2rem 6rem;
  background: linear-gradient(160deg, var(--sage-50) 0%, var(--white) 35%, var(--sage-100) 70%, var(--sage-50) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -30%; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(122,154,126,.1) 0%, transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-logo {
  width: 140px; height: 140px; object-fit: cover; border-radius: 50%;
  margin: 0 auto 2rem;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 4px var(--sage-300), var(--shadow-xl);
}
.hero h1 {
  font-family: var(--font-serif); font-size: 3rem; font-weight: 700;
  color: var(--neutral-900); margin-bottom: .3rem; letter-spacing: -.02em;
}
.hero .hero-inst {
  font-size: 1.1rem; color: var(--sage-700); font-weight: 500; margin-bottom: 1.2rem;
}
.hero .hero-tagline {
  font-size: 1.15rem; color: var(--neutral-500); max-width: 600px;
  margin: 0 auto 3rem; line-height: 1.7;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 2rem;
  background: var(--sage-700); color: var(--white);
  border-radius: 50px; font-weight: 600; font-size: .95rem;
  box-shadow: var(--shadow-md); transition: var(--transition);
}
.hero-cta:hover { background: var(--sage-800); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ============================
   HOME SECTIONS
   ============================ */
.home-section { padding: 5rem 2rem; }
.home-section:nth-child(even) { background: var(--neutral-50); }
.home-section .section-label {
  font-size: .75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; color: var(--sage-600); margin-bottom: .5rem;
}
.home-section .section-heading {
  font-family: var(--font-serif); font-size: 2rem; color: var(--neutral-900);
  margin-bottom: 1rem; letter-spacing: -.01em;
}
.home-section .section-desc {
  color: var(--neutral-500); max-width: 640px; margin-bottom: 2.5rem;
}

/* Featured links */
.featured-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem;
}
.featured-card {
  background: var(--white); border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg); padding: 1.5rem; transition: var(--transition);
  display: flex; flex-direction: column;
}
.featured-card:hover { border-color: var(--sage-400); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.featured-card .card-label {
  font-size: .7rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; color: var(--sage-600); margin-bottom: .5rem;
}
.featured-card h3 { font-size: 1rem; font-weight: 600; color: var(--neutral-800); line-height: 1.4; margin-bottom: .75rem; }
.featured-card .card-link {
  margin-top: auto; font-size: .85rem; font-weight: 600;
  color: var(--sage-700); display: inline-flex; align-items: center; gap: .3rem;
}
.featured-card .card-link::after { content: '\2192'; transition: transform .2s; }
.featured-card:hover .card-link::after { transform: translateX(4px); }

/* Research preview cards on home */
.research-preview-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem;
}
.research-preview {
  background: var(--white); border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg); padding: 2rem; position: relative;
  transition: var(--transition); overflow: hidden;
}
.research-preview::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: linear-gradient(90deg, var(--sage-500), var(--sage-300));
}
.research-preview:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.research-preview .rp-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--sage-100); color: var(--sage-800);
  font-weight: 700; font-size: .85rem; margin-bottom: 1rem;
}
.research-preview h3 { font-size: 1.1rem; font-weight: 600; color: var(--neutral-800); margin-bottom: .75rem; }
.research-preview p { font-size: .9rem; color: var(--neutral-500); line-height: 1.6; }

/* ============================
   ABOUT PAGE
   ============================ */
.about-content { padding: 4rem 2rem 5rem; }
.about-block { margin-bottom: 3rem; max-width: 780px; }
.about-block h2 {
  font-family: var(--font-serif); font-size: 1.5rem; color: var(--neutral-900);
  margin-bottom: .75rem; padding-left: 1rem;
  border-left: 3px solid var(--sage-500);
}
.about-block p { font-size: .95rem; color: var(--neutral-600); line-height: 1.85; }

/* Highlights bar */
.highlights {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem;
  padding: 3rem 2rem; background: var(--sage-50); border-top: 1px solid var(--sage-200);
  border-bottom: 1px solid var(--sage-200);
}
.highlight-item { text-align: center; padding: 1.5rem; }
.highlight-item .hl-icon {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto .75rem;
  background: var(--sage-100); color: var(--sage-700);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.highlight-item h4 { font-size: .95rem; color: var(--neutral-800); margin-bottom: .25rem; }
.highlight-item p { font-size: .82rem; color: var(--neutral-500); }

/* ============================
   RESEARCH PAGE
   ============================ */
.research-content { padding: 4rem 2rem 5rem; }
.research-area {
  background: var(--white); border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg); padding: 2.5rem; margin-bottom: 2rem;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.research-area::before {
  content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--sage-500), var(--sage-300));
}
.research-area .area-num {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; color: var(--sage-600); margin-bottom: .75rem;
}
.research-area .area-num span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--sage-100); color: var(--sage-800);
  font-weight: 700; font-size: .8rem;
}
.research-area h2 {
  font-family: var(--font-serif); font-size: 1.4rem; color: var(--neutral-900);
  margin-bottom: 1rem; letter-spacing: -.01em;
}
.research-area p { font-size: .93rem; color: var(--neutral-600); line-height: 1.85; }

/* ============================
   PI SECTION
   ============================ */
.pi-section { padding: 4rem 2rem; background: var(--sage-50); border-bottom: 1px solid var(--sage-200); }
.pi-card {
  display: flex; gap: 3rem; align-items: flex-start;
  max-width: 860px; margin: 0 auto;
}
.pi-avatar {
  flex-shrink: 0; width: 200px; height: 200px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--sage-300), var(--sage-500));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 3.5rem; font-weight: 700;
  box-shadow: var(--shadow-lg);
}
.pi-info h2 {
  font-family: var(--font-serif); font-size: 1.8rem; color: var(--neutral-900);
  margin-bottom: .25rem;
}
.pi-info .pi-title {
  font-size: 1rem; color: var(--sage-700); font-weight: 500; margin-bottom: .25rem;
}
.pi-info .pi-affiliation {
  font-size: .9rem; color: var(--neutral-500); margin-bottom: 1.25rem;
  padding-bottom: 1.25rem; border-bottom: 1px solid var(--sage-200);
}
.pi-info .pi-bio { font-size: .93rem; color: var(--neutral-600); line-height: 1.8; }

/* ============================
   TEAM PAGE
   ============================ */
.team-content { padding: 4rem 2rem 5rem; }
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem;
}
.member-card {
  background: var(--white); border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg); padding: 1.75rem; text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.member-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.member-card .avatar {
  width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--sage-200), var(--sage-400));
  color: var(--sage-900);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 700; font-family: var(--font-serif);
}
.member-card h3 { font-size: 1.05rem; color: var(--neutral-800); margin-bottom: .15rem; font-weight: 600; }
.member-card .mem-title { font-size: .82rem; color: var(--sage-700); font-weight: 500; margin-bottom: .6rem; }
.member-card .mem-bio { font-size: .83rem; color: var(--neutral-500); line-height: 1.55; }

/* Team sub-heading */
.team-content .section-label {
  font-size: .75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; color: var(--sage-600); margin-bottom: .5rem;
}
.team-content .section-heading {
  font-family: var(--font-serif); font-size: 1.8rem;
  color: var(--neutral-900); margin-bottom: 2rem;
}

/* ============================
   PUBLICATIONS PAGE
   ============================ */
.pub-content { padding: 4rem 2rem 5rem; }
.pub-stats {
  display: flex; gap: 2rem; margin-bottom: 3rem; flex-wrap: wrap;
}
.pub-stat {
  background: var(--sage-50); border: 1px solid var(--sage-200);
  border-radius: var(--radius); padding: 1.25rem 1.75rem;
}
.pub-stat .stat-num {
  font-family: var(--font-serif); font-size: 2rem; font-weight: 700; color: var(--sage-800);
}
.pub-stat .stat-label { font-size: .8rem; color: var(--neutral-500); font-weight: 500; }

.pub-list { display: flex; flex-direction: column; gap: 1rem; }
.pub-item {
  background: var(--white); border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg); padding: 1.75rem 2rem;
  transition: var(--transition); display: flex; gap: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.pub-item:hover { border-color: var(--sage-400); box-shadow: var(--shadow-md); }
.pub-item .pub-num {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--sage-100); color: var(--sage-800);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem; margin-top: .2rem;
}
.pub-item .pub-body { flex: 1; }
.pub-item h3 {
  font-size: 1rem; font-weight: 600; color: var(--neutral-800);
  line-height: 1.45; margin-bottom: .5rem;
}
.pub-item h3 a { color: var(--neutral-800); }
.pub-item h3 a:hover { color: var(--sage-700); }
.pub-meta-line {
  display: flex; flex-wrap: wrap; gap: .4rem; align-items: center;
  font-size: .82rem; color: var(--neutral-500); margin-bottom: .4rem;
}
.pub-meta-line .journal {
  font-weight: 600; color: var(--sage-700);
}
.pub-meta-line .badge {
  display: inline-block; padding: .15rem .5rem; border-radius: 20px;
  font-size: .7rem; font-weight: 600; background: var(--sage-100);
  color: var(--sage-800);
}
.pub-authors {
  font-size: .8rem; color: var(--neutral-400); line-height: 1.5;
  word-break: break-word;
}
.pub-ids {
  display: flex; gap: 1rem; margin-top: .5rem; font-size: .78rem;
}
.pub-ids a {
  color: var(--sage-600); font-weight: 500;
  padding: .2rem .6rem; border-radius: 4px; background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
}
.pub-ids a:hover { background: var(--sage-50); border-color: var(--sage-300); }

/* ============================
   CONTACT PAGE
   ============================ */
.contact-content { padding: 4rem 2rem 5rem; min-height: 50vh; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  max-width: 800px;
}
.contact-block h3 {
  font-family: var(--font-serif); font-size: 1.2rem; color: var(--neutral-900);
  margin-bottom: 1rem;
}
.contact-block p { font-size: .95rem; color: var(--neutral-600); margin-bottom: .4rem; }
.contact-block .inst-name { font-weight: 600; color: var(--neutral-800); }

/* ============================
   FOOTER
   ============================ */
footer {
  background: var(--neutral-900); color: var(--neutral-400);
  padding: 3rem 2rem;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-brand {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--font-serif); font-weight: 700; font-size: 1rem; color: var(--neutral-300);
}
.footer-brand img { height: 32px; width: 32px; border-radius: 50%; object-fit: cover; opacity: .8; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: .82rem; color: var(--neutral-400); }
.footer-links a:hover { color: var(--sage-400); }
.footer-copy { width: 100%; text-align: center; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--neutral-800); font-size: .78rem; }

/* ============================
   RESPONSIVE
   ============================ */

/* --- Tablet & below (768px) --- */
@media (max-width: 768px) {
  /* Mobile nav */
  .nav-inner { height: 60px; padding: 0 1.25rem; }
  .nav-brand { font-size: 1rem; gap: .5rem; }
  .nav-brand img { height: 36px; width: 36px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--neutral-200);
    padding: .5rem 1rem 1rem; gap: 0; box-shadow: var(--shadow-lg);
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height .35s ease, opacity .25s ease, padding .35s ease;
  }
  .nav-links.open {
    max-height: 400px; opacity: 1; padding: .75rem 1rem 1.25rem;
  }
  .nav-links a {
    font-size: .95rem; padding: .75rem 1rem; border-radius: 8px;
    /* Bigger touch targets */
    min-height: 44px; display: flex; align-items: center;
  }

  /* Animated hamburger */
  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  /* Container padding */
  .container { padding: 0 1.25rem; }

  /* Hero */
  .hero { padding: 6.5rem 1.25rem 3rem; }
  .hero h1 { font-size: 2rem; }
  .hero-logo { width: 100px; height: 100px; margin-bottom: 1.5rem; }
  .hero .hero-inst { font-size: .95rem; }
  .hero .hero-tagline { font-size: 1rem; margin-bottom: 2rem; }
  .hero-cta { padding: .75rem 1.75rem; font-size: .9rem; }

  /* Page headers */
  .page-header { padding: 5.5rem 1.25rem 2rem; }
  .page-header h1 { font-size: 1.65rem; }
  .page-header .subtitle { font-size: .95rem; }

  /* Home sections */
  .home-section { padding: 3rem 1.25rem; }
  .home-section .section-heading { font-size: 1.6rem; }
  .home-section .section-desc { font-size: .9rem; margin-bottom: 1.75rem; }

  /* Grids to single column */
  .team-grid { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
  .research-preview-grid { grid-template-columns: 1fr; }

  /* Cards - better mobile padding */
  .featured-card { padding: 1.25rem; }
  .research-preview { padding: 1.5rem; }
  .research-area { padding: 1.5rem 1.25rem 1.5rem 1.5rem; }
  .member-card { padding: 1.5rem; }

  /* PI section */
  .pi-section { padding: 3rem 1.25rem; }
  .pi-card { flex-direction: column; align-items: center; text-align: center; gap: 1.5rem; }
  .pi-avatar { width: 140px; height: 140px; font-size: 2.5rem; }
  .pi-info h2 { font-size: 1.5rem; }
  .pi-info .pi-affiliation { text-align: center; }

  /* About */
  .about-content { padding: 2.5rem 1.25rem 3rem; }
  .about-block h2 { font-size: 1.3rem; }

  /* Research */
  .research-content { padding: 2.5rem 1.25rem 3rem; }
  .research-area h2 { font-size: 1.2rem; }

  /* Team */
  .team-content { padding: 2.5rem 1.25rem 3rem; }

  /* Publications - touch-friendly */
  .pub-content { padding: 2.5rem 1.25rem 3rem; }
  .pub-item { flex-direction: column; gap: .75rem; padding: 1.25rem; }
  .pub-item .pub-num { width: 32px; height: 32px; font-size: .75rem; }
  .pub-item h3 { font-size: .92rem; }
  .pub-stats { flex-direction: row; gap: 1rem; }
  .pub-stat { flex: 1; padding: 1rem; min-width: 0; }
  .pub-stat .stat-num { font-size: 1.5rem; }
  .pub-ids { flex-wrap: wrap; gap: .5rem; }
  .pub-ids a { padding: .35rem .75rem; font-size: .8rem; min-height: 36px; display: inline-flex; align-items: center; }

  /* Contact */
  .contact-content { padding: 2.5rem 1.25rem 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* Footer */
  .footer-inner { flex-direction: column; text-align: center; gap: .75rem; }
  .footer-links { justify-content: center; flex-wrap: wrap; gap: 1rem; }
  .footer-links a { font-size: .85rem; padding: .25rem; }
  .footer-copy { margin-top: 1rem; padding-top: 1rem; }
  footer { padding: 2rem 1.25rem; }

  /* Highlights */
  .highlights { grid-template-columns: 1fr 1fr; padding: 2rem 1.25rem; }
}

/* --- Small phones (480px) --- */
@media (max-width: 480px) {
  .hero h1 { font-size: 1.7rem; }
  .hero-logo { width: 88px; height: 88px; }
  .hero .hero-tagline { font-size: .92rem; }

  .page-header h1 { font-size: 1.4rem; }

  .home-section .section-heading { font-size: 1.35rem; }

  .highlights { grid-template-columns: 1fr; }

  .pub-stats { flex-direction: column; }
  .pub-stat { text-align: center; }

  .pi-avatar { width: 110px; height: 110px; font-size: 2rem; }
  .pi-info h2 { font-size: 1.3rem; }

  .nav-brand span { display: none; }
}
