/* ==========================================================================
   B my Paparazzi — Design Guide v1.0 기반
   ========================================================================== */

:root {
  --ink-black: #0C0A07;      /* Noir */
  --off-white: #F1EBE0;      /* Ecru */
  --accent: #C9A14E;         /* Champagne Gold — 이전: #F5D000 (대안 혼용 금지 원칙 유지) */
  --deep-charcoal: #15110A;  /* Deep Umber */
  --kakao: #FEE500;

  --font-display: 'Noto Serif KR', serif;
  --font-logo: 'Playfair Display', 'Noto Serif KR', serif;
  --font-body: 'Pretendard Variable', Pretendard, 'Noto Sans KR', -apple-system, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, monospace;

  --line-light: rgba(241, 235, 224, 0.16);
  --text-dim: rgba(241, 235, 224, 0.7);
  --text-faint: rgba(241, 235, 224, 0.5);
  --ink-dim: rgba(12, 10, 7, 0.65);
  --ink-faint: rgba(12, 10, 7, 0.45);

  --pad-x: clamp(16px, 5vw, 64px);
  --section-y: clamp(72px, 10vw, 130px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink-black);
  color: var(--off-white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--accent);
  color: var(--ink-black);
  font-weight: 800;
  font-size: 14px;
  padding: 12px 20px;
}

.skip-link:focus { left: 0; }

/* ---- 필름 그레인 오버레이 ---- */
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-2%, 2%); }
  40% { transform: translate(2%, -1%); }
  60% { transform: translate(-1%, -2%); }
  80% { transform: translate(1%, 1%); }
}

.grain {
  position: fixed;
  inset: -100px;
  z-index: 60;
  pointer-events: none;
  opacity: 0.07;
  animation: grain 1.6s steps(4) infinite;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="180" height="180"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="2"/></filter><rect width="180" height="180" filter="url(%23n)" opacity="0.9"/></svg>');
}

/* ---- 공통 타이포 ---- */
.section-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.15;
  margin: 0 0 48px;
  text-wrap: pretty;
}

/* ---- 버튼 ---- */
.btn {
  display: inline-block;
  font-weight: 800;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 2px;
  text-align: center;
  transition: filter 0.15s, border-color 0.15s, color 0.15s;
}

.btn-accent { background: var(--accent); color: var(--ink-black); }
.btn-accent:hover { filter: brightness(1.08); }

.btn-ghost { border: 1px solid rgba(241, 235, 224, 0.4); color: var(--off-white); font-weight: 700; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ==========================================================================
   헤더
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s;
}

.site-header.scrolled {
  background: rgba(12, 10, 7, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: rgba(241, 235, 224, 0.12);
}

/* 로고 A — 에디토리얼 마스트헤드: 이탤릭 세리프 "B my" + 캡스 "PAPARAZZI" */
.logo {
  font-family: var(--font-logo);
  font-weight: 500;
  font-style: italic;
  font-size: 19px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.logo span {
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
}

.main-nav {
  display: flex;
  gap: clamp(12px, 2.5vw, 28px);
  font-size: 14px;
}

.main-nav a { color: rgba(241, 235, 224, 0.75); transition: color 0.15s; }
.main-nav a:hover { color: var(--off-white); }

.header-right { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}

.lang-switch a { color: var(--text-faint); display: inline-block; padding: 10px 4px; }
.lang-switch a:hover { color: var(--accent); }
.lang-switch .current { color: var(--off-white); }

.header-cta { padding: 9px 18px; font-size: 14px; font-weight: 700; white-space: nowrap; }

/* 모바일 메뉴 */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 6px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--off-white);
  transition: transform 0.2s, opacity 0.2s;
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 57px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(12, 10, 7, 0.97);
    border-bottom: 1px solid var(--line-light);
    padding: 8px 0 16px;
    transform: translateY(-120%);
    transition: transform 0.25s ease;
    z-index: 49;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 14px var(--pad-x); font-size: 16px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header-cta { display: none; }
}

