/* 색은 여기서만 바꾼다. <html data-tone="ivory"> 를 "pink" 로 바꾸면 본보기 사이트와 같은 분홍 톤이 된다. */
:root {
  --ink: #0c0c0d;
  --text: #363636;
  --text-soft: #4a4441;
  --white: #ffffff;
  --cream: #f8f4e9; /* 로고 바탕색. 첫 화면 바탕이 이 색이다. */
  --tint-1: #faf6f1;
  --tint-2: #f1e7da;
  --tint-3: #dfccb8;
  --accent: #a17c5b;
  --accent-soft: #dcc4ab;
  --brown: #2f2018; /* 어두운 바탕(시술·예약 구역)과 어두운 단추, 바닥 띠. 검정 대신 이 색 하나로 맞춘다. */
  --brown-light: #4a3324; /* 한 단계 밝은 갈색. 첫 화면의 첫 단추(12-05 부터 「실제 시술 사진 보기」)와 바닥 띠의 강남점 문의, 이 둘만 쓴다. */
  --line: rgba(12, 12, 13, 0.1);
  --radius: 8px;
  --serif: Georgia, "Times New Roman", "Nanum Myeongjo", serif;
  --sans-ko: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Segoe UI", sans-serif;
  --sans: var(--sans-ko);
}

/* ── 언어 ── 오른쪽 위 단추가 <html lang> 을 바꾼다(js/lang.js). 그 값에 따라 글꼴과 줄바꿈 규칙이 갈린다.
   한글 글꼴로 중국어 · 일본어를 찍으면 글자 모양이 한국식 한자로 나오고, 영어는 맑은 고딕의 로마자로 나온다.
   :lang 은 그 언어 안의 모든 칸에 걸린다 — 언어 단추는 저마다 lang 을 달고 있어 제 글꼴로 찍힌다. */
