* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #222;
}

img {
  max-width: 100%;
  display: block;
}

/* PAGE HERO WRAPPER (nav + quotes share this background) */
.page-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.page-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* NAV */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: transparent;
  position: relative;
  z-index: 1;
}
.logo {
  height: 60px;
  width: auto;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
}
.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.nav-links a.active {
  text-decoration: underline;
}
.navbar-light .nav-links a,
.nav-links-dark a {
  color: #0056a8;
  text-shadow: none;
}

/* HERO TAGLINE */
.hero-tagline {
  text-align: center;
  padding: 24px 20px 0;
}
.hero-tagline p {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: white;
  font-size: 1.15rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
  max-width: 650px;
  margin: 0 auto;
}

/* QUOTE DESCRIPTOR */
.quote-descriptor {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #bfe4ff;
  margin-bottom: 18px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  transition: opacity 0.5s ease;
}
.quote-descriptor.fade-out {
  opacity: 0;
}

/* QUOTE SLIDER */
.quote-slider {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.quote-content {
  position: relative;
  max-width: 700px;
  padding: 0 80px;
  overflow: hidden;
}
.quote-inner {
  transition: transform 0.5s ease, opacity 0.5s ease;
}
.quote-inner.slide-out-left {
  transform: translateX(-60px);
  opacity: 0;
}
.quote-inner.slide-out-right {
  transform: translateX(60px);
  opacity: 0;
}
#quoteText {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 2rem;
  color: white;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}
#quoteSource {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: white;
  margin-top: 20px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 1.5rem;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
}
.arrow-left {
  left: 30px;
}
.arrow-right {
  right: 30px;
}

/* FOOTER */
.site-footer {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 20px 40px;
  background: white;
  color: #0056a8;
}
.footer-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
}
.footer-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.footer-row h3,
.footer-row p {
  flex: 1;
  color: #0056a8;
  font-family: 'Poppins', sans-serif;
}
.footer-row h3 {
  font-size: 0.95rem;
}
.footer-row p {
  font-size: 0.85rem;
  line-height: 1.5;
}
.footer-row a {
  color: #0056a8;
  text-decoration: underline;
}
.footer-row .legal {
  text-align: right;
  font-size: 0.75rem;
  line-height: 1.4;
}

/* ABOUT PAGE — HERO */
.about-top {
  background: #bfe4ff;
}
.about-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 40px 60px 80px;
  color: #1a3a5c;
}
.about-hero-image,
.about-hero-text {
  flex: 1;
  min-width: 300px;
}
.about-hero-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}
.about-hero-text p {
  margin-bottom: 20px;
  line-height: 1.7;
  font-size: 1.15rem;
}
.pink-heading {
  color: #0056a8;
  text-decoration: underline;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 2rem;
  margin: 28px 0 14px;
}
.pink-heading:first-child {
  margin-top: 0;
}

/* ABOUT PAGE — OUR STORY */
.our-story {
  background: #0056a8;
  color: white;
  text-align: center;
  padding: 60px 40px;
}
.our-story h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 40px;
}
.story-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}
.story-card {
  background: white;
  color: #0056a8;
  border-radius: 12px;
  padding: 30px;
  max-width: 340px;
  flex: 1;
  min-width: 260px;
  text-align: left;
}
.story-card img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: block;
}
.story-card h3 {
  font-family: 'Playfair Display', serif;
  text-align: center;
  margin-bottom: 14px;
}
.story-card p {
  font-size: 0.88rem;
  line-height: 1.55;
}

/* ABOUT PAGE — RESOURCES */
.resources {
  background: #bfe4ff;
  padding: 60px 40px;
  text-align: center;
}
.resources h2 {
  color: #0056a8;
  font-family: 'Playfair Display', serif;
  text-decoration: underline;
  font-size: 2.2rem;
  margin-bottom: 16px;
}
.resources-intro {
  max-width: 700px;
  margin: 0 auto 40px;
  color: #333;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.resource-card {
  background: #0056a8;
  color: white;
  border-radius: 12px;
  padding: 24px;
  text-align: left;
}
.resource-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.resource-card p {
  font-size: 0.85rem;
  line-height: 1.45;
  margin-bottom: 10px;
}
.resource-card a {
  color: #bfe4ff;
  font-weight: 600;
  text-decoration: underline;
}

