/* 커플 캘린더 — 한국어 검토용 웹 디자인 (paper planner / editorial)
   Native captures plus original production pixel artwork. No UI is redrawn in CSS. */

:root {
  --paper: #f4efe7;
  --paper-2: #ebe4d8;
  --paper-3: #fffdf9;
  --ink: #17161a;
  --ink-2: #4a4741;
  --mute: #7a756d;
  --line: rgba(23, 22, 26, .13);
  --line-strong: rgba(23, 22, 26, .3);
  --peach: #f6b98a;
  --sky: #a9c8f3;
  --lav: #cdbbf2;
  --mint: #bfe3c0;
  --pink: #f4a8c0;
  --yellow: #f5e38a;
  --rose: #c8385c;
  --shadow: 0 1px 2px rgba(23, 22, 26, .06), 0 18px 48px -18px rgba(23, 22, 26, .28);
  --radius: 22px;
  --sans: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Malgun Gothic", "Segoe UI", Roboto, sans-serif;
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --wrap: 1200px;
  --gutter: clamp(18px, 4vw, 44px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  word-break: keep-all; overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 8px; top: 8px; max-inline-size: calc(100% - 16px); transform: translateY(-200%); background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { transform: translateY(0); }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 11px 18px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 15px;
  background: var(--ink); color: var(--paper-3); border: 1.5px solid var(--ink);
  transition: transform .18s ease, background .18s ease, color .18s ease; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: rgba(23, 22, 26, .06); }
.btn-lg { padding: 15px 24px; font-size: 16px; }
.btn-sm { padding: 8px 14px; font-size: 14px; }

/* ── nav ── */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 82%, transparent); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; min-height: 64px; height: auto; padding-block: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; font-weight: 800; letter-spacing: -.02em; text-decoration: none; font-size: 17px; }
.brand img { border-radius: 8px; flex-shrink: 0; }
.brand span { min-width: 0; line-height: 1.15; }
.nav-links { display: flex; gap: 4px; margin-inline: auto; }
.nav-links a { text-decoration: none; font-size: 14px; color: var(--ink-2); padding: 6px 10px; border-radius: 999px; }
.nav-links a:hover, .nav-links a.on { background: rgba(23, 22, 26, .07); color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; flex-shrink: 0; }
.nav-blog { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.nav-blog:hover, .nav-blog:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.nav .header-langs { position: relative; flex-shrink: 0; margin-top: 0; color: var(--ink); }
.header-langs summary { display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; list-style: none; }
.header-langs summary::-webkit-details-marker { display: none; }
.header-langs summary::after { content: ''; width: 6px; height: 6px; margin-inline: 2px; border-inline-end: 1.5px solid currentColor; border-block-end: 1.5px solid currentColor; transform: rotate(45deg); }
.header-langs[open] summary::after { transform: rotate(225deg); }
.header-langs .language-name { color: var(--ink); font-size: 13px; white-space: nowrap; }
.header-langs .locale-nav { position: absolute; inset-inline-end: 0; top: calc(100% + 10px); display: grid; width: 210px; max-width: calc(100vw - 36px); max-height: min(480px, calc(100dvh - 120px)); overflow-y: auto; padding: 8px; background: var(--paper-3); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); font-size: 14px; }
.header-langs .locale-nav a, .header-langs .unavailable-language { display: block; min-height: 36px; padding: 6px 10px; border-radius: 8px; text-decoration: none; }
.header-langs .locale-nav a:hover, .header-langs .locale-nav a[aria-current] { background: var(--paper-2); }
.header-langs .unavailable-language { color: var(--mute); }
@media (max-width: 1280px) { .nav-links { display: none; } }
@media (max-width: 640px) {
  .nav-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
  .header-langs { grid-column: 2; grid-row: 1; }
  .nav-cta { grid-column: 1 / -1; justify-self: end; }
}
@media (max-width: 520px) { .nav-cta .btn-ghost { display: none; } .nav-inner { min-height: 58px; height: auto; padding-block: 7px; gap: 12px; } .nav-cta .btn-sm { padding-inline: 10px; } }

