:root {
  --white: #fbfaf9;
  --stone: #ecebe8;
  --ink: #2a1222;
  --plum: #50203e;
  --plum-deep: #2e1225;
  --leaf: #9cbb5f;
  --leaf-deep: #5f7a2c;
  --gold: #c9a76c;
  --soft: #6d5566;
  --soft-d: #c9bcc4;
  --margin: clamp(16px, 2.8vw, 44px);
  --serif: "Noto Serif KR", "Nanum Myeongjo", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --s-xl: clamp(40px, 5vw, 80px);
  --s-l: clamp(26px, 2.6vw, 40px);
  --s-m: 21px;
  --s-b: 17px;
  --s-s: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: var(--s-b); line-height: 1.6; word-break: keep-all; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--white); padding: 8px 12px; }

h2 { font-family: var(--serif); font-weight: 900; letter-spacing: -0.03em; line-height: 1.15; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 30px;
  border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 700; text-decoration: none;
  transition: background-color .2s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-plum { background: var(--plum); color: var(--white); }
.btn-plum:hover { background: var(--leaf-deep); }

.ai-tag { position: absolute; right: 16px; bottom: 16px; font-size: 13px; color: #fff; background: rgba(20, 10, 16, .55); padding: 4px 10px; border-radius: 999px; }

/* top bar: over the photo, solid after scrolling */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px var(--margin); color: #fff; transition: background-color .3s var(--ease), color .3s var(--ease);
}
.top.is-solid { background: var(--plum-deep); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 22px; letter-spacing: -0.02em; }
.brand img { width: 34px; }
.nav { display: flex; gap: 28px; font-weight: 600; font-size: 16px; }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .2s; }
.nav a:hover { border-color: var(--leaf); }

/* hero: the place, with the trip set on it */
.hero { position: relative; min-height: 100svh; padding: 0 var(--margin) 0; display: grid; grid-template-rows: 1fr auto; color: #fff; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; background: var(--plum-deep); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: drift 18s ease-in-out infinite alternate; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: rgba(30, 12, 24, .32); }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.09); } }
.hero-words { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; padding-top: 110px; padding-bottom: 48px; }
.hero h1 { display: flex; flex-direction: column; }
.hero-big { font-family: var(--serif); font-weight: 900; font-size: clamp(76px, 12vw, 200px); line-height: .98; letter-spacing: -0.04em; }
.hero-line { font-size: clamp(20px, 1.8vw, 28px); font-weight: 700; line-height: 1.45; max-width: 22em; padding-bottom: 18px; }
.hero-card {
  position: relative; justify-self: center; width: min(880px, 100%); margin-bottom: -96px;
  background: var(--white); color: var(--ink); border-radius: 28px 28px 0 0; padding: 48px clamp(24px, 5vw, 72px) 44px;
  display: grid; gap: 28px; justify-items: center; text-align: center;
}
.hero-card h2 { font-size: var(--s-l); }
.hero-facts { width: 100%; margin: 0; display: grid; gap: 14px; text-align: left; }
.hero-facts div { display: flex; justify-content: space-between; gap: 16px; }
.hero-facts dt { color: var(--soft); }
.hero-facts dd { margin: 0; font-weight: 700; text-align: right; }

/* numbers */
.numbers { padding: 180px var(--margin) 160px; }
.numbers-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.num { font-family: var(--serif); font-weight: 900; font-size: clamp(34px, 3.4vw, 54px); color: var(--plum); letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 10px; }
.numbers-row p:not(.num) { color: var(--soft); font-size: 16px; }
.about { margin-top: 160px; display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 110px); align-items: center; }
.about-text { display: grid; gap: 24px; }
.about-text p { max-width: 34em; }
.cost-text p, .hero-line { max-width: 34em; }
.about h2 { font-size: var(--s-xl); color: var(--plum); }
.statement { font-size: clamp(21px, 2vw, 30px); font-weight: 700; line-height: 1.45; letter-spacing: -0.02em; }
.about-photo { position: relative; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; }

/* scroll scene: words stay, pictures pass */
.passage { background: var(--plum-deep); color: var(--white); height: 260vh; position: relative; }
.passage-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 0 var(--margin); }
.passage-words { font-size: clamp(56px, 8vw, 140px); line-height: 1.05; }
.fly { position: absolute; margin: 0; width: clamp(150px, 19vw, 300px); z-index: 2; will-change: transform; }
.fly img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; }
.fly figcaption { margin-top: 8px; font-size: 15px; font-weight: 700; }
.f1 { left: 52%; top: 70%; }
.f2 { left: 76%; top: 92%; }
.f3 { left: 54%; top: 128%; }
.f4 { left: 77%; top: 150%; }
.passage-note { position: absolute; bottom: 20px; left: var(--margin); max-width: 40%; font-size: var(--s-s); color: var(--soft-d); }

