/* 미주한인장로선교회 — 어둠에서 빛으로: 장마다 한 단계씩 밝아지는 색면 */
:root {
  /* 장(章)의 색: 밤 → 새벽 → 여명 → 아침 → 낮 */
  --night: #111a27;
  --deep: #1c2a3b;
  --black: #05070b;
  --blue: #2a3d52;
  --amber: #d4b07a;
  --sky: #dfe8ed;
  --sky-2: #cdd9e0;
  --day: #ffffff;
  --day-2: #eef3f6;
  --pale: #e9eef1;
  --gold: #dcc28e;
  --teal: #365c5e;

  --ink: #0b1322;          /* 밝은 면의 글자 */
  --muted: #3f4a5a;        /* 밝은 면의 보조 글자 */
  --paper: #f1f4f8;        /* 어두운 면의 글자 */
  --paper-muted: #b9c2cf;  /* 어두운 면의 보조 글자 */

  --font: "Jost", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --step-small: clamp(0.9375rem, 0.92rem + 0.1vw, 1rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(4.25rem, 15vw, 14.5rem);

  --m: clamp(16px, 2.8vw, 40px);           /* 바깥 여백, 페이지 전체 공통 */
  --gap: 24px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-reveal: 800ms;
  font-size: 100%;
}
html.large { font-size: 118.75%; } /* 글자 크게 */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--day);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; }
h2 { font-size: var(--step-head); }
h3 { font-size: var(--step-lead); letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; }
.hero-foot p, .choir-foot p, .greeting p, .lead-p, .ledger-lead, .give-lead, figcaption { text-wrap: balance; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--ink); }

html[data-lang="ko"] .en,
html[data-lang="en"] .ko { display: none !important; }
html[data-lang="en"] h1, html[data-lang="en"] h2 { text-transform: uppercase; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; z-index: 50; }
.skip:focus { left: var(--m); top: 12px; background: var(--gold); color: var(--ink); padding: 10px 16px; }

/* 장의 색면 */
.field-night { background: var(--night); color: var(--paper); }
.field-deep  { background: var(--deep);  color: var(--paper); }
.field-black { background: var(--black); color: var(--paper); }
.field-blue  { background: var(--blue);  color: var(--paper); }
.field-amber { background: var(--amber); color: var(--ink); }
.field-sky   { background: var(--sky);   color: var(--ink); }
.field-day   { background: var(--day);   color: var(--ink); }
.field-pale  { background: var(--pale);  color: var(--ink); }
.field-gold  { background: var(--gold);  color: var(--ink); }
.gold { color: var(--gold); }

/* 버튼: 사각, 한 가지 모양 */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  background: var(--gold); color: var(--ink);
  font-weight: 500; text-decoration: none;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}
