/* ==========================================================
   색상과 글씨체는 여기 한 곳에서 바꿉니다
   ========================================================== */
:root {
  --bg: #f9f9f8;          /* 바탕색 (옅은 미색) */
  --bg-soft: #f0f0ec;     /* 구역 구분용 조금 더 진한 바탕 */
  --green: #111111;       /* 대표 글씨색 (검정). 예전 녹색을 쓰던 자리라 이름은 그대로 둡니다 */
  --green-deep: #f0f0ec;  /* 맨 아래 바탕 (예전 짙은 녹색 자리) */
  --text: #1a1a1a;        /* 본문 글씨 */
  --muted: #6e6e6a;       /* 흐린 글씨 */
  --line: #dcdcd7;        /* 구분선 */
  --white: #ffffff;

  --font-en: "Cormorant Garamond", "Noto Serif KR", serif;
  --font-kr: "Noto Serif KR", "Apple SD Gothic Neo", serif;

  --header-h: 84px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(72px, 11vw, 160px);
  --max: 1280px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-kr);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.9;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

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

.section { padding: var(--section) 0; }
.section--soft { background: var(--bg-soft); }
/* 강조 구역: 예전에는 녹색 바탕이었고, 지금은 옅은 회색 바탕에 녹색 글씨입니다 */
.section--green { background: var(--bg-soft); color: var(--green); }
.section--soft + .section--green { border-top: 1px solid var(--line); }

/* ---------- 글자 ---------- */
.eyebrow {
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 22px;
}

.title {
  font-family: var(--font-en);
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--green);
}

.title--kr {
  font-family: var(--font-kr);
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 400;
  line-height: 1.5;
}

.lead {
  font-size: clamp(16px, 1.4vw, 18px);
  max-width: 34em;
  margin-top: 28px;
}
.muted { color: var(--muted); }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px 34px;
  border: 1px solid var(--green);
  background: var(--bg-soft);
  color: var(--green);
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.btn:hover { background: var(--green); color: var(--bg); }

.btn--line { background: transparent; color: var(--green); }
.btn--line:hover { background: var(--green); color: var(--bg); }

.btn--light { background: var(--bg); border-color: var(--bg); color: var(--green); }
.btn--light:hover { background: transparent; color: var(--bg); }
.section--green .btn--light { background: var(--bg-soft); border-color: var(--green); color: var(--green); }
.section--green .btn--light:hover { background: var(--green); color: var(--bg); }

.link-arrow {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  margin-top: 36px;
  transition: opacity 0.3s;
}
.link-arrow:hover { opacity: 0.6; }

/* ---------- 맨 위 메뉴바 ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249, 249, 248, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.header.is-scrolled { border-bottom-color: var(--line); }

/* 첫 화면: 영상을 화면 가득 깔고, 로고와 한 줄 문구, 메뉴를 화면 세로 가운데 한 줄에 올립니다.
   영상 아래로 내려가면(is-pinned) 흰 바탕 없이 로고와 메뉴만 화면 맨 위에 남습니다.
   글씨색은 뒤 배경에 맞춰 바뀝니다: 영상이나 녹색 구역 위(is-light)는 흰색, 밝은 구역 위는 원래 색. */
.home .header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}
.home .header.is-pinned { position: fixed; }
.home .logo img { transition: filter 0.3s; }
.home .nav a { transition: color 0.3s; }
html:not(.nav-open) .home .header.is-light .logo img { filter: invert(1) drop-shadow(0 0 10px rgba(0, 0, 0, 0.3)); }
html:not(.nav-open) .home .header.is-light .nav a { color: var(--white); text-shadow: 0 0 12px rgba(0, 0, 0, 0.35); }
html:not(.nav-open) .home .header.is-light .nav a::after,
html:not(.nav-open) .home .header.is-light .nav-toggle span { background: var(--white); }
.nav-open .home .header { background: var(--bg); }
.home .hero { min-height: 100vh; min-height: 100svh; }

.header__tag { display: none; }

