:root {
  --primary: #e98c85;
  --primary-dark: #d4736c;
  --primary-light: #f5b8b3;
  --dark: #1a1a1a;
  --dark-soft: #2d2d2d;
  --light: #f8f9fa;
  --white: #ffffff;
  --text: #333333;
  --text-muted: #6c757d;
  --gold: #ffc107;
  --font-body: 'Open Sans', sans-serif;
  --font-heading: 'Josefin Sans', sans-serif;
  --bs-font-sans-serif: var(--font-body);
  --bs-body-font-family: var(--font-body);
  --bs-headings-font-family: var(--font-heading);
  --bs-primary: #e98c85;
  --bs-primary-rgb: 233, 140, 133;
  --bs-warning: #ffc107;
  --bs-border-radius: 0;
  --bs-border-radius-sm: 0;
  --bs-border-radius-lg: 0;
  --bs-border-radius-xl: 0;
  --bs-border-radius-pill: 0;
  --bs-btn-border-radius: 0;
  --bs-btn-border-radius-sm: 0;
  --bs-btn-border-radius-lg: 0;
  --transition: all 0.3s ease;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --radius: 0;
  --radius-lg: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

.btn,
.btn-site,
.btn-site-outline,
.btn-primary,
.btn-back-to-top,
button,
input[type="submit"],
input[type="button"] {
  border-radius: 0 !important;
}

.btn-site,
.btn-site-outline {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  line-height: 1.5;
}

.btn-site {
  background-color: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
  padding: 10px 26px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-site:hover,
.btn-site:focus {
  background-color: var(--white);
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.btn-site-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 10px 26px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-site-outline:hover,
.btn-site-outline:focus {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.header-top {
  background: var(--white);
  /* Only transition opacity — instant height collapse avoids the scroll-back glitch */
  transition: opacity 0.2s ease;
  overflow: hidden;
}

.header-top .container-fluid,
.header-top .d-flex {
  min-height: 0;
}

/* Reduce vertical padding by ~45%: Bootstrap py-3 = 16px → 9px */
.header-top .d-flex {
  padding-top: 9px !important;
  padding-bottom: 9px !important;
}

.header-logo-full {
  max-height: 100px;
  width: auto;
}

/* Header hidden on scroll — instant height, smooth opacity — no reflow glitch */
.header-top.hidden {
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.sticky-nav {
  background: #000000;
  transition: box-shadow 0.3s ease;
  padding-top: 0.15rem;
  padding-bottom: 0.15rem;
}

.sticky-nav .nav-container {
  display: flex;
  align-items: center;
}

/* Mobile phone layout: logo centered, hamburger to the right */
@media (max-width: 1199px) {
  .sticky-nav .nav-container {
    display: flex;
    align-items: center;
    position: relative;
  }

  /* Absolutely center the phone logo regardless of hamburger position */
  .mobile-center-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 !important;
    z-index: 1;
  }

  /* Hamburger pushed to the far right */
  #mobile-menu-toggle {
    margin-left: auto;
  }
}

/* PC desktop: 3-col grid — [logo 1fr] [nav auto] [spacer 1fr]
   Nav links are always mathematically centered. Logo never shrinks. */
@media (min-width: 1200px) {
  .sticky-nav .nav-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  /* Logo in left column, right-aligned so it sits close to nav links */
  .nav-scroll-logo {
    grid-column: 1;
    justify-self: end;
    padding-right: 1.5rem; /* gap between logo and first nav link */
  }

  /* More breathing room on very wide screens */
  @media (min-width: 1400px) {
    .nav-scroll-logo {
      padding-right: 2.5rem;
    }
  }

  #navbarNav {
    grid-column: 2;
  }
}

.sticky-nav.scrolled {
  box-shadow: var(--shadow-lg);
}

/* Scroll logo — fades in/out, always occupies left grid column so nav links stay centered */
.nav-scroll-logo {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 0;
}

.nav-scroll-logo.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-logo-scroll {
  height: 64px;
  width: auto;
  object-fit: contain;
  display: block;
}


.header-logo-phone {
  max-height: 55px;
  width: auto;
}

/* PC nav links — always centered via mx-auto */
.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.05rem;
  padding: 18px 16px !important;
  position: relative;
  transition: var(--transition);
  white-space: nowrap;
}

.public-turnstile-wrap {
  display: flex;
  justify-content: center;
  margin: 0.75rem 0 1rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #dd7777;
}

.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: #dd7777;
  border-radius: 0;
}