/* ARCHIVES PAGE */
.archives-top {
  background: #bfe4ff;
  padding-bottom: 60px;
}
.archives-header {
  text-align: center;
  padding: 50px 20px 40px;
}
.archives-header h1 {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 3.2rem;
  color: #0056a8;
  letter-spacing: 1px;
  display: inline-block;
  border-bottom: 3px solid #26b9f0;
  padding-bottom: 8px;
  margin-bottom: 16px;
}
.archives-header p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  color: #1a3a5c;
}

.archives-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 20px 60px 0;
}
.archive-card {
  text-align: center;
  position: relative;
  overflow: hidden;
  background: #bfe4ff;
}
.archive-card h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: #0056a8;
  margin-bottom: 4px;
}
.archive-location {
  font-family: 'Poppins', sans-serif;
  color: #1a3a5c;
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.flipbook-wrap {
  position: relative;
  width: 100%;
}
.flipbook-wrap iframe {
  width: 100%;
  height: 460px;
  border: 1px solid lightgray;
  border-radius: 8px;
}

@media (max-width: 900px) {
  .archives-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .archives-grid {
    grid-template-columns: 1fr;
  }
}

/* DONATE PAGE */
.donate-top {
  background: #bfe4ff;
}
.donate-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  padding: 30px 60px 80px;
  align-items: center;
}
.donate-left {
  flex: 1.2;
  min-width: 320px;
  display: flex;
  flex-direction: column;
}
.donate-left h1 {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 2.6rem;
  color: #0056a8;
  margin-bottom: 16px;
}
.donate-left p {
  font-family: 'Poppins', sans-serif;
  color: #1a3a5c;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 24px;
}
.donate-left img {
  width: 100%;
  flex: 1;
  max-height: 600px;
  object-fit: cover;
  object-position: bottom;
  border-radius: 16px;
}
.donate-right {
  flex: 1;
  min-width: 380px;
  display: flex;
  justify-content: center;
  padding-top: 10px;
}
.donate-right dbox-widget {
  width: 100%;
  max-width: 460px;
}

/* CONTACT PAGE */
.contact-top {
  background: #bfe4ff;
}
.contact-hero {
  text-align: center;
  padding: 50px 60px 20px;
}
.contact-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 2.1rem;
  color: #0056a8;
  max-width: 900px;
  margin: 0 auto 16px;
  line-height: 1.4;
}

.contact-message-section {
  text-align: center;
  padding: 20px 60px 80px;
}
.contact-email {
  font-weight: 600;
  font-size: 1.2rem;
  font-family: 'Poppins', sans-serif;
  color: #1a3a5c;
}
.contact-email a {
  color: #0056a8;
  text-decoration: underline;
}

/* TEAM SECTION */
.team-section {
  background: #bfe4ff;
  text-align: center;
  padding: 60px 40px 80px;
}
.team-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #0056a8;
  margin-bottom: 50px;
}
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
}
.team-member {
  max-width: 260px;
}
.team-member img {
  width: 220px;
  height: 280px;
  object-fit: cover;
  border-radius: 16px;
  margin: 0 auto 16px;
}
.team-member h3 {
  font-family: 'Playfair Display', serif;
  color: #0056a8;
  font-size: 1.3rem;
  margin-bottom: 4px;
}
.team-member p {
  font-family: 'Poppins', sans-serif;
  color: #1a3a5c;
}

/* PARTNERSHIPS PAGE */
.partnerships-top {
  background: #bfe4ff;
}
.partnerships-header {
  text-align: center;
  padding: 50px 20px 60px;
}
.partnerships-header h1 {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 3rem;
  color: #0056a8;
  margin-bottom: 14px;
}
.partnerships-header p {
  font-family: 'Poppins', sans-serif;
  color: #1a3a5c;
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto;
}

.partnerships-bento {
  background: white;
  padding: 60px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1300px;
  margin: 0 auto;
}
.bento-card {
  border-radius: 16px;
  min-height: 320px;
}
.bento-dark {
  background: #0056a8;
  color: white;
}
.bento-light {
  background: #bfe4ff;
  color: #1a3a5c;
}