:lang(ko) { --sans: var(--sans-ko); }
:lang(en) { --sans: "Pretendard", "Segoe UI", "Helvetica Neue", Arial, sans-serif; }
:lang(zh) { --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", sans-serif; }
:lang(ja) { --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", "Noto Sans JP", "Noto Sans CJK JP", sans-serif; }
/* body 의 word-break: keep-all 은 한국어용이다(낱말 가운데서 안 끊는다). 중국어 · 일본어는 띄어쓰기가 없어
   keep-all 이면 문장부호에서만 끊겨 줄이 칸 밖으로 삐져나간다. 이 둘은 보통 규칙으로 되돌린다.
   일본어는 되는 브라우저에서 문절 단위로 끊는다(auto-phrase) — 모르는 브라우저는 이 줄을 버리고 윗줄을 쓴다. */
:lang(zh),
:lang(ja) { word-break: normal; line-break: strict; }
:lang(ja) { word-break: auto-phrase; }

html[data-tone="pink"] {
  --text-soft: #3b3437;
  --tint-1: #fff8fa;
  --tint-2: #f8e4ea;
  --tint-3: #e8b5c6;
  --accent: #c58097;
  --accent-soft: #e6bccb;
}

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

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

body {
  margin: 0;
  padding-bottom: 60px;
  background: var(--white);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; }

section { padding: 128px 20px; }

/* ── 공통 글자 ── */
.section-label {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h2 {
  color: var(--ink);
  font-size: 50px;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.section-copy {
  max-width: 560px;
  margin-top: 22px;
  color: var(--text-soft);
  font-size: 17px;
}

.center { text-align: center; }
.center .section-copy { margin-left: auto; margin-right: auto; }

.display {
  margin-top: 36px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 96px;
  line-height: 0.94;
}

/* 로고 그림(글자만 딴 투명 PNG). 밝은 바탕엔 logo.png, 검은 바탕엔 logo-light.png */
.brand { width: 200px; height: auto; }
.brand + .section-label { margin-top: 36px; }

/* ── 단추 ── */
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  white-space: nowrap;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.light { background: rgba(255, 255, 255, 0.94); color: var(--ink); }
.button.ghost { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.62); color: var(--white); }
.button.dark { background: var(--brown); color: var(--white); }
.hero .button.dark { background: var(--brown-light); }
.button.soft { background: rgba(255, 255, 255, 0.55); color: var(--ink); }
.button.line { border-color: rgba(12, 12, 13, 0.42); color: var(--ink); }
.button.line:hover { background: rgba(255, 255, 255, 0.6); }

.pill {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(12, 12, 13, 0.36);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}
.pill:hover { background: var(--white); }
/* 언어 단추는 <button> 이다. 단추는 글꼴을 물려받지 않아 직접 적는다. 지금 고른 언어는 갈색으로 채운다. */
button.pill { margin: 0; font-family: var(--sans); line-height: 1; cursor: pointer; -webkit-appearance: none; appearance: none; }
.pill[aria-pressed="true"],
.pill[aria-pressed="true"]:hover { border-color: var(--brown-light); background: var(--brown-light); color: var(--white); }

/* ── 첫 화면 ── */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 92vh;
  padding: 96px 20px 72px;
  background: var(--cream);
  overflow: hidden;
}

/* 사진은 4:5 그대로 둔다. 높이를 첫 화면에 맞추면 폭은 비율이 정한다.
   화면이 좁아 반을 넘길 때만 양옆이 조금 잘린다. 왼쪽 끝은 바탕색으로 풀린다. */
.hero-img {
  position: absolute;
  top: 0;
  right: 0;
  width: auto;
  max-width: 50%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%);
  mask-image: linear-gradient(90deg, transparent, #000 30%);
}

.hero-nav {
  position: absolute;
  top: 26px;
  right: 28px;
  z-index: 2;
  display: flex;
  gap: 8px;
}
/* display: flex 가 hidden 을 이긴다. js/lang.js 가 hidden 을 뗄 때까지는 숨긴다. */
.hero-nav[hidden] { display: none; }

.hero-inner { position: relative; z-index: 1; }

/* 글은 왼쪽 58% 안에서만 흐른다. 오른쪽은 사진 자리다. */
.hero-inner > * { max-width: 58%; }

.hero h1 {
  margin-top: 30px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(52px, 6.7vw, 96px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.01em;
}

.hero-copy {
  max-width: min(520px, 58%);
  margin-top: 28px;
  color: var(--text-soft);
  font-size: 19px;
  line-height: 1.65;
}

/* ── 둘로 나눈 줄 ── */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 72px;
  align-items: center;
}

.points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
  margin-top: 34px;
}
.points li {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-weight: 700;
}

.media { width: 100%; border-radius: var(--radius); }
/* ── 시술 전후 ── */
.compare { background: var(--tint-1); }

.case-list {
  display: grid;
  gap: 96px;
  /* 12-04 「속눈썹 사진만 30% 줄여줘」 — 이 구역 사진만 줄였다(앞은 폭 1080). 다른 구역 사진은 그대로다. */
  width: 70%; /* 좁은 화면에서도 같은 비율로 줄어들게 한다. 폰만 100% 로 되돌린다. */
  max-width: 756px; /* 1080 의 70%. 안쪽은 전부 비율이라 폭만 줄이면 사진이 같이 줄어든다. */
  margin: 64px auto 0;
}

/* 전과 후를 비슷한 크기로 비스듬히 겹친다. 전이 위, 후가 조금 더 크고 아래로 내려와 전의 아래 귀퉁이를 덮는다.
   번호는 전 아래의 빈자리에 둔다. 둘째 사례는 좌우를 뒤집는다.
   후가 전을 덮는 자리는 두 사진 모두 눈썹이 없는 가장자리다. 사진을 바꾸면 다시 본다. */
.case {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
}
.case .shot-before { grid-column: 1 / 7; grid-row: 1; }
.case .shot-after {
  grid-column: 6 / 13;
  grid-row: 1;
  z-index: 1;
  margin-top: 24%;
  box-shadow: 0 0 0 8px var(--tint-1), 0 24px 48px rgba(47, 32, 24, 0.16);
}
.case-no {
  grid-column: 1 / 5;
  grid-row: 1;
  align-self: end;
  padding-top: 16px;
  border-top: 1px solid var(--tint-3);
  color: var(--accent);
  font-family: var(--serif);
  font-size: 60px; /* 사진이 줄면 전 아래 빈자리도 낮아진다(약 146px). 번호가 사진에 닿지 않는 크기. */
  line-height: 1;
}
.case-no span {
  display: block;
  margin-bottom: 8px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.case:nth-child(even) .shot-before { grid-column: 7 / 13; }
.case:nth-child(even) .shot-after { grid-column: 1 / 8; }
.case:nth-child(even) .case-no { grid-column: 9 / 13; text-align: right; }

/* 사진 한 장에 전(위)과 후(아래)가 붙어 있다. 같은 사진을 두 칸에 넣고 위쪽·아래쪽만 보이게 한다.
   칸 비율 8:5 는 두 사진 모두 반대쪽 절반이 비쳐 들지 않는 값이다. 사진을 바꾸면 다시 잰다. */
.shot {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: var(--tint-2);
  aspect-ratio: 8 / 5;
}
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot-before img { object-position: 50% 0; }
.shot-after img { object-position: 50% 100%; }

.tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.shot-before .tag { background: rgba(255, 255, 255, 0.92); color: var(--ink); }
.shot-after .tag { background: var(--brown-light); color: var(--white); }

/* ── 상담 ── 전후 구역 바로 아래. 사진 셋을 상담 → 디자인 → 확인 차례로 세운다.
   사진마다 비율이 달라 칸을 4:5 로 맞추고 잘라 보인다. 사진 파일은 안 건드린다. */
.step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
  /* 12-04 「사진 3개의 사이즈를 30% 줄이고 아래 자막도 비율을 맞춰줘」 — 줄 전체를 70% 로 줄여 가운데 둔다.
     글도 같이 줄였다(번호 18→13, 제목 22→16, 설명 15→13). 설명을 0.7 배(10.5px)까지 줄이면 못 읽어 13 에서 멈췄다. */
  width: 70%;
  margin: 64px auto 0;
}
.step-photo {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--tint-2);
  aspect-ratio: 4 / 5;
}
.step-photo img { width: 100%; height: 100%; object-fit: cover; }
/* 첫 사진은 가로로 넓다. 양옆이 잘릴 때 상담하는 사람과 거울이 남게 왼쪽으로 민다. */
.step-left img { object-position: 30% 50%; }
/* 셋째 사진에는 크림색 테두리가 같이 찍혀 있다. 조금 키워 테두리를 칸 밖으로 민다. */
.step-zoom img { transform: scale(1.1); }
.step-no { margin-top: 14px; color: var(--accent); font-family: var(--serif); font-size: 13px; }
.step h3 { margin-top: 1px; color: var(--ink); font-size: 16px; font-weight: 700; }
.step-text p:last-child { margin-top: 6px; color: var(--text-soft); font-size: 13px; line-height: 1.65; }