.navbar-toggler {
  padding: 8px 12px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Mobile Overlay Menu */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.97);
  z-index: 9998;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  flex-direction: column;
}

.mobile-menu-overlay.active {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  justify-content: flex-end;
  padding: 20px 30px;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 40px;
  cursor: pointer;
  line-height: 1;
}

.mobile-menu-body {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.mobile-nav-list li {
  margin-bottom: 25px;
  overflow: hidden;
}

.mobile-nav-link {
  display: inline-block;
  color: var(--white);
  font-size: 1.5rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
  position: relative;
  text-decoration: none;
}

.mobile-nav-link::before {
  content: '♦';
  color: #dd7777;
  font-size: 1.2rem;
  margin-right: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  vertical-align: middle;
}

.mobile-nav-link.active {
  color: #dd7777;
}

.mobile-nav-link.active::before,
.mobile-nav-link:hover::before {
  opacity: 1;
}

.mobile-menu-overlay.active .mobile-nav-link.visible {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-link:hover {
  color: #dd7777;
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 100%);
  min-height: calc(100vh - 130px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin-bottom: 2rem;
}

.hero-img {
  box-shadow: var(--shadow-lg);
  aspect-ratio: 7 / 5;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
}

img, svg {
  vertical-align: middle;
}

/* Global rounded curves for images/cards */
img.rounded,
.video-wrapper,
.video-wrapper.rounded,
.modal-content.rounded,
.modal-body.rounded {
  border-radius: 16px !important;
}

/* ===== UTILITIES ===== */
.text-columns-2 {
  column-count: 2;
  column-gap: 3rem;
}

@media (max-width: 991px) {
  .text-columns-2 {
    column-count: 1;
    column-gap: 0;
  }
}

.section-padding {
  padding: 80px 0;
}

/* GLOBAL CURVE OVERRIDE: user requested ALL images to be curved */
img:not(.header-logo-full):not(.header-logo-phone):not(.nav-logo-square):not(.testimonial-logo) {
  border-radius: 16px !important;
}
.carousel-inner {
  border-radius: 16px !important;
}

/* ===== TIMELINE BIOGRAPHY ===== */
.timeline-section {
  padding: 120px 0;
  background-color: #FAFAFA;
  overflow: hidden;
}

.timeline-header-title {
  font-size: 42px;
  font-weight: 700;
  color: #222222;
  margin-bottom: 1rem;
}

.timeline-header-subtitle {
  font-size: 18px;
  color: #666666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.scroll-indicator {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #666666;
  margin-bottom: 2rem;
  animation: bounceUpDown 2s infinite ease-in-out;
}

@keyframes bounceUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.timeline-container {
  position: relative;
  max-width: 1000px;
  margin: 80px auto 0;
  padding: 0 20px;
}

/* Vertical Line */
.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #ECECEC;
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-line-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0%;
  background-color: #dd7777;
  transition: height 0.1s ease-out;
}

/* Milestone */
.timeline-milestone {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 100px;
  position: relative;
  z-index: 2;
  opacity: 1;
}

/* Dot */
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 16px !important;
  height: 16px !important;
  background-color: #ECECEC;
  border: 2px solid #FAFAFA;
  border-radius: 50% !important;
  aspect-ratio: 1 / 1;
  box-sizing: border-box;
  z-index: 3;
  transition: all 0.35s ease;
}

.timeline-milestone.is-active .timeline-dot {
  transform: translate(-50%, -50%) scale(1);
  background-color: #dd7777;
  box-shadow: 0 0 10px rgba(221, 119, 119, 0.4);
}

/* Content Columns */
.timeline-image-col,
.timeline-text-col {
  width: 45%;
  position: relative;
}

/* Desktop Image Constraint */
.timeline-img {
  max-width: 420px;
  max-height: 380px;
  width: auto;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;
  display: block;
}

.timeline-image-col:hover .timeline-img {
  transform: scale(1.03);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* Typography */
.milestone-title {
  font-size: 24px;
  font-weight: 600;
  color: #dd7777;
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
}

.milestone-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0;
  background-color: #dd7777;
  transition: width 0.6s ease;
}

