/* ══════════════════════════════════════════════
   DDC · Deep Dive Company — 브랜드 공통 스타일
   콘셉트: 수심. 검은 물속으로 내려오는 빛줄기.
   얕은 곳(DIVE) → 깊은 곳(DEEP, CREW)
   ══════════════════════════════════════════════ */
:root {
  --bg:     #050608;   /* 바탕: 깊은 물속 */
  --panel:  #141519;   /* 카드 */
  --panel2: #1D1E23;   /* 강조 카드 */
  --line:   #2A2C33;   /* 선 */
  --fg:     #F4F6FA;   /* 글자 */
  --mist:   #9AA1AE;   /* 보조 글자 */
  --dim:    #6B7280;   /* 더 흐린 글자 */
  --buoy:   #FF5B2E;   /* 포인트: 부표 오렌지 (신청 버튼) */
  --hover:  #FF7A55;
  --sonar:  #7CCFE6;   /* 정보 표시: 회차·날짜·수심 */

  /* 빛줄기 팔레트: 깊은 남색 → 파랑 → 하늘 → 물빛, 그리고 부표 오렌지 */
  --c-deep: #0B1E52;
  --c-blue: #2F5BFF;
  --c-sky:  #4FB3F0;
  --c-foam: #CDEFFA;
  --c-buoy: #FF7A4D;
  --c-peach:#FFD9C7;

  --f-display: "Wanted Sans Variable", "Wanted Sans", "Pretendard Variable", Pretendard, system-ui, sans-serif;
  --f-body: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --wrap: 1200px;
  --r: 4px;            /* 참고 사이트처럼 각진 카드 */
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 700; line-height: 1.2; text-wrap: balance; letter-spacing: -.03em; }
p { margin: 0; }
::selection { background: var(--buoy); color: #fff; }
:focus-visible { outline: 2px solid var(--buoy); outline-offset: 3px; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.label { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--sonar); }
.muted { color: var(--mist); }
.accent { color: var(--buoy); }
.grad-text { background: linear-gradient(90deg, var(--c-sky), var(--c-foam) 50%, var(--c-buoy)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── 버튼 ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: var(--r);
  font-weight: 600; font-size: 15px;
  border: 1px solid var(--line); background: transparent; color: var(--fg);
  cursor: pointer;
  transition: background-color .2s, border-color .2s, transform .15s;
}
.btn:hover { border-color: var(--mist); background: rgba(255, 255, 255, .04); }
.btn:active { transform: scale(.97); }
.btn .arr { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-primary { background: var(--buoy); border-color: var(--buoy); color: #fff; }
.btn-primary:hover { background: var(--hover); border-color: var(--hover); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }

/* ── 헤더: 투명 → 스크롤하면 검은 유리 ── */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
.site-header {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50;
  transition: background-color .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(5, 6, 8, .72); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); border-color: rgba(255, 255, 255, .06); }
.site-header .wrap { height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; justify-self: start; }
.logo img { height: 44px; width: auto; }
.logo small { font-family: var(--f-mono); font-size: 10px; letter-spacing: .18em; color: var(--mist); }
.nav { display: flex; gap: 40px; font-size: 14px; font-weight: 500; letter-spacing: .02em; }
.nav a { color: var(--fg); opacity: .85; transition: opacity .2s, color .2s; text-transform: uppercase; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; color: var(--sonar); }
.actions { justify-self: end; display: flex; align-items: center; gap: 6px; }
.share { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; background: none; border: 0; cursor: pointer; font-size: 14px; color: var(--fg); opacity: .9; }
.share:hover { opacity: 1; }
.share svg { width: 16px; height: 16px; }
@media (max-width: 480px) { .share span { display: none; } }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); translate: -50% 0; z-index: 70; padding: 12px 18px; border-radius: var(--r); background: var(--fg); color: var(--bg); font-size: 14px; font-weight: 600; opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s var(--ease); pointer-events: none; }
.toast.on { opacity: 1; transform: none; }
@media (max-width: 860px) {
  .site-header .wrap { grid-template-columns: auto 1fr; }
  .nav { display: none; }
  .logo small { display: none; }
}

/* ── 점 물결 (시그니처): 바닥에 깔린 점들이 파도처럼 오르내림. 그림은 dives.js가 그림 ── */
.dotwave { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; display: block; }
.hero .dotwave, .final .dotwave { -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%); mask-image: linear-gradient(to bottom, transparent 0%, #000 30%); }
.page-head .dotwave { opacity: .55; }
.why-visual .dotwave { opacity: .9; }

/* ── 히어로 ── */
.hero { position: relative; isolation: isolate; min-height: min(100svh, 980px); display: grid; align-content: space-between; padding-block: 120px 56px; overflow: hidden; }
.wordmark {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(64px, 14.5vw, 210px); line-height: .86; letter-spacing: -.055em;
  display: flex; justify-content: space-between; gap: .12em; white-space: nowrap;
  /* 물속 수평선처럼 얇게 끊기는 가로줄 */
  -webkit-mask-image: repeating-linear-gradient(to bottom, #000 0 calc(1em / 9 - 1px), transparent calc(1em / 9 - 1px) calc(1em / 9));
  mask-image: repeating-linear-gradient(to bottom, #000 0 calc(1em / 9 - 1px), transparent calc(1em / 9 - 1px) calc(1em / 9));
}
.wordmark sup { font-size: .32em; letter-spacing: -.02em; vertical-align: top; line-height: 1; margin-left: .06em; color: var(--sonar); }
.hero-sub { text-align: center; display: grid; gap: 10px; justify-items: center; margin-top: 40px; }
.hero-sub h2 { font-size: clamp(26px, 3.6vw, 46px); font-weight: 800; letter-spacing: -.035em; }
.hero-lede { font-size: clamp(16px, 1.6vw, 20px); color: #D7DBE2; line-height: 1.6; max-width: 40em; text-shadow: 0 2px 16px rgba(0, 0, 0, .6); }
.chips { list-style: none; margin: 8px 0 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.chips li { font-size: 14px; font-weight: 600; padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(5, 6, 8, .45); }
.textlink { display: inline-flex; align-items: center; gap: 6px; height: 48px; padding: 0 8px; font-weight: 600; font-size: 15px; color: var(--fg); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(255, 255, 255, .35); transition: text-decoration-color .2s; }
.textlink:hover { text-decoration-color: var(--fg); }
.textlink .arr { transition: transform .25s var(--ease); }
.textlink:hover .arr { transform: translate(2px, -2px); }
@media (max-width: 720px) { .br-pc { display: none; } }
.hero-meta { text-align: center; font-size: clamp(16px, 1.8vw, 22px); font-weight: 600; text-shadow: 0 2px 20px rgba(0, 0, 0, .5); display: flex; gap: 10px 20px; justify-content: center; flex-wrap: wrap; }
.hero-meta span + span::before { content: "|"; margin-right: 20px; opacity: .5; font-weight: 300; }
.hero-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
@media (max-width: 720px) {
  .hero { padding-block: 104px 40px; min-height: 92svh; }
  .wordmark { flex-direction: column; gap: 0; }
  .hero-meta span + span::before { display: none; }
}

/* ── 큰 선언 ── */
.statement { position: relative; isolation: isolate; overflow: hidden; padding-block: 200px 220px; text-align: center; }
.statement h2 { font-size: clamp(32px, 5vw, 60px); font-weight: 700; line-height: 1.3; letter-spacing: -.035em; }


/* ── 그라데이션 띠 문장 (방식 소개) ── */
.bands-head { text-align: center; padding-block: 140px 72px; }
.bands-head h2 { font-size: clamp(36px, 6vw, 72px); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; text-transform: uppercase; }
.bands-head p { margin-top: 18px; color: var(--mist); font-size: 18px; }
.bands { display: grid; }
.band {
  height: clamp(84px, 9vw, 112px); display: flex; align-items: center;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 3.4vw, 44px); letter-spacing: -.03em; white-space: nowrap;
  background-size: 200% 100%;
}
.band span { padding-inline: 20px; text-shadow: 0 2px 16px rgba(5, 6, 8, .35); }
.band:nth-child(1) { background-image: linear-gradient(90deg, #000 0%, #13205E 20%, var(--c-blue) 42%, #B8C6FF 70%, #EEF2FF 100%); padding-left: 26%; }
.band:nth-child(2) { background-image: linear-gradient(90deg, #000 0%, #1B2C7A 18%, #4A62FF 36%, #A9B8FF 64%, #E7ECFF 100%); padding-left: 20%; }
.band:nth-child(3) { background-image: linear-gradient(90deg, #EAF7FF 0%, #8FD3F5 20%, var(--c-sky) 38%, #123A7A 64%, #000 82%); padding-left: 46%; }
.band:nth-child(4) { background-image: linear-gradient(90deg, #000 0%, #1C2A6A 18%, var(--c-blue) 40%, #FF9A6E 76%, #FFE6DA 100%); padding-left: 18%; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .band { animation: bandslide linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    @keyframes bandslide { from { background-position: 0% 0; } to { background-position: 100% 0; } }
  }
}
@media (max-width: 720px) { .band { padding-left: 0 !important; justify-content: center; white-space: normal; text-align: center; } }

/* ── 섹션 공통 ── */
.section { padding-block: 140px; }
.section-head { display: grid; gap: 16px; margin-bottom: 56px; }
.section-head.center { text-align: center; justify-items: center; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 56px); font-weight: 700; letter-spacing: -.035em; }
.section-head p { color: var(--mist); font-size: 18px; max-width: 36em; }
.section-head.row { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.section-head.row > div { display: grid; gap: 16px; }
@media (max-width: 720px) { .section { padding-block: 96px; } .section-head { margin-bottom: 36px; } }

/* ── 다이브 릴 (연사 카드처럼 흐르는 회차 카드) ── */
.reel { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.reel-track { display: flex; gap: 40px; width: max-content; animation: reel 60s linear infinite; }
.reel:hover .reel-track { animation-play-state: paused; }
@keyframes reel { to { transform: translateX(calc(-50% - 20px)); } }
.reel-card { position: relative; flex: none; width: clamp(240px, 26vw, 380px); aspect-ratio: 380 / 460; background: linear-gradient(180deg, #2A2B30, #18191D); overflow: hidden; }
.reel-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); opacity: .85; transition: filter .5s, opacity .5s, transform .6s var(--ease); }
.reel-card:hover img { filter: none; opacity: 1; transform: scale(1.03); }
.reel-card .num { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-display); font-weight: 900; font-size: clamp(110px, 12vw, 180px); letter-spacing: -.06em; color: rgba(255, 255, 255, .07); transition: color .4s; }
.reel-card:hover .num { color: rgba(124, 207, 230, .22); }
.reel-card .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 80px 32px 36px; background: linear-gradient(to top, rgba(5, 6, 8, .88), transparent); display: grid; gap: 6px; }
.reel-card .cap b { font-family: var(--f-display); font-size: 26px; font-weight: 700; letter-spacing: -.03em; line-height: 1.25; }
.reel-card .cap span { color: var(--mist); font-size: 16px; }

/* ── 타임테이블 (아카이브) ── */
.tt-head { display: grid; grid-template-columns: 280px minmax(0, 1fr); border-bottom: 1px solid var(--line); padding-bottom: 28px; }
.tt-head dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 28px; font-size: 18px; }
.tt-head dt { color: var(--mist); }
.tt-head dd { margin: 0; font-weight: 600; }
.tt-group { display: grid; grid-template-columns: 280px minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.tt-group > h3 { padding: 28px 20px; font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; text-transform: uppercase; }
.tt-group:nth-child(odd) > h3 { color: var(--c-sky); }
.tt-group:nth-child(even) > h3 { color: var(--c-buoy); }
.tt-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); border-bottom: 1px solid var(--line); transition: background-color .2s; }
.tt-row:last-child { border-bottom: 0; }
.tt-row:hover { background: rgba(255, 255, 255, .03); }
.tt-row .time { padding: 26px 20px; background: #0D0E11; font-variant-numeric: tabular-nums; font-size: 15px; }
.tt-row .what { padding: 26px 20px; display: grid; gap: 10px; justify-items: start; }
.tt-row .tag { font-family: var(--f-body); font-size: 12px; letter-spacing: .04em; padding: 3px 10px; border: 1px solid #4A4D57; color: var(--mist); }
.tt-row h4 { font-size: clamp(18px, 1.8vw, 22px); font-weight: 700; letter-spacing: -.02em; }
.tt-row .who { font-size: 15px; }
.tt-row .who small { display: block; color: var(--dim); font-size: 15px; }
@media (max-width: 900px) {
  .tt-head, .tt-group { grid-template-columns: minmax(0, 1fr); }
  .tt-group > h3 { padding: 24px 0 8px; }
  .tt-row { grid-template-columns: minmax(0, 1fr); }
  .tt-row .time { padding: 14px 16px 0; background: none; color: var(--sonar); font-family: var(--f-mono); font-size: 13px; }
  .tt-row .what { padding: 8px 16px 22px; }
}

/* ── 다른 이유: 탭 패널 ── */
.why { display: grid; grid-template-columns: 1fr 1fr; min-height: 460px; }
.why-text { background: var(--panel2); padding: 48px; display: grid; align-content: space-between; gap: 32px; }
.why-text .slides { display: grid; }
.why-text .slide { grid-area: 1 / 1; display: grid; gap: 14px; align-content: start; opacity: 0; transform: translateY(8px); transition: opacity .45s, transform .45s var(--ease); pointer-events: none; }
.why-text .slide.on { opacity: 1; transform: none; pointer-events: auto; }
.why-text .slide .lead { font-size: 22px; color: var(--mist); line-height: 1.6; }
.why-text .slide h3 { font-size: clamp(32px, 3.6vw, 48px); font-weight: 800; letter-spacing: -.04em; line-height: 1.15; }
.why-text .slide .desc { color: var(--mist); font-size: 16px; max-width: 30em; }
.dots { display: flex; gap: 8px; }
.dots button { width: 40px; height: 40px; border: 1px solid var(--line); background: none; cursor: pointer; font-family: var(--f-mono); font-size: 13px; color: var(--mist); transition: background-color .2s, color .2s, border-color .2s; }
.dots button[aria-selected="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.why-visual { position: relative; overflow: hidden; isolation: isolate; background: #07080B; display: grid; place-items: center; }
.why-visual .big { font-family: var(--f-display); font-weight: 900; font-size: clamp(64px, 9vw, 140px); letter-spacing: -.06em; line-height: 1; text-shadow: 0 6px 40px rgba(0, 0, 0, .5); transition: opacity .3s; }
@media (max-width: 860px) { .why { grid-template-columns: minmax(0, 1fr); } .why-text { padding: 32px 24px; min-height: 380px; } .why-visual { min-height: 260px; } }

/* ── 프로그램 카드 (오로라 배경) ── */
.aurora { position: relative; isolation: isolate; overflow: hidden; }
.aurora::before {
  content: ""; position: absolute; inset: 10% -10% 0; z-index: -1; filter: blur(60px); opacity: .85;
  background:
    radial-gradient(30% 50% at 15% 30%, #7CD3F0, transparent 70%),
    radial-gradient(30% 50% at 40% 45%, #3F5BFF, transparent 70%),
    radial-gradient(28% 50% at 65% 40%, #6A4CE0, transparent 70%),
    radial-gradient(30% 50% at 88% 35%, #FF9A6E, transparent 70%);
}
.aurora::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; z-index: -1; background: linear-gradient(to bottom, transparent, var(--bg)); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card { background: #232428; padding: 40px; display: grid; gap: 16px; align-content: start; transition: transform .3s var(--ease), background-color .3s; }
.card:hover { transform: translateY(-4px); background: #28292E; }
.card-top { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.card .ico { width: 40px; height: 40px; display: grid; place-items: center; background: var(--c-blue); flex: none; }
.card .ico svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card.warm .ico { background: var(--buoy); }
.card h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.02em; text-transform: uppercase; }
.card h3 small { font-family: var(--f-body); font-size: 15px; font-weight: 500; color: var(--mist); margin-left: 8px; text-transform: none; letter-spacing: 0; }
.card p { color: #D7DBE2; font-size: 16px; max-width: 34em; }
.card ul { margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.card ul li { list-style: none; font-size: 13px; padding: 4px 10px; border: 1px solid #3A3C44; color: var(--mist); }
.state { margin-left: auto; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; padding: 4px 10px; border: 1px solid #3A3C44; color: var(--mist); white-space: nowrap; }
.state.live { border-color: var(--buoy); color: var(--buoy); }
@media (max-width: 760px) { .cards { grid-template-columns: minmax(0, 1fr); } .card { padding: 28px; } }

/* ── 다음 다이브 띠 ── */
.next { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: 32px 36px; background: var(--panel2); border-left: 3px solid var(--buoy); }
.next .no { font-family: var(--f-mono); font-size: 12px; color: var(--sonar); letter-spacing: .1em; line-height: 1.3; }
.next .no b { display: block; font-family: var(--f-display); font-size: 40px; font-weight: 800; color: var(--fg); letter-spacing: -.04em; margin-top: 4px; }
.next h3 { font-size: clamp(20px, 2.4vw, 26px); }
.next .meta { margin-top: 6px; color: var(--mist); font-size: 15px; }
.next .state { margin-left: 0; }
@media (max-width: 720px) { .next { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 24px; } .next .state { width: fit-content; } }

/* ── FAQ ── */
.faq { display: grid; border-top: 1px solid var(--line); max-width: 960px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 28px 4px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; font-size: clamp(17px, 1.6vw, 20px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 28px; font-weight: 300; color: var(--mist); transition: transform .3s var(--ease); line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 4px 28px; color: var(--mist); max-width: 62ch; }

/* ── 마무리 ── */
.final { position: relative; isolation: isolate; overflow: hidden; padding-block: 180px 200px; text-align: center; }
.final .wrap { display: grid; gap: 22px; justify-items: center; }
.final h2 { font-size: clamp(40px, 7vw, 88px); font-weight: 800; letter-spacing: -.05em; line-height: 1.05; }
.final p { color: #D7DBE2; font-size: 18px; max-width: 32em; text-shadow: 0 2px 16px rgba(0, 0, 0, .6); }


/* ── 푸터 ── */
.site-footer { border-top: 1px solid var(--line); padding-block: 48px; color: var(--mist); font-size: 14px; background: var(--bg); }
.site-footer .wrap { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; text-transform: uppercase; font-size: 13px; letter-spacing: .04em; }
.site-footer nav a:hover { color: var(--fg); }
.site-footer .biz { font-family: var(--f-mono); font-size: 12px; line-height: 1.8; text-align: right; }
.foot-right { display: grid; gap: 14px; justify-items: end; }
@media (max-width: 640px) { .site-footer .wrap { grid-template-columns: minmax(0, 1fr); } .site-footer .biz { text-align: left; } .foot-right { justify-items: start; } }

/* ══════════════ 하위 페이지 공통 ══════════════ */
.page-head { position: relative; isolation: isolate; overflow: hidden; padding-block: 180px 120px; }
.page-head .wrap { display: grid; gap: 22px; }
.page-head h1 { font-size: clamp(44px, 7vw, 92px); font-weight: 800; letter-spacing: -.05em; line-height: 1.05; }
.page-head p { color: #D7DBE2; font-size: 19px; max-width: 36em; }
@media (max-width: 720px) { .page-head { padding-block: 130px 72px; } }

/* 프로그램 페이지 */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tier { position: relative; background: #232428; padding: 40px 32px 32px; display: grid; gap: 18px; align-content: start; transition: transform .3s var(--ease); }
.tier:hover { transform: translateY(-4px); }
.tier:nth-child(2) { background: #1C2440; }
.tier:nth-child(3) { background: linear-gradient(170deg, #1B2C7A, #0B1E52); }
.tier .m { font-family: var(--f-mono); color: var(--sonar); font-size: 13px; display: flex; align-items: baseline; gap: 10px; }
.tier .m b { font-family: var(--f-display); font-size: 52px; font-weight: 900; color: var(--fg); line-height: 1; letter-spacing: -.05em; }
.tier h3 { font-size: 30px; font-weight: 800; }
.tier h3 small { font-family: var(--f-body); font-size: 15px; font-weight: 500; color: var(--mist); margin-left: 8px; }
.tier p { color: #D7DBE2; margin-top: 8px; }
.tier ul { margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tier ul li { list-style: none; font-size: 13px; padding: 4px 10px; border: 1px solid rgba(255, 255, 255, .16); color: var(--mist); }
.tier > .tag { position: absolute; top: 24px; right: 24px; }
.tag { font-family: var(--f-mono); font-size: 11px; padding: 4px 10px; border: 1px solid #3A3C44; color: var(--mist); white-space: nowrap; letter-spacing: .06em; }
.tag.live { border-color: var(--buoy); color: var(--buoy); }
@media (max-width: 900px) { .tiers { grid-template-columns: minmax(0, 1fr); } }

.logbook { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.logcard { aspect-ratio: 1.6 / 1; max-width: 100%; padding: 26px; background: linear-gradient(135deg, #1B2C7A, #0B1226); border: 1px solid #2B3B7A; box-shadow: 0 40px 80px -30px rgba(47, 91, 255, .45); display: grid; grid-template-rows: auto 1fr auto; gap: 12px; transform: rotate(-2deg); transition: transform .5s var(--ease); }
.logcard:hover { transform: none; }
.logcard .top, .logcard .bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-family: var(--f-mono); font-size: 12px; color: #A9B6DA; }
.logcard .bottom { font-family: var(--f-body); font-size: 14px; }
.stamps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-content: center; }
.stamp { aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed #3B4C8A; display: grid; place-items: center; font-family: var(--f-mono); font-size: 12px; color: #A9B6DA; }
.stamp.on { border: 1.5px solid var(--sonar); color: var(--sonar); background: rgba(124, 207, 230, .1); }
.stamp.goal { border: 1.5px solid var(--buoy); color: var(--buoy); }
.steps { margin: 0; padding: 0; display: grid; gap: 20px; }
.steps li { list-style: none; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; }
.steps li b { font-family: var(--f-mono); color: var(--sonar); font-weight: 500; font-size: 14px; padding-top: 2px; }
.steps li span { color: var(--mist); }
.steps li strong { color: var(--fg); display: block; font-size: 17px; }
@media (max-width: 820px) { .logbook { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

/* 아카이브 카드 */
.dives { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dive { display: grid; grid-template-rows: auto 1fr; background: var(--panel); transition: transform .3s var(--ease), background-color .3s; }
.dive:hover { transform: translateY(-4px); background: var(--panel2); }
.dive .cover { aspect-ratio: 4 / 5; position: relative; background: linear-gradient(180deg, #2A2B30, #18191D); overflow: hidden; }
.dive .cover img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: .9; transition: filter .5s, transform .6s var(--ease); }
.dive:hover .cover img { filter: none; transform: scale(1.03); }
.dive .cover .num { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-display); font-weight: 900; font-size: clamp(80px, 9vw, 130px); color: rgba(255, 255, 255, .07); letter-spacing: -.06em; }
.dive .cover .depth { position: absolute; left: 16px; bottom: 14px; font-family: var(--f-mono); font-size: 12px; color: var(--sonar); }
.dive .body { padding: 22px 24px 28px; display: grid; gap: 6px; align-content: start; }
.dive .body .label { font-size: 11px; }
.dive h3 { font-size: 21px; }
.dive p { color: var(--mist); font-size: 15px; }
@media (max-width: 900px) {
  .dives { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(250px, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: -20px; padding-inline: 20px; scrollbar-width: none; }
  .dives::-webkit-scrollbar { display: none; }
  .dive { scroll-snap-align: start; }
}

/* 소개 */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 72px; }
.story .quote { font-family: var(--f-display); font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; line-height: 1.25; letter-spacing: -.04em; }
.story .quote span { color: var(--buoy); }
.story .text { display: grid; gap: 20px; color: var(--mist); font-size: 18px; }
.story .text b { color: var(--fg); font-weight: 600; }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.principles div { padding: 36px; background: #232428; display: grid; gap: 10px; align-content: start; }
.principles h3 { font-size: 24px; }
.principles p { color: #D7DBE2; }
@media (max-width: 820px) { .story { grid-template-columns: minmax(0, 1fr); gap: 28px; } .principles { grid-template-columns: minmax(0, 1fr); } }

/* 회차 상세 */
.dive-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.dive-hero .no { font-family: var(--f-display); font-weight: 900; font-size: clamp(120px, 18vw, 240px); line-height: .8; letter-spacing: -.07em; text-align: right; background: linear-gradient(180deg, var(--c-foam), var(--c-blue) 60%, transparent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dive-hero .no small { display: block; font-family: var(--f-mono); font-size: 14px; -webkit-text-fill-color: var(--sonar); letter-spacing: .1em; font-weight: 500; margin-top: 18px; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tags span { font-size: 13px; padding: 4px 12px; border: 1px solid #3A3C44; color: var(--mist); }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 24px; font-family: var(--f-mono); font-size: 14px; color: var(--sonar); }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 0; }
.checks li { list-style: none; padding: 26px 28px 26px 60px; background: #232428; position: relative; font-weight: 500; font-size: 17px; }
.checks li::before { content: ""; position: absolute; left: 28px; top: 34px; width: 14px; height: 8px; border-left: 2px solid var(--buoy); border-bottom: 2px solid var(--buoy); transform: rotate(-45deg); }
.prose { display: grid; gap: 22px; max-width: 40em; font-size: 19px; line-height: 1.85; color: #C9CED7; }
.take { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.take div { padding: 36px 32px; background: #232428; display: grid; gap: 10px; align-content: start; }
.take h3 { font-size: 24px; }
.take p { color: #D7DBE2; }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.review { margin: 0; padding: 32px; background: var(--panel); border-top: 2px solid var(--c-blue); display: grid; gap: 20px; align-content: space-between; }
.review p { font-size: 18px; font-weight: 500; line-height: 1.65; }
.review footer { font-size: 14px; color: var(--mist); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.review .no { font-family: var(--f-mono); font-size: 12px; color: var(--sonar); }
.sample { font-family: var(--f-mono); font-size: 11px; padding: 2px 8px; border: 1px dashed var(--dim); color: var(--mist); }
.pager { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 40px; border-top: 1px solid var(--line); font-weight: 600; }
.pager a { color: var(--mist); transition: color .2s; }
.pager a:hover { color: var(--fg); }
@media (max-width: 860px) {
  .dive-hero { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .dive-hero .no { text-align: left; order: -1; }
  .checks, .take, .reviews { grid-template-columns: minmax(0, 1fr); }
}

/* 리스트형 아카이브 */
.log { border-top: 1px solid var(--line); }
.log a { display: grid; grid-template-columns: 90px 110px minmax(0, 1fr) auto; gap: 20px; align-items: baseline; padding: 24px 12px; border-bottom: 1px solid var(--line); transition: background-color .2s; }
.log a:hover { background: rgba(255, 255, 255, .03); }
.log .d { font-family: var(--f-mono); color: var(--sonar); font-size: 13px; }
.log .v { font-family: var(--f-mono); font-size: 13px; color: var(--mist); }
.log h3 { font-size: 22px; }
.log p { color: var(--mist); font-size: 15px; margin-top: 4px; }
.log .go { color: var(--mist); font-size: 14px; }
@media (max-width: 720px) { .log a { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; } .log .main { grid-column: 1 / -1; } .log .go { display: none; } }

/* ── 모션 ── */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 1s var(--ease) both; }
  .rise.d1 { animation-delay: .1s; } .rise.d2 { animation-delay: .2s; } .rise.d3 { animation-delay: .3s; } .rise.d4 { animation-delay: .4s; }
  @keyframes rise { from { opacity: 0; translate: 0 20px; filter: blur(6px); } to { opacity: 1; translate: 0 0; filter: none; } }
  @supports (animation-timeline: view()) {
    .reveal, .card, .tier, .take > div, .review, .principles > div, .checks li, .faq details, .tt-row {
      animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 30%;
    }
    @keyframes reveal { from { opacity: 0; translate: 0 32px; } to { opacity: 1; translate: 0 0; } }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reel-track { animation: none; }
}

/* ── 리뉴얼 1차(브랜딩 피드백 반영) 추가 요소 ── */
.bands-head .label { display: block; margin-bottom: 16px; }
.bands-head h2.why-title { text-transform: none; font-size: clamp(32px, 5vw, 60px); letter-spacing: -.04em; line-height: 1.2; }
.bands-head p { max-width: 36em; margin-inline: auto; }
.band b { font-family: var(--f-mono); font-size: .42em; font-weight: 500; letter-spacing: .1em; margin-right: 18px; vertical-align: middle; opacity: .85; }
.fine { margin-top: 14px; font-size: 13px; color: var(--dim); text-align: right; }
.stats { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats div { padding: 28px 20px; display: grid; gap: 6px; border-left: 1px solid var(--line); }
.stats div:first-child { border-left: 0; }
.stats dt { font-size: 14px; color: var(--mist); }
.stats dd { margin: 0; font-family: var(--f-display); font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats div:nth-child(3) { border-left: 0; } .stats div:nth-child(n+3) { border-top: 1px solid var(--line); } }
.moments { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.moment { margin: 0; display: grid; gap: 8px; }
.moment img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.moment figcaption { font-size: 13px; color: var(--mist); }
[data-if-reviews] .reviews { margin-top: 24px; }
@media (max-width: 760px) { .moments { grid-template-columns: minmax(0, 1fr); } }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.three .card { padding: 32px; }
.cards.three .card h3 { font-size: 26px; }
.info { margin: 6px 0 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 14px; font-size: 14px; border-top: 1px solid #34363E; padding-top: 16px; }
.info dt { color: var(--sonar); font-weight: 600; }
.info dd { margin: 0; color: #D7DBE2; }
@media (max-width: 900px) { .cards.three { grid-template-columns: minmax(0, 1fr); } }
.logline { margin-top: 20px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 20px 28px; background: rgba(5, 6, 8, .65); border: 1px dashed rgba(124, 207, 230, .4); transition: border-color .2s; }
.logline:hover { border-color: var(--sonar); }
.logline b { font-family: var(--f-mono); font-size: 13px; font-weight: 500; color: var(--sonar); letter-spacing: .06em; white-space: nowrap; }
.logline span { color: #D7DBE2; font-size: 15px; }
@media (max-width: 760px) { .logline { grid-template-columns: minmax(0, 1fr); gap: 6px; } .logline .arr { display: none; } }
.faq-more { text-align: center; margin-top: 28px; }
.approach { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.approach li { padding: 28px 24px; background: #232428; display: grid; gap: 6px; align-content: start; }
.approach b { font-family: var(--f-mono); font-size: 12px; font-weight: 500; color: var(--sonar); }
.approach strong { font-family: var(--f-display); font-size: 22px; letter-spacing: -.02em; }
.approach span { color: #D7DBE2; font-size: 15px; }
@media (max-width: 860px) { .approach { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .approach { grid-template-columns: minmax(0, 1fr); } }
.tier .info { margin-top: 16px; }

/* ── 다이브 로그 도장 쿠폰 (밝은 종이 카드 + 잉크 도장) ── */
.stampcard { position: relative; max-width: 100%; padding: 28px 28px 24px; border-radius: 14px; color: #0C1B30;
  background: radial-gradient(120% 90% at 0% 0%, #FFFFFF, #EEF1F5 70%), #F4F6F9;
  box-shadow: 0 40px 80px -30px rgba(47, 91, 255, .45), 0 0 0 1px rgba(255, 255, 255, .6) inset;
  transform: rotate(-2deg); transition: transform .5s var(--ease); display: grid; gap: 18px; }
.stampcard:hover { transform: rotate(0); }
.stampcard::before { content: ""; position: absolute; left: 0; right: 0; top: 64px; border-top: 2px dashed #CDD5E0; }
.sc-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; color: #5A6A80; }
.sc-top b { color: #0C1B30; font-family: var(--f-display); font-size: 18px; letter-spacing: -.02em; margin-right: 6px; }
.sc-tag { font-size: 11px; padding: 2px 8px; border: 1px dashed #94A0B2; border-radius: 999px; }
.sc-name { margin-top: 10px; font-family: var(--f-display); font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.slots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.slot { display: grid; justify-items: center; gap: 8px; text-align: center; }
.slot .ring { position: relative; width: 100%; max-width: 92px; aspect-ratio: 1; border-radius: 50%; border: 2px dashed #B8C2D0; display: grid; place-items: center; background: #fff; }
.slot b { font-size: 13px; font-weight: 700; color: #3A4658; white-space: nowrap; }
.slot em { font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: #0C1B30; color: #fff; white-space: nowrap; }
.slot.reward em { background: var(--buoy); }
.slot.on .ring { border-style: solid; border-color: #D9DFE8; }
.slot.goal .ring { border-color: var(--buoy); border-style: dashed; }
.slot .gift { font-size: 26px; color: var(--buoy); }
.ink { position: absolute; inset: -8%; width: 116%; height: 116%; color: #E8452A; transform: rotate(var(--r)); opacity: .9; mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(circle at 30% 30%, #000 60%, rgba(0,0,0,.75) 75%, #000 90%); mask-image: radial-gradient(circle at 30% 30%, #000 60%, rgba(0,0,0,.75) 75%, #000 90%); }
.slot.reward .ink { color: #D63A1E; }
.sc-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; color: #3A4658; border-top: 1px solid #DDE3EB; padding-top: 14px; }
.sc-bottom b { color: var(--buoy); }
@media (max-width: 520px) { .stampcard { padding: 20px 16px; } .slots { gap: 6px; } .slot b { font-size: 11px; } .slot em { font-size: 10px; padding: 2px 6px; } }
/* 화면에 들어오면 도장이 하나씩 '쾅' (스크립트가 있을 때만, 모션 줄이기 존중) */
@media (prefers-reduced-motion: no-preference) {
  .stampcard.armed .ink { opacity: 0; transform: rotate(var(--r)) scale(1.7); }
  .stampcard.armed.in .ink { animation: stamp .45s cubic-bezier(.2, 1.4, .4, 1) both; animation-delay: calc(var(--d) + .2s); }
  @keyframes stamp { 0% { opacity: 0; transform: rotate(var(--r)) scale(1.7); } 60% { opacity: 1; transform: rotate(var(--r)) scale(.94); } 100% { opacity: .9; transform: rotate(var(--r)) scale(1); } }
}
