/* ============================================
   April-Iman — Model & Influencer
   Clean, editorial, fashion-forward
   ============================================ */

:root {
  --bg: #f8f6f2;
  --bg-dark: #1a1917;
  --text: #1a1917;
  --text-muted: #5c5956;
  --accent: #8b7355;
  --accent-light: #c4a77d;
  --border: rgba(26, 25, 23, 0.12);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Outfit', -apple-system, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  min-width: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

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

a, button {
  -webkit-tap-highlight-color: rgba(139, 115, 85, 0.2);
  tap-highlight-color: rgba(139, 115, 85, 0.2);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}

ul {
  list-style: none;
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-left: max(1.5rem, env(safe-area-inset-left));
  padding-right: max(2rem, env(safe-area-inset-right));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  background: transparent;
  transition: background 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}

@media (max-width: 768px) {
  .nav {
    padding: 1rem max(1.25rem, env(safe-area-inset-right));
    padding-left: max(1.25rem, env(safe-area-inset-left));
  }
  .nav.scrolled {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
  .nav-logo {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .nav {
    padding-top: 0.875rem;
    padding-bottom: 0.875rem;
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
  .nav-logo {
    font-size: 1rem;
    max-width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.nav.scrolled {
  background: rgba(248, 246, 242, 0.92);
  backdrop-filter: blur(12px);
  padding: 0.75rem 2rem;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    border-left: 1px solid var(--border);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-toggle {
    display: flex;
    z-index: 101;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero {
    padding: 5rem 1.5rem 3rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 5rem 1rem 2.5rem;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--bg) 0%, #efece6 50%, #e8e4dc 100%);
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 10%;
  width: 40%;
  height: 60%;
  background: url('pictures/Snapseed(7).jpg') center/cover;
  opacity: 0.28;
  animation: float 12s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(1deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
}

.hero-label {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
  opacity: 0;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(3.5rem, 12vw, 8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  opacity: 0;
}

.hero-title span {
  display: block;
  font-style: italic;
  font-weight: 500;
}

.hero-tagline {
  font-size: 1rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2rem;
  opacity: 0;
}

.hero-description {
  font-size: 1.35rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 42ch;
  margin: 2rem auto 2.5rem;
  opacity: 0;
}

.hero-cta {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border: 1.5px solid var(--text);
  opacity: 0;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.hero-cta:hover {
  background: var(--text);
  color: var(--bg);
}

@media (max-width: 480px) {
  .hero-cta {
    min-height: 44px;
    padding: 0.875rem 1.5rem;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

.hero .animate-in {
  animation: fadeUp 0.8s var(--ease-out) forwards;
}

.hero .animate-in:nth-child(1) { animation-delay: 0.2s; }
.hero .animate-in:nth-child(2) { animation-delay: 0.4s; }
.hero .animate-in:nth-child(3) { animation-delay: 0.5s; }
.hero .animate-in:nth-child(4) { animation-delay: 0.6s; }
.hero .animate-in:nth-child(5) { animation-delay: 0.75s; }
.hero .animate-in:nth-child(6) { animation-delay: 0.9s; }
.hero .animate-in:nth-child(7) { animation-delay: 1.05s; }
.hero .animate-in:nth-child(8) { animation-delay: 1.2s; }
.hero .animate-in:nth-child(9) { animation-delay: 1.35s; }

.hero-donation {
  margin-top: 3rem;
  padding: 2rem 2.25rem;
  border: 2px solid var(--accent);
  background: rgba(139, 115, 85, 0.06);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 4px;
}

.hero-donation-text {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.hero-donation-text strong {
  color: var(--text);
  font-weight: 600;
}

.hero-donation-link {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  background: var(--accent);
  color: var(--bg);
  border: 2px solid var(--accent);
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
  cursor: pointer;
  font-family: inherit;
}

.hero-donation-link:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hero-donation-link:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

@media (max-width: 768px) {
  .hero-donation {
    margin-top: 2rem;
    padding: 1.5rem 1.25rem;
    max-width: 100%;
  }
  .hero-donation-text {
    font-size: 1rem;
  }
  .hero-donation-link {
    min-height: 44px;
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-donation {
    padding: 1.25rem 1rem;
  }
  .hero-donation-text {
    font-size: 0.95rem;
  }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ---- Sections ---- */
.section {
  padding: 6rem 0;
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 3rem 0;
  }
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
}

.section-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 2rem;
}

@media (max-width: 480px) {
  .section-title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    margin-bottom: 1.5rem;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---- About ---- */
.about {
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.about-image-wrap:hover .about-image {
  transform: scale(1.03);
}

.about-content .section-title {
  margin-bottom: 1.5rem;
}

.about-text {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  max-width: 480px;
}

.btn-outline {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 1.75rem;
  border: 1.5px solid var(--text);
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.btn-outline:hover {
  background: var(--text);
  color: var(--bg);
}

@media (max-width: 480px) {
  .btn-outline {
    min-height: 44px;
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-image-wrap {
    max-height: 70vh;
    aspect-ratio: 4/5;
  }
}

/* ---- Portfolio ---- */
.portfolio {
  background: #fff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.portfolio-item {
  aspect-ratio: 3/4;
  overflow: hidden;
}

.portfolio-image-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.portfolio-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg-dark);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.portfolio-item:hover .portfolio-image-wrap::after {
  opacity: 0.2;
}

.portfolio-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.portfolio-item:hover .portfolio-image-wrap img {
  transform: scale(1.08);
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* ---- Campaigns ---- */
.campaigns-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}

.campaign-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
}

.campaign-image-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.campaign-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.campaign-card:hover .campaign-image-wrap img {
  transform: scale(1.06);
}

.campaign-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 25, 23, 0.7) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.campaign-card:hover .campaign-overlay {
  opacity: 1;
}

.campaign-category {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 0.25rem;
}

.campaign-overlay h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  color: #fff;
}

@media (max-width: 900px) {
  .campaigns-slider {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .campaign-card {
    aspect-ratio: 16/10;
  }
}

/* ---- Media & Pageantry ---- */
.tv-pageant {
  background: #fff;
}

.tv-pageant-intro {
  max-width: 640px;
  margin-bottom: 2rem;
}

.tv-pageant-intro p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.tv-pageant-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .tv-pageant-features {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  border: 1px solid var(--border);
  background: var(--bg);
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.feature-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(26, 25, 23, 0.08);
}

.feature-card-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 120 / 178;
  overflow: hidden;
  background: var(--border);
}

.feature-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-card-youtube .feature-card-image-wrap img {
  transform: scale(1.25);
  object-position: center 72%;
}

.feature-card-fallback {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: var(--bg);
}

.feature-card-fallback.visible {
  display: flex;
}

.feature-card-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1.25rem;
}

.feature-card-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.feature-card-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text);
}

.feature-card-cta {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  margin-top: 0.15rem;
}

.feature-card:hover .feature-card-cta {
  color: var(--text);
}

.tv-pageant-honors {
  margin-bottom: 2.5rem;
}

.tv-pageant-honors-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.tv-pageant-honors-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
}

.tv-pageant-honors-list li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}

.tv-pageant-honors-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* ---- J-Club featured episodes ---- */
.jclub-episodes {
  margin-bottom: 2.5rem;
}

.jclub-episodes-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.jclub-episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .jclub-episodes-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 1000px) {
  .jclub-episodes-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.jclub-episode-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.jclub-episode-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(26, 25, 23, 0.08);
}

.jclub-episode-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--border);
}

.jclub-episode-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.jclub-episode-name {
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--text);
  padding: 0.5rem 0.6rem 0.15rem;
  line-height: 1.3;
}

.jclub-episode-cta {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  padding: 0 0.6rem 0.5rem;
}

.jclub-episode-card:hover .jclub-episode-cta {
  color: var(--text);
}

.tv-pageant-lookbook {
  margin-top: 1rem;
}


/* ---- Gallery ---- */
.gallery {
  background: var(--bg);
}

.gallery .portfolio-grid {
  margin-top: 1.5rem;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
}

.gallery-subtitle {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--text);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.gallery-subtitle:first-of-type {
  margin-top: 1.5rem;
}

.gallery .portfolio-item {
  aspect-ratio: 1;
  cursor: pointer;
}

/* Donation notice modal */
.donation-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-out), visibility 0.3s var(--ease-out);
}

.donation-modal.open {
  opacity: 1;
  visibility: visible;
}

.donation-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 25, 23, 0.5);
  cursor: pointer;
}