.timeline-milestone.is-active .milestone-title::after {
  width: 100%;
}

.milestone-subtitle {
  font-size: 15px;
  text-transform: uppercase;
  font-weight: 500;
  color: #666666;
  margin-bottom: 18px;
}

.milestone-desc {
  font-size: 17px;
  line-height: 1.8;
  color: #222222;
  max-width: 600px;
  margin-bottom: 0;
}

.timeline-list {
  padding-left: 20px;
  margin-bottom: 0;
  list-style: none;
}

.timeline-list li {
  position: relative;
  margin-bottom: 8px;
}

.timeline-list li::before {
  content: '•';
  color: #dd7777;
  position: absolute;
  left: -20px;
  font-size: 20px;
  line-height: 1.6;
}

/* Alignments: classes from PHP (avoids nth-child off-by-one with .timeline-line) */
.timeline-milestone.is-left .timeline-image-col {
  order: 1;
}
.timeline-milestone.is-left .timeline-img {
  margin-left: auto;
}
.timeline-milestone.is-left .timeline-text-col {
  order: 2;
  text-align: left;
  padding-left: 32px;
}
.timeline-milestone.is-left .milestone-desc,
.timeline-milestone.is-left .timeline-list {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}

.timeline-milestone.is-right .timeline-image-col {
  order: 2;
}
.timeline-milestone.is-right .timeline-img {
  margin-right: auto;
}
.timeline-milestone.is-right .timeline-text-col {
  order: 1;
  text-align: left;
  padding-right: 32px;
  display: flex;
  justify-content: flex-end;
}
.timeline-milestone.is-right .reveal-text {
  text-align: left;
  width: 100%;
  max-width: 600px;
}
.timeline-milestone.is-right .milestone-desc,
.timeline-milestone.is-right .timeline-list {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {
  .timeline-milestone {
    opacity: 0;
    transition: opacity 0.6s ease;
  }
  .timeline-milestone.is-active {
    opacity: 1;
  }
  .reveal-img {
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .timeline-milestone.is-active .reveal-img {
    opacity: 1;
    transform: scale(1);
  }
  .timeline-milestone.is-active .reveal-text {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Stagger */
  .timeline-milestone .reveal-img { transition-delay: 0s; }
  .timeline-milestone .milestone-title { transition-delay: 0.2s; }
  .timeline-milestone .milestone-subtitle { transition-delay: 0.3s; }
  .timeline-milestone .milestone-desc { transition-delay: 0.4s; }
}

/* Responsive */
@media (max-width: 991px) {
  .timeline-img {
    max-width: 320px;
    max-height: 280px;
  }
}

@media (max-width: 767px) {
  .timeline-header-title { font-size: 32px; }
  .timeline-section { padding: 80px 0; }

  .timeline-line {
    left: 20px;
    transform: none;
  }
  .timeline-dot {
    left: 20px;
  }
  
  .timeline-milestone {
    flex-direction: column !important;
    align-items: flex-start;
    margin-bottom: 60px;
  }
  
  .timeline-image-col,
  .timeline-text-col {
    width: 100%;
    order: unset !important;
    text-align: left !important;
    padding-left: 50px !important;
    padding-right: 0 !important;
    display: block;
    justify-content: unset;
  }
  
  .timeline-image-col {
    margin-bottom: 24px;
  }
  
  .timeline-img {
    max-width: 100%;
    max-height: 400px;
    width: auto;
    height: auto;
    margin: 0 !important;
  }
}

.section-title-wrapper {
  margin-bottom: 50px;
}

.section-title-wrapper h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  position: relative;
  display: inline-block;
}

.section-title-wrapper h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 0;
}

.section-title-wrapper.text-center h2::after {
  left: 50%;
  transform: translateX(-50%);
}

/* ===== BIOGRAPHY CONTENT ===== */
.bio-content {
  font-size: 1.05rem;
  line-height: 1.9;
}

.bio-content h3 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--dark);
  font-size: 1.5rem;
}

.bio-content p {
  margin-bottom: 1.2rem;
}

.bio-content ul {
  list-style: none;
  padding: 0;
}