/* ── hero ── */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 0; overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); letter-spacing: .01em; margin-bottom: 20px; }
.dots { display: inline-flex; }
.dots i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--paper); }
.dots i:first-child { background: var(--peach); }
.dots i:last-child { background: var(--lav); margin-left: -5px; }
.hero h1 { font-size: clamp(40px, 6.2vw, 78px); letter-spacing: -.045em; line-height: 1.04; }
/* Respect Japanese punctuation boundaries instead of emergency word splitting. */
html[lang="ja"] .hero h1 { font-size: clamp(32px, 4vw, 56px); word-break: normal; overflow-wrap: normal; line-break: strict; }
/* Chinese punctuation must stay attached to native text, not isolated by keep-all. */
html[lang="zh-Hans"] .hero h1,
html[lang="zh-Hant"] .hero h1 { font-size: clamp(32px, 4vw, 56px); word-break: normal; overflow-wrap: normal; line-break: strict; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); margin: 22px 0 30px; max-width: 34em; line-height: 1.7; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.note { margin-top: 14px; color: var(--mute); font-size: 14px; }

.spread { position: relative; aspect-ratio: 1 / 1.05; max-height: 760px; }
.spread [data-depth] { --px: 0px; --py: 0px; will-change: transform; transition: transform .25s ease-out; }
.sheet {
  position: absolute; inset: 4% 8% 4% 10%; margin: 0;
  background: var(--paper-3); border-radius: 18px; padding: 14px 14px 36px; box-shadow: var(--shadow);
  transform: translate(var(--px), var(--py)) rotate(-1.6deg); overflow: hidden;
}
.sheet img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 8px; }
.sheet-cap { position: absolute; left: 18px; bottom: 10px; font-size: 12px; color: var(--mute); letter-spacing: .04em; }
.cut { position: absolute; filter: drop-shadow(0 14px 22px rgba(23, 22, 26, .28)); pointer-events: none; }
.cut-park { width: 32%; right: -4%; bottom: -2%; transform: translate(var(--px), var(--py)) rotate(4deg); }
.cut-cafe { width: 22%; left: -6%; top: 6%; transform: translate(var(--px), var(--py)) rotate(-7deg); }
.cut-hands { width: 22%; left: 0; bottom: 6%; transform: translate(var(--px), var(--py)) rotate(-6deg); }
.tag {
  position: absolute; display: inline-flex; align-items: center; gap: 6px;
  background: var(--ink); color: var(--paper-3); font-size: 12.5px; font-weight: 700; padding: 7px 12px; border-radius: 999px;
  box-shadow: 0 10px 24px -10px rgba(23, 22, 26, .5);
}
.tag { transform: translate(var(--px), var(--py)); }
.tag-a { top: -2%; right: 12%; }
.tag-b { bottom: 22%; right: 18%; }
.sw { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.sw + .sw { margin-left: -2px; }
.sw-peach { background: var(--peach); } .sw-sky { background: var(--sky); } .sw-lav { background: var(--lav); }

.rule {
  margin-top: clamp(36px, 6vw, 80px); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(7, 1fr); width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto;
}
.rule span { font-family: var(--serif); font-size: 13px; color: var(--mute); text-align: center; padding: 8px 0; border-left: 1px solid var(--line); }
.rule span:first-child { border-left: 0; color: var(--rose); }
.rule span:last-child { color: #3e6ed1; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .spread { aspect-ratio: 1 / 1.1; width: min(100%, 560px); margin: 10px auto 0; }
}

/* ── sections ── */
.event-scenes-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.event-artworks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.event-artwork { margin: 0; min-width: 0; padding: 12px 8px; background: var(--paper-3); border: 1px solid var(--line); border-radius: 16px; }
.event-artwork img { width: 200px; max-width: 100%; height: auto; margin-inline: auto; image-rendering: pixelated; }
.event-artwork figcaption { margin-top: 8px; text-align: center; font-size: 15px; font-weight: 700; }
.event-native-example { margin: 0; min-width: 0; }
.event-native-example img { width: 100%; height: auto; object-fit: contain; }
.event-native-example figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; margin-top: 12px; color: var(--ink-2); font-size: 14px; }
.event-live-scope { white-space: nowrap; }
@media (max-width: 767px) { .event-scenes-layout { grid-template-columns: minmax(0, 1fr); } .event-artworks { gap: 12px; } }
.sec { padding: clamp(64px, 9vw, 128px) 0; }
.sec-tint { background: var(--paper-2); }
.sec-ink { background: var(--ink); color: var(--paper); }
.two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.two-rev .copy { order: 2; }
.two-rev .media { order: 1; }
.head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; max-width: 980px; margin-bottom: clamp(28px, 4vw, 52px); }
.kicker { font-size: 13.5px; font-weight: 700; color: var(--mute); letter-spacing: .02em; text-transform: none; margin-bottom: 10px; }
.sec-ink .kicker { color: rgba(244, 239, 231, .6); }
.sec h2 { font-size: clamp(28px, 3.6vw, 46px); }
.desc { color: var(--ink-2); margin-top: 16px; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.75; max-width: 36em; }
.sec-ink .desc { color: rgba(244, 239, 231, .78); }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.facts li { font-size: 13.5px; font-weight: 600; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink-2); background: var(--paper-3); }
.fine { font-size: 13px; color: var(--mute); margin-top: 18px; line-height: 1.6; max-width: 60em; }
.pro { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .04em; padding: 2px 7px; border-radius: 6px; background: var(--ink); color: var(--paper-3); vertical-align: 2px; }
.sec-ink .pro { background: var(--paper-3); color: var(--ink); }

