:root {
  color-scheme: dark;
  --ink: #111211;
  --film: #080908;
  --panel: #1a1b19;
  --paper: #f0efe9;
  --muted: #aaa9a2;
  --accent: #d9fa55;
  --line: #363933;
  --gutter: clamp(20px, 5.4vw, 72px);
  --section: clamp(64px, 8.5vw, 128px);
  --shell: 1440px;
  --display: clamp(43px, 7.35vw, 114px);
  --heading: clamp(32px, 4.3vw, 66px);
  --body: clamp(16px, 1.5vw, 19px);
  --label: 12px;
  --ease: 200ms ease;
  font-family: Inter, "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  background: var(--ink);
  color: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font-size: var(--body); line-height: 1.65; word-break: keep-all; overflow-wrap: anywhere; }
h1,h2,h3,p,figure { margin: 0; }
h1,h2,h3 { letter-spacing: -.065em; line-height: 1.12; }
h1 { font-size: var(--display); }
h2 { font-size: var(--heading); }
h3 { font-size: clamp(19px, 2.1vw, 31px); }
p { color: var(--muted); }
a { color: inherit; text-decoration: none; }
button,input,select,textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.shell { width: min(100% - 2 * var(--gutter), var(--shell)); margin-inline: auto; }
.section { padding-block: var(--section); }
.skip { position: absolute; top: 8px; left: 8px; z-index: 10; padding: 10px 16px; background: var(--accent); color: var(--film); transform: translateY(-160%); }
.skip:focus { transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.header { position: relative; z-index: 2; border-bottom: 1px solid var(--line); }
.home .header { position: absolute; inset: 0 0 auto; background: linear-gradient(180deg, rgba(8,9,8,.74), transparent); border: 0; }
.header-inner,.footer-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; flex-shrink: 0; align-items: center; gap: 10px; min-height: 44px; font-size: clamp(17px, 2vw, 25px); font-weight: 800; letter-spacing: -.05em; }
.brand-mark { width: 32px; height: 32px; flex: none; }
.header nav { display: flex; gap: clamp(12px, 3.2vw, 44px); align-items: center; font-size: clamp(12px, 1.2vw, 15px); font-weight: 650; }
.header nav a { display: inline-flex; min-height: 44px; align-items: center; white-space: nowrap; }
.header nav a:last-child { border: 1px solid rgba(240,239,233,.52); padding-inline: clamp(8px, 1.6vw, 20px); }
.header nav a:hover,.header nav a[aria-current] { color: var(--accent); }
.eyebrow { color: var(--accent); font-size: var(--label); font-weight: 750; letter-spacing: .14em; line-height: 1.5; margin-bottom: 17px; text-transform: uppercase; }
.hero { isolation: isolate; position: relative; background: var(--film); min-height: max(620px, min(95svh, 920px)); overflow: hidden; display: flex; align-items: flex-end; }
.hero-poster,.hero-film,.hero-scrim { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-poster,.hero-film { object-fit: cover; object-position: 58% center; }
.hero-film { opacity: 0; transition: opacity var(--ease); }
.hero-film.has-frame { opacity: 1; }
.hero-scrim { background: linear-gradient(90deg, rgba(8,9,8,.84), rgba(8,9,8,.38) 70%, rgba(8,9,8,.20)), linear-gradient(0deg, rgba(8,9,8,.82), transparent 60%); }
.hero-content { position: relative; padding-top: 120px; padding-bottom: clamp(86px, 10vh, 145px); }
.hero h1 span { color: var(--accent); }
.hero-lead { margin-block: 24px 28px; color: var(--paper); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 50px; width: fit-content; align-items: center; justify-content: center; gap: 16px; padding: 10px 20px; border: 1px solid transparent; font-size: 14px; font-weight: 750; transition: background var(--ease), color var(--ease), border-color var(--ease); }
.button-accent { background: var(--accent); color: var(--film); }
.button-accent:hover { background: var(--paper); }
.button-outline { border-color: var(--muted); color: var(--paper); background: rgba(8,9,8,.35); }
.button-outline:hover { border-color: var(--paper); background: var(--paper); color: var(--film); }
.film-control { position: absolute; bottom: 24px; right: var(--gutter); min-height: 44px; min-width: 44px; background: var(--film); color: var(--paper); border: 1px solid var(--muted); }
.film-control:hover { color: var(--accent); border-color: var(--accent); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; column-gap: 24px; row-gap: 15px; margin-bottom: clamp(22px, 4vw, 48px); }
.text-link { display: inline-flex; gap: 9px; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 6px; }
.text-link:hover { color: var(--accent); text-decoration-color: currentColor; }
.work-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(20px, 3.5vw, 45px) clamp(16px, 2.5vw, 34px); }
.work-card a { display: block; }
.work-image { overflow: hidden; aspect-ratio: 16/9; background: var(--panel); }
.work-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 450ms ease; }
.work-card a:hover img { transform: scale(1.035); }
.work-caption { min-height: 85px; display: flex; gap: 12px; justify-content: space-between; align-items: start; padding-block: 16px; border-bottom: 1px solid var(--line); }
.work-caption h3 { font-size: clamp(17px, 1.9vw, 26px); letter-spacing: -.045em; }
.work-caption p { margin-top: 6px; font-size: 13px; }
.work-caption > span { color: var(--accent); margin-right: 2px; flex-shrink: 0; }
.services { background: var(--panel); border-block: 1px solid var(--line); }
.service-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 6vw, 100px); }
.service-layout .text-link { margin-top: 18px; }
.service-row { border-top: 1px solid var(--line); padding-block: 23px; }
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row p { margin-top: 12px; }
.callout { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: center; padding-block: var(--section); }
.callout h2 { font-size: clamp(32px, 4vw, 57px); }
.footer { border-top: 1px solid var(--line); background: var(--film); }
.footer-inner { min-height: 108px; flex-wrap: wrap; padding-block: 14px; }
.footer-inner > a:not(.brand),.footer small { font-size: 14px; color: var(--muted); }
.footer-inner > a:not(.brand):hover { color: var(--accent); }
.page-intro h1,.detail h1 { font-size: clamp(38px, 6.5vw, 89px); }
.lede { max-width: 670px; margin-top: 24px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 42px 0 30px; }
.filters button { min-height: 44px; padding: 7px 15px; color: var(--paper); background: transparent; border: 1px solid var(--line); font-size: 14px; }
.filters button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--film); font-weight: 750; }
.filters button:hover { border-color: var(--accent); }
.filters[hidden] + .visually-hidden + .work-grid { margin-top: 36px; }
.detail { padding-top: clamp(40px, 6vw, 92px); }
.detail-head { margin-bottom: clamp(24px, 4vw, 48px); }
.detail-head > .text-link { margin-bottom: 20px; }
.player,.project-still { margin-bottom: 28px; }
.player { aspect-ratio: 16/9; background: var(--film); }
.player iframe,.player video { display: block; width: 100%; height: 100%; border: 0; }
.project-still img,.studio-image img { width: 100%; height: auto; }
.credits { margin-block: 36px; max-width: 750px; }
.credits p { margin-top: 9px; }
.gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-block: 30px; }
.gallery img { width: 100%; height: auto; }
.project-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; border-top: 1px solid var(--line); margin-top: 44px; }
.project-nav a { display: grid; gap: 4px; padding-block: 15px; }
.project-nav a:nth-child(2) { text-align: end; }
.project-nav small { color: var(--muted); }
.project-nav a:hover strong { color: var(--accent); }
.studio-image { margin-block: clamp(30px, 6vw, 88px); }
.process { margin: 0; padding-left: 24px; }
.process li { border-top: 1px solid var(--line); padding-block: 16px; }
.process strong { display: block; font-size: 19px; color: var(--paper); }
.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(28px, 6vw, 90px); margin-top: clamp(32px, 6vw, 90px); }
.contact-info > div { border-top: 1px solid var(--line); padding-block: 16px; }
.contact-info h2 { margin-bottom: 6px; }
.contact-info h2,form h2 { font-size: 23px; letter-spacing: -.045em; }
.contact-info a { display: inline-flex; align-items: center; min-height: 44px; gap: 9px; }
.contact-info a:hover { color: var(--accent); }
form { background: var(--panel); border: 1px solid var(--line); padding: clamp(20px, 3vw, 40px); }
form h2 { margin-bottom: 20px; }
form label { display: block; font-size: 14px; font-weight: 650; margin-top: 14px; }
form label span,.form-note { color: var(--muted); font-size: 13px; }
form input,form select,form textarea { width: 100%; min-height: 48px; display: block; margin-top: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 0; background: var(--film); color: var(--paper); font-size: 16px; }
form textarea { resize: vertical; }
.form-note { margin-block: 15px; }
.fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
@media (max-width: 720px) {
  .header-inner { min-height: 68px; }
  .brand { gap: 6px; }
  .brand-mark { width: 24px; height: 24px; }
  .hero { min-height: max(590px, 83svh); }
  .hero-content { padding-bottom: 90px; }
  .hero-poster,.hero-film { object-position: 60% center; }
  .hero-scrim { background: linear-gradient(90deg, rgba(8,9,8,.72), rgba(8,9,8,.21)), linear-gradient(0deg, rgba(8,9,8,.88), transparent); }
  .work-grid,.service-layout,.contact-grid { grid-template-columns: minmax(0,1fr); }
  .work-caption { min-height: 70px; }
}
@media (max-width: 360px) {
  .header-inner { gap: 8px; }
  .header nav { gap: 8px; }
  .header nav a:last-child { padding-inline: 5px; }
  .fields { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
