/* ============================================================
   SWAP DON'T SHOP — Design System
   ============================================================ */
:root {
  --pink:        #F06FA1;
  --pink-light:  #FDE8F2;
  --pink-dark:   #C54A80;
  --cream:       #FFF9F5;
  --dark:        #1C1C1E;
  --mid:         #6B6869;
  --border:      #EDE8E5;
  --white:       #FFFFFF;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-full: 999px;

  --shadow-sm:   0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.14);

  --ease: 0.2s ease;
  --max-w: 1200px;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.625rem;
}

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-top: 0.5rem; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; }
h1 { font-size: clamp(2.75rem, 5.5vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; font-weight: 700; }
p  { line-height: 1.75; }
em { font-style: italic; color: var(--pink); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.875rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  border: 2px solid transparent;
  transition: all var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn--sm { padding: 0.625rem 1.375rem; font-size: 0.875rem; }

.btn--primary { background: var(--pink); color: var(--white); border-color: var(--pink); }
.btn--primary:hover {
  background: var(--pink-dark); border-color: var(--pink-dark);
  transform: translateY(-2px); box-shadow: 0 6px 20px rgba(240,111,161,0.40);
}

.btn--ghost { background: transparent; color: var(--dark); border-color: var(--dark); }
.btn--ghost:hover { background: var(--dark); color: var(--white); }

.btn--outline { background: transparent; color: var(--pink); border-color: var(--pink); }
.btn--outline:hover { background: var(--pink-light); }

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

.btn--white-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn--white-ghost:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.125rem 0;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}
.nav--scrolled {
  background: rgba(255,249,245,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
  padding: 0.625rem 0;
}

.nav__container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__logo img { height: 50px; width: auto; transition: height var(--ease); }
.nav--scrolled .nav__logo img { height: 40px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--white);
  transition: color var(--ease);
}
.nav__links a:hover { color: rgba(255,255,255,0.65); }

/* Once nav has a light background, switch links to dark */
.nav--scrolled .nav__links a { color: var(--dark); }
.nav--scrolled .nav__links a:hover { color: var(--pink); }

.nav__cta {
  background: var(--pink) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.375rem !important;
  border-radius: var(--radius-full) !important;
  font-weight: 500 !important;
}
.nav__cta:hover {
  background: var(--pink-dark) !important;
  box-shadow: 0 4px 16px rgba(240,111,161,0.35) !important;
  transform: translateY(-1px);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none;
  cursor: pointer; padding: 4px;
}
.nav__toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all 0.3s ease;
}
.nav--scrolled .nav__toggle span { background: var(--dark); }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 100vh;
  background: #3F5762;
  position: relative;
  overflow: hidden;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 4rem 6rem 6rem;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.75rem;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 2.25rem; height: 2px;
  background: rgba(255,255,255,0.4);
  flex-shrink: 0;
}

.hero__headline {
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero__body {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.72);
  max-width: 460px;
  margin-bottom: 2.5rem;
}
.hero__body strong { color: var(--white); font-weight: 500; }

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Ghost button inverted for dark hero background */
.hero .btn--ghost {
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.hero .btn--ghost:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: var(--white);
}

.hero__media {
  position: relative;
  overflow: hidden;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero__media-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #f9c5db 0%, #F06FA1 60%, #C54A80 100%);
  display: flex;
  align-items: flex-end;
  padding: 3rem;
}
.hero__media-placeholder span {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-style: italic;
  color: rgba(255,255,255,0.8);
}

.hero__decor {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  pointer-events: none;
  z-index: 2;
  line-height: 0;
}
.hero__decor svg { width: 100%; display: block; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.stats__item { padding: 0.5rem 1rem; }
.stats__number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--pink);
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}
.stats__label {
  font-size: 0.9375rem;
  color: var(--mid);
  line-height: 1.4;
  max-width: 200px;
  margin: 0 auto;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 7rem 0;
  background: var(--cream);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about__img-wrap {
  position: relative;
}
.about__img-wrap img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.about__img-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--pink-light) 0%, #f9c5db 100%);
}
.about__badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--pink);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.about__text { }
.about__text h2 { margin-bottom: 1.5rem; }
.about__text > p {
  color: var(--mid);
  font-size: 1.0625rem;
  margin-bottom: 1.25rem;
}
.about__text h3 {
  font-size: 1.375rem;
  margin: 2.5rem 0 1.25rem;
}

.steps { display: flex; flex-direction: column; gap: 1.375rem; }
.steps li {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.step-num {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 900;
  color: var(--pink);
  line-height: 1;
  min-width: 2.5rem;
  padding-top: 0.125rem;
}
.step-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 0.25rem;
}
.step-text p {
  font-size: 0.9375rem;
  color: var(--mid);
  line-height: 1.6;
}

/* ============================================================
   EVENTS
   ============================================================ */
.events {
  padding: 7rem 0;
  background: var(--white);
}
.events__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.event-card {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  padding: 2rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #f9c5db;
}
.event-card--mailing {
  background: var(--pink-light);
  border-color: var(--pink-light);
  text-align: center;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.event-card__badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--pink);
  color: var(--white);
  padding: 0.625rem 0.875rem;
  border-radius: var(--radius-sm);
  line-height: 1;
  width: fit-content;
}
.event-card__month {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.25rem;
}
.event-card__day {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
}

