/* ============================================================
   HORIZON 7 — Coming Soon teaser page
   page sections / modals / responsive
   ============================================================ */

/* ---------- audience cards ---------- */
.aud-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.aud-card {
  position: relative; display: flex; flex-direction: column;
  justify-content: flex-end; overflow: hidden;
  min-height: 500px;
  background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .35s, border-color .35s, box-shadow .35s;
}
.aud-card:hover {
  transform: translateY(-6px);
  border-color: rgba(228, 0, 43, .4);
  box-shadow: 0 24px 60px rgba(17, 17, 17, .18);
}
.aud-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .7s cubic-bezier(.16, 1, .3, 1);
}
.aud-card:hover img { transform: scale(1.07); }
.aud-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,12,.05) 25%, rgba(10,10,12,.92) 80%);
}
.aud-body {
  position: relative; padding: 1.9rem;
  display: flex; flex-direction: column; gap: .7rem;
}
.aud-tag {
  font-size: .68rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--volt);
}
/* KR: 이 카드는 배경 사진 위에 어두운 스크림을 깔고 글자를 얹는 구조라, 전체
   테마가 화이트로 바뀌어도 이 안의 글자만큼은 계속 흰색이어야 한다(사진+스크림
   자체는 테마와 무관하게 항상 어둡게 유지됨) - var(--text) 대신 명시적 흰색.
   EN: This card layers text over a photo with a dark scrim beneath it, so the
   text here must stay white even though the overall theme is now white (the
   photo+scrim itself stays dark regardless of theme) - explicit white instead
   of var(--text).
   JP: このカードは写真の上に暗いスクリムを敷いて文字を乗せる構造のため、
   全体テーマが白くなってもこの中の文字だけは白のままである必要がある
   （写真+スクリム自体はテーマに関係なく常に暗いまま）- var(--text)の代わりに
   明示的な白を使う。 */
.aud-card h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.8rem; line-height: 1.02; text-transform: uppercase;
  color: #fff;
}
.aud-card p { color: #c9c9cf; font-size: .92rem; max-width: 40ch; }
.aud-card .arrow-link { color: #fff; }

.arrow-link {
  display: inline-flex; align-items: center; gap: .55rem;
  margin-top: .5rem;
  font-size: .76rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text);
  transition: color .25s;
}
.arrow-link svg { transition: transform .25s; }
.arrow-link:hover { color: var(--volt); }
.arrow-link:hover svg { transform: translateX(5px); }

.talent-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .4rem; }
.talent-chips span {
  font-size: .68rem; font-weight: 600; letter-spacing: .04em;
  padding: .38rem .75rem;
  border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px;
  color: #dcdce2; background: rgba(10, 10, 12, .45);
  backdrop-filter: blur(6px);
}

/* ---------- success stories slider ---------- */
.section-dark {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}
.slider-wrap { margin-top: .5rem; }
.slider {
  display: flex; gap: 1.4rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: .6rem max(calc((100vw - var(--container)) / 2), 1.4rem) 1.6rem;
  scrollbar-width: none; cursor: grab;
  -webkit-overflow-scrolling: touch;
}
.slider::-webkit-scrollbar { display: none; }
.slider.dragging { cursor: grabbing; scroll-snap-type: none; }

.story-card {
  flex: 0 0 min(430px, 84vw);
  scroll-snap-align: start;
  background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.story-card:hover {
  transform: translateY(-5px);
  border-color: rgba(228, 0, 43, .4);
  box-shadow: 0 22px 50px rgba(17, 17, 17, .16);
}
.story-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.story-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s cubic-bezier(.16, 1, .3, 1);
}
.story-card:hover .story-media img { transform: scale(1.06); }
.story-tag {
  position: absolute; top: 14px; left: 14px;
  font-size: .66rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--volt);
  padding: .4rem .8rem; border-radius: 999px;
  background: rgba(10, 10, 12, .72);
  border: 1px solid rgba(228, 0, 43, .4);
  backdrop-filter: blur(8px);
}
.story-body { padding: 1.5rem 1.5rem 1.6rem; display: grid; gap: .7rem; }
.story-body h3 {
  font-size: 1.18rem; font-weight: 700; line-height: 1.35;
  letter-spacing: -.01em;
}
.story-body p { font-size: .88rem; color: var(--muted); }