@media (min-width: 761px) {
  .nav-toggle span:nth-child(3) { display: none; }
}

/* ==========================================================================
   히어로
   ========================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding: 120px var(--pad-x) clamp(40px, 7vh, 80px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  /* 사진 없을 때의 무드 placeholder */
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(245, 208, 0, 0.06), transparent 60%),
    linear-gradient(160deg, #1A1610 0%, #0C0A07 55%, #080604 100%);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.05);
}

.hero-bg img.missing { display: none; }

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 10, 7, 0.55) 0%, rgba(12, 10, 7, 0.15) 40%, rgba(12, 10, 7, 0.88) 88%);
  pointer-events: none;
}

.hero-content { position: relative; max-width: 900px; z-index: 1; }

.hero-content .section-label { margin-bottom: 18px; }

.hero-title {
  /* 영문 헤드라인 — 로고와 동일한 Playfair (로드된 굵기: 800) */
  font-family: var(--font-logo);
  font-weight: 800;
  font-size: clamp(38px, 7vw, 84px);
  line-height: 1.12;
  margin: 0 0 20px;
  text-wrap: pretty;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.65;
  color: rgba(241, 235, 224, 0.85);
  max-width: 520px;
  margin: 0 0 32px;
}

.hero .btn { padding: 15px 32px; font-size: 16px; }

/* ==========================================================================
   마퀴 티커
   ========================================================================== */
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee {
  overflow: hidden;
  border-top: 1px solid rgba(241, 235, 224, 0.14);
  border-bottom: 1px solid rgba(241, 235, 224, 0.14);
  padding: 12px 0;
  background: var(--ink-black);
}

.marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--text-faint);
}

/* ==========================================================================
   섹션 공통 레이아웃
   ========================================================================== */
.section {
  padding: var(--section-y) var(--pad-x);
  max-width: 1200px;
  margin: 0 auto;
}

.section--flush-top { padding-top: 0; }

/* 스크롤 페이드인 */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .grain, .marquee-track { animation: none; }
  .print:hover .frame::after, .print:focus-visible .frame::after { animation: none; }
}

/* ==========================================================================
   01 — 컨셉 카드
   ========================================================================== */
.concept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.concept-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-light);
  padding: 72px 26px 32px;
  background: rgba(241, 235, 224, 0.03);
}

/* 거대한 아웃라인 숫자 — 잡지 폴리오 넘버 무드 */
.concept-card .num {
  position: absolute;
  top: -26px;
  right: 2px;
  font-family: var(--font-display);
  font-size: 110px;
  font-weight: 900;
  line-height: 1;
  color: rgba(245, 208, 0, 0.22);
  margin: 0;
  pointer-events: none;
}

@supports (-webkit-text-stroke: 1px black) {
  .concept-card .num {
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(245, 208, 0, 0.55);
  }
}

.concept-card:nth-child(1) { transform: rotate(-0.5deg); }
.concept-card:nth-child(2) { transform: translateY(22px) rotate(0.4deg); }
.concept-card:nth-child(3) { transform: translateY(9px) rotate(-0.3deg); }

@media (max-width: 760px) {
  .concept-card:nth-child(n) { transform: none; }
}

.concept-card h3 { font-size: 20px; font-weight: 800; margin: 0 0 10px; }

.concept-card p { font-size: 16px; line-height: 1.7; color: var(--text-dim); margin: 0; }

/* ==========================================================================
   02 — 이용 흐름
   ========================================================================== */
.steps-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  border: 1px solid var(--line-light);
  padding: 22px 0;
}

/* 필름 스트립 퍼포레이션 */
.steps-grid::before,
.steps-grid::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  height: 9px;
  background-image: repeating-linear-gradient(90deg,
    rgba(241, 235, 224, 0.25) 0 12px, transparent 12px 30px);
  border-radius: 2px;
}

