/* NULLY web v3 — dark canvas · neon in symbol colors · Unbounded display + Pretendard body */
:root {
  --bg: #06060b;
  --bg-2: #0c0c14;
  --surface: #12121c;
  --surface-2: #181826;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f3f3f8;
  --muted: #a9a9c2;
  --dim: #7d7d96;
  --blue: #5b8cff;
  --purple: #b57cf2;
  --cyan: #38d1ec;
  --grad: linear-gradient(90deg, var(--blue) 0%, var(--purple) 55%, var(--cyan) 100%);
  --display: 'Unbounded', 'Pretendard Variable', Pretendard, sans-serif;
  --body: 'Pretendard Variable', Pretendard, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
}
.lang-vi { --body: 'Be Vietnam Pro', 'Pretendard Variable', sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); word-break: keep-all; overflow-wrap: break-word;
  font-family: var(--body); font-size: 16px; line-height: 1.7; letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 8px; top: 8px; background: var(--text); color: var(--bg); padding: 8px 12px; z-index: 100; }
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: linear-gradient(180deg, rgba(6, 6, 11, 0.92) 0%, rgba(6, 6, 11, 0.6) 60%, rgba(6, 6, 11, 0));
  padding-bottom: 28px; margin-bottom: -28px;
  backdrop-filter: blur(0px);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s;
}
.site-header.is-scrolled { background: rgba(6, 6, 11, 0.8); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand img { width: 150px; height: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: clamp(20px, 3vw, 44px); }
.nav a {
  font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 0.08em;
  color: var(--muted); padding: 8px 2px; position: relative; transition: color 0.25s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.lang { display: flex; gap: 2px; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; }
.lang a {
  font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  padding: 6px 10px; border-radius: 999px; color: var(--muted); transition: all 0.25s;
}
.lang a:hover { color: var(--text); }
.lang a[aria-current="true"] { color: var(--bg); background: var(--text); }
.burger { display: none; width: 44px; height: 44px; margin-left: 4px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); transition: transform 0.3s var(--ease), top 0.3s; top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu {
  display: none; position: fixed; inset: calc(76px + env(safe-area-inset-top, 0px)) 0 0 0; z-index: 49; background: #06060b; overflow-y: auto;
  padding: 24px var(--gutter) 40px; flex-direction: column; gap: 24px;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu ul { display: grid; gap: 4px; }
.mobile-menu li a {
  display: block; font-family: var(--display); font-weight: 800; font-size: clamp(28px, 8vw, 40px);
  letter-spacing: 0.02em; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--text);
}
.mobile-menu li a[aria-current="page"] { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mobile-menu .lang { align-self: flex-start; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 0.06em;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s, color 0.3s, border-color 0.3s;
}
.btn-primary { color: var(--bg); background: var(--text); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 12px 40px -8px rgba(91, 140, 255, 0.6); }
.btn-ghost { color: #dfe7ff; border: 1px solid rgba(91, 140, 255, 0.65); }
.btn-ghost:hover { border-color: var(--purple); box-shadow: 0 0 24px -6px rgba(181, 124, 242, 0.7); transform: translateY(-2px); }

.lang-ko .btn, .lang-vi .btn, .lang-ko .tabs button, .lang-vi .tabs button { font-family: var(--body); font-weight: 800; font-size: 15px; letter-spacing: -0.01em; }

/* ---------- HOME ---------- */
.home {
  --ring: min(58vmin, 560px);
  position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; overflow: hidden;
  padding: calc(76px + env(safe-area-inset-top, 0px)) clamp(24px, 5vw, 80px) 0;
}
.home-stage { position: relative; z-index: 2; width: min(1320px, 100%); margin: 0 auto; display: grid; place-items: center; }
#ring { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: calc(var(--ring) * 1.3); height: calc(var(--ring) * 1.3); pointer-events: none; z-index: 1; }
.home-title {
  position: relative; z-index: 2; width: 100%;
  display: grid; grid-template-columns: minmax(0, 1fr) var(--ring) minmax(0, 1fr); align-items: center; gap: clamp(8px, 2vw, 24px);
  font-family: var(--display); font-weight: 800; font-size: clamp(20px, 2.35vw, 34px); letter-spacing: 0.04em; line-height: 1.1;
}
.home-left { text-align: right; white-space: nowrap; }
.home-right { text-align: left; white-space: nowrap; }
.home-logo { width: 100%; display: grid; place-items: center; }
.home-logo img { width: 36%; filter: drop-shadow(0 0 28px rgba(91, 140, 255, 0.35)); }
.home-bottom { position: relative; z-index: 2; text-align: center; padding: 24px 0 calc(40px + env(safe-area-inset-bottom, 0px)); }
.home-line { margin: 0 auto; max-width: 760px; font-size: clamp(17px, 1.6vw, 22px); color: rgba(243, 243, 248, 0.9); line-height: 1.6; font-weight: 500; }
.home-cta { margin-top: 22px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.home-cta .btn { white-space: nowrap; }
.page-home .site-footer { border-top: 0; padding-top: 0; }
.page-home .site-footer .f-brand, .page-home .site-footer .f-social, .page-home .site-footer .f-col { display: none; }
.page-home .site-footer .wrap { grid-template-columns: 1fr; gap: 8px; }
.page-home .site-footer .f-bottom { border-top: 0; padding-top: 0; }

/* ---------- hero (sub pages) ---------- */
.hero {
  position: relative; min-height: min(78svh, 760px); display: grid; align-items: end; overflow: hidden;
  padding: calc(120px + env(safe-area-inset-top, 0px)) 0 72px;
  background: radial-gradient(60% 50% at 50% 100%, rgba(91, 140, 255, 0.12), transparent 70%), var(--bg);
}
.particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.32; filter: saturate(0.7); }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,6,11,0.55) 0%, rgba(6,6,11,0.25) 45%, rgba(6,6,11,0.96) 100%); }
.hero.has-bg { min-height: min(84svh, 800px); }
.hero-inner { position: relative; z-index: 2; }
.kicker {
  font-family: var(--display); font-weight: 700; font-size: clamp(14px, 1.15vw, 17px); letter-spacing: 0.22em; color: var(--cyan);
  margin-bottom: 22px;
}
.display {
  font-family: var(--display); font-weight: 900; line-height: 1.12; letter-spacing: -0.01em;
  font-size: clamp(34px, 7.2vw, 104px); max-width: 14ch;
}
.display .w { display: inline-block; white-space: nowrap; }
.hero-sub { margin-top: 32px; max-width: 640px; font-size: clamp(16px, 1.5vw, 19px); color: var(--muted); line-height: 1.75; }
.hero-arrow { position: absolute; left: 50%; bottom: 22px; width: 10px; height: 10px; border-right: 2px solid var(--dim); border-bottom: 2px solid var(--dim); transform: translateX(-50%) rotate(45deg); animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateX(-50%) rotate(45deg) translate(0, 0); } 50% { transform: translateX(-50%) rotate(45deg) translate(4px, 4px); } }