/* Split layout: image left, text right, side by side */
.bento-split {
  display: flex;
  overflow: hidden;
}
.bento-split-image {
  flex: 1;
  min-width: 0;
}
.bento-split-image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}
.bento-split-text {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Text-only layout */
.bento-text-only {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bento-card h3 {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.5rem;
  margin-bottom: 14px;
}
.bento-dark h3 {
  color: white;
}
.bento-light h3 {
  color: #0056a8;
}

.bento-card ul {
  list-style: none;
  padding: 0;
}
.bento-card li {
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
  margin-bottom: 8px;
}
.bento-dark li {
  color: #e8f3ff;
}
.bento-light li {
  color: #1a3a5c;
}
.bento-dark li::before {
  content: "•";
  color: #bfe4ff;
  position: absolute;
  left: 0;
}
.bento-light li::before {
  content: "•";
  color: #0056a8;
  position: absolute;
  left: 0;
}

@media (max-width: 800px) {
  .partnerships-bento {
    grid-template-columns: 1fr;
    padding: 40px 24px;
  }
  .bento-split {
    flex-direction: column;
  }
  .bento-split-image img {
    min-height: 220px;
  }
}

/* PARTNERSHIPS CTA */
.header-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
}
.header-cta span {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: #0056a8;
}
.cta-btn {
  display: inline-block;
  background: #0056a8;
  color: white;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 30px;
  text-decoration: none;
  letter-spacing: 0.5px;
}
.cta-btn:hover {
  background: #003f7d;
}

/* HOME PAGE */
.home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(90deg, rgba(0, 50, 125, 0.62) 0%, rgba(0, 50, 125, 0.35) 55%, rgba(0, 50, 125, 0.08) 100%),
    url('assets/quote-bg.jpg') center / cover no-repeat #2a67b0;
}
.home-hero-inner {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 30px 60px 80px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}
.home-hero-text {
  flex: 1 1 480px;
}
.eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: white;
  border-radius: 30px;
  padding: 8px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
}
.home-hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.1;
  color: white;
  margin: 22px 0 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.home-hero-text p {
  color: white;
  font-size: 1.15rem;
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 32px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}
.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 34px;
  border-radius: 30px;
  text-decoration: none;
  border: 2px solid transparent;
}
.btn-white { background: white; color: #0056a8; }
.btn-outline { border-color: white; color: white; }
.btn-blue { background: #0056a8; color: white; }
.btn-blue-outline { border-color: #0056a8; color: #0056a8; }

/* Quote card */
.quote-card-wrap {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
}
.quote-card {
  background: white;
  border-radius: 6px;
  padding: 40px 40px 30px;
  max-width: 470px;
  box-shadow: 0 24px 50px rgba(0, 40, 100, 0.35);
  transform: rotate(-2deg);
}
.quote-card .quote-inner {
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.quote-card .quote-inner.slide-out-left { transform: translateX(-40px); opacity: 0; }
.quote-card .quote-inner.slide-out-right { transform: translateX(40px); opacity: 0; }
.quote-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #0056a8;
}
.quote-card blockquote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.9rem;
  line-height: 1.35;
  color: #0056a8;
  margin: 16px 0 24px;
}
.quote-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #bfe4ff;
  padding-top: 16px;
}
.quote-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #0056a8;
  background: white;
  color: #0056a8;
  font-size: 1.1rem;
  cursor: pointer;
}
.quote-arrow.filled { background: #0056a8; color: white; }
.quote-dots { display: flex; gap: 8px; }
.quote-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: #bfe4ff;
  cursor: pointer;
}
.quote-dot.active { background: #0056a8; }

/* How it works */
.home-steps {
  background: white;
  text-align: center;
  padding: 90px 60px 70px;
}
.home-steps h2,
.home-values h2,
.home-cta h2 {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 2.8rem;
  color: #0056a8;
  margin-bottom: 12px;
}
.section-sub {
  color: #1a3a5c;
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 50px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}
.step-card {
  background: #bfe4ff;
  border-radius: 18px;
  padding: 34px;
  color: #1a3a5c;
}
.step-card.dark { background: #0056a8; color: #e8f3ff; }
.step-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 4rem;
  line-height: 1;
  color: #0056a8;
}
.step-card.dark .step-num { color: #bfe4ff; }
.step-card h3 {
  font-size: 1.25rem;
  color: #0056a8;
  margin: 14px 0 8px;
}
.step-card.dark h3 { color: white; }
.step-card p { font-size: 0.95rem; line-height: 1.6; }

/* Values */
.home-values {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 60px 90px;
}
.values-text { flex: 1 1 380px; }
.values-text h2 { font-size: 2.8rem; margin-bottom: 18px; }
.values-text p { font-size: 1.05rem; line-height: 1.7; color: #1a3a5c; }
.values-list { flex: 1 1 420px; display: grid; gap: 16px; }
.value-card {
  border: 2px solid #bfe4ff;
  border-radius: 16px;
  padding: 22px 26px;
}
.value-card h3 {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.6rem;
  color: #0056a8;
}
.value-card p { font-size: 0.95rem; color: #1a3a5c; margin-top: 4px; }

/* Closing call to action */
.home-cta {
  background: #bfe4ff;
  text-align: center;
  padding: 80px 40px;
}
.home-cta h2 { font-size: 3rem; }
.home-cta p { color: #1a3a5c; font-size: 1.05rem; margin: 0 auto 30px; }
.home-cta .hero-buttons { justify-content: center; }

.quote-card #quoteText {
  color: #0056a8;
  text-shadow: none;
  font-size: 1.9rem;
}

/* MOBILE */
.nav-toggle {
  display: none;
}

@media (max-width: 900px) {
  .navbar {
    padding: 14px 20px;
  }
  .logo {
    height: 48px;
  }
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.9rem;
    line-height: 1;
    padding: 4px 8px;
    color: white;
    cursor: pointer;
  }
  .navbar-light .nav-toggle {
    color: #0056a8;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    flex-direction: column;
    gap: 0;
    background: white;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 40, 100, 0.25);
    padding: 8px 0;
    z-index: 20;
  }
  .navbar.open .nav-links {
    display: flex;
  }
  .nav-links a,
  .navbar-light .nav-links a,
  .nav-links-dark a {
    display: block;
    padding: 14px 22px;
    color: #0056a8;
    text-shadow: none;
    font-size: 1.05rem;
  }
}

@media (max-width: 700px) {
  /* Home */
  .home-hero-inner { padding: 10px 24px 60px; gap: 40px; }
  .quote-card { padding: 28px 24px 22px; transform: rotate(-1deg); }
  .quote-card blockquote,
  .quote-card #quoteText { font-size: 1.4rem; }
  .home-steps { padding: 60px 24px 50px; }
  .home-steps h2, .home-cta h2 { font-size: 2.1rem; }
  .home-cta { padding: 60px 24px; }

  /* About */
  .about-hero {
    flex-direction: column;
    align-items: stretch;
    padding: 24px 24px 50px;
    gap: 30px;
  }
  .about-hero-image,
  .about-hero-text {
    flex: none;
    width: 100%;
    min-width: 0;
  }
  .about-hero-text p { font-size: 1.05rem; }
  .pink-heading { font-size: 1.7rem; }
  .our-story { padding: 50px 20px; }
  .our-story h2 { font-size: 2rem; }
  .story-grid {
    flex-direction: column;
    align-items: center;
  }
  .story-card {
    flex: none;
    width: 100%;
    max-width: 420px;
    min-width: 0;
    padding: 24px;
  }
  .story-card img {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
  }
  .resources { padding: 50px 20px; }
  .resources h2 { font-size: 1.8rem; }
  
  /* Archives */
  .archives-header h1 { font-size: 2.4rem; }
  .archives-grid { padding: 20px 20px 0; }
  .flipbook-wrap iframe { height: 420px; }

  /* Partnerships */
  .partnerships-header h1 { font-size: 2.3rem; }
  .partnerships-bento { padding: 30px 20px; }

  /* Donate */
  .donate-hero { padding: 20px 20px 50px; gap: 30px; }
  .donate-left, .donate-right { flex: 1 1 100%; min-width: 0; }
  .donate-left h1 { font-size: 2.1rem; }
  .donate-left img { flex: none; height: 260px; }
  .donate-right dbox-widget { max-width: 100%; }

  /* Contact */
  .contact-hero { padding: 30px 24px 10px; }
  .contact-hero h1 { font-size: 1.6rem; }
  .contact-message-section { padding: 10px 24px 50px; }
  .team-section { padding: 50px 20px; }
  .team-grid { gap: 30px; }

  /* Footer */
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
    gap: 16px;
  }
  .footer-row {
    flex-direction: column;
    gap: 2px;
  }
  .footer-row span { display: none; }
  .footer-row h3,
  .footer-row p { flex: none; }
  .footer-row .legal { text-align: left; }
}

/* INTRO: collage that crumples away */
#intro { display: none; }
html.intro-lock #intro {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow: hidden;
}
html.intro-lock,
html.intro-lock body { overflow: hidden; }

