/* 숭의역 노르웨이숲 더스카이 — Arkone-style (light + teal) */
:root {
  --brand: #176f66;
  --brand-rgb: 23, 111, 102;
  --brand-soft: #e8f3f0;
  
  --gold: #b08a4a;
  --bg-dark: #123f43;
  --bg-deep: #123f43;
  --ink: #1a1d24;
  --ink-muted: #6b7280;
  --line: #e5e7eb;
  --grid-line: rgba(26, 29, 36, 0.06);
  --header-h: 72px;
  --font: "Pretendard Variable", Pretendard, "Noto Sans KR", system-ui, sans-serif;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #f7f8fa;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; border: 0; background: none; }
ul { list-style: none; margin: 0; padding: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.em { color: var(--brand); font-style: normal; font-weight: 900; }

/* Light grid section helper */
.grid-bg {
  background-color: #f5f6f8;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
}
.site-header__bar {
  height: var(--header-h);
  padding: 0 clamp(16px, 3.5vw, 40px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  background: rgba(15, 18, 26, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.site-header.is-scrolled .site-header__bar {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(18, 21, 28, 0.06);
}
.header-left .brand { max-width: min(42vw, 280px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand {
  font-size: clamp(14px, 1.5vw, 20px);
  font-weight: 900;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: #fff;
  transition: color 0.2s ease;
}
.site-header.is-scrolled .brand { color: var(--ink); }
.nav-desktop {
  display: none;
  justify-self: end;
  align-items: center;
  gap: clamp(14px, 1.8vw, 26px);
}
.nav-desktop a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: color 0.18s ease;
}
.site-header.is-scrolled .nav-desktop a { color: #374151; }
.nav-desktop a:hover { color: var(--brand); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--pill);
  background: var(--brand);
  color: #fff !important;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: -0.02em;
  box-shadow: 0 8px 20px rgba(var(--brand-rgb), 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.header-phone:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(var(--brand-rgb), 0.38);
}
.header-phone svg { width: 16px; height: 16px; }
.hamburger {
  width: 42px; height: 42px;
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.site-header.is-scrolled .hamburger {
  background: #f3f4f6;
  border-color: var(--line);
}
.hamburger span {
  display: block; width: 17px; height: 2px; border-radius: 2px; background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}
.site-header.is-scrolled .hamburger span { background: var(--ink); }
.site-header.is-nav-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-nav-open .hamburger span:nth-child(2) { opacity: 0; }
.site-header.is-nav-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 8px 16px 16px;
}
.site-header.is-nav-open .mobile-nav { display: block; }
.mobile-nav a {
  display: block;
  padding: 14px 8px;
  border-bottom: 1px solid #f0f1f4;
  font-weight: 800;
  font-size: 16px;
  color: var(--ink);
}
.mobile-nav a:last-child { border-bottom: 0; }

@media (min-width: 980px) {
  .nav-desktop { display: flex; }
  .hamburger { display: none; }
  .header-phone { font-size: 16px; padding: 11px 20px; }
}

/* ===== Hero (dark full-bleed) ===== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--bg-deep);
  isolation: isolate;
}
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide {
  margin: 0; opacity: 0; z-index: 1;
  transition: opacity 1.15s ease;
}
.hero__slide.is-active { opacity: 1; z-index: 3; }
.hero__slide.is-leaving { opacity: 1; z-index: 2; }
.hero__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}
.hero__slide.is-active img { animation: heroZoom 5.4s linear both; }
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.04) translateX(0.6%); }
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2,6,17,.8) 0%, rgba(2,6,17,.42) 48%, rgba(2,6,17,.15) 100%),
    linear-gradient(180deg, rgba(2,6,17,.22) 0%, rgba(2,6,17,.2) 50%, rgba(2,6,17,.78) 100%);
}
.hero__content {
  position: relative; z-index: 5;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--header-h) + 40px) 0 96px;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff;
}
@media (min-width: 960px) {
  .hero__content { justify-content: center; padding-bottom: 72px; }
}
.hero__kicker {
  display: inline-flex; align-self: flex-start;
  margin: 0 0 16px; padding: 9px 16px;
  border-radius: var(--pill);
  background: var(--brand);
  font-size: clamp(13px, 1.15vw, 16px);
  font-weight: 900;
}
.hero__title {
  margin: 0; max-width: 14ch;
  font-size: clamp(32px, 5vw, 62px);
  font-weight: 800; line-height: 1.16; letter-spacing: -0.03em;
  text-shadow: 0 14px 30px rgba(0,0,0,.4);
}
.hero__note {
  display: flex; align-items: center; gap: 14px;
  margin: 20px 0 0; max-width: 34rem;
  color: rgba(255,255,255,.88);
  font-size: clamp(14px, 1.15vw, 17px); font-weight: 500;
}
.hero__note::before {
  content: ""; width: 40px; height: 1px; flex: 0 0 40px;
  background: rgba(255,255,255,.55);
}
.hero__note strong { color: #fff; font-weight: 900; }

/* ===== Side rail (light card like screenshots) ===== */
.side-rail {
  position: fixed;
  top: 50%; right: 16px;
  transform: translateY(-50%);
  z-index: 900;
  display: none;
  width: 78px;
  padding: 0 0 10px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(26, 29, 36, 0.08);
  box-shadow: 0 18px 40px rgba(18, 21, 28, 0.14);
  overflow: hidden;
}
.side-rail__head {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 6px;
  background: var(--brand);
  color: #fff;
  font-size: 9px; font-weight: 900; letter-spacing: 0.04em;
}
.side-rail__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #7dff9a;
  box-shadow: 0 0 8px rgba(125, 255, 154, 0.8);
}
.side-rail__list { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 6px; }
.side-rail a {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  width: 64px; padding: 9px 4px;
  border-radius: 14px;
  color: #4b5563;
  font-size: 10px; font-weight: 800;
  transition: background 0.18s ease, color 0.18s ease;
}
.side-rail a svg { width: 18px; height: 18px; }
.side-rail a:hover,
.side-rail a.is-active {
  background: var(--brand);
  color: #fff;
}
.side-rail__cta {
  display: flex !important; flex-direction: column; align-items: center; gap: 4px;
  width: calc(100% - 16px) !important;
  margin: 4px 8px 0;
  padding: 12px 4px !important;
  border-radius: 14px !important;
  background: var(--brand) !important;
  color: #fff !important;
}
@media (min-width: 1100px) { .side-rail { display: block; } }

/* ===== Sections ===== */
.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section__title {
  margin: 0 0 14px;
  text-align: center;
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.25;
  word-break: keep-all;
  color: var(--ink);
}
.section__lead {
  margin: 0 auto 36px;
  max-width: 42rem;
  text-align: center;
  color: var(--ink-muted);
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 500;
  word-break: keep-all;
}
.section__lead + .section__lead { margin-top: -24px; }

/* ===== CTA / scale band (LIGHT) ===== */
.cta-band { padding-top: clamp(64px, 8vw, 100px); }
.cta-count {
  text-align: center;
  margin-bottom: 10px;
}
.cta-count__num {
  font-size: clamp(64px, 11vw, 120px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--brand);
}
.cta-count__unit {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: var(--brand);
  margin-left: 4px;
}
.cta-sub {
  text-align: center;
  margin: 0 0 36px;
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.check-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px 28px;
  max-width: 860px;
  margin: 0 auto 28px;
}
@media (min-width: 700px) {
  .check-grid { grid-template-columns: 1fr 1fr; }
}
.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  word-break: keep-all;
}
.check-item__icon {
  flex: 0 0 36px;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 14px rgba(var(--brand-rgb), 0.25);
}
.check-item__icon svg { width: 16px; height: 16px; }

.reserve-pill {
  display: flex;
  justify-content: center;
  margin: 8px auto 40px;
}
.reserve-pill span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 28px;
  border-radius: var(--pill);
  background: #fff;
  border: 1px solid #dde1e8;
  box-shadow: 0 10px 28px rgba(18, 21, 28, 0.06);
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 700;
  color: #4b5563;
}
.reserve-pill strong {
  color: var(--brand);
  font-size: 1.15em;
  font-weight: 900;
  min-width: 1.5ch;
  text-align: center;
}

.call-card {
  display: block;
  width: min(100%, 760px);
  margin: 0 auto 48px;
  padding: 28px 24px 32px;
  text-align: center;
  border-radius: 28px;
  background: #fff;
  border: 1px solid #e6e9ef;
  box-shadow: 0 24px 50px rgba(18, 21, 28, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.call-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 60px rgba(18, 21, 28, 0.12);
}
.call-card__eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 10px 18px;
  border-radius: var(--pill);
  background: var(--brand-soft);
  border: 1px solid rgba(var(--brand-rgb), 0.22);
  color: var(--brand);
  font-size: 14px;
  font-weight: 900;
}
.call-card__number {
  display: block;
  font-size: clamp(42px, 9vw, 84px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.call-card__meta {
  margin-top: 12px;
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 700;
}

.early-form-card {
  max-width: 520px;
  margin: 0 auto;
  padding: 28px 24px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #e6e9ef;
  box-shadow: 0 18px 40px rgba(18, 21, 28, 0.06);
}
.early-form-card h3 {
  margin: 0 0 6px;
  text-align: center;
  font-size: 22px;
  font-weight: 900;
}
.early-form-card > p {
  margin: 0 0 18px;
  text-align: center;
  color: var(--ink-muted);
  font-size: 14px;
}

/* ===== Forms ===== */
.lead-form { display: grid; gap: 12px; }
.lead-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 800; color: #374151; }
.lead-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #d5dae3;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.lead-input::placeholder { color: #9aa3b2; }
.lead-input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.14);
}
.agree-row {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; font-weight: 600; color: var(--ink-muted);
}
.agree-row input { margin-top: 3px; accent-color: var(--brand); }
.agree-row button {
  color: var(--brand); font-weight: 800; text-decoration: underline; padding: 0;
}
.form-error {
  display: none; margin: 0; color: #c0392b; font-size: 13px; font-weight: 700;
}
.form-error.is-visible { display: block; }
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--brand);
  color: #fff;
  font-size: 16px; font-weight: 900; letter-spacing: -0.02em;
  box-shadow: 0 12px 28px rgba(var(--brand-rgb), 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(var(--brand-rgb), 0.36);
}
.btn-primary:disabled { opacity: 0.65; cursor: wait; }

/* ===== Overview ===== */
.overview-media {
  margin-top: 36px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(18, 21, 28, 0.12);
  border: 1px solid #e8ebf0;
}
.overview-media img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center 35%;
}
.info-table-wrap {
  margin-top: 40px;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e6e9ef;
  box-shadow: 0 18px 40px rgba(18, 21, 28, 0.06);
}
.info-table { width: 100%; border-collapse: collapse; }
.info-table th,
.info-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid #edf0f4;
  font-size: 14px;
  vertical-align: top;
}
.info-table tr:last-child th,
.info-table tr:last-child td { border-bottom: 0; }
.info-table th {
  width: 28%;
  background: #f7f8fa;
  color: var(--brand);
  font-weight: 900;
  white-space: nowrap;
}
.info-table td { color: var(--ink); font-weight: 600; }
@media (max-width: 560px) {
  .info-table, .info-table tbody, .info-table tr, .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { border-bottom: 0; padding-bottom: 4px; }
  .info-table td { padding-top: 4px; padding-bottom: 16px; }
}

/* ===== Location ===== */
.location-media {
  margin-top: 8px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e6e9ef;
  box-shadow: 0 20px 44px rgba(18, 21, 28, 0.1);
  background: #fff;
}
.location-media img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.location-points {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin: 28px auto 0;
}
.location-points li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e8ebf0;
  font-size: 14px; font-weight: 700; color: #374151;
  box-shadow: 0 8px 20px rgba(18, 21, 28, 0.04);
}
.location-points li::before {
  content: "";
  flex: 0 0 8px; width: 8px; height: 8px; margin-top: 6px;
  border-radius: 50%; background: var(--brand);
}