.steps-grid::before { top: 7px; }
.steps-grid::after { bottom: 7px; }

.step {
  padding: 30px 24px;
  border: 1px solid var(--line-light);
  margin: -0.5px;
}

.step .step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
  color: rgba(241, 235, 224, 0.45);
  margin-bottom: 14px;
}

.step h3 { font-size: 18px; font-weight: 800; margin: 0 0 8px; }

.step p { font-size: 15px; line-height: 1.65; color: rgba(241, 235, 224, 0.65); margin: 0; }

/* ==========================================================================
   03 — SPOTTED 포트폴리오 (밝은 반전 섹션)
   ========================================================================== */
.portfolio {
  background: var(--off-white);
  color: var(--ink-black);
  padding: var(--section-y) var(--pad-x);
}

.portfolio-inner { max-width: 1200px; margin: 0 auto; }

.portfolio .section-label { color: #8a7500; }

.portfolio-lead { font-size: 16px; color: rgba(12, 10, 7, 0.6); margin: 0 0 32px; }

/* 필터 탭 */
.filter-tabs {
  display: flex;
  gap: clamp(14px, 3vw, 28px);
  flex-wrap: wrap;
  margin-bottom: 44px;
  border-bottom: 1px solid rgba(12, 10, 7, 0.15);
}

.filter-tab {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: rgba(12, 10, 7, 0.62);
  min-height: 44px;
  padding: 12px 4px 14px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s;
}

.filter-tab:hover { color: var(--ink-black); }

.filter-tab.active {
  color: var(--ink-black);
  font-weight: 700;
  border-bottom-color: var(--accent);
}

/* 커버 스프레드 */
.cover-spread {
  position: relative;
  margin-bottom: clamp(36px, 6vw, 64px);
  background: #fff;
  padding: clamp(10px, 1.6vw, 16px);
  box-shadow: 0 18px 50px rgba(12, 10, 7, 0.22);
}

.cover-spread .cover-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #d8d4ca;
}

.cover-spread .ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(12, 10, 7, 0.4);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 16px;
}

.cover-spread img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.05);
}

.cover-spread .stamp {
  position: absolute;
  top: 22px;
  left: 18px;
  transform: rotate(-3.5deg);
  box-shadow: 2px 2px 0 rgba(12, 10, 7, 0.35);
  background: var(--accent);
  color: var(--ink-black);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  padding: 6px 14px;
  z-index: 2;
}

.cover-spread .cover-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: clamp(20px, 4vw, 36px);
  background: linear-gradient(180deg, transparent, rgba(12, 10, 7, 0.75));
  color: var(--off-white);
  z-index: 1;
}

.cover-spread .cover-caption .place {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(22px, 3.4vw, 40px);
  line-height: 1.2;
}

.cover-spread .cover-caption .time {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: rgba(241, 235, 224, 0.75);
  margin-top: 6px;
}

/* 매거진 그리드 — 세로 단 배치(마소너리)로 사진 높이가 달라도 촘촘하게 */
.gallery-grid {
  columns: 3 230px;
  column-gap: clamp(16px, 3vw, 36px);
}

.print {
  position: relative;
  margin: 14px 0 clamp(16px, 3vw, 36px);
  break-inside: avoid;
  background: #fff;
  padding: 10px 10px 14px;
  box-shadow: 0 12px 30px rgba(12, 10, 7, 0.18);
  cursor: zoom-in;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.3s ease;
}

.print:hover {
  transform: rotate(0deg) translateY(-4px) !important;
  box-shadow: 0 20px 44px rgba(12, 10, 7, 0.28);
}

.print.hiding { opacity: 0; transform: translateY(10px) !important; pointer-events: none; }

.print .frame { position: relative; overflow: hidden; background: #d8d4ca; }

.print img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.05);
}

.print .ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(12, 10, 7, 0.4);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 12px;
}