#introBase {
  position: absolute;
  inset: 0;
  background: url('assets/journal-collage.jpg') center / cover no-repeat #f6f4ef;
}
.intro-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  background: #0056a8;
  color: white;
  border: none;
  border-radius: 30px;
  padding: 13px 28px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 40, 100, 0.35);
  animation: hintBob 1.6s ease-in-out infinite;
  transition: opacity 0.3s ease;
}
@keyframes hintBob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}
.shard { position: absolute; will-change: transform, opacity; }
.shard .shade { position: absolute; inset: 0; opacity: 0; }

/* HOME: open journal hero */
.home-hero {
  background:
    linear-gradient(rgba(0, 70, 150, 0.25), rgba(0, 70, 150, 0.25)),
    url('assets/quote-bg.jpg') center / cover no-repeat #2a67b0;
}
.hero-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px 40px;
}
.book {
  position: relative;
  width: min(1100px, 100%, calc((100vh - 140px) * 1.2708));
  aspect-ratio: 1600 / 1259;
  container-type: inline-size;
}
.book-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  filter: drop-shadow(0 28px 36px rgba(0, 30, 90, 0.45));
}
.book-page {
  position: absolute;
  top: 9.73%;
  height: 80.54%;
  width: 38%;
  display: flex;
  flex-direction: column;
}
.book-left { left: 7.25%; }
.book-right { left: 54.75%; }

