/* ==========================================================================
   PreMed Pack — shared stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --red: #b3494f;
  --red-dark: #8f3a3f;
  --red-soft: #e9c9c6;
  --red-pale: #f5e4e1;
  --tan: #f3ece0;
  --tan-dark: #e8dcc7;
  --cream: #faf6ee;
  --ink: #262220;
  --ink-soft: #55504b;
  --black: #1b1917;
  --white: #ffffff;
  --line: #e0d5c3;
  --shadow: 0 10px 30px rgba(27, 25, 23, 0.12);
  --shadow-sm: 0 4px 14px rgba(27, 25, 23, 0.08);
  --radius: 14px;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

html { overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--black);
  line-height: 1.15;
  margin: 0 0 0.5em;
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { background: transparent; border-color: var(--black); color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-light { background: var(--white); color: var(--red-dark); box-shadow: var(--shadow-sm); }

/* ---------------------------------- Header / Menu button --------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--black);
}
.brand-name span { color: var(--red); }

.menu-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 10px 18px 10px 14px;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.15s ease;
}
.menu-btn:hover { background: var(--red-dark); }
.menu-btn .bars { display: flex; flex-direction: column; gap: 3px; }
.menu-btn .bars span { width: 18px; height: 2px; background: var(--white); border-radius: 2px; }

/* ---------------------------------- Side ribbon nav --------------------- */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 17, 15, 0.45);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 45;
}
body.nav-is-open .nav-overlay { opacity: 1; pointer-events: auto; }
body.nav-is-open #page-root { filter: blur(4px); }
#page-root { transition: filter 0.25s ease; }

.side-nav {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(320px, 84vw);
  background: var(--black);
  color: var(--tan);
  z-index: 50;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  box-shadow: 20px 0 50px rgba(0,0,0,0.35);
}
body.nav-is-open .side-nav { transform: translateX(0); }

.side-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 22px 18px;
  border-bottom: 1px solid rgba(243, 236, 224, 0.14);
}
.side-nav-top .brand-name { color: var(--tan); }
.side-nav-top .brand-name span { color: var(--red-soft); }
.nav-close {
  background: transparent;
  border: 1px solid rgba(243,236,224,0.3);
  color: var(--tan);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}
.nav-close:hover { background: rgba(243,236,224,0.12); }

.side-nav-links {
  list-style: none;
  padding: 10px 12px;
  margin: 0;
  flex: 1;
  overflow-y: auto;
}
.side-nav-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--tan);
  font-weight: 600;
  font-size: 1.02rem;
  transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}
.side-nav-links a .num {
  font-family: var(--serif);
  color: var(--red-soft);
  font-size: 0.85rem;
  width: 20px;
}
.side-nav-links a:hover, .side-nav-links a.active {
  background: rgba(179, 73, 79, 0.28);
  padding-left: 18px;
}
.side-nav-links a.active { color: var(--white); }
.side-nav-links li + li { margin-top: 2px; }

.side-nav-foot {
  padding: 18px 22px 24px;
  border-top: 1px solid rgba(243,236,224,0.14);
  font-size: 0.82rem;
  color: rgba(243,236,224,0.65);
}
.side-nav-foot img { width: 110px; margin-bottom: 10px; opacity: 0.9; }

/* ---------------------------------- Hero --------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--tan) 0%, var(--cream) 100%);
  padding: 64px 0 40px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); margin-bottom: 18px; }
.hero p.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 46ch; }
.hero-cta { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }

/* rotating image card (homepage hero) */
.hero-art {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}
.hero-carousel { position: relative; width: 100%; height: 100%; }
.hero-carousel .slide {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; transition: opacity 1s ease;
}
.hero-carousel .slide.active { opacity: 1; z-index: 1; }
.hero-carousel .slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-dots {
  position: absolute; bottom: 16px; right: 18px;
  display: flex; gap: 8px; z-index: 2;
}
.carousel-dots .dot {
  width: 9px; height: 9px; border-radius: 999px;
  background: rgba(255,255,255,0.55); border: none; cursor: pointer; padding: 0;
  transition: width 0.2s ease, background 0.2s ease;
}
.carousel-dots .dot.active { background: var(--white); width: 24px; }

@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
}

