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

:root {
  --bg:         #eef5eb;
  --card:       #f9f9f7;
  --brown:      #A69278;
  --brown-dark: #8a7660;
  --text:       #2b4128;
  --shadow:     0 4px 16px rgba(43,65,40,0.1), 0 1px 4px rgba(43,65,40,0.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg); color: var(--text);
  line-height: 1.6;
  display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--brown); outline-offset: 3px; border-radius: 4px; }

/* ── NAV ── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid rgba(43,65,40,0.14);
  padding: 0 32px; height: 56px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-left { display: flex; align-items: center; gap: 5px; }
.nav-logo-link { display: inline-flex; align-items: center; }
.logo {
  display: inline-block;
  background-color: var(--text);
  mask-image: url('../images/pair-logo.svg');
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url('../images/pair-logo.svg');
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}
.nav-logo { width: 34px; height: 34px; }
.nav-dropdown { position: relative; }
/* Invisible bridge fills the gap between trigger and menu so hover never breaks */
.nav-dropdown::after {
  content: ''; position: absolute;
  top: 100%; left: 0; right: 0; height: 12px;
}
.nav-dropdown-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15px;
  color: var(--text);
}
.nav-caret {
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.18s;
  display: inline-block;
}
.nav-dropdown:hover .nav-caret { transform: rotate(-135deg) translateY(2px); }

.nav-dropdown-menu {
  position: absolute; top: calc(100% + 12px); left: 0;
  background: var(--card); border-radius: 10px;
  box-shadow: 0 4px 24px rgba(43,65,40,0.13);
  min-width: 156px; padding: 6px 0;
  opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: opacity 0.15s, transform 0.15s;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; pointer-events: all; transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block; padding: 10px 18px;
  font-size: 14px; font-weight: 500; color: var(--text);
  transition: opacity 0.12s;
}
.nav-dropdown-menu a:hover { opacity: 0.65; }
.nav-dropdown-menu a[aria-current="page"] { font-weight: 600; }

.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-right a { font-size: 14px; font-weight: 500; opacity: 0.72; transition: opacity 0.15s; }
.nav-right a:hover, .nav-right a[aria-current="page"] { opacity: 1; }

/* ── TYPOGRAPHY ── */
.serif {
  font-family: 'Noto Serif Display', Georgia, serif;
  font-stretch: condensed; letter-spacing: -0.015em; font-weight: 600;
}
.section-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brown-dark); display: block; margin-bottom: 16px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brown); color: var(--card);
  border: none; border-radius: 9px; padding: 13px 28px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 13px;
  cursor: pointer; text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.btn:hover { background: var(--brown-dark); color: var(--card); transform: translateY(-1px); }


/* ── FLOWER BUTTON — rises up from below ── */
.btn-flower { position: relative; overflow: visible; }

.flower-wrapper {
  position: absolute;
  bottom: 100%; margin-bottom: 2px;
  left: 50%; transform: translateX(-50%);
  width: 26px; height: 28px;
  overflow: hidden;
  pointer-events: none;
}
.flower-inner {
  position: absolute;
  bottom: 0; left: 0;
  width: 26px; height: 28px;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease 0.05s;
}
.flower-inner svg {
  transform: scale(0.85);
  transform-origin: 13px 14px;
  transition: transform 0.4s cubic-bezier(0.34, 1.2, 0.4, 1) 0.05s;
}
.btn-flower:hover .flower-inner { transform: translateY(0); opacity: 1; }
.btn-flower:hover .flower-inner svg { transform: scale(1); }

/* ── PAGE LAYOUT ── */
.page-wrapper { max-width: 860px; margin: 0 auto; padding: 0 28px 50px; }

/* ── HOME: HERO ── */
.hero {
  text-align: center; max-width: 580px;
  margin: 0 auto 88px; padding-top: 72px;
}
.hero h1 { font-size: 40px; line-height: 1.18; margin-bottom: 18px; }
.hero-sub { font-size: 14px; opacity: 0.8; margin-bottom: 34px; line-height: 1.65; }
.hero-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-emphasis {
  font-style: italic;
}
/* CTA group: two flower buttons + wide archive button below */
.closing-cta { text-align: center; margin-bottom: 72px; }
.closing-cta h2 { font-size: 32px; margin-bottom: 26px; }
.cta-group { display: inline-flex; flex-direction: column; gap: 20px; }
.cta-top-row { display: flex; gap: 12px; }