/* ── 테크닉 ── 상담 구역과 리프트펌 구역 사이. Signature 와 좌우를 뒤집어 사진이 왼쪽에 온다.
   사진 바탕(#faf6f5)이 이 구역 바탕(tint-1)과 거의 같아 테두리 없이 녹아든다. */
.technique { background: var(--tint-1); }
.technique .split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }

/* ── 브로우 리프트펌 ── 테크닉 구역 바로 아래. 글이 왼쪽, 사진 두 장이 오른쪽에 나란히 선다.
   둘째 사진을 조금 내려 엇갈리게 한다. 구역 바탕이 흰색(상담 구역이 끼면서 흰색 · tint-1 이 번갈아 온다)이고
   둘째 사진도 바탕이 흰색이라, 가는 선을 둘러 사진의 끝이 보이게 한다. */
.lift .split { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.duo img { width: 100%; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); }
.duo img:last-child { margin-top: 56px; }

/* ── 시술 ── */
.services { background: var(--brown); color: var(--white); }
.services h2,
.booking h2 { color: var(--white); }
.services .section-copy,
.booking .section-copy { color: rgba(255, 255, 255, 0.72); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 56px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.2);
}
.service-item { padding: 30px 26px 34px; background: var(--brown); }
.service-item h3 { font-size: 20px; font-weight: 700; }
.service-item p { margin-top: 10px; color: rgba(255, 255, 255, 0.66); font-size: 14px; }