/* ===== Premium ===== */
.premium-list { display: grid; gap: 28px; margin-top: 8px; }
.premium-row {
  display: grid;
  gap: 20px;
  padding: 28px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #e8ebf0;
  box-shadow: 0 16px 36px rgba(18, 21, 28, 0.06);
}
@media (min-width: 860px) {
  .premium-row {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }
  .premium-row:nth-child(even) .premium-row__media { order: -1; }
}
.premium-label {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 13px; font-weight: 800; letter-spacing: 0.04em;
}
.premium-label::before {
  content: ""; width: 28px; height: 1px; background: var(--gold);
}
.premium-row h3 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.25;
}
.premium-row p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 15px; font-weight: 500;
  word-break: keep-all;
}
.premium-row__media {
  border-radius: 16px;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 14px 30px rgba(18, 21, 28, 0.1);
}
.premium-row__media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ===== Guide / 분양안내 ===== */
.guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 720px) {
  .guide-grid { grid-template-columns: 1fr 1fr; }
}
.guide-card {
  padding: 26px 22px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #e8ebf0;
  box-shadow: 0 14px 30px rgba(18, 21, 28, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.guide-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--brand-rgb), 0.35);
}
.guide-card.is-accent {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.guide-card.is-accent p { color: rgba(255,255,255,.82); }
.guide-card.is-accent a { color: #fff; }
.guide-card__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; margin-bottom: 12px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 13px; font-weight: 900;
}
.guide-card.is-accent .guide-card__num {
  background: rgba(255,255,255,.16);
  color: #fff;
}
.guide-card h3 {
  margin: 0 0 8px;
  font-size: 18px; font-weight: 900; letter-spacing: -0.02em;
}
.guide-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 14px; font-weight: 500; line-height: 1.55;
  word-break: keep-all;
}
.guide-card a {
  display: inline-flex; margin-top: 12px;
  color: var(--brand); font-weight: 800; font-size: 13px;
}