.btn-archive-wide {
  display: flex; align-items: stretch;
  background: var(--card); color: var(--text);
  border-radius: 9px; overflow: hidden;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
  min-height: 46px;
}
.btn-archive-wide:hover { transform: translateY(-1px);}
.btn-archive-photo { width: 100px; object-fit: cover; flex-shrink: 0; }
.btn-archive-label {
  flex: 1; display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 13px;
  padding: 13px 28px 13px 12px;
}

/* ── CONCEPT SECTION ── */
.concept-section { margin-bottom: 88px; }
.concept-row { display: flex; align-items: center; flex-wrap: nowrap; }
.concept-chip {
  background: var(--card); border-radius: 16px;
  padding: 25px 60px; display: flex; align-items: flex-start; gap: 14px;
  flex: 1;
  box-shadow: var(--shadow);
}
.concept-chip:hover { transform: translateY(-1px); }
.concept-chip--reverse { flex-direction: row-reverse; text-align: right; }
.concept-chip--reverse .concept-text { align-items: flex-end; }
.concept-icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--bg); overflow: hidden; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(43,65,40,0.08);
  margin-top: 2px;
}
.concept-icon img { width: 26px; height: 26px; object-fit: contain; }
.concept-text { display: flex; flex-direction: column; }
.concept-text strong { font-size: 17px; font-weight: 600; line-height: 1.3; }
.concept-text span { font-size: 12px; opacity: 0.65; line-height: 1.45; }
.concept-text .concept-examples { font-size: 10.5px; opacity: 0.48; margin-top: 4px; line-height: 1.5; }

.concept-divider {
  flex: 0 0 auto; display: flex; align-items: center; gap: 10px;
  padding: 0 16px; min-width: 60px;
}
.concept-dash-line { flex: 1; border-top: 1px dashed rgba(43,65,40,0.3); }
.concept-paired-text { font-size: 20px; opacity: 0.55; font-style: italic; white-space: nowrap; padding: 10px 30px;}

/* ── AGENDA ── */
.agenda-section { margin-bottom: 88px; }
.agenda-card {
  background: var(--card); border-radius: 16px; padding: 34px 38px;
  box-shadow: var(--shadow);
}
.agenda-card:hover { transform: translateY(-1px); }
.timeline { display: flex; flex-direction: column; }
.timeline-item { display: grid; grid-template-columns: 12px 76px 1fr; gap: 0 20px; }
.timeline-dot-col { display: flex; flex-direction: column; align-items: center; padding-top: 5px; }
.timeline-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brown); flex-shrink: 0; }
.timeline-line { width: 1px; flex: 1; background: rgba(166,146,120,0.4); margin: 5px 0; min-height: 20px; }
.timeline-item:last-child .timeline-line { display: none; }
.timeline-time { font-size: 12px; font-weight: 500; opacity: 0.52; padding-top: 3px; white-space: nowrap; }
.timeline-content { padding-bottom: 30px; }
.timeline-item:last-child .timeline-content { padding-bottom: 0; }
.timeline-content strong { font-size: 15px; font-weight: 600; display: block; margin-bottom: 4px; }
.timeline-content p { font-size: 13px; opacity: 0.72; line-height: 1.6; }

/* ── EVENT DETAILS ── */
.event-details-section { margin-bottom: 88px; }
.event-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(166,146,120,0.25);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 6px 24px rgba(43,65,40,0.13), 0 2px 6px rgba(43,65,40,0.07);
  border: 1px solid rgba(166,146,120,0.22);
}
.event-strip:hover { transform: translateY(-1px); }
.event-cell { background: var(--card); padding: 24px 18px; text-align: center; }
.event-cell-label {
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brown-dark); display: block; margin-bottom: 7px;
}
.event-cell-value { font-size: 18px; font-weight: 600; }

/* ── FOOTER ── */
.site-footer {
  background: var(--bg);
  border-top: 1px solid rgba(43,65,40,0.11);
  padding: 10px 28px;
}
.footer-inner {
  max-width: 860px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 20px; flex-wrap: wrap;
}
/* .footer-text { font-size: 15px; font-weight: 500; opacity: 0.82; } */
.footer-text { }
.footer-text:hover { text-decoration: underline; }
/* .btn-small {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brown); color: var(--card);
  border: none; border-radius: 9px; padding: 13px 28px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 13px;
  cursor: pointer; text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.btn-small:hover { background: var(--brown-dark); color: var(--card); transform: translateY(-1px); } */