@media (min-width: 761px) {
  .home .header:not(.is-pinned) { top: calc(50vh - var(--header-h) / 2); top: calc(50svh - var(--header-h) / 2); }
  .home .header__inner { max-width: none; padding: 0 clamp(20px, 2.2vw, 40px); }
  .home .logo img { height: 40px; }
  .home .nav { gap: clamp(28px, 4vw, 72px); }
  .home .nav a { font-size: 15px; font-weight: 600; letter-spacing: 0.08em; }
}
/* 로고 옆 한 줄 문구: 넓은 화면의 영상 위에서만 보입니다 */
@media (min-width: 1001px) {
  .home .header:not(.is-pinned) .header__tag {
    display: block;
    margin: 0 auto 0 clamp(48px, 9vw, 180px);
    font-family: var(--font-en);
    font-size: clamp(18px, 1.5vw, 22px);
    font-weight: 500;
    color: var(--white);
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.35);
    white-space: nowrap;
  }
}

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: block; flex-shrink: 0; }
.logo img { height: 46px; width: auto; }

.nav { display: flex; gap: clamp(28px, 4.5vw, 68px); }

.nav a {
  position: relative;
  font-family: var(--font-en);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green);
  padding: 6px 0;
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.nav a:hover::after,
.nav a.is-current::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  margin: 6px auto;
  background: var(--green);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- 사진 자리 ----------
   images 폴더에 같은 이름의 사진을 넣으면 자동으로 나타납니다.
   사진이 없을 때는 회색 바탕이 대신 보입니다. */
.photo {
  position: relative;
  background-color: #dcdcd7;
  --photo-fallback: linear-gradient(135deg, #e4e4df 0%, #d2d2cc 100%);
  background-image: var(--photo-fallback);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.photo--portrait { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 16 / 9; }
.photo--square { aspect-ratio: 1 / 1; }

/* ---------- 첫 화면 대표 영역 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: #1c1c1a;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: flex-end;
  color: var(--white);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 30, 18, 0.05) 30%, rgba(15, 30, 18, 0.55) 100%);
}
.hero::before { display: none; }  /* 영상 위에는 글씨와 어두운 덮개를 올리지 않습니다 */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* 배경 영상: 화면을 빈틈없이 채웁니다 */
.hero__video { position: absolute; inset: 0; overflow: hidden; pointer-events: none; background: #1c1c1a; }
.hero__video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 120px;
  padding-bottom: clamp(36px, 5vw, 64px);
}

/* ---------- 하위 화면 제목 영역 ---------- */
.page-head {
  padding: clamp(64px, 9vw, 130px) 0 clamp(48px, 6vw, 90px);
  text-align: center;
}
.page-head .title { font-size: clamp(44px, 7vw, 92px); }
.page-head .lead { margin-left: auto; margin-right: auto; }

/* ---------- 소개 문단 (가운데 정렬) ---------- */
.intro { text-align: center; }
.intro .title--kr { max-width: 20em; margin: 0 auto; }
.intro .lead { margin-left: auto; margin-right: auto; }
.intro .lead + .lead { margin-top: 1.5em; }
.intro--top { padding-top: clamp(64px, 9vw, 130px); }
/* 소개 글 맨 아래 한 줄: 본문보다 작은 글씨 */
.intro__sign { margin-top: 44px; font-size: 14px; line-height: 1.9; color: var(--muted); }
.intro .link-arrow { margin-top: 36px; }

/* ---------- 강점 4가지 ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 3.5vw, 56px);
  margin-top: clamp(48px, 6vw, 88px);
}
.feature { padding-top: 26px; border-top: 1px solid var(--green); }
.feature__num {
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--green);
}
.feature__title {
  font-family: var(--font-kr);
  font-size: 20px;
  font-weight: 500;
  color: var(--green);
  margin: 14px 0 12px;
}
.feature p { font-size: 15px; color: var(--muted); }

/* ---------- 사진 + 글 나란히 ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(36px, 7vw, 120px);
}
.split--reverse .split__media { order: 2; }
.split__body .lead { margin-top: 24px; }

/* ---------- 짧은 한 줄 문구 ---------- */
.statement { text-align: center; }
.statement__text {
  font-family: var(--font-en);
  font-size: clamp(40px, 7.5vw, 104px);
  font-weight: 500;
  font-style: italic;
  line-height: 1.08;
}
.statement p:last-child { max-width: 34em; margin: 32px auto 0; line-height: 1.9; opacity: 0.85; }

/* ---------- 영상 목록 ---------- */
.films {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(32px, 4vw, 64px) clamp(24px, 3vw, 48px);
}
.films--single { grid-template-columns: 1fr; }

.film__screen {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
}
.film__screen iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.film__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 76px;
  height: 76px;
  margin: -38px 0 0 -38px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  transition: background 0.3s, transform 0.3s;
}
.film__play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -9px 0 0 -5px;
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #fff;
}
.film__screen:hover .film__play { background: rgba(255, 255, 255, 0.18); transform: scale(1.06); }

