/* ============================================================
   PROJECT RECALC — STYLES (v2, Roman theme)
   Tokens: ink #0B0A10 · raised #16121F · purple #6C3FA6
           purple-deep #2E1B45 · lavender #B79CE0 · paper #F1ECE3
   Display type: Cinzel  ·  Body type: Cormorant Garamond
   ============================================================ */

:root {
  --ink: #0B0A10;
  --raised: #16121F;
  --raised-2: #1D1729;
  --purple: #6C3FA6;
  --purple-deep: #2E1B45;
  --lavender: #B79CE0;
  --paper: #F1ECE3;
  --paper-dim: rgba(241,236,227,0.68);

  --font-display: "Cinzel", "Times New Roman", serif;
  --font-body: "Cormorant Garamond", Georgia, serif;

  --edge: 7vw;
  --radius-sm: 4px;
  --radius-md: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--lavender); outline-offset: 3px; }
.emoji { font-style: normal; }

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11,10,16,0.86);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(183,156,224,0.18);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px var(--edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  text-decoration: none;
  color: var(--paper);
}
.header-links {
  display: flex;
  gap: 26px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.header-links a {
  text-decoration: none;
  color: var(--lavender);
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.header-links a:hover { border-color: var(--lavender); color: var(--paper); }
@media (max-width: 640px) { .header-links { gap: 14px; font-size: 0.62rem; } }

/* ---------- SHARED SECTION RHYTHM ---------- */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 130px var(--edge);
  position: relative;
}
.section-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin: 0 0 0.7em;
  color: var(--paper);
}
.section-heading--light { color: var(--paper); }
.section-sub {
  font-size: 1.3rem;
  font-style: italic;
  color: var(--lavender);
  max-width: 50ch;
  margin: -0.6em 0 2em;
}
.section-sub--light { color: var(--paper-dim); }

.btn {
  display: inline-block;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 2px;
  padding: 16px 34px;
  border: 1.5px solid var(--purple);
  transition: transform 0.15s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--purple); }

.laurel-divider {
  text-align: center;
  color: var(--purple);
  letter-spacing: 0.3em;
  font-size: 0.85rem;
  margin-bottom: 28px;
  opacity: 0.8;
}

/* ---------- HERO ---------- */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px var(--edge) 40px;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(ellipse 60% 50% at 85% 15%, rgba(108,63,166,0.28), transparent 70%),
    var(--ink);
}
.hero-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.hero-photo-col { display: flex; flex-direction: column; align-items: flex-start; }

.hero-headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.2;
  margin: 26px 0 14px;
  color: var(--paper);
}
.wave {
  display: inline-block;
  animation: wave-hand 2.4s ease-in-out infinite;
  transform-origin: 70% 70%;
}
@keyframes wave-hand {
  0%, 60%, 100% { transform: rotate(0deg); }
  10% { transform: rotate(14deg); }
  20% { transform: rotate(-8deg); }
  30% { transform: rotate(14deg); }
  40% { transform: rotate(-4deg); }
}
.hero-crest {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--lavender);
}
.crest-logo { width: 40px; height: 40px; object-fit: contain; }
#crest-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--paper-dim);
}

.photo-frame {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/5;
  width: 100%;
  max-width: 380px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.45));
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.08) contrast(1.03); }
.img-missing-label {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(241,236,227,0.7);
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.08) 0 12px, rgba(255,255,255,0.02) 12px 24px);
}
.photo-frame.img-missing img { display: none; }
.photo-frame.img-missing .img-missing-label { display: flex; }

.scroll-cue-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: var(--lavender);
  transition: color 0.15s ease;
}
.scroll-cue {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.05rem;
}
.squiggle {
  width: 150px;
  height: 29px;
  margin-top: 2px;
  margin-left: -2px;
  color: var(--purple);
}
.scroll-cue-wrap:hover { color: var(--paper); }
.scroll-cue-wrap:hover .squiggle { color: var(--lavender); }

