/* Layout: cinematic dark — full-bleed reels (left text / right client), thin wide display type, mono metadata */
:root {
  --ink: #0c0c0d;
  --ink-2: #151516;
  --paper: #ebe8e3;
  --mute: #8e8b86;
  --line: rgba(235, 232, 227, 0.14);
  --edge: #c3ccd4;
  --display: "Archivo", "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --body: "Archivo", "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  /* small labels: one face for Hangul and Latin alike */
  --label: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --head-h: 64px;
  --gut-l: max(16px, env(safe-area-inset-left, 0px));
  --gut-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--ink); scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--body); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 1px solid var(--edge); outline-offset: 3px; }
.wrap { padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
@media (max-width: 640px) { .wrap { padding-left: var(--gut-l); padding-right: var(--gut-r); } }

/* header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); }
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; height: var(--head-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; background: rgba(12, 12, 13, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-head nav { display: flex; align-items: center; gap: 4px; font-family: var(--label); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.site-head nav a, .site-head nav button { padding: 8px 10px; color: var(--mute); transition: color 0.2s; background: none; border: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.site-head nav a:hover, .site-head nav a[aria-current="page"], .site-head nav button:hover, .site-head nav button[aria-pressed="true"] { color: var(--paper); }
.site-head nav .sep { width: 1px; height: 12px; background: var(--line); }
.site-head .right { justify-content: flex-end; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-stretch: 125%; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.logo i { display: block; width: 22px; height: 1px; background: var(--paper); transform: rotate(-38deg); }
@media (max-width: 720px) {
  .site-head { grid-template-columns: auto 1fr; }
  .site-head .left { display: none; }
  .logo { font-size: 13px; }
  .site-head nav a, .site-head nav button { padding: 8px 6px; }
}

/* reel strip — the signature element */
.reels { display: flex; flex-direction: column; }
.reel { position: relative; display: block; height: clamp(124px, 15vw, 210px); overflow: hidden; border-bottom: 1px solid var(--line); isolation: isolate; cursor: pointer; }
.reel-bg { position: absolute; inset: 0; z-index: -1; }
.reel-bg img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); filter: brightness(0.5) saturate(0.85); transform: scale(1.02); transition: filter 0.6s ease, transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 12, 13, 0.78) 0%, rgba(12, 12, 13, 0.2) 55%, rgba(12, 12, 13, 0.55) 100%); }
.reel:hover .reel-bg img, .reel:focus-visible .reel-bg img { filter: brightness(0.85) saturate(1); transform: scale(1.06); }
.reel-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.reel-txt { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.reel-meta { font-family: var(--label); font-size: 12px; font-weight: 400; letter-spacing: 0.03em; text-transform: uppercase; color: rgba(235, 232, 227, 0.75); }
.msep { font-style: normal; margin: 0 0.5em; opacity: 0.55; }
.reel-meta b { font-weight: 500; color: var(--paper); }
.reel-title { margin: 0; font-family: var(--display); font-weight: 200; font-stretch: 100%; font-size: clamp(28px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -0.01em; text-wrap: balance; overflow-wrap: anywhere; }
.reel-title em { font-style: normal; font-weight: 300; font-stretch: 75%; font-size: 0.42em; letter-spacing: 0.02em; color: rgba(235, 232, 227, 0.7); margin-left: 0.5em; white-space: nowrap; }
.reel-client { flex: none; font-family: var(--display); font-stretch: 125%; font-weight: 700; font-size: clamp(12px, 1.25vw, 17px); letter-spacing: 0.1em; text-transform: uppercase; text-align: right; line-height: 1.2; opacity: 0.92; }
.reel-client { display: flex; flex-direction: column; align-items: flex-end; }
.mark { --s: 1; display: block; width: calc(var(--w) * var(--s) * 1px); max-width: 100%; height: auto; opacity: 0.92; }
@media (max-width: 640px) { .mark { --s: 0.72; } }
.mark[src$=".webp"] { filter: brightness(0) invert(1); }
.mark-type { display: block; }
.reel-client small { display: block; font-family: var(--label); font-weight: 400; font-stretch: 100%; font-size: 10px; letter-spacing: 0.14em; color: var(--mute); margin-top: 4px; }
@media (max-width: 640px) {
  .reel-title em { display: block; margin-left: 0; margin-top: 4px; font-size: 0.5em; }
  .reel-client { font-size: 11px; max-width: 34%; }
  .reel-client small { display: none; }
}

/* shared typographic bits */
.eyebrow { font-family: var(--label); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }
.site-foot { border-top: 1px solid var(--line); padding-block: 56px 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.site-foot h2 { margin: 0 0 10px; font-family: var(--display); font-weight: 200; font-size: clamp(28px, 3.6vw, 48px); line-height: 1.05; }
.site-foot p { margin: 0; color: var(--mute); }
.site-foot .addr { font-family: var(--label); font-size: 13px; color: var(--paper); user-select: all; }
.site-foot .copy { grid-column: 1 / -1; font-family: var(--label); font-size: 11px; letter-spacing: 0.1em; color: var(--mute); padding-top: 24px; border-top: 1px solid var(--line); }
.btn-line { display: inline-flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--paper); font-family: var(--label); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.btn-line:hover { color: var(--edge); border-color: var(--edge); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