/* schedule */
.schedule { padding: 180px var(--margin); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 96px); align-items: start; }
.schedule-head { position: sticky; top: 100px; display: grid; gap: 20px; }
.schedule h2 { font-size: var(--s-xl); color: var(--plum); }
.schedule-head p { color: var(--soft); max-width: 26em; }
.day-switch { display: flex; gap: 8px; margin-top: 8px; }
.day-switch button {
  font: inherit; font-weight: 700; font-size: 16px; min-height: 52px; padding: 0 22px; cursor: pointer;
  border: 0; border-radius: 999px; background: var(--stone); color: var(--ink);
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
}
.day-switch button:hover { background: #ddd8dc; }
.day-switch button[aria-selected="true"] { background: var(--plum); color: var(--white); }
.day-switch button:active { transform: scale(.97); }
.day { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.js .day[hidden] { display: none; }
.day li { display: grid; grid-template-columns: 110px 1fr; gap: 24px; align-items: baseline; background: var(--stone); padding: 28px 32px; border-radius: 20px; }
.day li:nth-child(5n+1) { background: var(--plum); color: var(--white); }
.day li:nth-child(5n+1) p { color: var(--soft-d); }
.day li:nth-child(5n+3) { background: var(--leaf); }
.day li:nth-child(5n+5) { background: var(--gold); }
.day .when { font-family: var(--serif); font-size: var(--s-l); font-weight: 900; line-height: 1; }
.day h3 { font-size: var(--s-m); font-weight: 800; }
.day p { color: var(--ink); margin-top: 4px; }
.day.is-swap li { animation: rise .5s var(--ease) both; }
.day.is-swap li:nth-child(2) { animation-delay: .06s; }
.day.is-swap li:nth-child(3) { animation-delay: .12s; }
.day.is-swap li:nth-child(4) { animation-delay: .18s; }
.day.is-swap li:nth-child(5) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* cost */
.cost { background: var(--leaf); padding: 0 var(--margin) 150px; display: grid; grid-template-columns: 1fr minmax(320px, 420px); gap: clamp(32px, 6vw, 120px); align-items: start; }
.cost-text { padding-top: 160px; display: grid; gap: 22px; max-width: 36em; }
.cost h2 { font-size: var(--s-xl); }
.cost-text p { font-size: 18px; }
.receipt {
  background: var(--white); padding: 120px 30px 64px; transform: rotate(1.2deg);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 95% 100%, 90% calc(100% - 14px), 85% 100%, 80% calc(100% - 14px), 75% 100%, 70% calc(100% - 14px), 65% 100%, 60% calc(100% - 14px), 55% 100%, 50% calc(100% - 14px), 45% 100%, 40% calc(100% - 14px), 35% 100%, 30% calc(100% - 14px), 25% 100%, 20% calc(100% - 14px), 15% 100%, 10% calc(100% - 14px), 5% 100%, 0 calc(100% - 14px));
}
.receipt-name { text-align: center; font-family: var(--serif); font-weight: 900; font-size: var(--s-m); color: var(--plum); }
.receipt dl { margin: 28px 0 0; display: grid; gap: 14px; }
.receipt dl div { display: flex; justify-content: space-between; gap: 16px; font-size: 16px; }
.receipt dd { margin: 0; color: var(--plum); font-weight: 700; white-space: nowrap; }
.receipt .own dd { color: var(--soft); font-weight: 500; }
.receipt-bar { height: 4px; background: var(--plum); margin: 28px 0 20px; }
.receipt-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.receipt-total strong { font-family: var(--serif); font-size: var(--s-m); color: var(--plum); font-weight: 900; font-variant-numeric: tabular-nums; }

/* faq */
.faq { padding: 180px var(--margin); display: grid; grid-template-columns: 3fr 9fr; gap: 48px; }
.faq h2 { font-size: var(--s-l); color: var(--plum); }
.faq-text { columns: 2; column-gap: 56px; }
.faq-text p { break-inside: avoid; margin-bottom: 24px; }
.faq-text b { color: var(--plum); font-weight: 800; }

/* footer */
.footer { background: var(--plum-deep); color: var(--white); padding: 140px var(--margin) 40px; }
.foot-big { font-family: var(--serif); font-weight: 900; font-size: clamp(56px, 10.5vw, 180px); line-height: 1; letter-spacing: -0.04em; color: var(--leaf); }
.foot-row { margin-top: 56px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; font-size: 15px; color: var(--soft-d); }
.imprint { font-size: 13px; }

/* entrances */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg img, .day.is-swap li { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .passage { height: auto; }
  .passage-stage { position: static; height: auto; padding: 120px var(--margin); display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .passage-words { grid-column: 1 / -1; margin-bottom: 40px; }
  .fly { position: static; width: auto; transform: none !important; }
  .passage-note { position: static; grid-column: 1 / -1; }
}

@media (max-width: 1000px) {
  .nav { display: none; }
  .hero-words { grid-template-columns: 1fr; gap: 16px; }
  .numbers-row { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .about, .schedule, .cost, .faq, .foot-row { grid-template-columns: 1fr; }
  .schedule-head { position: static; }
  .faq-text { columns: 1; }
  .cost-text { padding-top: 110px; }
  .receipt { padding-top: 48px; width: min(100%, 440px); justify-self: center; }
  .fly { width: clamp(130px, 21vw, 220px); }
}

@media (max-width: 640px) {
  .hero-words { padding-top: 96px; padding-bottom: 32px; }
  .hero-card { margin-bottom: -64px; border-radius: 22px 22px 0 0; padding: 36px 22px 32px; }
  .hero-facts div { flex-direction: column; gap: 2px; }
  .hero-facts dd { text-align: left; }
  .numbers { padding: 130px var(--margin) 110px; }
  .numbers-row { grid-template-columns: 1fr; gap: 28px; }
  .about { margin-top: 96px; }
  .schedule, .faq { padding-top: 110px; padding-bottom: 110px; }
  .day li { grid-template-columns: 1fr; gap: 8px; padding: 22px 20px; }
  .cost { padding-bottom: 96px; }
  .passage-stage { grid-template-columns: 1fr; align-content: start; padding-top: 110px; }
  .fly { width: 40vw; }
  .f1 { left: 6%; top: 62%; } .f2 { left: 54%; top: 80%; } .f3 { left: 6%; top: 112%; } .f4 { left: 54%; top: 130%; }
  .passage-note { max-width: none; right: var(--margin); bottom: 0; z-index: 3; background: var(--plum-deep); padding: 12px 0 18px; }
}
