/* =========================================================
   Wedding invitation · "one film" world
   ink projection room / screen-white paper / champagne gold
   ========================================================= */
:root {
  --ink: #610000; /* rgb(97,0,0) burgundy */
  --ink-2: #6e0a0a;
  --ink-3: #7c1414;
  --paper: #f3eee6;
  --paper-2: #e9e2d7;
  --white: #fbf9f5;
  --gold: #c9a96e;
  --gold-soft: #f1dfb5;
  --gold-deep: #74562a;
  --text: #18181b;
  --muted: #6a6157;
  --on-dark: #ece6da;
  --on-dark-muted: #a49c8f;
  --line: rgba(24, 24, 27, 0.14);
  --line-dark: rgba(236, 230, 218, 0.16);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --fd: "Forum", Georgia, "Times New Roman", serif;
  --fl: "Montserrat", "Pretendard", system-ui, sans-serif;
  --fb: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", system-ui, sans-serif;
  --fs: "Pinyon Script", "Snell Roundhand", "Apple Chancery", cursive;
  --w: 448px;
  --pad: 24px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: var(--gold-deep) var(--ink);
  background: #240000;
}
body {
  margin: 0;
  min-height: 100svh;
  font-family: var(--fb);
  font-weight: 300;
  color: var(--text);
  background:
    radial-gradient(60% 50% at 50% 0%, #4d0000 0%, #240000 70%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-thumb { background: var(--gold-deep); border-radius: 8px; }
::-webkit-scrollbar-track { background: var(--ink); }
.screen-out { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.stage {
  position: relative;
  max-width: var(--w);
  margin-inline: auto;
  background: var(--paper);
  color: var(--text);
  overflow: clip;
  isolation: isolate;
}
@media (min-width: 480px) {
  body { padding: 48px 16px; }
  .stage {
    border-radius: 28px;
    box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.05);
  }
}
.dark {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
}

/* ---------- section heading ---------- */
.h {
  margin: 0 0 40px;
  text-align: center;
  font: 400 1.375rem / 1 var(--fd);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
}
.h::after {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  margin: 16px auto 0;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.9s var(--ease) 0.3s;
}
.h.is-in::after { transform: scaleX(1); }
.h--dark { color: var(--on-dark); }

/* ---------- reveal grammar ---------- */
html.js .rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
html.js .rv.is-in { opacity: 1; transform: none; }

/* ---------- intro (projector opening) ---------- */
.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: auto;
}
html:not(.js) .intro { display: none; }
.intro__half {
  position: absolute;
  left: 0;
  right: 0;
  height: 50.2%;
  background: var(--ink);
  transition: transform 1s var(--ease-io) 0.65s;
}
.intro__half--top { top: 0; }
.intro__half--bottom { bottom: 0; }
.intro__beam {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(64vw, 280px);
  height: 1px;
  translate: -50% -50%;
  background: #fff;
  box-shadow: 0 0 22px 2px rgba(255, 255, 255, 0.55);
  transform: scaleX(0);
  transition: transform 0.55s var(--ease) 0.2s, opacity 0.5s ease 1.1s;
}
.intro.is-open .intro__beam { transform: scaleX(1); opacity: 0; }
.intro.is-open .intro__half--top { transform: translateY(-101%); }
.intro.is-open .intro__half--bottom { transform: translateY(101%); }
.intro.is-skip .intro__half, .intro.is-skip .intro__beam { transition-duration: 0.35s; transition-delay: 0s; }
.intro.is-done { pointer-events: none; }

/* ---------- 01 cover ---------- */
.cover {
  position: relative;
  height: 100svh;
  min-height: 640px;
  max-height: 980px;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
@media (min-width: 480px) { .cover { height: 860px; } }
.cover__media { position: absolute; inset: 0; }
.cover__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 2.8s var(--ease);
  will-change: transform;
}
html.js .cover:not(.is-live) .cover__img { transform: scale(1.12); }
.cover__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(36, 0, 0, 0.42) 0%, rgba(36, 0, 0, 0) 12%),
    linear-gradient(to bottom, rgba(36, 0, 0, 0) 30%, rgba(36, 0, 0, 0.5) 43%, rgba(36, 0, 0, 0) 57%),
    linear-gradient(to bottom, rgba(36, 0, 0, 0) 62%, rgba(97, 0, 0, 0.92) 100%);
}
.cover__ui { position: absolute; inset: 0; }
html.js .cover [data-seq] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
}
html.js .cover.is-live [data-seq] { opacity: 1; transform: none; }
html.js .cover.is-live [data-seq="1"] { transition-delay: 0.55s; }
html.js .cover.is-live [data-seq="2"] { transition-delay: 0.95s; }
html.js .cover.is-live [data-seq="3"] { transition-delay: 1.2s; }
html.js .cover.is-live [data-seq="4"] { transition-delay: 1.8s; }