.bio-content ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 1.2rem;
}

.bio-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

/* ===== FONDATION CARDS ===== */
.pillar-card {
  background: var(--white);
  padding: 30px;
  text-align: center;
  transition: var(--transition);
  border: none;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.pillar-card .pillar-icon {
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  color: var(--white);
  font-size: 28px;
}

.pillar-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.pillar-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* ===== IMAGE + TEXT BLOCKS ===== */
.image-text-block {
  margin-bottom: 3rem;
}

.image-text-block img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.image-text-block h3,
.image-text-block h4,
.image-text-block h5 {
  margin-bottom: 1rem;
}

.friend-profile-card,
.bio-highlight-card {
  background: var(--white);
  border: none;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  height: 100%;
  overflow: hidden;
  transition: var(--transition);
}

.family-card {
  background: var(--white);
  border: none;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  height: 100%;
  overflow: hidden;
  transition: var(--transition);
}

.family-card:hover,
.friend-profile-card:hover,
.bio-highlight-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.friend-profile-card img,
.bio-highlight-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.family-card img {
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  display: block;
}

.family-card .card-body,
.friend-profile-card .card-body,
.bio-highlight-card .card-body {
  padding: 1.5rem;
}

.testimonial-card .testimonial-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 10px;
  opacity: 0.2;
}

.founder-portrait {
  max-width: 320px;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ===== MASONRY GALLERY ===== */
.masonry-gallery {
  columns: 3;
  column-gap: 16px;
}

.masonry-gallery .gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.masonry-gallery .gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

.masonry-gallery .gallery-item:hover img {
  transform: scale(1.05);
}

.masonry-gallery .gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.masonry-gallery .gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.masonry-gallery .gallery-item .gallery-overlay span {
  color: var(--white);
  font-size: 36px;
}

@media (max-width: 991px) {
  .masonry-gallery {
    columns: 2;
  }
}

@media (max-width: 575px) {
  .masonry-gallery {
    columns: 1;
  }
}

/* ===== LIGHTBOX ===== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-overlay .lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--white);
  font-size: 36px;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.lightbox-overlay .lightbox-close:hover {
  color: var(--primary);
}

.lightbox-overlay .lightbox-img {
  max-width: 80vw;
  max-height: 60vh;
  object-fit: contain;
  margin-bottom: 20px;
}

.lightbox-overlay .lightbox-caption {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  text-align: center;
  max-width: 600px;
}

.lightbox-overlay .lightbox-testimonials {
  max-width: 600px;
  width: 100%;
  margin-top: 20px;
  max-height: 200px;
  overflow-y: auto;
}

.lightbox-overlay .testimonial-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 16px;
  margin-bottom: 10px;
}

/* ===== FORMS ===== */
.form-control,
.testimonial-form-section .form-control,
.contact-section .form-control {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: var(--transition);
}

.form-control:focus,
.testimonial-form-section .form-control:focus,
.contact-section .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(233, 140, 133, 0.2);
}

.testimonial-form-section {
  background: var(--light);
  padding: 30px;
  margin-top: 40px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.lightbox-overlay .testimonial-item .testimonial-name {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
}

.lightbox-overlay .testimonial-item .testimonial-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  margin-top: 4px;
}

/* ===== TESTIMONIAL FORM ===== */
.testimonial-form-section h4 {
  margin-bottom: 20px;
}

.testimonial-card {
  background: var(--white);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  border-radius: 16px;
  border: 4px solid transparent;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  transform: scale(1.02);
  border-color: #dd7777;
}

