/* 03-magazine — 미나 매거진 · 감각적인 패션 화보집
   화이트 · 차콜 · 버건디. 모바일 우선, PC 최대폭 1200px. */
:root {
  --bg: #FFFFFF;
  --fg: #26262A;
  --muted: #5B5B61;
  --accent: #7A1F2B;
  --accent-light: #E4B3BA;
  --soft: #EFEBE6;
  --line: rgba(38, 38, 42, .18);
  --dark: #222226;
  --on-dark: #F4F1EC;

  --serif: 'Noto Serif KR', 'AppleMyungjo', 'Batang', serif;
  --sans: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --display: 'Playfair Display', 'Noto Serif KR', serif;

  --pad: 20px;
  --wrap: 1200px;

  --bar-bg: rgba(255, 255, 255, .97);
  --bar-visit-bg: #26262A;
  --bar-visit-fg: #FFFFFF;
  --bar-tg-bg: #7A1F2B;
  --bar-tg-fg: #FFFFFF;
  --float-bg: #7A1F2B;
  --float-fg: #FFFFFF;
  --focus: #7A1F2B;
  --ph-bg: #EFEBE6;
  --banner-radius: 0;
  --banner-max: 1000px;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.latin { font-family: var(--display); font-weight: 700; letter-spacing: .06em; }
.latin-i { font-family: var(--display); font-style: italic; font-weight: 400; }

/* ── 공통 글자 ─────────────────────────────── */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; line-height: 1.28; }
h2 { font-size: clamp(30px, 8vw, 50px); }
.kicker {
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-size: 14px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
}
.kicker .kn { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 20px; letter-spacing: 0; }
.kicker .kn::after { content: ''; display: inline-block; width: 28px; height: 1px; margin-left: 10px; vertical-align: middle; background: currentColor; }
.kicker-light { color: var(--accent-light); }
.muted { color: var(--muted); }
.cap { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.5; color: var(--muted); }
.cap-k { margin-right: 8px; font-family: var(--display); font-style: italic; color: var(--accent); }
.notice { margin-top: 18px; font-size: 14px; line-height: 1.6; color: var(--muted); }

