/*
 * 디랩 코딩 페스티벌 — 한 편의 광고처럼 보는 페이지.
 * 어두운 바탕(#171717), 강조색 오렌지(#FF542A), Noto Sans KR Black.
 * 장면마다 한 화면에 한 가지 말만 크게. 스크롤로 장면을 넘기는 건 main.js(GSAP ScrollTrigger).
 * 스크립트가 없거나 '움직임 줄이기' 설정이면 .js-motion 이 없어서, 모든 장면이 평범하게 세로로 쌓인다.
 */
:root {
  --bg: #171717;
  --panel: #242424;
  --line: #505050;
  --line-soft: #2e2e2e;
  --muted: #9a9a9a;
  --text: #ffffff;
  --orange: #ff542a;
  --orange-dark: #e0431c;
  --paper: #fafaf8;
  --ink: #171717;
  --ink-muted: #5c5c5c;
  --font: "Noto Sans KR", -apple-system, "Apple SD Gothic Neo", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --top: 68px;          /* 머리줄 높이 */
  --bottom: 0px;        /* 모바일 하단 바 높이 */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  word-break: keep-all;
  overflow-wrap: break-word;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
em { font-style: normal; color: var(--orange); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.nb { display: inline-block; white-space: nowrap; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--paper); color: var(--ink); padding: 8px 12px; }
.wrap { width: min(1200px, 100%); margin: 0 auto; padding: 0 var(--gutter); }

main > section { scroll-margin-top: var(--top); }

/* ---------- 공통 글자 ---------- */
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 clamp(16px, 2.4vw, 28px);
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--orange);
}
.kicker::before { content: ""; width: 36px; height: 4px; background: currentColor; }
.mega {
  margin: 0;
  font-weight: 900;
  font-size: clamp(46px, 8.4vw, 132px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 26px;
  font-family: var(--font);
  font-weight: 900;
  font-size: 18px;
  color: #fff;
  text-decoration: none;
  background: var(--orange);
  border: 2px solid var(--orange);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;   /* transform 은 GSAP 이 움직이므로 CSS 전환을 걸지 않는다 */
}
.btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn span { transition: transform 0.15s; }
.btn:hover span { transform: translateX(5px); }
.btn--ghost { background: transparent; border-color: var(--line); color: #fff; }
.btn--ghost:hover { background: transparent; border-color: #fff; }
.btn--small { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn--big { min-height: 72px; padding: 0 36px; font-size: clamp(20px, 2vw, 25px); }
.btn--huge { min-height: clamp(76px, 8vw, 96px); padding: 0 clamp(32px, 4vw, 56px); font-size: clamp(22px, 2.6vw, 34px); }
.btn[aria-disabled="true"] { background: #3a3a3a; border-color: #3a3a3a; color: var(--muted); cursor: not-allowed; }

/* ---------- 머리줄 + 진행 막대 ---------- */
.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--top);
  padding: 0 var(--gutter);
  background: rgba(23, 23, 23, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.top__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.top__logo img { height: 32px; width: auto; }
.top__logo span { font-size: 14px; font-weight: 700; }
.top__nav { display: flex; gap: 4px; margin-left: auto; }
.top__nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; }
.top__nav a:hover { color: #fff; }
@media (max-width: 900px) {
  .top__nav { display: none; }
  .top .btn { margin-left: auto; }
  .top__logo img { height: 28px; }
}
.progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: 3px;
  background: var(--orange);
  transform-origin: left center;
  transform: scaleX(0);
}

/* ---------- 장면 1: 첫 화면 ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: calc(var(--top) + 40px) var(--gutter) 72px;
  max-width: 1400px;
  margin: 0 auto;
}
.hero__date { margin: 0 0 18px; font-size: clamp(16px, 1.5vw, 20px); font-weight: 700; color: #dcdcdc; }
.hero__date b { color: var(--orange); font-weight: 900; font-size: 1.25em; margin-right: 4px; }
.hero__date span { color: var(--muted); font-weight: 500; }
.hero__title { margin: 0 0 clamp(24px, 3vw, 36px); font-weight: 900; }
.hero__sub { display: block; font-size: clamp(20px, 2.4vw, 32px); line-height: 1.3; margin-bottom: 10px; color: #fff; }
.hero__sub > span { display: inline-block; }
.hero__big { display: block; font-size: clamp(44px, 6.6vw, 104px); line-height: 1.1; letter-spacing: -0.035em; }
.chips { list-style: none; margin: 0 0 clamp(28px, 3vw, 40px); padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 8px 16px;
  border: 2px solid var(--line);
  font-weight: 700;
  font-size: clamp(14px, 1.3vw, 17px);
}
.chips li:first-child { border-color: var(--orange); }

/* 체험 그림 세 장을 겹쳐 두고, 맨 앞 장이 돌아가며 바뀐다 */
.hero__stage { position: relative; aspect-ratio: 480 / 420; width: 100%; max-width: 560px; justify-self: center; }
.shot {
  position: absolute;
  left: 0;
  top: 0;
  width: 86%;
  margin: 0;
  background: var(--paper);
  border: 3px solid #fff;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}
.shot img { width: 100%; aspect-ratio: 4 / 3; }
.shot figcaption {
  position: absolute;
  left: -3px;
  top: -3px;
  padding: 6px 14px;
  background: var(--orange);
  color: #fff;
  font-weight: 900;
  font-size: clamp(13px, 1.2vw, 16px);
}
/* 움직임이 없을 때의 겹침 배치 (움직일 때는 main.js 의 SPOTS 가 같은 자리를 잡는다) */
html:not(.js-motion) .shot:nth-child(1) { z-index: 3; transform: rotate(-3deg); }
html:not(.js-motion) .shot:nth-child(2) { z-index: 2; transform: translate(10%, 9%) rotate(4deg); }
html:not(.js-motion) .shot:nth-child(3) { z-index: 1; transform: translate(16%, 18%) rotate(-1deg); }
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 18px;
  margin: 0;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--muted);
  padding-bottom: 34px;
}
.hero__scroll::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 2px;
  height: 26px;
  background: var(--orange);
  animation: scrollhint 1.6s ease-in-out infinite;
}
@keyframes scrollhint { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; align-content: start; padding-top: calc(var(--top) + 28px); padding-bottom: 56px; }
  .hero__stage { max-width: 380px; width: 82%; }
  .hero .btn--big { width: 100%; }
  .hero__scroll { display: none; }
}

/* ---------- 흐르는 띠 ---------- */
.ticker { overflow: hidden; background: var(--orange); color: var(--ink); padding: 14px 0; }
.ticker__row { display: flex; width: max-content; animation: ticker 28s linear infinite; }
.ticker span, .ticker i { font-weight: 900; font-size: clamp(22px, 3vw, 40px); line-height: 1.2; font-style: normal; white-space: nowrap; padding: 0 clamp(14px, 1.6vw, 24px); }
.ticker i { color: #fff; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- 장면 2: 질문 → 답 ---------- */
.ask {
  position: relative;
  padding: clamp(96px, 14vw, 180px) var(--gutter);
  overflow: hidden;
  text-align: center;
}
.ask__line { margin: 0; font-weight: 900; font-size: clamp(30px, 5.2vw, 78px); line-height: 1.22; letter-spacing: -0.03em; }
.ask__q .ask__line:first-child { color: var(--muted); }
.ask__a { margin-top: clamp(48px, 8vw, 96px); position: relative; z-index: 1; color: #fff; }
.ask__a s { position: relative; text-decoration: none; color: var(--muted); }
.ask__a s::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  top: 52%;
  height: 0.12em;
  background: var(--ask-strike, var(--orange));
  transform-origin: left center;
  transform: scaleX(var(--strike, 1));
}
.ask__big { font-size: clamp(40px, 7.4vw, 120px); line-height: 1.12; margin-top: 12px; }
.ask__big b { display: inline-block; font-weight: 900; color: var(--orange); }
.ask__flood { display: none; }

/* 장면을 고정해 넘길 때만 (화면이 너무 낮으면 main.js 도 고정하지 않는다) */
@media (min-height: 560px) {
  .js-motion .ask { height: 100svh; padding: 0 var(--gutter); }
  .js-motion .ask__q, .js-motion .ask__a {
    position: absolute;
    inset: 0;
    display: grid;
    align-content: center;
    justify-items: center;
    padding: var(--top) var(--gutter) var(--bottom);
    margin: 0;
  }
  .js-motion .ask__flood {
    display: block;
    position: absolute;
    inset: 0;
    background: var(--orange);
    clip-path: circle(0% at 50% 58%);
  }
  .js-motion .ask__big b { color: var(--ink); }
}

/* ---------- 장면 3: 세 가지 체험 (겹쳐 둔 카드가 한 장씩 덮는다) ---------- */
.lab {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(28px, 4vw, 72px);
  padding: calc(var(--top) + 32px) max(var(--gutter), calc((100vw - 1280px) / 2)) calc(var(--bottom) + 40px);
  background: var(--bg);
}
.labs__head { padding: clamp(96px, 12vw, 160px) max(var(--gutter), calc((100vw - 1280px) / 2)) clamp(32px, 4vw, 56px); }
.labs__title { margin: 0; font-weight: 900; font-size: clamp(38px, 6.4vw, 100px); line-height: 1.12; letter-spacing: -0.035em; }
.lab--1 { background: #222; }
.lab--2 { background: var(--paper); color: var(--ink); }
.lab--3 { background: var(--orange); }
.lab--3 em { color: var(--ink); }
.lab__no { display: flex; align-items: baseline; gap: 14px; margin: 0 0 14px; font-weight: 700; font-size: clamp(15px, 1.4vw, 19px); color: var(--muted); }
.lab__no b { font-weight: 900; font-size: clamp(34px, 3.6vw, 52px); line-height: 1; color: var(--orange); }
.lab--2 .lab__no { color: var(--ink-muted); }
.lab--3 .lab__no, .lab--3 .lab__no b { color: #fff; }
.lab__title { margin: 0 0 clamp(16px, 2vw, 24px); font-weight: 900; font-size: clamp(36px, 5.4vw, 84px); line-height: 1.12; letter-spacing: -0.035em; }
.lab__name { margin: 0 0 14px; font-size: clamp(16px, 1.5vw, 20px); font-weight: 500; opacity: 0.8; }
.lab__age { display: inline-block; margin: 0; padding: 6px 14px; border: 2px solid currentColor; font-weight: 700; font-size: clamp(14px, 1.2vw, 16px); }
.lab__art { background: var(--paper); border: 3px solid #fff; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35); }
.lab--2 .lab__art { border-color: var(--ink); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.15); }
.lab__art svg, .lab__art img { width: 100%; height: auto; display: block; }

@media (min-height: 560px) {
  .js-motion .labs__stack { position: relative; height: 100svh; overflow: hidden; }
  .js-motion .lab { position: absolute; inset: 0; min-height: 0; }
}

@media (max-width: 900px) {
  .lab { grid-template-columns: 1fr; align-content: center; gap: 22px; padding-top: calc(var(--top) + 20px); }
  .lab__title { font-size: clamp(34px, 9.4vw, 60px); }
  .lab__art { width: min(100%, 520px); justify-self: center; }
  .lab__name { margin-bottom: 10px; }
}
@media (max-width: 900px) and (max-height: 700px) {
  .lab__art { width: min(78%, 420px); }
  .lab__title { font-size: 32px; }
}

/* ---------- 장면 4: 짝꿍 코딩 ---------- */
.pair {
  min-height: 100svh;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: calc(var(--top) + 48px) var(--gutter) 80px;
  text-align: center;
  overflow: hidden;
}
.pair__seats { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(16px, 4vw, 64px); width: min(1200px, 100%); }
.seat { display: grid; justify-items: center; }
.seat__icon { width: clamp(56px, 6vw, 88px); height: auto; fill: none; stroke: var(--orange); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.seat__who { margin: 0; font-weight: 700; font-size: clamp(20px, 2.4vw, 34px); }
.seat__role { margin: 0; font-weight: 900; font-size: clamp(64px, 10.5vw, 168px); line-height: 1.05; letter-spacing: -0.04em; }
.seat--kid .seat__role { color: var(--orange); }
.seat__do { margin: 14px 0 0; font-size: clamp(16px, 1.6vw, 21px); color: var(--muted); font-weight: 500; }
.pair__plus { font-weight: 900; font-size: clamp(40px, 5vw, 72px); color: var(--line); }
.pair__foot { margin: clamp(40px, 6vw, 72px) 0 0; font-size: clamp(18px, 2vw, 26px); font-weight: 700; }
@media (max-width: 760px) {
  .pair__seats { grid-template-columns: 1fr; gap: 6px; }
  .seat__icon { margin-bottom: 8px; }
}

/* ---------- 장면 5: 숫자 세 개 ---------- */
.facts { background: var(--orange); color: var(--ink); padding: clamp(64px, 9vw, 120px) var(--gutter); }
.facts__list { list-style: none; margin: 0 auto; padding: 0; width: min(1200px, 100%); display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.facts__list li { border-top: 4px solid var(--ink); padding-top: 18px; }
.facts__list p { margin: 0; font-weight: 700; font-size: clamp(17px, 1.7vw, 22px); color: #fff; }
.facts__list .facts__num { font-weight: 900; font-size: clamp(30px, 3.6vw, 52px); color: var(--ink); line-height: 1; margin-bottom: 14px; }
.facts__num b { font-size: clamp(88px, 13vw, 200px); letter-spacing: -0.05em; margin-right: 6px; }
@media (max-width: 760px) {
  .facts__list { grid-template-columns: 1fr; gap: 36px; }
  .facts__num b { font-size: 104px; }
}

/* ---------- 장면 6: 키캡 선물 ---------- */
.gift {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  padding: calc(var(--top) + 40px) max(var(--gutter), calc((100vw - 1280px) / 2)) 80px;
  overflow: hidden;
}
.gift .mega { font-size: clamp(46px, 7.6vw, 120px); }
.gift__steps { list-style: none; margin: clamp(28px, 4vw, 48px) 0 0; padding: 0; display: grid; gap: 10px; }
.gift__steps li { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 2px solid var(--line-soft); font-weight: 700; font-size: clamp(18px, 1.8vw, 24px); }
.gift__steps b { min-width: 2.8em; font-weight: 900; color: var(--orange); }
.keycaps { display: flex; justify-content: center; gap: clamp(20px, 3vw, 40px); perspective: 900px; padding: 40px 0; }
.keycap {
  --size: clamp(130px, 17vw, 220px);
  width: var(--size);
  height: var(--size);
  border-radius: 22px;
  background: linear-gradient(160deg, #f4f4f2, #bdbcb6);
  box-shadow: 0 18px 0 #7e7d78, 0 30px 34px rgba(0, 0, 0, 0.5);
  display: grid;
  place-items: center;
  transform: rotateX(48deg) rotateZ(-28deg);
  transform-style: preserve-3d;
}
.keycap__top { width: 72%; height: 72%; margin-top: -10%; border-radius: 14px; background: radial-gradient(circle at 50% 40%, #fff, #e4e3df); display: grid; place-items: center; }
.keycap--logo { background: linear-gradient(160deg, #3a3a3a, #1c1c1c); box-shadow: 0 18px 0 #0b0b0b, 0 30px 34px rgba(0, 0, 0, 0.5); }
.keycap--logo .keycap__top { background: radial-gradient(circle at 50% 40%, #363636, #222); }
.keycap--logo img { width: 78%; }
.keycap--name .keycap__top span { font-weight: 900; font-size: calc(var(--size) * 0.26); color: var(--orange); letter-spacing: 0.04em; }
@media (max-width: 900px) {
  .gift { grid-template-columns: 1fr; min-height: 0; padding-top: 96px; }
  .keycaps { order: -1; padding: 10px 0 20px; }
  .keycap { --size: clamp(110px, 32vw, 170px); }
}

/* ---------- 첫 화면: 예약 단추 옆 '지금 남은 자리' ---------- */
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 2px solid var(--line);
  color: #fff;
  font-weight: 700;
  font-size: clamp(15px, 1.4vw, 18px);
  text-decoration: none;
}
.live:hover { border-color: var(--orange); }
/* 좁은 화면: 예약 단추 아래 꽉 찬 테두리 단추로, 간격을 두고 가운데 정렬 */
@media (max-width: 900px) {
  .hero__cta { flex-direction: column; align-items: stretch; gap: 14px; }
  .live { justify-content: center; min-height: 58px; padding: 0 18px; border: 2px solid var(--line); font-size: 17px; }
}
.live b { color: var(--orange); font-weight: 900; }
.live i, .seats__live i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(255, 84, 42, 0.6);
  animation: livepulse 1.8s ease-out infinite;
}
@keyframes livepulse { 70% { box-shadow: 0 0 0 10px rgba(255, 84, 42, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 84, 42, 0); } }

/* ---------- 회차별 남은 자리 ---------- */
.seats {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: calc(var(--top) + clamp(48px, 7vw, 96px)) var(--gutter) clamp(72px, 9vw, 120px);
}
.seats__head { display: grid; gap: 4px; margin-bottom: clamp(24px, 3vw, 40px); }
.seats__head .kicker { margin-bottom: 8px; }
.seats__title { margin: 0; font-weight: 900; font-size: clamp(46px, 7.4vw, 112px); line-height: 1.05; letter-spacing: -0.04em; }
.seats__live { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; font-size: clamp(14px, 1.3vw, 16px); font-weight: 700; color: var(--muted); }
/* 네모 보는 법: 빈 네모 = 예약 가능, 오렌지 네모 = 예약됨, 회색 = 마감 */
.legend { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.legend li { display: inline-flex; align-items: center; gap: 8px; font-size: clamp(14px, 1.3vw, 16px); font-weight: 700; color: #dcdcdc; }
.legend__seat { width: 18px; height: 18px; border: 2px solid var(--orange); }
.legend__seat.is-taken { background: var(--orange); }
.legend__seat.is-full { border-color: #3a3a3a; background: #3a3a3a; }
.board { border-top: 4px solid #fff; }
.board__row {
  display: grid;
  grid-template-columns: minmax(96px, 0.75fr) repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: clamp(8px, 2vw, 24px);
  padding: clamp(14px, 1.8vw, 22px) 0;
  border-bottom: 2px solid var(--line-soft);
}
.board__row--head { padding: 14px 0; }
.board__row--head span { font-size: clamp(13px, 1.3vw, 17px); font-weight: 700; color: var(--muted); }
.board__row--head span:not(:first-child) { color: var(--orange); }
.board__time b { display: block; font-weight: 900; font-size: clamp(22px, 2.6vw, 36px); line-height: 1.1; }
.board__time span { font-size: clamp(13px, 1.3vw, 17px); font-weight: 700; color: var(--muted); }
.cell { display: grid; gap: 8px; }
.cell__dots { display: flex; gap: clamp(3px, 0.5vw, 6px); }
.cell__dots b { width: clamp(12px, 1.6vw, 22px); aspect-ratio: 1; border: 2px solid var(--orange); }
.cell__dots b.is-taken { background: var(--orange); }
.cell__num { font-weight: 900; font-size: clamp(22px, 3vw, 44px); line-height: 1; letter-spacing: -0.03em; }
.cell__num small { margin-left: 4px; font-size: 0.42em; font-weight: 700; letter-spacing: 0; color: var(--muted); }
.cell.is-low .cell__num { color: var(--orange); }
.cell.is-full .cell__num { color: var(--muted); font-size: clamp(18px, 2.2vw, 32px); }
.cell.is-full .cell__dots b { border-color: #3a3a3a; background: #3a3a3a; }
.cell.is-wait .cell__num { color: var(--muted); }
.seats__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: clamp(28px, 4vw, 48px); }
.seats__note { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 600px) {
  .board__row { grid-template-columns: 58px repeat(3, minmax(0, 1fr)); gap: 8px; }
  .board__row--head span { font-size: 12px; line-height: 1.3; }
  .cell__dots b { width: 11px; border-width: 1.5px; }
  .seats .btn--big { width: 100%; }
}

/* ---------- 장면 7: 예약 ---------- */
.reserve {
  min-height: 100svh;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: calc(var(--top) + 40px) var(--gutter) 80px;
  text-align: center;
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
}
.reserve__date { margin: 0; font-weight: 900; font-size: clamp(112px, 24vw, 340px); line-height: 0.95; letter-spacing: -0.06em; }
.reserve__date small { font-size: 0.26em; letter-spacing: 0; color: var(--orange); margin-left: 0.1em; vertical-align: 0.15em; }
.reserve__time { margin: 16px 0 clamp(32px, 4vw, 52px); font-weight: 700; font-size: clamp(20px, 2.4vw, 32px); }
.reserve__note { margin: 18px 0 0; color: var(--ink-muted); font-size: 16px; }
@media (max-width: 600px) { .reserve .btn--huge { width: 100%; } }

/* ---------- 자주 묻는 질문 ---------- */
.faq { width: min(900px, 100%); margin: 0 auto; padding: clamp(80px, 10vw, 128px) var(--gutter); }
.faq__title { margin: 0 0 24px; font-weight: 900; font-size: clamp(30px, 4vw, 48px); }
.faq details { border-top: 2px solid var(--line-soft); padding: 18px 0; }
.faq details:last-child { border-bottom: 2px solid var(--line-soft); }
.faq summary { cursor: pointer; font-weight: 700; font-size: clamp(17px, 1.6vw, 20px); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 900; font-size: 26px; line-height: 1; color: var(--orange); }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 10px 0 0; color: var(--muted); }

/* ---------- 오시는 길 ---------- */
.visit {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: center;
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(80px, 10vw, 128px);
}
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; gap: 32px; } }
.visit__name { margin: 0 0 20px; font-weight: 900; font-size: clamp(40px, 5vw, 68px); line-height: 1.12; letter-spacing: -0.03em; }
.visit address { font-style: normal; font-size: 19px; line-height: 1.6; font-weight: 500; }
.visit__tel { margin: 14px 0 0; }
.visit__tel a { font-weight: 900; font-size: clamp(28px, 3vw, 38px); color: var(--orange); text-decoration: none; }
.visit__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.map { background: var(--panel); border-top: 6px solid var(--orange); }
.map iframe { display: block; width: 100%; height: clamp(300px, 40vw, 440px); border: 0; filter: grayscale(0.4); }

/* ---------- 바닥글 ---------- */
.foot { padding: clamp(56px, 7vw, 80px) 0 40px; background: #111; border-top: 6px solid var(--orange); color: var(--muted); font-size: 15px; }
.foot a { text-decoration: none; }
.foot__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 32px; border-bottom: 2px solid var(--line-soft); }
.foot__brand { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 700; }
.foot__brand img { height: 36px; width: auto; }
.foot__call { display: grid; justify-items: end; gap: 2px; }
.foot__call span { font-size: 14px; font-weight: 700; color: var(--orange); }
.foot__call a { font-weight: 900; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; color: #fff; letter-spacing: 0.01em; }
.foot__call a:hover { color: var(--orange); }
.foot__cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; padding: 32px 0; border-bottom: 2px solid var(--line-soft); }
.foot__label { margin: 0 0 12px; font-size: 14px; font-weight: 700; color: var(--orange); }
.foot address, .foot__cols p { margin: 0; font-style: normal; line-height: 1.8; color: #cfcfcf; }
.foot address a { color: #fff; font-weight: 700; }
.foot__cta { display: inline-flex; gap: 8px; margin-top: 14px; font-weight: 900; color: var(--orange); }
.foot__cta span { transition: transform 0.15s; }
.foot__cta:hover span { transform: translateX(4px); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot ul a { color: #cfcfcf; }
.foot ul a:hover { color: #fff; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; font-size: 13px; }
.foot__bottom p { margin: 0; }
.foot__copy { color: #6f6f6f; }
.foot__id { display: grid; gap: 18px; }
.foot .social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px 0 10px;
  border: 2px solid var(--line-soft);
  color: #cfcfcf;
  font-size: 14px;
  font-weight: 700;
  transition: border-color 0.15s, color 0.15s;
}
.social a:hover { border-color: var(--orange); color: #fff; }
.social svg, .quickbar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px) {
  .foot__top { align-items: flex-start; flex-direction: column; }
  .foot__call { justify-items: start; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot__cols > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 420px) { .foot__cols { grid-template-columns: 1fr; } }

/* ---------- 모바일 하단 고정 바 ---------- */
.quickbar { display: none; }
@media (max-width: 760px) {
  :root { --bottom: calc(62px + env(safe-area-inset-bottom)); }
  .quickbar {
    position: fixed;
    inset: auto 0 0;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding-bottom: env(safe-area-inset-bottom);
    background: rgba(17, 17, 17, 0.96);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--line-soft);
  }
  .quickbar a { display: grid; justify-items: center; gap: 3px; padding: 9px 0 8px; color: #cfcfcf; font-size: 11.5px; font-weight: 700; text-decoration: none; }
  .quickbar a:first-child { color: var(--orange); }
  .quickbar a:active { background: #222; }
  .quickbar svg { width: 22px; height: 22px; }
  body { padding-bottom: var(--bottom); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn span, .ticker__row, .hero__scroll::after { transition: none; animation: none; }
}
