/* 스튜디오 감탄호 — 공통 스타일
   색은 감탄호 로고(노랑·빨강·검정)와 토투가 마리나 포스터(청록·하늘)에서 가져왔습니다. */
:root {
  --yellow: #EABD02;
  --yellow-soft: #FFF3C2;
  --red: #D9362B;
  --ink: #1B1B1B;
  --teal: #0E605E;
  --teal-mid: #2FA7A3;
  --sky: #BCEEF7;
  --sky-soft: #E8F8FB;
  --paper: #FFFDF6;
  --muted: #5B6465;
  --line: rgba(14, 96, 94, .18);
  --radius: 18px;
  --shadow: 0 10px 30px rgba(14, 96, 94, .14);
  --display: "Jua", "Gowun Dodum", sans-serif;
  --body: "Gowun Dodum", "Noto Sans KR", sans-serif;
  --hand: "Gaegu", "Gowun Dodum", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.85;
  word-break: keep-all;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.3; margin: 0; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 32px); margin-inline: auto; }

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 246, .92);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--ink);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 42px; height: 42px; border-radius: 50%; }
.brand span { font-family: var(--display); font-size: 22px; }
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--red); }
@media (max-width: 640px) {
  .nav { gap: 14px; font-size: 14px; }
  .brand span { display: none; }
}

/* ---------- 공통 요소 ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: .04em;
  color: var(--teal);
  background: var(--sky);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.sticker {
  display: inline-block;
  font-family: var(--display);
  background: var(--yellow);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 4px 16px;
  transform: rotate(-3deg);
  box-shadow: 3px 3px 0 var(--ink);
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-size: 17px;
  text-decoration: none;
  padding: 12px 24px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn.ghost { background: #fff; }
.btn.teal { background: var(--teal); color: #fff; }

.wave-divider { display: block; width: 100%; height: 48px; color: var(--sky); }

/* 사진 프레임 */
.photo { margin: 0; }
.photo img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  cursor: zoom-in;
  background: var(--sky-soft);
}
.photo figcaption {
  font-family: var(--hand);
  font-size: 19px;
  color: var(--muted);
  margin-top: 8px;
  text-align: center;
}
.polaroid {
  background: #fff;
  padding: 12px 12px 6px;
  border-radius: 6px;
  box-shadow: var(--shadow);
}
.polaroid img { border-radius: 2px; box-shadow: none; }
.tilt-l { transform: rotate(-2deg); }
.tilt-r { transform: rotate(2deg); }

/* ---------- 푸터 ---------- */
.site-footer {
  background: var(--ink);
  color: #f2f2f2;
  padding: 56px 0 40px;
  margin-top: 96px;
  font-size: 15px;
}
.site-footer .wrap { display: grid; gap: 24px; grid-template-columns: 1fr auto; align-items: end; }
.site-footer .logo-line { display: flex; align-items: center; gap: 14px; }
.site-footer .logo-line img { width: 56px; height: 56px; border-radius: 50%; }
.site-footer strong { font-family: var(--display); font-size: 24px; font-weight: 400; }
.site-footer a { color: var(--yellow); }
.site-footer small { color: #9aa; }
@media (max-width: 640px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* ---------- 라이트박스 ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: none; align-items: center; justify-content: center;
  background: rgba(10, 30, 30, .88);
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 86vh; max-width: 100%; border-radius: 12px; }
.lightbox p { color: #fff; font-family: var(--hand); font-size: 20px; text-align: center; margin: 12px 0 0; }
.lightbox button {
  position: absolute; top: 16px; right: 20px;
  background: none; border: 0; color: #fff; font-size: 36px; cursor: pointer;
}