.cover__title {
  position: absolute;
  top: 43%;
  left: 0;
  right: 0;
  margin: 0;
  translate: 0 -50%;
  text-align: center;
  font: 400 1.4375rem / 1.3 var(--fd);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}
.cover__line { display: block; padding-left: 0.24em; }
.cover__script {
  display: block;
  margin-top: 2px;
  font: 400 3.5rem / 1 var(--fs);
  letter-spacing: 0;
  text-transform: none;
  color: var(--gold-soft);
}
.cover__names {
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 146px;
  display: flex;
  justify-content: space-between;
}
.cover__name { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cover__name small {
  font: 400 0.6875rem / 1 var(--fb);
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.72);
}
.cover__name strong {
  font: 400 1.0625rem / 1 var(--fd);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding-left: 0.26em;
}
.cover__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 74px;
  display: grid;
  gap: 8px;
  text-align: center;
}
.cover__meta p { margin: 0; }
.cover__date { font: 500 0.8125rem / 1 var(--fl); letter-spacing: 0.14em; }
.cover__place { font: 300 0.8125rem / 1.4 var(--fb); color: rgba(255, 255, 255, 0.8); }
.cover__scroll {
  position: absolute;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 14px);
  translate: -50% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.62);
  font: 500 0.6875rem / 1 var(--fl);
  letter-spacing: 0.26em;
  text-transform: uppercase;
}
.cover__scroll i {
  width: 1px;
  height: 26px;
  background: linear-gradient(#fff, transparent);
  transform-origin: top;
  animation: scrollcue 1.9s var(--ease-io) infinite;
}
@keyframes scrollcue {
  0% { transform: scaleY(0); opacity: 0; }
  35% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(10px); opacity: 0; }
}

