/* ==========================================================================
   Lumière Moments — event film studio
   Editorial / cinematic system. No framework.
   ========================================================================== */

:root {
  --ivory: #f6f2ea;
  --paper: #fbf9f4;
  --paper-2: #f1ece1;
  --ink: #16130f;
  --ink-2: #332d26;
  --ink-soft: #6b6357;
  --champagne: #b08a5a;
  --champagne-soft: #d8c3a4;
  --line: rgba(22, 19, 15, 0.14);
  --line-soft: rgba(22, 19, 15, 0.08);
  --white: #fffdf9;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --nav-h: 78px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

::selection { background: var(--ink); color: var(--ivory); }

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0;
}

h1 { font-size: clamp(44px, 7.2vw, 104px); }
h2 { font-size: clamp(34px, 4.6vw, 68px); }
h3 { font-size: clamp(24px, 2.4vw, 34px); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--champagne);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow.center::after {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.lede {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.7;
  color: var(--ink-soft);
  font-weight: 300;
}

.serif-italic { font-family: var(--serif); font-style: italic; }

/* ---------- Layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(72px, 10vw, 148px); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--ink); color: var(--ivory); }
.section--dark .lede { color: rgba(246, 242, 234, 0.66); }
.section--dark .eyebrow { color: var(--champagne-soft); }

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(44px, 5vw, 76px);
}
.section-head h2 { max-width: 16ch; }
.section-head .lede { max-width: 42ch; padding-bottom: 6px; }
@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; gap: 22px; }
}

/* ---------- Buttons ---------- */

.btn {
  --bg: var(--ink);
  --fg: var(--ivory);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 17px 34px;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--bg);
  border-radius: 0;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s var(--ease);
  overflow: hidden;
}
.btn:hover { background: transparent; color: var(--bg); }
.btn--ghost {
  --bg: transparent;
  --fg: var(--ink);
  border-color: rgba(22, 19, 15, 0.28);
}
.btn--ghost:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn--light {
  --bg: var(--ivory);
  --fg: var(--ink);
  border-color: var(--ivory);
}
.btn--light:hover { background: transparent; color: var(--ivory); }
.btn--line-light {
  --bg: transparent;
  --fg: var(--ivory);
  border-color: rgba(246, 242, 234, 0.34);
}
.btn--line-light:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(22, 19, 15, 0.28);
  padding-bottom: 6px;
  transition: gap 0.4s var(--ease), border-color 0.4s var(--ease);
}
.link-arrow:hover { gap: 18px; border-color: var(--ink); }
.link-arrow::after { content: "→"; font-size: 13px; }

/* ---------- Top bar + nav ---------- */

.topbar {
  background: var(--ink);
  color: rgba(246, 242, 234, 0.78);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  padding: 9px 16px;
}
.topbar a { color: var(--champagne-soft); border-bottom: 1px solid rgba(216, 195, 164, 0.4); }

.nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(246, 242, 234, 0.82);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--line-soft); }
.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  gap: 5px;
}
.brand__name {
  font-family: var(--serif);
  font-size: 23px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}
.brand__sub {
  font-size: 8.5px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 38px);
}
.nav__links a {
  position: relative;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding-block: 6px;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transition: right 0.45s var(--ease);
}
.nav__links a:hover::after { right: 0; }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__cta .btn { padding: 13px 24px; font-size: 10px; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 1px solid var(--line);
  cursor: pointer;
  position: relative;
}
.nav__toggle span {
  position: absolute; left: 12px; right: 12px; height: 1px; background: var(--ink);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.nav__toggle span:nth-child(1) { top: 17px; }
.nav__toggle span:nth-child(2) { top: 22px; }
.nav__toggle span:nth-child(3) { top: 27px; }
body.nav-open .nav__toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.nav-open .nav__toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav__toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.nav__drawer {
  position: fixed;
  inset: calc(var(--nav-h) + 34px) 0 0;
  background: var(--ivory);
  z-index: 89;
  padding: 34px var(--gutter) 48px;
  display: none;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--line-soft);
}
.nav__drawer a {
  font-family: var(--serif);
  font-size: 30px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}
.nav__drawer .btn { margin-top: 28px; }
body.nav-open .nav__drawer { display: flex; }

@media (max-width: 1040px) {
  .nav__links { display: none; }
  .nav__cta .btn { display: none; }
  .nav__toggle { display: block; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h) - 34px);
  display: flex;
  align-items: flex-end;
  background: #0e0c0a;
  color: var(--ivory);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media video,
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.04);
  animation: heroDrift 26s var(--ease-soft) infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.09) translate3d(0, -1.4%, 0); }
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 8, 6, 0.55) 0%, rgba(10, 8, 6, 0.12) 32%, rgba(10, 8, 6, 0.55) 72%, rgba(10, 8, 6, 0.88) 100%),
    radial-gradient(120% 80% at 50% 40%, transparent 40%, rgba(10, 8, 6, 0.5) 100%);
}
.hero__grain {
  position: absolute; inset: 0; z-index: 2; opacity: 0.16; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-block: clamp(48px, 8vh, 96px) clamp(40px, 6vh, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}
.hero__title {
  font-size: clamp(44px, 6.3vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.hero__title em {
  font-style: italic;
  color: var(--champagne-soft);
}
.hero__copy { max-width: 38ch; }
.hero__copy p {
  font-size: clamp(15px, 1.25vw, 17.5px);
  line-height: 1.75;
  color: rgba(246, 242, 234, 0.82);
  font-weight: 300;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__meta {
  display: flex;
  gap: clamp(18px, 3vw, 40px);
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(246, 242, 234, 0.2);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 242, 234, 0.66);
}
.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 34px;
  z-index: 3;
  writing-mode: vertical-rl;
  font-size: 9.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(246, 242, 234, 0.6);
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero__scroll::after {
  content: "";
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, rgba(246, 242, 234, 0.7), transparent);
  animation: scrollPulse 2.4s var(--ease-soft) infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.6); opacity: 0.5; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
  .hero { min-height: 88svh; }
}

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line-soft);
  background: var(--paper);
  padding-block: 15px;
}
.marquee__track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee__track span {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 48px;
  white-space: nowrap;
}
.marquee__track span::after {
  content: "✦";
  color: var(--champagne);
  font-size: 11px;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Work grid ---------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(14px, 1.6vw, 26px);
}
.work-card {
  position: relative;
  grid-column: span 4;
  background: #0d0b09;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  cursor: pointer;
  color: var(--ivory);
  isolation: isolate;
}
.work-card--wide { grid-column: span 8; aspect-ratio: 16 / 10; }
.work-card--half { grid-column: span 6; aspect-ratio: 16 / 11; }
.work-card video,
.work-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease), opacity 0.8s;
  z-index: 0;
}
.work-card::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10, 8, 6, 0) 35%, rgba(10, 8, 6, 0.82) 100%);
  transition: opacity 0.6s;
}
.work-card:hover img,
.work-card:hover video { transform: scale(1.045); }
.work-card__body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: clamp(18px, 2vw, 30px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.work-card__cat {
  font-size: 9.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--champagne-soft);
  margin-bottom: 8px;
  display: block;
}
.work-card__title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.12;
}
.work-card__title small {
  display: block;
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 242, 234, 0.6);
  margin-top: 8px;
}
.work-card__play {
  flex: 0 0 auto;
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(246, 242, 234, 0.5);
  display: grid; place-items: center;
  font-size: 14px;
  transition: background 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s;
  backdrop-filter: blur(4px);
}
.work-card:hover .work-card__play { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.work-card__dur {
  position: absolute; top: 18px; right: 20px; z-index: 2;
  font-size: 9.5px; letter-spacing: 0.18em;
  color: rgba(246, 242, 234, 0.8);
  border: 1px solid rgba(246, 242, 234, 0.35);
  padding: 5px 10px;
  backdrop-filter: blur(6px);
}
@media (max-width: 860px) {
  .work-card, .work-card--wide, .work-card--half { grid-column: span 12; aspect-ratio: 4 / 3; }
}

/* ---------- Intro / split ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(30px, 6vw, 96px);
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--paper-2);
}
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure--tall { aspect-ratio: 3 / 4; }
.figure__cap {
  position: absolute; left: 0; bottom: 0;
  background: var(--ivory);
  padding: 12px 18px;
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.stat b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 8px;
}
.stat span {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Pricing ---------- */

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.price {
  background: var(--paper);
  padding: clamp(24px, 2.4vw, 38px);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background 0.5s var(--ease);
}
.price:hover { background: var(--white); }
.price--featured { background: var(--ink); color: var(--ivory); }
.price--featured:hover { background: #1e1a15; }
.price__tag {
  font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--champagne); margin-bottom: 18px;
}
.price--featured .price__tag { color: var(--champagne-soft); }
.price__name {
  font-family: var(--serif);
  font-size: clamp(22px, 1.9vw, 27px);
  line-height: 1.15;
  margin-bottom: 10px;
  min-height: 2.3em;
}
.price__amount {
  font-family: var(--serif);
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 1;
  margin-bottom: 4px;
}
.price__amount sup { font-size: 0.42em; vertical-align: super; letter-spacing: 0.02em; }
.price__note {
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 22px;
}
.price--featured .price__note { color: rgba(246, 242, 234, 0.6); }
.price__list {
  list-style: none; margin: 0 0 26px; padding: 0;
  font-size: 13.5px; line-height: 1.55;
  color: var(--ink-2);
  display: grid; gap: 10px;
  flex: 1;
}
.price--featured .price__list { color: rgba(246, 242, 234, 0.82); }
.price__list li { display: flex; gap: 10px; }
.price__list li::before {
  content: "—";
  color: var(--champagne);
  flex: 0 0 auto;
}
.price .btn { width: 100%; padding: 15px 18px; font-size: 10px; }
.price--featured .btn { --bg: var(--ivory); --fg: var(--ink); border-color: var(--ivory); }
.price--featured .btn:hover { background: transparent; color: var(--ivory); }
@media (max-width: 1080px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .price-grid { grid-template-columns: 1fr; } }

.addons {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: 12.5px;
  color: var(--ink-soft);
}
.addons span { display: inline-flex; gap: 8px; align-items: baseline; }
.addons b { color: var(--ink); font-weight: 500; }

/* ---------- Invitations ---------- */

.invite-section { overflow: hidden; }
.invite-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: center;
}
@media (max-width: 940px) { .invite-layout { grid-template-columns: 1fr; } }

