/* ================================================
   THE SOCIAL TRIBE PARTY — Main Stylesheet
   Mobile-first · Poster-matched design system
   ================================================ */

/* --- CUSTOM PROPERTIES --- */
:root {
  /* Brand colours — extracted from poster */
  --teal:         #3BBFBA;
  --teal-dark:    #1A8A84;
  --orange:       #F47C1F;
  --orange-deep:  #C85A0A;
  --maroon:       #7B1C1C;
  --maroon-dark:  #3E0D0D;
  --yellow:       #F5E03A;
  --pink:         #E81A7A;
  --pink-light:   #F0A0C8;
  --cream:        #FBF2E3;
  --white:        #FFFFFF;
  --text-dark:    #2C1810;
  --text-mid:     #5C3A2A;

  /* Typography */
  --font-display: 'Lilita One', cursive;
  --font-script:  'Pacifico', cursive;
  --font-bold:    'Oswald', sans-serif;
  --font-body:    'Nunito', sans-serif;

  /* Spacing */
  --pad-section: clamp(4rem, 10vw, 7rem);
  --container:   1040px;
  --gutter:      1.25rem;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
  background: var(--maroon-dark);
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

/* --- CONTAINER --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ================================================
   BUTTONS
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.25rem;
  border-radius: 50px;
  font-family: var(--font-bold);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 3px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.btn:active { transform: translateY(-1px); }

.btn--pink {
  background: var(--pink);
  color: var(--white);
  border-color: var(--pink);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.8);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn--xl {
  padding: 1.1rem 3rem;
  font-size: 1.15rem;
}

/* ================================================
   SHARED SECTION ELEMENTS
   ================================================ */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.1;
  color: var(--maroon);
  margin-bottom: 0.75rem;
}

.section-title--white { color: var(--white); }

.section-intro {
  font-family: var(--font-bold);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 auto 3rem;
  max-width: 560px;
}

/* Wave dividers between sections */
.wave-bottom {
  position: absolute;
  bottom: -1px;
  left: -2%;
  width: 104%;
  height: clamp(40px, 6vw, 70px);
  border-radius: 50% 50% 0 0;
}

.wave-bottom--orange     { background: var(--orange); }
.wave-bottom--teal-dark  { background: var(--teal-dark); }
.wave-bottom--cream      { background: var(--cream); }
.wave-bottom--teal       { background: var(--teal); }
.wave-bottom--maroon     { background: var(--maroon); }

/* ================================================
   SCROLL ANIMATIONS
   ================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================
   1. HERO
   ================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(5rem, 12vw, 8rem) 0 clamp(6rem, 14vw, 10rem);
  overflow: hidden;
  text-align: center;
}

/* Sunburst: conic gradient masked to a circle, teal shows at corners */
.hero__sunburst {
  position: absolute;
  inset: 0;
  background: repeating-conic-gradient(
    var(--orange) 0deg 10deg,
    var(--orange-deep) 10deg 20deg
  );
  -webkit-mask: radial-gradient(circle at 50% 48%, black 38%, transparent 65%);
  mask: radial-gradient(circle at 50% 48%, black 38%, transparent 65%);
}

/* Vintage grain texture overlay */
.hero__grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: 0.055;
  pointer-events: none;
}


.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Eyebrow pill */
.eyebrow {
  display: inline-block;
  font-family: var(--font-bold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  background: var(--maroon);
  padding: 0.4rem 1.25rem;
  border-radius: 50px;
  margin-bottom: 1.75rem;
}

/* Title stack */
.hero__title {
  margin-bottom: 1rem;
}

.t-script {
  display: block;
  font-family: var(--font-script);
  font-size: clamp(2rem, 7vw, 3.5rem);
  color: var(--teal-dark);
  line-height: 1.1;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.15);
}

.hero__title .t-script:first-child { margin-bottom: -0.4rem; }
.hero__title .t-script:last-child  { margin-top: -0.5rem; }

.t-display {
  font-family: var(--font-display);
  font-size: clamp(4rem, 17vw, 9.5rem);
  color: var(--maroon);
  line-height: 0.88;
  text-shadow: 4px 4px 0 var(--orange-deep), 6px 6px 0 rgba(0,0,0,0.12);
  -webkit-text-stroke: 2px var(--orange-deep);
  letter-spacing: -0.01em;
}

/* Tagline */
.tagline {
  font-family: var(--font-bold);
  font-size: clamp(1rem, 3.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
  margin: 1.25rem 0 1.75rem;
}

/* Event detail row */
.hero__details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.75rem;
  margin-bottom: 1.75rem;
}

.hero__details span {
  font-family: var(--font-bold);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 600;
  color: var(--white);
  text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
}