/* ── INNER PAGES — mentors/mentees headings ── */
.inner-hero { padding-top: 60px; margin-bottom: 48px; }
.page-dash-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 34px; font-weight: 600;
  color: var(--text); display: block;
  line-height: 1.1; margin-bottom: 12px;
}
.page-statement {
  font-family: 'Poppins', sans-serif;
  font-size: 18px; font-weight: 300;
  color: var(--text); margin-bottom: 28px; line-height: 1.5;
}

/* ── FAQ ── */
.faq-section { margin-top: 8px; }
.faq-list { display: flex; flex-direction: column; gap: 26px; }
.faq-item { border-left: 2px solid var(--brown); padding-left: 20px; }
.faq-q { font-size: 15px; font-weight: 600; margin-bottom: 7px; }
.faq-a { font-size: 14px; opacity: 0.78; line-height: 1.68; }

/* ── ABOUT ── */
.about-mission { padding-top: 60px; margin-bottom: 48px; }
.about-mission h1.serif { font-size: 36px; margin-bottom: 20px; }
.about-body { font-size: 15px; opacity: 0.85; margin-bottom: 26px; line-height: 1.75; }
.funding-quote {
  border-left: 2px solid var(--brown); padding-left: 18px;
  font-style: italic; font-size: 13px; opacity: 0.72; line-height: 1.6;
}
.divider { border: none; border-top: 1px solid rgba(43,65,40,0.11); margin: 52px 0; }

.team-label { text-align: center; margin-bottom: 38px; }
.team-bios { display: flex; gap: 52px; justify-content: center; flex-wrap: wrap; }
.bio-card { text-align: center; flex: 0 0 200px; }

