/* 둥근쇠 주물 — N22 이미지 연속 재생형. 무쇠 먹색 + 재색 종이 + 쇳물 주황 한 점 */
:root {
  --iron: #141517;
  --iron-2: #1F2124;
  --ash: #ECE9E3;
  --ash-2: #DAD5CC;
  --ink: #1B1C1E;
  --mute: #5E5B56;
  --ember: #C9572A;
  --line: rgba(27, 28, 30, .16);
  --head: 56px;
  --sans: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
  --disp: 'Orbit', 'Noto Sans KR', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--head); }
body { margin: 0; background: var(--ash); color: var(--ink); font: 400 16px/1.75 var(--sans); word-break: keep-all; overflow-wrap: break-word; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2 { font-family: var(--disp); font-weight: 400; letter-spacing: -0.02em; word-spacing: -0.18em; line-height: 1.25; margin: 0; }
h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 18px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 40px; }
.eyebrow { margin: 0 0 10px; font: 700 13px/1 var(--sans); letter-spacing: .06em; color: var(--ember); text-transform: uppercase; }
.note { margin: 10px 0 0; font-size: 13.5px; color: var(--mute); }

/* 상단 헤더 */
.top { position: sticky; top: 0; z-index: 50; height: var(--head); display: flex; align-items: center; gap: 28px; padding: 0 28px; background: var(--iron); color: var(--ash); border-bottom: 1px solid rgba(236,233,227,.1); }
.top__name { font: 400 21px/1 var(--disp); text-decoration: none; display: flex; align-items: baseline; gap: 6px; }
.top__name small { font: 500 12px/1 var(--sans); color: #9C978F; }
.top__nav { display: flex; gap: 22px; margin-left: auto; font-size: 14px; }
.top__nav a { text-decoration: none; color: #BDB8AF; }
.top__nav a:hover { color: var(--ash); }
.top__tel { font: 600 14px/1 var(--mono); text-decoration: none; padding: 9px 14px; border: 1px solid var(--ember); border-radius: 2px; color: var(--ash); }
.top__tel:hover { background: var(--ember); }

/* ===== N22 재생 무대 ===== */
.play { position: relative; height: 560vh; background: var(--iron); color: var(--ash); }
.play__stage { position: sticky; top: var(--head); height: calc(100vh - var(--head) - 46px); overflow: hidden; }
.play__frames { position: absolute; inset: 0; }
.play__f { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; will-change: opacity, transform; }
.play__f:first-child { opacity: 1; }
.play__stage::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(20,21,23,.78) 0%, rgba(20,21,23,0) 38%, rgba(20,21,23,0) 62%, rgba(20,21,23,.7) 100%), linear-gradient(0deg, rgba(20,21,23,.85) 0, rgba(20,21,23,0) 22%); }
.play__title { position: absolute; z-index: 2; left: 48px; top: 48px; max-width: 420px; transition: opacity .3s; }
.play__kicker { margin: 0 0 16px; font: 700 13px/1 var(--sans); letter-spacing: .06em; color: var(--ember); }
.play h1 { font-size: clamp(34px, 4.2vw, 56px); }
.play__hint { margin: 18px 0 0; font-size: 15px; color: #BDB8AF; max-width: 300px; }
.play__notes { position: absolute; z-index: 2; right: 48px; top: 50%; width: 300px; margin: 0; padding: 0; list-style: none; transform: translateY(-50%); }
.play__notes li { position: absolute; top: 0; left: 0; right: 0; transform: translateY(-50%) translateY(calc(var(--d, 1) * 24px)); opacity: 0; font-size: 16px; line-height: 1.7; color: #D9D4CB; padding-left: 16px; border-left: 2px solid var(--ember); }
.play__notes b { display: block; margin-bottom: 6px; font: 700 14px/1 var(--sans); letter-spacing: .02em; color: var(--ash); }
.play__rail { position: absolute; z-index: 2; left: 48px; right: 140px; bottom: 32px; display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; align-items: center; font-family: var(--mono); }
.play__count { font-size: 13px; color: #9C978F; }
.play__count b { font-size: 22px; font-weight: 600; color: var(--ash); }
.play__bar { position: relative; height: 2px; background: rgba(236,233,227,.18); }
.play__bar i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p, 0) * 100%); background: var(--ember); }
.play__labels { grid-column: 2; display: grid; grid-template-columns: repeat(6, 1fr); font: 500 12px/1.3 var(--sans); color: #8A857D; }
.play__labels em { font-style: normal; }
.play__labels em.on { color: var(--ash); }

/* 사양 */
.spec { padding: 110px 0 90px; }
.spec__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.spec__lead { margin: 0 0 26px; color: var(--mute); max-width: 420px; }
.price { margin: 0 0 26px; font: 400 18px/1 var(--sans); }
.price span { font: 600 44px/1 var(--mono); letter-spacing: -0.03em; }
.price small { display: block; margin-top: 10px; font-size: 13px; color: var(--mute); }
.spec__cta, .trade__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 2px; font-size: 15px; font-weight: 500; text-decoration: none; background: transparent; }
.btn:hover { background: var(--ink); color: var(--ash); }
.btn--fill { background: var(--ember); border-color: var(--ember); color: #fff; }
.btn--fill:hover { background: var(--iron); border-color: var(--iron); }
.spec__table, .trade__table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec__table caption { caption-side: top; text-align: left; padding-bottom: 12px; font: 600 13px/1 var(--sans); color: var(--mute); }
.spec__table th, .spec__table td { padding: 14px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec__table tr:last-child th, .spec__table tr:last-child td { border-bottom: 1px solid var(--line); }
.spec__table th { width: 30%; font-weight: 500; color: var(--mute); }
.spec__table td { font-variant-numeric: tabular-nums; }

/* 관리 */
.care { background: var(--ash-2); padding: 72px 0; }
.care__in { display: grid; grid-template-columns: 260px 1fr; gap: 40px; }
.care__list { margin: 0; padding: 0; list-style: none; counter-reset: c; }
.care__list li { counter-increment: c; position: relative; padding: 0 0 20px 48px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.care__list li:last-child { margin-bottom: 0; border-bottom: 0; padding-bottom: 0; }
.care__list li::before { content: counter(c, decimal-leading-zero); position: absolute; left: 0; top: 2px; font: 600 14px/1.6 var(--mono); color: var(--ember); }
.care__list b { display: block; font-weight: 700; }

/* 납품 */
.trade { padding: 96px 0; background: var(--iron); color: var(--ash); }
.trade__lead { max-width: 600px; margin: 0 0 32px; color: #BDB8AF; }
.trade__table th, .trade__table td { padding: 16px 12px 16px 0; text-align: left; border-bottom: 1px solid rgba(236,233,227,.14); }
.trade__table thead th { font: 600 13px/1 var(--sans); color: #8A857D; }
.trade__table td:nth-child(2), .trade__table td:nth-child(3) { font-variant-numeric: tabular-nums; }
.trade .note { color: #8A857D; margin-bottom: 28px; }
.trade .btn { border-color: rgba(236,233,227,.5); color: var(--ash); }
.trade .btn:hover { background: var(--ash); color: var(--ink); }
.trade .btn--fill { border-color: var(--ember); }

/* 소식 */
.news { padding: 80px 0; }
.news__in { display: grid; grid-template-columns: 260px 1fr; gap: 40px; }
.news__list { margin: 0; padding: 0; list-style: none; }
.news__list li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.news__list time { font: 400 13.5px/1.9 var(--mono); color: var(--mute); }

/* 오시는 길 */
.visit { padding: 80px 0 100px; border-top: 1px solid var(--line); }
.visit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; }
.visit address { font-style: normal; margin-bottom: 20px; }
.hours { margin: 0; }
.hours div { display: grid; grid-template-columns: 96px 1fr; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hours dt { color: var(--mute); }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.visit__note { grid-column: 1 / -1; margin: 8px 0 0; padding: 14px 16px; background: var(--ash-2); font-size: 14.5px; }

.foot { padding: 40px 0 48px; background: var(--iron); color: #8A857D; font-size: 13px; line-height: 1.8; }
.foot p { margin: 0; }
.foot__name { font: 400 18px/1 var(--disp) !important; color: var(--ash); margin-bottom: 14px !important; }

/* 퀵메뉴 — PC 오른쪽 세로 */
.quick { position: fixed; z-index: 60; right: 16px; bottom: 24px; display: flex; flex-direction: column; gap: 1px; background: rgba(236,233,227,.2); border: 1px solid rgba(236,233,227,.2); }
.quick a { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 92px; padding: 10px 4px; background: var(--iron); color: var(--ash); text-decoration: none; text-align: center; }
.quick a:first-child { background: var(--ember); }
.quick b { font-size: 13.5px; font-weight: 700; }
.quick span { font: 400 11px/1.3 var(--sans); color: rgba(236,233,227,.75); margin-top: 3px; }

/* ===== 정지 화면: 움직임 줄이기·데이터 절약 ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .play { height: auto !important; }
  .play__stage { position: static; height: auto !important; display: grid; padding: 32px 0 40px; }
  .play__stage::after, .play__rail { display: none; }
  .play__frames { position: static; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; order: 2; }
  .play__f { position: static; opacity: 1 !important; transform: none !important; height: auto; aspect-ratio: 3 / 2; }
  .play__title { position: static; order: 1; padding: 0 40px 28px; max-width: none; opacity: 1 !important; }
  .play__notes { position: static; order: 3; width: auto; transform: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 28px 140px 0 40px; }
  .play__notes li { position: static; opacity: 1 !important; transform: none !important; }
}
.is-static .play { height: auto; }
.is-static .play__stage { position: static; height: auto; display: grid; padding: 32px 0 40px; }
.is-static .play__stage::after, .is-static .play__rail { display: none; }
.is-static .play__frames { position: static; display: block; order: 2; }
.is-static .play__f { position: static; opacity: 1; width: 100%; height: auto; max-height: 70vh; aspect-ratio: 3 / 2; }
.is-static .play__title { position: static; order: 1; padding: 0 40px 28px; max-width: none; }
.is-static .play__notes { position: static; order: 3; width: auto; transform: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 28px 140px 0 40px; }
.is-static .play__notes li { position: static; opacity: 1; transform: none; }

/* ===== 모바일 ===== */
@media (max-width: 760px) {
  :root { --head: 52px; }
  .wrap { padding: 0 20px; }
  .top { gap: 12px; padding: 0 16px; }
  .top__nav { display: none; }
  .top__tel { margin-left: auto; font-size: 13px; padding: 8px 10px; }
  .play { height: 380vh; }
  .play__stage { display: flex; flex-direction: column; }
  .play__stage::after { display: none; }
  .play__title { position: relative; left: auto; top: auto; padding: 18px 20px 10px; max-width: none; }
  .play__kicker { margin-bottom: 10px; }
  .play h1 { font-size: 29px; }
  .play__hint { margin-top: 10px; font-size: 14px; max-width: none; }
  .play__frames { position: relative; inset: auto; flex: none; aspect-ratio: 3 / 2; }
  .play__notes { position: relative; right: auto; top: auto; width: auto; transform: none; flex: 1; margin: 8px 20px 12px; min-height: 84px; }
  .play__notes li { transform: translateY(calc(var(--d, 1) * 16px)); font-size: 15px; }
  .play__rail { position: relative; left: auto; right: auto; bottom: auto; flex: none; order: 1; margin: 14px 20px 0; grid-template-columns: auto 1fr; gap: 6px 14px; }
  .play__frames { order: 0; }
  .play__title { order: 2; }
  .play__notes { order: 3; }
  .play__labels { grid-column: 1 / -1; font-size: 10.5px; }
  .play__count b { font-size: 18px; }
  .spec { padding: 64px 0 56px; }
  .spec__grid, .care__in, .news__in, .visit__grid { grid-template-columns: 1fr; gap: 28px; }
  .price span { font-size: 38px; }
  .care, .news { padding: 56px 0; }
  .trade { padding: 64px 0; }
  .trade__table { font-size: 13.5px; }
  .trade__table th:nth-child(4), .trade__table td:nth-child(4) { display: none; }
  .trade__table td:nth-child(2), .trade__table td:nth-child(3) { font-size: 13px; white-space: nowrap; }
  .news__list li { grid-template-columns: 1fr; gap: 2px; }
  .visit { padding: 56px 0 64px; }
  .btn { flex: 1 1 auto; justify-content: center; }
  .foot { padding-bottom: 96px; }
  .quick { left: 0; right: 0; bottom: 0; flex-direction: row; border: 0; border-top: 1px solid rgba(236,233,227,.2); }
  .quick a { flex: 1; width: auto; padding: 9px 4px calc(9px + env(safe-area-inset-bottom)); }
  .is-static .play__notes { grid-template-columns: 1fr; gap: 14px; }
  .is-static .play__title, .is-static .play__notes { padding-left: 20px; padding-right: 20px; }
  .is-static .play__stage { padding-top: 0; }
  .is-static .play__title { order: 1; padding-top: 24px; }
  .is-static .play__frames { order: 2; }
}
@media (prefers-reduced-motion: reduce) { .play__hint { display: none; } }
@media (max-width: 760px) and (max-height: 720px) { .play__hint { display: none; } }
.is-static .play__hint { display: none; }
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .play__frames { grid-template-columns: 1fr 1fr !important; }
  .play__notes { grid-template-columns: 1fr !important; gap: 14px !important; }
  .play__title, .play__notes { padding-left: 20px !important; padding-right: 20px !important; }
  .play__notes { margin: 0; }
  .play__stage { padding-top: 0 !important; }
  .play__title { order: 1 !important; padding-top: 24px !important; }
  .play__frames { order: 2 !important; }
}