/* stamp: big planner numeral */
.stamp {
  display: inline-grid; grid-template-columns: auto auto; align-items: end; gap: 10px;
  padding: 10px 14px 8px; border: 1.5px solid var(--line-strong); border-radius: 14px; margin-bottom: 22px; background: var(--paper-3);
  transform: rotate(-2deg); transform-origin: left bottom;
}
.stamp b { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 4vw, 54px); line-height: .9; letter-spacing: -.04em; }
.stamp span { font-size: 11.5px; line-height: 1.3; color: var(--mute); padding-bottom: 3px; font-weight: 600; }
.stamp-light { background: transparent; border-color: rgba(244, 239, 231, .35); color: var(--paper); }
.stamp-light span { color: rgba(244, 239, 231, .6); }
.head .stamp { margin-bottom: 0; margin-top: 4px; }
.stamp { justify-self: start; }

/* media frames */
.frame { margin: 0; background: var(--paper-3); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); overflow: hidden; }
.frame img { border-radius: calc(var(--radius) - 10px); width: 100%; }
.frame figcaption { font-size: 12.5px; color: var(--mute); padding: 10px 4px 0; }
.frame.wide { padding: 14px; max-width: 1000px; margin-inline: auto; }
.two > .frame { width: min(100%, 540px); margin-inline: auto; }
.frame.small { align-self: start; }

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.mini { background: var(--paper-3); border-radius: 18px; padding: 24px; border: 1px solid var(--line); }
.mini h3 { font-size: 18px; margin-bottom: 8px; }
.mini p { font-size: 15px; color: var(--ink-2); line-height: 1.65; }
.mini-img { display: grid; grid-template-columns: 1fr 120px; gap: 16px; align-items: center; overflow: hidden; }
.mini-img img { border-radius: 10px; box-shadow: 0 8px 24px -10px rgba(23, 22, 26, .35); transform: rotate(3deg) translateY(10px); }
@media (max-width: 900px) {
  .two { grid-template-columns: 1fr; }
  .two-rev .copy { order: 1; } .two-rev .media { order: 2; }
  .head { grid-template-columns: 1fr; }
  .trio { grid-template-columns: 1fr; }
  .mini-img { grid-template-columns: 1fr 110px; }
}

