:root {
  --bg: #efe5d8;
  --paper: #fffaf4;
  --ink: #3f332d;
  --soft-ink: #6f5d52;
  --muted: #9a8779;
  --accent: #c97958;
  --accent-soft: #f2c7ad;
  --sage: #8d9d7e;
  --cream: #fff2e3;
  --line: rgba(194, 143, 112, .24);
  --shadow: 0 22px 70px rgba(93, 58, 38, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(242, 199, 173, .42), transparent 30%),
    radial-gradient(circle at 92% 18%, rgba(141, 157, 126, .22), transparent 28%),
    linear-gradient(135deg, #f2e8db, #eadccc);
  font-family: "Noto Sans KR", sans-serif;
  word-break: keep-all;
}

.page {
  width: min(100%, 540px);
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 0 60px rgba(64, 43, 29, .14);
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 46px 26px 32px;
  display: grid;
  align-content: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 24%, rgba(255,255,255,.88), transparent 34%),
    linear-gradient(180deg, #fff6ec 0%, #fffaf4 58%, #fff1e4 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(201, 121, 88, .18);
  border-radius: 34px;
  pointer-events: none;
}

.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(.2px);
  opacity: .72;
  pointer-events: none;
}

.glow-one {
  width: 120px;
  height: 120px;
  left: -42px;
  top: 90px;
  background: rgba(242, 199, 173, .48);
}

.glow-two {
  width: 160px;
  height: 160px;
  right: -58px;
  bottom: 98px;
  background: rgba(141, 157, 126, .2);
}

.eyebrow,
.section-label {
  margin: 0;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .22em;
}

.hero-photo {
  position: relative;
  width: min(86%, 350px);
  aspect-ratio: 3 / 4;
  margin: 28px auto 26px;
  padding: 9px;
  border-radius: 32px;
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow);
}

.photo-box {
  overflow: hidden;
}

.photo-box img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #f6ede4;
}

.hero-photo img {
  border-radius: 25px;
}

.hero h1 {
  margin: 0;
  font: 700 39px/1.34 "Gowun Batang", serif;
  letter-spacing: -.025em;
}

.hero-message {
  margin: 17px 0 0;
  color: var(--soft-ink);
  font: 400 15px/1.9 "Gowun Batang", serif;
}

.hero-date {
  margin: 20px 0 0;
  color: var(--sage);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}

.scroll-hint {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding: 88px 30px;
  text-align: center;
  border-top: 1px solid var(--line);
}

.section h2 {
  margin: 16px 0 28px;
  font: 700 27px/1.55 "Gowun Batang", serif;
  letter-spacing: -.02em;
}

.intro {
  background:
    radial-gradient(circle at 50% 0%, rgba(242, 199, 173, .18), transparent 36%),
    #fffaf4;
}

.intro p:not(.section-label) {
  margin: 18px 0;
  color: var(--soft-ink);
  font: 400 15px/2.05 "Gowun Batang", serif;
}

.gallery {
  background:
    linear-gradient(180deg, rgba(255,250,244,.65), rgba(255,244,231,.92)),
    #fff4e7;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.gallery-photo {
  margin: 0;
  padding: 7px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .8);
  box-shadow: 0 14px 34px rgba(96, 62, 42, .11);
}

.gallery-photo img {
  border-radius: 18px;
}

.wide {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 10;
}

.tall {
  aspect-ratio: 4 / 5.8;
}

.square {
  aspect-ratio: 1 / 1;
}

.feature {
  grid-column: 1 / -1;
  width: 92%;
  justify-self: center;
  aspect-ratio: 4 / 5.55;
}

.details {
  background:
    radial-gradient(circle at 18% 12%, rgba(242, 199, 173, .2), transparent 34%),
    linear-gradient(180deg, #fffaf4, #fff0df);
}

.date-card,
.info-card {
  background: rgba(255, 255, 255, .76);
  border: 1px solid var(--line);
  box-shadow: 0 16px 42px rgba(84, 55, 38, .08);
  backdrop-filter: blur(8px);
}

.date-card {
  width: min(100%, 320px);
  margin: 0 auto 18px;
  padding: 25px 24px 23px;
  display: grid;
  gap: 4px;
  border-radius: 30px;
}

.date-card span,
.info-card span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
}

.date-card strong {
  color: #ac6048;
  font: 700 66px/1 "Gowun Batang", serif;
}

.date-card em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  letter-spacing: .08em;
}

.info-card {
  padding: 25px 22px;
  border-radius: 24px;
}

.info-card strong {
  display: block;
  margin-top: 10px;
  font: 700 22px/1.55 "Gowun Batang", serif;
}

.program {
  background:
    radial-gradient(circle at 92% 5%, rgba(141, 157, 126, .16), transparent 28%),
    #fff7ed;
}

.program-list {
  display: grid;
  gap: 12px;
  text-align: left;
}

.program-list article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 4px 15px;
  padding: 22px 20px;
  border: 1px solid rgba(194, 143, 112, .18);
  border-radius: 22px;
  background: rgba(255,255,255,.58);
  box-shadow: 0 12px 26px rgba(84, 55, 38, .055);
}

.program-list b {
  grid-row: span 2;
  color: var(--accent);
  font-family: "Gowun Batang", serif;
}

.program-list strong {
  font: 700 18px "Gowun Batang", serif;
}

.program-list span {
  color: var(--soft-ink);
  font-size: 13px;
  line-height: 1.75;
}

.location {
  background: #fffaf4;
}

.map-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-top: 28px;
  border: 8px solid rgba(255,255,255,.78);
  border-radius: 26px;
  background: #eadfd5;
  box-shadow: 0 16px 38px rgba(74, 50, 35, .1);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.closing {
  position: relative;
  padding: 88px 28px 98px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.2), transparent 34%),
    linear-gradient(180deg, #9bab85, #758966);
}

.closing-mark {
  width: 46px;
  height: 46px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  color: #fff1d9;
}

.closing p {
  margin: 0;
  font: 400 15px/2 "Gowun Batang", serif;
  opacity: .92;
}

.closing strong {
  display: block;
  margin: 28px 0 22px;
  font: 700 18px/1.8 "Gowun Batang", serif;
}

.closing span {
  font: 700 25px "Gowun Batang", serif;
  letter-spacing: .25em;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .75s ease var(--delay, 0ms),
    transform .75s cubic-bezier(.2,.75,.3,1) var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery-photo.reveal {
  transform: translateY(28px) scale(.985);
}

.gallery-photo.reveal.is-visible {
  transform: translateY(0) scale(1);
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 34px;
  }

  .section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .gallery-grid {
    gap: 9px;
  }

  .gallery-photo {
    border-radius: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .gallery-photo.reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