.donation-modal-inner {
  position: relative;
  z-index: 1;
  background: var(--bg);
  color: var(--text);
  max-width: 420px;
  width: 100%;
  padding: 2.5rem 2rem;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(26, 25, 23, 0.2);
  border: 1px solid var(--border);
  text-align: center;
}

.donation-modal-title {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.donation-modal-text {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.donation-modal-text strong {
  color: var(--text);
  font-weight: 600;
}

.donation-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease;
  border-radius: 4px;
}

.donation-modal-close:hover {
  color: var(--text);
}

.donation-modal-btn-close {
  display: inline-block;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  background: var(--accent);
  color: var(--bg);
  border: 2px solid var(--accent);
  cursor: pointer;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
  border-radius: 4px;
}

.donation-modal-btn-close:hover {
  background: var(--text);
  border-color: var(--text);
}

/* Gallery lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.lightbox-inner {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.lightbox-counter {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  z-index: 2;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  padding: 0.5rem 0.75rem;
  transition: background 0.2s ease;
  border-radius: 4px;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2.5rem;
  padding: 0.25rem 0.6rem;
}

.lightbox-prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 768px) {
  .lightbox-prev,
  .lightbox-next {
    padding: 0.4rem 0.5rem;
    font-size: 1.5rem;
    left: 0.5rem;
    right: 0.5rem;
  }
  .lightbox-close {
    top: 1rem;
    right: 1rem;
  }
}

@media (max-width: 768px) {
  .gallery .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
}

/* ---- Professional ---- */
.professional {
  background: var(--bg);
}

.professional-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.professional-photo-wrap {
  position: sticky;
  top: 6rem;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.professional-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  transition: transform 0.8s var(--ease-out);
}

.professional-photo-wrap:hover .professional-photo {
  transform: scale(1.02);
}

.linkedin-bio {
  margin-bottom: 2rem;
}

.linkedin-bio p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.work-elements + .work-elements {
  margin-top: 2rem;
}

.work-elements-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.work-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.work-list li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.work-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

@media (max-width: 900px) {
  .professional-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .professional-photo-wrap {
    position: relative;
    top: 0;
    max-height: 70vh;
  }
}

/* ---- Health and Wellness ---- */
.health-fitness {
  background: #fff;
}

.health-fitness-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.health-bio p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.cert-groups {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cert-group {
  margin-bottom: 0;
  padding: 1.5rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
}

.cert-group:last-child {
  margin-bottom: 0;
}

.cert-group-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.cert-group .cert-list {
  margin-top: 0;
}

.cert-program {
  margin-top: 0;
}

.cert-main {
  font-family: var(--sans);
  font-weight: 700;
  font-size: inherit;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.cert-components-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  margin-left: 1.25rem;
}

.cert-sublist {
  list-style: none;
  padding-left: 1.25rem;
  margin: 0 0 0.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cert-sublist li {
  position: relative;
  padding-left: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.cert-sublist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

.cert-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cert-list li {
  padding-left: 1.25rem;
  position: relative;
  color: var(--text);
  font-weight: 500;
}

.cert-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.health-image-wrap {
  position: sticky;
  top: 6rem;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 4px;
}

.health-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.2);
  transition: transform 0.6s var(--ease-out);
}

.health-image-wrap:hover img {
  transform: scale(1.26);
}

@media (max-width: 900px) {
  .health-fitness-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .health-image-wrap {
    position: relative;
    top: 0;
    max-height: 70vh;
  }
}

/* ---- Global Philanthropy ---- */
.philanthropy {
  background: var(--bg);
}

.philanthropy-intro-row {
  margin-bottom: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 900px) {
  .philanthropy-intro-row {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 3rem;
    align-items: start;
  }
  .philanthropy-intro-row .philanthropy-intro-col {
    order: 2;
  }
  .philanthropy-intro-row .philanthropy-image-wrap {
    order: 1;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    max-width: none;
  }
  .philanthropy-intro-row .philanthropy-intro {
    margin-bottom: 0;
  }
}

.philanthropy-image-wrap {
  margin-bottom: 2rem;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 3/4;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.philanthropy-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.philanthropy-intro {
  max-width: 640px;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.philanthropy-intro-row .philanthropy-intro {
  max-width: none;
}

.philanthropy-intro-col .philanthropy-intro + .philanthropy-intro {
  margin-top: 1.75rem;
}

.philanthropy-intro-col .hero-donation {
  margin-top: 1.5rem;
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
}

.philanthropy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  align-items: start;
}

.philanthropy-block {
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
}

.philanthropy-block-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.philanthropy-role {
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.philanthropy-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.philanthropy-list li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.philanthropy-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

@media (max-width: 900px) {
  .philanthropy-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .philanthropy-intro {
    margin-bottom: 1.5rem;
  }
  .philanthropy-block-title {
    font-size: 1.1rem;
  }
}

/* ---- My Book and Quora ---- */
.book-quora {
  background: #fff;
}

.book-block {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 4rem;
}

.book-cover-wrap {
  position: sticky;
  top: 6rem;
}

.book-cover-link {
  display: block;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(26, 25, 23, 0.12);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.book-cover-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(26, 25, 23, 0.18);
}

.book-cover {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
}

.book-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.book-description {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.book-description p {
  margin-bottom: 1rem;
}

.book-description p:last-of-type {
  margin-bottom: 0;
}

.book-description-list {
  margin: 1rem 0 1.25rem 1.25rem;
  padding: 0;
  list-style: none;
}

.book-description-list li {
  position: relative;
  padding-left: 0;
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

.book-description-list li::before {
  content: '';
  position: absolute;
  left: -1rem;
  top: 0.5em;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

.book-reviews {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 3rem;
  padding: 2.5rem 2rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.book-reviews-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 768px) {
  .book-reviews {
    padding: 2rem 1.5rem;
  }
  .book-reviews-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .book-reviews {
    padding: 1.5rem 1rem;
  }
}

.review {
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  margin: 0;
}

.review-stars {
  color: var(--accent-light);
  font-size: 1rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.review p {
  font-style: italic;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.review cite {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: normal;
}

.quora-block {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.quora-heading {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.quora-intro {
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 560px;
}

.quora-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.quora-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: var(--bg);
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.quora-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(26, 25, 23, 0.08);
}

.quora-question {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.35;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.quora-excerpt {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.55;
}

.quora-link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.quora-link:hover {
  color: var(--text);
}

@media (max-width: 900px) {
  .book-block {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .book-cover-wrap {
    position: relative;
    top: 0;
    max-width: 260px;
  }
  .quora-cards {
    grid-template-columns: 1fr;
  }
}

/* ---- Collaborations ---- */
.collaborations {
  background: var(--bg-dark);
  color: #f8f6f2;
}

.collaborations .section-label {
  color: var(--accent-light);
}

.collaborations .section-title {
  color: #fff;
}

.collaborations-intro {
  color: rgba(248, 246, 242, 0.7);
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.brand-item {
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(248, 246, 242, 0.2);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}

.brand-item:hover {
  border-color: var(--accent-light);
  background: rgba(196, 167, 125, 0.08);
}

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

/* ---- Contact ---- */
.contact {
  background: #fff;
  padding: 8rem 0;
}

.contact-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.contact-text {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.contact-form {
  text-align: left;
  margin-bottom: 2.5rem;
}

.contact-form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.contact-form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: border-color 0.3s var(--ease-out);
  -webkit-appearance: none;
  appearance: none;
}

.contact-form-input::placeholder {
  color: var(--text-muted);
  opacity: 0.8;
}

.contact-form-input:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form-textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form-submit {
  display: block;
  margin-top: 0.25rem;
  margin-left: auto;
  margin-right: auto;
  cursor: pointer;
  border: 1px solid var(--accent);
  background: transparent;
  font-family: var(--sans);
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
}

.contact-form-submit:hover {
  background: var(--accent);
  color: #fff;
}

.contact-email {
  display: inline-block;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 2rem;
  transition: color 0.3s var(--ease-out);
}

.contact-email:hover {
  color: var(--accent);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.social-links a {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.social-links a:hover {
  color: var(--accent);
}

@media (max-width: 768px) {
  .contact {
    padding: 5rem 0;
  }
  .contact-email {
    font-size: 1.25rem;
    word-break: break-all;
  }
  .social-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
  }
  .social-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.25rem;
  }
}

@media (max-width: 480px) {
  .contact-email {
    font-size: 1.1rem;
  }
}

/* ---- Footer ---- */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}
