/* NEON PRECINCT — 회사 홈페이지
   도트 효과 하나로 승부한다. 스캔라인 · 비네트 · 자석 단추 · 글자 올라오기는 넣지 않는다 (BRIEF 3절). */

:root {
  --ground: #07080C;
  --text:   #E9EDF5;
  --soft:   #BCC4D2;
  --dim:    #8A93A6;
  --line:   #1C2130;
  --edge:   #39425A;
  --tool:   #5EEAD4;
  --sword:  #FF8A3C;
  --chef:   #F472B6;
  --gutter: 28px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: 'Noto Sans KR', system-ui, -apple-system, sans-serif;
}
html[lang="ja"] body { font-family: 'Noto Sans JP', system-ui, -apple-system, sans-serif; }
body.locked { overflow: hidden; }
a { color: var(--tool); }
:focus-visible { outline: 2px solid var(--tool); outline-offset: 3px; }

.skip {
  position: fixed; top: 8px; left: 8px; z-index: 10; padding: 10px 16px;
  background: var(--text); color: var(--ground); font-size: 14px;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 배경 — 그림이 깔리고 커서 자리가 도트로 떠오른다 */
#dots { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
#veil {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  transition: opacity .25s ease;
  background: linear-gradient(90deg,
    rgba(7,8,12,.92) 0%, rgba(7,8,12,.70) 42%, rgba(7,8,12,.16) 100%);
}
#page { position: relative; z-index: 2; transition: opacity .28s ease; }

/* 머리 — 이름 · 안내 · 언어 */
header.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px var(--gutter); pointer-events: none;
}
.mark { font-family: Anton, sans-serif; font-size: 20px; letter-spacing: .14em;
        color: var(--text); text-decoration: none; pointer-events: auto; }
.hint { margin-left: auto; font-size: 12px; letter-spacing: .06em; color: var(--dim); }
.langs { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; pointer-events: auto; }
.langs a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; min-height: 36px; padding: 0 8px;
  font-size: 12px; letter-spacing: .08em; color: var(--dim); text-decoration: none;
}
.langs a:hover { color: var(--text); }
.langs a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -1px 0 var(--text); }
@media (hover: none) { .hint { display: none; } }

/* 본문 */
section { min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
          padding: 100px var(--gutter); }
section.hero { flex-direction: column; justify-content: center; align-items: stretch;
               padding: 120px var(--gutter) 80px; max-width: 1180px; margin: 0 auto; }
.inner { max-width: 1180px; width: 100%; margin: 0 auto; }
.col { max-width: 540px; }

.eyebrow { margin: 0 0 14px; font-size: 12px; letter-spacing: .22em; }
h1 { margin: 0; font-family: Anton, sans-serif; font-weight: 400; font-size: clamp(52px, 11vw, 148px);
     line-height: .92; color: #fff; }
h2 { margin: 0; font-family: Anton, sans-serif; font-weight: 400; font-size: clamp(38px, 6.4vw, 76px);
     line-height: 1.02; color: #fff; }
h3 { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--dim); }
.lead { margin: 28px 0 0; max-width: 520px; font-size: 17px; line-height: 1.85; color: var(--soft); }
.body { margin: 22px 0 0; font-size: 16px; line-height: 1.85; color: var(--soft); }
.meta { margin: 18px 0 0; font-size: 13px; line-height: 1.8; color: var(--dim); }
.down { margin-top: 40px; letter-spacing: .1em; text-decoration: none; color: var(--dim); align-self: flex-start; }

[data-accent="tool"]  { --accent: var(--tool); }
[data-accent="sword"] { --accent: var(--sword); }
[data-accent="chef"]  { --accent: var(--chef); }
.eyebrow.accent { color: var(--accent); }

/* 단추 */
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px;
  font: inherit; font-size: 15px; text-decoration: none; cursor: pointer;
  background: transparent; border: 1px solid var(--edge); color: var(--text);
}
.btn.solid { font-weight: 700; color: var(--ground); background: var(--accent, var(--tool)); border-color: transparent; }
.btn.ghost:hover { border-color: var(--soft); }
.btn.solid:hover { filter: brightness(1.08); }
.btn[aria-disabled="true"] {
  cursor: default; color: var(--dim); background: transparent; border: 1px dashed var(--edge);
  font-weight: 400; filter: none;
}
.btn .ext { font-size: 12px; opacity: .8; }

/* 꼬리 */
footer { padding: 64px var(--gutter) 80px; max-width: 1180px; margin: 0 auto; border-top: 1px solid var(--line); }
footer p { margin: 0 0 8px; font-size: 13px; line-height: 1.8; color: var(--dim); }
footer a { color: var(--soft); }

/* 제품 상세 — 버튼을 누르면 도트로 빨려든 뒤 이 화면이 뜬다 */
#detail {
  position: fixed; inset: 0; z-index: 4; display: none;
  overflow-y: auto; overscroll-behavior: contain;
  transition: opacity .3s ease;
  background: linear-gradient(90deg, rgba(7,8,12,.94) 0%, rgba(7,8,12,.82) 55%, rgba(7,8,12,.5) 100%);
}
#detail.on { display: block; }
/* 스크립트가 없으면 상세를 본문 아래에 그대로 펼친다 */
html:not(.js) #detail { display: block; position: static; background: none; }
html:not(.js) #detail article { display: block; }
html:not(.js) .back { display: none; }
#detail article { display: none; max-width: 1180px; margin: 0 auto; padding: 96px var(--gutter) 80px; }
#detail article.on { display: block; }
#detail h2:focus { outline: none; }
.back { margin-bottom: 40px; }

.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; margin-top: 44px; }
.facts { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px;
         font-size: 14px; line-height: 1.7; }
.facts dt { color: var(--dim); }
.facts dd { margin: 0; color: var(--soft); }
.points { margin: 0; padding: 0; list-style: none; }
.points li { position: relative; padding: 0 0 12px 20px; font-size: 15px; line-height: 1.75; color: var(--soft); }
.points li::before { content: ''; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; background: var(--accent); }

.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 44px 0 0; padding: 0; list-style: none; }
.shots li {
  aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; padding: 8px;
  border: 1px dashed var(--edge); background: rgba(7,8,12,.55);
  font-size: 12px; color: var(--dim); text-align: center;
}
.shots img { width: 100%; height: 100%; object-fit: cover; }

/* 폰 — 글이 화면 전체를 쓰므로 가림막을 위아래로 짙게 */
@media (max-width: 720px) {
  :root { --gutter: 20px; }
  #veil { background: linear-gradient(180deg, rgba(7,8,12,.55) 0%, rgba(7,8,12,.82) 45%, rgba(7,8,12,.9) 100%); }
  #detail { background: rgba(7,8,12,.88); }
  header.top { padding-top: 14px; padding-bottom: 14px; background: linear-gradient(180deg, rgba(7,8,12,.85), rgba(7,8,12,0)); }
  .mark { font-size: 17px; }
  section { padding-top: 88px; padding-bottom: 88px; }
  .lead { font-size: 16px; }
  .ctas .btn { flex: 1 1 100%; }
  .cols { grid-template-columns: 1fr; gap: 36px; }
  .shots { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #veil, #page, #detail { transition: none; }
}