/* ── 웨딩 ── */
.wedding { background: var(--tint-2); }
.wedding .split { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.wedding .points li { border-top-color: rgba(12, 12, 13, 0.14); }

.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 72px;
}
.plan {
  padding: 30px 30px 32px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
}
.plan-no { color: var(--accent); font-family: var(--serif); font-size: 18px; }
.plan h3 {
  margin-top: 4px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
}
.plan-copy { margin-top: 12px; color: var(--text-soft); }
.plan dl {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 10px 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(12, 12, 13, 0.12);
  font-size: 14px;
}
.plan dt { color: var(--ink); font-weight: 800; }

/* ── 아카데미 ── */
.academy { background: var(--tint-3); }
.academy .section-label { color: var(--ink); opacity: 0.6; }

/* ── 수업 미리보기 ── Academy 바로 아래. 영상 하나를 가운데에 둔다.
   영상은 소리 줄이 없는 파일이고(muted 는 덤), 누르기 전에는 첫 장면 그림(poster)만 받는다(preload="none").
   _headers 의 CSP 에 media-src 'self' 가 있어야 재생된다 — default-src 'none' 이라 빠지면 막힌다. */
/* 12-05 「재생 단추와 조절 막대도 나오지 않게 해주고 배경을 하얀색으로」 — 구역 바탕은 흰색(앞은 tint-2),
   영상에는 controls 가 없다. 대신 영상을 누르면 멈추고 다시 누르면 재생된다(js/main.js) — 그래서 손가락 모양을 둔다. */
.preview { background: var(--white); }
/* 12-05 영상이 세로(404x720)로 바뀌었다(앞은 가로 720x530 을 제목 아래 가운데에 뒀다).
   세로 영상을 제목 아래에 통으로 두면 양옆이 텅 비어, 영상을 왼쪽 · 글을 오른쪽에 나란히 세운다(위의 Academy 와 좌우가 엇갈린다).
   영상 원본이 404px 폭이라 340px 를 넘겨 키우지 않는다 — 더 키우면 뭉개져 보인다.
   영상 뒤에는 색 판을 비껴 놓아 흰 바탕에서 영상이 떠 보이게 한다. */
.preview .split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.clip-frame {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 340px;
}
.clip-frame::before {
  content: "";
  position: absolute;
  inset: 28px 28px -28px -28px;
  border-radius: 14px;
  background: var(--tint-2);
}
.clip {
  position: relative;
  cursor: pointer;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 404 / 720;
  border-radius: 14px;
  background: var(--tint-3);
  box-shadow: 0 24px 48px rgba(47, 32, 24, 0.16);
}

/* ── 릴스 ── */
/* 12-05 「하얀색이 연속으로 나오는 부분은 둘 중 하나를 다른 색으로」 — 위의 수업 미리보기가 흰색이 되면서 흰 구역이 둘 붙었다.
   미리보기는 사용자가 흰색으로 정한 것이라 이쪽을 tint-2 로 바꿨다. tint-1 은 바로 아래 FAQ 와 같아 또 붙는다. */
.reels { padding-bottom: 86px; background: var(--tint-2); }
.reel-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 44px;
}
.reel {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--tint-3); /* 사진이 뜨기 전에 보이는 빈칸 색. 구역 바탕(tint-2)과 달라야 칸이 보인다. */
  aspect-ratio: 9 / 16;
}
.reel img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.reel:hover img { transform: scale(1.03); }

/* ── 자주 묻는 질문 ── */
.faq { padding-top: 86px; background: var(--tint-1); }
.faq-list { margin-top: 40px; }
.faq details {
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
}
.faq summary {
  position: relative;
  padding: 20px 56px 20px 22px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 22px;
  color: var(--accent);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 22px; color: var(--text-soft); }