/* generic page hero (sub pages) */
.page-hero {
  padding: 56px 0 44px;
  background: linear-gradient(180deg, var(--tan) 0%, var(--cream) 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.page-hero p { color: var(--ink-soft); max-width: 62ch; font-size: 1.06rem; }

section { padding: 64px 0; }
section.tight { padding: 40px 0; }
.section-head { max-width: 70ch; margin-bottom: 34px; }
.section-head-wide { max-width: none; }
.section-head-wide p { max-width: 90ch; }
.band-tan { background: var(--tan); }
.band-black { background: var(--black); color: var(--tan); }
.band-black h2, .band-black h3 { color: var(--white); }

/* ---------------------------------- Timeline (bell tower) --------------- */
.tower-timeline {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 190px 1fr;
  column-gap: 30px;
  row-gap: 40px;
  align-items: stretch;
}
.tower-timeline .tower-image {
  grid-column: 2;
  grid-row: 1 / span 5;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 18px;
  filter: drop-shadow(0 16px 20px rgba(179, 73, 79, 0.18));
}
.tw-row { position: relative; }
.tw-row.tw-1 { grid-row: 1; }
.tw-row.tw-2 { grid-row: 2; }
.tw-row.tw-3 { grid-row: 3; }
.tw-row.tw-4 { grid-row: 4; }
.tw-row.tw-5 { grid-row: 5; }
.tw-row.tw-left { grid-column: 1; }
.tw-row.tw-right { grid-column: 3; }
.tw-row.tw-left::after,
.tw-row.tw-right::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 3px;
  background: var(--red-soft);
}
.tw-row.tw-left::after { right: -30px; }
.tw-row.tw-right::after { left: -30px; }
.tw-row.tw-left::before,
.tw-row.tw-right::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  transform: translateY(-50%);
  z-index: 2;
}
.tw-row.tw-left::before { right: -34px; }
.tw-row.tw-right::before { left: -34px; }

.timeline-node {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: left;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: var(--radius);
  padding: 22px 26px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  font-family: var(--sans);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.timeline-node:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--red);
}
.timeline-node .year-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.95rem;
  margin-right: 12px;
  vertical-align: middle;
}
.timeline-node h3 {
  display: inline;
  font-size: 1.35rem;
  vertical-align: middle;
}
.timeline-node .hint {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.timeline-node .tap {
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red);
}

@media (max-width: 880px) {
  .tower-timeline { grid-template-columns: 1fr; row-gap: 24px; }
  .tower-timeline .tower-image {
    grid-column: 1; grid-row: auto;
    width: auto;
    height: auto;
    max-width: 65%;
    max-height: 280px;
    object-fit: contain;
    margin: 0 auto 10px;
  }
  .tw-row.tw-left, .tw-row.tw-right { grid-column: 1; grid-row: auto; }
  .tw-row.tw-left::after, .tw-row.tw-right::after,
  .tw-row.tw-left::before, .tw-row.tw-right::before { display: none; }
}

@media (max-width: 480px) {
  .tower-timeline .tower-image { max-width: 55%; max-height: 240px; }
}

/* ---------------------------------- Modal ------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,17,15,0.55);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 80;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--cream);
  border-radius: 18px;
  max-width: 560px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  padding: 34px 34px 30px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
  position: relative;
  animation: pop 0.22s ease;
}
@keyframes pop { from { transform: scale(0.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  font-size: 1.1rem;
}
.modal-box .eyebrow { margin-bottom: 6px; }
.modal-box h3 { font-size: 1.5rem; margin-bottom: 16px; }
.modal-box p { color: var(--ink-soft); margin-bottom: 14px; }
.modal-box p:last-child { margin-bottom: 0; }
.modal-box p strong { color: var(--ink); }
.modal-subhead {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-dark);
  margin: 18px 0 8px;
}
.modal-box p + .modal-subhead { margin-top: 18px; }
.modal-box ul { list-style: none; margin: 0; }
.modal-box ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--ink-soft);
}
.modal-box ul li::before {
  content: '';
  position: absolute;
  left: 2px; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
}

/* form modal */
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.form-row input, .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--white);
  font-family: var(--sans);
  font-size: 0.95rem;
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--red-soft); border-color: var(--red); }
.form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: -6px; margin-bottom: 18px; }

