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

body {
  font-family: 'Montserrat', 'Apple SD Gothic Neo', sans-serif;
  background: #ffffff;
  color: #000000;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.page {
  max-width: 1920px;
  margin: 0 auto;
  padding: 80px 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 100px;
}

/* Top Nav */
.top-nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.33;
}

.top-nav .logo {
  color: inherit;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: inherit;
  text-decoration: none;
}

/* "ABOUT" hover tooltip */
.about-trigger {
  position: relative;
  cursor: default;
}

.about-trigger::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: #000000;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease;
  pointer-events: none;
  z-index: 10;
}

.about-trigger::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #000000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease;
  pointer-events: none;
  z-index: 10;
}

.about-trigger:hover::after,
.about-trigger:hover::before {
  opacity: 1;
  visibility: visible;
}

/* Event Section */
.event-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.section-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

.cards-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Each card scales as a single proportional unit: card-frame is the
   container-query context, and --u is "1 design px" re-expressed in
   cqw so every descendant measurement (calc(N * var(--u))) shrinks
   or grows in lockstep with the card's own rendered width, instead
   of reflowing at page breakpoints. Reference design width: 668px. */
.card-frame {
  flex: 1 1 0;
  min-width: 0;
  container-type: inline-size;
}

.card-link {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.card {
  --u: calc(100cqw / 668);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(24 * var(--u));
}

.card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 668 / 956;
  border-radius: calc(14 * var(--u));
  padding: calc(40 * var(--u));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.time-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: calc(40 * var(--u));
  padding: calc(10 * var(--u)) calc(16 * var(--u)) calc(8 * var(--u));
  font-size: calc(18 * var(--u));
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}

.card-detail {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(4 * var(--u));
}

.card-subtitle {
  width: 100%;
  font-size: calc(18 * var(--u));
  font-weight: 500;
  line-height: 1.33;
  color: #b9b9b9;
}

.card-title {
  width: 100%;
  font-size: calc(24 * var(--u));
  font-weight: 600;
}

.card-title p {
  line-height: 1.33;
}

/* Stay Shop overlay */
.stay-shop-media {
  padding: 0;
}

.stay-shop-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: calc(50 * var(--u)) calc(95 * var(--u));
  border-radius: calc(14 * var(--u));
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 70%, #000000 100%);
}

.stay-shop-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(2 * var(--u));
  width: 100%;
  color: #ffffff;
  text-align: center;
}

.stay-shop-eyebrow {
  font-size: calc(18 * var(--u));
  font-weight: 700;
  letter-spacing: calc(15.48 * var(--u));
}

.stay-shop-heading {
  font-size: calc(64 * var(--u));
  font-weight: 700;
  letter-spacing: calc(9.6 * var(--u));
}

.stay-shop-sub {
  font-size: calc(16 * var(--u));
  letter-spacing: calc(16 * var(--u));
  font-weight: 300;
}

.stay-shop-logo {
  width: calc(100 * var(--u));
  height: calc(26 * var(--u));
  object-fit: contain;
}

.stay-shop-media .time-badge {
  position: absolute;
  top: calc(40 * var(--u));
  left: calc(40 * var(--u));
}

/* Mobile-only flattened Stay Shop card (swapped in under 600px) */
.stay-shop-mobile {
  display: none;
}

/* Footer */
.footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer p,
.footer-links a {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.33;
  color: #b9b9b9;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 1500px) {
  .page {
    padding: 60px 56px;
  }

  .top-nav {
    font-size: 20px;
  }

  .footer p,
.footer-links a {
    font-size: 20px;
  }
}

@media (max-width: 760px) {
  .page {
    padding: 48px 32px;
  }

  .top-nav {
    font-size: 18px;
  }

  .footer p,
.footer-links a {
    font-size: 16px;
  }

  .cards-row {
    flex-direction: column;
    gap: 40px;
  }

  .card-frame {
    width: 100%;
  }
}

/* Mobile phone layout — matches Figma "Mobile Landing Page" spec */
@media (max-width: 600px) {
  .page {
    padding: 30px;
    gap: 60px;
  }

  .top-nav {
    font-size: 20px;
  }

  .nav-links {
    font-size: 16px;
    font-weight: 700;
  }

  .event-section {
    gap: 24px;
  }

  .section-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 18px;
  }

  .cards-row {
    gap: 40px;
  }

  .card {
    gap: 16px;
  }

  .card-media {
    border-radius: 12px;
    padding: 20px;
  }

  .time-badge {
    padding: 10px 16px 8px;
    font-size: 16px;
    font-weight: 600;
  }

  .card-detail {
    gap: 4px;
  }

  .card-subtitle {
    font-size: 12px;
    font-weight: 500;
  }

  .card-title {
    font-size: 16px;
    font-weight: 600;
  }

  .card-title p {
    line-height: 18px;
  }

  .stay-shop-desktop {
    display: none;
  }

  .stay-shop-mobile {
    display: block;
  }

  .footer p,
  .footer-links a {
    font-size: 12px;
  }
}

/* Toast (contact copy confirmation) */
.toast {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #000000;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-family: 'Pretendard', 'Apple SD Gothic Neo', sans-serif;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 1000;
  white-space: nowrap;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