.testimonial-card .testimonial-author {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.testimonial-card .testimonial-source {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.testimonial-card .testimonial-body {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== VIDEO CTA ===== */
.video-cta-section {
  background: var(--light);
}

.video-cta-section .video-wrapper {
  border-radius: 0;
}

.video-cta-text h3 {
  font-size: 1.4rem;
  color: var(--dark);
}

/* ===== CONTACT FORM ===== */
.contact-section form {
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* ===== FOUNDER SECTION ===== */
.founder-section {
  background: linear-gradient(135deg, #fdf6f5 0%, #fff 100%);
}

.founder-img {
  box-shadow: var(--shadow-lg);
  max-height: 400px;
  object-fit: cover;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.75);
}

.site-footer h5 {
  font-family: var(--font-heading);
}

.footer-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
}

.footer-links a::before {
  content: '\203A';
  margin-right: 8px;
  color: var(--primary);
  font-size: 1.2rem;
}

.footer-links a:hover {
  color: #dd7777;
  padding-left: 5px;
}

.footer-gallery img {
  width: 100%;
  height: 60px;
  object-fit: cover;
  transition: var(--transition);
}

.footer-gallery img:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

/* ===== BACK TO TOP ===== */
.btn-back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  border: none;
  box-shadow: var(--shadow);
  z-index: 999;
  transition: var(--transition);
  padding: 0;
}

.btn-back-to-top:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-back-to-top.show {
  display: flex;
}

/* ===== REFERENCE / SOURCES ===== */
.sources-section {
  background: var(--light);
  padding: 30px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.sources-section h4 {
  margin-bottom: 16px;
}

.sources-section ul {
  list-style: none;
  padding: 0;
}

.sources-section ul li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===== NEWSPAPER IMAGES ===== */
.newspaper-showcase {
  background: var(--dark);
  padding: 30px;
  margin: 40px 0;
}

.newspaper-showcase img {
  box-shadow: var(--shadow-lg);
}

.rounded,
.rounded-1,
.rounded-2,
.rounded-3,
.rounded-4,
.rounded-5,
.rounded-circle,
.rounded-pill,
.img-fluid.rounded,
.shadow.rounded,
.shadow-sm.rounded {
  border-radius: 0 !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1199px) {
  .section-padding {
    padding: 60px 0;
  }

  .hero-section {
    text-align: center;
    padding-top: 100px;
    padding-bottom: 50px;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-content .d-flex {
    justify-content: center;
  }

  /* Hide top logo bar on mobile — only sticky nav shows */
  .header-top {
    display: none !important;
  }

  /* Scroll logo never on mobile/tablet */
  .nav-scroll-logo {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .section-padding {
    padding: 50px 0;
  }

  .footer-gallery img {
    height: 50px;
  }
}

@media (max-width: 575px) {
  .header-logo-phone {
    max-height: 42px;
  }

  .nav-logo-square {
    height: 32px;
    width: 32px;
  }
}

/* Mobile Typography & Button Scaling */
@media (max-width: 767px) {
  h1 { font-size: calc(var(--bs-h1-font-size) * 0.85); }
  h2 { font-size: calc(var(--bs-h2-font-size) * 0.85); }
  h3 { font-size: calc(var(--bs-h3-font-size) * 0.85); }
  h4 { font-size: calc(var(--bs-h4-font-size) * 0.85); }
  h5 { font-size: calc(var(--bs-h5-font-size) * 0.85); }

  .btn-site, .btn-site-outline {
    padding: 8px 18px;
    font-size: 0.85rem;
  }
  
  object-fit: contain;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
}

.footer-links a::before {
  content: '\203A';
  margin-right: 8px;
  color: var(--primary);
  font-size: 1.2rem;
}

.footer-links a:hover {
  color: #dd7777;
  padding-left: 5px;
}

.footer-gallery img {
  width: 100%;
  height: 60px;
  object-fit: cover;
  transition: var(--transition);
}

.footer-gallery img:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

/* ===== BACK TO TOP ===== */
.btn-back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  border: none;
  box-shadow: var(--shadow);
  z-index: 999;
  transition: var(--transition);
  padding: 0;
}

.btn-back-to-top:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-back-to-top.show {
  display: flex;
}

/* ===== REFERENCE / SOURCES ===== */
.sources-section {
  background: var(--light);
  padding: 30px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.sources-section h4 {
  margin-bottom: 16px;
}

.sources-section ul {
  list-style: none;
  padding: 0;
}

.sources-section ul li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===== NEWSPAPER IMAGES ===== */
.newspaper-showcase {
  background: var(--dark);
  padding: 30px;
  margin: 40px 0;
}

.newspaper-showcase img {
  box-shadow: var(--shadow-lg);
}

.rounded,
.rounded-1,
.rounded-2,
.rounded-3,
.rounded-4,
.rounded-5,
.rounded-circle,
.rounded-pill,
.img-fluid.rounded,
.shadow.rounded,
.shadow-sm.rounded {
  border-radius: 0 !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1199px) {
  .section-padding {
    padding: 60px 0;
  }

  .hero-section {
    text-align: center;
    padding-top: 100px;
    padding-bottom: 50px;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-content .d-flex {
    justify-content: center;
  }

  /* Hide top logo bar on mobile — only sticky nav shows */
  .header-top {
    display: none !important;
  }

  /* Scroll logo never on mobile/tablet */
  .nav-scroll-logo {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .section-padding {
    padding: 50px 0;
  }

  .footer-gallery img {
    height: 50px;
  }
}

@media (max-width: 575px) {
  .header-logo-phone {
    max-height: 42px;
  }

  .nav-logo-square {
    height: 32px;
    width: 32px;
  }
}

/* Mobile Typography & Button Scaling */
@media (max-width: 767px) {
  h1 { font-size: calc(var(--bs-h1-font-size) * 0.85); }
  h2 { font-size: calc(var(--bs-h2-font-size) * 0.85); }
  h3 { font-size: calc(var(--bs-h3-font-size) * 0.85); }
  h4 { font-size: calc(var(--bs-h4-font-size) * 0.85); }
  h5 { font-size: calc(var(--bs-h5-font-size) * 0.85); }

  .btn-site, .btn-site-outline {
    padding: 8px 18px;
    font-size: 0.85rem;
  }
  
  .navbar {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
  }
}
/* Memorial Testimonial Section */
.memorial-testimonial-section {
  width: 100%;
}
.memorial-card {
  background: #ffffff;
  border: 1px solid #ECECEC;
  padding: 40px;
  box-shadow: var(--shadow);
  border-radius: 0;
  animation: memorialFadeUp 0.8s ease forwards;
}
@keyframes memorialFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.memorial-quote-mark {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 120px;
  opacity: 0.04;
  font-family: var(--font-heading);
  line-height: 1;
  pointer-events: none;
}
.memorial-title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--dark);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.memorial-divider {
  width: 80px;
  height: 2px;
  background: var(--primary);
}
.memorial-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.8;
  margin: 0 auto;
}
.memorial-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--dark);
  margin-bottom: 8px;
}
.memorial-input,
.memorial-textarea {
  width: 100%;
  background: #FCFCFC;
  border: 1px solid #E5E5E5;
  border-radius: 0;
  padding: 14px 18px;
  transition: all .3s ease;
  font-family: var(--font-body);
  color: var(--text);
}
.memorial-input {
  height: 48px;
}
.memorial-textarea {
  min-height: 110px;
  resize: vertical;
}
.memorial-input:focus,
.memorial-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(233,140,133,.15);
  background: #ffffff;
}
.memorial-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  height: 48px;
  padding: 0 36px;
  border: none;
  border-radius: 0;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .06em;
  font-family: var(--font-body);
  transition: all .3s ease;
}
.memorial-btn:hover,
.memorial-btn:focus {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: #fff;
}
.temoignage-honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.testimonial-success-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.testimonial-success-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.testimonial-success-popup {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  padding: 40px 36px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  transform: translateY(12px) scale(0.96);
  transition: transform 0.25s ease;
}

.testimonial-success-overlay.is-visible .testimonial-success-popup {
  transform: translateY(0) scale(1);
}

.testimonial-success-icon {
  font-size: 72px;
  line-height: 1;
  color: #2e7d32;
  margin-bottom: 16px;
}

.testimonial-success-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a4d2e;
  margin: 0 0 10px;
}

