:root {
  --bg: #f5f0e7;
  --bg-soft: #fbf7f0;
  --surface: rgba(255, 250, 242, 0.7);
  --surface-strong: rgba(250, 245, 237, 0.88);
  --text: #181511;
  --muted: #6f6557;
  --line: rgba(77, 64, 48, 0.14);
  --accent: #0e5c63;
  --accent-deep: #093c41;
  --gold: #b6915d;
  --shadow: 0 30px 70px rgba(34, 25, 18, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(182, 145, 93, 0.22), transparent 30%),
    radial-gradient(circle at top right, rgba(14, 92, 99, 0.18), transparent 30%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 48%, #efe7da 100%);
}

.welcome-page {
  background:
    radial-gradient(circle at 16% 10%, rgba(242, 244, 236, 0.78), transparent 24%),
    radial-gradient(circle at 84% 10%, rgba(94, 160, 210, 0.34), transparent 30%),
    radial-gradient(circle at 76% 84%, rgba(42, 193, 195, 0.22), transparent 24%),
    linear-gradient(180deg, #d4e5ef 0%, #8fc0dc 22%, #3d9fc8 44%, #149cad 64%, #0a7898 100%);
}

.welcome-page.event-page {
  padding-top: 16px;
}

.gate-page {
  min-height: 100vh;
}

.gate-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.gate-shell::before,
.gate-shell::after,
.event-page::before,
.event-page::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: 0;
}

.gate-shell::before,
.event-page::before {
  width: 38vw;
  height: 38vw;
  min-width: 260px;
  min-height: 260px;
  top: -8vw;
  right: -10vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 92, 99, 0.18) 0%, rgba(14, 92, 99, 0) 70%);
}

.gate-shell::after,
.event-page::after {
  width: 42vw;
  height: 42vw;
  min-width: 300px;
  min-height: 300px;
  left: -18vw;
  bottom: -16vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(182, 145, 93, 0.18) 0%, rgba(182, 145, 93, 0) 72%);
}

.gate-card,
.section-card,
.hero-card,
.timeline-card {
  background: var(--surface);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}

.gate-card {
  width: min(100%, 520px);
  padding: 56px 40px 40px;
  border-radius: 32px;
  text-align: center;
}