.btn:hover { background: #e8d3a8; }
.btn:active { transform: scale(0.97); }
.btn.ink { background: var(--ink); color: var(--paper); }
.btn.ink:hover { background: var(--blue); }

/* ── 1. 히어로: 두 잉크로 쌓은 이름 ── */
.hero { position: relative; min-height: 100svh; padding: 0 var(--m); display: flex; flex-direction: column; }
.bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; font-size: var(--step-small); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: var(--step-body); font-weight: 500; letter-spacing: -0.01em; }
.logo-slot { display: block; flex: none; }
.logo-slot svg, .logo-slot img { display: block; width: 100%; height: 100%; }
.logo-slot.sm { width: 40px; height: 40px; }
.tab-choir { background: var(--teal); color: var(--paper); padding: 10px 14px; text-decoration: none !important; transition: background-color var(--t-hover) ease; }
.tab-choir:hover { background: #2c4a4c; }
.bar-links { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: flex-end; }
.bar-links a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.3em; transition: text-decoration-color var(--t-hover) ease; }
.bar-links a:hover { text-decoration-color: currentColor; }
.toggles { display: flex; gap: 4px; }
.toggles button {
  min-height: 40px; padding: 0 12px; cursor: pointer; border: 0;
  background: rgba(245, 242, 235, 0.08); color: var(--paper);
  transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.toggles button:hover { background: rgba(245, 242, 235, 0.16); }
.toggles button:active { transform: scale(0.96); }
.toggles button[aria-pressed="true"] { background: var(--paper); color: var(--night); }

/* 로고 + 이름 묶음 */
.lockup { margin-top: 12vh; display: grid; grid-template-columns: auto 1fr; gap: 2.6vw; align-items: start; }
.lockup > .logo-slot { width: clamp(88px, 11vw, 168px); height: clamp(88px, 11vw, 168px); margin-top: 1vw; }
.hero-name {
  font-size: calc(var(--step-display) * 0.74);
  font-weight: 500; line-height: 1.0; letter-spacing: -0.045em;
}
html[data-lang="ko"] .hero-name { line-height: 1.08; letter-spacing: -0.06em; }
.hero-sub { margin-top: 32px; display: grid; gap: 6px; color: var(--paper-muted); }
.hero-sub .official { font-size: var(--step-lead); font-weight: 500; color: var(--paper); letter-spacing: 0; }
.now-more { display: inline-block; margin-top: 24px; font-weight: 500; text-underline-offset: 0.25em; }
.lines .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.lines [data-line] { display: block; }

.hero-foot {
  margin-top: auto; margin-left: auto; padding-bottom: 40px;
  width: min(100%, 30rem);
  display: flex; flex-direction: column; align-items: flex-end; gap: 24px; text-align: right;
}
.hero-foot p { font-size: var(--step-body); color: var(--paper); }

/* ── 2. 성경 구절: 두 줄 계단 ── */
.verse { position: relative; min-height: 100svh; padding: 120px var(--m); display: grid; align-content: center; }
.stairs { font-size: calc(var(--step-display) * 0.62); line-height: 1.04; letter-spacing: -0.05em; max-width: 74vw; }
.stairs > span > span { display: block; padding-left: calc(var(--s) * 12vw); }
.verse-full { margin: 48px 0 0 12vw; max-width: 30em; }
.verse-full p { font-size: var(--step-lead); line-height: 1.45; }
.verse-note { margin: 16px 0 0 12vw; color: var(--paper-muted); }
.verse-pics { position: absolute; right: var(--m); top: 50%; transform: translateY(-50%); width: 20vw; display: grid; gap: 16px; }
.verse-pics figure { margin: 0; aspect-ratio: 3 / 2; overflow: clip; }
.verse-pics img { width: 100%; height: 100%; object-fit: cover; }

/* ── 3. 소개 영상 ── */
.film { padding: 120px var(--m); }
.film-head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: end; margin-bottom: 48px; }
.film-head p { max-width: 36ch; justify-self: end; color: var(--paper); }
.film-frame { margin: 0; }
.film-frame video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.film-frame figcaption { margin-top: 16px; color: var(--paper-muted); }

/* ── 4. 네 가지 길: 부채꼴로 놓이는 카드 ── */
.ways { position: relative; height: 240svh; }
.ways-stage { position: sticky; top: 0; height: 100svh; overflow: clip; padding: 48px var(--m) 0; }
.ways-head { max-width: 40rem; }
.ways-head p { margin-top: 16px; color: var(--paper); }
.fan { list-style: none; margin: 0; padding: 0; position: absolute; left: 50%; top: max(230px, 27svh); width: 1110px; transform: translateX(-50%); height: 520px; }
.card {
  position: absolute; top: 0; left: calc(var(--n) * 250px);
  width: 360px; height: 520px; padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
  transform: rotate(var(--rot, 0deg));
  will-change: transform;
}
.card:nth-child(1) { --rot: -3deg; }
.card:nth-child(2) { --rot: 2deg; }
.card:nth-child(3) { --rot: -2deg; }
.card:nth-child(4) { --rot: 4deg; }
.card > * { max-width: 222px; }
.card h3 { font-size: var(--step-lead); font-weight: 700; }
.card img { width: 222px; aspect-ratio: 3 / 2; object-fit: cover; }
.card p { font-size: var(--step-body); line-height: 1.5; }
.card .ref { font-size: var(--step-small); }
.card .ref { margin-top: auto; font-weight: 500; }
.c-gold { background: var(--gold); color: var(--ink); }
.c-sky { background: var(--sky); color: var(--ink); }
.c-paper { background: var(--paper); color: var(--ink); }
.c-teal { background: var(--teal); color: var(--paper); }