/* ── 예약 ── */
.booking { padding-bottom: 72px; background: var(--brown); color: var(--white); }

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 56px;
}
.info {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}
.info.plain { border-color: transparent; }
.info h3 {
  color: var(--accent-soft);
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.2;
}
.info p { margin-top: 12px; color: rgba(255, 255, 255, 0.82); font-size: 14px; }
.info .actions { margin-top: 22px; }
.info.plain h3 { color: rgba(255, 255, 255, 0.4); }
.info.plain p { color: rgba(255, 255, 255, 0.6); }

/* 초안에서 아직 못 채운 자리 */
.todo { color: var(--accent-soft); font-weight: 700; }

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 72px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.foot .brand { width: 170px; opacity: 0.7; }
.foot-note { display: flex; flex-wrap: wrap; gap: 6px 20px; color: rgba(255, 255, 255, 0.5); font-size: 13px; }
.foot-note a:hover { color: var(--white); }

/* ── 바닥에 붙는 문의 띠 ── */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 60px;
  box-shadow: 0 -8px 24px rgba(12, 12, 13, 0.12);
}
.sticky-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}
.bar-dark { background: var(--brown-light); color: var(--white); }
.bar-light { background: var(--white); color: var(--ink); }

/* ── 나타나는 움직임: 스크립트가 켜졌을 때만 숨겼다가 보인다 ── */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.js .reveal.visible { opacity: 1; transform: none; }

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

