/* ============================================
   051 BUSAN — 무겁게.
   애플식 여백과 타이포 + 하드코어 헤비 톤
   ============================================ */

:root {
  --bg: #000;
  --bg-2: #0b0b0c;
  --tile: #141416;
  --tile-2: #1d1d1f;
  --text: #f5f5f7;
  --muted: #86868b;
  --line: rgba(255, 255, 255, 0.08);
  --red: #ff2d20;
  --red-deep: #b3140c;
  --ocean: #0a3d62;
  --light: #f5f5f7;
  --ink: #1d1d1f;
  --radius: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; border-radius: 6px; }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 999;
}
.skip:focus { left: 8px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.center { text-align: center; }

/* ---------- TYPE ---------- */
.eyebrow {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--red);
  margin-bottom: 14px;
}
.display {
  font-size: clamp(2.8rem, 7.5vw, 5.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.045em;
}
.lead {
  margin-top: 22px;
  font-size: clamp(1.1rem, 2.1vw, 1.5rem);
  font-weight: 500;
  color: var(--muted);
  line-height: 1.45;
  max-width: 720px;
}
.center .lead { margin-left: auto; margin-right: auto; }
.hot { color: var(--red); }

/* ---------- BUTTONS ---------- */
.pill {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 13px 26px;
  border-radius: 980px;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.pill:hover { background: #ff4a3f; }
.pill:active { transform: scale(0.97); }
.pill-sm { font-size: 0.95rem; padding: 9px 20px; }
.pill-lg { font-size: clamp(1.1rem, 2.4vw, 1.5rem); padding: 18px 38px; margin-top: 40px; }

.link-arrow {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.link-arrow::after { content: "›"; font-size: 1.35em; line-height: 1; transition: transform 0.25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 22px;
  height: 52px;
  display: flex; align-items: center; gap: 36px;
}
.wordmark {
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.06em;
}
.wordmark::after { content: "."; color: var(--red); }
.wordmark.small { font-size: 1.1rem; }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a {
  font-size: 0.85rem;
  color: rgba(245, 245, 247, 0.8);
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }
.nav-cta {
  font-size: 0.8rem; font-weight: 600;
  background: var(--red); color: #fff;
  padding: 5px 14px; border-radius: 980px;
}
.nav-toggle {
  display: none;
  width: 32px; height: 32px;
  background: none; border: 0; cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute; left: 7px; width: 18px; height: 1.5px; background: var(--text);
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 12px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle.active span:nth-child(1) { top: 15.5px; transform: rotate(45deg); }
.nav-toggle.active span:nth-child(2) { top: 15.5px; transform: rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  min-height: 100svh;
  padding: 130px 22px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.hero-title {
  font-size: clamp(5rem, 20vw, 15rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.07em;
  background: linear-gradient(180deg, #ffffff 30%, #6e6e73 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 18px;
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}
.hero-actions {
  margin-top: 30px;
  display: flex; gap: 28px; align-items: center; justify-content: center; flex-wrap: wrap;
}
.br-m { display: none; }

.plate-stage {
  position: relative;
  margin-top: 60px;
  width: min(560px, 88vw);
  aspect-ratio: 1;
  margin-bottom: calc(min(560px, 88vw) * -0.42);
}
.plate {
  width: 100%; height: 100%;
  position: relative; z-index: 2;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.9));
  will-change: transform;
}
.plate-glow {
  position: absolute; inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 45, 32, 0.45), transparent 65%);
  filter: blur(40px);
  z-index: 1;
}
.plate-ring-text {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  fill: #6e6e73;
}
.plate-kg { font-family: var(--font); font-size: 64px; font-weight: 900; fill: #e5e5e7; letter-spacing: -3px; }
.plate-unit { font-family: var(--font); font-size: 26px; font-weight: 800; fill: var(--red); letter-spacing: 4px; }

/* ---------- MANIFESTO ---------- */
.manifesto { height: 260vh; position: relative; background: var(--bg); z-index: 3; }
.manifesto-sticky {
  position: sticky; top: 0;
  height: 100svh;
  display: flex; align-items: center; justify-content: center;
  padding: 0 22px;
}
.manifesto-text {
  font-size: clamp(2.6rem, 8.5vw, 7rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.05em;
  text-align: center;
}
.manifesto-text span { color: #2a2a2d; transition: color 0.4s var(--ease); }
.manifesto-text span.on { color: var(--text); }
.manifesto-text span.hot.on { color: var(--red); }

/* ---------- SECTIONS ---------- */
section.numbers, section.lineup, section.spec, section.rules, section.contact { padding: 150px 0; }

/* ---------- NUMBERS ---------- */
.numbers { background: var(--bg); }
.stat-row {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.stat { padding: 34px 0 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat-num {
  display: flex; align-items: baseline; gap: 4px;
  font-size: clamp(3rem, 6.5vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-num i { font-style: normal; font-size: 0.35em; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.stat-label { display: block; margin-top: 12px; color: var(--muted); font-weight: 600; }

/* ---------- LINEUP / BENTO ---------- */
.lineup { background: var(--bg-2); }
.bento {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 460px;
  padding: 44px;
  display: flex; flex-direction: column; justify-content: space-between;
  isolation: isolate;
  transition: transform 0.6s var(--ease);
}
.tile:hover { transform: scale(1.012); }
.tile-xl { grid-column: span 2; min-height: 540px; }
.tile-copy { position: relative; z-index: 2; }
.tile-eyebrow { color: #ffd0cc; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.08em; margin-bottom: 8px; }
.tile h3 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; }
.tile-sub { margin-top: 10px; font-size: 1.15rem; font-weight: 500; opacity: 0.8; max-width: 420px; }
.tile-price { margin: 18px 0 10px; font-weight: 700; font-size: 1.05rem; }
.tile-links { margin-top: 24px; display: flex; gap: 22px; align-items: center; }
.tile-visual {
  position: absolute; right: -2%; bottom: -8%;
  z-index: 1;
  pointer-events: none;
  line-height: 0.8;
}
.giant {
  display: block;
  font-size: clamp(8rem, 20vw, 16rem);
  font-weight: 900;
  letter-spacing: -0.07em;
  white-space: nowrap;
}
.giant.outline { color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, 0.16); }

.tile-red { background: radial-gradient(120% 120% at 100% 100%, #ff5a4a 0%, var(--red) 35%, var(--red-deep) 100%); }
.tile-red .giant { color: rgba(0, 0, 0, 0.22); font-size: clamp(9rem, 26vw, 22rem); }
.tile-red .pill { background: #fff; color: var(--red-deep); }
.tile-red .pill:hover { background: #ffe9e7; }
.tile-steel { background: linear-gradient(160deg, var(--tile-2) 0%, var(--tile) 100%); border: 1px solid var(--line); }
.tile-light { background: var(--light); color: var(--ink); }
.tile-light .link-arrow { color: var(--red-deep); }
.tile-light .giant { color: rgba(0, 0, 0, 0.06); }
.tile-ocean { background: linear-gradient(160deg, #0f5687 0%, var(--ocean) 55%, #041c2e 100%); }
.tile-black { background: #000; border: 1px solid var(--line); }
.tile-black .giant {
  font-size: clamp(6rem, 17vw, 14rem);
  background: linear-gradient(90deg, #3a3a3d, #111);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- SPEC ---------- */
.spec { background: var(--bg); }
.spec-grid {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.spec-item {
  background: var(--tile);
  border-radius: 22px;
  padding: 30px 26px 28px;
  border: 1px solid var(--line);
}
.spec-item dt { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.spec-item dd {
  margin-top: 10px;
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  background: linear-gradient(135deg, #fff 0%, #ff7a70 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.spec-item dd small { font-size: 0.4em; letter-spacing: 0; margin-left: 2px; }
.spec-item p { margin-top: 14px; color: var(--muted); font-size: 0.95rem; }
.footnote { margin-top: 28px; color: #6e6e73; font-size: 0.8rem; }

/* ---------- RULES ---------- */
.rules { background: var(--bg-2); }
.rules-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.rule { border-top: 2px solid var(--red); padding-top: 26px; }
.rule-no { color: var(--muted); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.1em; }
.rule h3 { margin-top: 12px; font-size: clamp(2rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -0.04em; }
.rule p { margin-top: 12px; color: var(--muted); font-size: 1.1rem; font-weight: 500; }

/* ---------- CONTACT ---------- */
.contact {
  background: radial-gradient(60% 60% at 50% 100%, rgba(255, 45, 32, 0.22), transparent 70%), var(--bg);
  padding-bottom: 180px !important;
}

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid var(--line); padding: 26px 0 34px; background: var(--bg); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer p, .footer a { color: var(--muted); font-size: 0.8rem; }
.footer a:hover { color: var(--text); }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .manifesto { height: auto; }
  .manifesto-sticky { position: static; height: auto; padding: 150px 22px; }
  .manifesto-text span { color: var(--text); }
  .manifesto-text span.hot { color: var(--red); }
  .tile, .tile:hover { transform: none; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { margin-top: 30px; border-top: 1px solid var(--line); }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .rules-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 734px) {
  .nav-inner { gap: 16px; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-cta { order: 2; }
  .nav-toggle { order: 3; margin-left: 0; }
  .nav-links {
    position: fixed; top: 52px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(20px);
    padding: 12px 22px 28px;
    margin-left: 0;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { font-size: 1.6rem; font-weight: 700; padding: 12px 0; color: var(--text); border-bottom: 1px solid var(--line); }
  .wordmark { margin-right: auto; }

  .br-m { display: inline; }
  section.numbers, section.lineup, section.spec, section.rules, section.contact { padding: 100px 0; }
  .bento { grid-template-columns: 1fr; gap: 14px; }
  .tile-xl { grid-column: auto; }
  .tile, .tile-xl { min-height: 420px; padding: 32px 28px; border-radius: 24px; }
  .spec-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .spec-item { padding: 22px 18px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
