/* ============================================================
   about-page.css — About page sections. Clean, minimal;
   matches the MAP aesthetic. Uses tokens from global.css.
   ============================================================ */

/* Reusable eyebrow label */
.section-eyebrow {
  font-family: var(--font-nav, "Inter", sans-serif);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f0b429;            /* gold accent */
  margin: 0 0 1.25rem;
}

/* ---- Page hero (navbar overlays this) ---- */
.page-hero {
  position: relative;
  min-height: 66vh;
  display: flex;
  align-items: flex-end;
  color: #ffffff;
  overflow: hidden;
  background:
    radial-gradient(80% 70% at 15% 0%, rgba(240, 180, 41, 0.10), transparent 60%),
    linear-gradient(180deg, #161616 0%, #0a0a0a 100%);
}
.page-hero__inner {
  width: 100%;
  max-width: var(--page-max-width, 72rem);
  margin: 0 auto;
  padding: 10rem var(--page-gutter, 1.5rem) clamp(3rem, 7vh, 5rem);
}
.page-hero__title {
  margin: 0;
  font-family: var(--font-groove, "Groovezilla", sans-serif);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.95;
  color: #ffffff;
  font-size: clamp(3rem, 9vw, 110px);
}
.page-hero__sub {
  margin: 1.5rem 0 0;
  max-width: 52ch;
  font-family: var(--font-body, "Inter", sans-serif);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================================
   OUR STORY — white section
   ============================================================ */
.story {
  background: #ffffff;
  color: #141414;
}
.story__inner {
  max-width: var(--page-max-width, 72rem);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) var(--page-gutter, 1.5rem);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem 4rem;
  align-items: start;
}
.story__title {
  margin: 0;
  font-family: var(--font-groove, "Groovezilla", sans-serif);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--color-heading, #141414);
  font-size: clamp(3rem, 9vw, 90px);
}
.story__body p {
  margin: 0 0 1.25rem;
  font-family: var(--font-body, "Inter", sans-serif);
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.66);
}
.story__body p:last-of-type { margin-bottom: 2rem; }

/* Download pitch deck button (dark, on the white section) */
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-nav, "Inter", sans-serif);
  font-size: 0.95rem;
  color: #ffffff;
  background: #0d0d0d;
  border-radius: 999px;
  padding: 0.85rem 1.5rem;
  transition: transform 0.1s ease, opacity 0.2s ease;
}
.download-btn:hover { opacity: 0.85; }
.download-btn:active { transform: scale(0.97); }
.download-btn svg { display: block; }

/* ============================================================
   THE WHY — two images left, explanation right
   ============================================================ */
.why {
  background: var(--color-bg, #0d0d0d);
  color: #ffffff;
}
.why__inner {
  max-width: var(--page-max-width, 72rem);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) var(--page-gutter, 1.5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 4rem;
  align-items: center;
}
.why__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.why__img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  background: #1a1a1a;
}
.why__img:nth-child(2) { margin-top: 2.5rem; } /* staggered */
.why__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-groove, "Groovezilla", sans-serif);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3rem);
}
.why__text {
  margin: 0 0 1rem;
  font-family: var(--font-body, "Inter", sans-serif);
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}
.why__list {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  font-family: var(--font-body, "Inter", sans-serif);
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}
.why__list li { margin: 0.35rem 0; }

/* ============================================================
   CULTURAL TOURISM + COMMUNITY ENGAGEMENT
   ============================================================ */
.tourism,
.community {
  background: #ffffff;
  color: #141414;
}
.community { border-top: 1px solid rgba(0, 0, 0, 0.08); }
.tourism__inner,
.community__inner {
  max-width: var(--page-max-width, 72rem);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) var(--page-gutter, 1.5rem);
}
.tourism__head,
.community__head {
  max-width: 50rem;
  margin-bottom: 2rem;
}
.tourism__title,
.community__title {
  margin: 0;
  font-family: var(--font-groove, "Groovezilla", sans-serif);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1;
  color: var(--color-heading, #141414);
  font-size: clamp(2rem, 4vw, 3rem);
}
.tourism__body,
.community__body {
  columns: 2;
  column-gap: 3rem;
}
.tourism__body p,
.community__body p,
.tourism__closing {
  margin: 0 0 1.15rem;
  font-family: var(--font-body, "Inter", sans-serif);
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.66);
}
.tourism__opportunities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 2rem 0;
}
.tourism__card,
.community__pillars span {
  display: block;
  border-radius: 8px;
  background: #f4f4f5;
  padding: 1rem;
  font-family: var(--font-nav, "Inter", sans-serif);
  font-size: 0.9rem;
  font-weight: 600;
  color: #141414;
}
.community__pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* ============================================================
   WHO — team carousel + "view full team"
   ============================================================ */
.team {
  background: var(--color-bg, #0d0d0d);
  color: #ffffff;
}
.team__head {
  max-width: var(--page-max-width, 72rem);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 5rem) var(--page-gutter, 1.5rem) 2rem;
}
.team__title {
  margin: 0;
  font-family: var(--font-groove, "Groovezilla", sans-serif);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3rem);
}