.print figcaption {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(12, 10, 7, 0.65);
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.print figcaption .time { color: rgba(12, 10, 7, 0.55); }

/* 라이트박스 */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(12, 10, 7, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: clamp(16px, 4vw, 48px);
}

.lightbox.open { display: flex; }

.lightbox-media {
  max-width: min(1100px, 92vw);
  max-height: 76vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-media img {
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  filter: saturate(0.72) contrast(1.05);
}

.lightbox-media .ph {
  width: min(640px, 80vw);
  aspect-ratio: 4 / 3;
  background: #1a1813;
  border: 1px dashed rgba(241, 235, 224, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
}

.lightbox-caption {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  display: flex;
  gap: 16px;
}

.lightbox-caption .time { color: var(--text-faint); }

.lightbox button {
  position: absolute;
  background: none;
  border: none;
  color: var(--off-white);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  padding: 16px;
  opacity: 0.7;
  transition: opacity 0.15s, color 0.15s;
}

.lightbox button:hover { opacity: 1; color: var(--accent); }

.lightbox .lb-close { top: 12px; right: 12px; }
.lightbox .lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 4px; top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   04 — 패키지
   ========================================================================== */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.package {
  border: 1px solid rgba(241, 235, 224, 0.2);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.package h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  margin: 0;
}

.package .price { font-size: 28px; font-weight: 800; }

.package ul {
  margin: 8px 0 0;
  padding: 0 0 0 18px;
  font-size: 16px;
  line-height: 2;
  color: rgba(241, 235, 224, 0.75);
}

.package .btn { margin-top: auto; padding: 12px; }

.package--featured {
  border: 2px solid var(--accent);
  background: rgba(245, 208, 0, 0.05);
  position: relative;
}

.package--featured .btn { padding: 13px; }

.badge {
  position: absolute;
  top: -13px;
  left: 24px;
  transform: rotate(-2deg);
  box-shadow: 2px 2px 0 rgba(12, 10, 7, 0.45);
  background: var(--accent);
  color: var(--ink-black);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 12px;
}

.packages-note {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(241, 235, 224, 0.62);
  margin-top: 24px;
}

/* ==========================================================================
   05 — FAQ
   ========================================================================== */
.faq-section { max-width: 860px; }

.faq-item { border-top: 1px solid var(--line-light); }

.faq-list::after {
  content: "";
  display: block;
  border-top: 1px solid var(--line-light);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--off-white);
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  text-align: left;
  padding: 20px 8px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-q .mark { color: var(--accent); font-size: 20px; flex-shrink: 0; }

.faq-a {
  margin: 0;
  padding: 0 8px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-dim);
  max-width: 680px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-a { max-height: 70vh; padding-bottom: 22px; }

/* ==========================================================================
   06 — 예약
   ========================================================================== */
.booking {
  background: var(--deep-charcoal);
  border-top: 1px solid rgba(241, 235, 224, 0.12);
  padding: var(--section-y) var(--pad-x);
}

.booking-inner { max-width: 860px; margin: 0 auto; }

.booking-lead { font-size: 16px; color: rgba(241, 235, 224, 0.65); margin: 0 0 36px; }

.booking .section-title { margin-bottom: 12px; }

#tally-mount iframe {
  width: 100%;
  height: 560px;
  border: none;
  /* Tally 테마(흰 글자)가 섹션의 어두운 배경 위에 그대로 어울리도록 투명 처리 */
  background: transparent;
  border-radius: 4px;
}

.tally-placeholder {
  border: 1px dashed rgba(241, 235, 224, 0.35);
  padding: 44px 28px;
  text-align: center;
  border-radius: 4px;
}

.tally-placeholder .label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  margin-bottom: 10px;
}

.tally-placeholder p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--text-dim); }