/* ---------- sections ---------- */
:root { --sec: clamp(72px, 9vw, 120px); }
.section { padding: var(--sec) 0; position: relative; }
.section-tight { padding-bottom: clamp(40px, 5vw, 64px); }
.section + .section { border-top: 1px solid var(--line); }
.section-alt { background: var(--bg-2); }
.h2 {
  font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3.6vw, 48px); line-height: 1.2; letter-spacing: -0.01em;
  max-width: 20ch;
}
.lang-ko .h2, .lang-ko .h3 { font-family: var(--body); font-weight: 800; letter-spacing: -0.025em; line-height: 1.22; }
.lang-ko .h2, .lang-vi .h2 { font-size: clamp(30px, 3.9vw, 54px); }
.lang-vi .h2, .lang-vi .h3 { font-family: var(--body); font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.h3 { font-family: var(--display); font-weight: 700; font-size: clamp(18px, 2vw, 22px); margin: 56px 0 24px; }
.lead { margin-top: 20px; max-width: 680px; font-size: clamp(16px, 1.4vw, 18px); color: var(--muted); line-height: 1.75; }
.grid { display: grid; gap: 16px; margin-top: 48px; }
.grid-3 { grid-template-columns: 1.35fr 1fr 1fr; }
.grid-3.even { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; padding: 32px 28px 30px; border-radius: 20px; background: var(--surface);
  border: 1px solid var(--line); overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; -webkit-mask-composite: xor;
  opacity: 0; transition: opacity 0.35s;
}
@media (hover: hover) {
  .card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -30px rgba(91, 140, 255, 0.5); }
  .card:hover::before { opacity: 1; }
}
.card.has-photo { padding-top: 0; }
.card-photo { margin: 0 -28px 24px; aspect-ratio: 16 / 10; overflow: hidden; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); transition: transform 0.6s var(--ease); }
@media (hover: hover) { .card.has-photo:hover .card-photo img { transform: scale(1.04); } }
.card.has-photo .card-num { top: 16px; right: 16px; background: rgba(6,6,11,0.6); padding: 4px 8px; border-radius: 999px; color: var(--text); backdrop-filter: blur(6px); }
.card-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--surface-2); margin-bottom: 26px; }
.card-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--cyan); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card-num { position: absolute; top: 28px; right: 26px; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 0.12em; color: var(--dim); }
.card h3 { font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.25; margin-bottom: 14px; }
.lang-ko .card h3, .lang-vi .card h3 { font-family: var(--body); font-weight: 800; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.flywheel { counter-reset: fly; }
.fly-card:not(:last-child)::after {
  content: ''; position: absolute; right: -13px; top: 50%; width: 10px; height: 10px; border-top: 1px solid var(--dim); border-right: 1px solid var(--dim); transform: translateY(-50%) rotate(45deg); z-index: 2;
}

/* stats — 원형 1「풀블리드 수치」: 숫자는 검정 위, 사진은 하단 풀블리드 (ref northkingdom) */
.section-stats { background: var(--bg-2); overflow: hidden; padding-bottom: 0; }
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(180px, 21vw, 300px); gap: 12px; margin-top: 56px; }
.gallery.bleed { width: 100vw; margin-inline: calc(50% - 50vw); margin-top: var(--sec); gap: 4px; }
.gallery.bleed li { border-radius: 0; }
.gallery li { border-radius: 16px; overflow: hidden; grid-column: span 2; }
.gallery li.g-wide { grid-column: span 4; }
.gallery li.g-wide:last-child { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); transition: transform 0.6s var(--ease); }
@media (hover: hover) { .gallery li:hover img { transform: scale(1.04); } }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 10px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; aspect-ratio: 4 / 3; }
.mosaic .m-tall { grid-row: span 2; aspect-ratio: auto; height: 100%; object-position: center top; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.stat { padding: 36px 30px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); }
.stat-value { display: flex; align-items: baseline; gap: 6px; font-family: var(--display); font-weight: 900; font-size: clamp(44px, 5.5vw, 76px); line-height: 1; letter-spacing: -0.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-value em { font-style: normal; font-size: 0.42em; font-family: var(--body); font-weight: 800; }
.stat-label { display: block; margin-top: 18px; font-weight: 700; font-size: 16px; }
.stat-note { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; }

/* partners */
.partner-group { margin-top: 40px; }
.partner-group h3 { font-family: var(--display); font-size: 12px; letter-spacing: 0.18em; color: var(--dim); margin: 0 0 14px; }
.lang-ko .partner-group h3, .lang-vi .partner-group h3 { font-family: var(--body); font-weight: 700; font-size: 14px; letter-spacing: 0; }
.partners { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.partners li { position: relative; min-width: 0; background: #f4f4f7; border-radius: 14px; aspect-ratio: 5 / 3; transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.partners li img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: contain; mix-blend-mode: multiply; }
@media (hover: hover) { .partners li:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -20px rgba(91,140,255,0.6); } }

/* split */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split-media { margin: 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-media.stack { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border: 0; border-radius: 0; overflow: visible; }
.split-media.stack img { border-radius: 16px; aspect-ratio: 1; }
.split-media.stack img:nth-child(2), .split-media.stack img:nth-child(3) { transform: translateY(24px); }
.split-text .btn { margin-top: 28px; }
.case-media { display: grid; gap: 10px; border: 0; overflow: visible; }
.case-media img { border-radius: 18px; aspect-ratio: 16 / 9; }
.case-media .logo-tile { border-radius: 18px; aspect-ratio: 16 / 9; background: #f4f4f7; display: grid; place-items: center; padding: 10%; }
.case-media .logo-tile img { width: 100%; height: 100%; object-fit: contain; aspect-ratio: auto; border-radius: 0; }
.case-note { margin-top: 24px; font-size: 15px; color: var(--muted); }
.brand-strip { margin-top: 56px; }
.brand-gallery { margin-top: 16px; }
.brand-gallery li { grid-column: span 2; }

/* ladder / proofs / producers */
.ladder-card h3 { font-size: 24px; }
/* 원형 2「스티키 2열」: 왼쪽 문장 고정, 오른쪽 카드 대각선 계단 + 3색 프레임 (ref thoughtbot) */
.split-sticky { align-items: start; }
.split-sticky .split-text { position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); }
.ladder { grid-template-columns: 1fr; margin-top: 0; }
@media (min-width: 901px) {
  .ladder li:nth-child(2) { margin-left: 9%; }
  .ladder li:nth-child(3) { margin-left: 18%; }
}
.ladder li:nth-child(1) .card-icon { background: rgba(91, 140, 255, 0.18); }
.ladder li:nth-child(2) .card-icon { background: rgba(181, 124, 242, 0.18); }
.ladder li:nth-child(3) .card-icon { background: rgba(56, 209, 236, 0.18); }
.ladder li:nth-child(2) .card-icon svg { stroke: var(--purple); }
.ladder li:nth-child(1) .card-icon svg { stroke: var(--blue); }
.proofs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.proof { border-radius: 20px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.proof figure { margin: 0; }
.proof img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; filter: saturate(0.9); transition: transform 0.6s var(--ease); }
@media (hover: hover) { .proof:hover img { transform: scale(1.04); } }
.proof-text { padding: 20px 20px 22px; }
.proof-role { display: block; font-family: var(--display); font-size: 10px; letter-spacing: 0.16em; color: var(--cyan); margin-bottom: 8px; }
.proof h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.proof p { color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.producers { margin-top: 48px; }
.producer figure { margin: 0 0 18px; border-radius: 18px; overflow: hidden; }
.producer img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.producer h3 { font-family: var(--display); font-weight: 800; font-size: 20px; margin-bottom: 6px; }
.producer p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.65; }

/* pipeline */
.pipeline { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-top: 8px; }
.pipeline li { position: relative; padding: 22px 18px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 6px; }
.pipe-num { font-family: var(--display); font-size: 11px; letter-spacing: 0.14em; color: var(--dim); }
.pipeline strong { font-family: var(--display); font-weight: 700; font-size: 14px; line-height: 1.25; min-height: 2.5em; }
.pipeline span:last-child { color: var(--muted); font-size: 14px; }
.pipeline.process { grid-template-columns: repeat(4, 1fr); margin-top: 48px; }
.pipeline.process strong { font-size: 18px; }
.lang-ko .pipeline.process strong, .lang-vi .pipeline.process strong { font-family: var(--body); font-weight: 800; }

/* floors */
.floors { margin-top: 32px; display: grid; }
.floors li { display: grid; grid-template-columns: 44px 1fr; gap: 6px 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.floor-num { font-family: var(--display); font-weight: 800; font-size: 18px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; grid-row: span 2; }
.floors strong { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 0.06em; }
.floors span:last-child { color: var(--muted); font-size: 14.5px; }

/* care */
.care { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 40px; }
.care li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.care code { font-family: var(--display); font-size: 11px; letter-spacing: 0.1em; color: var(--cyan); }
.care span { font-weight: 600; font-size: 15px; }

/* audition */
.section-audition { background: radial-gradient(50% 50% at 100% 0%, rgba(56, 209, 236, 0.1), transparent 70%), var(--bg-2); }
.section-audition .split { align-items: start; }
.facts { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.facts li { padding: 14px 18px; border-radius: 12px; border: 1px solid var(--line-2); display: grid; gap: 2px; min-width: 120px; }
.facts span { font-family: var(--display); font-size: 10px; letter-spacing: 0.16em; color: var(--dim); }
.facts strong { font-family: var(--display); font-size: 16px; }
.faq { margin-top: 40px; }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--display); color: var(--dim); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.7; }

/* forms */
.form { display: grid; gap: 14px; padding: 32px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.form label { display: grid; gap: 6px; }
.form label > span { font-size: 14px; font-weight: 600; color: rgba(243, 243, 248, 0.78); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); background: #15161e; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 12px;
  min-height: 50px; padding: 12px 14px; transition: border-color 0.25s, box-shadow 0.25s; color-scheme: dark;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(91, 140, 255, 0.25); }
.form ::placeholder { color: rgba(243, 243, 248, 0.4); }
.form textarea { resize: vertical; }
.form .check { grid-template-columns: auto 1fr; align-items: start; gap: 10px; }
.form .check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--purple); }
.form .check span { font-size: 14px; color: var(--muted); }
.form .btn { margin-top: 6px; }
.form-msg { min-height: 1.4em; font-size: 14px; color: var(--cyan); }
.form-msg.is-error { color: #ff7b7b; }
.form.is-done .btn { display: none; }
.field-error { border-color: #ff7b7b !important; }

/* contact */
.section-contact { padding-top: 32px; }
.page-contact .hero { min-height: 0; padding-top: calc(120px + env(safe-area-inset-top, 0px)); padding-bottom: 40px; }
.page-contact .hero-arrow { display: none; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.06); margin-bottom: 32px; }
.tabs button { padding: 10px 20px; border-radius: 999px; font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: var(--muted); transition: all 0.25s; }
.tabs button[aria-selected="true"] { background: var(--text); color: var(--bg); }
.lang-ko .tabs button, .lang-vi .tabs button { font-family: var(--body); font-weight: 800; }
.tab-panels .form { max-width: 860px; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.tab-panels .form label:has(textarea), .tab-panels .form .check, .tab-panels .form .btn, .tab-panels .form .form-msg { grid-column: 1 / -1; }
.tab-panels .form .btn { justify-self: start; min-width: 220px; }

/* quote — 원형 4「인용」: 여백이 콘텐츠. 위아래 --sec 1.5배 (ref basic/dept) */
.section-quote { background: var(--bg-2); padding: calc(var(--sec) * 1.5) 0; }
.quote { max-width: 1040px; margin: 0 auto; text-align: center; }
.quote-mark { display: block; width: 44px; height: 44px; margin: 0 auto 28px; border-radius: 50%; border: 2px solid transparent; background: conic-gradient(from 200deg, var(--blue), var(--purple), var(--cyan), transparent 70%) border-box; -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); mask-composite: exclude; -webkit-mask-composite: xor; }
.quote p { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.6vw, 36px); line-height: 1.35; letter-spacing: -0.01em; }
.lang-ko .quote p, .lang-vi .quote p { font-family: var(--body); font-weight: 800; letter-spacing: -0.02em; line-height: 1.4; }
.quote cite { display: block; margin-top: 28px; font-style: normal; font-family: var(--display); font-size: 12px; letter-spacing: 0.18em; color: var(--cyan); }

/* cta box */
.cta-box { text-align: center; padding: clamp(48px, 8vw, 96px) var(--gutter); border-radius: 32px; background: radial-gradient(60% 80% at 50% 0%, rgba(91, 140, 255, 0.22), transparent 70%), var(--surface); border: 1px solid var(--line-2); }
.cta-box .h2, .cta-box .lead { margin-inline: auto; }
.cta-box .btn { margin-top: 32px; }

/* footer */
.site-footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding: 56px 0 calc(32px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.f-brand img { width: 150px; }
.f-ring { position: absolute; right: -120px; bottom: -220px; width: 520px; height: 520px; border-radius: 50%; border: 2px solid transparent; background: conic-gradient(from 200deg, var(--blue), var(--purple), var(--cyan), transparent 70%) border-box; -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); mask-composite: exclude; -webkit-mask-composite: xor; opacity: 0.12; pointer-events: none; }
.f-tag { margin-top: 16px; font-family: var(--display); font-size: 12px; letter-spacing: 0.1em; color: var(--text); }
.f-col p { margin: 0 0 6px; }
.f-social { display: flex; flex-direction: column; gap: 6px; }
.f-social a:hover, .f-col a:hover { color: var(--text); }
.f-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 12px; }

