/* Warm paper, charcoal, photography, and room to breathe. Scoped to the front page. */
.site-theme {
  --bg: #f2f0e9; --ink: #20221d; --muted: #68695f; --ring: #deded4;
  --accent: #686d45; --link_hover: #e6e4da;
  background: var(--bg); color: var(--ink); font-family: 'DM Sans', Arial, sans-serif;
  font-weight: 400; line-height: 1.65;
}
.site-theme main { overflow: clip; }
.site-theme h1, .site-theme h2, .site-theme h3 { font-weight: 500; letter-spacing: -.055em; line-height: 1.08; }
.site-theme h2 { font-size: clamp(2.25rem, 4.3vw, 3.65rem); }
.site-theme h3 { font-size: clamp(1.65rem, 2.8vw, 2.5rem); }
.site-theme p { text-wrap: pretty; }
.site-theme strong { font-weight: 700; }
.site-theme img { display: block; }
.site-theme a, .site-theme button, .site-theme summary { -webkit-tap-highlight-color: transparent; }
.site-theme :focus-visible { outline: 3px solid #85885f; outline-offset: 5px; }
.site-theme ::selection { background: #d8dbbf; color: #20221d; }
.site-theme [id] { scroll-margin-top: 90px; }
.home-container { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
.home-section { padding-block: clamp(80px, 9vw, 140px); }
.eyebrow { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 12px 24px; min-height: 48px; border: 1px solid transparent; border-radius: 999px; font-size: .92rem; font-weight: 500; line-height: 1.4; transition: background .2s, color .2s, transform .2s; text-decoration: none; }
.button:hover { transform: translateY(-2px); }
.button-dark { color: #fff; background: var(--ink); }
.button-dark:hover { background: #44483a; }
.button-light { color: #20221d; background: #fff; }
.button-light:hover { background: #ecebdc; }
.button-glass { background: #ffffff1c; border-color: #ffffff36; color: #fff; backdrop-filter: blur(12px); }
.button-glass:hover { background: #ffffff30; }
.button-outline { border-color: #bdbfb1; color: var(--ink); }
.button-outline:hover { background: #e7e6dc; }
.text-link { display: inline-flex; align-items: center; gap: 18px; font-size: .9rem; font-weight: 500; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer-partner-link { display: inline-flex; align-items: center; gap: 22px; padding: 10px 18px; border: 1px solid #b7bcaa; border-radius: 99px; font-size: .85rem; color: #20221d; transition: background .2s, transform .2s; }
.footer-partner-link:hover { background: #d9ddcb; transform: translateY(-2px); }
.skip-link { position: fixed; top: -100px; left: 16px; padding: 12px 20px; background: #fff; color: #20221d; z-index: 500; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* Retain the shared navigation and destinations, overlaid on the photograph. */
.site-theme #navbar-placeholder { position: absolute; top: 0; left: 0; width: 100%; z-index: 100; }
.site-theme .navbar { width: min(1240px, 100%); max-width: none; padding: 25px 40px; background: transparent; border: 0; font-family: inherit; }
.site-theme .navbar-brand img { filter: invert(1); height: 34px; width: auto; }
.site-theme .nav-menu { gap: 12px; }
.site-theme .nav-link { color: #fff; font-size: .85rem; font-weight: 400; }
.site-theme .nav-link:hover { background: #ffffff20; color: #fff; }
.site-theme .mobile-menu-toggle span { background: #fff; }
.site-theme .mobile-menu-toggle { min-height: 44px; min-width: 44px; justify-content: center; align-items: center; }
.site-theme .mobile-menu { top: 78px; background: #252b20; border-color: #48523d; box-shadow: 0 18px 45px #10150e40; }
.site-theme .mobile-nav-link { color: #f2f0e9; font-weight: 500; }
.site-theme .mobile-menu .mobile-nav-link:hover,
.site-theme .mobile-menu .mobile-nav-link[aria-current="page"] { color: #fff; background: #3b4531; }
.home-hero { position: relative; min-height: 780px; height: 94svh; max-height: 1100px; display: grid; align-items: end; justify-items: center; background: #25291e; padding: 150px 24px 90px; isolation: isolate; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; z-index: -2; }
.home-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #080d0870 0%, #11160e0d 35%, #10140ec9 80%, #151811 100%); z-index: -1; }
.hero-content { color: #fff; text-align: center; width: 100%; max-width: 1100px; }
.hero-badge { display: inline-block; padding: 6px 15px; border: 1px solid #ffffff3b; border-radius: 99px; background: #ffffff12; backdrop-filter: blur(12px); font-size: .75rem; margin-bottom: 26px; }
.site-theme .hero-content h1 { font-size: clamp(1.65rem, 8.8vw, 6rem); line-height: 1.04; letter-spacing: -.065em; margin-bottom: 26px; }
.hero-content h1 > span { display: block; white-space: nowrap; }
.hero-content p { color: #e1e1d9; font-size: clamp(.95rem, 1.4vw, 1.1rem); margin-bottom: 30px; line-height: 1.65; }
.hero-scroll { position: absolute; bottom: 25px; left: 0; width: 100%; text-align: center; color: #c6c9bb; font-size: .7rem; letter-spacing: .035em; }
.hero-scroll span { margin-left: 12px; }
.community-stats { background: #151811; color: #fff; padding: 48px 0 64px; }
.community-stats dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.community-stats dt { font-size: clamp(1.5rem, 3vw, 2.6rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.25; }
.community-stats dd { font-size: .8rem; color: #b7bbac; margin-top: 9px; }
.section-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; align-items: start; }
.section-intro h2 { margin-bottom: 30px; }
.intro-copy { color: #54584e; padding-top: 4px; }
.intro-copy p + p { margin-top: 22px; }
.intro-copy p a, .faq-section p a, .events-status a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.intro-copy > .text-link { margin-top: 24px; color: var(--ink); }
.community-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 64px; align-items: start; }
.community-photos img { width: 100%; object-fit: cover; border-radius: 20px; height: 290px; }
.community-photos img:nth-child(2) { height: 360px; margin-top: 38px; }
.community-photos img:nth-child(3) { height: 430px; }
.section-heading { text-align: center; margin-bottom: 64px; }
.section-heading p { color: var(--muted); margin-top: 20px; font-size: .95rem; }
.site-theme #event-cards { padding-block: 50px 120px; background: var(--bg); }
.site-theme #cardsContainer { display: grid; gap: 40px; }
.run-card { display: grid; grid-template-columns: .95fr 1.05fr; min-height: 460px; background: #fff; border: 1px solid #e3e2d9; border-radius: 28px; padding: 14px; position: relative; }
.run-card:nth-child(even) { grid-template-columns: 1.05fr .95fr; }
.run-card:nth-child(even) .run-photo { order: 2; }
.run-photo { border-radius: 17px; overflow: hidden; min-height: 420px; position: relative; background: #dddccd; }
.run-photo img { position: absolute; top: -12%; width: 100%; height: 124%; object-fit: cover; transform: translate3d(0, var(--photo-offset, 0px), 0); }
.run-copy { padding: 36px 40px; align-self: center; min-width: 0; }
.run-date { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: .82rem; margin-bottom: 22px; }
.run-number { color: #9a9c8f; font-size: .75rem; }
.run-copy .eyebrow { font-size: .65rem; margin-bottom: 10px; }
.run-copy h3 { margin-bottom: 18px; overflow-wrap: anywhere; }
.run-description { font-size: .9rem; color: #62665b; white-space: pre-line; overflow-wrap: anywhere; }
.run-details { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: 26px; font-size: .78rem; }
.run-details dt { color: #76796e; margin-bottom: 5px; font-size: .7rem; }
.run-details dd { font-weight: 500; overflow-wrap: anywhere; }
.run-action { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 22px; margin-top: 24px; border-top: 1px solid #ecece5; }
.run-action > span { font-size: .75rem; color: #73776b; }
.run-action .text-link { font-size: .8rem; }
.section-action { margin-top: 48px; text-align: center; }
.events-status { text-align: center; color: var(--muted); padding: 50px 20px; border: 1px solid var(--ring); border-radius: 20px; }

/* The heading stays in view as staggered portrait cards scroll past. */
.leaders-section { position: relative; padding-block: 30px 100px; }
.leaders-heading { position: sticky; top: calc(50svh - 75px); text-align: center; z-index: 0; margin-bottom: 80px; opacity: var(--leaders-heading-opacity, 1); }
.leaders-heading h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.leaders-heading p { color: var(--muted); font-size: .9rem; margin-top: 15px; }
.leaders-cards { display: grid; grid-template-columns: repeat(12, 1fr); position: relative; z-index: 1; pointer-events: none; }
.leader-card { background: #fff; border: 1px solid #e8e7e0; border-radius: 24px; padding: 12px; width: 100%; box-shadow: 0 4px 12px #20221d08; pointer-events: auto; transform: translate3d(0, var(--leader-offset, 0px), 0) rotate(var(--tilt)); align-self: start; }
.leader-card > img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 15px; }
.leader-copy { padding: 19px 10px 10px; }
.leader-copy .eyebrow { font-size: .6rem; color: #6a7051; margin-bottom: 7px; }
.site-theme .leader-copy h3 { display: flex; align-items: center; gap: 8px; font-size: 1.4rem; letter-spacing: -.04em; }
.leader-flag { display: inline-block; width: 24px; height: 15px; flex-shrink: 0; border-radius: 2px; box-shadow: 0 0 0 1px #20221d12; }
.leader-group { display: inline-flex; align-items: center; margin-top: 11px; padding: 4px 10px; border-radius: 999px; font-size: .58rem; font-weight: 700; line-height: 1.5; letter-spacing: .085em; }
.leader-group-discovery { background: #e6ebdd; color: #4e5d3d; }
.leader-group-advanced { background: #eee5d7; color: #705b3e; }
.leader-group-snail { background: #ece6f1; color: #685573; }
.leader-copy p { font-size: .78rem; color: #696c61; line-height: 1.6; margin-top: 12px; }
.leader-socials { display: flex; gap: 15px; list-style: none; margin-top: 15px; color: #606746; }
.leader-socials a { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; }
.leader-socials a:hover { color: #20221d; }
.leader-card-1 { grid-column: 1 / 4; grid-row: 1; --tilt: -4deg; margin-top: 80px; }
.leader-card-2 { grid-column: 10 / 13; grid-row: 1; --tilt: 5deg; margin-top: 380px; }
.leader-card-3 { grid-column: 2 / 5; grid-row: 2; --tilt: 3deg; margin-top: 30px; }
.leader-card-4 { grid-column: 9 / 12; grid-row: 3; --tilt: -5deg; margin-top: -40px; }
.leader-card-5 { grid-column: 2 / 5; grid-row: 4; --tilt: -3deg; margin-top: -60px; }
.leader-card-6 { grid-column: 9 / 12; grid-row: 4; --tilt: 4deg; margin-top: 220px; }
.leader-initials { display: grid; place-items: center; width: 100%; aspect-ratio: 1; border-radius: 15px; font-size: clamp(4rem, 8vw, 7rem); font-weight: 500; letter-spacing: -.06em; }
.leader-initials-nina { background: #e2e7d3; color: #626c47; }
.leader-initials-evan { background: #e8dfd0; color: #79684b; }
.whatsapp-float { position: fixed; right: 24px; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 120; display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 12px 22px; border: 1px solid #67724c; border-radius: 999px; background: #3d492e; color: #fff; box-shadow: 0 8px 24px #151c1538; font-size: .88rem; font-weight: 500; transition: transform .2s ease, background .2s ease; }
.whatsapp-float .fa-whatsapp { font-size: 1.4rem; }
.whatsapp-float:hover { background: #4f5d3d; transform: translateY(-3px); }
.home #footer-placeholder > footer { padding-bottom: 110px; }
.gallery-section { background: #e8e8dc; }
.home-gallery { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 20px; }
.home-gallery img { width: 100%; height: 300px; object-fit: cover; border-radius: 20px; }
.home-gallery img:nth-child(2) { height: 430px; }
.faq-section { background: #fff; }
.faq-container { width: min(740px, calc(100% - 48px)); margin-inline: auto; }
.faq-section .section-heading { margin-bottom: 42px; }
.faq-section details { border-bottom: 1px solid #ddded5; }
.faq-section summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 25px 0; list-style: none; cursor: pointer; font-weight: 500; font-size: 1.05rem; line-height: 1.4; letter-spacing: -.025em; }
.faq-section summary::-webkit-details-marker { display: none; }
.faq-section summary::after { content: '+'; display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; background: #f2f2ed; border-radius: 9px; font-size: 1.3rem; font-weight: 400; }
.faq-section details[open] summary::after { content: '−'; }
.faq-section details p { padding: 0 48px 26px 0; color: #666a5e; font-size: .95rem; }
.join-section { padding-block: 100px; text-align: center; }
.join-section h2 { margin-bottom: 24px; }
.join-section p { color: var(--muted); margin-bottom: 28px; }
.site-theme #footer-placeholder > footer { background: #e8e8dc; padding-bottom: 48px; }
.site-theme #footer-placeholder :is(.text-pink-500, .text-gray-900, .dark\:text-white) { color: #20221d; }
.site-theme #footer-placeholder :is(.text-gray-500, .text-gray-400) { color: #62665b; }
.site-theme #footer-placeholder .bg-pink-500 { background: #20221d; }
.site-theme #whatsappSecurityModal { z-index: 300; }
.site-theme #whatsappSecurityModal [role=dialog] { background: #fff; color: #20221d; border-radius: 24px; }
.site-theme #whatsappSecurityModal input { background: #fff; color: #20221d; }

@media (max-width: 1000px) {
  .home-container { width: calc(100% - 56px); }
  .site-theme .navbar { padding-inline: 28px; }
  .site-theme .nav-menu { gap: 0; }
  .site-theme .nav-link { font-size: .75rem; padding-inline: 9px; }
  .run-copy { padding: 26px; }
  .leader-card-1, .leader-card-3 { grid-column: 1 / 5; }
  .leader-card-2, .leader-card-4, .leader-card-6 { grid-column: 9 / 13; }
  .leader-card-5 { grid-column: 2 / 6; }
}
@media (max-width: 767px) {
  .home-container { width: calc(100% - 40px); }
  .site-theme .navbar { padding: 20px; }
  .site-theme .nav-menu { display: none; }
  .site-theme .mobile-menu-toggle { display: flex; }
  .home-hero { min-height: 680px; height: 90svh; padding-bottom: 95px; }
  .hero-image { object-position: 47% center; }
  .community-stats { padding-block: 35px 45px; }
  .community-stats dl { grid-template-columns: 1fr 1fr; row-gap: 35px; }
  .community-stats dt { font-size: 1.8rem; }
  .community-stats dd { font-size: .72rem; }
  .section-intro { grid-template-columns: 1fr; gap: 36px; }
  .community-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
  .community-photos img { height: auto; aspect-ratio: 3 / 4; border-radius: 14px; }
  .community-photos img:first-child { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
  .community-photos img:nth-child(2), .community-photos img:nth-child(3) { height: auto; margin-top: 0; }
  .section-heading { margin-bottom: 38px; }
  .site-theme #event-cards { padding-block: 10px 70px; }
  .site-theme #cardsContainer { gap: 24px; }
  .run-card, .run-card:nth-child(even) { grid-template-columns: 1fr; padding: 10px; border-radius: 24px; }
  .run-card:nth-child(even) .run-photo { order: 0; }
  .run-photo { min-height: 0; height: 270px; }
  .run-copy { padding: 26px 16px 20px; }
  .run-date { font-size: .75rem; }
  .leaders-section { padding-bottom: 65px; }
  .leaders-heading { position: relative; top: auto; margin-bottom: 45px; }
  .leaders-cards { grid-template-columns: 1fr 1fr; gap: 40px 20px; padding: 5px; }
  .leader-card { grid-column: auto; grid-row: auto; margin: 0; border-radius: 18px; padding: 8px; }
  .leader-card:nth-child(even) { margin-top: 60px; }
  .whatsapp-float { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); padding: 12px 18px; font-size: .82rem; }
  .leader-copy { padding: 15px 6px 8px; }
  .site-theme .leader-copy h3 { font-size: 1.2rem; }
  .leader-copy p { font-size: .73rem; }
  .home-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .home-gallery img, .home-gallery img:nth-child(2) { height: auto; aspect-ratio: 3 / 4; border-radius: 14px; }
  .home-gallery img:last-child { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
  .faq-section summary { font-size: .98rem; padding-block: 22px; }
  .faq-section details p { padding-right: 0; }
  .join-section { padding-block: 75px; }
}
@media (max-width: 420px) {
  .leaders-cards { grid-template-columns: 1fr; gap: 35px; padding-inline: 28px; }
  .leader-card:nth-child(even) { margin-top: 0; }
  .leader-copy p { font-size: .82rem; }
  .leader-card > img, .leader-initials { aspect-ratio: 1.1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-theme *, .site-theme *::before, .site-theme *::after { animation: none !important; transition: none !important; }
  .run-photo img { transform: none; }
  .leader-card { transform: rotate(var(--tilt)); }
  .leaders-heading { position: relative; top: auto; }
}

.site-theme .mobile-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-theme .mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