/* ---------- hero stats column ---------- */
.hero-stats-col { display: flex; flex-direction: column; }
.hero-stat-item {
  padding: 30px 0;
  border-top: 1px solid rgba(183,156,224,0.22);
  transition: padding-left 0.2s ease, border-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.hero-stat-item:hover { padding-left: 10px; border-color: rgba(183,156,224,0.5); }
.hero-stat-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
  order: 2;
}
.hero-stat-text { display: flex; flex-direction: column; order: 1; }
.hero-stats-col .hero-stat-item:last-child { border-bottom: 1px solid rgba(183,156,224,0.22); }
.hero-stat-number {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--lavender);
  margin-bottom: 8px;
}
.hero-stat-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--paper-dim);
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo-col { align-items: center; text-align: center; }
  .photo-frame { max-width: 280px; }
}

/* ---------- 1. ABOUT ---------- */
.about-section { background: var(--ink); }
.about-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.about-text { flex: 1; min-width: 0; }
.about-collage {
  display: flex;
  flex-direction: column;
  gap: 22px;
  flex-shrink: 0;
}
.collage-tile {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--paper);
  border: 2.5px solid var(--purple);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.collage-tile:hover { transform: scale(1.06); border-color: var(--lavender); }
.collage-tile img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
@media (max-width: 900px) {
  .about-inner { flex-direction: column; align-items: flex-start; }
  .about-collage { flex-direction: row; }
}
@media (max-width: 560px) {
  .about-collage { display: none; }
}

.about-heading-row { display: flex; align-items: center; gap: 16px; }
.heading-dash {
  display: inline-block;
  width: 40px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--purple) 0%, var(--purple) 50%, var(--paper) 50%, var(--paper) 100%);
}
.about-copy, .about-heading-row, .about-heading-row .section-heading { position: relative; z-index: 1; margin-bottom: 0; }
.about-copy { margin-top: 28px; }
.about-copy p {
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  color: var(--paper-dim);
  max-width: 62ch;
  margin: 0 0 1em;
}
.about-copy strong, .about-copy b { color: var(--paper); font-weight: 600; }

/* ---------- 2. EXPERIENCE ---------- */
.experience-section { background: var(--raised); }
.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  align-items: stretch;
}
.exp-card {
  border: 1px solid rgba(183,156,224,0.25);
  border-radius: var(--radius-md);
  padding: 26px;
  background: linear-gradient(160deg, rgba(108,63,166,0.08), transparent 60%);
  transition: border-color 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}
.exp-card:hover { border-color: rgba(183,156,224,0.55); transform: translateY(-3px); }
.exp-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.exp-role { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; margin: 0 0 4px; color: var(--paper); min-height: 2.6em; }
.exp-org { font-style: italic; color: var(--lavender); margin: 0 0 16px; font-size: 1.02rem; }
.exp-expand-btn { margin-top: auto; align-self: flex-start; }
.exp-logo {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--raised-2);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(183,156,224,0.2);
}
.exp-logo img { width: 100%; height: 100%; object-fit: cover; }
.exp-initials {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--lavender);
  font-size: 1.1rem;
}
.exp-numeral {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--purple);
  font-weight: 600;
}
.exp-expand-btn {
  background: none;
  border: 1px solid rgba(183,156,224,0.3);
  border-radius: 999px;
  color: var(--paper-dim);
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  padding: 7px 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.exp-expand-btn:hover { border-color: var(--lavender); color: var(--paper); }
.exp-expand-icon { transition: transform 0.25s ease; display: inline-block; }
.exp-card.is-open .exp-expand-icon { transform: rotate(45deg); }
.exp-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.exp-card.is-open .exp-body { max-height: 320px; }
.exp-body-inner { padding-top: 16px; }
.exp-bullets { margin: 0 0 12px; padding-left: 20px; color: var(--paper-dim); font-size: 1rem; }
.exp-bullets li { margin-bottom: 8px; }
.exp-dates {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--paper-dim);
  margin: 0;
}
@media (max-width: 700px) { .experience-grid { grid-template-columns: 1fr; } }