.slider-nav { display: flex; align-items: center; gap: .6rem; }
.nav-btn {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: transparent; color: var(--text);
  border: 1px solid var(--line); cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.nav-btn:hover { background: var(--volt); color: #ffffff; border-color: var(--volt); }

.slider-progress {
  height: 2px; margin-top: .6rem;
  background: var(--line); border-radius: 2px; overflow: hidden;
}
.slider-progress span {
  display: block; height: 100%; width: 25%;
  background: var(--volt); border-radius: 2px;
  transition: width .25s ease;
}

/* ---------- magazine ---------- */
.mag-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center;
}
.mag-art {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
}
.mag-art img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s cubic-bezier(.16, 1, .3, 1);
}
.mag-art:hover img { transform: scale(1.04); }
.mag-chip {
  position: absolute; display: grid; gap: .15rem;
  padding: .85rem 1.05rem;
  background: rgba(10, 10, 12, .85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 14px;
  font-size: .86rem; font-weight: 600; line-height: 1.35;
  color: #fff; /* KR: 이미지 위 어두운 칩이라 테마와 무관하게 흰 글자 유지 */
}
.mag-chip span {
  font-size: .62rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--volt);
}
.chip-a { top: 9%; left: 6%; animation: chip-float 6s ease-in-out infinite alternate; }
.chip-b { bottom: 12%; right: 6%; animation: chip-float 7s ease-in-out infinite alternate-reverse; }
@keyframes chip-float { to { transform: translateY(-12px); } }

