/* ══════════════════════════════════════════════════════════════
   nutunion network — 홈 (index.html)
   데스크톱 ≥1024px : 라임·회색·검정·흰 면 + 1px 검은 선 편집 그리드
   모바일   <768px  : 차콜 다크 배경 위 둥근 카드(라임 카드 강조), 하단 탭 바
   토큰·공통 컴포넌트: nu.css
   ══════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.hm {
  margin: 0; background: var(--nu-grey); color: var(--nu-black);
  font: 400 var(--nu-fs-16)/1.6 var(--nu-font); -webkit-font-smoothing: antialiased; word-break: keep-all;
}
.hm img { max-width: 100%; display: block; }
.hm a:not(.nu-btn) { color: inherit; }
.hm h1, .hm h2, .hm h3, .hm p, .hm ol, .hm ul { margin: 0; }

.hm .da-nav-auth-btn {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px;
  background: var(--nu-volt); color: var(--nu-black) !important; font: 700 14px/1 var(--nu-font); box-shadow: none;
}
/* 상단 바(nu.css)가 라임 바탕을 쓰므로 글자는 항상 검정 — 라임 위 흰 글자 금지 */
.hm .da-nav-auth-btn:hover { transform: none; box-shadow: none; filter: brightness(1.05); }

/* ── 히어로 ── */
.hm-hero__grid { display: grid; grid-template-columns: 1.12fr 1fr; }
.hm-hero__brand {
  padding: 28px 32px 32px; border-right: 1px solid var(--nu-black); border-bottom: 1px solid var(--nu-black);
  font-size: clamp(4rem, 7.4vw, 7.6rem);
}
.hm-hero__intro {
  padding: 28px 32px; border-bottom: 1px solid var(--nu-black);
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
}
.hm-hero__intro p:last-child { max-width: 30ch; font-size: var(--nu-fs-16); line-height: 1.6; font-weight: 500; }
.hm-hero__copy {
  padding: 48px 32px 44px; border-right: 1px solid var(--nu-black);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 32px;
}
.hm-hero__title { font-weight: 800; font-size: clamp(2.5rem, 4.4vw, 4.2rem); line-height: 1.1; letter-spacing: -.035em; }
.hm-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hm-hero__host { font-size: var(--nu-fs-14); font-weight: 600; text-decoration: none; opacity: .8; }
.hm-hero__host:hover { opacity: 1; }
.hm-hero__visual {
  display: flex; align-items: flex-end; justify-content: center; gap: 22px; padding: 44px 24px 0; overflow: hidden;
}