/* reveal (JS adds transforms; keep visible without JS) */
.js [data-reveal] { opacity: 0; transform: translateY(24px); }
.js [data-hero] { opacity: 0; transform: translateY(18px); }
.js .display .w { opacity: 0; transform: translateY(0.4em); }
.js .display[data-split] { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1200px) {
  .pipeline:not(.process) { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; -webkit-overflow-scrolling: touch; }
  .pipeline:not(.process) li { min-width: 200px; scroll-snap-align: start; }
}
@media (max-width: 1100px) {
  .home { --ring: min(50vmin, 420px); }
  .home-title { font-size: clamp(18px, 2.2vw, 28px); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .fly-card:not(:last-child)::after { display: none; }
  .partners { grid-template-columns: repeat(4, 1fr); }
  .gallery { grid-auto-rows: clamp(160px, 26vw, 260px); }
  .gallery li, .gallery li.g-wide, .gallery li.g-wide:last-child { grid-column: span 3; }
  .brand-gallery li { grid-column: span 2; }
  .proofs { grid-template-columns: repeat(2, 1fr); }
  .care { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav, .site-header .lang { display: none; }
  .burger { display: block; margin-left: auto; }
  .grid-3, .stats { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-media.stack img:nth-child(2), .split-media.stack img:nth-child(3) { transform: none; }
  .pipeline.process { grid-template-columns: repeat(2, 1fr); }
  .site-footer .wrap { grid-template-columns: 1fr; gap: 20px; }
  .home { --ring: min(78vw, 380px); }
  .home-title { grid-template-columns: 1fr; grid-template-rows: auto var(--ring) auto; gap: 0; }
  .home-left, .home-right { text-align: center; }
  .home-logo img { width: calc(var(--ring) * 0.46); } /* 로고는 링 크기에 묶는다 (화면 폭 % 로 두면 폴드 880px에서 링과 겹침·이사님 9/21) */
  #ring { width: var(--ring); height: var(--ring); }
  .home-bottom { padding-top: 12px; }
}
@media (max-width: 600px) {
  :root { --sec: 64px; } /* 섹션 간격 하한 64px (Inspo 실측 중앙값 96px·64 미만은 한 덩어리로 읽힘) */
  /* 원형 3「가로 레일」: 카드·협력사 로고·브랜드 사진 전부 옆으로 넘기는 레일로 통일 (ref xlrecordings·stinkstudios) */
  .grid-3, .grid-4, .ladder, .proofs, .pipeline.process, .partners, .brand-gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding: 4px var(--gutter) 16px; margin-inline: calc(var(--gutter) * -1); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .grid-3::-webkit-scrollbar, .grid-4::-webkit-scrollbar, .ladder::-webkit-scrollbar, .proofs::-webkit-scrollbar, .pipeline.process::-webkit-scrollbar, .partners::-webkit-scrollbar, .brand-gallery::-webkit-scrollbar { display: none; }
  .grid-3 > *, .grid-4 > *, .ladder > *, .proofs > *, .pipeline.process > * { flex: 0 0 82%; scroll-snap-align: start; }
  .ladder li { margin-left: 0; }
  .partners { gap: 8px; }
  .partners > * { flex: 0 0 38%; scroll-snap-align: start; }
  .brand-gallery { display: flex; grid-auto-rows: auto; }
  .brand-gallery > * { flex: 0 0 78%; aspect-ratio: 4 / 3; scroll-snap-align: start; }
  .grid-3.stack, .grid-3.stack > * { display: grid; flex: none; margin: 0; padding: 0; }
  .card-photo { margin: 0 -18px 20px; }
  .ladder li { transform: none !important; }
  .stats { grid-template-columns: 1fr; }
  .gallery { gap: 8px; }
  .gallery { grid-auto-rows: 56vw; }
  .gallery.bleed { gap: 4px; grid-auto-rows: 48vw; }
  .gallery li, .gallery li.g-wide, .gallery li.g-wide:last-child { grid-column: span 6; }
  .gallery.bleed li { grid-column: span 3; }
  .gallery.bleed li.g-wide { grid-column: span 6; }
  .mosaic { grid-template-columns: 1fr 1fr; }
  .mosaic .m-tall { grid-column: span 2; grid-row: span 1; aspect-ratio: 16 / 9; }
  .card-photo { margin: 0 -18px 20px; }
  .grid-4 { grid-template-columns: 1fr; }
  .partners li { border-radius: 10px; padding: 10px; }
  .proofs { grid-template-columns: 1fr; }
  .care { grid-template-columns: 1fr; }
  .form { padding: 22px 18px; }
  /* 터치 영역 44px 이상 (r18 모바일 라운드) */
  .faq summary { min-height: 44px; align-items: center; }
  .faq details { padding: 4px 0; }
  .f-col a, .f-social a { display: inline-block; min-height: 44px; line-height: 44px; }
  .f-col p { margin: 0; }
  .mobile-menu .lang a { padding: 12px 18px; font-size: 13px; }
  .tab-panels .form { grid-template-columns: 1fr; }
  .tab-panels .form .btn { justify-self: stretch; }
  .display { font-size: clamp(30px, 10.5vw, 44px); max-width: none; }
  .hero { min-height: 0; padding-top: calc(110px + env(safe-area-inset-top, 0px)); padding-bottom: 56px; }
  .hero-arrow { display: none; }
  .home-title { font-size: clamp(20px, 6.4vw, 26px); }
  .home-cta { flex-direction: column; }
  .home-cta .btn { width: 100%; }
  .facts li { min-width: 0; flex: 1; }
  .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-arrow { animation: none; }
  .js [data-reveal], .js [data-hero], .js .display .w { opacity: 1; transform: none; }
  #ring, .particles { display: none; }
  .home-logo img { filter: none; }
}


/* ================= r20 · 레퍼런스 주도 고도화 (03·04·06·08·09·12) ================= */
/* 04 한 단어 강조 = 같은 서체·기울임·시안. 서체 추가 없음 */
.display .w.em { color: var(--cyan); font-style: italic; padding-right: 0.06em; }
.quote p .em, .h2 .em { color: var(--cyan); font-style: italic; }
.lang-ko .quote p .em, .lang-ko .h2 .em, .lang-vi .quote p .em, .lang-vi .h2 .em { font-style: normal; }
/* 08 문장 밑 숫자 = 히어로 안에서 즉시 카운트업. 3개까지 */
.hero-stats { display: flex; gap: clamp(28px, 4vw, 64px); margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-2); max-width: 760px; }
.hero-stats li { display: grid; gap: 6px; min-width: 0; }
.hs-value { display: flex; align-items: baseline; gap: 4px; font-family: var(--display); font-weight: 900; font-size: clamp(30px, 3.6vw, 52px); line-height: 1; letter-spacing: -0.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hs-value em { font-style: normal; font-size: 0.42em; font-family: var(--body); font-weight: 800; }
.hs-label { font-size: 14px; color: var(--muted); font-weight: 600; }
.hero.has-stats .hero-bg { opacity: 0.26; }
.section-gallery { padding-top: 0; }
.section-gallery .gallery.bleed { margin-top: 0; }
/* 09 단색 블록 CTA = 전폭 보라 블록 1개 + 텍스트 링크 1개. 알약 버튼 대체 */
.section-block { background: var(--bg-2); }
.h2-heavy { font-weight: 900; max-width: 24ch; }
.block-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 36px; padding: clamp(22px, 3vw, 34px) clamp(22px, 3.5vw, 40px); border-radius: 18px;
  background: var(--purple); color: #120a24; font-family: var(--display); font-weight: 800; font-size: clamp(16px, 1.8vw, 24px); letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), background 0.25s;
}
.lang-ko .block-cta, .lang-vi .block-cta { font-family: var(--body); font-weight: 900; }
.block-cta .block-arrow { font-family: var(--display); font-size: 1.4em; line-height: 1; transition: transform 0.25s var(--ease); }
@media (hover: hover) { .block-cta:hover { background: #c58ff8; } .block-cta:hover .block-arrow { transform: translateX(8px); } }
.block-cta:active { transform: scale(0.99); }
.block-link { display: inline-block; margin-top: 18px; color: var(--muted); font-weight: 700; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: color 0.2s, border-color 0.2s; }
.block-link:hover { color: var(--text); border-color: var(--text); }
/* 06 선택형 진입 = 질문 + 4갈래, 오른쪽 세로 타일 레일 (ref masterclass) */
.section-choose { padding-top: clamp(48px, 6vw, 80px); }
.section-choose .split { align-items: center; }
.choose { margin-top: 28px; display: grid; gap: 8px; max-width: 520px; }
.choose a { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); font-weight: 700; font-size: 16px; transition: border-color 0.25s, transform 0.25s var(--ease), background 0.25s; min-height: 56px; }
.choose-n { font-family: var(--display); font-size: 11px; letter-spacing: 0.12em; color: var(--dim); }
.choose-arrow { font-family: var(--display); color: var(--cyan); transition: transform 0.25s var(--ease); }
@media (hover: hover) { .choose a:hover { border-color: var(--cyan); transform: translateX(4px); } .choose a:hover .choose-arrow { transform: translateX(4px); } }
.choose a:active { transform: scale(0.99); }

/* 06-b 4갈래 카드 (2x2) — 2026-09-23 K-POP · KOL · KOC · TIKTOKER 개편 */
.paths { margin-top: 36px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.paths a { position: relative; display: grid; grid-template-rows: auto auto 1fr; gap: 6px; padding: 26px 28px 30px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--surface); transition: border-color 0.25s, transform 0.25s var(--ease), background 0.25s; height: 100%; }
.path-n { font-family: var(--display); font-size: 11px; letter-spacing: 0.12em; color: var(--dim); }
.path-name { font-family: var(--display); font-size: clamp(22px, 2.1vw, 28px); letter-spacing: 0.02em; line-height: 1.2; color: var(--text); }
.path-d { font-size: 15px; line-height: 1.7; color: var(--muted); }
.path-d + .path-d { margin-top: 2px; }
.path-arrow { position: absolute; right: 24px; top: 24px; font-family: var(--display); color: var(--cyan); transition: transform 0.25s var(--ease); }
@media (hover: hover) { .paths a:hover { border-color: var(--cyan); transform: translateY(-3px); } .paths a:hover .path-arrow { transform: translateX(4px); } }
.paths a:active { transform: scale(0.995); }
.paths-note { margin-top: 26px; font-size: 16px; line-height: 1.75; color: var(--muted); max-width: 720px; }
@media (max-width: 900px) { .paths { grid-template-columns: 1fr; gap: 12px; } .paths a { padding: 22px 22px 24px; } }
@media (max-width: 600px) { .path-d { font-size: 14px; } .paths-note { font-size: 15px; } }
.tile-rail { position: relative; height: clamp(360px, 44vw, 560px); overflow: hidden; border-radius: 20px; mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%); }
.tile-track { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; animation: tiles 46s linear infinite; will-change: transform; }
.tile-track img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; border-radius: 14px; filter: saturate(0.85); }
.tile-track img:nth-child(2n) { transform: translateY(44px); }
@keyframes tiles { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.is-hit > .wrap > .kicker, .is-hit > .wrap > .split-text > .kicker { animation: hit 1.2s var(--ease); }
@keyframes hit { 0% { color: var(--text); } 100% { color: var(--cyan); } }
/* 03 말 거는 2행 = 단체 사진 풀블리드 + 기울임 대문자 + 전폭 버튼 (ref audius) · 브러시 서체 없음 */
.section-call { position: relative; overflow: hidden; min-height: min(72svh, 640px); display: grid; align-items: end; padding: clamp(96px, 14vw, 180px) 0 clamp(48px, 6vw, 80px); }
.call-bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; filter: saturate(0.25) contrast(1.05); opacity: 0.55; }
.call-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,6,11,0.92) 0%, rgba(6,6,11,0.35) 45%, rgba(6,6,11,0.9) 100%); }
.section-call .wrap { position: relative; z-index: 2; }
.call-lines { display: grid; gap: 0.1em; font-family: var(--display); font-weight: 900; font-style: italic; font-size: clamp(30px, 6.4vw, 88px); line-height: 1.05; letter-spacing: -0.01em; text-transform: uppercase; max-width: 16ch; }
.lang-ko .call-lines, .lang-vi .call-lines { font-family: var(--body); font-style: normal; text-transform: none; letter-spacing: -0.03em; line-height: 1.15; }
.section-call .block-cta { margin-top: 40px; }
/* 12 대시보드 목업 = 실화면 기울여 배치 + 알림 카드 2 (ref beehiiv) · 실명 마스킹본 */
.section-dash { background: var(--bg-2); overflow: hidden; }
.dash { position: relative; padding: 24px 0 32px 24px; }
.dash-shot { width: 100%; border-radius: 16px; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(91, 140, 255, 0.35); transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); transform-origin: center; }
.dash-card { position: absolute; display: grid; gap: 4px; padding: 14px 18px; border-radius: 14px; background: rgba(18, 18, 28, 0.92); border: 1px solid var(--line-2); backdrop-filter: blur(10px); box-shadow: 0 20px 50px -20px rgba(0,0,0,0.8); min-width: 160px; }
.dash-k { font-size: 12px; color: var(--muted); font-weight: 600; }
.dash-card strong { font-family: var(--display); font-size: 20px; font-weight: 800; color: var(--cyan); }
.dash-card-1 { left: -8px; top: 0; }
.dash-card-2 { right: -8px; bottom: 0; }
@media (max-width: 900px) {
  .hero-stats { gap: 20px; }
  .tile-rail { height: 320px; }
  .section-choose .split { gap: 32px; }
  .dash-shot { transform: none; }
  .dash { padding: 0 0 56px; }
  .dash-card-1 { left: 0; top: auto; bottom: 0; }
  .dash-card-2 { right: 0; bottom: 0; }
}
@media (max-width: 600px) {
  .hero-stats { gap: 12px; margin-top: 28px; padding-top: 20px; }
  .hero-stats li { flex: 1; }
  .hs-value { font-size: clamp(24px, 8vw, 32px); }
  .hs-label { font-size: 12px; }
  .choose a { padding: 14px; font-size: 15px; }
  .tile-rail { height: 260px; border-radius: 14px; }
  .block-cta { font-size: 16px; padding: 20px 18px; }
  .section-call { min-height: 0; padding: 80px 0 40px; }
  .dash-card { min-width: 0; padding: 10px 12px; }
  .dash-card strong { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .tile-track { animation: none; }
  .is-hit > .wrap > .kicker { animation: none; }
}


/* ================= r20.2 · 공고(전자공고) 페이지 ================= */
.page-notice .hero { min-height: 0; padding-top: calc(120px + env(safe-area-inset-top, 0px)); padding-bottom: 40px; }
.page-notice .hero-arrow { display: none; }
.section-notice { padding-top: 24px; }
.notices { display: grid; gap: 16px; max-width: 900px; }
.notice-item { padding: 28px 28px 26px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.notice-item.is-past { opacity: 0.7; }
.notice-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--display); font-size: 11px; letter-spacing: 0.12em; color: var(--dim); margin-bottom: 12px; }
.notice-meta .notice-id { margin-left: auto; }
.notice-item h2 { font-size: 20px; font-weight: 800; line-height: 1.3; margin-bottom: 12px; }
.notice-body { color: var(--muted); font-size: 15px; line-height: 1.75; }
.notice-file { display: inline-block; margin-top: 14px; color: var(--cyan); font-weight: 700; border-bottom: 1px solid rgba(56, 209, 236, 0.5); }
.notice-empty { padding: 40px 0; color: var(--muted); font-size: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); max-width: 900px; }
.notice-legal { margin-top: 40px; max-width: 900px; color: var(--dim); font-size: 13px; line-height: 1.7; }
.f-notice { color: var(--text); font-weight: 700; }
@media (max-width: 600px) { .notice-item { padding: 20px 18px; } .notice-meta .notice-id { margin-left: 0; } }