.phone {
  position: relative;
  width: min(330px, 78vw);
  aspect-ratio: 9 / 19.2;
  margin-inline: auto;
  background: #0b0a09;
  border-radius: 44px;
  padding: 11px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(246, 242, 234, 0.12) inset;
}
.phone__screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: var(--paper);
}
.phone__notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 22px; background: #0b0a09; border-radius: 20px; z-index: 5;
}
.phone--float { animation: phoneFloat 9s var(--ease-soft) infinite; }
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(-1.2deg); }
  50% { transform: translateY(-14px) rotate(0.6deg); }
}

.tpl-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.tpl-pill {
  border: 1px solid rgba(246, 242, 234, 0.28);
  background: transparent;
  color: rgba(246, 242, 234, 0.75);
  padding: 10px 16px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.35s var(--ease);
}
.tpl-pill.is-active, .tpl-pill:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }

/* ---------- Process ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border-top: 1px solid var(--line);
}
.step {
  background: var(--ivory);
  padding: clamp(22px, 2.4vw, 34px) clamp(18px, 2vw, 28px);
}
.step__no {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--champagne);
  margin-bottom: 26px;
  display: block;
}
.step h3 { font-size: clamp(20px, 1.8vw, 25px); margin-bottom: 12px; }
.step p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  background: none; border: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(19px, 1.7vw, 25px);
  line-height: 1.25;
}
.faq__q i {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  position: relative;
  transition: transform 0.45s var(--ease);
}
.faq__q i::before, .faq__q i::after {
  content: ""; position: absolute; background: var(--ink-soft); left: 50%; top: 50%;
}
.faq__q i::before { width: 13px; height: 1px; transform: translate(-50%, -50%); }
.faq__q i::after { width: 1px; height: 13px; transform: translate(-50%, -50%); transition: opacity 0.3s; }
.faq__item.is-open .faq__q i { transform: rotate(90deg); }
.faq__item.is-open .faq__q i::after { opacity: 0; }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--ease), opacity 0.4s;
  opacity: 0;
}
.faq__item.is-open .faq__a { max-height: 420px; opacity: 1; }
.faq__a p { max-width: 70ch; padding-bottom: 26px; color: var(--ink-soft); font-size: 15px; }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  background: var(--ink);
  color: var(--ivory);
  overflow: hidden;
  text-align: center;
  padding-block: clamp(80px, 12vw, 150px);
}
.cta-band__bg {
  position: absolute; inset: 0;
  opacity: 0.32;
  background-size: cover; background-position: center;
  filter: saturate(0.7);
}
.cta-band > .wrap { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(36px, 5.4vw, 76px); margin-bottom: 18px; }
.cta-band h2 em { font-style: italic; color: var(--champagne-soft); }
.cta-band p { color: rgba(246, 242, 234, 0.7); max-width: 46ch; margin: 0 auto 32px; }
.cta-band .hero__actions { justify-content: center; }

/* ---------- Footer ---------- */

.footer {
  background: var(--ink);
  color: rgba(246, 242, 234, 0.72);
  padding-block: clamp(52px, 7vw, 88px) 32px;
  font-size: 13px;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.7fr));
  gap: clamp(28px, 5vw, 64px);
  padding-bottom: clamp(38px, 5vw, 64px);
  border-bottom: 1px solid rgba(246, 242, 234, 0.14);
}
.footer .brand__name { color: var(--ivory); }
.footer .brand__sub { color: rgba(246, 242, 234, 0.5); }
.footer__blurb { margin-top: 20px; max-width: 34ch; color: rgba(246, 242, 234, 0.55); font-size: 12.5px; line-height: 1.7; }
.footer h4 {
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(246, 242, 234, 0.45);
  margin-bottom: 18px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer a:hover { color: var(--ivory); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between;
  padding-top: 26px;
  font-size: 11px;
  color: rgba(246, 242, 234, 0.42);
  letter-spacing: 0.04em;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
@media (max-width: 860px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brandcol { grid-column: span 2; }
}

/* ---------- Reveal ---------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__media video, .hero__media img, .phone--float, .marquee__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Inner pages (order, legal, builder)
   ========================================================================== */

.page-head {
  padding-block: clamp(48px, 7vw, 92px) clamp(30px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.page-head h1 { font-size: clamp(38px, 5.4vw, 72px); margin-top: 16px; }
.page-head p { max-width: 56ch; color: var(--ink-soft); margin-top: 18px; }

.prose { max-width: 78ch; }
.prose h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 2.2em 0 0.6em; }
.prose h3 { font-size: 20px; margin: 1.8em 0 0.5em; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }
.prose p, .prose li { color: var(--ink-2); font-size: 15px; line-height: 1.75; }
.prose ul, .prose ol { padding-left: 1.1em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 14px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.prose a { border-bottom: 1px solid rgba(22, 19, 15, 0.3); }
.prose .muted { color: var(--ink-soft); font-size: 13px; }

/* ---------- Forms ---------- */

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 940px) { .form-grid { grid-template-columns: 1fr; } }

.field { margin-bottom: 26px; }
.field label, .field-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 9px;
}
.field .hint { font-size: 11.5px; color: var(--ink-soft); margin-top: 7px; letter-spacing: 0; text-transform: none; }
.input, .select, .textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(22, 19, 15, 0.26);
  border-radius: 0;
  padding: 11px 2px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.3s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}
.textarea { resize: vertical; min-height: 96px; line-height: 1.6; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2316130f' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 26px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice {
  position: relative;
  cursor: pointer;
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-block;
  border: 1px solid rgba(22, 19, 15, 0.22);
  padding: 11px 16px;
  font-size: 12px;
  letter-spacing: 0.04em;
  transition: all 0.3s var(--ease);
  background: var(--paper);
}
.choice input:checked + span { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--champagne); outline-offset: 2px; }