/* 폰 목업 */
.hm-phone {
  flex-shrink: 0; width: 238px; height: 488px; padding: 8px; border-radius: 40px; background: #0A0A0B;
  box-shadow: 0 24px 50px rgba(0,0,0,.22); margin-bottom: -60px;
}
.hm-phone--volt { transform: translateY(-36px); }
.hm-phone__screen {
  position: relative; height: 100%; border-radius: 32px; overflow: hidden; padding: 14px 14px 16px;
  display: flex; flex-direction: column; gap: 9px;
}
.hm-phone--dark .hm-phone__screen { background: #18191C; color: var(--nu-text); }
.hm-phone--volt .hm-phone__screen { background: var(--nu-volt); color: var(--nu-black); }
.hm-phone__status { display: flex; align-items: center; justify-content: space-between; font: 700 11px/1 var(--nu-font); margin-bottom: 4px; }
.hm-phone__status i { width: 64px; height: 20px; border-radius: 999px; background: #0A0A0B; }
.hm-phone--dark .hm-phone__status i { background: #000; }
.hm-ui-label { font: 600 10px/1 var(--nu-display); font-stretch: 112%; letter-spacing: .1em; text-transform: uppercase; color: var(--nu-volt); }
.hm-ui-title { font-size: 17px; font-weight: 800; line-height: 1.25; letter-spacing: -.02em; margin-bottom: 4px; }
.hm-ui-opt {
  position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center;
  padding: 11px 12px; border-radius: 14px; background: #26272B; font-size: 12.5px; font-weight: 600; border: 1.5px solid transparent;
}
.hm-ui-opt span, .hm-ui-opt b { position: relative; }
.hm-ui-opt b { font-family: var(--nu-display); font-weight: 700; color: var(--nu-sub); }
.hm-ui-opt i { position: absolute; inset: 0 auto 0 0; background: rgba(212,250,60,.14); }
.hm-ui-opt.is-on { border-color: var(--nu-volt); }
.hm-ui-opt.is-on b { color: var(--nu-volt); }
.hm-ui-q { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 14px; background: #26272B; font-size: 11.5px; line-height: 1.35; }
.hm-ui-q__up {
  flex-shrink: 0; width: 38px; padding: 6px 0; border-radius: 10px; background: var(--nu-volt); color: var(--nu-black);
  display: flex; flex-direction: column; align-items: center; font-size: 9px; font-weight: 800;
}
.hm-ui-q__up b { font-size: 12px; }
.hm-ui-tabbar {
  margin-top: auto; height: 46px; border-radius: 16px; background: #222327;
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; justify-items: center;
}
.hm-ui-tabbar i { width: 16px; height: 16px; border-radius: 5px; background: #3A3B40; }
.hm-ui-tabbar b { width: 34px; height: 34px; border-radius: 50%; background: var(--nu-volt); color: var(--nu-black); display: grid; place-items: center; font-size: 20px; }
.hm-ui-head { display: flex; justify-content: space-between; font: 700 10px/1 var(--nu-display); font-stretch: 112%; text-transform: uppercase; letter-spacing: .08em; padding-bottom: 8px; border-bottom: 1.5px solid var(--nu-black); }
.hm-ui-big { font: 850 46px/.88 var(--nu-display); font-stretch: 125%; text-transform: uppercase; letter-spacing: -.02em; margin: 10px 0 6px; }
.hm-ui-ticket { margin-top: auto; background: var(--nu-black); color: var(--nu-white); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.hm-ui-ticket__name { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.hm-ui-ticket__role { font-size: 11px; color: var(--nu-sub); }
.hm-ui-ticket hr { border: 0; border-top: 1px solid #3A3B40; margin: 2px 0; width: 100%; }
.hm-ui-ticket__row { display: flex; justify-content: space-between; font: 700 10px/1 var(--nu-display); font-stretch: 112%; text-transform: uppercase; letter-spacing: .06em; color: var(--nu-volt); }
.hm-ui-ticket__bars { height: 34px; margin-top: 4px; background: repeating-linear-gradient(90deg, var(--nu-volt) 0 2px, transparent 2px 4px, var(--nu-volt) 4px 7px, transparent 7px 9px, var(--nu-volt) 9px 10px, transparent 10px 13px); }

.hm-foot-icon { width: 20px; height: 20px; border-radius: 5px; }
.hm-foot-mark { width: auto; height: 20px; }
.hm .nu-panel__foot a { text-decoration: none; font-weight: 700; }
.hm .nu-panel__foot a:hover { text-decoration: underline; }

/* ── 핵심 기능 3면 ── */
.hm-feats { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--nu-black); }
.hm-feat { display: flex; flex-direction: column; border-bottom: 0; border-right: 1px solid var(--nu-black); }
.hm-feat:last-child { border-right: 0; }
.hm-feat__head { padding: 28px 28px 24px; border-bottom: 1px solid currentColor; display: flex; flex-direction: column; gap: 18px; }
.nu-panel--black .hm-feat__head { border-bottom-color: #2E2E31; }
.hm-feat__en { font-size: clamp(2.6rem, 3.5vw, 3.8rem); }
.hm-feat__desc { font-size: var(--nu-fs-14); line-height: 1.6; max-width: 36ch; }
.nu-panel--black .hm-feat__desc { color: var(--nu-sub); }
.hm-feat__body { flex: 1; padding: 32px 28px 32px; display: flex; flex-direction: column; gap: 22px; }
.hm-feat__ko { font-size: var(--nu-fs-31); font-weight: 800; line-height: 1.15; letter-spacing: -.035em; }
.hm-feat__list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: var(--nu-fs-16); font-weight: 500; }
.hm-feat__list li { display: flex; gap: 12px; align-items: baseline; }
.hm-feat__list li::before { content: ''; flex-shrink: 0; width: 8px; height: 8px; background: currentColor; transform: translateY(-2px); }
.nu-panel--black .hm-feat__list li::before { background: var(--nu-volt); }
.hm-feat__ticket { margin-top: auto; max-width: 340px; }
.hm-live { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.hm-live__row { display: flex; justify-content: space-between; font-size: var(--nu-fs-14); font-weight: 600; }
.hm-live__row b { font-family: var(--nu-display); color: var(--nu-volt); }
.hm-live__q { margin-top: 8px; }
.hm-live .nu-bar { background: #2B2C31; }
.hm-score { margin-top: auto; display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; align-items: center; }
.hm-score__num { font: 300 5.6rem/.9 var(--nu-display); font-stretch: 125%; letter-spacing: -.03em; }
.hm-score__bars { display: flex; flex-direction: column; gap: 6px; }
.hm-score__bars div { display: grid; grid-template-columns: 12px 1fr; gap: 8px; align-items: center; font: 600 11px/1 var(--nu-display); }
.hm-score__bars i { display: block; height: 4px; border-radius: 4px; background: var(--nu-black); box-shadow: 0 0 0 0 transparent; }
.hm-score__bars div { background-image: linear-gradient(rgba(0,0,0,.12), rgba(0,0,0,.12)); background-size: calc(100% - 20px) 4px; background-position: right center; background-repeat: no-repeat; }
.hm-score__meta { grid-column: 1 / -1; font-size: var(--nu-fs-14); font-weight: 600; }

/* ── 행사 하루 ── */
.hm-day__head { display: grid; grid-template-columns: 1.12fr 1fr; border-bottom: 1px solid #2E2E31; }
.hm-day__en { padding: 28px 32px 32px; border-right: 1px solid #2E2E31; font-size: clamp(3.4rem, 6vw, 6rem); }
.hm-day__desc { padding: 28px 32px; align-self: end; color: var(--nu-sub); font-size: var(--nu-fs-16); max-width: 40ch; }
.hm-day__steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.hm-day__steps li { padding: 32px 28px 28px; border-right: 1px solid #2E2E31; display: flex; flex-direction: column; gap: 10px; }
.hm-day__steps li:last-child { border-right: 0; }
.hm-day__time { font: 300 3rem/1 var(--nu-display); font-stretch: 125%; color: var(--nu-volt); letter-spacing: -.02em; }
.hm-day__steps b { font-size: var(--nu-fs-20); font-weight: 800; letter-spacing: -.02em; margin-top: 8px; }
.hm-day__steps p { font-size: var(--nu-fs-14); color: var(--nu-sub); line-height: 1.6; }
.hm-day__track { height: 4px; margin: 0 28px 32px; background: #2B2C31; border-radius: 4px; overflow: hidden; }
.hm-day__track i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--nu-volt) 0 24%, transparent 24% 25.3%, var(--nu-volt) 25.3% 49%, transparent 49% 50.6%, var(--nu-volt) 50.6% 74%, transparent 74% 75.6%, var(--nu-volt) 75.6%); }

/* ── 다가오는 행사 ── */
.hm-events__head { display: grid; grid-template-columns: 1.12fr 1fr; border-bottom: 1px solid var(--nu-black); }
.hm-events__en { padding: 28px 32px 32px; border-right: 1px solid var(--nu-black); font-size: clamp(3.4rem, 6vw, 6rem); }
.hm-events__desc { padding: 28px 32px; align-self: end; font-size: var(--nu-fs-16); color: var(--nu-on-light-sub); max-width: 40ch; }
.hm-events__list { display: flex; flex-direction: column; }
.hm-event {
  display: grid; grid-template-columns: 140px 1fr auto; align-items: center; gap: 24px;
  padding: 22px 32px; border-bottom: 1px solid var(--nu-black);
}
.hm-event:last-child { border-bottom: 0; }
.hm-event__date { display: flex; flex-direction: column; gap: 4px; }
.hm-event__date span { font: 600 var(--nu-fs-12)/1 var(--nu-display); font-stretch: 112%; text-transform: uppercase; letter-spacing: .1em; }
.hm-event__date b { font: 800 2.6rem/1 var(--nu-display); font-stretch: 125%; letter-spacing: -.02em; }
.hm-event__title { font-size: var(--nu-fs-20); font-weight: 800; letter-spacing: -.02em; line-height: 1.3; }
.hm-event__meta { margin-top: 6px; font-size: var(--nu-fs-14); color: var(--nu-on-light-sub); }
.hm-events__empty { padding: 36px 32px; font-size: var(--nu-fs-16); color: var(--nu-on-light-sub); }

/* ── 시작 ── */
.hm-cta { display: grid; grid-template-columns: 1.12fr 1fr; border-bottom: 0; }
.hm-cta__en { padding: 32px; border-right: 1px solid var(--nu-black); font-size: clamp(5rem, 11vw, 11rem); }
.hm-cta__copy { padding: 32px; display: flex; flex-direction: column; justify-content: flex-end; gap: 24px; }
.hm-cta__title { font-size: clamp(2rem, 3.2vw, 3rem); font-weight: 800; line-height: 1.12; letter-spacing: -.035em; }
.hm-cta__copy > p { font-size: var(--nu-fs-16); font-weight: 500; max-width: 38ch; }

/* ── 푸터 ── */
.hm-foot {
  background: var(--nu-black); color: var(--nu-white); padding: 48px 32px 40px;
  display: grid; grid-template-columns: 1fr 2fr auto; gap: 32px; align-items: start;
}
.hm-foot__brand img { width: 92px; height: auto; margin-bottom: 14px; }
.hm-foot__brand p { font: 400 var(--nu-fs-14)/1.4 var(--nu-display); font-stretch: 112%; color: var(--nu-sub); }
.hm-foot__links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.hm-foot__links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--nu-text); }
.hm-foot__links a:hover { color: var(--nu-volt); }
.hm-foot__copy { font-size: var(--nu-fs-14); color: var(--nu-sub); }
.hm-foot__copy a { color: var(--nu-text); }

.hm a:focus-visible, .hm button:focus-visible { outline: 3px solid var(--nu-black); outline-offset: 3px; }
.nu-panel--black a:focus-visible { outline-color: var(--nu-volt); }

/* ── 태블릿 ── */
@media (max-width: 1023px) {
  .hm-hero__grid { grid-template-columns: 1fr; }
  .hm-hero__brand, .hm-hero__copy { border-right: 0; }
  .hm-hero__copy { border-bottom: 1px solid var(--nu-black); }
  .hm-hero__visual { padding-top: 40px; }
  .hm-feats { grid-template-columns: 1fr; }
  .hm-feat { border-right: 0; border-bottom: 1px solid var(--nu-black); }
  .hm-day__head, .hm-events__head, .hm-cta { grid-template-columns: 1fr; }
  .hm-day__en, .hm-events__en, .hm-cta__en { border-right: 0; }
  .hm-day__steps { grid-template-columns: repeat(2, 1fr); }
  .hm-day__steps li:nth-child(2) { border-right: 0; }
  .hm-day__steps li:nth-child(-n+2) { border-bottom: 1px solid #2E2E31; }
  .hm-day__track { display: none; }
  .hm-foot { grid-template-columns: 1fr; }
}

/* ── 모바일: 차콜 다크 + 둥근 카드 ── */
@media (max-width: 767px) {
  body.hm { background: var(--nu-ink); color: var(--nu-text); font-size: var(--nu-fs-16); }
  .nu-sheet { background: var(--nu-ink); padding: 4px 12px 12px; display: flex; flex-direction: column; gap: 12px; }
  .hm .da-nav-auth-btn { background: var(--nu-volt); color: var(--nu-black) !important; min-height: 38px; }

  .nu-panel { border: 0 !important; border-radius: var(--nu-r-card); overflow: hidden; }
  .nu-panel--grey, .nu-panel--black, .nu-panel--white { background: var(--nu-card); color: var(--nu-text); }
  .nu-panel__foot { display: none; }

  .nu-display { font-stretch: 112%; }
  .hm-hero__brand { border: 0; padding: 22px 22px 0; font-size: 11vw; }
  .hm-hero__intro { border: 0; padding: 14px 22px 0; gap: 8px; }
  .hm-hero__intro .nu-label { order: -1; }
  .hm-hero__copy { border: 0 !important; padding: 26px 22px 24px; gap: 24px; }
  .hm-hero__title { font-size: 2.15rem; }
  .hm-hero__cta { flex-direction: column; }
  .hm-hero__cta .nu-btn { width: 100%; }
  .hm-hero__visual { display: none; }

  .hm-feats { display: flex; flex-direction: column; gap: 12px; border: 0; }
  .hm-feat__head { border: 0; padding: 24px 22px 0; gap: 12px; }
  .hm-feat__en { font-size: 9vw; }
  .nu-panel--grey .hm-feat__desc, .nu-panel--black .hm-feat__desc { color: var(--nu-sub); }
  .hm-feat__body { padding: 22px 22px 24px; gap: 18px; }
  .hm-feat__ko { font-size: var(--nu-fs-25); }
  .nu-panel--grey .hm-feat__list li::before { background: var(--nu-volt); }
  .hm-feat__ticket { max-width: none; }

  .hm-day__head { border: 0; }
  .hm-day__en { border: 0; padding: 24px 22px 0; font-size: 11vw; }
  .hm-day__desc { padding: 12px 22px 0; }
  .hm-day__steps { grid-template-columns: 1fr; padding: 16px 12px 12px; gap: 8px; }
  .hm-day__steps li { border: 0 !important; border-radius: var(--nu-r-row); background: var(--nu-card-2); padding: 16px 18px; gap: 4px; }
  .hm-day__time { font-size: 1.8rem; }
  .hm-day__steps b { margin-top: 4px; font-size: var(--nu-fs-18); }

  .hm-events__head { border: 0; }
  .hm-events__en { border: 0; padding: 24px 22px 0; font-size: 11vw; }
  .hm-events__desc { padding: 12px 22px 0; color: var(--nu-sub); }
  .hm-events__list { padding: 16px 12px 12px; gap: 8px; }
  .hm-event { grid-template-columns: 64px 1fr; gap: 14px; padding: 16px; border: 0 !important; border-radius: var(--nu-r-row); background: var(--nu-card-2); }
  .hm-event__date b { font-size: 1.8rem; color: var(--nu-volt); }
  .hm-event__meta { color: var(--nu-sub); }
  .hm-event .nu-btn { grid-column: 1 / -1; width: 100%; background: var(--nu-volt); color: var(--nu-black); }
  .hm-events__empty { padding: 20px 10px; color: var(--nu-sub); }

  .hm-cta__en { border: 0; padding: 24px 22px 0; font-size: 17vw; }
  .hm-cta__copy { padding: 18px 22px 24px; }
  .hm-cta__title { font-size: 1.9rem; }

  .hm-foot { background: var(--nu-ink); padding: 32px 24px 120px; gap: 22px; }
  .hm-foot__links a { font-size: var(--nu-fs-14); }
}