/* Pricing chips */
.hero__pricing {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 2.25rem;
}

.price-wave {
  background: rgba(0, 0, 0, 0.28);
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  padding: 0.5rem 1rem;
  text-align: center;
  min-width: 100px;
  backdrop-filter: blur(6px);
}

.price-wave__label {
  display: block;
  font-family: var(--font-bold);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}

.price-wave__amount {
  display: block;
  font-family: var(--font-bold);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
}

@media (min-width: 768px) {
  .price-wave {
    padding: 0.85rem 1.75rem;
    min-width: 140px;
    border-radius: 14px;
  }
  .price-wave__label { font-size: 0.8rem; }
  .price-wave__amount { font-size: 1.35rem; }
}

/* CTA group */
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ================================================
   2. DESCRIPTION
   ================================================ */
.description {
  position: relative;
  background: var(--orange);
  padding: calc(var(--pad-section) * 1.1) 0 calc(var(--pad-section) * 1.3);
  overflow: hidden;
}

.description__text {
  font-family: var(--font-bold);
  font-size: clamp(1.05rem, 2.8vw, 1.45rem);
  font-weight: 400;
  line-height: 1.75;
  color: var(--white);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.15);
}

/* ================================================
   3. WHAT TO EXPECT
   ================================================ */
.expect {
  position: relative;
  background: var(--teal-dark);
  padding: calc(var(--pad-section) * 1.2) 0 calc(var(--pad-section) * 1.5);
  text-align: center;
  overflow: hidden;
}

.expect__body {
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.expect__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 3vw, 2rem);
}

.expect__grid--3 {
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .expect__grid--3 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 640px) {
  .expect__grid:not(.expect__grid--3) { grid-template-columns: repeat(4, 1fr); }
}

.expect__footer {
  margin-top: 2.5rem;
  font-family: var(--font-bold);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 600;
  font-style: italic;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.02em;
}

.expect__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.expect__card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
}

/* ── Starburst / burst shapes ── */
/* Clip-path goes on ::before so text is never clipped */
.burst {
  width: clamp(170px, 28vw, 220px);
  height: clamp(170px, 28vw, 220px);
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.burst::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--burst-bg, var(--pink));
  clip-path: polygon(
    50% 0%, 54% 35%, 65% 8%, 60% 42%,
    79% 21%, 65% 50%, 100% 50%, 65% 54%,
    79% 79%, 60% 58%, 65% 92%, 54% 65%,
    50% 100%, 46% 65%, 35% 92%, 40% 58%,
    21% 79%, 35% 54%, 0% 50%, 35% 46%,
    21% 21%, 40% 42%, 35% 8%, 46% 35%
  );
}

.burst--pink       { --burst-bg: var(--pink); }
.burst--pink-light { --burst-bg: var(--pink); }
.burst--teal       { --burst-bg: #0F5A6A; }
.burst--yellow     { --burst-bg: var(--yellow); }

.burst span {
  display: block;
  width: 56%;
  font-family: var(--font-bold);
  font-size: clamp(0.65rem, 1.5vw, 0.85rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
  color: var(--white);
  position: relative;
  z-index: 1;
  word-break: break-word;
}

.burst--yellow span     { color: var(--maroon); }
.burst--pink-light span { color: var(--white); }

/* ================================================
   4. WHO IT IS FOR
   ================================================ */
.who {
  position: relative;
  background: var(--cream);
  padding: calc(var(--pad-section) * 1.2) 0 calc(var(--pad-section) * 1.5);
  overflow: hidden;
}

.who .section-title { color: var(--maroon); }

.who__lead {
  font-family: var(--font-bold);
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
  font-weight: 600;
  color: var(--orange-deep);
  line-height: 1.45;
  margin-bottom: 1.25rem;
  max-width: 680px;
}

.who__body {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 1rem;
  max-width: 680px;
}

.who__list-label {
  font-family: var(--font-bold);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--maroon);
  margin: 1.75rem 0 0.9rem;
}

.who__list {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
  max-width: 620px;
}

.who__list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.97rem;
  color: var(--text-dark);
  line-height: 1.55;
}

.who__list li::before {
  content: '★';
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--pink);
  font-size: 0.82rem;
}

/* ================================================
   5. ABOUT
   ================================================ */
.about {
  position: relative;
  background: #7A2E00;
  padding: calc(var(--pad-section) * 1.2) 0 calc(var(--pad-section) * 1.5);
  overflow: hidden;
}

.about__body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.about__body p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.75;
}

/* ── Community tribes grid ── */
.about__tribes {
  max-width: 820px;
  margin: 2.5rem auto 0;
  position: relative;
  z-index: 1;
}

.about__tribes-heading {
  font-family: var(--font-bold);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.5rem;
}