/* Left page: label at the top, headline and text centered, buttons at the bottom */
.book-left .eyebrow {
  align-self: flex-start;
  background: #bfe4ff;
  border-color: transparent;
  color: #0056a8;
  font-size: 0.7rem;
  font-size: clamp(0.6rem, 1.15cqw, 0.85rem);
  padding: 6px 14px;
}
.book-left h1 {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 2.1rem;
  font-size: clamp(1.6rem, 5cqw, 3.6rem);
  line-height: 1.1;
  color: #0056a8;
  text-shadow: none;
  margin: auto 0 0.45em;
}
.book-left p {
  font-size: 1rem;
  font-size: clamp(0.85rem, 1.75cqw, 1.25rem);
  line-height: 1.65;
  color: #1a3a5c;
  text-shadow: none;
  margin: 0 0 auto;
}
.book-left .hero-buttons { padding-top: 14px; }
.book .btn {
  padding: 0.75em 1.7em;
  font-size: 0.85rem;
  font-size: clamp(0.78rem, 1.45cqw, 1.05rem);
}

/* Right page: label at the top, quote centered, arrows at the bottom */
.book .quote-card {
  background: transparent;
  box-shadow: none;
  transform: none;
  padding: 0;
  max-width: none;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.book .quote-card .quote-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.book .quote-label {
  margin: 0;
  font-size: 0.7rem;
  font-size: clamp(0.62rem, 1.2cqw, 0.9rem);
}
.book .quote-card blockquote,
.book .quote-card #quoteText {
  font-size: 1.4rem;
  font-size: clamp(1.15rem, 3cqw, 2.3rem);
  margin: auto 0;
}
.book .quote-controls {
  border-top: none;
  padding-top: 0;
}
.book .quote-arrow {
  border: none;
  background: #bfe4ff;
  color: #0056a8;
  width: 44px;
  height: 44px;
  width: clamp(38px, 4.4cqw, 56px);
  height: clamp(38px, 4.4cqw, 56px);
}
.book .quote-arrow.filled {
  background: #0056a8;
  color: white;
}

@media (max-width: 800px) {
  .hero-stage { align-items: flex-start; padding: 0 18px 40px; }
  .book { width: 100%; aspect-ratio: auto; container-type: normal; }
  .book-img { display: none; }
  .book-page {
    position: static;
    width: auto;
    height: auto;
    background: #f4f0e8;
    border-radius: 8px;
    padding: 28px 24px;
    margin-bottom: 18px;
    box-shadow: 0 16px 30px rgba(0, 30, 90, 0.3);
  }
  .book-left h1 { font-size: 2.1rem; margin: 14px 0 12px; }
  .book-left p { font-size: 1rem; margin: 0 0 18px; }
  .book .btn { font-size: 0.9rem; padding: 12px 26px; }
  .book .quote-card { height: auto; }
  .book .quote-card .quote-inner { flex: none; }
  .book .quote-card blockquote,
  .book .quote-card #quoteText { font-size: 1.35rem; margin: 12px 0 20px; }
  .book .quote-arrow { width: 44px; height: 44px; }
}
