@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Noto+Sans+KR:wght@400;500;600;700;800;900&display=swap');

:root {
  --ink: #10110f;
  --paper: #f2efe7;
  --white: #fffdf8;
  --yellow: #ffc817;
  --lime: #c9ee63;
  --red: #f16158;
  --line: rgba(16, 17, 15, .2);
  --pad: clamp(20px, 4.5vw, 72px);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Noto Sans KR', sans-serif;
  word-break: keep-all;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button, input, select, textarea { font: inherit; }

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad);
  color: var(--white);
  mix-blend-mode: difference;
}
.brand { font-size: 18px; font-weight: 900; letter-spacing: -.04em; }
.brand span { font-family: 'DM Mono'; font-size: 11px; font-weight: 500; letter-spacing: .08em; margin-left: 8px; }
.nav { display: flex; gap: 24px; font-family: 'DM Mono'; font-size: 11px; text-transform: uppercase; }
.nav a { border-bottom: 1px solid transparent; }
.nav a:hover, .nav a:focus-visible { border-color: currentColor; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { height: 100%; object-fit: cover; filter: brightness(.58) saturate(.78); transform: scale(1.03); animation: settle 1.6s cubic-bezier(.16,1,.3,1) forwards; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.12) 45%, rgba(0,0,0,.72)); }
.hero-copy { position: relative; z-index: 1; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 130px var(--pad) 52px; }
.kicker, .eyebrow { font-family: 'DM Mono'; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.hero h1 { margin: 18px 0 10px; font-size: clamp(74px, 17vw, 260px); line-height: .76; letter-spacing: -.085em; font-weight: 900; }
.hero-bottom { display: grid; grid-template-columns: 1fr minmax(260px, 500px); align-items: end; gap: 40px; }
.hero-bottom p { margin: 0; font-size: clamp(18px, 2.3vw, 32px); line-height: 1.38; font-weight: 650; }
.scroll-cue { justify-self: end; font-family: 'DM Mono'; font-size: 10px; letter-spacing: .08em; }

.ticker { overflow: hidden; background: var(--yellow); border-bottom: 1px solid var(--ink); padding: 16px 0; font-family: 'DM Mono'; font-weight: 500; }
.ticker-track { width: max-content; display: flex; gap: 36px; animation: marquee 25s linear infinite; }
.ticker-track span::before { content: '✦'; margin-right: 36px; }

.section { padding: clamp(80px, 11vw, 170px) var(--pad); }
.section-head { display: grid; grid-template-columns: minmax(160px, .55fr) 1.45fr; gap: 50px; align-items: start; margin-bottom: 64px; }
.section h2 { margin: 0; font-size: clamp(45px, 8vw, 118px); line-height: .92; letter-spacing: -.07em; }
.section-lead { max-width: 720px; font-size: clamp(19px, 2vw, 29px); line-height: 1.55; font-weight: 600; }

.programs { background: var(--ink); color: var(--white); }
.program-grid { display: grid; grid-template-columns: repeat(12, 1fr); border-top: 1px solid rgba(255,255,255,.26); }
.program { grid-column: span 6; display: grid; grid-template-columns: 68px 1fr; gap: 24px; padding: 34px 0; border-bottom: 1px solid rgba(255,255,255,.26); }
.program:nth-child(odd) { padding-right: 36px; }
.program:nth-child(even) { padding-left: 36px; border-left: 1px solid rgba(255,255,255,.26); }
.program .num { font-family: 'DM Mono'; font-size: 11px; color: var(--lime); }
.program h3 { margin: 0 0 10px; font-size: clamp(24px, 3vw, 42px); letter-spacing: -.04em; }
.program p { margin: 0; color: rgba(255,255,255,.67); line-height: 1.7; }

.photo-split { display: grid; grid-template-columns: 1.3fr .7fr; min-height: 80svh; }
.photo-split figure { margin: 0; overflow: hidden; background: #ccc; }
.photo-split img { height: 100%; object-fit: cover; }
.photo-note { display: flex; flex-direction: column; justify-content: space-between; padding: var(--pad); background: var(--lime); }
.photo-note strong { font-size: clamp(43px, 6vw, 88px); line-height: .95; letter-spacing: -.06em; }
.photo-note p { max-width: 430px; font-size: 18px; line-height: 1.7; }

.achievement { background: var(--yellow); }
.achievement-card { display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: end; padding-top: 30px; border-top: 2px solid var(--ink); }
.achievement-card strong { font-size: clamp(64px, 13vw, 190px); line-height: .8; letter-spacing: -.08em; }
.achievement-card p { max-width: 350px; font-size: 20px; font-weight: 700; line-height: 1.5; }

.visit { display: grid; grid-template-columns: .78fr 1.22fr; min-height: 72svh; background: var(--white); }
.visit-copy { padding: clamp(70px, 8vw, 130px) var(--pad); display: flex; flex-direction: column; justify-content: space-between; }
.visit-copy h2 { margin: 20px 0; font-size: clamp(50px, 8vw, 112px); line-height: .9; letter-spacing: -.07em; }
.visit-copy address { font-style: normal; font-size: 18px; line-height: 1.8; }
.visit figure { margin: 0; overflow: hidden; }
.visit img { height: 100%; object-fit: cover; }

.site-footer { padding: 42px var(--pad); background: var(--ink); color: var(--white); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.footer-name { font-size: clamp(48px, 9vw, 130px); line-height: .8; font-weight: 900; letter-spacing: -.07em; }
.footer-links { display: grid; gap: 10px; justify-items: end; font-family: 'DM Mono'; font-size: 11px; }

.document-shell { min-height: 100svh; padding: 140px var(--pad) 100px; }
.document-header { display: grid; grid-template-columns: .65fr 1.35fr; gap: 40px; padding-bottom: 48px; border-bottom: 2px solid var(--ink); }
.document-header h1 { margin: 0; font-size: clamp(48px, 8vw, 112px); line-height: .92; letter-spacing: -.07em; }
.document-header p { max-width: 680px; margin: 12px 0 0; font-size: 18px; line-height: 1.7; }
.document { max-width: 980px; margin: 70px auto 0; }
.legal-section { display: grid; grid-template-columns: 72px 1fr; gap: 26px; padding: 36px 0; border-top: 1px solid var(--line); }
.legal-section .index { font-family: 'DM Mono'; font-size: 11px; }
.legal-section h2 { margin: 0 0 16px; font-size: clamp(23px, 3vw, 34px); letter-spacing: -.04em; }
.legal-section p, .legal-section li { color: #45463f; line-height: 1.85; }
.legal-section ul { padding-left: 20px; }

.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 56px; }
.support-card { min-height: 240px; padding: 28px; border: 1px solid var(--ink); border-radius: var(--radius); display: flex; flex-direction: column; justify-content: space-between; background: var(--white); }
.support-card:nth-child(2) { background: var(--lime); }
.support-card:nth-child(3) { background: var(--yellow); }
.support-card h2 { margin: 0; font-size: 26px; }
.support-card a { font-family: 'DM Mono'; font-size: 12px; text-decoration: underline; }

.request-form { max-width: 760px; margin: 64px auto 0; padding: clamp(24px, 5vw, 54px); border: 1px solid var(--ink); border-radius: var(--radius); background: var(--white); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: 'DM Mono'; font-size: 11px; letter-spacing: .05em; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 15px 16px; background: #faf9f5; outline: none; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(201,238,99,.6); }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0; font-size: 14px; line-height: 1.6; }
.submit { width: 100%; border: 0; border-radius: 15px; padding: 17px; background: var(--ink); color: var(--white); font-weight: 800; cursor: pointer; }
.submit:hover { background: #31322d; }
.submit:disabled { opacity: .45; cursor: wait; }
.form-status { min-height: 24px; margin: 15px 0 0; font-size: 14px; font-weight: 700; }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s cubic-bezier(.16,1,.3,1); }
.reveal.visible { opacity: 1; transform: none; }

@keyframes settle { to { transform: scale(1); } }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 760px) {
  .nav a:not(:last-child) { display: none; }
  .hero-bottom, .section-head, .document-header { grid-template-columns: 1fr; }
  .scroll-cue { justify-self: start; }
  .program { grid-column: 1 / -1; padding: 28px 0 !important; border-left: 0 !important; }
  .photo-split, .visit { grid-template-columns: 1fr; }
  .photo-split figure, .visit figure { min-height: 56svh; }
  .achievement-card { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .legal-section { grid-template-columns: 42px 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { justify-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