.testimonial-success-message {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin: 0;
}
@media (max-width: 768px) {
  .memorial-card {
    padding: 28px;
  }
  .memorial-title {
    font-size: 32px;
  }
  .memorial-btn {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .memorial-card,
  .memorial-input,
  .memorial-textarea,
  .memorial-btn {
    transition: none !important;
    animation: none !important;
  }
  .memorial-btn:hover {
    transform: none;
  }
}

/* ===== FRIEND PROFILE CARDS OVERRIDE ===== */
.friend-profile-card {
  border-radius: 8px !important;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.friend-profile-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg) !important;
}
.friend-profile-card .card-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  width: 100%;
  border-bottom: 1px solid #ECECEC;
  border-radius: 8px 8px 0 0 !important;
}
.friend-profile-card .card-image img,
.friend-profile-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
  border-radius: 8px 8px 0 0 !important;
}
.friend-profile-card .card-body {
  padding: 24px !important;
  background: var(--white);
  flex-grow: 1;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== UI FIXES (July 2026) ===== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1030;
}

.sticky-nav {
  position: relative;
  z-index: 1030;
  width: 100%;
}

@media (max-width: 1199px) {
  body {
    padding-top: var(--mobile-header-offset, 72px);
  }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
  }

  .sticky-nav {
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
    overflow: visible;
  }

  .sticky-nav .nav-container {
    min-height: 62px;
  }

  .mobile-center-logo {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    line-height: 1;
  }

  #mobile-menu-toggle {
    position: relative;
    z-index: 2;
  }

  .hero-section {
    padding-top: 24px;
    padding-bottom: 38px;
    min-height: auto;
  }
}