/* Bio flip card */
.bio-flip-card {
  width: 100px; height: 100px;
  perspective: 600px;
  margin: 0 auto 16px;
}
.bio-flip-inner {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.bio-flip-card:hover .bio-flip-inner { transform: rotateY(180deg); }
.bio-flip-front, .bio-flip-back {
  position: absolute; inset: 0;
  border-radius: 50%; backface-visibility: hidden; overflow: hidden;
}
.bio-flip-front img { width: 100%; height: 100%; object-fit: cover; }
.bio-flip-front img[src*="vanessa"] {
  transform: scale(1.3);
  transform-origin: center 60%;
}
.bio-flip-back {
  transform: rotateY(180deg);
  background: var(--card);
  border: 2px solid rgba(166,146,120,0.28);
  display: flex; align-items: center; justify-content: center;
  color: var(--brown-dark);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: color 0.15s;
}
.bio-flip-back:hover { color: var(--text); }

.bio-name { font-size: 17px; font-weight: 600; margin-bottom: 5px; }
.bio-roles { margin-bottom: 12px; }
.bio-role-line { font-size: 12px; opacity: 0.68; line-height: 1.55; display: block; }
.bio-text { font-size: 13px; opacity: 0.78; line-height: 1.62; }

.bio-story-trigger {
  font-family: inherit;
  background: none;
  border: none;
  color: #A69278;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
  margin-top: 4px;
}
.bio-story-trigger:hover { color: #8a7660; }

.story-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(43,65,40,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 1000;
}
.story-modal {
  background: #f9f9f7;
  border-radius: 16px;
  max-width: 760px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 2.5rem;
  box-shadow: 0 4px 16px rgba(43,65,40,0.1), 0 1px 4px rgba(43,65,40,0.06);
  position: relative;
}
.story-modal a {
  color: #A69278;
  text-decoration: underline;
}
.story-modal a:hover {
  color: #8a7660;
}
.story-modal p { font-size: 0.95rem; line-height: 1.7; color: #2b4128; margin: 0 0 1rem; }
.story-modal blockquote {
  font-style: italic;
  border-left: 2px solid #A69278;
  padding-left: 12px;
  margin: 1.5rem 0;
}
.story-modal-overlay[hidden] {
  display: none;
}
.story-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #2b4128;
  font-size: 18px;
  cursor: pointer;
}
.story-modal-close:hover { background: rgba(166,146,120,0.15); }
.story-modal .story-img {
  border-radius: 12px;
  margin-bottom: 1rem;
}
.story-modal .story-img-wide {
  float: right;
  width: 35%;
  margin: 4px 0 12px 16px;
}
.story-modal .story-img-stack-right {
  float: right;
  width: 22%;
  margin: 4px 0 12px 16px;
}
.story-modal .story-img-stack-right img {
  width: 100%;
  border-radius: 12px;
  display: block;
  margin-bottom: 10px;
  margin-top: 15px;
}
.story-modal .story-img-stack-right img:last-child {
  margin-bottom: 0;
}
.story-modal .clearfix {
  clear: both;
}

/* ── ARCHIVE ── */
.archive-header { padding-top: 60px; margin-bottom: 68px; }
.archive-header h1.serif { font-size: 34px; margin-bottom: 8px; }
.archive-subline { font-size: 13px; opacity: 0.68; }

.recap { max-width: 700px; margin: 0 auto 68px; }
.recap-intro {
  font-size: 15px; opacity: 0.83; line-height: 1.78;
  margin-bottom: 48px;
}

.recap-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  margin-bottom: 30px;
}

.recap-row:last-child { margin-bottom: 0; }

.recap-row--reverse .recap-text { order: 1; }
.recap-row--reverse .recap-photo-grid { order: 2; }

.recap-text p {
  font-size: 15px; opacity: 0.83; line-height: 1.78;
  margin-bottom: 1.2rem;
}
.recap-text p:last-child { margin-bottom: 0; }

.recap-photo-grid img {
  border-radius: 14px;
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 1;
}

/* single photo, fills its column */
.recap-photo-grid--1 img { width: 100%; }

/* 5 photos: 3 + 2 centered within the column */
.recap-photo-grid--5 {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.recap-photo-grid--5 img { width: calc((100% - 20px) / 3); }

/* 3 photos: even row within the column */
.recap-photo-grid--3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.recap-block { margin-bottom: 30px; }
.recap-block:last-child { margin-bottom: 0; }

.recap-block .recap-text { margin-bottom: 28px; }

.recap-photo-grid--5 {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
}

.recap-block .recap-photo-grid--5 img {
  width: calc((100% - 40px) / 5);
}

.recap-block .recap-photo-grid--3 img {
  width: 100%;
}

.archive-transition { font-style: italic; font-size: 14px; opacity: 0.68; margin-bottom: 36px; }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 36px; }
.testimonial-card {
  background: var(--card); border-radius: 14px; padding: 26px 22px 22px;
  box-shadow: var(--shadow);
}
.tquote { font-family: 'Noto Serif Display', Georgia, serif; font-size: 48px; color: var(--brown-dark); line-height: 0.85; margin-bottom: 14px; }
.ttext { font-size: 13px; opacity: 0.84; line-height: 1.65; margin-bottom: 14px; }
.tattrib { font-size: 11px; font-weight: 600; opacity: 0.48; letter-spacing: 0.05em; margin-bottom: 20px;}

.archive-closing { font-style: italic; font-size: 14px; opacity: 0.72; text-align: center; max-width: 520px; margin: 0 auto; line-height: 1.7; padding-bottom: 10px; }

/* ── FLOWER JAR ── */
.flower-jar-section { padding-top: 60px; margin-bottom: 0px; }
.flower-jar-wrap {
  padding: 8px;
}
.flower-jar-canvas {
  display: block; 
  width: 100%;
  height: 580px;
  /* cursor: pointer; */

}
.flower-jar-caption {
  text-align: center; font-size: 12px; opacity: 0.6;
  margin-top: 14px; letter-spacing: 0.02em;
}

/* ── RESPONSIVE ── */
@media (max-width: 680px) {
  .recap-photo-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .recap-photo-grid--5 { flex-wrap: wrap; }
  .recap-block .recap-photo-grid--5 img { width: calc((100% - 12px) / 2); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .event-strip { grid-template-columns: repeat(2, 1fr); }
  .team-bios { gap: 36px; }
  .agenda-card { padding: 24px 22px; }
  .concept-row { flex-wrap: wrap; gap: 12px; justify-content: center; }
  .concept-divider { flex: 1 1 100%; order: 2; padding: 0; }
  .concept-chip { flex: 1 1 100%; }
  .concept-chip--reverse { border-radius: 16px; }
  /* .flower-jar-canvas { height: 460px; } */
}
@media (max-width: 520px) {
  .hero h1 { font-size: 30px; }
  .site-nav { padding: 0 18px; }
  .concept-chip { border-radius: 16px; padding: 14px 18px; }
  .page-dash-heading { font-size: 26px; }
  .cta-top-row { flex-direction: column; }
}