.form-note { font-size: 12px; color: var(--ink-soft); line-height: 1.6; }
.form-status {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  font-size: 13.5px;
  display: none;
  background: var(--paper);
}
.form-status.is-error { display: block; border-color: #a4442f; color: #8c3826; background: #fdf5f2; }
.form-status.is-ok { display: block; border-color: #4a6b4f; color: #365138; background: #f3f8f3; }

.side-card {
  border: 1px solid var(--line);
  padding: clamp(22px, 2.6vw, 34px);
  background: var(--paper);
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}
.side-card h3 { font-size: 23px; margin-bottom: 16px; }
.side-card ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; font-size: 13.5px; color: var(--ink-soft); }
.side-card li { display: flex; gap: 10px; }
.side-card li::before { content: "—"; color: var(--champagne); }
.side-card .total {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid var(--line); padding-top: 18px; margin-top: 6px;
}
.side-card .total b { font-family: var(--serif); font-size: 34px; font-weight: 400; }

/* ---------- Invitation builder ---------- */

.builder {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
@media (max-width: 1020px) { .builder { grid-template-columns: 1fr; } }

.builder__preview {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
@media (max-width: 1020px) { .builder__preview { position: static; order: -1; } }

.replay-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.replay-row .btn { padding: 11px 18px; font-size: 9.5px; }
.replay-row .btn[disabled] { opacity: .4; cursor: not-allowed; }
.replay-row .tiny { margin: 0; }

.builder__tabs { display: flex; gap: 8px; margin-bottom: 26px; flex-wrap: wrap; }
.panel { display: none; }
.panel.is-active { display: block; }

.tpl-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 30px; }
.tpl-card {
  border: 1px solid rgba(22, 19, 15, 0.16);
  background: var(--paper);
  padding: 0;
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.tpl-card.is-active { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.tpl-card__swatch { display: block; height: 74px; position: relative; overflow: hidden; }
.tpl-card__swatch span {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--serif); font-size: 15px; letter-spacing: 0.1em;
}
.tpl-card__label { display: block; padding: 10px 11px 12px; font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); line-height: 1.4; }

.photo-drop {
  border: 1px dashed rgba(22, 19, 15, 0.28);
  padding: 20px;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
  position: relative;
}
.photo-drop:hover { border-color: var(--ink); background: var(--paper); }
.photo-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.photo-drop img { max-height: 70px; margin: 0 auto 8px; object-fit: cover; }

.share-box {
  margin-top: 18px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 16px;
  display: none;
}
.share-box.is-visible { display: block; }
.share-box input {
  width: 100%; border: 0; background: transparent; font-size: 13px;
  padding: 8px 0; border-bottom: 1px solid var(--line); margin-bottom: 12px;
}
.share-box__row { display: flex; gap: 8px; }
.share-box__row .btn { padding: 12px 16px; font-size: 9.5px; flex: 1; }

/* Invitation render (phone screen) */
.inv {
  --inv-bg: #fbf8f2;
  --inv-ink: #2a2620;
  --inv-accent: #b08a5a;
  height: 100%;
  overflow-y: auto;
  background: var(--inv-bg);
  color: var(--inv-ink);
  scrollbar-width: none;
  font-family: var(--sans);
}
.inv::-webkit-scrollbar { display: none; }
.inv__photo {
  position: relative;
  height: 46%;
  min-height: 210px;
  background: linear-gradient(150deg, #e8dfd3, #d9cdbd);
  background-size: cover; background-position: center;
  display: grid; place-items: center;
  color: rgba(42, 38, 32, 0.35);
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
}
.inv__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.22));
}
.inv__body { padding: 26px 24px 40px; text-align: center; }