.film__info { margin-top: 18px; }
.film__title { font-family: var(--font-kr); font-size: 20px; font-weight: 500; line-height: 1.5; color: var(--green); }
.film__meta { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }

/* ---------- 다른 화면으로 가는 안내 ---------- */
.doors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 40px);
}
.door .photo { transition: opacity 0.4s; }
.door:hover .photo { opacity: 0.85; }
.door__label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 18px;
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--green);
}
.door__label span:last-child { transition: transform 0.3s; }
.door:hover .door__label span:last-child { transform: translateX(6px); }

/* ---------- 상품 안내 ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: clamp(32px, 3.5vw, 52px) clamp(24px, 3vw, 44px);
  background: var(--white);
  border: 1px solid var(--line);
}
.plan--featured { background: var(--green); border-color: var(--green); color: var(--bg); }
.plan__name { font-family: var(--font-en); font-size: 34px; font-weight: 600; color: var(--green); line-height: 1.2; }
.plan__desc { font-size: 14px; color: var(--muted); margin-top: 8px; }
.plan__price {
  font-family: var(--font-en);
  font-size: 30px;
  font-weight: 500;
  color: var(--green);
  margin: 28px 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.plan__price small { font-family: var(--font-kr); font-size: 14px; margin-left: 4px; }
.plan__list { flex: 1; margin-bottom: 36px; }
.plan__list li { position: relative; padding: 7px 0 7px 20px; font-size: 15px; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 8px; height: 1px; background: currentColor; }
.plan--featured .plan__name,
.plan--featured .plan__price { color: var(--bg); }
.plan--featured .plan__desc { color: var(--bg); opacity: 0.7; }
.plan--featured .plan__price { border-color: rgba(249, 249, 248, 0.25); }

.table { width: 100%; border-collapse: collapse; margin-top: 44px; }
.table th, .table td { padding: 20px 8px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 300; }
.table td:last-child { text-align: right; white-space: nowrap; color: var(--green); font-weight: 500; }
.table tr:first-child th, .table tr:first-child td { border-top: 1px solid var(--green); }

/* ---------- 진행 순서 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 48px); margin-top: clamp(40px, 5vw, 72px); counter-reset: step; }
.step { counter-increment: step; }
.step::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--font-en);
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
  color: var(--green);
  margin-bottom: 18px;
}
.step h3 { font-size: 18px; font-weight: 500; color: var(--green); margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--muted); }

/* ---------- 예약 문의 ---------- */
.reserve { max-width: 760px; }
/* 연락 방법: 문의 양식(Send 버튼) 아래에 작게 */
.reserve__contact { margin-top: clamp(48px, 6vw, 72px); }
.reserve__title { font-size: 18px; font-weight: 500; color: var(--green); }
.reserve__contact .lead { margin-top: 8px; font-size: 15px; color: var(--muted); }
.reserve__contact .contact-list { margin-top: 20px; font-size: 15px; }
.reserve__contact .contact-list li { padding: 12px 0; }
.reserve__contact .contact-list span:first-child { font-size: 13px; padding-top: 3px; }

.contact-list { margin-top: 40px; border-top: 1px solid var(--green); }
.contact-list li { display: flex; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list span:first-child {
  flex: 0 0 128px;
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  padding-top: 2px;
}

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; color: var(--green); font-weight: 500; margin-bottom: 6px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 0;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--muted);
  border-radius: 0;
  outline: none;
  transition: border-color 0.3s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-bottom-color: var(--green); box-shadow: 0 1px 0 var(--green); }
.form__note { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }
.form__done {
  grid-column: 1 / -1;
  padding: 18px 22px;
  background: var(--bg-soft);
  border-left: 2px solid var(--green);
  font-size: 15px;
}
.form__done[hidden] { display: none; }

/* ---------- 예약 유도 띠 ---------- */
.cta { text-align: center; }
.cta .btn { margin-top: 40px; }

/* ---------- 맨 아래 ---------- */
.footer { background: var(--green-deep); color: var(--text); border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 96px) 0 36px; font-size: 15px; }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer .logo img { height: 64px; }
.footer__tag { margin-top: 14px; opacity: 0.7; max-width: 22em; }
.footer h3 {
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 16px;
}
.footer li { padding: 3px 0; }
.footer a:hover { opacity: 0.65; }
.footer__bottom {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  opacity: 0.6;
}