@media (min-width: 1200px) {
  .nav-scroll-logo {
    display: flex;
    align-items: center;
    min-width: 280px;
    flex-shrink: 0;
  }

  .nav-logo-scroll {
    width: 280px;
    max-width: none;
    height: auto;
    flex-shrink: 0;
  }
}

.hero-section {
  background: linear-gradient(180deg, #ffffff 0%, #f9f9f9 100%);
}

.hero-title {
  color: #101010;
}

.hero-subtitle {
  color: #3f3f3f;
}

.hero-carousel-control {
  width: 52px;
  height: 52px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  background: rgba(0, 0, 0, 0.58);
  border-radius: 50%;
  margin: 0 10px;
}

.hero-carousel-control .carousel-control-prev-icon,
.hero-carousel-control .carousel-control-next-icon {
  filter: brightness(0) invert(1) contrast(1.5);
}

.hero-carousel-pause {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 5;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  border-radius: 50% !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.hero-carousel-pause:hover,
.hero-carousel-pause:focus {
  background: rgba(0, 0, 0, 0.8);
  color: #ffffff;
}

.site-footer,
.footer-bottom {
  background: #000000;
}

.footer-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.footer-gallery-item {
  display: block;
  position: relative;
  overflow: hidden;
}

.footer-gallery-item img,
.footer-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-gallery-item.is-portrait {
  aspect-ratio: 3 / 4;
}

.footer-gallery-item.is-landscape {
  aspect-ratio: 16 / 10;
}

.footer-gallery-item:hover img {
  opacity: 0.88;
  transform: scale(1.03);
}

.lightbox-testimonial-cta {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 1006;
  padding: 8px 14px;
  font-size: 0.78rem;
}

.lightbox-controls {
  max-width: calc(100vw - 32px);
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 767px) {
  .footer-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-section {
    padding-top: 12px;
    padding-bottom: 26px;
  }

  .hero-carousel-control {
    width: 46px;
    height: 46px;
    margin: 0 6px;
  }

  .hero-carousel-pause {
    width: 40px;
    height: 40px;
    right: 10px;
    bottom: 10px;
  }

  #main-nav.navbar {
    padding-top: 0.35rem !important;
    padding-bottom: 0.35rem !important;
  }

  .hero-content .d-flex {
    flex-wrap: nowrap !important;
    justify-content: center;
  }

  .hero-content .btn-site,
  .hero-content .btn-site-outline {
    white-space: nowrap;
  }

  #mission-pillars .row > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .lightbox-controls {
    bottom: 16px !important;
    gap: 10px !important;
  }

  .lightbox-testimonial-cta {
    top: 12px;
    left: 12px;
    font-size: 0.72rem;
    padding: 7px 12px;
  }
}

@media (max-width: 575px) {
  .hero-content .d-flex {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap !important;
  }

  .hero-content .btn-site,
  .hero-content .btn-site-outline {
    width: auto;
    white-space: nowrap;
  }

  .lightbox-overlay {
    padding: 20px 12px;
  }

  .lightbox-overlay .lightbox-img {
    max-width: 92vw;
    max-height: 55vh;
  }
}