/* day detail + sticker sheet */
.detail-frame { width: min(100%, 520px); margin-inline: auto; }
.sticker-sheet {
  position: relative; z-index: 2; margin: -28px auto 0; width: min(100%, 560px); height: 200px;
  border: 1.5px dashed var(--line-strong); border-radius: 18px; background: repeating-linear-gradient(0deg, transparent 0 23px, var(--line) 23px 24px);
}
.sticker-sheet img { position: absolute; filter: drop-shadow(0 8px 14px rgba(23, 22, 26, .25)); transition: transform .3s ease; }
.sticker-sheet img:nth-child(1) { height: 215px; width: auto; left: 10%; top: -34px; transform: rotate(-5deg); }
.sticker-sheet img:nth-child(2) { height: 150px; width: auto; right: 12%; top: 16px; transform: rotate(6deg); }
@media (max-width: 600px) {
  .sticker-sheet { height: 170px; }
  .sticker-sheet img:nth-child(1) { height: 180px; left: 8%; top: -24px; }
  .sticker-sheet img:nth-child(2) { height: 115px; right: 8%; top: 22px; }
}
.sticker-sheet:hover img:nth-child(1) { transform: rotate(-10deg) translateY(-6px); }
.sticker-sheet:hover img:nth-child(2) { transform: rotate(9deg) translateY(-8px); }

/* share steps */
.steps { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; }
.steps > li { text-align: center; }
.steps .arrow { color: var(--mute); }
.phone { margin: 0; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); background: #000; width: min(100%, 300px); margin-inline: auto; }
.phone img { width: 100%; }
.steps p { margin-top: 14px; font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); }
.steps p b { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--paper-3); display: inline-grid; place-items: center; font-family: var(--serif); font-size: 14px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .steps .arrow { transform: rotate(90deg); justify-self: center; }
  .phone { width: min(100%, 260px); }
}

/* lock screen tabs */
.tabs { background: rgba(255, 255, 255, .05); border: 1px solid rgba(244, 239, 231, .12); border-radius: 26px; padding: clamp(14px, 2vw, 24px); }
.tablist { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.tablist [role="tab"] {
  background: transparent; border: 1px solid rgba(244, 239, 231, .25); color: rgba(244, 239, 231, .8);
  padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; cursor: pointer; transition: background .18s, color .18s;
}
.tablist [role="tab"]:hover { background: rgba(244, 239, 231, .1); }
.tablist [role="tab"][aria-selected="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.panel { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; }
.panel[hidden] { display: none; }
.panel .phone { width: 100%; max-width: 300px; }
.zoom img { border-radius: 16px; max-height: 540px; width: auto; max-width: 100%; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8); }
.zoom p { margin-top: 16px; color: rgba(244, 239, 231, .78); font-size: 15px; line-height: 1.65; }
.zoom p b { display: block; color: var(--paper); font-size: 17px; margin-bottom: 4px; }
.panel.enter { animation: fade .35s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) { .panel { grid-template-columns: 1fr; } .panel .phone { max-width: 240px; margin-inline: auto; } }

.lock-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.dark-card { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); gap: 22px; align-items: center; background: rgba(255, 255, 255, .05); border: 1px solid rgba(244, 239, 231, .12); border-radius: 26px; padding: 22px; }
.dark-card img { border-radius: 14px; }
.dark-card h3 { font-size: 20px; margin-bottom: 8px; }
.dark-card p { color: rgba(244, 239, 231, .75); font-size: 14.5px; line-height: 1.65; }
@media (max-width: 900px) { .lock-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .dark-card { grid-template-columns: 1fr; } }

/* anniversary */
.anniv-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 18px; }
.anniv-grid > .frame:first-child { grid-row: 1 / 3; }
.watch-card { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: 18px; }
.watch-card img { border-radius: 36px; }
.watch-card h3 { font-size: 19px; margin-bottom: 6px; }
.watch-card p { color: rgba(244, 239, 231, .75); font-size: 14.5px; line-height: 1.6; }
.watch-card .kicker { color: rgba(244, 239, 231, .6); }
.watch-card .pro { background: var(--paper-3); color: var(--ink); }
@media (max-width: 900px) { .anniv-grid { grid-template-columns: 1fr; } .anniv-grid > .frame:first-child { grid-row: auto; } }
@media (max-width: 420px) { .watch-card { grid-template-columns: 1fr; } .watch-card img { width: 150px; } }

