@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --navy: #1a2e44;
  --navy-light: #2a4060;
  --gold: #F2A900;
  --gold-dark: #d49200;
  --cream: #fdf8ee;
  --white: #ffffff;
  --text: #1a1a1a;
  --text-muted: #4a5a6a;
  --border: #e8dfc8;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--white); color: var(--text); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ── NAV ── */
.site-nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.nav-logo {
  background: white;
  border-radius: 8px;
  padding: 5px 12px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img { height: 36px; width: auto; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: white; background: rgba(255,255,255,0.1); }
.nav-links .nav-cta a {
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  padding: 0.42rem 1rem;
  border-radius: 6px;
}
.nav-links .nav-cta a:hover { background: var(--gold-dark); color: var(--navy); }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span { display: block; width: 24px; height: 2px; background: white; border-radius: 2px; }

/* ── NAV DROPDOWN ── */
.nav-dropdown { position: relative; align-self: stretch; display: flex; align-items: center; }
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'DM Sans', sans-serif;
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.nav-dropdown-toggle::after {
  content: '';
  width: 0; height: 0;
  border: 4px solid transparent;
  border-top-color: currentColor;
  margin-top: 4px;
  flex-shrink: 0;
}
.nav-dropdown-toggle.active,
.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown:focus-within .nav-dropdown-toggle,
.nav-dropdown.open .nav-dropdown-toggle { color: white; background: rgba(255,255,255,0.1); }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  list-style: none;
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 0.35rem;
  box-shadow: 0 10px 28px rgba(0,0,0,0.28);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu li { width: 100%; }
.nav-dropdown-menu a { display: block; padding: 0.5rem 0.75rem; }

@media (max-width: 780px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.5rem 1rem;
    gap: 0.15rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.6rem 0.75rem; }
  .nav-links .nav-cta { margin-top: 0.4rem; }
  .nav-links .nav-cta a { text-align: center; }
  .nav-dropdown { display: block; align-self: auto; }
  .nav-dropdown-toggle { width: 100%; justify-content: space-between; padding: 0.6rem 0.75rem; }
  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0.1rem 0 0.3rem 0.6rem;
    border-left: 2px solid rgba(255,255,255,0.15);
    margin-left: 0.75rem;
  }
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu { display: none; }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown-menu a { font-size: 0.85rem; }
}

/* ── FOOTER ── */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.55); padding: 3rem 2rem 1.5rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 640px) { .footer-top { grid-template-columns: 1fr; } }
.footer-logo-wrap {
  background: white;
  border-radius: 10px;
  padding: 0.7rem 1rem;
  display: inline-block;
  margin-bottom: 1rem;
}
.footer-logo-wrap img { height: 48px; width: auto; display: block; }
.footer-section h4 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.footer-section p, .footer-section a { font-size: 0.88rem; line-height: 1.75; color: rgba(255,255,255,0.65); }
.footer-section a:hover { color: white; }
.footer-nav-links { list-style: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.82rem;
}
.footer-irb {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.35);
  max-width: 760px;
  margin: 0.75rem auto 0;
  line-height: 1.55;
}

/* ── PAGE HERO ── */
.page-hero {
  background: var(--navy);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: rgba(242,169,0,0.1);
  border-radius: 50%;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -60px;
  width: 260px; height: 260px;
  background: rgba(242,169,0,0.06);
  border-radius: 50%;
}
.page-hero .hero-label {
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  position: relative;
}
.page-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.15;
  margin-bottom: 0.9rem;
  position: relative;
}
.page-hero .hero-sub {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.72);
  max-width: 580px;
  margin: 0 auto;
  font-weight: 300;
  position: relative;
}

/* ── HOME HERO ── */
.home-hero {
  background: var(--navy);
  color: white;
  padding: 5.5rem 2rem 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero-home.jpg');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.22;
}
.home-hero-content { position: relative; width: 100%; }
.logo-pill {
  background: white;
  border-radius: 12px;
  padding: 0.65rem 1.4rem;
  display: inline-block;
  margin-bottom: 1.6rem;
}
.logo-pill img { height: 58px; width: auto; display: block; }
.home-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 1.1rem;
}
.home-hero .hero-study-name {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.home-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin: 0 auto 2rem;
  font-weight: 300;
}
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.15s, transform 0.1s;
  cursor: pointer;
  border: none;
  font-family: 'DM Sans', sans-serif;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: white; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── LAYOUT ── */
.page-content { max-width: 960px; margin: 0 auto; padding: 3.5rem 1.5rem 5rem; }
.page-content-wide { max-width: 1100px; margin: 0 auto; padding: 3.5rem 1.5rem 5rem; }

/* ── TYPOGRAPHY ── */
.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.section-subtitle { color: var(--text-muted); max-width: 620px; margin-bottom: 2rem; font-size: 0.97rem; }
.divider { height: 1px; background: var(--border); margin: 3rem 0; }

/* ── CALLOUT CARDS ── */
.callout-gold {
  background: var(--gold);
  border-radius: 12px;
  padding: 2rem 2.5rem;
  margin-bottom: 2.5rem;
}
.callout-gold h2 { font-family: 'DM Serif Display', serif; font-size: 1.5rem; color: var(--navy); margin-bottom: 0.75rem; }
.callout-gold p { color: var(--navy); font-size: 0.97rem; line-height: 1.65; }
.callout-navy { background: var(--navy); border-radius: 12px; padding: 2rem 2.5rem; margin-bottom: 2.5rem; color: white; }
.callout-navy h2 { font-family: 'DM Serif Display', serif; font-size: 1.4rem; margin-bottom: 0.75rem; }
.callout-navy p { color: rgba(255,255,255,0.8); font-size: 0.95rem; line-height: 1.65; }