/* ── 버튼 ─────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 14px 26px; border: 1px solid var(--fg);
  font-size: 16px; font-weight: 500; letter-spacing: .02em; text-decoration: none; line-height: 1.3;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .25s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn-solid { background: var(--fg); color: #fff; }
.btn-solid:hover { background: var(--accent); border-color: var(--accent); }
.btn-line { background: transparent; color: var(--fg); }
.btn-line:hover { background: var(--fg); color: #fff; }
.btn-invert { background: var(--on-dark); color: var(--dark); border-color: var(--on-dark); }
.btn-invert:hover { background: transparent; color: var(--on-dark); }

.tg-btn.tg-primary {
  justify-content: center; gap: 12px; min-height: 58px; padding: 14px 30px; border-radius: 0;
  border: 1px solid var(--fg); background: var(--fg); color: #fff;
  font-size: 16px; font-weight: 500; letter-spacing: .02em;
  transition: background-color .25s ease, border-color .25s ease;
}
.tg-btn.tg-primary svg { width: 22px; height: 22px; color: #fff; }
.tg-btn.tg-primary .tg-text { text-align: center; }
.tg-btn.tg-primary:hover { background: var(--accent); border-color: var(--accent); }
.first-note { margin-top: 16px; padding-left: 14px; border-left: 2px solid var(--accent); font-size: 15px; line-height: 1.6; color: var(--muted); }
.first-k { display: block; font-family: var(--display); font-style: italic; font-size: 15px; color: var(--accent); }
.float-tg { border-radius: 0; font-weight: 500; }

.cta-row { display: flex; flex-direction: column; gap: 10px; }
.cta-row > * { width: 100%; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px;
  font-weight: 500; color: var(--accent); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px;
}

/* ── 상단 ─────────────────────────────────── */
.topbar { border-bottom: 1px solid var(--fg); background: #fff; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; }
.logo { display: inline-flex; align-items: center; min-height: 48px; font-family: var(--serif); font-weight: 900; font-size: 18px; text-decoration: none; letter-spacing: -.01em; }
.topbar-issue { display: none; font-size: 14px; letter-spacing: .14em; color: var(--muted); }
.topbar-issue .dot { margin: 0 6px; }
.topbar-link {
  display: inline-flex; align-items: center; min-height: 48px; padding-inline: 4px;
  font-size: 15px; font-weight: 500; text-decoration: none; letter-spacing: .08em;
  border-bottom: 1px solid transparent;
}
.topbar-link:hover { color: var(--accent); }

/* ── 표지 ─────────────────────────────────── */
.cover { padding: 20px 0 8px; }
.cover-in { display: grid; gap: 30px; }
.cover-page { position: relative; }
.cover-ph { aspect-ratio: 4 / 5; }
.cover-ph::after { /* 마스트헤드 뒤를 살짝 밝혀 글자가 또렷하게 */
  content: ''; position: absolute; inset: 0 0 auto; height: 34%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .72), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.cover-mast {
  position: absolute; z-index: 2; left: 0; right: 0; top: 3%;
  font-family: var(--display); font-weight: 700; line-height: .82; text-align: center;
  font-size: clamp(84px, 30vw, 170px); letter-spacing: .02em; color: var(--fg);
}
.cover-tag {
  position: absolute; z-index: 2; right: 12px; bottom: 12px; padding: 8px 10px;
  background: var(--accent); color: #fff; font-family: var(--display); font-weight: 700;
  font-size: 14px; line-height: 1.15; letter-spacing: .14em;
}
.cover-spine {
  position: absolute; z-index: 2; left: 12px; bottom: 12px; padding: 6px 10px;
  background: rgba(255, 255, 255, .92); color: var(--fg); font-size: 14px; font-weight: 500; line-height: 1.3;
}

.cover-meta {
  display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 14px;
  font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 500;
}
.cover-meta span + span::before { content: '/'; margin-right: 14px; color: var(--line); }
.cover h1 { font-size: clamp(34px, 10vw, 64px); font-weight: 900; line-height: 1.2; letter-spacing: -.035em; }
.lead { margin-top: 16px; font-size: 17px; line-height: 1.75; color: var(--muted); }
.br-d { display: none; }

.coverlines { margin: 26px 0 28px; border-top: 1px solid var(--fg); }
.coverlines li { padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 16px; line-height: 1.55; }
.cl-k { display: block; margin-bottom: 2px; font-family: var(--display); font-style: italic; font-size: 15px; color: var(--accent); }

/* ── 배너 감싸개 ──────────────────────────── */
.banner-wrap { padding-block: 32px; position: relative; }
.banner-wrap::before, .gift-banner::before {
  content: 'Special Page'; display: block; margin: 0 auto 8px; max-width: var(--banner-max);
  font-family: var(--display); font-style: italic; font-size: 14px; color: var(--muted); text-align: center;
}
.banner a { box-shadow: 0 0 0 1px var(--line); }

/* ── 목차 ─────────────────────────────────── */
.contents { padding: 40px 0 56px; }
.contents-in { display: grid; gap: 26px; }
.contents-head h2 { margin-bottom: 12px; }
.toc { border-top: 1px solid var(--fg); counter-reset: toc; }
.toc a {
  display: grid; grid-template-columns: 52px 1fr 20px; align-items: center; gap: 12px;
  min-height: 64px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none;
  transition: color .2s ease, padding .25s ease;
}
.toc-n { font-family: var(--display); font-style: italic; font-size: 28px; line-height: 1; color: var(--accent); }
.toc-t { font-family: var(--serif); font-size: 17px; font-weight: 600; line-height: 1.4; }
.toc-l { display: block; font-family: var(--sans); font-size: 14px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.toc-arrow { color: var(--muted); transition: transform .25s ease, color .25s ease; }
.toc a:hover .toc-t, .toc a:hover .toc-arrow { color: var(--accent); }
.toc a:hover .toc-arrow { transform: translateX(4px); }

/* ── 01 대표 화보 ─────────────────────────── */
.story { padding: 64px 0; background: var(--soft); }
.story-in { display: grid; gap: 24px; }
.story-head h2 { font-size: clamp(32px, 9vw, 56px); }
.story-body p + p { margin-top: 14px; }
.story-body .text-link { margin-top: 10px; }
.dropcap::first-letter {
  float: left; margin: 6px 10px 0 0; font-family: var(--serif); font-weight: 900; font-size: 58px; line-height: .9; color: var(--accent);
}
.pull { margin: 18px 0 0; padding: 30px 0 26px; border-top: 1px solid var(--fg); border-bottom: 1px solid var(--fg); position: relative; }
.pull::before {
  content: '\201C'; position: absolute; top: -8px; left: 0; padding-right: 10px; background: var(--soft);
  font-family: var(--display); font-size: 72px; line-height: .6; color: var(--accent); height: 36px; overflow: hidden;
}
.pull p { font-family: var(--serif); font-size: clamp(22px, 6.2vw, 36px); line-height: 1.45; letter-spacing: -.02em; font-weight: 400; }

/* ── 02 일반사진관 ────────────────────────── */
.daily { padding: 72px 0 32px; overflow: hidden; }
.daily-in { position: relative; display: grid; gap: 28px; }
.daily-num {
  display: none; position: absolute; z-index: 0; top: -38px; right: calc(var(--pad) - 6px);
  font-family: var(--display); font-style: italic; font-size: 150px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(122, 31, 43, .35);
  pointer-events: none;
}
.daily-fig { position: relative; z-index: 1; width: 84%; }
.daily-ph { aspect-ratio: 4 / 5.4; }
.daily-text { position: relative; z-index: 1; margin-left: 10%; }
.daily-text h2 { font-size: clamp(34px, 10vw, 58px); font-weight: 900; }
.daily-sub { margin: 4px 0 18px; font-family: var(--serif); font-size: 18px; color: var(--accent); }
.daily-note { margin: 18px 0 26px; padding-left: 16px; border-left: 2px solid var(--accent); font-family: var(--serif); font-size: 17px; line-height: 1.6; }

/* ── 03 VIP ───────────────────────────────── */
.vip { padding: 72px 0; background: var(--dark); color: var(--on-dark); }
.vip-in { display: grid; gap: 44px; }
.vip h2 { font-size: clamp(36px, 11vw, 64px); font-weight: 900; color: #fff; }
.vip-lead { margin: 14px 0 16px; font-family: var(--serif); font-size: 20px; line-height: 1.5; color: #fff; }
.vip-text p:not(.kicker):not(.vip-lead) { color: #D6D1CA; }
.vip .btn { margin-top: 28px; width: 100%; }
.sealed { display: flex; justify-content: center; }
.sealed-page {
  position: relative; width: min(100%, 340px); aspect-ratio: 3 / 4; padding: 26px 22px;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  background: #F4F1EC; color: var(--fg);
  box-shadow: 10px 10px 0 -1px #3A3A40, 10px 10px 0 0 rgba(244, 241, 236, .25);
}
.sealed-page::before { /* 접힌 봉투 선 */
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to top right, transparent calc(50% - .7px), rgba(38, 38, 42, .28) 50%, transparent calc(50% + .7px)) left top / 50% 52% no-repeat,
    linear-gradient(to top left, transparent calc(50% - .7px), rgba(38, 38, 42, .28) 50%, transparent calc(50% + .7px)) right top / 50% 52% no-repeat;
}
.sealed-top { position: relative; font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .3em; }
.sealed-lines { position: absolute; left: 22px; right: 22px; bottom: 58px; height: 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.seal { position: absolute; left: 50%; top: 52%; width: 108px; height: 108px; transform: translate(-50%, -50%); filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .25)); }
.sealed-word { position: relative; margin-top: auto; margin-bottom: 30px; font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: .34em; margin-right: -.34em; color: var(--accent); }
.sealed-foot { position: relative; font-family: var(--display); font-style: italic; font-size: 15px; color: var(--muted); }

/* ── 04 이벤트 · 게임 ─────────────────────── */
.play { padding: 64px 0 24px; }
.play-in { display: grid; gap: 30px; }
.play-head h2 { margin-bottom: 14px; }
.play-cols { display: grid; gap: 0; border-top: 1px solid var(--fg); }
.feat { display: grid; align-content: start; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.feat > p:not(.feat-n) { grid-column: 2; }
.feat-n { grid-row: span 2; font-family: var(--display); font-style: italic; font-size: 30px; line-height: 1.1; color: var(--accent); }
.feat h3 { font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.feat-l { display: block; margin-bottom: 2px; font-family: var(--display); font-style: italic; font-weight: 400; font-size: 16px; letter-spacing: .04em; color: var(--accent); }
.play-foot .btn { width: 100%; }

/* ── 05 선물 ──────────────────────────────── */
.gift { padding: 64px 0 48px; background: var(--soft); }
.gift-in { display: grid; gap: 32px; }
.gift-text h2 { margin-bottom: 16px; }
.ticket { display: flex; max-width: 440px; width: 100%; color: var(--fg); }
.ticket-main, .ticket-stub { background: #fff; border: 1px solid var(--fg); }
.ticket-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 22px 20px; border-right: 1px dashed var(--fg); }
.ticket-k { font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.ticket-t { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 9vw, 42px); line-height: 1.05; letter-spacing: .02em; }
.ticket-t em { font-weight: 400; color: var(--accent); }
.ticket-s { font-size: 14px; color: var(--muted); }
.ticket-stub { flex: none; width: 92px; display: grid; place-items: center; border-left: 0; color: var(--accent); }
.ticket-stub svg { width: 56px; height: 56px; }
.gift-banner { margin-top: 4px; }
.gift-foot .btn { width: 100%; }

/* ── 06 방문 ──────────────────────────────── */
.visit { padding: 72px 0 64px; text-align: center; border-top: 1px solid var(--fg); position: relative; overflow: hidden; }
.visit-in { display: flex; flex-direction: column; align-items: center; }
.visit-mast {
  font-family: var(--display); font-weight: 700; line-height: .8; font-size: clamp(96px, 34vw, 280px);
  color: rgba(38, 38, 42, .07); letter-spacing: .02em; margin-bottom: 20px;
}
.visit .kicker { justify-content: center; }
.visit h2 { font-size: clamp(32px, 9vw, 56px); font-weight: 900; }
.visit-lead { max-width: 560px; margin: 18px auto 30px; color: var(--muted); font-size: 17px; }
.cta-center { width: 100%; max-width: 420px; }
.visit .first-note, .notice-c { text-align: center; }
.notice-c { max-width: 520px; }

/* ── 푸터 ─────────────────────────────────── */
footer { background: var(--fg); color: #E9E6E1; }
.foot-in { padding-block: 36px; display: grid; gap: 6px; text-align: center; }
.foot-mast { font-size: 18px; letter-spacing: .12em; color: #fff; }
.foot-meta, .foot-copy { font-size: 14px; color: #CFCBC4; }

/* ── 태블릿 ───────────────────────────────── */
@media (min-width: 600px) {
  :root { --pad: 32px; }
  .cta-row { flex-direction: row; flex-wrap: wrap; }
  .cta-row > * { width: auto; }
  .vip .btn, .play-foot .btn, .gift-foot .btn { width: auto; }
  .cover-ph { aspect-ratio: 3 / 4; }
  .play-cols { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .topbar-issue { display: block; }
}

/* ── PC ───────────────────────────────────── */
@media (min-width: 900px) {
  :root { --pad: 40px; }
  h2 { font-size: 50px; }

  /* 표지: 왼쪽 표지 한 장, 오른쪽 커버 라인 */
  .cover { padding: 48px 0 24px; }
  .cover-in { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 72px; align-items: center; }
  .cover-page { grid-column: 2; grid-row: 1; }
  .cover-text { grid-column: 1; grid-row: 1; }
  .cover-ph { aspect-ratio: 3 / 5; }
  .cover-mast { font-size: 158px; top: 2.5%; }
  .cover-tag { right: 18px; bottom: 18px; }
  .cover-spine { left: 18px; bottom: 18px; }
  .cover h1 { font-size: 64px; }
  .lead { font-size: 18px; }
  .br-d { display: inline; }
  .coverlines li { font-size: 17px; }
  .cta-row .tg-primary { padding-inline: 34px; }

  :root { --banner-max: 820px; }
  .banner-wrap { padding-block: 48px; }

  .contents { padding: 56px 0 88px; }
  .contents-in { grid-template-columns: 4fr 7fr; gap: 64px; align-items: start; }
  .contents-head { position: sticky; top: 32px; }
  .toc a { grid-template-columns: 72px 1fr 24px; min-height: 76px; }
  .toc a:hover { padding-left: 8px; }
  .toc-n { font-size: 34px; }
  .toc-t { font-size: 20px; }

  .story { padding: 104px 0; }
  .story-in { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; row-gap: 56px; }
  .story-head { grid-column: 1 / span 5; }
  .story-body { grid-column: 7 / span 6; padding-top: 34px; font-size: 17px; }
  .pull { grid-column: 2 / span 10; margin: 0; padding: 44px 0 40px; }
  .pull p { font-size: 38px; }

  .daily { padding: 120px 0 40px; }
  .daily-in { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: start; }
  .daily-num { display: block; -webkit-text-stroke-color: rgba(122, 31, 43, .45); top: -70px; right: auto; left: calc(var(--pad) + 44%); font-size: 280px; }
  .daily-fig { grid-column: 1 / span 5; width: 100%; max-width: 460px; }
  .daily-ph { aspect-ratio: 3 / 4.4; }
  .daily-text { grid-column: 7 / span 5; margin: 0; padding-top: 220px; }
  .daily-text h2 { font-size: 64px; }

  .vip { padding: 112px 0; }
  .vip-in { grid-template-columns: 6fr 5fr; gap: 80px; align-items: center; }
  .vip-text { max-width: 520px; }
  .vip-lead { font-size: 22px; }
  .vip h2 { font-size: 68px; }
  .vip .btn { width: auto; }
  .sealed { justify-content: flex-end; }
  .sealed-page { width: 360px; }

  .play { padding: 104px 0 40px; }
  .play-in { grid-template-columns: 4fr 7fr; column-gap: 64px; row-gap: 36px; }
  .play-head { grid-row: span 2; }
  .play-cols { column-gap: 40px; }
  .feat { grid-template-columns: 1fr; padding: 28px 0 32px; border-bottom: 0; }
  .feat > p:not(.feat-n) { grid-column: 1; }
  .feat-n { grid-row: auto; font-size: 40px; margin-bottom: 10px; }

  .gift { padding: 104px 0 72px; }
  .gift-in { grid-template-columns: 6fr 5fr; column-gap: 64px; row-gap: 48px; align-items: center; }
  .gift-text { max-width: 540px; }
  .ticket { justify-self: end; }
  .gift-banner, .gift-foot { grid-column: 1 / -1; }
  .gift-foot { display: flex; align-items: center; gap: 28px; }
  .gift-foot .notice { margin: 0; }

  .visit { padding: 96px 0 88px; }
  .visit h2 { font-size: 60px; }
  .cta-center { max-width: none; justify-content: center; }
}

@media (min-width: 1200px) {
  .cover-in { gap: 110px; }
  .cover h1 { font-size: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn svg, .toc-arrow, .toc a { transition: none; }
}
