:root {
  --bg: #ffffff;
  --ink: #0a0a0a;
  --mute: #8a8a8a;
  --line: #e6e6e6;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: Pretendard, -apple-system, "Apple SD Gothic Neo", sans-serif;
  font-size: 19px;
  line-height: 1.85;
  letter-spacing: -0.02em;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
b { font-weight: 800; }
.dim { color: var(--mute); }

.top {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px;
  mix-blend-mode: difference; color: #fff;
}
.top a { color: inherit; text-decoration: none; }
.mark { font-weight: 900; letter-spacing: 0.02em; font-size: 18px; }
.cta-link { font-size: 15px; font-weight: 600; }

/* hero */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; }
.hero .pix { position: absolute; inset: 0; width: 100%; height: 100%; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mark img { height: 16px; width: auto; display: block; }
.top { mix-blend-mode: normal; color: var(--ink); background: rgba(255,255,255,.85); backdrop-filter: blur(6px); }
@media (max-width: 640px) { .mark img { height: 12px; } }
.hero-text { position: absolute; left: 24px; bottom: 12vh; pointer-events: none; }
.eyebrow { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); }
h1 { font-size: clamp(56px, 11vw, 150px); line-height: 1; font-weight: 900; letter-spacing: -0.05em; margin: 12px 0 18px; }
.sub { font-size: 17px; }
.scroll-hint { position: absolute; right: 24px; bottom: 24px; font-size: 13px; color: var(--mute); }

/* poem */
.poem, .apply { max-width: 680px; margin: 0 auto; padding: 22vh 24px; }
.poem > p, .poem .lines li { margin-bottom: 2.2em; }
.label { font-size: 13px; letter-spacing: 0.14em; color: var(--mute); font-weight: 600; }
.big { font-size: clamp(28px, 5vw, 44px); line-height: 1.3; font-weight: 800; letter-spacing: -0.04em; }
.lines { list-style: none; border-left: 2px solid var(--ink); padding-left: 22px; margin-bottom: 2.4em; }
.lines li { margin-bottom: 1.4em !important; }