.booking-channels {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.booking-channels a {
  flex: 1;
  min-width: 200px;
  text-align: center;
  font-size: 15px;
  padding: 15px 20px;
  border-radius: 4px;
}

.btn-kakao { background: var(--kakao); color: #191600; font-weight: 800; }
.btn-kakao:hover { filter: brightness(1.05); }

/* ==========================================================================
   푸터
   ========================================================================== */
.site-footer {
  padding: 40px var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(241, 235, 224, 0.12);
}

.site-footer .logo { font-size: 17px; }

.footer-meta {
  font-size: 13px;
  color: var(--text-faint);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* ==========================================================================
   파파라치 디테일 — 테이프, 고무도장, 플래시, 마스트헤드, 하이라이트
   ========================================================================== */

/* 마스킹 테이프로 붙인 프린트 */
.print::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 50%;
  width: 84px;
  height: 24px;
  background: rgba(246, 242, 222, 0.65);
  border-left: 1px dashed rgba(12, 10, 7, 0.08);
  border-right: 1px dashed rgba(12, 10, 7, 0.08);
  box-shadow: 0 1px 2px rgba(12, 10, 7, 0.12);
  transform: translateX(-50%) rotate(-2.5deg);
  z-index: 2;
  pointer-events: none;
}

.print:nth-child(3n)::before { transform: translateX(-80%) rotate(4deg); width: 70px; }
.print:nth-child(4n)::before { transform: translateX(-10%) rotate(-5deg); width: 76px; }

/* 고무도장 — 일부 프린트에만 */
.print::after {
  position: absolute;
  top: 22px;
  right: -8px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.26em;
  color: rgba(12, 10, 7, 0.5);
  border: 2px solid rgba(12, 10, 7, 0.4);
  border-radius: 2px;
  padding: 5px 9px 5px 11px;
  transform: rotate(7deg);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.print:nth-child(4n+2)::after { content: "SPOTTED"; }
.print:nth-child(7n+5)::after { content: "NO POSE"; transform: rotate(-6deg); top: auto; bottom: 44px; }

/* 파파라치 플래시 — 호버/포커스 시 한 번 터짐 */
@keyframes flash {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

.print .frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 72%);
  opacity: 0;
  pointer-events: none;
}

.print:hover .frame::after,
.print:focus-visible .frame::after { animation: flash 0.5s ease-out; }

.print:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.cover-spread:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

/* 히어로 마스트헤드 — 타블로이드 발행 정보 */
.masthead {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 460px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(241, 235, 224, 0.65);
  border-top: 1px solid rgba(241, 235, 224, 0.3);
  border-bottom: 1px solid rgba(241, 235, 224, 0.3);
  padding: 8px 2px;
  margin-bottom: 28px;
}

/* 헤드라인 밑줄 스트로크 (어두운 배경용) */
.hl-under {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-size: 100% 0.13em;
  background-position: 0 94%;
}

/* 형광펜 하이라이트 (밝은 배경용) */
.hl-marker {
  background-image: linear-gradient(100deg,
    rgba(245, 208, 0, 0) 1.5%,
    rgba(245, 208, 0, 0.55) 4% 96%,
    rgba(245, 208, 0, 0) 98.5%);
  background-repeat: no-repeat;
  background-size: 100% 0.52em;
  background-position: 0 78%;
}

/* ==========================================================================
   07 — SNS (인스타그램)
   ========================================================================== */
.sns-lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 0 36px;
}

.sns-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 32px;
}

.sns-tile {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: rgba(241, 235, 224, 0.05);
  border: 1px solid var(--line-light);
}

.sns-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.05);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.sns-tile:hover img,
.sns-tile:focus-visible img {
  transform: scale(1.05);
  filter: saturate(1) contrast(1.05);
}

.sns-tile .ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.sns-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.sns-handle {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(20px, 3vw, 30px);
  color: var(--accent);
}

@media (max-width: 760px) {
  .sns-grid { grid-template-columns: repeat(3, 1fr); }
}