/* ---------- 화면을 내릴 때 부드럽게 나타나기 ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s ease, transform 0.9s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 태블릿 ---------- */
@media (max-width: 1000px) {
  .features, .steps { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

/* ---------- 휴대폰 ---------- */
@media (max-width: 760px) {
  :root { --header-h: 68px; }
  body { font-size: 15px; }

  .logo img { height: 38px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 34px;
    background: var(--bg);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }
  .nav a { font-size: 28px; }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }

  .split, .films, .doors, .form { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .features, .steps { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .film__info { flex-direction: column; gap: 2px; }
  .contact-list span:first-child { flex-basis: 112px; }
  .btn { padding: 15px 28px; }
}

/* ==========================================================
   상품 구성 (Product)
   ========================================================== */
.product { display: grid; gap: clamp(80px, 11vw, 150px); max-width: 980px; }
/* 영상 종류 바로가기 (Wedding Film): 두 종류를 나란히 보여주고, 누르면 그 구역으로 내려갑니다 */
.product-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 980px;
  margin: clamp(40px, 5vw, 64px) auto 0;
  border-top: 1px solid var(--green);
  border-bottom: 1px solid var(--green);
  text-align: left;
}
.product-nav a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 18px;
  padding: 24px clamp(16px, 2.4vw, 32px);
  color: var(--green);
  transition: background 0.3s, color 0.3s;
}
.product-nav a + a { border-left: 1px solid var(--green); }
.product-nav a:hover { background: var(--green); color: var(--bg); }
.product-nav__no { grid-row: span 2; font-family: var(--font-en); font-size: 34px; line-height: 1; }
.product-nav__kr { font-size: 18px; font-weight: 500; }
.product-nav__en { font-family: var(--font-en); font-size: 16px; letter-spacing: 0.04em; opacity: 0.75; }
.product-section, .spec { scroll-margin-top: var(--header-h); }
.page-head + .product-section { padding-top: clamp(24px, 4vw, 56px); }
.product__label {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 22px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--green);
}
.product__label span { font-family: var(--font-en); font-size: 30px; line-height: 1; }
.spec__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--green);
  border-bottom: 1px solid var(--green);
}
.spec__title { font-family: var(--font-en); font-size: clamp(28px, 3.4vw, 42px); font-weight: 500; line-height: 1.2; color: var(--green); }
.spec__kr { font-weight: 500; color: var(--green); white-space: nowrap; }
.spec__rows { margin: 0; }
.spec__row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px 32px;
  padding: clamp(26px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--line);
}
.spec__row dt, .spec__row dd { margin: 0; }
.spec__row dd > * + * { margin-top: 14px; }
.spec__row strong { font-weight: 500; color: var(--green); }
.pill {
  display: inline-block;
  padding: 3px 14px;
  border: 1px solid var(--green);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--green);
  white-space: nowrap;
}
.spec__parts, .spec__parts ul, .spec__list { list-style: none; margin: 0; padding: 0; }
.spec__parts { counter-reset: part; }
.spec__parts > li { counter-increment: part; position: relative; padding-left: 2.4em; }
.spec__parts > li::before { content: counter(part) "  |"; position: absolute; left: 0; font-weight: 500; color: var(--green); white-space: pre; }
.spec__list li { position: relative; padding-left: 1.1em; }
.spec__list li::before { content: ""; position: absolute; left: 0; top: 0.85em; width: 5px; height: 5px; background: var(--green); }
.spec__note { font-size: 14px; color: var(--muted); }
.spec .link-arrow { margin-top: 40px; }
@media (max-width: 760px) {
  .spec__head { flex-direction: column; gap: 2px; }
  .product-nav { grid-template-columns: 1fr; }
  .product-nav a + a { border-left: 0; border-top: 1px solid var(--green); }
  .spec__row { grid-template-columns: 1fr; }
}

/* ==========================================================
   움직임: 부드러운 스크롤, 화면 전환 막, 글자 등장, 사진 시차, 마우스 올림 효과
   ========================================================== */
:root {
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-quart-in: cubic-bezier(0.5, 0, 0.75, 0);
  --ease-quart-out: cubic-bezier(0.25, 1, 0.5, 1);
}

/* 부드러운 스크롤(Lenis)이 켜지면 브라우저 기본 부드러운 이동은 끕니다 */
html.lenis { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: hidden; }