.tribes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.tribe-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.tribe-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 8px;
}

.tribe-text h4 {
  font-family: var(--font-bold);
  font-size: 1rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.tribe-text p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

/* ================================================
   6. JOIN US
   ================================================ */
.join {
  position: relative;
  background: var(--teal);
  padding: calc(var(--pad-section) * 1.2) 0 calc(var(--pad-section) * 1.5);
  overflow: hidden;
  text-align: center;
}

.join__heading { margin-bottom: 1.25rem; }

.join__heading .section-title {
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: var(--maroon);
  margin-bottom: 0;
}

.join__script {
  font-family: var(--font-script);
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--white);
  line-height: 1.15;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.15);
}

.join__lead {
  font-size: 1rem;
  color: var(--maroon-dark);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.join__waves-label {
  font-family: var(--font-bold);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 1.25rem;
}

/* Ticket cards */
.tickets {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

@media (min-width: 560px) {
  .tickets { grid-template-columns: repeat(3, 1fr); }
  .ticket--featured { transform: scale(1.05); }
}

.ticket {
  background: var(--white);
  border: 3px solid var(--orange-deep);
  border-radius: 18px;
  padding: 1.75rem 1.25rem;
  position: relative;
}

.ticket--featured {
  background: var(--orange);
  border-color: var(--maroon);
}

.ticket__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pink);
  color: var(--white);
  font-family: var(--font-bold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.85rem;
  border-radius: 50px;
  white-space: nowrap;
}

.ticket h4 {
  font-family: var(--font-bold);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 0.5rem;
}

.ticket--featured h4 { color: var(--white); }

.ticket__price {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--orange-deep);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.ticket--featured .ticket__price { color: var(--white); }

.ticket p:last-of-type {
  font-size: 0.83rem;
  color: var(--text-mid);
  line-height: 1.45;
}

.ticket--featured p:last-of-type { color: rgba(255,255,255,0.82); }

/* Includes box */
.includes {
  background: var(--white);
  border-radius: 18px;
  padding: 1.75rem 2rem;
  max-width: 500px;
  margin: 0 auto 2.5rem;
  text-align: left;
}

.includes__title {
  font-family: var(--font-bold);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 1rem;
}

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

.includes__list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.92rem;
  color: var(--text-dark);
  line-height: 1.45;
}

.includes__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--pink);
  font-weight: 800;
  font-family: var(--font-bold);
}

.join__cta { display: flex; flex-direction: column; align-items: center; gap: 1rem; }

.urgency {
  font-family: var(--font-bold);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--maroon);
  opacity: 0.8;
}

/* ================================================
   7. SPONSORS
   ================================================ */
.sponsors {
  background: var(--maroon);
  padding: 3rem 0 3.5rem;
}

.sponsors__label {
  font-family: var(--font-bold);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  margin-bottom: 1.75rem;
}

/* Mobile: 2×2 grid */
.sponsors__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  justify-items: center;
  max-width: 640px;
  margin: 0 auto;
}

/* Desktop: single row of 4 */
@media (min-width: 700px) {
  .sponsors__row {
    grid-template-columns: repeat(4, 1fr);
    max-width: 900px;
  }
}

.sponsor-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
  background: var(--cream);
  border-radius: 12px;
  padding: 1rem 1.25rem;
}

.sponsor-item img {
  max-height: 52px;
  width: auto;
}

.sponsor-item span {
  font-family: var(--font-bold);
  font-size: 0.75rem;
  color: var(--text-dark);
  letter-spacing: 0.03em;
  line-height: 1.3;
}

/* ================================================
   8. FOOTER
   ================================================ */
.footer {
  background: var(--maroon-dark);
  padding: 2.5rem 0 2rem;
  text-align: center;
}

.footer__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.footer__meta {
  font-family: var(--font-bold);
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.footer__socials {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.footer__socials a {
  font-family: var(--font-bold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  transition: color 0.15s ease;
}

.footer__socials a:hover { color: rgba(255,255,255,0.9); }

.footer__copy {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.22);
}

/* ================================================
   RESPONSIVE ADJUSTMENTS
   ================================================ */
@media (min-width: 768px) {
  .who__list {
    grid-template-columns: 1fr 1fr;
  }

  /* What to Expect — cap burst size so 3 cols fit comfortably */
  .expect__grid--3 .burst {
    width: clamp(160px, 18vw, 200px);
    height: clamp(160px, 18vw, 200px);
  }

  /* Who It Is For — centre content, cap line length */
  .who .container {
    max-width: 820px;
  }
  .who__lead,
  .who__body,
  .who__list {
    max-width: 100%;
  }

  /* About — centre text block and title together */
  .about .section-title,
  .about__body {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 380px) {
  .hero__ctas { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; }
}