/* ---------- 3. RESEARCH & VENTURES ---------- */
.ventures-section { background: var(--ink); }
.ventures-list { display: flex; flex-direction: column; }
.venture-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 34px 0;
  border-top: 1px solid rgba(183,156,224,0.22);
}
.ventures-list .venture-item:last-child { border-bottom: 1px solid rgba(183,156,224,0.22); }
.venture-text { flex: 1; min-width: 0; }
.venture-photo {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2.5px solid var(--purple);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.venture-photo:hover { transform: scale(1.06); border-color: var(--lavender); }
.venture-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) {
  .venture-item { flex-direction: column; align-items: flex-start; gap: 20px; }
  .venture-photo { align-self: center; }
}
.venture-title { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; margin: 0 0 4px; color: var(--paper); }
.venture-meta { font-style: italic; color: var(--lavender); margin: 0 0 14px; font-size: 1rem; }
.venture-desc { color: var(--paper-dim); margin: 0 0 16px; font-size: 1.08rem; max-width: 72ch; }
.venture-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: var(--lavender);
  text-decoration: none;
  border-bottom: 1px solid var(--lavender);
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.venture-link:hover { color: var(--paper); border-color: var(--paper); }

/* ---------- 4. VOLUNTEERING ---------- */
.volunteer-section { background: var(--raised); }
.volunteer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.volunteer-card {
  border: 1px solid rgba(183,156,224,0.25);
  border-radius: var(--radius-md);
  padding: 40px;
  background: linear-gradient(160deg, rgba(108,63,166,0.10), transparent 60%);
  transition: border-color 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}
.volunteer-card:hover { border-color: rgba(183,156,224,0.55); transform: translateY(-3px); }
.volunteer-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 6px;
  min-height: 84px;
}
.volunteer-logo {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(183,156,224,0.2);
}
.volunteer-logo img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.volunteer-title { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; line-height: 1.3; margin: 0; color: var(--paper); }
.volunteer-role { font-style: italic; color: var(--lavender); margin: 0 0 18px; min-height: 1.6em; }
.volunteer-desc { color: var(--paper-dim); margin: 0 0 24px; font-size: 1.05rem; min-height: 5.6em; }
.volunteer-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.volunteer-photos img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(183,156,224,0.2);
  transition: transform 0.25s ease;
}
.volunteer-photos img:hover { transform: scale(1.03); }
@media (max-width: 720px) {
  .volunteer-grid { grid-template-columns: 1fr; }
  .volunteer-photos img { height: 200px; }
}

/* ---------- 5. CONTACT ---------- */
.contact-section {
  text-align: center;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(108,63,166,0.25), transparent 70%), var(--ink);
  max-width: none;
  padding-left: var(--edge);
  padding-right: var(--edge);
}
.contact-quote { font-size: 1.4rem; max-width: 640px; margin-left: auto; margin-right: auto; }
.contact-links {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 1.1rem;
  padding: 22px 30px;
  border: 1px solid rgba(183,156,224,0.35);
  border-radius: var(--radius-sm);
  color: var(--paper);
  transition: background 0.2s ease, transform 0.15s ease;
}
.contact-btn:hover { background: rgba(108,63,166,0.2); transform: translateY(-2px); }

/* ---------- FOOTER ---------- */
.site-footer {
  text-align: center;
  padding: 44px var(--edge) 64px;
  color: var(--paper-dim);
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  background: var(--ink);
}
.site-footer p { margin: 3px 0; }
.footer-small { font-style: italic; opacity: 0.7; margin-top: 8px; font-family: var(--font-body); letter-spacing: normal; font-size: 1rem; }

/* ---------- scroll reveal (one restrained pattern) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