/* ---------------------------------- Cards -------------------------------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 14px; }

.lab-card {
  background: var(--white);
  border-radius: 12px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.lab-card:hover { border-color: var(--red); transform: translateX(3px); }
.lab-card .name { font-weight: 700; font-family: var(--serif); font-size: 1.05rem; }
.lab-card .dept { font-size: 0.82rem; color: var(--ink-soft); }
.lab-card a.visit {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red-dark);
  text-decoration: none;
  white-space: nowrap;
}
.lab-card a.visit:hover { text-decoration: underline; }

.pill {
  display: inline-block;
  background: var(--red-pale);
  color: var(--red-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* ---------------------------------- Coursework roadmap ------------------- */
.roadmap { position: relative; }
.roadmap-track {
  position: relative;
  padding-left: 40px;
  border-left: 4px dashed var(--red-soft);
}
.roadmap-year {
  position: relative;
  margin-bottom: 40px;
}
.roadmap-year:last-child { margin-bottom: 0; }
.roadmap-year .marker {
  position: absolute;
  left: -54px;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--serif);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px var(--cream);
}
.roadmap-year h3 { font-size: 1.3rem; margin-bottom: 14px; }
.sem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sem-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
}
.sem-box h4 {
  font-family: var(--sans);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red-dark);
  margin-bottom: 10px;
}
.course-chip {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.88rem;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
}
.course-chip:last-child { border-bottom: none; }
.course-chip .code { font-weight: 700; color: var(--ink); white-space: nowrap; }
.course-chip .hrs { color: var(--ink-soft); white-space: nowrap; }

/* ---------------------------------- MCAT timeline table ------------------ */
.mcat-phase { margin-bottom: 30px; }
.mcat-phase-title {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.mcat-phase.phase-app .mcat-phase-title { background: var(--red-dark); }
.mcat-phase.phase-after .mcat-phase-title { background: var(--ink-soft); }
.mcat-row {
  display: grid;
  grid-template-columns: 200px 1fr 260px;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 14px;
}
.mcat-row .when { font-weight: 700; font-family: var(--serif); font-size: 1.05rem; }
.mcat-row .when small { display: block; font-family: var(--sans); font-weight: 500; color: var(--ink-soft); font-size: 0.78rem; margin-top: 3px; }
.mcat-row .focus strong { display: block; margin-bottom: 6px; }
.mcat-row .focus ul { list-style: disc; padding-left: 18px; }
.mcat-row .focus ul li { margin-bottom: 4px; font-size: 0.92rem; color: var(--ink-soft); }
.mcat-row .tips { font-size: 0.86rem; color: var(--ink-soft); border-left: 2px solid var(--red-soft); padding-left: 16px; }
.mcat-row .tips ul { list-style: disc; padding-left: 16px; }
.mcat-row .tips li { margin-bottom: 4px; }

/* ---------------------------------- Clinical experience ------------------ */
.story-card {
  background: var(--white);
  border-radius: 18px;
  padding: 34px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.compare-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.compare-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: left;
}
.compare-card h4 { font-size: 1rem; margin-bottom: 6px; }
.compare-card .len { font-size: 0.78rem; color: var(--red-dark); font-weight: 700; margin-bottom: 10px; display:block; }
.compare-card p { font-size: 0.86rem; margin-bottom: 12px; }
.compare-card a { font-size: 0.82rem; font-weight: 700; color: var(--ink); text-decoration: underline; }

/* ---------------------------------- Footer ------------------------------- */
.site-footer { background: var(--black); color: rgba(243,236,224,0.75); padding: 50px 0 30px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 30px; border-bottom: 1px solid rgba(243,236,224,0.14); }
.footer-brand { max-width: 360px; }
.footer-brand .brand-name { color: var(--tan); }
.footer-brand .brand-name span { color: var(--red-soft); }
.footer-brand p { font-size: 0.88rem; margin-top: 12px; }
.footer-links { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-links h5 { color: var(--tan); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.footer-links ul { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { text-decoration: none; color: rgba(243,236,224,0.75); font-size: 0.9rem; }
.footer-links a:hover { color: var(--white); }
.footer-credit { display: flex; align-items: center; gap: 14px; padding-top: 22px; }
.footer-credit img { width: 96px; opacity: 0.9; }
.disclaimer {
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(243,236,224,0.55);
  padding-top: 22px;
  max-width: 900px;
}

/* ---------------------------------- Page banner photos -------------------- */
.page-banner {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 10px;
}
.page-banner img { width: 100%; max-height: 380px; object-fit: cover; }

.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 20px 0; }
.photo-pair figure { margin: 0; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.photo-pair img { width: 100%; height: 220px; object-fit: cover; display: block; }

.inline-figure { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 16px; }
.inline-figure img { width: 100%; display: block; }
.inline-figure-sm { max-width: 300px; margin-left: auto; margin-right: auto; }

/* ---------------------------------- Application process sections ---------- */
.limit-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--black);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  margin-left: 10px;
}

.warning-box {
  background: #fbeee9;
  border: 1.5px solid #e0b9ac;
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 24px 0;
}
.warning-box h4 { margin-bottom: 10px; font-family: var(--sans); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--red-dark); }
.warning-box ul { list-style: none; }
.warning-box ul li { position: relative; padding-left: 22px; margin-bottom: 10px; color: var(--ink-soft); font-size: 0.95rem; }
.warning-box ul li::before { content: '!'; position: absolute; left: 0; top: 0; font-weight: 800; color: var(--red-dark); }

.question-box {
  background: var(--white);
  border: 1px dashed var(--red-soft);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 24px 0;
}
.question-box h4 { font-size: 1rem; margin-bottom: 12px; }
.question-box ul { list-style: none; }
.question-box li { font-style: italic; color: var(--ink-soft); margin-bottom: 8px; }
.question-box li::before { content: '“'; margin-right: 2px; }
.question-box li::after { content: '”'; margin-left: 2px; }

.competency-figure { text-align: center; margin: 30px 0; }
.competency-figure img { border-radius: 16px; box-shadow: var(--shadow); width: 100%; }

.timeline-note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 16px;
}
.timeline-note .when-badge {
  flex-shrink: 0;
  background: var(--red-pale);
  color: var(--red-dark);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.lor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }

/* ---------------------------------- Mental health page -------------------- */
.crisis-box {
  background: var(--black);
  color: var(--tan);
  border-radius: var(--radius);
  padding: 26px 30px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.crisis-box h3 { color: var(--white); margin-bottom: 6px; }
.crisis-box p { color: rgba(243,236,224,0.8); margin-bottom: 0; }
.crisis-box .btn-light { flex-shrink: 0; }

/* ---------------------------------- Misc ---------------------------------- */
.tag-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.divider { height: 1px; background: var(--line); margin: 50px 0; }
.callout {
  background: var(--red-pale);
  border-radius: var(--radius);
  padding: 30px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.callout h3 { margin-bottom: 6px; }
.callout p { color: var(--ink-soft); margin-bottom: 0; max-width: 50ch; }
.callout-center { justify-content: center; text-align: center; }
.callout-center p { margin-left: auto; margin-right: auto; }

.resource-list { display: grid; gap: 12px; }
.resource-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.resource-list a:hover { border-color: var(--red); transform: translateX(3px); }
.resource-list a .go { color: var(--red-dark); font-size: 0.85rem; }
.resource-list small { display: block; font-weight: 400; color: var(--ink-soft); margin-top: 4px; }

/* ---------------------------------- Responsive ---------------------------- */
@media (max-width: 880px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .mcat-row { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: repeat(2, 1fr); }
  .sem-grid { grid-template-columns: 1fr; }
  .roadmap-track { padding-left: 30px; }
  .roadmap-year .marker { left: -44px; width: 28px; height: 28px; font-size: 0.85rem; }
  .footer-top { flex-direction: column; }
  section { padding: 48px 0; }
}

@media (max-width: 720px) {
  .photo-pair { grid-template-columns: 1fr; }
  .lor-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  section { padding: 40px 0; }
  .site-header .wrap { height: 64px; }
  .brand-name { font-size: 1.08rem; }
  .menu-btn { padding: 12px 16px 12px 13px; font-size: 0.86rem; }

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

  .story-card, .warning-box, .question-box { padding: 22px 20px; }
  .modal-box { padding: 26px 22px 24px; }
  .callout, .crisis-box { padding: 22px; flex-direction: column; align-items: flex-start; }
  .callout > a, .crisis-box > a { width: 100%; text-align: center; justify-content: center; }

  .timeline-note { flex-direction: column; gap: 10px; }
  .timeline-note .when-badge { align-self: flex-start; }

  .lab-card { flex-wrap: wrap; }
  .resource-list a { flex-wrap: wrap; gap: 6px; }

  .mcat-row .when { font-size: 0.98rem; }

  .roadmap-track { padding-left: 22px; }
  .roadmap-year .marker { left: -34px; width: 24px; height: 24px; font-size: 0.78rem; }

  h1 { word-break: break-word; }
}