/* ===== Reserve white section ===== */
.reserve-section .section__title { color: var(--ink); }
.reserve-card {
  max-width: 560px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 40px);
  border-radius: 24px;
  background: #fff;
  border: 1px solid #e6e9ef;
  box-shadow: 0 24px 50px rgba(18, 21, 28, 0.08);
}
.type-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin-bottom: 18px; padding: 6px;
  border-radius: 14px; background: #f1f3f7;
}
.type-tab {
  padding: 12px; border-radius: 10px;
  font-weight: 900; font-size: 14px; color: var(--ink-muted);
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.type-tab.is-active {
  background: #fff; color: var(--brand);
  box-shadow: 0 4px 12px rgba(18, 21, 28, 0.08);
}

/* ===== Footer ===== */
.site-footer {
  padding: 48px 0 110px;
  background: #111318;
  color: rgba(255,255,255,.62);
  font-size: 13px;
}
.site-footer__brand {
  margin: 0 0 10px; color: #fff; font-size: 18px; font-weight: 900;
}
.site-footer__links {
  display: flex; flex-wrap: wrap; gap: 12px 20px; margin: 16px 0;
}
.site-footer__links a { color: #7dcec0; font-weight: 800; }
.site-footer__disclaimer {
  margin: 18px 0 0; font-size: 12px; line-height: 1.65;
  color: rgba(255,255,255,.42); word-break: keep-all;
}

/* ===== Mobile sticky bar ===== */
.mobile-bar {
  position: fixed;
  left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 950;
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr;
  gap: 8px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(17, 19, 24, 0.94);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}
.mobile-bar a,
.mobile-bar button {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 46px; border-radius: 12px;
  font-size: 13px; font-weight: 900; color: #fff;
  background: rgba(255,255,255,.08);
}
.mobile-bar .is-primary { background: var(--brand); }
@media (min-width: 980px) {
  .mobile-bar { display: none; }
  .site-footer { padding-bottom: 48px; }
}

/* ===== Popup / modal / toast ===== */
.popup-backdrop,
.modal-backdrop {
  position: fixed; inset: 0; z-index: 1200;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(8, 10, 16, 0.62);
  backdrop-filter: blur(6px);
}
.popup-backdrop.is-open,
.modal-backdrop.is-open { display: flex; }
.popup-panel,
.modal-panel {
  width: min(100%, 400px);
  padding: 28px 24px;
  border-radius: 24px;
  background: #fff;
  color: var(--ink);
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,.3);
  position: relative;
}
.popup-panel img { width: 132px; margin: 0 auto 14px; }
.popup-panel h3 { margin: 0 0 8px; font-size: 22px; font-weight: 900; }
.popup-panel p {
  margin: 0 0 18px; color: var(--ink-muted); font-size: 14px; word-break: keep-all;
}
.popup-actions { display: grid; gap: 8px; }
.popup-close-x,
.modal-close-x {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  background: #f1f3f7; color: var(--ink); font-size: 20px; line-height: 1;
}
.modal-panel {
  text-align: left; max-height: min(80vh, 560px); overflow: auto;
}
.modal-panel h3 { margin: 0 0 12px; font-size: 20px; font-weight: 900; }
.modal-panel p, .modal-panel li {
  color: var(--ink-muted); font-size: 13px; line-height: 1.65;
}
.modal-panel ul { padding-left: 18px; list-style: disc; margin: 0 0 12px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(88px + env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(16px);
  z-index: 1300;
  opacity: 0; pointer-events: none;
  padding: 14px 20px;
  border-radius: var(--pill);
  background: rgba(17, 19, 24, 0.95);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff; font-size: 14px; font-weight: 800;
  box-shadow: 0 16px 40px rgba(0,0,0,.3);
  transition: opacity 0.35s ease, transform 0.35s var(--ease);
  white-space: nowrap;
}
.toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
@media (min-width: 980px) { .toast { bottom: 32px; } }

.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__slide.is-active img { animation: none; }
  html { scroll-behavior: auto; }
}


/* BGM toggle (Arkone-like) */
.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.bgm-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(18,63,67,.35);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  backdrop-filter: blur(8px);
  transition: background .25s var(--ease), border-color .25s var(--ease);
  flex-shrink: 0;
}
.site-header.is-scrolled .bgm-toggle {
  border-color: rgba(23,111,102,.28);
  background: rgba(23,111,102,.08);
  color: var(--ink);
}
.bgm-toggle:hover { border-color: rgba(120,170,163,.7); }
.bgm-toggle.is-on {
  background: rgba(23,111,102,.92);
  border-color: rgba(23,111,102,.92);
  color: #fff;
}
.site-header.is-scrolled .bgm-toggle.is-on {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.bgm-toggle__bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}
.bgm-toggle__bars i {
  display: block;
  width: 2px;
  height: 40%;
  background: currentColor;
  border-radius: 1px;
  opacity: .85;
}
.bgm-toggle.is-on .bgm-toggle__bars i {
  animation: bgmBar 0.85s ease-in-out infinite;
}
.bgm-toggle.is-on .bgm-toggle__bars i:nth-child(1) { height: 45%; animation-delay: 0s; }
.bgm-toggle.is-on .bgm-toggle__bars i:nth-child(2) { height: 90%; animation-delay: .12s; }
.bgm-toggle.is-on .bgm-toggle__bars i:nth-child(3) { height: 60%; animation-delay: .24s; }
.bgm-toggle.is-on .bgm-toggle__bars i:nth-child(4) { height: 75%; animation-delay: .36s; }
@keyframes bgmBar {
  0%, 100% { transform: scaleY(.45); }
  50% { transform: scaleY(1); }
}
.bgm-toggle__state { min-width: 22px; opacity: .9; }
@media (max-width: 720px) {
  .bgm-toggle { padding: 5px 9px; gap: 6px; }
  .bgm-toggle__label { display: none; }
}