.facts { margin: 1em 0 3em; border-top: 1px solid var(--ink); }
.facts div { display: grid; grid-template-columns: 1fr; padding: 22px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: clamp(38px, 7vw, 64px); font-weight: 900; line-height: 1.05; letter-spacing: -0.05em; }
.facts dd { font-size: 16px; color: #333; margin-top: 6px; }

.band { height: 70vh; position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band.tall { height: 90vh; }
.band .pix { position: absolute; inset: 0; width: 100%; height: 100%; }

/* reveal */
.r { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.r.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .r { opacity: 1; transform: none; transition: none; } }

/* apply */
.apply h2 { font-size: clamp(40px, 8vw, 80px); line-height: 1.05; font-weight: 900; letter-spacing: -0.05em; margin: 18px 0 24px; }
.note { color: #333; margin-bottom: 48px; }
form { display: grid; gap: 28px; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { display: grid; gap: 8px; }
label span { font-size: 14px; font-weight: 700; }
input, textarea {
  font: inherit; font-size: 17px; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0;
  padding: 8px 0; outline: none; resize: vertical; line-height: 1.6;
}
textarea { border: 1.5px solid var(--ink); padding: 12px 14px; }
input:focus, textarea:focus { background: #f6f6f6; }
input::placeholder, textarea::placeholder { color: #b5b5b5; }
.hp { position: absolute; left: -9999px; }
button {
  justify-self: start; font: inherit; font-weight: 800; font-size: 18px;
  background: var(--ink); color: #fff; border: 0; padding: 16px 34px; cursor: pointer;
}
button:hover { background: #333; }
button:disabled { opacity: .5; cursor: wait; }
.status { min-height: 1.5em; font-size: 15px; }

footer { padding: 60px 24px 40px; border-top: 1px solid var(--ink); font-size: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

@media (max-width: 640px) {
  body { font-size: 17px; }
  form .row { grid-template-columns: 1fr; }
  .poem, .apply { padding: 16vh 16px; }
  .hero-text { left: 16px; }
  .band { height: 55vh; }
}

/* ── 줄글 · 궁서 · 한 가지 크기 ── */
body, h2, .big, .note, label span, input, textarea, button, footer, .status, .cta-link {
  font-family: Pretendard, -apple-system, "Apple SD Gothic Neo", sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.9 !important;
  letter-spacing: 0 !important;
}
b { font-weight: 500; }
.band { border: 0; }
.apply h2 { margin: 0 0 2.2em; }
.note { margin-bottom: 2.2em; color: var(--ink); }
.poem > p { margin-bottom: 2.2em; }
footer { border-top: 0; }
@media (max-width: 640px) { body, h2, .big, .note, label span, input, textarea, button, footer, .status, .cta-link { font-size: 14px !important; } }

/* ───────── ATC 무드 ───────── */
:root { --bg: #ffffff; --ink: #0a0a0a; --mute: #8a8a8a; --line: #d6d6d6; --accent: #0a0a0a; --accent-ink: #ffffff; }
html, body { background: var(--bg); color: var(--ink); transition: background .6s ease, color .6s ease; }
em { font-style: normal; color: var(--mute); }
::selection { background: var(--accent); color: var(--accent-ink); }

/* header */
.top { display: grid; grid-template-columns: 1fr auto 1fr; padding: 22px 28px; background: transparent !important; backdrop-filter: none !important; }
.top-l { display: flex; gap: 12px; align-items: center; }
.mark { justify-self: center; opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .4s; }
html.scrolled .mark { opacity: 1; transform: none; }
html.b .mark img, html.b .f-logo { filter: invert(1); }
.burger { width: 32px; height: 32px; border: 1.5px solid var(--accent); background: transparent; display: grid; place-content: center; gap: 4px; padding: 0; cursor: pointer; transition: background .3s; }
.burger i { display: block; width: 16px; height: 1.5px; background: var(--accent); transition: transform .35s, opacity .35s, background .3s; }
.burger:hover { background: var(--accent); } .burger:hover i { background: var(--accent-ink); }
html.menu-open .burger i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
html.menu-open .burger i:nth-child(2) { opacity: 0; }
html.menu-open .burger i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
html.menu-open .burger { border-color: #fff; } html.menu-open .burger i { background: #fff; }
.pill { background: var(--accent); color: var(--accent-ink) !important; padding: 5px 14px; display: inline-flex; gap: 6px; align-items: center; }
.ast { display: inline-block; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.pill:hover .ast, button:hover .ast { transform: rotate(180deg); }

.switch { justify-self: end; display: flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.sw-a { color: var(--accent); } .sw-b { color: var(--mute); }
html.b .sw-a { color: var(--mute); } html.b .sw-b { color: var(--accent); }
.track { width: 44px; height: 24px; border-radius: 12px; border: 1.5px solid #c8a24a; background: #f7ecd2; position: relative; transition: background .4s; }
.knob { position: absolute; top: 2px; left: 2px; width: 17px; height: 17px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffd36b, #e89a1c); box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: left .45s cubic-bezier(.5,1.6,.4,1); }
.switch input:checked + .track .knob { left: 23px; }
.switch input:checked + .track { background: #2c4a32; }

/* full-screen green menu */
.menu { position: fixed; inset: 0; z-index: 9; background: #0a0a0a; color: #fff; padding: 110px 28px 40px; display: flex; flex-direction: column; overflow-y: auto;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s cubic-bezier(.7,0,.2,1); }
html.menu-open .menu { clip-path: inset(0 0 0 0); }
html.menu-open .top .pill, html.menu-open .top .switch, html.menu-open .mark { opacity: 0; pointer-events: none; }
.menu a { color: #fff; text-decoration: none; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.35); display: flex; gap: 10px; align-items: baseline;
  opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s, padding-left .3s; }
.menu a em { color: rgba(255,255,255,.5); }
.menu a:hover { padding-left: 12px; }
html.menu-open .menu a { opacity: 1; transform: none; }
html.menu-open .menu a:nth-child(1){transition-delay:.25s} html.menu-open .menu a:nth-child(2){transition-delay:.29s}
html.menu-open .menu a:nth-child(3){transition-delay:.33s} html.menu-open .menu a:nth-child(4){transition-delay:.37s}
html.menu-open .menu a:nth-child(5){transition-delay:.41s} html.menu-open .menu a:nth-child(6){transition-delay:.45s}
html.menu-open .menu a:nth-child(7){transition-delay:.49s} html.menu-open .menu a:nth-child(8){transition-delay:.53s}
html.menu-open { overflow: hidden; }

/* vertical side text */
.side { position: fixed; right: 14px; top: 50%; transform: translateY(-50%); z-index: 8; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--accent); pointer-events: none; }
.side-t { writing-mode: vertical-rl; letter-spacing: .2em; opacity: .55; }

/* custom cursor */
.cursor { position: fixed; left: 0; top: 0; z-index: 20; color: var(--accent); pointer-events: none; transform: translate(-50%,-50%); transition: opacity .3s, scale .25s; opacity: 0; }
html.has-cursor .cursor { opacity: 1; }
html.hovering .cursor { scale: 2.2; }

/* staggered prose like the staff list */
.poem { max-width: 1100px; display: grid; }
.poem > p { width: min(520px, 100%); }
.poem:nth-of-type(odd) > p { justify-self: start; }
.poem:nth-of-type(even) > p { justify-self: end; }
.r { transform: translateY(28px); filter: blur(4px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.8,.2,1), filter 1s ease; }
.r.in { filter: none; }

/* carousel bands */
.band { height: auto; padding: 10vh 0 6vh; display: flex; flex-direction: column; align-items: center; }
.band .pix { position: relative; inset: auto; height: 52vh; cursor: grab; }
.band.tall .pix { height: 64vh; }
.ctrl { display: flex; align-items: center; gap: 28px; margin-top: 18px; }
.ctrl button { background: none !important; color: var(--ink) !important; border: 0; padding: 4px 8px !important; cursor: pointer; transition: transform .25s; }
.ctrl .prev:hover { transform: translateX(-4px); } .ctrl .next:hover { transform: translateX(4px); }
.cap { min-width: 220px; text-align: center; position: relative; height: 1.9em; overflow: hidden; }
.cap span { position: absolute; inset: 0; opacity: 0; transform: translateY(100%); transition: opacity .5s, transform .5s cubic-bezier(.2,.8,.2,1); }
.cap span.on { opacity: 1; transform: none; }
.dots { display: flex; gap: 9px; margin-top: 12px; }
.dots button { width: 9px; height: 9px; padding: 0 !important; border-radius: 50%; border: 1.3px solid var(--accent); background: transparent !important; cursor: pointer; transition: background .3s, transform .3s; }
.dots button.on { background: var(--accent) !important; }
.dots button:hover { transform: scale(1.3); }

/* form */
input, textarea { border-color: var(--line); }
textarea { border: 1px solid var(--line); }
input:focus, textarea:focus { background: transparent; border-color: var(--accent); }
button[type=submit] { background: var(--accent); color: var(--accent-ink); padding: 10px 22px; transition: transform .3s; }
button[type=submit]:hover { background: var(--accent); transform: translateY(-2px); }

/* footer */
footer { display: grid; gap: 6px; padding: 80px 28px 60px; }
.f-logo { width: min(360px, 70vw); margin-bottom: 26px; }
footer a { color: var(--ink); }

@media (max-width: 640px) {
  .top { padding: 16px; } .mark { display: none; }
  .poem > p { justify-self: start !important; }
  .side { display: none; }
  .band .pix { height: 40vh; }
}
@media (hover: none) { .cursor { display: none; } }
.burger:focus-visible, .pill:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 3px; } .burger:focus:not(:focus-visible) { outline: none; }

/* 스크롤 타자기 */
.typed { opacity: 1; transform: none; filter: none; }
.ch { opacity: 0; }
.ch.on { opacity: 1; }
.ch.cur { position: relative; }
.ch.cur::after { content: ''; position: absolute; right: -3px; top: .2em; width: 1.5px; height: 1.1em; background: currentColor; animation: caret .6s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.top { background: var(--bg) !important; }

/* ───────── 정렬 통일: 모든 글자는 헤더와 같은 왼쪽 선, 같은 폭, 같은 간격 ───────── */
:root { --gx: 28px; --col: 560px; --gap: 1.9em; }
.poem, .apply { max-width: none !important; margin: 0 !important; padding: 18vh var(--gx) !important; display: block !important; }
.poem > p, .apply > *, form { width: auto !important; max-width: var(--col); margin: 0 0 var(--gap) !important; justify-self: auto !important; text-align: left; }
.poem > p:last-child { margin-bottom: 0 !important; }
.apply h2 { margin: 0 0 var(--gap) !important; }
form { gap: var(--gap) !important; }
form .row { gap: var(--gap) !important; }
.band { align-items: flex-start !important; padding: 8vh 0 !important; }
.band .pix { width: 100%; }
.ctrl, .dots { margin-left: var(--gx); }
.ctrl { justify-content: flex-start; gap: 14px; }
.ctrl .prev { padding-left: 0 !important; }
.cap { min-width: 0; width: 260px; text-align: left; }
.dots { margin-top: 10px; }
footer { padding: 18vh var(--gx) 60px !important; }
footer p { margin: 0; }
.top { padding-left: var(--gx) !important; padding-right: var(--gx) !important; }
@media (max-width: 640px) { :root { --gx: 16px; } .poem, .apply { padding: 14vh var(--gx) !important; } }
/* 작은 헤더 버튼 */
.burger { width: 24px; height: 24px; gap: 3px; border-width: 1px; }
.burger i { width: 11px; height: 1px; }
html.menu-open .burger i:nth-child(1) { transform: translateY(4px) rotate(45deg); }
html.menu-open .burger i:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }
.pill { height: 24px; padding: 0 10px; font-size: 12px !important; line-height: 24px !important; }
.top-l { gap: 8px; }
html.menu-open .top { background: transparent !important; }
.note a { color: inherit; text-underline-offset: 3px; }

/* ───────── 제출창: 눈에 띄게 구분 ───────── */
.apply { background: #f4f4f4; border-top: 1px solid var(--ink); }
.card { background: #fff; border: 1.5px solid var(--ink); padding: 32px 28px 28px; max-width: 620px !important; box-shadow: 8px 8px 0 var(--ink); }
.card-t { margin: 0 0 4px; font-weight: 700 !important; }
.card button[type=submit] { width: 100%; padding: 16px 22px; justify-self: stretch; }
.card button[type=submit]:hover { transform: translate(-2px,-2px); box-shadow: 4px 4px 0 #bbb; }
@media (max-width: 640px) { .card { padding: 24px 18px; box-shadow: 5px 5px 0 var(--ink); } }
.apply { background: #efefef !important; }
/* 제출 카드: 검은 그림자 상자 제거, 담백하게 */
.card { box-shadow: none !important; border: 1px solid var(--line) !important; }
.card button[type=submit]:hover { box-shadow: none; transform: none; opacity: .85; }
/* 타자 커서: 작은 세로 네모, 멈추면 깜빡깜빡 */
.ch.cur::after { right: auto; left: calc(100% + 2px); top: .18em; width: .48em; height: 1.08em; background: var(--ink); animation: caret 1s steps(1) infinite; }
html.typing .ch.cur::after { animation: none; opacity: 1; }
.ch.cur::after { width: 3px; top: 50%; height: 1.3em; transform: translateY(-50%); left: calc(100% + 2px); }

/* ───────── 지원서: 데스크탑에서 편하게 쓰기 ───────── */
.card { max-width: 760px !important; padding: 40px 40px 32px; }
.card .card-t { margin-bottom: 8px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 28px; }
.card label span { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.count { color: var(--mute); font-weight: 400; font-size: 12px !important; font-variant-numeric: tabular-nums; }
.card textarea { min-height: 220px; padding: 16px 18px; line-height: 1.75 !important; resize: vertical; overflow: hidden; border: 1px solid var(--line); background: #fcfcfc; transition: border-color .2s, background .2s; }
.card textarea:focus { border-color: var(--ink); background: #fff; }
.card input { padding: 10px 0; }
.card input:focus { border-color: var(--ink); }
.submit-row { display: grid; gap: 10px; }
.card button[type=submit] { font-size: 16px !important; }
.hint { display: flex; justify-content: space-between; gap: 12px; color: var(--mute); font-size: 12px !important; margin: 0; }
@media (hover: none) { .kbd { display: none; } }
@media (max-width: 640px) {
  .card { padding: 24px 18px; }
  .grid2 { grid-template-columns: 1fr; gap: 22px; }
  .card textarea { min-height: 180px; }
}
/* 지원서: 화면 너비에 맞춰 꽉 차게 */
.apply > form.card { max-width: none !important; width: 100% !important; box-sizing: border-box; }
@media (min-width: 1100px) { .grid2 { grid-template-columns: repeat(4, 1fr); } }
/* PDF 첨부 */
.file-field { display: grid; gap: 8px; }
.file-label { font-weight: 700; display: flex; justify-content: space-between; }
.drop { display: block; border: 1px dashed var(--line); background: #fcfcfc; padding: 26px 18px; text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.drop:hover, .drop.over { border-color: var(--ink); background: #fff; }
.drop.has { border-style: solid; border-color: var(--ink); background: #fff; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop-text { color: #555; }
.drop u { text-underline-offset: 3px; }
.drop-text { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; color: #555; }
.ficon { flex: none; color: var(--ink); }
.drop.has .drop-text { color: var(--ink); }
.fname { font-weight: 600 !important; max-width: 420px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fsize { color: var(--mute); }
.card .drop .drop-text { display: inline-flex; justify-content: center; gap: 10px; font-weight: 400; } .card .drop .drop-text span { display: inline; }