/* ── 태블릿 ── */
@media (max-width: 1000px) {
  section { padding: 96px 20px; }
  h2 { font-size: 40px; }
  .display { font-size: 72px; }
  /* 세로로 긴 화면에서 사진이 가늘게 잘리지 않게 높이를 글에 맞춘다. 글 반, 사진 반. */
  .hero { min-height: 620px; }
  .hero-img {
    max-width: 46%;
    object-position: 45% 30%;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%);
    mask-image: linear-gradient(90deg, transparent, #000 20%);
  }
  .hero-inner > *,
  .hero-copy { max-width: 50%; }
  .split,
  .wedding .split,
  .technique .split,
  .lift .split,
  .preview .split { grid-template-columns: 1fr; gap: 48px; }
  /* 한 줄로 쌓이면 글을 가운데 위에, 영상을 그 아래 가운데에 둔다. */
  .preview-text { text-align: center; }
  .preview-text .section-copy { margin-left: auto; margin-right: auto; }
  .clip-frame { order: 2; max-width: 320px; margin-bottom: 28px; }
  /* 태블릿: 70% 로 줄이면 칸 하나가 150px 밑으로 떨어져 글이 대여섯 줄로 꺾인다. 85% 에서 멈춘다. */
  .step-list { width: 85%; gap: 14px; margin-top: 48px; }
  .duo { max-width: 620px; }
  .duo img:last-child { margin-top: 40px; }
  .wedding .media { order: 2; max-width: 420px; }
  .signature .media { max-width: 520px; }
  .technique .media { order: 2; max-width: 520px; }
  /* 화면이 좁아지면 전 아래의 빈자리도 낮아진다. 번호가 사진에 닿지 않게 줄인다. */
  .case-list { gap: 72px; }
  .case-no { padding-top: 10px; font-size: clamp(32px, 5.4vw, 48px); }
  .case-no span { margin-bottom: 6px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .reel-row {
    grid-template-columns: repeat(5, 42%);
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
  }
  .reel { scroll-snap-align: start; }
}

/* ── 폰 ── */
@media (max-width: 640px) {
  body { font-size: 15px; }
  section { padding: 72px 20px; }
  .reels { padding-bottom: 56px; }
  .faq { padding-top: 56px; }
  h2 { font-size: 30px; line-height: 1.24; }
  .section-copy { font-size: 16px; }
  .display { font-size: 56px; }
  .brand { width: 168px; }

  /* 폰: 사진을 위에 4:5 그대로 깔고, 아래 끝만 바탕색으로 풀어 글과 잇는다. */
  .hero {
    display: block;
    min-height: 0;
    padding: 0 20px 44px;
  }
  .hero-img {
    position: relative;
    width: calc(100% + 40px);
    max-width: none;
    height: auto;
    margin: 0 -20px;
    object-position: 50% 30%;
    -webkit-mask-image: linear-gradient(#000 74%, transparent);
    mask-image: linear-gradient(#000 74%, transparent);
  }
  /* 12-05 부터 언어 단추라 폰에서도 보여야 한다(앞은 바로가기라 숨겼다). 사진 위 오른쪽 구석에 작게 둔다. */
  .hero-nav { top: 14px; right: 14px; gap: 6px; }
  .hero-nav .pill { height: 30px; padding: 0 12px; }
  .hero-inner { margin-top: -30px; }
  .hero-inner > * { max-width: none; }
  .hero h1 { margin-top: 20px; font-size: 52px; }
  .hero-copy { max-width: none; margin-top: 20px; font-size: 16px; }
  .hero-copy br { display: none; }
  .hero .button { flex: 1 1 calc(50% - 5px); padding: 0 12px; font-size: 14px; }

  .points { grid-template-columns: 1fr; }
  /* 폰: 세로 영상을 화면 폭 가득 채우면 한 화면을 넘는다. 76% 로 두고 뒤의 색 판도 덜 비낀다. */
  .preview .split { gap: 36px; }
  .clip-frame { max-width: 76%; margin-bottom: 16px; }
  .clip-frame::before { inset: 16px 16px -16px -16px; }
  /* 폰: 세로로 쌓되 사진을 왼쪽에 작게, 글을 오른쪽에 둔다. 사진 셋을 통으로 쌓으면 너무 길다. */
  .step-list { grid-template-columns: 1fr; width: 100%; gap: 20px; margin-top: 40px; }
  .step { display: grid; grid-template-columns: 42% minmax(0, 1fr); gap: 16px; align-items: center; }
  /* 폰은 줄이기 전 크기 그대로 둔다(사진이 이미 작다). */
  .step-no { margin-top: 0; font-size: 18px; }
  .step h3 { margin-top: 2px; font-size: 19px; }
  .step-text p:last-child { margin-top: 8px; font-size: 15px; line-height: 1.7; }
  .duo { gap: 10px; }
  .duo img:last-child { margin-top: 28px; }
  /* 폰: 전을 위에, 후를 그 아래 가득 채워 살짝만 겹친다. 번호는 전 옆 빈자리에 둔다. */
  .case-list { width: 100%; gap: 56px; margin-top: 40px; }
  .case .shot-before { grid-column: 1 / 10; }
  .case .shot-after {
    grid-column: 1 / 13;
    grid-row: 2;
    margin-top: -2%;
    box-shadow: 0 0 0 6px var(--tint-1), 0 16px 32px rgba(47, 32, 24, 0.16);
  }
  .case-no { grid-column: 10 / 13; align-self: start; margin-left: 12px; padding-top: 12px; font-size: 40px; text-align: right; }
  .case:nth-child(even) .shot-before { grid-column: 4 / 13; }
  .case:nth-child(even) .shot-after { grid-column: 1 / 13; }
  .case:nth-child(even) .case-no { grid-column: 1 / 4; margin-right: 12px; margin-left: 0; text-align: left; }
  .tag { top: 10px; left: 10px; padding: 4px 12px; }
  .service-grid { grid-template-columns: 1fr; margin-top: 40px; }
  .plan-grid { grid-template-columns: 1fr; margin-top: 48px; }
  .plan { padding: 24px 22px 26px; }
  .plan h3 { font-size: 24px; }
  .plan dl { grid-template-columns: 64px 1fr; }
  .reel-row { grid-template-columns: repeat(5, 62%); margin-top: 32px; }
  .info-grid { grid-template-columns: 1fr; margin-top: 40px; }
  .info { padding: 24px 22px; }
  .info .button { flex: 1 1 0; padding: 0 12px; }
  .sticky-bar a { font-size: 13px; }
}