.inv--ivory { background: #fbf7ee; }
.inv--ivory .inv__kicker { font-family: var(--sans); font-size: 9px; letter-spacing: 0.34em; text-transform: uppercase; color: #a08a68; }
.inv--ivory .inv__names { font-family: "Cormorant Garamond", serif; font-size: 34px; line-height: 1.08; margin: 14px 0 4px; }
.inv--ivory .inv__rule { width: 46px; height: 1px; background: #c9b294; margin: 18px auto; }
.inv--ivory .inv__date { font-family: "Cormorant Garamond", serif; font-size: 16px; letter-spacing: 0.14em; text-transform: uppercase; }
.inv--ivory .inv__venue { font-size: 11.5px; letter-spacing: 0.06em; color: #6f6558; margin-top: 10px; line-height: 1.6; }
.inv--ivory .inv__msg { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 15px; color: #6b6153; margin-top: 20px; line-height: 1.6; }
.inv--ivory .inv__cta { border-color: #b9a184; color: #6b5a44; }

.inv--minimal { background: #ffffff; }
.inv--minimal .inv__body { text-align: left; padding-top: 30px; }
.inv--minimal .inv__kicker { font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: #111; border-bottom: 1px solid #111; display: inline-block; padding-bottom: 5px; }
.inv--minimal .inv__names { font-family: var(--sans); font-size: 27px; font-weight: 600; letter-spacing: -0.02em; margin: 18px 0 6px; line-height: 1.1; text-transform: uppercase; }
.inv--minimal .inv__rule { display: none; }
.inv--minimal .inv__date { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #111; }
.inv--minimal .inv__venue { font-size: 11.5px; color: #555; margin-top: 14px; }
.inv--minimal .inv__msg { font-size: 12.5px; color: #444; margin-top: 18px; line-height: 1.7; }
.inv--minimal .inv__cta { border-color: #111; color: #111; }
.inv--minimal .inv__rsvp { border-top: 1px solid #eee; }

.inv--botanical { background: #f4f7f1; color: #24331f; }
.inv--botanical .inv__body { background-image: radial-gradient(circle at 0 0, rgba(84, 110, 66, 0.09), transparent 42%), radial-gradient(circle at 100% 100%, rgba(84, 110, 66, 0.12), transparent 46%); }
.inv--botanical .inv__kicker { font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: #5d7550; }
.inv--botanical .inv__names { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 31px; line-height: 1.1; margin: 14px 0 6px; }
.inv--botanical .inv__rule { width: 60px; height: 1px; background: #7d9a6b; margin: 16px auto; position: relative; }
.inv--botanical .inv__rule::before { content: "❧"; position: absolute; left: 50%; top: -13px; transform: translateX(-50%); background: #f4f7f1; padding: 0 8px; font-size: 12px; color: #7d9a6b; }
.inv--botanical .inv__date { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #3f5233; }
.inv--botanical .inv__venue { font-size: 11.5px; color: #55664a; margin-top: 10px; }
.inv--botanical .inv__msg { font-family: "Cormorant Garamond", serif; font-size: 14.5px; font-style: italic; color: #4a5b40; margin-top: 18px; line-height: 1.65; }
.inv--botanical .inv__cta { border-color: #7d9a6b; color: #4c6340; }

/* --- Motion template looks: Royal Hanok Gate --- */
.inv--hanok { background: #f7f0e1; color: #2a2420; }
.inv__dancheong {
  height: 9px; flex: 0 0 auto;
  background: linear-gradient(90deg, #2f6f6a 0 12%, #c9a14a 12% 16%, #b3261e 16% 30%, #c9a14a 30% 34%, #2f6f6a 34% 50%, #c9a14a 50% 54%, #b3261e 54% 68%, #c9a14a 68% 72%, #2f6f6a 72% 86%, #c9a14a 86% 90%, #b3261e 90%) 0 0 / 150px 100%;
}
.inv--hanok .inv__body { padding-top: 22px; }
.inv__seal {
  display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px;
  background: #b3261e; color: #f7f0e1; font-family: "Cormorant Garamond", serif; font-size: 17px;
  border-radius: 4px; transform: rotate(-4deg); box-shadow: inset 0 0 0 2px rgba(255,255,255,.28);
}
.inv--hanok .inv__kicker { font-size: 9px; letter-spacing: .3em; text-transform: uppercase; color: #8a2b22; }
.inv--hanok .inv__names { font-family: "Cormorant Garamond", serif; font-weight: 400; font-size: 35px; line-height: 1.1; margin: 10px 0 4px; }
.inv--hanok .inv__rule { width: 54px; height: 1px; background: #c9a14a; margin: 16px auto; position: relative; }
.inv--hanok .inv__rule::before { content: "❖"; position: absolute; left: 50%; top: -11px; transform: translateX(-50%); background: #f7f0e1; padding: 0 7px; font-size: 10px; color: #b3261e; }
.inv--hanok .inv__date { font-family: "Cormorant Garamond", serif; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: #7e1610; }
.inv--hanok .inv__venue { font-size: 11.5px; color: #6b5d50; margin-top: 10px; line-height: 1.6; }
.inv--hanok .inv__msg { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 15.5px; color: #5d5145; margin-top: 20px; line-height: 1.7; }
.inv--hanok .inv__rsvp { border-top: 1px solid rgba(179,38,30,.22); }
.inv--hanok .inv__cta { border-color: #b3261e; color: #7e1610; }

/* --- Motion template looks: Silk Bojagi Reveal --- */
.inv--silk { background: #fbf4ea; color: #2c2620; }
.inv--silk .inv__photo { background-image: linear-gradient(135deg, #f3e6d3, #ddc9a8); }
.inv--silk .inv__photo::after { background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(150,115,70,.28)); }
.inv--silk .inv__body { background-image: radial-gradient(circle at 50% -10%, rgba(176,138,90,.16), transparent 55%); }
.inv--silk .inv__kicker { font-size: 9px; letter-spacing: .36em; text-transform: uppercase; color: #a3885f; }
.inv--silk .inv__names { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 36px; line-height: 1.08; margin: 14px 0 4px; }
.inv--silk .inv__rule { width: 40px; height: 1px; background: #c6a87c; margin: 18px auto; position: relative; }
.inv--silk .inv__rule::before, .inv--silk .inv__rule::after { content: ""; position: absolute; top: -2px; width: 5px; height: 5px; background: #c6a87c; transform: rotate(45deg); }
.inv--silk .inv__rule::before { left: -10px; }
.inv--silk .inv__rule::after { right: -10px; }
.inv--silk .inv__date { font-family: "Cormorant Garamond", serif; font-size: 15.5px; letter-spacing: .14em; text-transform: uppercase; color: #6f5b3d; }
.inv--silk .inv__venue { font-size: 11.5px; letter-spacing: .05em; color: #7a6a54; margin-top: 10px; line-height: 1.6; }
.inv--silk .inv__msg { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 15.5px; color: #6a5c48; margin-top: 20px; line-height: 1.65; }
.inv--silk .inv__rsvp { border-top: 1px solid rgba(176,138,90,.28); }
.inv--silk .inv__cta { border-color: #b08a5a; color: #6b5535; }

/* --- Motion template looks: Grand Prix Garage --- */
.inv--gp { background: #14161d; color: #f7f1e3; }
.inv__checker {
  height: 16px; flex: 0 0 auto;
  background: conic-gradient(#f7f1e3 25%, #16130f 0 50%, #f7f1e3 0 75%, #16130f 0) 0 0 / 16px 16px;
}
.inv--gp .inv__photo { background-image: linear-gradient(135deg, #262a36, #14161d); color: rgba(247,241,227,.38); }
.inv--gp .inv__photo::after { background: linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.62)); }
.inv--gp .inv__body { text-align: left; padding-top: 28px; }
.inv--gp .inv__kicker { font-size: 9px; letter-spacing: .28em; text-transform: uppercase; color: #f5bb3c; }
.inv--gp .inv__names { font-family: var(--sans); font-weight: 600; font-size: 29px; letter-spacing: -.02em; text-transform: uppercase; line-height: 1.06; margin: 12px 0 6px; }
.inv--gp .inv__rule { width: 100%; height: 3px; margin: 16px 0 18px; background: repeating-linear-gradient(90deg, #f5bb3c 0 14px, transparent 14px 28px); }
.inv--gp .inv__date { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #f7f1e3; }
.inv--gp .inv__venue { font-size: 11.5px; color: #a3a8bb; margin-top: 12px; line-height: 1.6; }
.inv--gp .inv__msg { font-size: 13px; color: #d6d2c6; margin-top: 18px; line-height: 1.7; }
.inv--gp .inv__rsvp { border-top: 1px solid rgba(247,241,227,.16); }
.inv--gp .inv__cta { border-color: #e8392b; background: #e8392b; color: #fff; }
.inv--gp .inv__meta { opacity: .55; }

.inv__rsvp { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(0,0,0,0.08); }
.inv__cta {
  display: inline-block;
  border: 1px solid currentColor;
  padding: 11px 22px;
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  background: transparent;
  cursor: pointer;
}
.inv__meta { margin-top: 22px; font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.45; }

.phone__screen .inv { height: 100%; }

.qr-wrap { display: grid; place-items: center; gap: 10px; }
.qr-wrap img, .qr-wrap canvas { width: 132px; height: 132px; background: #fff; padding: 8px; }

/* ==========================================================================
   Motion intro gates (Royal Hanok Gate · Silk Bojagi · Grand Prix Garage)
   One overlay, three mechanisms. Scales with its own container so the same
   markup works full-screen on /i/:id and inside the phone mock-up.
   ========================================================================== */

.lm-gate {
  position: absolute;
  inset: 0;
  z-index: 40;
  overflow: hidden;
  container-type: inline-size;
  font-family: var(--sans);
  color: #16130f;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
  transition: opacity .5s ease;
}
.lm-gate--fixed { position: fixed; z-index: 400; }
.lm-gate[hidden] { display: none; }
.lm-gate.is-fading { opacity: 0; pointer-events: none; }
.lm-gate:focus { outline: none; }
.lm-gate__inner { position: absolute; inset: 0; font-size: clamp(10px, 4.4cqw, 15px); }
.lm-gate--fixed .lm-gate__inner { font-size: clamp(12px, 1.05vw, 19px); }
.lm-gate__skip {
  position: absolute; z-index: 9;
  right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  font-family: var(--sans); font-size: 9px; letter-spacing: .2em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 999px; cursor: pointer;
  background: rgba(0, 0, 0, .22); color: #fff; border: 1px solid rgba(255, 255, 255, .55);
}
.lm-gate__skip:hover { background: rgba(0, 0, 0, .4); }
.lm-gate--silk .lm-gate__skip { background: rgba(255, 255, 255, .55); color: #5c4a30; border-color: rgba(120, 95, 60, .5); }
.lm-gate--silk .lm-gate__skip:hover { background: rgba(255, 255, 255, .85); }

/* ---------------- 1. Wax Seal Envelope (Classic Ivory) ---------------- */
.lm-gate--env { background: radial-gradient(92% 70% at 50% 28%, #fbf7ed, #f1e8d9 58%, #e4d8c3); }
.env__top { position: absolute; top: 8%; left: 0; right: 0; text-align: center; padding: 0 1.2em; }
.env__kicker { display: block; font-size: .62em; letter-spacing: .4em; text-transform: uppercase; color: #a08a68; }
.env__script { font-family: var(--serif); font-style: italic; font-size: 2.2em; line-height: 1.08; margin-top: .2em; color: #3b3226; }
.env__stage { position: absolute; left: 50%; top: 55%; width: min(78%, 82vmin); aspect-ratio: 1.52; transform: translate(-50%, -50%); perspective: 1200px; }
.env__card {
  position: absolute; left: 6%; right: 6%; top: 4%; bottom: 8%; z-index: 1;
  background: #fdfaf3; border: 1px solid rgba(120, 95, 60, .16); border-radius: .2em;
  display: grid; place-items: center; align-content: center; gap: .38em;
  text-align: center; padding: .7em;
  box-shadow: 0 .6em 1.4em rgba(90, 70, 40, .16);
  transform: translateY(0) scale(.97);
  transition: transform .85s cubic-bezier(.2, .9, .2, 1) .5s;
}
.is-open .env__card { transform: translateY(-44%) scale(1); }
.env__mono { display: grid; place-items: center; width: 1.7em; height: 1.7em; border: 1px solid #b08a5a; border-radius: 50%; color: #a07f4f; font-family: var(--serif); font-size: 1.1em; }
.env__card b { font-family: var(--serif); font-weight: 400; font-size: 1.35em; line-height: 1.2; }
.env__card b i { font-style: italic; opacity: .65; }
.env__when { font-size: .56em; letter-spacing: .24em; text-transform: uppercase; color: #8a7355; }
.env__body {
  position: absolute; inset: 0; z-index: 2; overflow: hidden;
  border-radius: .25em;
  background:
    repeating-linear-gradient(0deg, rgba(120, 95, 60, .045) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(120, 95, 60, .045) 0 1px, transparent 1px 3px),
    linear-gradient(160deg, #f6eee0, #ecdfca 55%, #e1d2b9);
  box-shadow: 0 .9em 1.8em rgba(90, 70, 40, .28), inset 0 0 0 1px rgba(255, 255, 255, .55);
}
.env__pocket { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255, 255, 255, .55), rgba(190, 165, 125, .25)); clip-path: polygon(0 100%, 50% 40%, 100% 100%); opacity: .8; }
.env__flap {
  position: absolute; inset: 0; z-index: 3; border-radius: .25em .25em 0 0;
  background: linear-gradient(180deg, #fbf6ea, #f1e6d1 68%, #e7d9bf);
  clip-path: polygon(0 0, 100% 0, 50% 66%);
  transform-origin: 50% 0;
  filter: drop-shadow(0 .1em .16em rgba(90, 70, 40, .2));
  transition: transform .8s cubic-bezier(.2, 1.2, .35, 1), opacity .35s ease .45s;
}
.is-dragging .env__flap { transform: rotateX(calc(var(--p, 0) * -176deg)); transition: none; }
.is-open .env__flap { transform: rotateX(-176deg); opacity: 0; }
.env__seal {
  position: absolute; left: 50%; top: 65%; width: 2.85em; height: 2.85em; margin: -1.43em 0 0 -1.43em; z-index: 4;
  border-radius: 47% 53% 51% 49% / 52% 48% 52% 48%;
  background: radial-gradient(circle at 35% 30%, #a3394a, #7b1f28 55%, #57101a);
  box-shadow: 0 .25em .45em rgba(60, 10, 15, .45), inset 0 .1em .2em rgba(255, 255, 255, .25);
  display: grid; place-items: center;
  transition: opacity .4s ease, transform .45s ease;
}
.env__seal i { font-style: normal; font-family: var(--serif); font-size: 1.12em; color: #e6c98d; text-shadow: 0 .05em .08em rgba(0, 0, 0, .4); }
.env__seal::after { content: ""; position: absolute; inset: .3em; border-radius: inherit; border: 1px solid rgba(230, 201, 141, .35); }
.is-open .env__seal { opacity: 0; transform: scale(1.65) rotate(14deg); }
.env__foot { position: absolute; left: 0; right: 0; bottom: 11%; display: grid; justify-items: center; gap: .3em; text-align: center; padding: 0 1.2em; }
.env__foot p { margin: 0; font-family: var(--serif); font-size: 1.1em; color: #5b4d3a; }
.env__hint { font-size: .58em; letter-spacing: .22em; text-transform: uppercase; color: #a08a68; }
.is-open .env__foot { opacity: 0; transition: opacity .3s; }

/* ---------------- 2. Architectural Curtain Split (Modern Minimalist) ---------------- */
.lm-gate--split { background: #0c0c0e; }
.split__reveal {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .55em;
  text-align: center; padding: 0 2em;
  background: radial-gradient(70% 55% at 50% 45%, #fdf9ef, #eee2cb 62%, #dbcbae);
}
.split__eyebrow { font-size: .58em; letter-spacing: .44em; text-transform: uppercase; color: #a5824f; }
.split__names { font-family: var(--serif); font-weight: 400; font-size: 2.3em; line-height: 1.1; color: #1a1713; }
.split__names i { font-style: italic; opacity: .55; font-size: .85em; }
.split__when { font-size: .6em; letter-spacing: .3em; text-transform: uppercase; color: rgba(26, 23, 19, .5); }
.split__panel {
  position: absolute; top: 0; bottom: 0; width: 50.6%; z-index: 2;
  display: grid; align-content: center; justify-items: center; gap: 1.1em;
  transition: transform .5s ease;
}
.split__panel.l {
  left: 0;
  background: radial-gradient(120% 70% at 100% 50%, rgba(200, 169, 122, .16), transparent 62%), linear-gradient(180deg, #171613, #211e1a 48%, #131211);
  box-shadow: inset -.5px 0 0 rgba(200, 169, 122, .55);
}
.split__panel.r {
  right: 0;
  background: radial-gradient(120% 70% at 0 50%, rgba(200, 169, 122, .16), transparent 62%), linear-gradient(180deg, #171613, #211e1a 48%, #131211);
  box-shadow: inset .5px 0 0 rgba(200, 169, 122, .55);
}
.is-dragging .split__panel.l { transform: translateX(calc(var(--p, 0) * -102%)); transition: none; }
.is-dragging .split__panel.r { transform: translateX(calc(var(--p, 0) * 102%)); transition: none; }
.is-open .split__panel { transition: transform 1.1s cubic-bezier(.76, 0, .24, 1); }
.is-open .split__panel.l { transform: translateX(-102%); }
.is-open .split__panel.r { transform: translateX(102%); }
.split__line { width: 1px; height: 22%; background: linear-gradient(transparent, rgba(200, 169, 122, .7), transparent); }
.split__mark { writing-mode: vertical-rl; font-size: .54em; letter-spacing: .42em; text-transform: uppercase; color: rgba(232, 220, 198, .72); }
.split__foot { position: absolute; left: 0; right: 0; bottom: 12%; z-index: 3; text-align: center; }
.split__foot span { font-size: .58em; letter-spacing: .34em; text-transform: uppercase; color: rgba(232, 220, 198, .6); }
.is-open .split__foot { opacity: 0; transition: opacity .3s; }

/* ---------------- 3. Silk Ribbon & Garden Gate (Botanical) ---------------- */
.lm-gate--garden { background: radial-gradient(78% 62% at 50% 32%, #f3f8f0, #e0ead8 56%, #c9d9bc); perspective: 1400px; }
.garden__inside { position: absolute; inset: 0; display: grid; place-items: center; }
.garden__card {
  width: min(64%, 300px); max-width: 78cqw;
  background: #fcfdf9; border: 1px solid rgba(78, 107, 70, .22); border-radius: .3em;
  padding: 1.3em .9em; text-align: center;
  display: grid; gap: .4em; justify-items: center;
  box-shadow: 0 .9em 2em rgba(52, 74, 46, .18);
}
.garden__leafmark { color: #8faa84; font-size: 1.25em; line-height: 1; }
.garden__card b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.4em; line-height: 1.2; color: #2a3a24; }
.garden__card b i { opacity: .55; }
.garden__when { font-size: .56em; letter-spacing: .24em; text-transform: uppercase; color: #6f8a63; }
.garden__arch {
  position: absolute; left: 50%; top: 47%; transform: translate(-50%, -50%);
  width: min(84%, 440px); height: min(76%, 600px);
  perspective: 1400px;
}
.garden__gate {
  position: absolute; top: 0; bottom: 0; width: 50%; z-index: 2;
  background:
    radial-gradient(90% 60% at 50% 0, rgba(255, 255, 255, .16), transparent 60%),
    repeating-linear-gradient(112deg, rgba(255, 255, 255, .09) 0 2px, transparent 2px 15px),
    repeating-linear-gradient(22deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 22px),
    linear-gradient(180deg, #9ab38d, #74905f 60%, #5c7452);
  box-shadow: 0 .6em 1.6em rgba(40, 60, 35, .3), inset 0 0 0 .3em rgba(255, 255, 255, .16);
  transition: transform .45s ease;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.garden__gate.l { left: 0; border-radius: 100% 0 0 .25em / 46% 0 0 .25em; transform-origin: 0 50%; box-shadow: 0 .6em 1.6em rgba(40, 60, 35, .3), inset -1px 0 0 rgba(46, 66, 40, .65), inset -2px 0 0 rgba(255, 255, 255, .14), inset 0 0 0 .3em rgba(255, 255, 255, .16); }
.garden__gate.r { right: 0; border-radius: 0 100% .25em 0 / 0 46% .25em 0; transform-origin: 100% 50%; box-shadow: 0 .6em 1.6em rgba(40, 60, 35, .3), inset 1px 0 0 rgba(46, 66, 40, .65), inset 2px 0 0 rgba(255, 255, 255, .14), inset 0 0 0 .3em rgba(255, 255, 255, .16); }
.is-dragging .garden__gate.l { transform: rotateY(calc(var(--p, 0) * -98deg)); transition: none; }
.is-dragging .garden__gate.r { transform: rotateY(calc(var(--p, 0) * 98deg)); transition: none; }
.is-open .garden__gate.l { transform: rotateY(-98deg); transition: transform 1.2s cubic-bezier(.5, 0, .2, 1) .42s; }
.is-open .garden__gate.r { transform: rotateY(98deg); transition: transform 1.2s cubic-bezier(.5, 0, .2, 1) .42s; }
.garden__vine { position: absolute; inset: 13% 17%; border: .15em solid rgba(255, 255, 255, .2); border-radius: 50% 50% 0 0 / 32% 32% 0 0; }
.garden__finial { position: absolute; top: -4%; left: 50%; transform: translateX(-50%); z-index: 3; font-size: 1.5em; color: #4f6845; transition: opacity .35s; }
.garden__bow {
  position: absolute; left: 50%; top: 50%; width: min(40%, 34vmin); z-index: 4;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 .3em .4em rgba(40, 60, 35, .35));
  transition: opacity .5s ease .1s, transform .6s cubic-bezier(.5, 0, .7, .3);
}
.garden__bow svg { display: block; width: 100%; height: auto; overflow: visible; }
.is-open .garden__bow { opacity: 0; transform: translate(-50%, 30%) rotate(9deg) scale(.85); }
.garden__foot { position: absolute; left: 0; right: 0; bottom: 3.5%; display: grid; justify-items: center; gap: .2em; text-align: center; z-index: 3; }
.garden__foot p { margin: 0; font-family: var(--serif); font-size: 1.02em; color: #3f5233; }
.garden__foot span { font-size: .56em; letter-spacing: .22em; text-transform: uppercase; color: #6f8a63; }
.is-open .garden__foot, .is-open .garden__finial { opacity: 0; transition: opacity .3s; }

/* ---------------- 4. Silk Bojagi Reveal ---------------- */
.lm-gate--silk { background: radial-gradient(82% 62% at 50% 36%, #fcf4e8, #efdec2 58%, #dfc9a4); }
.silk__top { position: absolute; top: 7.5%; left: 0; right: 0; text-align: center; padding: 0 1.2em; }
.silk__kicker { display: block; font-size: .7em; letter-spacing: .42em; text-transform: uppercase; color: #9d8257; }
.silk__script { font-family: var(--serif); font-style: italic; font-size: 2.5em; line-height: 1.05; margin-top: .16em; color: #2b2620; }
.silk__stage {
  position: absolute; left: 50%; top: 52%; width: min(64%, 56vmin);
  aspect-ratio: 1; transform: translate(-50%, -50%); perspective: 900px;
}
.silk__box { position: absolute; inset: 0; transform-style: preserve-3d; }
.silk__cloth {
  position: absolute; inset: -8%; border-radius: .4em;
  background: linear-gradient(135deg, #f0e2c9, #dfcba8 50%, #c9ad83);
  transform: rotate(45deg) scale(.74);
  box-shadow: 0 1.4em 2.6em rgba(110, 85, 50, .3);
  transition: transform 1.1s cubic-bezier(.3, 1.2, .4, 1) .3s, opacity .6s ease .9s;
}
.is-open .silk__cloth { transform: rotate(45deg) scale(1.16); opacity: 0; }
.silk__card {
  position: absolute; inset: 11%; z-index: 1;
  background: #fbf7ee; border-radius: .25em;
  box-shadow: 0 .6em 1.6em rgba(90, 70, 40, .26);
  display: grid; place-items: center; align-content: center; gap: .4em;
  padding: .8em; text-align: center;
  opacity: 0; transform: scale(.92);
  transition: opacity .55s ease .8s, transform .55s cubic-bezier(.2, 1.4, .4, 1) .8s;
}
.is-open .silk__card { opacity: 1; transform: scale(1); }
.silk__seal {
  display: grid; place-items: center; width: 2em; height: 2em; border-radius: 50%;
  border: 1px solid #b08a5a; color: #b08a5a; font-family: var(--serif); font-size: 1.4em; line-height: 1;
}
.silk__card b { font-family: var(--serif); font-weight: 400; font-size: 1.45em; line-height: 1.18; }
.silk__card b i { font-style: italic; opacity: .65; }
.silk__when { font-size: .62em; letter-spacing: .22em; text-transform: uppercase; color: #8a7355; }
.silk__flap {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #f2e5cd, #e0cca9 45%, #c6a980);
  transition: transform .5s cubic-bezier(.2, 1.4, .4, 1), opacity .45s ease;
}
.silk__flap::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .18) 0 2px, transparent 2px .55em);
}
.silk__flap.f-t { clip-path: polygon(0 0, 100% 0, 50% 52%); transform-origin: 50% 0; z-index: 3; }
.silk__flap.f-b { clip-path: polygon(0 100%, 100% 100%, 50% 48%); transform-origin: 50% 100%; filter: brightness(.93); z-index: 3; }
.silk__flap.f-l { clip-path: polygon(0 0, 0 100%, 52% 50%); transform-origin: 0 50%; filter: brightness(.97); z-index: 3; }
.silk__flap.f-r { clip-path: polygon(100% 0, 100% 100%, 48% 50%); transform-origin: 100% 50%; filter: brightness(.88); z-index: 3; }
.is-dragging .silk__flap.f-t { transform: rotateX(calc(var(--p, 0) * 178deg)); transition: none; }
.is-dragging .silk__flap.f-b { transform: rotateX(calc(var(--p, 0) * -178deg)); transition: none; }
.is-dragging .silk__flap.f-l { transform: rotateY(calc(var(--p, 0) * -178deg)); transition: none; }
.is-dragging .silk__flap.f-r { transform: rotateY(calc(var(--p, 0) * 178deg)); transition: none; }
.is-open .silk__flap {
  opacity: 0;
  transition-property: transform, opacity;
  transition-duration: 1.25s, .55s;
  transition-timing-function: cubic-bezier(.45, 0, .2, 1), ease;
  transition-delay: 0s, .85s;
}
.is-open .silk__flap.f-t { transform: rotateX(178deg); }
.is-open .silk__flap.f-b { transform: rotateX(-178deg); transition-delay: .12s, .85s; }
.is-open .silk__flap.f-l { transform: rotateY(-178deg); transition-delay: .06s, .85s; }
.is-open .silk__flap.f-r { transform: rotateY(178deg); transition-delay: .18s, .85s; }
.silk__knot {
  position: absolute; left: 50%; top: 50%; width: 46%; z-index: 4;
  transform: translate(-50%, -46%);
  filter: drop-shadow(0 .3em .35em rgba(110, 85, 50, .35));
  transition: opacity .35s ease, transform .35s ease;
}
.silk__knot svg { display: block; width: 100%; height: auto; overflow: visible; }
.is-open .silk__knot { opacity: 0; transform: translate(-50%, -95%) scale(1.35); }
.silk__steam {
  position: absolute; left: 50%; top: 24%; width: .55em; height: 2.3em; border-radius: 50%;
  background: rgba(255, 255, 255, .8); filter: blur(.3em); opacity: 0; z-index: 2;
}
.silk__steam.s2 { left: 38%; }
.silk__steam.s3 { left: 62%; }
.is-open .silk__steam { animation: silkSteam 2.4s ease-out 1.15s 2; }
.is-open .silk__steam.s2 { animation-delay: 1.4s; }
.is-open .silk__steam.s3 { animation-delay: 1.65s; }
@keyframes silkSteam {
  0% { opacity: 0; transform: translate(-50%, 0) scaleY(.6); }
  40% { opacity: .9; }
  100% { opacity: 0; transform: translate(-50%, -3.2em) scaleY(1.5); }
}
.silk__foot { position: absolute; left: 0; right: 0; bottom: 11%; display: grid; justify-items: center; gap: .35em; text-align: center; padding: 0 1.2em; }
.silk__foot p { margin: 0; font-family: var(--serif); font-size: 1.12em; color: #4a3c28; }
.silk__hint { font-size: .62em; letter-spacing: .2em; text-transform: uppercase; color: #9d8257; }
.silk__arrow { font-size: 1.2em; line-height: 1; color: #8a6b41; animation: silkBob 1.7s ease-in-out infinite; }
@keyframes silkBob { 50% { transform: translateY(-.3em); } }
.is-open .silk__foot { opacity: 0; transition: opacity .3s; }

/* ---------------- 5. Royal Hanok Gate ---------------- */
.lm-gate--hanok { background: #20140c; perspective: 1400px; }
.hanok__inside {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: radial-gradient(70% 55% at 50% 45%, #f7e3b5, #c9954f 60%, #4d2b13);
}
.hanok__scroll { width: min(72%, 60vmin); text-align: center; transform: scaleY(.05); opacity: 0; transition: transform .5s ease, opacity .3s; }
.is-open .hanok__scroll {
  transform: scaleY(1); opacity: 1;
  transition: transform .95s cubic-bezier(.3, 1.3, .4, 1) .85s, opacity .3s ease .85s;
}
.hanok__rod { height: .85em; border-radius: .45em; background: linear-gradient(#d79a62, #7c4520); box-shadow: 0 .25em .4em rgba(0, 0, 0, .4); margin: 0 -.7em; position: relative; }
.hanok__rod::before, .hanok__rod::after { content: ""; position: absolute; top: -.2em; width: 1.1em; height: 1.3em; border-radius: .3em; background: #7e1610; }
.hanok__rod::before { left: -.3em; }
.hanok__rod::after { right: -.3em; }
.hanok__sheet {
  background: linear-gradient(90deg, #f0e2be, #fbf3dc 45%, #f0e2be);
  border-left: .35em solid #b3261e; border-right: .35em solid #b3261e;
  padding: 1.3em .8em; display: grid; gap: .45em;
}
.hanok__sheet b { font-family: var(--serif); font-weight: 500; font-size: 1.05em; letter-spacing: .2em; text-transform: uppercase; color: #b3261e; }
.hanok__names { font-family: var(--serif); font-style: italic; font-size: 1.45em; line-height: 1.2; color: #2a2420; }
.hanok__names i { opacity: .55; }
.hanok__sheet small { font-size: .62em; letter-spacing: .24em; text-transform: uppercase; color: #6b5d50; }
.hanok__door {
  position: absolute; top: 0; bottom: 0; width: 50%; z-index: 2;
  background: #8a5a2b;
  display: grid; grid-template-rows: auto 1fr auto; gap: .7em; padding: 1.1em .9em;
  box-shadow: inset 0 0 0 .45em #6b4020, inset 0 0 0 .65em #b8723d, 0 0 2em rgba(0, 0, 0, .5);
  transition: transform .45s ease;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.hanok__door.l { left: 0; transform-origin: 0 50%; }
.hanok__door.r { right: 0; transform-origin: 100% 50%; }
.hanok__lat {
  background:
    linear-gradient(90deg, #8a5a2b 0 .3em, transparent .3em) 0 0 / 1.9em 1.9em,
    linear-gradient(0deg, #8a5a2b 0 .3em, transparent .3em) 0 0 / 1.9em 1.9em,
    #f2e6ce;
  box-shadow: inset 0 0 0 .2em #6b4020;
}
.hanok__lat.top {
  height: 17%;
  background:
    repeating-linear-gradient(45deg, #8a5a2b 0 .3em, transparent .3em 2.1em),
    repeating-linear-gradient(-45deg, #8a5a2b 0 .3em, transparent .3em 2.1em),
    #f2e6ce;
}
.hanok__panel {
  min-height: 10%;
  background: linear-gradient(#d79a62, #a9682f);
  box-shadow: inset 0 0 0 .22em #6b4020, inset 0 0 0 .85em #8a5a2b, inset 0 0 0 .95em #6b4020;
}
.hanok__ring {
  position: absolute; top: 50%; width: 1.55em; height: 1.55em; margin-top: -.78em; border-radius: 50%;
  border: .26em solid #c9a14a;
  box-shadow: 0 .18em .3em rgba(0, 0, 0, .45), inset 0 .08em .1em rgba(255, 255, 255, .45);
}
.hanok__door.l .hanok__ring { right: .85em; }
.hanok__door.r .hanok__ring { left: .85em; }
.is-dragging .hanok__door.l { transform: rotateY(calc(var(--p, 0) * -104deg)); transition: none; }
.is-dragging .hanok__door.r { transform: rotateY(calc(var(--p, 0) * 104deg)); transition: none; }
.is-open .hanok__door { transition: transform 1.5s cubic-bezier(.6, 0, .2, 1); }
.is-open .hanok__door.l { transform: rotateY(-104deg); }
.is-open .hanok__door.r { transform: rotateY(104deg); }
.hanok__sign {
  position: absolute; top: 5.5%; left: 50%; transform: translateX(-50%); z-index: 3;
  background: #16130f; color: #ecd59a; font-family: var(--serif); font-size: 1em;
  letter-spacing: .4em; padding: .55em .45em .55em 1.05em;
  border: .18em solid #c9a14a; border-radius: .2em; white-space: nowrap;
  box-shadow: 0 .4em .8em rgba(0, 0, 0, .5);
}
.hanok__foot { position: absolute; left: 0; right: 0; bottom: 7.5%; z-index: 3; display: grid; justify-items: center; padding: 0 1em; }
.hanok__card {
  background: rgba(247, 240, 225, .94); border: .14em solid #6b4020; border-radius: .85em;
  padding: .75em 1.15em; text-align: center; box-shadow: 0 .5em 1.2em rgba(0, 0, 0, .45);
}
.hanok__card b { display: block; font-family: var(--serif); font-size: 1.1em; color: #b3261e; }
.hanok__card span { font-size: .66em; letter-spacing: .16em; text-transform: uppercase; color: #6b5d50; }
.is-open .hanok__sign, .is-open .hanok__foot { opacity: 0; transition: opacity .3s; }

/* ---------------- 6. Grand Prix Garage ---------------- */
.lm-gate--gp { background: #0c0d12; color: #f7f1e3; }
.gp__lights { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1.4em; text-align: center; }
.gp__gantry { display: flex; gap: .5em; justify-content: center; padding: .65em .75em; background: #22252f; border-radius: .7em; box-shadow: 0 .45em 0 rgba(0, 0, 0, .45); }
.gp__pod { display: grid; gap: .32em; padding: .32em; background: #0b0c10; border-radius: .5em; }
.gp__pod i { display: block; width: 1.75em; height: 1.75em; border-radius: 50%; background: #2a1414; box-shadow: inset 0 .15em .35em rgba(0, 0, 0, .65); transition: background .1s, box-shadow .1s; }
.gp__pod.lit i { background: radial-gradient(circle at 40% 35%, #ffb3a6, #e8392b 45%, #7a120a); box-shadow: 0 0 1.1em .28em rgba(232, 57, 43, .55); }
.gp__pod.go i { background: radial-gradient(circle at 40% 35%, #c9ffd0, #2fd25a 45%, #0d6b25); box-shadow: 0 0 1.1em .28em rgba(47, 210, 90, .55); }
.gp__go {
  font-family: var(--sans); font-weight: 700; font-size: 4em; letter-spacing: -.03em; line-height: 1; color: #fff;
  opacity: 0; transform: scale(.55); transition: all .25s cubic-bezier(.2, 1.6, .4, 1);
}
.lm-gate--gp.go .gp__go { opacity: 1; transform: scale(1); }
.gp__car { position: absolute; left: -75%; top: 60%; width: 58%; z-index: 1; }
.lm-gate--gp.go .gp__car { animation: gpZoom 1.05s cubic-bezier(.6, 0, .3, 1) forwards; }
@keyframes gpZoom { to { left: 125%; } }
.gp__speed {
  position: absolute; left: 0; right: 0; top: 56%; height: 30%; z-index: 1; opacity: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 .75em, rgba(255, 255, 255, .18) .75em .88em);
}
.lm-gate--gp.go .gp__speed { animation: gpSpeed 1s ease-out; }
@keyframes gpSpeed { 30% { opacity: 1; } 100% { opacity: 0; transform: translateX(45%); } }
.gp__shutter {
  position: absolute; inset: 0; z-index: 2;
  padding: 0; will-change: transform; transition: transform .5s ease;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .45), transparent 12%, transparent 88%, rgba(0, 0, 0, .5)),
    repeating-linear-gradient(180deg, #8c919c 0 .2em, #b9bec8 .2em 1.55em, #767b86 1.55em 1.75em, #5a5e68 1.75em 2.15em);
  box-shadow: 0 .6em 2em rgba(0, 0, 0, .8);
}
.is-dragging .gp__shutter { transform: translateY(calc(var(--p, 0) * -106%)); transition: none; }
.is-open .gp__shutter { transform: translateY(-106%); transition: transform .8s cubic-bezier(.5, 0, .2, 1); }
.gp__platewrap { position: absolute; top: 15%; left: 0; right: 0; display: grid; justify-items: center; gap: .85em; padding: 0 7%; }
.gp__plate {
  background: #e8392b; color: #fff; border: .28em solid #f7f1e3; border-radius: .9em;
  padding: .75em 1.35em .65em; text-align: center; transform: rotate(-2deg);
  box-shadow: 0 .45em 0 #b8261b, 0 .9em 1.4em rgba(0, 0, 0, .5);
}
.gp__plate b { display: block; font-family: var(--sans); font-weight: 700; font-size: 1.7em; letter-spacing: .06em; line-height: 1; }
.gp__plate span { display: block; margin-top: .35em; font-size: .78em; letter-spacing: .16em; text-transform: uppercase; }
.gp__tape { background: repeating-linear-gradient(-45deg, #f5bb3c 0 1.1em, #16130f 1.1em 2.2em); padding: .2em; border-radius: .25em; transform: rotate(1.5deg); }
.gp__tape i { display: block; font-style: normal; background: #f5bb3c; color: #16130f; padding: .35em .85em; font-size: .66em; font-weight: 600; letter-spacing: .05em; }
.gp__pull { position: absolute; bottom: 9%; left: 0; right: 0; display: grid; justify-items: center; gap: .5em; text-align: center; color: #16130f; padding: 0 7%; }
.gp__pull p { margin: 0; font-weight: 600; font-size: .92em; line-height: 1.4; text-shadow: 0 .1em 0 rgba(255, 255, 255, .35); }
.gp__handle { width: 7.5em; height: 1.5em; border-radius: 1em; background: linear-gradient(#3b3e48, #1b1d24); box-shadow: inset 0 .15em 0 rgba(255, 255, 255, .25), 0 .35em .6em rgba(0, 0, 0, .45); cursor: grab; }
.gp__arrow { font-size: 1.35em; line-height: 1; animation: gpBob 1.2s ease-in-out infinite; }
@keyframes gpBob { 50% { transform: translateY(-.5em); } }
.gp__hint { font-size: .6em; letter-spacing: .2em; text-transform: uppercase; color: #2a2d36; }
.is-open .gp__pull, .is-open .gp__platewrap { opacity: 0; transition: opacity .3s; }

@media (prefers-reduced-motion: reduce) {
  .lm-gate, .lm-gate * { animation: none !important; transition: none !important; }
}

/* ---------- Small utilities ---------- */

.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 22px; }
.mt-3 { margin-top: 34px; }
.muted { color: var(--ink-soft); }
.tiny { font-size: 11px; letter-spacing: 0.06em; }
.nowrap { white-space: nowrap; }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--ink); color: var(--ivory); padding: 12px 18px;
}
.skip-link:focus { left: 12px; top: 12px; }

.badge {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--line);
  padding: 6px 11px;
  font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--paper);
}
.badge--gold { border-color: rgba(176, 138, 90, 0.4); color: #8a6a41; background: rgba(176, 138, 90, 0.07); }