/* ---------- 02 invite ---------- */
.invite { padding: 60px 0 100px; overflow: hidden; }
.film {
  width: 124%;
  margin-left: -12%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.film--a { transform: rotate(-6deg); }
.film--b { transform: rotate(5deg); margin-top: 56px; }
.film__track { display: flex; width: max-content; animation: filmrun 30s linear infinite; }
.film--b .film__track { animation-duration: 36s; animation-direction: reverse; }
.film__track span {
  display: block;
  flex: none;
  width: 697px;
  height: 161px;
  margin-right: -1px;
  background-size: 100% 100%;
}
@keyframes filmrun { to { transform: translateX(-50%); } }
.invite__body { padding: 60px 32px 0; text-align: center; }
.invite__cam { display: block; width: 44px; height: auto; margin: 0 auto 28px; opacity: 0.9; }
.invite__quote {
  margin: 0;
  font: 300 0.9375rem / 2 var(--fb);
  color: var(--on-dark);
  word-break: keep-all;
}
.invite__cite {
  margin: 18px 0 0;
  font: 400 0.75rem / 1 var(--fl);
  letter-spacing: 0.08em;
  color: var(--on-dark-muted);
}
.invite__msg {
  margin: 40px 0 0;
  font: 400 0.9375rem / 1.9 var(--fb);
  color: var(--gold);
  word-break: keep-all;
}

/* ---------- 03 now showing ---------- */
.showbox { padding: 40px var(--pad) 104px; display: grid; place-items: center; }
.marquee {
  position: relative;
  width: min(100%, 332px);
  padding: 18px 16px 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, #6e0a0a, #520000);
  box-shadow:
    0 40px 70px -28px rgba(0, 0, 0, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.marquee__bulbs { position: relative; height: 12px; margin: 0 2px; }
.marquee__bulbs::before, .marquee__bulbs::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 6px 6px, var(--gold-soft) 0 2.3px, rgba(201, 169, 110, 0.55) 2.5px 3.3px, transparent 3.8px);
  background-size: 22px 12px;
  background-repeat: repeat-x;
  animation: blink 1.5s steps(1, end) infinite;
}
.marquee__bulbs::after { background-position: 11px 0; animation-delay: 0.75s; }
@keyframes blink {
  0% { opacity: 1; filter: drop-shadow(0 0 4px rgba(241, 223, 181, 0.85)); }
  50% { opacity: 0.32; filter: none; }
  100% { opacity: 1; filter: drop-shadow(0 0 4px rgba(241, 223, 181, 0.85)); }
}
.marquee__sign {
  margin: 16px 0 14px;
  text-align: center;
  font: 400 1.125rem / 1 var(--fd);
  letter-spacing: 0.32em;
  padding-left: 0.32em;
  text-transform: uppercase;
  color: var(--gold-soft);
  text-shadow: 0 2px 14px rgba(241, 223, 181, 0.28);
}
.marquee__screen {
  position: relative;
  aspect-ratio: 446 / 590;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  margin-bottom: 16px;
}
.marquee__poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.8s var(--ease) 0.2s;
}
.marquee.is-in .marquee__poster { transform: none; }

/* ---------- sprocket divider ---------- */
.sprocket { position: relative; height: 26px; background: var(--ink); }
.sprocket::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  height: 10px;
  background: linear-gradient(90deg, var(--paper) 0 10px, transparent 10px) 6px 0 / 22px 10px repeat-x;
}
.sprocket--flip { background: var(--paper); }
.sprocket--flip::before { background-image: linear-gradient(90deg, var(--ink) 0 10px, transparent 10px); }
.guest + .ending .sprocket--flip { background: var(--paper-2); }