.mag-list { margin-top: 2.6rem; border-top: 1px solid var(--line); }
.mag-list li { border-bottom: 1px solid var(--line); }
.mag-list a {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 1.2rem; align-items: baseline;
  padding: 1.15rem .2rem;
  transition: padding-left .25s;
}
.mag-list a:hover { padding-left: .9rem; }
.mag-list a:hover .mag-title { color: var(--volt); }
.mag-date { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mag-title { font-weight: 600; font-size: .98rem; transition: color .25s; }
.mag-meta { font-size: .72rem; color: var(--muted); white-space: nowrap; }

/* ---------- newsletter cta ---------- */
.news-cta {
  text-align: center;
  background: radial-gradient(52% 85% at 50% 0%, rgba(228, 0, 43, .08), transparent 62%);
}
.news-cta .section-copy { margin-inline: auto; }
.news-cta .btn { margin-top: 2rem; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line); background: var(--bg-2);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem;
}
.foot-top {
  display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.foot-brand p { color: var(--muted); font-size: .85rem; margin: 1.1rem 0 1.4rem; max-width: 36ch; }
.socials { display: flex; gap: .6rem; }
.socials a {
  width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center; color: var(--muted);
  transition: color .25s, background .25s, border-color .25s, transform .25s;
}
.socials a:hover { color: #ffffff; background: var(--volt); border-color: var(--volt); transform: translateY(-2px); }

.foot-col h4 {
  font-size: .72rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--text); margin-bottom: 1.15rem;
}
.foot-col ul { display: grid; gap: .6rem; }
.foot-col a { color: var(--muted); font-size: .88rem; transition: color .2s, padding-left .2s; }
.foot-col a:hover { color: var(--volt); padding-left: .3rem; }

.foot-legal {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1.4rem; flex-wrap: wrap;
  border-top: 1px solid var(--line); margin-top: 3.5rem; padding-top: 1.7rem;
  color: var(--muted); font-size: .78rem;
}
.foot-legal nav { display: flex; gap: 1.3rem; flex-wrap: wrap; }
.foot-legal a:hover { color: var(--volt); }

/* ---------- modals ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; padding: 1.2rem;
  visibility: hidden; opacity: 0;
  transition: opacity .3s, visibility .3s;
}
.modal.open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5, 5, 7, .8); backdrop-filter: blur(10px); }
.modal-dialog {
  position: relative; width: min(560px, 100%); max-height: 90vh; overflow: auto;
  background: var(--panel); border: 1px solid var(--line); border-radius: 22px;
  padding: 2rem;
  transform: translateY(18px) scale(.98);
  transition: transform .35s cubic-bezier(.16, 1, .3, 1);
}
.modal.open .modal-dialog { transform: none; }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(10, 10, 12, .65);
  color: #fff; cursor: pointer;
  display: grid; place-items: center;
  transition: background .25s, color .25s, border-color .25s;
}
.modal-close:hover { background: var(--volt); color: #ffffff; border-color: var(--volt); }

/* KR/EN/JP: 영상 플레이스홀더는 실제 영상이 들어갈 자리라 테마와 무관하게
   시네마틱한 어두운 배경을 유지한다 - 내부 글자는 그래서 항상 흰색.
   EN: The video placeholder is where a real video eventually goes, so it stays
   a dark cinematic backdrop regardless of theme - its text stays white.
   JP: 映像プレースホルダーは実際の映像が入る場所のため、テーマに関係なく
   シネマティックな暗い背景を維持する - 内部の文字は常に白。 */
.modal-video { width: min(960px, 100%); padding: 1rem; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; }
.video-ph {
  position: absolute; inset: 0;
  display: grid; place-content: center; justify-items: center; gap: .45rem;
  text-align: center; color: #fff;
  background:
    radial-gradient(80% 100% at 50% 0%, rgba(228, 0, 43, .18), transparent 60%),
    linear-gradient(135deg, #1a1a1e, #0a0a0c);
}
.vp-badge {
  font-size: .64rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--volt); border: 1px solid rgba(228, 0, 43, .45);
  border-radius: 999px; padding: .4rem .9rem;
}
.vp-title { font-family: var(--font-display); font-size: clamp(1.4rem, 3.4vw, 2.2rem); text-transform: uppercase; margin-top: .6rem; color: #fff; }
.vp-sub { font-size: .82rem; color: rgba(255, 255, 255, .65); }

/* ---------- back to top ---------- */
.to-top {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 85;
  width: 50px; height: 50px; border-radius: 50%; border: 0;
  background: var(--volt); color: #ffffff;
  display: grid; place-items: center; cursor: pointer;
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity .3s, transform .3s, background .25s;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: #c40020; }

/* ---------- newsletter form ---------- */
.nl-pane h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.9rem; text-transform: uppercase;
  margin: .6rem 0 1.4rem;
}
#nlForm { display: grid; gap: 1.05rem; }

.nl-salut { display: flex; flex-wrap: wrap; gap: .5rem; border: 0; }
.nl-salut legend {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: .55rem;
}
.nl-salut label {
  display: flex; align-items: center; gap: .45rem;
  border: 1px solid var(--line); padding: .55rem 1rem;
  border-radius: 999px; font-size: .8rem; cursor: pointer;
  transition: border-color .2s;
}
.nl-salut label:hover { border-color: var(--volt); }
.nl-salut input { accent-color: var(--volt); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.form-grid label {
  display: grid; gap: .4rem;
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}
.form-grid input,
.form-grid select {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px;
  padding: .78rem .95rem; color: var(--text);
  font: 500 .95rem var(--font-body);
  transition: border-color .2s;
  width: 100%;
}
.form-grid input:focus,
.form-grid select:focus { outline: none; border-color: var(--volt); }
.form-grid input.invalid,
.form-grid select.invalid { border-color: #ff7d7d; }
.span2 { grid-column: span 2; }

.consent {
  display: flex; gap: .7rem; align-items: flex-start;
  font-size: .8rem; color: var(--muted); cursor: pointer;
}
.consent input { accent-color: var(--volt); margin-top: 3px; }
.consent.invalid span { color: #ff8a8a; }

.form-error { color: #ff8a8a; font-size: .82rem; }

.nl-success { display: grid; justify-items: center; gap: 1rem; text-align: center; padding: 1.6rem 0; }
.success-badge {
  width: 66px; height: 66px; border-radius: 50%;
  background: var(--volt); color: #ffffff;
  display: grid; place-items: center;
  font-size: 1.7rem; font-weight: 800;
}
.nl-success p { color: var(--muted); max-width: 40ch; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .burger { display: flex; }
  .header-cta .btn-ghost { display: none; }
}

@media (max-width: 980px) {
  .aud-grid { grid-template-columns: 1fr; }
  .aud-card { min-height: 400px; }
  .mag-grid { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .header-cta { display: none; }
  .section { padding: 4.2rem 0; }
  .hero-meta { gap: 1.4rem; }
  .hero-meta strong { font-size: 1.5rem; }
  .slider { gap: 1rem; }
  .form-grid { grid-template-columns: 1fr; }
  .span2 { grid-column: span 1; }
  .foot-top { grid-template-columns: 1fr; }
  .foot-legal { flex-direction: column; align-items: flex-start; }
  .to-top { right: 1rem; bottom: 1rem; }
}

/* ---------- シネマセクション: スクロール連動の映像ステージ ---------- */
/* KR: 시네마 스테이지는 캔버스/영상이 항상 화면 전체를 덮는 "무대"라서 이
   컨테이너 배경색은 캔버스가 그려지기 전 짧은 순간에만 보인다. 씬 1(수평선/
   일출)이 첫 화면이라 화이트로 맞췄지만, 씬 2/3(레이더·플로우라인)은 여전히
   어두운 배경을 캔버스 안에서 직접 그린다 - 자막/카운터/힌트 텍스트는 두
   경우 모두에서 잘 보이도록(어두운 씬 위에서도, 화이트 씬에서는 상단 스크림이
   대신 어둡게 깔아줌) var(--text)/var(--muted) 대신 명시적 색을 쓴다.
   EN: The cinema stage container background is only visible for a brief flash
   before the canvas paints, since canvas/video always fully covers it. Scene 1
   (horizon/sunrise) is the first one shown, so this fallback is now white, but
   scenes 2/3 (radar, flow lines) still paint their own dark backgrounds inside
   the canvas - the caption/counter/hint text uses explicit colors (not
   var(--text)/var(--muted)) so it stays legible in both cases (dark scenes, or
   the white scene where the scrim above darkens the top just enough).
   JP: シネマステージは常にキャンバス/映像で画面全体が覆われる「舞台」なので、
   このコンテナの背景色はキャンバスが描画される直前のわずかな瞬間にしか
   見えない。シーン1（水平線/日の出）が最初に表示されるためホワイトに
   合わせたが、シーン2/3（レーダー・フローライン）は引き続きキャンバス内で
   暗い背景を自前で描画する - 字幕/カウンター/ヒントのテキストはどちらの
   場合でも見えるよう（暗いシーンでも、ホワイトのシーンでは上部のスクリムが
   代わりに暗くしてくれる）var(--text)/var(--muted)の代わりに明示的な色を
   使う。 */
.cinema { position: relative; height: 340vh; background: #ffffff; }
.cinema-stage {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  overflow: hidden; background: #ffffff;
}
.cinema-scene {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity .8s ease; will-change: opacity;
}
.cinema-scene.active { opacity: 1; }
.cinema-canvas, .cinema-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.cinema-video { display: none; background: #000; }
.cinema-scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(72% 62% at 50% 45%, rgba(10, 10, 12, 0) 42%, rgba(10, 10, 12, .55) 100%),
    linear-gradient(180deg, rgba(10, 10, 12, .5), rgba(10, 10, 12, 0) 30%, rgba(10, 10, 12, 0) 70%, rgba(10, 10, 12, .6));
}
.cinema-caption {
  position: absolute; inset: 0;
  display: grid; place-items: center; padding: 0 1.4rem;
  pointer-events: none;
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.16, 1, .3, 1);
}
.cinema-caption.active { opacity: 1; transform: none; }
.cinema-caption p {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.8rem, 5vw, 4rem);
  line-height: 1.3; letter-spacing: .02em; text-align: center;
  color: #fff;
  text-shadow: 0 4px 34px rgba(0, 0, 0, .6);
}
.cinema-ui {
  position: absolute; left: 0; right: 0; top: calc(84px + 1.2rem);
  display: flex; justify-content: space-between; align-items: center;
  pointer-events: none;
}
.cinema-ui .kicker { color: var(--volt); }
.cinema-counter {
  font-family: var(--font-display); font-size: 1.05rem;
  letter-spacing: .18em; color: rgba(255, 255, 255, .7);
}
.cinema-counter #cinemaIndex { color: var(--volt); }
.cinema-progress {
  position: absolute; left: 50%; bottom: 5.4rem;
  transform: translateX(-50%);
  width: min(320px, 60vw); height: 2px;
  background: rgba(255, 255, 255, .18);
  border-radius: 2px; overflow: hidden;
}
.cinema-progress span { display: block; height: 100%; width: 0; background: var(--volt); }
.cinema-hint {
  position: absolute; left: 50%; bottom: 2.4rem; transform: translateX(-50%);
  font-size: .66rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: rgba(255, 255, 255, .55); white-space: nowrap;
}
@media (max-width: 640px) {
  .cinema { height: 300vh; }
  .cinema-caption p { font-size: clamp(1.4rem, 7.2vw, 2.2rem); }
  .cinema-progress { bottom: 4.8rem; }
}