.event-card h3 { margin-bottom: 0.25rem; }
.event-card__loc {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--pink);
  margin-bottom: 0.5rem;
}
.event-card p:not(.event-card__loc) {
  font-size: 0.9375rem;
  color: var(--mid);
  flex: 1;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 7rem 0;
  background: var(--cream);
}
.faq .container { max-width: 760px; }
.faq__list { border-top: 1px solid var(--border); }

.faq__item { border-bottom: 1px solid var(--border); }
.faq__item summary {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  padding: 1.375rem 2.75rem 1.375rem 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
}
.faq__item summary::after {
  content: '+';
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 1.625rem;
  font-weight: 300;
  color: var(--pink);
  line-height: 1;
  transition: transform 0.25s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); }

.faq__item p {
  padding: 0 0 1.625rem;
  font-size: 0.9375rem;
  color: var(--mid);
  max-width: 600px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: 7rem 0;
  background: var(--white);
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.testimonial {
  padding: 2rem 2rem 2rem 2.25rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-left: 4px solid var(--pink);
  border-radius: var(--radius-md);
}
.testimonial q {
  display: block;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--dark);
  margin-bottom: 1.25rem;
  quotes: none;
}
.testimonial q::before { content: '"'; }
.testimonial q::after  { content: '"'; }
.testimonial cite {
  font-size: 0.875rem;
  color: var(--mid);
  font-style: normal;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  padding: 7rem 0;
  background: var(--cream);
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 1rem;
}
.gallery__cell {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}
.gallery__cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery__cell:hover img { transform: scale(1.06); }
.gallery__cell--tall  { grid-row: span 2; }
.gallery__cell--wide  { grid-column: span 2; }

/* Placeholder cells (shown when no image) */
.gallery__ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.gallery__ph--1 { background: linear-gradient(135deg, #fde8f2 0%, #f9c5db 100%); }
.gallery__ph--2 { background: linear-gradient(135deg, #f9c5db 0%, #F06FA1 100%); }
.gallery__ph--3 { background: linear-gradient(135deg, #F06FA1 0%, #C54A80 100%); }
.gallery__ph--4 { background: linear-gradient(135deg, #fff9f5 0%, #fde8f2 100%); }
.gallery__ph--5 { background: linear-gradient(135deg, #C54A80 0%, #8B2257 100%); }
.gallery__ph--6 { background: linear-gradient(135deg, #fde8f2 0%, #F06FA1 100%); }
.gallery__ph--7 { background: linear-gradient(135deg, #f9c5db 0%, #C54A80 100%); }
.gallery__ph--8 { background: linear-gradient(135deg, #F06FA1 0%, #fde8f2 100%); }
.gallery__ph svg {
  width: 48px; height: 48px;
  color: rgba(255,255,255,0.35);
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--pink) 0%, #C54A80 100%);
  text-align: center;
}
.cta-band h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}
.cta-band p {
  color: rgba(255,255,255,0.88);
  font-size: 1.125rem;
  margin-bottom: 2.25rem;
}
.cta-band__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.65);
  padding: 5rem 0 2.5rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer__brand img {
  height: 64px;
  margin-bottom: 1.25rem;
}
.footer__brand p { font-size: 0.9375rem; line-height: 1.75; margin-bottom: 1.5rem; }

.footer__insta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--pink);
  font-weight: 500;
  transition: color var(--ease);
}
.footer__insta:hover { color: #f9a8c9; }
.footer__insta svg { width: 16px; height: 16px; flex-shrink: 0; }

.footer h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer__nav-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer__nav-list a { font-size: 0.9375rem; transition: color var(--ease); }
.footer__nav-list a:hover { color: var(--white); }

.footer__contact-col p { font-size: 0.9375rem; line-height: 1.75; margin-bottom: 1.25rem; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.75rem;
  text-align: center;
  font-size: 0.8125rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero__content { padding: 8rem 3rem 5rem 3rem; }
  .about__grid { gap: 3.5rem; }
}

@media (max-width: 900px) {
  /* Hero stacks */
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__content { padding: 7rem 1.5rem 3rem; order: 1; }
  .hero__media  { order: 2; height: 60vw; min-height: 280px; }

  /* About stacks */
  .about__grid { grid-template-columns: 1fr; gap: 3rem; }
  .about__badge { right: 1rem; bottom: 1rem; }

  /* Events stacks */
  .events__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

  /* Stats */
  .stats__grid { grid-template-columns: 1fr; gap: 1.25rem; }

  /* Gallery */
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
}

@media (max-width: 640px) {
  /* Nav */
  .nav__links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    z-index: 99;
  }
  .nav__links.is-open  { display: flex; }
  .nav__links a { font-size: 1.25rem; }
  .nav__toggle { display: flex; position: relative; z-index: 101; }

  /* Testimonials */
  .testimonials__grid { grid-template-columns: 1fr; }

  /* Gallery */
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gallery__cell--wide { grid-column: span 1; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { grid-column: 1; }
}