/* ---------- 04 our day ---------- */
.day { padding: 84px var(--pad) 96px; text-align: center; }
.count { display: flex; justify-content: center; align-items: center; gap: 8px; }
.count__cell {
  width: 66px;
  padding: 14px 6px 12px;
  display: grid;
  gap: 7px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--on-dark);
  box-shadow: 0 18px 30px -16px rgba(15, 15, 17, 0.55);
}
.count__num {
  font: 500 1.625rem / 1 var(--fl);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.count__num.is-tick { animation: tick 0.38s var(--ease); }
@keyframes tick { from { transform: translateY(-7px); opacity: 0.15; } to { transform: none; opacity: 1; } }
.count__lab {
  font: 500 0.6875rem / 1 var(--fl);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.count__sep { font: 400 1.25rem / 1 var(--fd); color: var(--gold-deep); }
.day__msg { margin: 30px 0 0; font: 400 0.9375rem / 1.7 var(--fb); color: var(--muted); }
.day__msg em { font: 400 1.125rem / 1 var(--fd); font-style: normal; color: var(--gold-deep); padding: 0 2px; }
.day__msg b { font-weight: 600; color: var(--text); }

/* ---------- 05 cast ---------- */
.cast { padding: 0 var(--pad) 96px; text-align: center; }
.cast__grid { display: grid; grid-template-columns: 1fr 1px 1fr; align-items: center; }
.cast__rule { display: block; height: 84px; background: var(--line); }
.cast__item { display: grid; gap: 12px; padding: 8px 0; }
.cast__parents { font: 300 0.8125rem / 1.5 var(--fb); color: var(--muted); }
.cast__name { font: 500 1.625rem / 1.2 var(--fb); letter-spacing: -0.02em; }
.cast__en {
  font: 500 0.6875rem / 1 var(--fl);
  letter-spacing: 0.22em;
  padding-left: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
@media (max-width: 359px) {
  .cast__grid { grid-template-columns: 1fr; gap: 20px; }
  .cast__rule { width: 28px; height: 1px; margin: 0 auto; }
}

/* ---------- 06 ticket ---------- */
.ticket { padding: 80px var(--pad) 100px; background: var(--paper-2); text-align: center; }
.ticket__title { display: block; width: 195px; height: auto; margin: 0 auto 36px; }
.ticket__scene { position: relative; display: grid; place-items: center; perspective: 1400px; }
.ticket__shadow {
  position: absolute;
  left: 50%;
  top: 22px;
  width: 262px;
  height: 500px;
  translate: -50% 0;
  border-radius: 18px;
  box-shadow: 0 46px 60px -22px rgba(20, 18, 14, 0.5);
  pointer-events: none;
}
.ticket__sway { position: relative; transform-style: preserve-3d; }
.ticket__sway.is-idle { animation: sway 6.5s ease-in-out infinite; }
@keyframes sway {
  0%, 100% { transform: rotateY(-7deg) rotateX(2deg); }
  50% { transform: rotateY(7deg) rotateX(-2deg); }
}
.ticket__card {
  position: relative;
  display: block;
  width: 285px;
  height: 540px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 1s var(--ease);
}
.ticket__card.is-flipped { transform: rotateY(180deg); }
.ticket__face {
  position: absolute;
  inset: 0;
  text-align: left;
  background: url(/movie/images/ticket1.png) center / 100% 100% no-repeat;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.ticket__face--back {
  background-image: url(../img/ticket2.png);
  transform: rotateY(180deg);
}
.ticket__date {
  position: absolute;
  left: 48px;
  top: 70px;
  max-width: 140px;
  font: 400 1.125rem / 28px var(--fl);
  color: #1d2422;
}
.ticket__place {
  position: absolute;
  left: 48px;
  bottom: 105px;
  font: 400 0.875rem / 1.4 var(--fb);
  color: #1d2422;
}
.ticket__addr { bottom: 85px; }
.ticket__hint { margin: 30px 0 0; font: 400 0.8125rem / 1 var(--fb); color: var(--gold-deep); transition: opacity 0.5s var(--ease); }
.ticket__hint.is-done { opacity: 0; }
@media (max-width: 359px) {
  .ticket__scene { zoom: 0.86; }
}

/* ---------- 07 gallery ---------- */
.gallery { padding: 84px 0 100px; }
.reel { width: 100%; padding: 10px 0 18px; }
.reel .swiper-slide {
  width: 250px;
  transform: scale(0.9);
  opacity: 0.4;
  transition: transform 0.8s var(--ease), opacity 0.8s var(--ease);
}
.reel .swiper-slide-active { transform: none; opacity: 1; }
.frame {
  position: relative;
  display: block;
  padding: 15px 9px;
  border-radius: 6px;
  background: #3a0000;
  box-shadow: 0 36px 50px -26px rgba(0, 0, 0, 0.95);
}
.frame::before, .frame::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  height: 7px;
  border-radius: 1px;
  background: linear-gradient(90deg, rgba(241, 223, 181, 0.32) 0 9px, transparent 9px) 0 0 / 20px 7px repeat-x;
}
.frame::before { top: 4px; }
.frame::after { bottom: 4px; }
.frame img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 2px;
}
.gallery__hint { margin: 30px 0 0; text-align: center; font: 400 0.8125rem / 1 var(--fb); color: var(--on-dark-muted); }
.pswp { --pswp-bg: #3a0000; }
.pswp__counter { font: 500 0.75rem / 1 var(--fl); letter-spacing: 0.1em; }

/* ---------- 08 location ---------- */
.location { padding: 84px var(--pad) 96px; text-align: center; }
.location__place { margin: 0; font: 500 1.0625rem / 1.4 var(--fb); }
.copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 400 0.8125rem / 1 var(--fb);
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, background 0.25s, transform 0.15s;
}
.copy:hover { border-color: var(--gold-deep); color: var(--text); background: rgba(201, 169, 110, 0.1); }
.copy:active { transform: scale(0.97); }
.copy svg { width: 14px; height: 14px; }
.copy--sm { margin: 0; padding: 7px 10px; font-size: 0.75rem; }
.map {
  position: relative;
  height: 250px;
  margin-top: 32px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ink-2);
  isolation: isolate;
}
.map__canvas { position: absolute; inset: 0; }
.map__fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  color: var(--on-dark-muted);
  font: 400 0.75rem / 1.5 var(--fb);
  background: radial-gradient(60% 60% at 50% 40%, #7c1414, var(--ink-2));
}
.map__fallback img { width: 40px; height: auto; margin-bottom: 6px; }
.map__fallback strong { font: 500 0.875rem / 1.4 var(--fb); color: var(--on-dark); }
.map.is-ok:not(.is-fail) .map__fallback { display: none; }
.map__open {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px 7px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  font: 500 0.75rem / 1 var(--fb);
  box-shadow: 0 10px 22px -8px rgba(0, 0, 0, 0.55);
  transition: transform 0.15s;
}
.map__open:active { transform: scale(0.97); }
.map__open img { width: 20px; height: 20px; border-radius: 50%; }
.ways { margin-top: 18px; text-align: left; border-top: 1px solid var(--line); }
.way { border-bottom: 1px solid var(--line); }
.way__head {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 4px;
  border: 0;
  background: none;
  font: 500 0.9375rem / 1.3 var(--fb);
  color: var(--text);
  cursor: pointer;
}
.way__head svg { width: 18px; height: 18px; color: var(--muted); transition: transform 0.5s var(--ease); }
.way__head[aria-expanded="true"] svg { transform: rotate(180deg); }
.way__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.way__head[aria-expanded="true"] + .way__body { grid-template-rows: 1fr; }
.way__inner { overflow: hidden; }
.way dl { margin: 0; padding: 0 4px 18px; }
.way dl + dl { padding-top: 16px; border-top: 1px dashed var(--line); }
.way dt { font: 500 0.875rem / 1.4 var(--fb); }
.way dd { margin: 6px 0 0; font: 300 0.8125rem / 1.75 var(--fb); color: var(--muted); }

/* ---------- tabs ---------- */
.tabs__list { position: relative; display: flex; border-bottom: 1px solid var(--line); }
.tabs__list [role="tab"] {
  flex: 1;
  padding: 14px 0;
  border: 0;
  background: none;
  font: 500 0.875rem / 1 var(--fb);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.25s;
}
.tabs__list [role="tab"][aria-selected="true"] { color: var(--text); }
.tabs__ink {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0;
  background: var(--gold-deep);
  transition: transform 0.5s var(--ease);
}
.tabs__panels { display: grid; margin-top: 24px; }
.tabs__panel {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.55s var(--ease), visibility 0s 0.4s;
}
.tabs__panel.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

/* ---------- 09 information ---------- */
.info { padding: 0 var(--pad) 96px; text-align: center; }
.info__img {
  display: block;
  width: 100%;
  aspect-ratio: 686 / 380;
  object-fit: cover;
  border-radius: 12px;
}
.info__txt { margin: 22px 0 0; font: 300 0.875rem / 1.85 var(--fb); color: var(--muted); word-break: keep-all; }

/* ---------- 10 account ---------- */
.account { padding: 0 var(--pad) 96px; text-align: center; }
.account__intro { margin: 0 0 8px; font: 300 0.9375rem / 1.8 var(--fb); color: var(--muted); }
.acct { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; text-align: left; }
.acct__row {
  padding: 16px 16px 14px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 14px 30px -20px rgba(24, 24, 27, 0.4);
}
.acct__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 28px; }
.acct__who { display: flex; align-items: center; gap: 8px; }
.acct__tag {
  padding: 4px 7px;
  border-radius: 6px;
  background: var(--paper-2);
  color: var(--gold-deep);
  font: 500 0.6875rem / 1 var(--fb);
}
.acct__name { font: 500 1rem / 1 var(--fb); }
.acct__tel {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  transition: border-color 0.25s, background 0.25s;
}
.acct__tel:hover { border-color: var(--gold-deep); background: rgba(201, 169, 110, 0.12); }
.acct__tel svg { width: 14px; height: 14px; }
.acct__pay {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  background: #fee500;
  color: #191919;
  font: 600 0.6875rem / 1 var(--fb);
  transition: transform 0.15s;
}
.acct__pay:active { transform: scale(0.97); }
.acct__num {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 8px 8px 12px;
  border-radius: 8px;
  background: var(--paper);
  font: 400 0.875rem / 1 var(--fl);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* ---------- 11 guest book ---------- */
.guest { padding: 84px 0 96px; background: var(--paper-2); text-align: center; }
.notes {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.notes__track {
  display: flex;
  gap: 14px;
  width: max-content;
  padding: 10px 0 18px;
  animation: notesrun 42s linear infinite;
}
.notes:hover .notes__track, .notes:active .notes__track { animation-play-state: paused; }
@keyframes notesrun { to { transform: translateX(calc(-50% - 7px)); } }
.note {
  position: relative;
  width: 250px;
  display: grid;
  gap: 14px;
  padding: 22px 20px 18px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 16px 32px -22px rgba(24, 24, 27, 0.45);
  text-align: left;
}
.note p {
  margin: 0;
  font: 400 0.8125rem / 1.75 var(--fb);
  color: var(--text);
  word-break: keep-all;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.note footer { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.note__from { font: 400 0.75rem / 1 var(--fb); color: var(--muted); }
.note__from i { font: italic 400 0.8125rem / 1 var(--fd); color: var(--gold-deep); margin-right: 5px; }
.note time { font: 500 0.6875rem / 1 var(--fl); letter-spacing: 0.06em; color: var(--muted); }
.btn {
  margin-top: 32px;
  padding: 14px 28px;
  border: 1px solid var(--gold-deep);
  border-radius: 999px;
  background: transparent;
  color: var(--gold-deep);
  font: 500 0.875rem / 1 var(--fb);
  cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.15s;
}
.btn:hover { background: var(--gold-deep); color: #fff; }
.btn:active { transform: scale(0.97); }

/* ---------- 12 ending ---------- */
.ending {
  position: relative;
  padding: 0 0 0;
  overflow: hidden;
  background: radial-gradient(90% 60% at 50% 100%, #7c1414, var(--ink) 70%);
}
.ending .sprocket--flip { margin-bottom: 72px; }
.screen {
  position: relative;
  width: min(347px, calc(100% - 48px));
  aspect-ratio: 347 / 261;
  margin: 0 auto;
  -webkit-mask-image: linear-gradient(#000 0 0), url(/movie/images/img_ending_frame.png);
  -webkit-mask-size: 100% 100%, 108% 110%;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-composite: xor;
  mask-image: linear-gradient(#000 0 0), url(/movie/images/img_ending_frame.png);
  mask-size: 100% 100%, 108% 110%;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-composite: exclude;
}
.screen__frames img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s var(--ease-io);
}
.screen__frames img.is-on { opacity: 1; }
.screen__tbc {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 150px;
  height: auto;
  translate: -50% -50%;
  opacity: 0;
  scale: 0.92;
  transition: opacity 1s var(--ease), scale 1.3s var(--ease);
}
.screen.is-end .screen__tbc { opacity: 1; scale: 1; }
.credits { position: relative; z-index: 1; padding: 72px 32px 0; text-align: center; }
.credits__h {
  margin: 0 0 28px;
  font: 400 0.875rem / 1 var(--fd);
  letter-spacing: 0.34em;
  padding-left: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
}
.credits__list { margin: 0 0 56px; display: grid; gap: 16px; }
.credits__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; align-items: start; }
.credits__row dt, .credits__row dd { margin: 0; display: grid; gap: 4px; }
.credits__row dt { text-align: right; color: var(--on-dark-muted); }
.credits__row dd { text-align: left; color: var(--on-dark); }
.credits__row dt span:first-child, .credits__row dd span:first-child {
  font: 500 0.6875rem / 1.2 var(--fl);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.credits__row dt span:last-child, .credits__row dd span:last-child { font: 400 0.8125rem / 1.3 var(--fb); }
.credits__logo { display: block; width: 110px; height: auto; margin: 0 auto 44px; opacity: 0.55; }
.ending__sns {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 14px;
  padding-bottom: 190px;
}
.sns {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  color: var(--on-dark);
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s, transform 0.15s;
}
.sns:hover { border-color: var(--gold); background: rgba(201, 169, 110, 0.12); }
.sns:active { transform: scale(0.96); }
.sns svg { width: 18px; height: 18px; }
.ending__seats {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 300px;
  background-image: linear-gradient(var(--ink), var(--ink)), url(/movie/images/img_footer_seat.png);
  background-size: 100% 100%, cover;
  background-position: center, center bottom;
  background-repeat: no-repeat;
  background-blend-mode: screen, normal;
  -webkit-mask-image: linear-gradient(transparent, #000 55%);
  mask-image: linear-gradient(transparent, #000 55%);
  pointer-events: none;
}

/* ---------- floating: music ---------- */
.hud {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 14px);
  right: 14px;
  z-index: 60;
}
@media (min-width: 480px) {
  .hud { top: 62px; right: calc(50% - var(--w) / 2 + 14px); }
}
.music {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 34px;
  padding: 0 13px 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(60, 0, 0, 0.62);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  font: 500 0.6875rem / 1 var(--fl);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.3s;
}
.music:hover { border-color: rgba(255, 255, 255, 0.5); }
.music.is-hidden { opacity: 0; transform: translateY(-10px); pointer-events: none; }
.music__eq { display: flex; align-items: flex-end; gap: 2px; height: 12px; }
.music__eq i { width: 2px; height: 12px; border-radius: 1px; background: var(--gold); transform: scaleY(0.25); transform-origin: bottom; transition: transform 0.3s; }
.music.is-playing .music__eq i { animation: eq 1.05s ease-in-out infinite; }
.music.is-playing .music__eq i:nth-child(2) { animation-delay: 0.16s; }
.music.is-playing .music__eq i:nth-child(3) { animation-delay: 0.32s; }
.music.is-playing .music__eq i:nth-child(4) { animation-delay: 0.48s; }
@keyframes eq { 0%, 100% { transform: scaleY(0.25); } 50% { transform: scaleY(1); } }

/* ---------- floating: top ---------- */
.totop {
  position: fixed;
  right: 14px;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 18px);
  z-index: 60;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(251, 249, 245, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--text);
  box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.4s var(--ease);
}
.totop.is-show { opacity: 1; transform: none; pointer-events: auto; }
.totop svg { width: 18px; height: 18px; }
@media (min-width: 480px) { .totop { right: calc(50% - var(--w) / 2 + 14px); } }

/* ---------- share sheet ---------- */
.sheet { position: fixed; inset: 0; z-index: 90; }
.sheet[hidden] { display: none; }
.sheet__dim { position: absolute; inset: 0; background: rgba(36, 0, 0, 0.66); opacity: 0; transition: opacity 0.35s; }
.sheet__panel {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(100%, var(--w));
  translate: -50% 0;
  transform: translateY(100%);
  padding: 20px 24px calc(env(safe-area-inset-bottom, 0px) + 30px);
  border-radius: 22px 22px 0 0;
  background: var(--paper);
  color: var(--text);
  box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, 0.6);
  transition: transform 0.55s var(--ease);
}
.sheet.is-open .sheet__dim { opacity: 1; }
.sheet.is-open .sheet__panel { transform: none; }
.sheet__head { display: flex; justify-content: space-between; align-items: center; }
.sheet__head h3 { margin: 0; font: 400 1.25rem / 1 var(--fd); letter-spacing: 0.02em; }
.sheet__close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.25s;
}
.sheet__close:hover { background: rgba(24, 24, 27, 0.06); }
.sheet__close svg { width: 18px; height: 18px; }
.sheet__opts { display: flex; justify-content: center; gap: 40px; margin-top: 22px; }
.sheet__opt {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 6px;
  border: 0;
  background: none;
  font: 400 0.8125rem / 1 var(--fb);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.15s;
}
.sheet__opt:active { transform: scale(0.96); }
.sheet__opt img { width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 12px 22px -12px rgba(0, 0, 0, 0.4); }

/* ---------- toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 78px);
  z-index: 95;
  max-width: calc(100% - 40px);
  translate: -50% 0;
  transform: translateY(12px);
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(97, 0, 0, 0.95);
  color: var(--on-dark);
  font: 400 0.8125rem / 1.45 var(--fb);
  text-align: center;
  box-shadow: 0 16px 34px -12px rgba(0, 0, 0, 0.65);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.45s var(--ease);
}
.toast.is-show { opacity: 1; transform: none; }
.toast b { display: block; margin-top: 2px; font-weight: 500; color: #fff; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .intro { display: none; }
  html.js .rv { transform: none; transition: opacity 0.4s ease; }
  html.js .cover [data-seq] { transform: none; transition: opacity 0.4s ease; }
  html.js .cover:not(.is-live) .cover__img { transform: none; }
  .cover__img { transition: none; }
  .film__track, .notes__track, .marquee__bulbs::before, .marquee__bulbs::after,
  .ticket__sway.is-idle, .cover__scroll i, .music.is-playing .music__eq i, .count__num.is-tick { animation: none; }
  .marquee__poster, .reel .swiper-slide, .tabs__panel, .way__body, .ticket__card, .screen__tbc, .screen__frames img { transition-duration: 0.01s; }
}

/* ---------- 실제 정보 반영 추가 규칙 (지도 임베드 · 계좌 안내 · 방명록 저장 · 시트 폼 · 엔딩) ---------- */
.map__canvas iframe { display: block; width: 100%; height: 100%; border: 0; filter: saturate(0.85); }
.map__naver { position: absolute !important; inset: 0; width: 100%; height: 100%; z-index: 2; }
.map__naver[hidden] { display: none !important; }
/* 지도 마커: 마퀴 라벨 + 필름 핀 */
.nvmk { width: 240px; height: 96px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; }
.nvmk__lbl { padding: 7px 14px 8px; border: 1px solid var(--gold); border-radius: 999px; background: var(--ink); color: var(--on-dark); font: 500 0.75rem / 1.3 var(--fb); white-space: nowrap; text-align: center; box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.7); }
.nvmk__lbl i { display: block; margin-bottom: 3px; font: 500 0.5625rem / 1 var(--fl); letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }
.nvmk__pin { display: block; width: 40px; height: 38px; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.35)); animation: pinDrop 2.2s var(--ease) infinite; }
@keyframes pinDrop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.map__open--r { left: auto; right: 12px; }
.acct__note { margin: 14px 0 0; font: 400 0.75rem / 1.6 var(--fb); color: var(--muted); text-align: center; }
.notes--static .notes__track { width: 100%; justify-content: center; flex-wrap: wrap; animation: none; }
.note--empty { width: 100%; max-width: 320px; }
.note--empty p { text-align: center; color: var(--muted); }
.sheet__form { display: grid; gap: 10px; margin-top: 20px; }
.sheet__form input, .sheet__form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  font: 400 0.9375rem / 1.5 var(--fb);
}
.sheet__form textarea { resize: vertical; min-height: 96px; }
.sheet__form input:focus, .sheet__form textarea:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.25); }
.sheet__form input::placeholder, .sheet__form textarea::placeholder { color: var(--muted); }
.btn--full { width: 100%; margin-top: 4px; }
.sheet__opt .ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: #fff; box-shadow: 0 12px 22px -12px rgba(0, 0, 0, 0.4); }
.sheet__opt .ico svg { width: 24px; height: 24px; }
.credits__fin { margin: -20px 0 22px; font: italic 400 1.0625rem / 1.4 var(--fd); color: var(--gold); }
.credits__more {
  display: inline-block;
  margin: 0 0 44px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-dark);
  font: 500 0.6875rem / 1 var(--fl);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  text-decoration: none;
}
.credits__more:hover { color: var(--on-dark); }