/* cycle toggle */
.switch { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.track { width: 52px; height: 32px; border-radius: 999px; background: #cfc8bc; position: relative; transition: background .25s; flex: none; }
.knob { position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); transition: transform .25s cubic-bezier(.3, 1.4, .5, 1); }
.switch input:checked + .track { background: var(--rose); }
.switch input:checked + .track .knob { transform: translateX(20px); }
.switch input:focus-visible + .track { outline: 3px solid var(--sky); outline-offset: 2px; }
.switch-text { font-weight: 700; font-size: 16px; }
.switch-text em { font-style: normal; color: var(--mute); font-weight: 600; margin-left: 4px; }
.switch input:checked ~ .switch-text em { color: var(--rose); }
.stage { position: relative; width: min(100%, 440px); margin-inline: auto; aspect-ratio: 900 / 1634; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--paper-3); }
.stage .layer { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .45s ease; }
.stage .layer.on { opacity: 1; }

/* settings strip */
.strip { --edge: calc((100% - min(var(--wrap), 100% - var(--gutter) * 2)) / 2); display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px var(--edge) 24px; scroll-padding-inline: var(--edge); scrollbar-width: thin; }
.strip li { flex: 0 0 min(72vw, 250px); scroll-snap-align: start; }
.strip img { border-radius: 18px; box-shadow: var(--shadow); background: #fff; }
.strip p { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); }

/* gallery */
.gal-head { max-width: 640px; margin-bottom: 28px; }
.gal-head p { color: var(--ink-2); margin-top: 10px; }
.gal { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; }
.gal button { all: unset; cursor: zoom-in; display: block; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease; }
.gal button:hover { transform: translateY(-4px); }
.gal button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.gal span { display: block; font-size: 12.5px; color: var(--mute); margin-top: 8px; font-weight: 600; }
@media (max-width: 1100px) { .gal { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lightbox::backdrop { background: rgba(23, 22, 26, .86); backdrop-filter: blur(8px); }
.lightbox[open] { display: grid; place-items: center; }
.lb-fig { margin: 0; display: grid; justify-items: center; gap: 10px; }
.lb-fig img { height: min(84vh, 1100px); width: auto; max-width: 92vw; border-radius: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); background: #fff; }
.lb-fig figcaption { color: rgba(255, 255, 255, .85); font-size: 13.5px; display: flex; gap: 14px; }
.lb-fig figcaption span:last-child { color: rgba(255, 255, 255, .5); font-family: var(--serif); }
.lb-btn { position: fixed; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.lb-btn:hover { background: rgba(255, 255, 255, .22); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* cta */
.cta { background: var(--paper-3); border-top: 1px solid var(--line); overflow: clip; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 280px); gap: 32px; align-items: end; position: relative; }
.cut-seaside { position: relative; order: 2; width: 100%; max-width: 280px; justify-self: center; margin-bottom: -60px; transform: rotate(3deg); }
.cta h2 { font-size: clamp(30px, 4vw, 52px); margin-bottom: 26px; }
.how { display: grid; gap: 10px; margin-bottom: 28px; max-width: 520px; }
.how li { counter-increment: step; display: grid; grid-template-columns: 28px auto 1fr; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }
.how li::before { content: counter(step); font-family: var(--serif); font-size: 20px; color: var(--mute); }
.how b { color: var(--ink); font-size: 16px; }
.langs { margin-top: 26px; color: var(--ink-2); font-size: 14.5px; }
.langs span { color: var(--mute); font-size: 13px; }
@media (max-width: 760px) { .cta-inner { grid-template-columns: 1fr; } .cut-seaside { max-width: 180px; margin: 10px auto -50px; } }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0 44px; font-size: 13.5px; color: var(--mute); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; }
.footer .brand { font-size: 15px; color: var(--ink); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .spread [data-depth] { transition: none; --px: 0px !important; --py: 0px !important; }
  .stage .layer, .panel.enter, .sticker-sheet img, .btn, .gal button { transition: none; animation: none; }
}