/* ── CARDS GRID ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}
.card { background: var(--cream); border: 1px solid var(--border); border-radius: 10px; padding: 1.5rem; }
.card-icon { font-size: 1.8rem; margin-bottom: 0.75rem; }
.card h3 { font-family: 'DM Serif Display', serif; font-size: 1.1rem; color: var(--navy); margin-bottom: 0.4rem; }
.card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.55; }
.card-accent { border-left: 3px solid var(--gold); }

/* ── STEPS ── */
.steps { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2.5rem; }
.step-item { display: grid; grid-template-columns: 48px 1fr; gap: 1.1rem; align-items: start; }
.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.step-body { background: white; border: 1px solid var(--border); border-radius: 8px; padding: 1.1rem 1.3rem; }
.step-body h3 { font-size: 0.95rem; font-weight: 600; color: var(--navy); margin-bottom: 0.35rem; }
.step-body p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* ── TWO-COL LAYOUT ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
@media (max-width: 600px) { .two-col { grid-template-columns: 1fr; } }
.col-card { background: var(--cream); border: 1px solid var(--border); border-radius: 10px; padding: 1.5rem; }
.col-card h3 { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.8rem; }
.col-card ul { list-style: none; }
.col-card li { font-size: 0.9rem; padding: 0.3rem 0 0.3rem 1.3rem; position: relative; color: var(--text); line-height: 1.5; }
.col-card li::before { content: '—'; position: absolute; left: 0; color: var(--navy); font-weight: 600; }

/* ── INFO TIP ── */
.info-tip {
  background: var(--cream);
  border: 2px solid var(--gold);
  border-radius: 8px;
  padding: 1.1rem 1.4rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.info-tip-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 0.1rem; }
.info-tip p { font-size: 0.92rem; color: var(--text); line-height: 1.55; }
.info-tip strong { color: var(--navy); }

/* ── TEAM GRID ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 2rem;
  margin-bottom: 3rem;
}
@media (max-width: 768px) { .team-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; max-width: 300px; margin-left: auto; margin-right: auto; } }
.team-card { text-align: center; }
.team-photo {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.1rem;
  background: var(--navy);
  border: 4px solid var(--border);
  box-shadow: 0 4px 16px rgba(26,46,68,0.12);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.team-card h3 { font-family: 'DM Serif Display', serif; font-size: 1.1rem; color: var(--navy); margin-bottom: 0.25rem; }
.team-card .team-role {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.65rem;
}
.team-card p { font-size: 0.86rem; color: var(--text-muted); line-height: 1.6; }

/* ── EXPENSE TABLE ── */
.expense-table-wrap { overflow-x: auto; margin-bottom: 2rem; border-radius: 10px; border: 1px solid var(--border); }
.expense-table { width: 100%; border-collapse: collapse; font-size: 0.87rem; }
.expense-table th {
  background: var(--navy);
  color: white;
  text-align: left;
  padding: 0.8rem 1rem;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}
.expense-table th:first-child { border-radius: 0; }
.expense-table td { padding: 0.85rem 1rem; vertical-align: top; line-height: 1.55; border-bottom: 1px solid var(--border); }
.expense-table tr:last-child td { border-bottom: none; }
.expense-table tr:nth-child(even) td { background: var(--cream); }
.expense-table .cat-label { font-weight: 600; color: var(--navy); white-space: nowrap; }
.expense-table ul { padding-left: 1.1rem; margin-top: 0.3rem; }
.expense-table li { margin-bottom: 0.25rem; }
.no-reimburse { color: #9b1515; }

/* ── PARTNER LOGOS ── */
.partner-section { margin-bottom: 3rem; }
.partner-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  align-items: center;
  justify-content: center;
  padding: 2rem 2.5rem;
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.partner-logo { height: 52px; width: auto; object-fit: contain; opacity: 0.85; transition: opacity 0.2s; }
.partner-logo:hover { opacity: 1; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2.5rem; }
@media (max-width: 600px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-block { background: var(--cream); border-radius: 10px; padding: 1.8rem; border: 1px solid var(--border); }
.contact-block h3 { font-family: 'DM Serif Display', serif; font-size: 1.2rem; color: var(--navy); margin-bottom: 1.1rem; }
.contact-item { display: flex; gap: 0.8rem; margin-bottom: 0.8rem; align-items: flex-start; font-size: 0.92rem; }
.contact-item-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 0.15rem; }
.contact-item a { color: var(--navy); font-weight: 500; }
.contact-item a:hover { color: var(--gold-dark); text-decoration: underline; }
.contact-item p { color: var(--text); line-height: 1.5; }

/* ── HIGHLIGHTS ── */
.highlights-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.highlight-card { background: white; border: 1px solid var(--border); border-left: 3px solid var(--gold); border-radius: 8px; padding: 1.1rem 1.3rem; }
.highlight-card h4 { font-weight: 600; color: var(--navy); margin-bottom: 0.3rem; font-size: 0.93rem; }
.highlight-card p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.5; }

/* ── ANCHOR NAV (travel page sub-nav) ── */
.anchor-nav {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 70px;
  z-index: 50;
}
.anchor-nav-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.anchor-nav-inner::-webkit-scrollbar { display: none; }
.anchor-nav-inner a {
  padding: 0.85rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.anchor-nav-inner a:hover { color: var(--navy); border-bottom-color: var(--gold); }