/* 화면 전환 막: 들어올 때는 위로 걷히고, 다른 화면으로 갈 때는 아래에서 올라와 덮습니다 */
.curtain { display: none; }
.js .curtain {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  pointer-events: none;
  animation: curtain-out 0.8s var(--ease-quart-out) 0.1s both;
}
.js main, .js .footer { animation: page-in 0.8s var(--ease-quart-out) 0.1s both; }
.js.is-leaving .curtain { pointer-events: all; animation: curtain-in 0.8s var(--ease-quart-in) both; }
.js.is-leaving main, .js.is-leaving .footer { animation: page-out 0.8s var(--ease-quart-in) both; }
@keyframes curtain-out { from { transform: translateY(0); } to { transform: translateY(-100%); } }
@keyframes curtain-in { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes page-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-5vh); } }

/* 처음 방문했을 때만: 막 위에 로고와 문구를 잠깐 보여 준 뒤 걷힙니다 */
.curtain__brand { display: none; text-align: center; }
.curtain__brand img { height: 72px; width: auto; margin: 0 auto 20px; }
.curtain__brand p { font-family: var(--font-en); font-size: 22px; color: var(--text); }
.first-visit .curtain__brand { display: block; animation: brand-in 1s var(--ease-expo) 0.2s both; }
.first-visit .home .curtain { animation-delay: 1.7s; }
.first-visit .home main, .first-visit .home .footer { animation-delay: 1.7s; }
@keyframes brand-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* 제목: 단어가 하나씩 떠오릅니다 */
.js .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1s var(--ease-expo), transform 1s var(--ease-expo);
  transition-delay: calc(var(--i) * 40ms);
}
.js .is-in .w { opacity: 1; transform: none; }

/* 사진: 스크롤할 때 틀 안에서 천천히 움직이고, 마우스를 올리면 살짝 커집니다 */
.photo__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: scale 1.2s var(--ease-expo);
}
.photo__img[data-parallax] { inset: -10% 0; will-change: transform; }
.film__screen:hover .photo__img, .door:hover .photo__img { scale: 1.05; }

/* 메뉴: 밑줄 대신 왼쪽에 점이 나타납니다 */
.nav a::after { display: none; }
.nav a::before {
  content: "";
  position: absolute;
  left: -1em;
  top: 50%;
  width: 0.45em;
  height: 0.45em;
  margin-top: -0.225em;
  border-radius: 50%;
  background: currentColor;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.5s, transform 0.5s;
}
.nav a:hover::before, .nav a.is-current::before { opacity: 1; transform: scale(1); }

/* 글자 버튼: 점이 나타나며 글자가 옆으로 밀립니다 */
.link-arrow {
  position: relative;
  padding: 0 1em 0 0;
  border-bottom: 0;
  transition: padding 0.5s var(--ease-expo);
}
.link-arrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0.45em;
  height: 0.45em;
  margin-top: -0.225em;
  border-radius: 50%;
  background: currentColor;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.5s, transform 0.5s;
}
.link-arrow:hover { opacity: 1; padding: 0 0 0 1em; }
.link-arrow:hover::before { opacity: 1; transform: scale(1); }

/* 글 속 링크: 밑줄이 한쪽에서 그어집니다 */
.footer a:not(.logo), .contact-list a {
  background: linear-gradient(currentColor, currentColor) no-repeat 100% 100% / 0 1px;
  transition: background-size 0.4s var(--ease-expo);
}
.footer a:not(.logo):hover, .contact-list a:hover { opacity: 1; background-position: 0 100%; background-size: 100% 1px; }

/* 안내 사진 3장: 하나에 마우스를 올리면 나머지가 흐려집니다 */
.door { transition: opacity 0.3s; }
.door:hover .photo { opacity: 1; }
.doors:hover .door { opacity: 0.35; }
.doors:hover .door:hover { opacity: 1; }

/* 강점 4가지: 하나씩 차례로 강조되고, 누르면 그 항목으로 넘어갑니다 */
.features-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: clamp(40px, 5vw, 72px);
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--green);
}
.features-bar__count { font-variant-numeric: tabular-nums; white-space: nowrap; }
.features-bar__line { flex: 1; height: 1px; background: var(--line); }
.features-bar__fill { height: 100%; background: currentColor; transform-origin: left; transform: scaleX(0); }
.features.is-carousel { margin-top: 28px; }
.features.is-carousel .feature { cursor: pointer; opacity: 0.25; border-top-color: transparent; transition: opacity 0.4s var(--ease-expo), transform 0.9s ease; }
.features.is-carousel .feature.is-active { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .js .curtain { display: none; }
  .js main, .js .footer { animation: none; }
  .js .w { opacity: 1; transform: none; transition: none; }
  .photo__img { transition: none; }
}