.gate-intro {
  max-width: 34ch;
  margin: 18px auto 0;
  color: var(--muted);
  line-height: 1.7;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

h1,
h2,
h3 {
  font-family: "Bodoni Moda", "Cormorant Garamond", serif;
  line-height: 0.94;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-transform: lowercase;
}

.gate-card h1,
.hero-copy h1 {
  font-size: clamp(3.2rem, 8vw, 6.8rem);
}

.intro-copy,
.hero-copy p,
.section-card p,
.timeline-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

.password-form {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

input,
button,
.hero-link {
  border-radius: 999px;
  font: inherit;
}

input {
  width: 100%;
  border: 1px solid rgba(77, 64, 48, 0.14);
  background: rgba(255, 252, 248, 0.92);
  padding: 16px 20px;
  color: var(--text);
}

input:focus {
  outline: 2px solid rgba(14, 92, 99, 0.18);
  border-color: rgba(14, 92, 99, 0.5);
}

button,
.hero-link {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  background: var(--accent-deep);
  color: #f8f2ea;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

button:hover,
.hero-link:hover {
  transform: translateY(-1px);
  background: #06292d;
}

.form-message {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--accent-deep);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.event-page {
  padding: 24px;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: min(1180px, 100%);
  margin: 0 auto 28px;
  padding: 16px 22px;
  border-radius: 999px;
  background: rgba(255, 249, 240, 0.78);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 32px rgba(58, 39, 27, 0.08);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 18px;
}

.site-nav a,
.site-nav span {
  color: var(--text);
  text-decoration: none;
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav a {
  opacity: 0.78;
}

.site-nav a:hover {
  opacity: 1;
}

main {
  width: min(1180px, 100%);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-section {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 28px;
  align-items: stretch;
  min-height: calc(100vh - 160px);
  padding: 36px 0 48px;
}

.hero-copy {
  padding: 56px 0 32px;
}

.hero-copy p {
  max-width: 60ch;
  margin: 20px 0 0;
  font-size: 1.05rem;
}

.hero-link {
  margin-top: 30px;
  width: fit-content;
}

.hero-card {
  border-radius: 34px;
  padding: 32px;
  align-self: center;
}

.scenic-card {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(17, 31, 32, 0.02) 0%, rgba(17, 31, 32, 0.32) 100%),
    linear-gradient(160deg, rgba(251, 246, 238, 0.5) 0%, rgba(14, 92, 99, 0.12) 48%, rgba(7, 42, 47, 0.35) 100%),
    var(--surface-strong);
}

.hero-card-label,
.timeline-label,
.section-label {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.story-card .section-label,
.details-card .section-label,
.travel-card .section-label {
  margin-bottom: 10px;
}

.hero-card-grid {
  display: grid;
  gap: 18px;
}

.hero-card-grid span {
  display: block;
  margin-bottom: 6px;
  color: rgba(24, 21, 17, 0.72);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-card-grid strong {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
}

.content-grid,
.travel-section,
.faq-section,
.schedule-section {
  padding: 0 0 40px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 24px;
}

.section-card,
.timeline-card {
  border-radius: 30px;
  padding: 32px;
}

.story-card {
  min-height: 340px;
}

.story-card h2,
.travel-card h2,
.section-heading h2 {
  max-width: 11ch;
  font-size: clamp(2.2rem, 4vw, 4rem);
  margin-bottom: 18px;
}

.details-card {
  align-self: end;
}

.detail-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.detail-list li {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.7;
}

.travel-plan-list li {
  display: grid;
  gap: 6px;
  padding-top: 18px;
}

.travel-plan-date {
  color: rgba(16, 43, 52, 0.92);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.travel-plan-copy {
  color: var(--muted);
  font-size: 1rem;
}

.detail-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-heading.compact {
  margin-bottom: 18px;
}

.timeline-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.timeline-card h3,
.travel-columns h3,
.faq-card h3 {
  margin-bottom: 14px;
  font-size: 2rem;
}

.travel-card {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 249, 240, 0.76) 0%, rgba(14, 92, 99, 0.08) 100%),
    var(--surface);
}

.page-main {
  padding-bottom: 48px;
}

.page-hero {
  padding: 48px 0 28px;
}

.page-hero--visual {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: 36px;
  align-items: center;
}

.page-hero-copy {
  max-width: 36rem;
}

.page-hero h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 6vw, 5.4rem);
}

.page-intro {
  max-width: 58ch;
  margin: 20px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.03rem;
}

.page-hero-media {
  position: relative;
  border-radius: 34px 34px 34px 34px;
  overflow: hidden;
  min-height: 420px;
}

.page-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 34px;
  mix-blend-mode: multiply;
}

.welcome-page .story-card,
.welcome-page .details-card,
.welcome-page .faq-card {
  background: rgba(233, 246, 245, 0.62);
  border-color: rgba(16, 86, 101, 0.12);
  box-shadow: 0 24px 56px rgba(18, 70, 86, 0.12);
  align-self: start;
}

.welcome-page .site-header {
  background: rgba(233, 246, 245, 0.62);
  border-color: rgba(16, 86, 101, 0.12);
  box-shadow: 0 18px 40px rgba(18, 70, 86, 0.12);
  margin-bottom: 18px;
}

.welcome-page .story-card p,
.welcome-page .details-card p,
.welcome-page .faq-card p,
.welcome-page .detail-list li {
  color: rgba(19, 54, 64, 0.82);
}

.welcome-page .page-intro {
  color: rgba(16, 43, 52, 0.92);
}

.welcome-page h3 {
  color: rgba(16, 43, 52, 0.96);
}

.welcome-page .page-hero {
  padding: 20px 0 22px;
}

.welcome-page .page-hero--visual {
  gap: 28px;
}

.welcome-page .page-intro {
  margin-top: 14px;
}

.welcome-page .content-grid,
.welcome-page .travel-section,
.welcome-page .faq-section,
.welcome-page .schedule-section {
  padding-bottom: 24px;
}

.welcome-page .section-card {
  padding: 26px;
}

.welcome-page .detail-list li {
  border-top-color: rgba(16, 86, 101, 0.14);
}

.page-content {
  padding-bottom: 0;
}

.travel-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.faq-card {
  min-height: 220px;
}

@media (max-width: 900px) {
  .event-page {
    padding: 16px;
    overflow: auto;
  }

  .content-grid,
  .timeline-grid,
  .travel-columns,
  .faq-grid,
  .hero-section {
    grid-template-columns: 1fr;
  }

  .site-header,
  .hero-section {
    display: grid;
  }

  .site-nav {
    justify-content: flex-start;
  }

  main {
    height: auto;
  }

  .hero-copy {
    padding: 12px 0 0;
  }

  .hero-section {
    min-height: auto;
    padding-top: 12px;
  }

  .page-hero {
    padding-top: 18px;
  }

  .page-hero--visual {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .page-hero-copy {
    max-width: none;
  }

  .page-hero-media {
    min-height: 300px;
  }

  .scenic-card {
    min-height: 380px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .gate-card {
    padding: 36px 24px;
  }

  .site-header {
    position: static;
    padding: 18px;
    border-radius: 28px;
  }

  .hero-card,
  .section-card,
  .timeline-card {
    padding: 22px;
  }

  .site-nav {
    gap: 12px 14px;
  }

  .gate-card h1,
  .hero-copy h1 {
    font-size: clamp(2.8rem, 16vw, 4.4rem);
  }

  .timeline-card h3,
  .travel-columns h3,
  .faq-card h3 {
    font-size: 1.7rem;
  }

}