.team__carousel {
  max-width: var(--page-max-width, 72rem);
  margin: 0 auto;
  padding: 0 var(--page-gutter, 1.5rem);
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}
.team__carousel::-webkit-scrollbar { display: none; }
.team__carousel.is-dragging { cursor: grabbing; }
.team__carousel.is-dragging .team__card { pointer-events: none; }

.team__card {
  flex: 0 0 clamp(180px, 22%, 240px);
  scroll-snap-align: start;
}
.team__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  background: #1a1a1a;
  user-select: none;
  -webkit-user-drag: none;
}
.team__name {
  margin-top: 0.85rem;
  font-family: var(--font-nav, "Inter", sans-serif);
  font-weight: 600;
  font-size: 1rem;
}
.team__role {
  margin-top: 0.15rem;
  font-family: var(--font-body, "Inter", sans-serif);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.team__more {
  max-width: var(--page-max-width, 72rem);
  margin: 0 auto;
  padding: 1.75rem var(--page-gutter, 1.5rem) 0;
  text-align: center;
}

/* Outline pill button (dark sections) */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-nav, "Inter", sans-serif);
  font-size: 0.95rem;
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  transition: background 0.2s ease;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); }
.btn-outline svg { display: block; }

/* ============================================================
   WHEN — festival timeline table
   ============================================================ */
.schedule {
  background: var(--color-bg, #0d0d0d);
  color: #ffffff;
}
.schedule__inner {
  max-width: var(--page-max-width, 72rem);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) var(--page-gutter, 1.5rem);
}
.schedule__title {
  margin: 0 0 1rem;
  font-family: var(--font-groove, "Groovezilla", sans-serif);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3rem);
}
.schedule__intro {
  margin: 0 0 2.5rem;
  max-width: 62ch;
  font-family: var(--font-body, "Inter", sans-serif);
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}
.schedule__scroll { overflow-x: auto; }
.schedule__table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}
.schedule__table th,
.schedule__table td {
  text-align: left;
  vertical-align: top;
  padding: 1.15rem 1.5rem 1.15rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.schedule__table thead th {
  font-family: var(--font-nav, "Inter", sans-serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}
.schedule__table tbody td {
  font-family: var(--font-body, "Inter", sans-serif);
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}
.schedule__table td.schedule__date {
  white-space: nowrap;
  color: #ffffff;
  font-weight: 600;
}
.schedule__table td.schedule__program {
  color: #ffffff;
  font-family: var(--font-nav, "Inter", sans-serif);
  font-weight: 600;
}

/* ============================================================
   WHERE — location block with a stylized map
   ============================================================ */
.where {
  background: var(--color-bg, #0d0d0d);
  color: #ffffff;
}
.where__inner {
  max-width: var(--page-max-width, 72rem);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) var(--page-gutter, 1.5rem);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem 4rem;
  align-items: center;
}
.where__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-groove, "Groovezilla", sans-serif);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1;
  color: #ffffff;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
}
.where__text {
  margin: 0 0 1.75rem;
  max-width: 46ch;
  font-family: var(--font-body, "Inter", sans-serif);
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}
.where__zones {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.where__zones li {
  position: relative;
  padding-left: 1.5rem;
  font-family: var(--font-body, "Inter", sans-serif);
  color: rgba(255, 255, 255, 0.85);
}
.where__zones li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f0b429;
}
.where__map-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ============================================================
   HOW — the process, as numbered steps
   ============================================================ */
.how {
  background: #ffffff;
  color: #141414;
}
.how__inner {
  max-width: var(--page-max-width, 72rem);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) var(--page-gutter, 1.5rem);
}
.how__title {
  margin: 0 0 1rem;
  font-family: var(--font-groove, "Groovezilla", sans-serif);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1;
  color: var(--color-heading, #141414);
  font-size: clamp(2rem, 4vw, 3rem);
}
.how__intro {
  margin: 0 0 3rem;
  max-width: 62ch;
  font-family: var(--font-body, "Inter", sans-serif);
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.66);
}
.how__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem 2rem;
}
.how__step {
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  padding-top: 1.5rem;
}
.how__num {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-groove, "Groovezilla", sans-serif);
  font-weight: 400;
  line-height: 1;
  color: #f0b429;
  font-size: clamp(2rem, 3vw, 2.75rem);
}
.how__step-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-nav, "Inter", sans-serif);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--color-heading, #141414);
}
.how__step-text {
  margin: 0;
  font-family: var(--font-body, "Inter", sans-serif);
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.6);
}
/* Keep breathing room before the marquee below */
.how--flush .how__inner { padding-bottom: clamp(3.5rem, 7vw, 5rem); }

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .how__steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .story__inner { grid-template-columns: 1fr; }
  .why__inner { grid-template-columns: 1fr; }
  .where__inner { grid-template-columns: 1fr; }
  .tourism__body,
  .community__body { columns: 1; }
  .tourism__opportunities { grid-template-columns: repeat(2, 1fr); }
  .page-hero__inner { padding-top: 8rem; }
  .team__card { flex-basis: 62%; }
  .how__steps { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .tourism__opportunities { grid-template-columns: 1fr; }
}