/* ── 5. 지금 하는 일: 원반 위의 사진 ── */
.now { position: relative; min-height: 100svh; padding: 120px var(--m); display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: end; }
.disc-wrap { grid-column: 5 / 13; grid-row: 1; position: relative; height: 64vh; align-self: center; }
.disc { position: absolute; left: 50%; top: 0; width: 64vh; height: 64vh; border-radius: 50%; transform: translateX(-30%); background: var(--night); transition: background-color 300ms ease; }
.disc[data-c="1"] { background: var(--deep); }
.disc[data-c="2"] { background: var(--paper); }
.disc[data-c="3"] { background: var(--teal); }
.disc-pic { position: absolute; left: 50%; top: 22vh; width: 62vh; transform: translateX(-26%); margin: 0; }
.disc-pic img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: opacity 300ms ease; }
.disc-pic img.swap { opacity: 0; }
.now-list { grid-column: 1 / 6; grid-row: 1; position: relative; z-index: 1; }
.now-list h2 { color: #333c49; }
.now-list ul { list-style: none; margin: 0; padding: 0; }
.now-list button {
  border: 0; background: none; padding: 0; cursor: pointer; text-align: left;
  font-size: var(--step-head); font-weight: 700; line-height: 1.12; letter-spacing: -0.03em;
  color: #333c49;
  text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 0.06em; text-underline-offset: 0.14em;
  transition: color var(--t-hover) ease, text-decoration-color var(--t-hover) ease;
}
.now-list button:hover { color: var(--ink); }
.now-list button[aria-pressed="true"] { color: var(--ink); text-decoration-color: currentColor; }
.now-fact { margin-top: 32px; max-width: 32rem; }

/* ── 6. 25년 연합찬양제 기록 ── */
.ledger { padding: 160px var(--m); }
.ledger-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.soft { color: var(--muted); }
.ledger-lead { margin-top: 32px; max-width: 44rem; font-size: var(--step-lead); line-height: 1.45; }
.ledger-body { margin-top: 56px; display: grid; grid-template-columns: 150px 1fr; gap: 40px; align-items: start; }
.tabs { display: grid; gap: 6px; position: sticky; top: 24px; }
.tabs button {
  min-height: 64px; padding: 10px 16px; border: 0; cursor: pointer; text-align: left;
  background: var(--sky-2); color: var(--ink);
  display: flex; flex-direction: column; justify-content: center;
  transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.tabs button:hover { background: #bfccd4; }
.tabs button:active { transform: scale(0.97); }
.tabs button b { font-size: var(--step-body); }
.tabs button small { font-size: var(--step-small); }
.tabs button[aria-selected="true"] { background: var(--night); color: var(--paper); }
.bands ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.bands ol + ol { margin-top: 40px; }
.js .bands ol + ol { margin-top: 0; }
.bands li { display: grid; grid-template-columns: 9.5rem 1fr; gap: 20px; align-items: center; min-height: 76px; padding: 12px 20px; background: #e7eef2; }
.bands li:nth-child(even) { background: #d7e2e8; }
.bands time { font-size: var(--step-body); font-weight: 500; font-variant-numeric: tabular-nums; }
.bands b { display: block; font-weight: 500; }
.bands small { display: block; color: var(--muted); }
.bands .todo { color: var(--muted); }
@media (min-width: 1101px) {
  .bands li > div { display: flex; justify-content: space-between; align-items: baseline; gap: 32px; }
  .bands small { text-align: right; max-width: 48%; }
}
.js .bands ol[hidden] { display: none; }

/* ── 7. 섬기는 사람들 ── */
.people { padding: 160px var(--m); }
.people-top { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; }
.people-top h2 { grid-column: 1 / 6; }
.greeting { grid-column: 6 / 13; margin: 0; }
.greeting blockquote { margin: 0; }
.greeting p { font-size: var(--step-lead); font-weight: 500; line-height: 1.5; }
.greeting.after { margin-top: 72px; max-width: 46rem; }
.greeting figcaption { margin-top: 16px; color: var(--muted); }
.tiles { list-style: none; margin: 96px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 12px; }
.tile { aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: clip; }
.tile img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15); mix-blend-mode: multiply; }
.init { font-size: var(--step-display); font-weight: 700; line-height: 1; letter-spacing: -0.05em; }
.t1 { background: var(--night); color: var(--gold); }
.t2 { background: var(--gold); color: var(--ink); }
.t3 { background: var(--sky); color: var(--ink); }
.t4 { background: var(--teal); color: var(--paper); }
.tiles b { display: block; margin-top: 12px; font-weight: 500; }
.tiles small { display: block; color: var(--muted); }

/* ── 8. 제목 위에 떨어진 인화지 ── */
.prints { position: relative; min-height: 100svh; overflow: clip; display: grid; place-items: center; padding: 80px var(--m); }
.prints-title { position: relative; z-index: 1; font-size: var(--step-display); line-height: 0.95; text-align: center; letter-spacing: -0.05em; }
html[data-lang="en"] .prints-title { font-size: clamp(3.5rem, 12vw, 11rem); }
.print-set { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; pointer-events: none; }
.print { position: absolute; pointer-events: auto; background: #fff; padding: 8px; transition: transform 200ms var(--ease-out); }
.print button { display: block; border: 0; padding: 0; background: none; cursor: pointer; position: relative; }
.print img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.print .play { position: absolute; left: 0; bottom: 0; background: var(--night); color: var(--paper); font-size: var(--step-small); padding: 6px 12px; }
.p1 { width: 21vw; left: 7vw; top: 14%; transform: rotate(-8deg); }
.p2 { width: 21vw; right: 7vw; top: 22%; transform: rotate(6deg); }
.p3 { width: 13vw; left: 30vw; bottom: 7vh; transform: rotate(-3deg); }
.print:hover, .print:focus-within { transform: rotate(0deg); z-index: 2; }
.prints-note { position: absolute; right: var(--m); bottom: 24px; text-align: right; max-width: 36ch; }

/* ── 8-1. 선교지 편지 ── */
.letters { padding: 160px var(--m); }
.letters-lead { margin-top: 24px; max-width: 48ch; font-size: var(--step-lead); line-height: 1.45; }
.letters-grid { margin-top: 72px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 72px var(--gap); align-items: start; }
.letter img { width: 100%; height: auto; display: block; margin-bottom: 24px; }
.letter-from { margin-top: 6px; font-size: var(--step-small); }
.letter blockquote { margin: 20px 0 0; line-height: 1.6; }

/* ── 9. 후원 ── */
.give { padding: 160px var(--m); display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.give h2 { grid-column: 1 / 7; }
.give-lead { grid-column: 7 / 13; font-size: var(--step-lead); line-height: 1.45; }
.give-grid { grid-column: 1 / 13; margin-top: 96px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px var(--gap); }
.give-grid p { margin-top: 12px; }
.give-tax { grid-column: 7 / 13; max-width: 52ch; }
.give-list { margin: 12px 0 0; padding-left: 1.4em; display: grid; gap: 4px; }
.give-facts { grid-column: 1 / 4; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); padding: 24px; background: #e7d3a9; }
.give-facts dt { color: #4a3a12; }
.give-facts dd { margin: 4px 0 0; font-weight: 500; }

/* ── 10. 정관과 주소록 ── */
.docs { padding: 160px var(--m); }
.docs-grid { margin-top: 56px; display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.docs h3 { margin-bottom: 20px; }
.articles details { background: var(--day-2); margin-bottom: 4px; }
.articles summary { list-style: none; cursor: pointer; padding: 16px 20px; display: flex; justify-content: space-between; gap: 16px; font-weight: 500; transition: background-color var(--t-hover) ease; }
.articles summary:hover { background: #e2eaf0; }
.articles summary::-webkit-details-marker { display: none; }
.articles summary::after { content: "+"; font-weight: 700; }
.articles details[open] summary::after { content: "−"; }
.articles details p { padding: 0 20px 18px; color: var(--muted); }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-weight: 500; font-size: var(--step-small); color: var(--muted); }
th, td { padding: 14px 16px 14px 0; border-bottom: 1px solid #d5dde4; }

/* ── 11. 연락처: 큰 글자 행 ── */
.contact { padding: 0; }
.contact-h, .rows li { min-height: 150px; padding: 0 var(--m) 24px; display: flex; align-items: flex-end; font-size: var(--step-head); font-weight: 400; line-height: 1; letter-spacing: -0.03em; }
.contact-h { font-weight: 700; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li:nth-child(odd) { background: var(--sky-2); }
.rows a { text-decoration: underline; text-decoration-thickness: 0.05em; text-underline-offset: 0.12em; text-decoration-color: rgba(11, 19, 34, 0.35); transition: text-decoration-color var(--t-hover) ease; }
.rows a:hover { text-decoration-color: currentColor; }
.contact { position: relative; }
.contact-pic { position: absolute; right: var(--m); top: 40px; width: 40%; margin: 0; }
.contact-pic img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.rows .hello { gap: 24px; align-items: center; padding-top: 24px; }
.round {
  width: 0.9em; height: 0.9em; flex: none; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: var(--paper);
  text-decoration: none !important;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}
.round:hover { background: var(--blue); transform: translateX(4px); }
.round svg { width: 40%; height: 40%; }

/* ── 12. 타일 푸터 ── */
.foot { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; padding: 8px; background: var(--day); }
.ftile { padding: 24px; min-height: 220px; display: flex; flex-direction: column; }
.ftile small { font-size: var(--step-body); line-height: 1.5; }
.f-state { grid-column: 1 / 5; background: var(--pale); justify-content: space-between; }
.f-state p { font-size: var(--step-lead); line-height: 1.35; font-weight: 500; }
.f-nav { grid-column: 5 / 8; background: var(--sky); gap: 6px; }
.f-nav a { text-decoration: none; }
.f-nav a:hover { text-decoration: underline; }
.f-city { grid-column: 8 / 10; background: var(--amber); }
.f-city #clock { font-size: var(--step-lead); font-weight: 500; font-variant-numeric: tabular-nums; margin-top: auto; }
.f-credit { grid-column: 10 / 13; background: var(--day-2); justify-content: space-between; }
.f-credit small { color: var(--muted); }
.f-word { grid-column: 1 / 9; min-height: 320px; background: var(--night); color: var(--paper); display: grid; place-items: center; font-size: var(--step-display); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.f-act { grid-column: 9 / 13; min-height: 320px; background: var(--gold); color: var(--ink); text-decoration: none; justify-content: space-between; font-size: var(--step-lead); font-weight: 700; transition: background-color var(--t-hover) ease; }
.f-act:hover { background: #e8d3a8; }
.f-act svg { align-self: flex-end; transition: transform var(--t-hover) var(--ease-out); }
.f-act:hover svg { transform: translate(4px, -4px); }

/* 라이트박스 */
dialog { border: 0; padding: 0; background: var(--black); color: var(--paper); width: min(1000px, 94vw); }
dialog::backdrop { background: rgba(5, 7, 11, 0.88); }
.lightbox-body iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.close { position: absolute; top: -48px; right: 0; background: none; border: 0; color: #fff; font-size: 2.2rem; line-height: 1; cursor: pointer; padding: 4px 8px; }
dialog[open] { overflow: visible; }


/* ════ 시카고장로성가단 하위 페이지 ════ */
.field-teal { background: var(--teal); color: var(--paper); }
.parent-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 10px var(--m); background: var(--night); color: var(--paper); font-size: var(--step-small);
}
.parent-bar a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; }
.parent-bar a:hover > span:last-child { text-decoration: underline; text-underline-offset: 0.25em; }
.parent-bar .logo-slot.sm { width: 24px; height: 24px; }
.parent-note { color: var(--paper-muted); }

.choir-hero { min-height: calc(100svh - 44px); padding: 0 var(--m); display: flex; flex-direction: column; }
.choir-hero .toggles button { background: #2c4a4c; }
.choir-hero .toggles button:hover { background: #233c3e; }
.choir-hero .toggles button[aria-pressed="true"] { background: var(--paper); color: var(--teal); }
.choir-top { margin-top: 8vh; display: grid; grid-template-columns: 5fr 7fr; gap: 4vw; align-items: center; }
.choir-hero .hero-name { font-size: calc(var(--step-display) * 0.6); }
.choir-hero .hero-sub { color: #e3eeef; }
.choir-photo { margin: 0; }
.choir-photo button, .vids button { display: block; position: relative; width: 100%; border: 0; padding: 0; background: none; cursor: pointer; }
.choir-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 600ms var(--ease-soft); }
.choir-photo button { overflow: clip; }
.choir-photo button:hover img, .vids button:hover img { transform: scale(1.03); }
.choir-photo figcaption { margin-top: 12px; color: #e3eeef; }
.choir-photo .play, .vids .play { position: absolute; left: 0; bottom: 0; background: var(--night); color: var(--paper); padding: 8px 14px; font-size: var(--step-small); }
.choir-foot { margin-top: auto; padding: 48px 0 40px; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.choir-foot p { max-width: 44rem; }
.choir-foot b { display: block; font-size: var(--step-lead); font-weight: 500; margin-bottom: 4px; }

.choir-intro { padding: 160px var(--m); display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.choir-intro h2 { grid-column: 1 / 6; font-size: calc(var(--step-display) * 0.5); line-height: 1.05; letter-spacing: -0.05em; }
.intro-grid { grid-column: 6 / 13; display: grid; gap: 48px; }
.lead-p { font-size: var(--step-lead); line-height: 1.5; }
.facts-list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px var(--gap); }
.facts-list dt { color: var(--paper-muted); }
.facts-list dd { margin: 4px 0 0; font-weight: 500; }

.ens { padding: 160px var(--m); display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; }
.ens h2 { grid-column: 1 / 7; font-size: calc(var(--step-display) * 0.5); line-height: 1.02; letter-spacing: -0.04em; }
.ens-body { grid-column: 7 / 13; display: grid; gap: 24px; }
.ens-pic { margin: 0 0 16px; }
.ens-pic button { display: block; position: relative; width: 100%; border: 0; padding: 0; background: none; cursor: pointer; overflow: clip; }
.ens-pic img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 600ms var(--ease-soft); }
.ens-pic button:hover img { transform: scale(1.03); }
.ens-pic .play { position: absolute; left: 0; bottom: 0; background: var(--gold); color: var(--ink); padding: 8px 14px; font-size: var(--step-small); }
.docs-note { margin: -8px 0 20px; color: var(--muted); }
.past { margin-top: 96px; }
.past h3 { margin-bottom: 20px; }
.past tbody th { font-weight: 700; }
.past .table-scroll + .docs-note { margin: 16px 0 0; }
.past.articles { max-width: 46rem; }

.join-grid { grid-template-columns: repeat(4, 1fr); }
.join-call { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.join-call .btn { font-size: var(--step-lead); }

.vids-sec { padding: 160px var(--m); }
.vids { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; gap: 40px var(--gap); }
.vids .v-big { grid-row: 1 / 3; }
.vids button { overflow: clip; }
.vids img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 600ms var(--ease-soft); }
.vids p { margin-top: 12px; }
.f-word-choir { font-size: calc(var(--step-display) * 0.62); }

@media (max-width: 1100px) {
  .choir-top { grid-template-columns: 1fr; gap: 40px; }
  .choir-hero .hero-name { font-size: 13vw; }
  .choir-intro h2, .intro-grid, .ens h2, .ens-body { grid-column: 1 / 13; }
  .join-grid { grid-template-columns: 1fr 1fr; }
  .f-word-choir { font-size: 12vw; }
}
@media (max-width: 720px) {
  .parent-note { display: none; }
  .choir-hero { min-height: 0; }
  .choir-hero .hero-name { font-size: 16vw; }
  .choir-foot { flex-direction: column; align-items: flex-start; }
  .choir-intro, .ens, .vids-sec { padding: 96px var(--m); }
  .choir-intro h2, .ens h2 { font-size: 13vw; }
  .facts-list, .join-grid { grid-template-columns: 1fr; }
  .vids { grid-template-columns: 1fr; }
  .vids .v-big { grid-row: auto; }
}

/* ── 움직임: 모두 transform/opacity, 줄어든 움직임에선 이동 없음 ── */
@media (prefers-reduced-motion: no-preference) {
  .js .lines [data-line] { transform: translateY(105%); animation: line-up 900ms var(--ease-expo) forwards; animation-delay: calc(var(--i) * 110ms + 150ms); }
  .js .hero-foot > * { opacity: 0; transform: translateY(16px); animation: fade-up 700ms var(--ease-out) 700ms forwards; }
  .js .hero-foot > *:last-child { animation-delay: 780ms; }

  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--d, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  .js .stairs > span > span { opacity: 0; transform: translateY(40px); transition: opacity 700ms var(--ease-out), transform 1000ms var(--ease-expo); transition-delay: calc(var(--s) * 120ms); }
  .js .stairs.is-in > span > span { opacity: 1; transform: none; }

  .js .shutter { clip-path: inset(0 0 100% 0); opacity: 1; transform: none; transition: clip-path 1100ms var(--ease-in-out); transition-delay: calc(var(--d, 0) * 120ms); }
  .js .shutter img { transform: scale(1.12); transition: transform 1500ms var(--ease-soft); }
  .js .shutter.is-in { clip-path: inset(0); }
  .js .shutter.is-in img { transform: scale(1.04); animation: drift 14s var(--ease-soft) 1.5s infinite alternate; }
}
@keyframes line-up { to { transform: none; } }
@keyframes fade-up { to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.1) translateX(-2%); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ways { height: auto; }
  .ways-stage { position: relative; height: auto; padding-bottom: 120px; }
  .fan { position: relative; left: auto; top: auto; transform: none; margin: 64px auto 0; }
}

/* ── 태블릿 ── */
@media (max-width: 1100px) {
  .ways { height: auto; }
  .ways-stage { position: relative; height: auto; overflow: visible; padding: 120px 0 120px; }
  .ways-head { padding: 0 var(--m); }
  .fan {
    position: relative; left: auto; top: auto; width: auto; height: auto; transform: none;
    margin-top: 48px; padding: 0 var(--m);
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  }
  .card { position: relative; left: auto; width: auto; height: auto; transform: none !important; }
  .card > * { max-width: none; }
  .card img { width: 100%; }
  .now { grid-template-columns: 1fr; align-items: start; }
  .disc-wrap, .now-list { grid-column: 1; }
  .disc-wrap { grid-row: 1; height: 86vw; max-height: 560px; }
  .disc { width: 86vw; height: 86vw; max-width: 560px; max-height: 560px; left: 50%; transform: translateX(-50%); }
  .disc-pic { width: 80vw; max-width: 640px; top: 8%; transform: translateX(-50%); }
  .now-list { grid-row: 2; }
  .people-top h2, .greeting { grid-column: 1 / 13; }
  .give h2, .give-lead, .give-tax { grid-column: 1 / 13; }
  .letters-grid { grid-template-columns: 1fr; }
}

/* ── 태블릿 이하: 인화지·연락처 사진·푸터는 쌓기 ── */
@media (max-width: 1100px) {
  .prints { place-items: start center; padding-top: 72px; }
  .print-set { position: static; display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; gap: 12px; margin-top: 32px; }
  .p1, .p2 { position: relative; width: auto; left: auto; right: auto; top: auto; }
  .p1 { transform: rotate(-3deg); }
  .p2 { transform: rotate(3deg); }
  .p3 { position: relative; width: auto; left: auto; bottom: auto; transform: rotate(-2deg); }
  .prints-note { position: static; margin-top: 32px; text-align: left; }
  .contact-pic { position: static; width: auto; padding: 24px var(--m) 0; background: var(--sky); }
  .foot { grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; }
  .ftile { padding: 20px; min-height: 160px; }
  .f-word { grid-column: 1 / 3; order: -2; min-height: 160px; }
  .f-act { grid-column: 1 / 3; order: -1; min-height: 160px; }
  .f-nav, .f-credit { grid-column: auto; }
  .f-city, .f-state { grid-column: auto; }
  .f-credit { grid-column: 1 / 3; }
}

/* ── 휴대폰 ── */
@media (max-width: 720px) {
  .bar-links > a:not(.tab-choir) { display: none; }
  .lockup { margin-top: 14vh; grid-template-columns: 1fr; gap: 20px; }
  .lockup > .logo-slot { width: 76px; height: 76px; margin-top: 0; }
  .hero-name { font-size: 16vw; }
  html[data-lang="ko"] .hero-name { font-size: 15vw; }
  .brand > span:not(.logo-slot) { display: none; }
  .hero-foot { margin-left: 0; width: 100%; align-items: flex-start; text-align: left; padding-bottom: 24px; }
  .verse { min-height: 0; padding-top: 96px; padding-bottom: 96px; align-content: start; }
  .stairs { max-width: none; font-size: 12.5vw; }
  .stairs > span > span { padding-left: calc(var(--s) * 6vw); }
  .verse-full, .verse-note { margin-left: 0; }
  .verse-pics { position: static; transform: none; width: auto; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 48px; }
  .film { padding: 96px var(--m); }
  .film-head { grid-template-columns: 1fr; }
  .film-head p { justify-self: start; }
  .now { padding: 96px var(--m); }
  .ledger, .people, .give, .docs { padding: 96px var(--m); }
  .ledger-top .btn { width: 100%; }
  .ledger-body { grid-template-columns: 1fr; gap: 16px; }
  .tabs { grid-template-columns: repeat(4, 1fr); top: 0; z-index: 2; }
  .tabs button { padding: 8px; min-height: 56px; }
  .bands li { grid-template-columns: 1fr; gap: 4px; padding: 16px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 48px 8px; }
  .fan { grid-template-columns: 1fr; }
  .init { font-size: var(--step-display); }
  .prints { min-height: 78svh; }
  .prints-title { font-size: 30vw; }
  html[data-lang="en"] .prints-title { font-size: 18vw; }
  .print-set { grid-template-columns: 1fr 1fr; }
  .p3 { display: none; }
  .prints-note { right: var(--m); }
  .give-grid { grid-template-columns: 1fr; margin-top: 56px; }
  .give-facts { grid-column: 1; grid-template-columns: 1fr; }
  .docs-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-h, .rows li { min-height: 84px; padding: 0 var(--m) 16px; }
  .rows .hello { background: var(--gold) !important; justify-content: space-between; }
  .round { width: 56px; height: 56px; }
}
