:root {
  color-scheme: light;
  --ink: var(--pi-ink, #12252d);
  --muted: #52636b;
  --line: var(--pi-border, #c6dfe8);
  --link: var(--pi-link, #075771);
  font: 100%/1.5 Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
  color: var(--ink);
  background: #fbfcfb;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, p, figure, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 3px solid #087da0; outline-offset: 4px; }
.wrap { width: min(1250px, calc(100% - clamp(48px, 9vw, 144px))); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip:focus { position: absolute; z-index: 4; top: 8px; left: 8px; padding: 10px 16px; background: white; }
.mast { background: #f4fafb; border-bottom: 1px solid var(--line); }
.mast-inner { min-height: 75px; display: flex; gap: clamp(16px, 3.6vw, 54px); align-items: center; }
.mast nav { margin-left: auto; display: flex; gap: clamp(14px, 2.6vw, 37px); }
.mast nav a, .pdf-link { font-weight: 670; font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.mast nav a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.mast nav [aria-current] { color: var(--link); }
.pdf-link { white-space: nowrap; padding: 5px 17px; color: var(--link); border: 1px solid var(--link); border-radius: 100px; }
.pdf-link:hover { color: white; background: var(--link); }
.project { display: none; scroll-margin-top: 80px; }
#dororong, .project:target, .project.is-current { display: block; }
main:has(.project:target) #dororong:not(:target), .project[hidden] { display: none !important; }
#dororong { --accent: #7b335f; --wash: #faf1f6; }
#torriden { --accent: #216183; --wash: #edf6fa; }
#rooftop { --accent: #764828; --wash: #f7f2eb; }
#forge { --accent: #215578; --wash: #eef3f7; }
.project-head { padding-block: 24px clamp(32px, 4vw, 60px); }
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-size: 14px; color: var(--muted); font-weight: 650; }
.back span { font: 25px/1 Georgia, serif; }
.intro { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(30px, 7vw, 100px); align-items: end; margin-top: clamp(25px, 3.6vw, 54px); }
.category { font-weight: 700; color: var(--accent); font-size: 14px; margin-bottom: 10px; }
h1 { font: 530 clamp(52px, 7.25vw, 114px)/.96 Arial, sans-serif; letter-spacing: -.077em; }
h1 em { display: block; font: italic 400 .87em/1 Georgia, "Times New Roman", serif; letter-spacing: -.065em; color: var(--accent); }
.intro-copy > p, .chapter-copy p { letter-spacing: -.026em; line-height: 1.75; word-break: keep-all; overflow-wrap: break-word; }
.intro-copy > p { font-size: clamp(15px, 1.16vw, 18px); }
.intro-copy dl { margin-top: 15px; }
.intro-copy dl div { display: grid; grid-template-columns: 74px minmax(0,1fr); gap: 8px; font-size: 13px; margin-top: 4px; }
.intro-copy dt { color: var(--muted); }
.film { margin-top: 0; }
.film-screen { position: relative; overflow: hidden; background: #101416; }
.film-screen img, .film-screen iframe { display: block; width: 100%; height: auto; aspect-ratio: 16/9; border: 0; object-fit: contain; }
.film-screen iframe { position: absolute; inset: 0; height: 100%; }
.film-footer { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: flex-end; margin-block: 7px 0; }
.text-link { display: inline-flex; min-height: 39px; align-items: center; font-size: 14px; font-weight: 650; color: var(--link); }
.story { max-width: 1150px; margin-inline: auto; }
.chapter { margin-top: clamp(45px, 6vw, 88px); }
.chapter-copy { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(24px, 6vw, 82px); align-items: start; border-top: 1px solid var(--line); padding-top: clamp(19px, 2.6vw, 34px); margin-bottom: clamp(20px, 2.7vw, 36px); }
.chapter-copy h2 { color: var(--accent); font-size: clamp(23px, 2.8vw, 39px); font-weight: 650; letter-spacing: -.065em; line-height: 1.28; }
.chapter-copy p { margin: 0; font-size: clamp(1rem, 1.2vw, 1.125rem); }
.chapter > :is(.shot, .process-pair, .shot-note) + :is(.shot, .process-pair, .shot-note) { margin-top: clamp(20px, 2.8vw, 38px); }
.process-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.85vw, 25px); align-items: start; }
.shot-note { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(0,1fr); grid-template-areas: "image text"; align-items: center; gap: clamp(20px,3vw,42px); }
.shot-note > .shot, .shot-note > .process-pair { grid-area: image; }
.shot-note > .process-pair { grid-template-columns: 1fr; }
.shot-copy { grid-area: text; }
.shot-copy h3 { margin: 0 0 10px; font-size: clamp(1.1rem, 1.65vw, 1.55rem); color: var(--accent); line-height: 1.37; letter-spacing: -.035em; word-break: keep-all; }
.shot-copy p { line-height: 1.83; font-size: 1rem; word-break: keep-all; }
.shot a { display: block; cursor: zoom-in; background: var(--wash); }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { color: var(--muted); font-size: .875rem; padding-top: 8px; }
.project-footer { margin-block: clamp(60px, 8vw, 105px) 35px; }
.project-jumps { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-block: 1px solid var(--line); }
.project-jumps a { padding: clamp(17px, 3vw, 32px) 0; }
.project-jumps a + a { text-align: right; }
.project-jumps small, .project-jumps strong { display: block; }
.project-jumps small { color: var(--muted); font-size: 13px; margin-bottom: 4px; }
.project-jumps strong { font: 500 clamp(20px, 2.8vw, 41px)/1.2 Georgia, serif; letter-spacing: -.055em; }
.project-jumps a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.project-footer .back { margin-top: 12px; }
.lightbox { max-width: none; max-height: none; position: fixed; inset: 0; margin: 0; width: 100%; height: 100%; border: 0; padding: 0; color: white; background: #11161a; }
.lightbox::backdrop { background: #11161a; }
html:has(.lightbox[open]) { overflow: hidden; }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; }
.lightbox img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.lightbox-controls { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 9px 16px; }
.lightbox-controls p { text-align: center; font-size: 14px; }
.lightbox button { border: 1px solid #68747b; border-radius: 100px; background: #11161a; color: white; min-height: 42px; min-width: 42px; padding: 7px 13px; }
.lightbox .close { position: absolute; top: 12px; right: 14px; }
@media (max-width: 740px) {
  .wrap { width: calc(100% - 36px); }
  .mast-inner { display: grid; grid-template-columns: 1fr auto; gap: 0 14px; padding-block: 6px; }
  .mast-inner .partner-lockup { justify-self: start; }
  .mast nav { grid-row: 2; grid-column: 1 / -1; margin: 0; gap: 21px; }
  .mast nav a { min-height: 35px; font-size: 13px; }
  .pdf-link { grid-column: 2; grid-row: 1; min-height: 38px; font-size: 13px; }
  .project-head { padding-top: 13px; }
  .intro { grid-template-columns: 1fr; gap: 20px; margin-top: 18px; }
  h1 { font-size: clamp(52px, 12.6vw, 80px); }
  .intro-copy > p { max-width: 43em; }
  .chapter-copy { grid-template-columns: 1fr; gap: 11px; }
  .shot-note { grid-template-columns: 1fr; grid-template-areas: "text" "image"; gap: 13px; }
  .shot-copy h3 { margin-bottom: 6px; }
  .process-pair, .shot-note > .process-pair { grid-template-columns: 1fr; gap: 16px; }
  .project-jumps { gap: 12px; }
}
@media (max-width: 390px) {
  .wrap { width: calc(100% - 28px); }
  .mast nav { gap: 14px; }
  .lightbox-controls { gap: 8px; }
}
