html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: #060e1a; word-break: keep-all; overflow-wrap: break-word; }
*, *::before, *::after { box-sizing: border-box; }
h1, h2, h3, p { word-break: keep-all; overflow-wrap: break-word; }
p { letter-spacing: normal; word-spacing: normal; }
section > div, article, .loop-copy { min-width: 0; }
img { max-width: 100%; }
a:focus-visible, button:focus-visible { outline: 2px solid #5fd8ea; outline-offset: 5px; }
.site-nav a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.site-nav > div { align-items: center; }
.hero > div:nth-child(3) { width: 100%; }
.hero .hero-eyebrow { letter-spacing: .03em !important; }
.stage-toggle { display: none; min-height: 44px; padding: 12px 18px; border: 1px solid #5fd8ea; background: #0b1828; color: #e8eef5; font: inherit; cursor: pointer; text-align: center; }
.stage-toggle[aria-pressed="true"] { background: #5fd8ea; color: #060e1a; }
.film-section { padding: clamp(60px, 8vw, 120px) clamp(20px, 6vw, 88px); max-width: 1440px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.film-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.eyebrow { font-family: 'IBM Plex Mono', 'IBM Plex Sans KR', sans-serif; font-size: 12px; letter-spacing: .06em; color: #5fd8ea; margin-bottom: 20px; line-height: 1.8; }
.film-heading h2 { margin: 0; display: flex; flex-direction: column; gap: 10px; font-family: 'Noto Serif KR', serif; font-size: clamp(30px, 4.4vw, 56px); line-height: 1.3; }
.english-title { font-family: 'Cinzel', serif; font-size: clamp(13px, 1.4vw, 18px); letter-spacing: .16em; color: #e9b75c; line-height: 1.6; }
.youtube-link { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; color: #e9b75c; }
.video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 202px; border: 1px solid rgba(95,216,234,.3); background: #0b1828; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film-caption { margin: 0; color: #9fb0c3; font-size: 14px; line-height: 1.8; }
@media (max-width: 1024px), (max-height: 600px) {
 .loop-stage { height: auto !important; padding-top: 48px; }
 .loop-panel { position: relative !important; top: auto !important; height: auto !important; display: grid !important; grid-template-columns: 1fr; max-width: 800px; margin: 0 auto; padding: 24px clamp(20px, 6vw, 48px) !important; gap: 24px !important; }
 .loop-image { width: 100%; max-width: none !important; }
 .loop-copy { width: 100%; max-width: none !important; gap: 14px !important; }
 .stage-toggle { display: block; }
 .loop-progress { display: none; }
}
@media (max-width: 800px) {
 html { scroll-padding-top: 110px; }
 .site-nav { flex-direction: column !important; align-items: stretch !important; gap: 0 !important; padding: 6px 16px !important; }
 .site-nav > a { align-self: center; }
 .site-nav > div { width: 100%; gap: 0 !important; flex-wrap: nowrap !important; overflow-x: auto; justify-content: space-between; font-size: 10px !important; letter-spacing: .05em !important; scrollbar-width: none; }
 .site-nav > div::-webkit-scrollbar { display: none; }
 .site-nav > div a { flex-shrink: 0; padding: 8px; }
 .hero { min-height: 100svh !important; }
 .hero > img { object-position: 58% 25% !important; }
 .hero > div:nth-child(2) { background: linear-gradient(0deg, #060e1a 0%, rgba(6,14,26,.86) 30%, rgba(6,14,26,.2) 75%), linear-gradient(90deg, rgba(6,14,26,.65), rgba(6,14,26,.12)) !important; }
 .hero > div:nth-child(3) { padding: 150px 24px 40px !important; }
 .hero > div:nth-child(3) > div:first-child { letter-spacing: .03em !important; font-size: 11px !important; line-height: 1.8; }
 .hero h1 span:last-child { letter-spacing: .2em !important; }
 .hero > div:last-child { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
 .hero > div:last-child > div { padding: 18px !important; border-bottom: 1px solid rgba(95,216,234,.12); }
 section:not(#loop), footer { padding-left: 24px !important; padding-right: 24px !important; }
 #world, #chronicle { grid-template-columns: minmax(0, 1fr) !important; }
 #world > div:first-child > div:last-child > div { grid-template-columns: 80px minmax(0, 1fr) !important; gap: 12px !important; }
 #chronicle > div > div:last-child { grid-template-columns: minmax(0, 1fr) !important; }
 #chronicle > div > div:last-child > div { border-right: 0 !important; border-bottom: 1px solid rgba(95,216,234,.2); padding: 16px !important; }
 #crew article > div:last-child > div:first-child { flex-wrap: wrap; }
 #frontier article > div > div:first-child { flex-wrap: wrap; }
 h2 > span:first-child { font-size: clamp(28px, 6vw, 38px) !important; line-height: 1.4 !important; }
 h2 > span:last-child { font-size: 13px !important; letter-spacing: .1em !important; line-height: 1.7 !important; }
 [data-labels] { max-width: 90% !important; gap: 4px !important; }
 [data-labels] > span { font-size: 11px !important; padding: 4px 6px !important; }
}
@media (max-width: 380px) {
 .site-nav > div { font-size: 9px !important; letter-spacing: 0 !important; }
 .site-nav > div a { padding: 8px 4px; }
 .hero > div:nth-child(3) { padding-left: 20px !important; padding-right: 20px !important; }
 .hero h1 span:first-child { font-size: 52px !important; }
 .hero > div:last-child { grid-template-columns: minmax(0, 1fr) !important; }
 .hero > div:nth-child(3) > div:last-child { flex-direction: column; }
 .hero > div:nth-child(3) > div:last-child a { justify-content: center; padding: 14px 16px !important; }
 section:not(#loop), footer { padding-left: 20px !important; padding-right: 20px !important; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 .loop-stage { height: auto !important; }
 .loop-panel { position: relative !important; top: auto !important; height: auto !important; }
 .stage-toggle { display: block; }
 [data-labels], [data-s0], [data-s1] { transition: none !important; }
}