/* Remember Kopa — single stacked column */
.remember-kopa-stack {
  max-width: 760px;
  margin: 0 auto;
  padding-left: clamp(1.25rem, 6vw, 4rem);
  padding-right: clamp(1.25rem, 6vw, 4rem);
}
.remember-duty-subtitle {
  font-size: 1.15rem;
  color: #666;
  font-style: italic;
}
.remember-kopa-image-wrap {
  text-align: center;
}
.remember-kopa-hero-img {
  width: min(70%, 420px);
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  display: inline-block;
}
.remember-kopa-body {
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: left;
}

/* Book section (home) */
.book-section-intro {
  max-width: 720px;
  line-height: 1.7;
}
.book-cover-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}
.book-page-replica {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}
.book-page-replica.is-zoomable {
  cursor: zoom-in;
}
.book-page-replica.is-zoomable:focus-visible .book-page-sheet {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}
.book-page-sheet {
  background: linear-gradient(to right, #f2f2ef 0%, #fdfdfa 15%, #fbfbf8 85%, #f2f2ef 100%);
  color: #1a1a1a;
  font-family: "Times New Roman", Times, serif;
  padding: clamp(1.75rem, 5vw, 5rem) clamp(1.25rem, 6vw, 6.25rem);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  min-height: 100%;
}
.book-page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  font-style: italic;
  font-size: clamp(0.85rem, 1.6vw, 1rem);
  line-height: 1.3;
}
.book-page-header-left {
  text-align: left;
  width: 50%;
}
.book-page-header-right {
  text-align: right;
  width: 50%;
}
.book-page-title,
.book-page-title-sub {
  text-align: right;
  margin: 0;
  font-weight: 700;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: -0.5px;
  color: #1a1a1a;
}
.book-page-title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin-bottom: 0.2rem;
}
.book-page-title-sub {
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  margin-bottom: clamp(1.25rem, 3vw, 1.875rem);
}
.book-page-subtitle {
  text-align: right;
  font-style: italic;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  line-height: 1.4;
  margin: 0 0 clamp(1.75rem, 4vw, 3.125rem);
}
.book-page-body {
  width: min(100%, 545px);
  margin: 0 auto;
}
.book-page-text {
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.5;
  text-align: justify;
  letter-spacing: 0.1px;
  margin: 0 0 1.55rem;
  text-indent: 2.5rem;
}
.book-page-text-2 {
  margin-bottom: 0;
}
.book-page-folio {
  text-align: center;
  font-size: clamp(1rem, 2vw, 1.125rem);
  margin: clamp(2rem, 5vw, 3.75rem) 0 0;
  font-family: Arial, Helvetica, sans-serif;
}
.book-meta {
  max-width: 760px;
  text-align: left;
}
.book-attribution {
  max-width: 720px;
}

@media (max-width: 575px) {
  .book-page-header {
    flex-direction: column;
    gap: 0.75rem;
  }
  .book-page-header-left,
  .book-page-header-right {
    width: 100%;
    text-align: left;
  }
  .book-page-title,
  .book-page-title-sub,
  .book-page-subtitle {
    text-align: left;
  }
  .book-page-text {
    text-indent: 1.5rem;
  }
}

/* Interviews */
.interview-stack {
  max-width: 760px;
  margin: 0 auto;
  padding-left: clamp(1.25rem, 6vw, 4rem);
  padding-right: clamp(1.25rem, 6vw, 4rem);
}
.interview-name {
  color: #dd7777;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  text-align: center;
}
.interview-question {
  font-weight: 700;
  color: #222;
}
.interview-image-wrap {
  text-align: center;
}
.interview-image {
  width: min(100%, 360px);
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  display: inline-block;
}
.interview-body {
  text-align: left;
  font-size: 1.05rem;
  line-height: 1.8;
}
.interview-block + .interview-block {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 3rem;
}
/* ===== ERROR / 404 PAGE ===== */
.error-page {
  min-height: 55vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(233, 140, 133, 0.08) 0%, transparent 55%),
    #fafafa;
}
.error-page-inner {
  max-width: 560px;
  margin: 0 auto;
}
.error-page-code {
  font-family: var(--font-heading);
  font-size: clamp(4.5rem, 12vw, 7rem);
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
  opacity: 0.85;
  margin: 0 0 0.35rem;
  letter-spacing: 0.04em;
}
.error-page-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  color: var(--dark);
  margin-bottom: 1rem;
}
.error-page-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 42ch;
}