/* ==========================================================
   추가 구역: 왜 영상인가, SET 할인 상자, 진행 6단계, 자주 묻는 질문,
   예식장 고르기
   ========================================================== */
.moments { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); margin-top: clamp(40px, 5vw, 72px); }
.moment { padding-top: 26px; border-top: 1px solid var(--green); }
.moment h3 { font-size: 20px; font-weight: 500; color: var(--green); margin-bottom: 10px; }
.moment p { font-size: 15px; color: var(--muted); }

.bundle {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px clamp(20px, 3vw, 40px);
  padding: clamp(26px, 3.4vw, 44px);
  border: 1px solid var(--green);
  background: var(--bg-soft);
}
.bundle__label { font-family: var(--font-en); font-size: clamp(34px, 4vw, 52px); line-height: 1; color: var(--green); }
.bundle__title { font-size: clamp(18px, 1.8vw, 22px); font-weight: 500; color: var(--green); margin-bottom: 6px; }
.bundle p:not(.bundle__label) { font-size: 15px; color: var(--muted); }

/* 진행 5단계: 넓은 화면에서는 01~05가 한 줄로 놓입니다 */
.steps--five { grid-template-columns: repeat(5, 1fr); gap: clamp(20px, 2.4vw, 36px); }

.faq { max-width: 980px; }
.faq__list { margin-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--green); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--green);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-en); font-size: 26px; line-height: 1; transition: transform 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; max-width: 46em; color: var(--text); }
.faq details p:not(:last-child) { padding-bottom: 12px; }

.film-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 3.4vw, 44px); }
.film-filter .pill { background: transparent; font-family: inherit; cursor: pointer; transition: background 0.3s, color 0.3s; }
.film-filter .pill:hover, .film-filter .pill[aria-pressed="true"] { background: var(--green); color: var(--bg); }
.film[hidden] { display: none; }

@media (max-width: 1000px) {
  .steps--five { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .moments, .steps--five { grid-template-columns: 1fr; }
  .bundle { grid-template-columns: 1fr; }
}

/* 인스타그램 릴스 + 글 (메인) */
.reel-split { grid-template-columns: minmax(0, 420px) 1fr; justify-content: center; }
.reel { width: 100%; max-width: 420px; container-type: inline-size; }
/* 인스타그램 화면: 위 계정줄 + 4:5 영상 + 아래 좋아요줄 높이에 맞춥니다 */
.reel iframe { display: block; width: 100%; height: calc(100cqw * 1.25 + 166px); border: 1px solid var(--line); background: var(--white); }
.reel__body .lead { margin-top: 18px; }
.reel__quote { margin-top: 20px; font-size: clamp(18px, 1.7vw, 22px); font-weight: 500; color: var(--green); }
.reel__body .link-arrow { margin-top: 36px; }
@media (max-width: 760px) {
  .reel-split { grid-template-columns: 1fr; }
  .reel { margin: 0 auto; }
}

/* Product: 왼쪽 고정 목차 + 오른쪽 상품 설명 */
.product-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.product-toc { align-self: stretch; }
.product-toc nav { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 14px; }
.product-toc a { position: relative; display: flex; align-items: baseline; gap: 12px; padding-left: 18px; font-size: 16px; color: var(--muted); transition: color 0.3s; }
.product-toc a::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0; transition: opacity 0.3s; }
.product-toc a:hover, .product-toc a.is-current { color: var(--green); }
.product-toc a.is-current::before { opacity: 1; }
.product-toc__no { font-family: var(--font-en); font-size: 20px; line-height: 1; }
@media (max-width: 760px) {
  .product-layout { grid-template-columns: 1fr; }
  .product-toc { display: none; }
}

/* Product 안내 이미지 */
.product--images { gap: clamp(56px, 8vw, 110px); }
.sheet { display: grid; gap: clamp(24px, 3vw, 40px); justify-items: center; scroll-margin-top: var(--header-h); }
.sheet__img { display: block; width: 100%; max-width: 620px; background: var(--bg); }
.sheet__img img { display: block; width: 100%; height: auto; }
.sheet__img img { mix-blend-mode: multiply; }  /* 이미지의 흰 모서리가 바탕색에 묻히도록 */
.product-toc a { white-space: nowrap; }