/* Video hero (Arkone-like moving clouds) */
.hero--video .hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #0b0f19;
}
.hero__video,
.hero__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
}
.hero__poster { z-index: 1; }
.hero__video { z-index: 2; opacity: 0; transition: opacity .8s ease; }
.hero.is-ready .hero__video { opacity: 1; }
.hero.is-ready .hero__poster { opacity: 0; transition: opacity .8s ease; }
.hero__overlay.is-off {
  background: linear-gradient(180deg, rgba(2,6,17,0) 40%, rgba(2,6,17,.14) 72%, rgba(2,6,17,.5) 100%),
              linear-gradient(90deg, rgba(2,6,17,.55) 0%, rgba(2,6,17,.22) 48%, rgba(2,6,17,.08) 100%);
}
.hero.is-loading .hero__kicker,
.hero.is-loading .hero__title,
.hero.is-loading .hero__note { opacity: 0; }
.hero.is-ready .hero__kicker { animation: heroInUp .9s cubic-bezier(.2,.9,.2,1) .2s both; }
.hero.is-ready .hero__title { animation: heroInUp 1.05s cubic-bezier(.18,.8,.2,1) .45s both; }
.hero.is-ready .hero__note { animation: heroInLeft .9s ease-out .85s both; }
@keyframes heroInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes heroInLeft {
  0% { opacity: 0; transform: translateX(-36px); }
  100% { opacity: 1; transform: translateX(0); }
}
.hero__official-title { color: #fff; font-weight: 900; }
@media (min-width: 1025px) {
  .hero--video .hero__content { transform: translateY(-120px); }
}


.hero__official {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 0;
  max-width: 620px;
  color: rgba(255,255,255,.88);
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 500;
  line-height: 1.6;
  text-shadow: 0 8px 18px rgba(0,0,0,.36);
  order: 3;
}
.hero__official::before {
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  flex: 0 0 42px;
  background: rgba(255,255,255,.62);
}
.hero__kicker { order: 1; }
.hero__title { order: 2; }
.hero.is-loading .hero__official { opacity: 0; }
.hero.is-ready .hero__official { animation: heroInLeft .9s ease-out .85s both; }
@media (max-width: 767px) {
  .hero--video { min-height: 100svh; }
  .hero__video, .hero__poster { object-fit: cover; object-position: 50% 45%; }
  .hero--video .hero__content {
    justify-content: flex-end;
    padding: 120px 20px calc(110px + env(safe-area-inset-bottom));
    transform: none !important;
  }
  .hero__title { font-size: clamp(34px, 9vw, 46px); }
}
