/* NF Production — 영상 포트폴리오 */

:root {
  --bg: #0D0D0B;
  --ink: #EFECE4;
  --sub: #9A968C;
  --sub-2: #C9C5BB;
  --line: #2A2A25;
  --line-2: #3A3A34;
  --tile: #1C1B18;
  --accent: #FF5A1F;
  --pad: 48px;
  --header-h: 88px;
  --display: "Syne", sans-serif;
  --sans: "IBM Plex Sans KR", sans-serif;
  --mono: "JetBrains Mono", monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1680px; margin-inline: auto; padding-inline: var(--pad); }
.mono { font-family: var(--mono); letter-spacing: .08em; }
.label { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; color: var(--accent); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 999; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ───── 버튼 ───── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 30px; border-radius: 999px;
  font-weight: 600; font-size: 16px; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn svg { flex-shrink: 0; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn-accent { background: var(--accent); color: var(--bg); }
.btn-accent:hover { background: var(--ink); }
.btn-line { border: 1px solid var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--bg); }
.btn-dark { background: var(--bg); color: var(--ink); height: 64px; padding: 0 36px; font-size: 17px; }
.btn-dark:hover { background: #2a2a26; }

/* ───── 헤더 ───── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid var(--line);
}
/* 흐림 효과는 뒤 레이어에 — 헤더 자체에 걸면 안쪽 고정 메뉴가 헤더 기준으로 잡혀 투명하게 보인다 */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(13, 13, 11, .86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: baseline; gap: 14px; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -.02em; white-space: nowrap; }
.brand-sub { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--sub); white-space: nowrap; }
.nav { display: flex; gap: 40px; font-size: 15px; font-weight: 500; }
.nav a { position: relative; padding: 6px 0; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--accent); }
.header-cta { height: 44px; padding: 0 22px; font-size: 15px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; align-items: center; justify-content: center; margin-right: -10px; }
.menu-btn path { transform-origin: 12px 12px; transition: transform .3s var(--ease); }
.menu-btn[aria-expanded="true"] path:first-child { transform: rotate(45deg) translateY(4px); }
.menu-btn[aria-expanded="true"] path:last-child { transform: rotate(-45deg) translateY(-4px); }
.mobile-menu { display: none; }

/* ───── 히어로 ───── */
.hero { background: #000; padding-block: 56px; }
.hero-frame {
  position: relative; overflow: hidden;
  height: calc(100svh - var(--header-h) - 112px);
  min-height: 560px; max-height: 860px;
  background: #161613;
}
.hero-media, .hero-media img, .hero-shade { position: absolute; inset: 0; }
.hero-media { container-type: size; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media iframe {
  position: absolute; top: 50%; left: 50%; border: 0; pointer-events: none;
  width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw);
  transform: translate(-50%, -50%) scale(1.2);
  opacity: 0; transition: opacity 1.2s ease;
}
.hero-media iframe.is-on { opacity: 1; }
.hero-shade { background: rgba(8, 8, 6, .55); }
.corner { position: absolute; width: 28px; height: 28px; border: 0 solid var(--ink); }
.corner.tl { left: 48px; top: 32px; border-top-width: 2px; border-left-width: 2px; }
.corner.tr { right: 48px; top: 32px; border-top-width: 2px; border-right-width: 2px; }
.corner.bl { left: 48px; bottom: 32px; border-bottom-width: 2px; border-left-width: 2px; }
.corner.br { right: 48px; bottom: 32px; border-bottom-width: 2px; border-right-width: 2px; }
.hero-top {
  position: absolute; left: 96px; right: 96px; top: 44px;
  display: flex; justify-content: space-between; gap: 16px;
  font-family: var(--mono); font-size: 13px; letter-spacing: .08em;
}
.rec { display: flex; align-items: center; gap: 10px; }
.rec i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); animation: blink 1.6s steps(1) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.tc { color: var(--sub-2); }
.hero-body { position: absolute; left: 96px; right: 96px; bottom: 64px; display: flex; flex-direction: column; gap: 40px; }
.hero-title {
  font-family: var(--display); font-weight: 800; letter-spacing: -.045em; line-height: .88;
  font-size: min(124px, calc((100vw - 192px) / 9.6));
  white-space: nowrap;
}
.hero-title .outline { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.hero-title br.m { display: none; }
.hero-row { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.hero-desc { font-size: 18px; line-height: 1.65; color: var(--sub-2); }
.hero-desc strong { color: var(--ink); font-weight: 600; }
.play-link { display: flex; align-items: center; gap: 16px; font-weight: 600; font-size: 16px; white-space: nowrap; }
.play-link span { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); color: var(--bg); display: flex; align-items: center; justify-content: center; transition: transform .35s var(--ease), background .25s; }
.play-link:hover span { transform: scale(1.08); background: var(--ink); }

/* ───── 제작 분야 띠 ───── */
.strip { border-bottom: 1px solid var(--line); padding-block: 30px; }
.strip-list { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.strip-list span { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--sub); white-space: nowrap; }
.strip-list i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* ───── 섹션 공통 ───── */
.section { padding-block: 120px; }
.section + .section { border-top: 1px solid var(--line); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 56px; }
.sec-head .titles { display: flex; flex-direction: column; gap: 16px; }
.sec-title { font-family: var(--display); font-weight: 800; font-size: clamp(44px, 6.2vw, 88px); line-height: .95; letter-spacing: -.04em; }
.sec-count { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; color: var(--sub); padding-bottom: 8px; white-space: nowrap; }

/* ───── 영상 카드 ───── */
.grid-home { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 56px; }
.grid-all { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; row-gap: 56px; }
.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-3 { grid-column: span 3; }
.card { display: flex; flex-direction: column; gap: 16px; }
.thumb { position: relative; overflow: hidden; border-radius: 6px; background: var(--tile); aspect-ratio: 16 / 9; }
.span-5 .thumb { aspect-ratio: 5 / 4; }
.span-3 .thumb { aspect-ratio: 16 / 10; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.card:hover .thumb img { transform: scale(1.05); }
.tag { position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(13, 13, 11, .78); font-size: 12px; font-weight: 500; }
.card-play { position: absolute; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%; background: rgba(13, 13, 11, .7); display: flex; align-items: center; justify-content: center; transition: background .25s, color .25s, transform .35s var(--ease); }
.card:hover .card-play { background: var(--accent); color: var(--bg); transform: scale(1.1); }
.big .tag { left: 20px; top: 20px; font-size: 13px; }
.big .card-play { right: 20px; bottom: 20px; width: 56px; height: 56px; }
.card-title { font-size: 20px; font-weight: 700; letter-spacing: -.02em; line-height: 1.35; }
.big .card-title { font-size: 28px; }
.span-3 .card-title { font-size: 19px; }
.card-client { font-size: 14px; color: var(--sub); margin-top: 4px; }
.big .card-client { font-size: 15px; }
.more { display: flex; justify-content: center; margin-top: 64px; }

/* ───── 서비스 ───── */
.services { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.services-intro { grid-column: span 4; display: flex; flex-direction: column; gap: 20px; }
.services-intro h2 { font-size: clamp(32px, 3.4vw, 48px); font-weight: 700; line-height: 1.2; letter-spacing: -.03em; }
.services-intro p { font-size: 16px; line-height: 1.7; color: var(--sub); max-width: 340px; }
.services-list { grid-column: span 8; list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.services-list li { min-height: 136px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 80px 1fr 1fr; align-items: center; column-gap: 24px; padding-block: 24px; }
.services-list .num { font-family: var(--mono); font-size: 14px; color: var(--accent); }
.services-list h3 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; letter-spacing: -.03em; line-height: 1.25; }
.services-list p { font-size: 16px; color: var(--sub); }

/* ───── 소개 ───── */
.about { display: flex; flex-direction: column; gap: 28px; }
.about p { font-size: clamp(28px, 4.2vw, 60px); font-weight: 600; line-height: 1.3; letter-spacing: -.035em; }
.about em { font-style: normal; color: var(--accent); }

/* ───── 문의 (LET'S ROLL) ───── */
.cta { background: var(--accent); color: var(--bg); padding-block: 72px 64px; }
.cta .wrap { display: flex; flex-direction: column; gap: 56px; }
.cta-top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; }
.cta h2 { display: flex; flex-direction: column; font-weight: 400; }
.cta-kr { font-size: clamp(26px, 3vw, 44px); font-weight: 700; line-height: 1.32; letter-spacing: -.03em; margin-bottom: clamp(24px, 3vw, 40px); }
.roll { font-family: var(--display); font-weight: 800; letter-spacing: -.05em; line-height: .84; white-space: nowrap; font-size: min(220px, calc((100vw - 96px) / 5.1)); }
.roll.right { align-self: flex-end; }
.roll .dot { margin-left: .07em; }
.cta-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; border-top: 1.5px solid var(--bg); padding-top: 28px; }
.cta-info { display: flex; gap: 56px; align-items: flex-end; flex-wrap: wrap; }
.cta-info div { display: flex; flex-direction: column; gap: 6px; }
.cta-info small { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; }
.cta-info a { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 2.8vw, 40px); letter-spacing: -.02em; line-height: 1.1; }
.cta-info a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* ───── 푸터 ───── */
.site-footer { padding-block: 48px; font-size: 13px; color: var(--sub); }
.site-footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.site-footer .brand-name { font-size: 22px; color: var(--ink); }
.footer-info { display: flex; flex-direction: column; gap: 2px; line-height: 1.6; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { color: var(--sub-2); }
.footer-links a:hover { color: var(--ink); }
.copy { font-family: var(--mono); font-size: 12px; }

/* ───── 전체 작업 페이지 ───── */
.page-head { padding-block: 96px 64px; display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.page-head .titles { display: flex; flex-direction: column; gap: 20px; }
.page-title { font-family: var(--display); font-weight: 800; font-size: clamp(56px, 8.4vw, 120px); line-height: .95; letter-spacing: -.045em; }
.page-head p { max-width: 420px; font-size: 17px; line-height: 1.7; color: var(--sub-2); padding-bottom: 8px; }
.work-all { padding-bottom: 120px; }
.next-tile {
  grid-column: span 2; border-radius: 6px; background: var(--accent); color: var(--bg);
  padding: 32px 36px 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  container-type: inline-size; transition: background .3s;
}
.next-tile:hover { background: #ff6d38; }
.next-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.next-top span:first-child { font-size: clamp(20px, 2vw, 26px); font-weight: 700; line-height: 1.35; letter-spacing: -.03em; }
.next-arrow { width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; background: var(--bg); color: var(--ink); display: flex; align-items: center; justify-content: center; transition: transform .35s var(--ease); }
.next-tile:hover .next-arrow { transform: rotate(45deg); }
.next-roll { align-self: flex-end; font-family: var(--display); font-weight: 800; letter-spacing: -.05em; line-height: .84; white-space: nowrap; font-size: min(76px, 9.4cqw); }

/* ───── 문의 페이지 ───── */
.contact-page { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding-block: 96px 120px; }
.contact-side { grid-column: span 5; display: flex; flex-direction: column; gap: 28px; }
.contact-side .cta-kr { margin: 0; }
.contact-lines { display: flex; flex-direction: column; gap: 20px; margin-top: 24px; border-top: 1px solid var(--line); padding-top: 28px; }
.contact-lines div { display: flex; flex-direction: column; gap: 4px; }
.contact-lines small { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--sub); }
.contact-lines a, .contact-lines span { font-size: 18px; }
.contact-lines a:hover { color: var(--accent); }
.form { grid-column: 7 / span 6; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--sub-2); }
.field label b { color: var(--accent); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; color: var(--ink);
  border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  padding: 10px 0 12px; font: inherit; font-size: 17px; transition: border-color .2s;
}
.field textarea { min-height: 160px; resize: vertical; border: 1px solid var(--line-2); border-radius: 6px; padding: 14px 16px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%239A968C' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; padding-right: 24px; }
.field select option { background: var(--bg); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field input::placeholder, .field textarea::placeholder { color: #6E6B63; }
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--sub-2); line-height: 1.6; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex-shrink: 0; }
.consent small { display: block; color: var(--sub); font-size: 13px; }
.form-submit { grid-column: 1 / -1; justify-self: start; border: 0; }
.hidden-field { display: none; }

.thanks { min-height: calc(100svh - var(--header-h) - 150px); display: flex; flex-direction: column; justify-content: center; gap: 28px; padding-block: 96px; }
.thanks p { font-size: 18px; color: var(--sub-2); line-height: 1.7; }

/* ───── 영상 팝업 ───── */
.player { width: min(1200px, calc(100vw - 32px)); max-width: none; padding: 0; border: 0; background: transparent; color: var(--ink); overflow: visible; }
.player::backdrop { background: rgba(0, 0, 0, .88); }
.player-box { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 6px; overflow: hidden; }
.player-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 14px; }
.player-title { font-weight: 600; font-size: 16px; }
.player-actions { display: flex; gap: 8px; }
.player-actions a, .player-actions button { height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.player-actions a:hover, .player-actions button:hover { border-color: var(--ink); }

/* ───── 등장 효과 ───── */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ───── 태블릿 ───── */
@media (max-width: 1100px) {
  .nav { gap: 28px; }
  .brand-sub { display: none; }
  .grid-home .span-7, .grid-home .span-5 { grid-column: span 12; }
  .grid-home .span-5 .thumb { aspect-ratio: 16 / 9; }
  .grid-home .span-3 { grid-column: span 6; }
  .grid-all { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-intro { grid-column: 1 / -1; margin-bottom: 48px; }
  .services-list { grid-column: 1 / -1; }
  .contact-side { grid-column: 1 / -1; margin-bottom: 64px; }
  .form { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .header-cta { display: none; }
}

/* 폴드 펼침·태블릿: 히어로를 영상 비율(16:9)로 */
@media (min-width: 761px) and (max-width: 1100px) {
  .hero { padding-block: 40px; }
  .hero-frame { height: auto; min-height: 0; max-height: none; aspect-ratio: 16 / 9; }
  .corner { width: 22px; height: 22px; }
  .corner.tl, .corner.bl { left: 28px; }
  .corner.tr, .corner.br { right: 28px; }
  .corner.tl, .corner.tr { top: 24px; }
  .corner.bl, .corner.br { bottom: 24px; }
  .hero-top { left: 64px; right: 64px; top: 32px; font-size: 12px; }
  .hero-body { left: 64px; right: 64px; bottom: 44px; gap: 24px; }
  .hero-title { font-size: min(96px, calc((100vw - 128px) / 9.6)); }
  .hero-row { gap: 32px; }
  .hero-desc { font-size: 15px; }
  .play-link { font-size: 15px; gap: 14px; }
  .play-link span { width: 56px; height: 56px; }
}

/* ───── 모바일 ───── */
@media (max-width: 760px) {
  :root { --pad: 24px; --header-h: 64px; }
  .nav, .header-cta { display: none; }
  .brand-name { font-size: 20px; }
  .menu-btn { display: inline-flex; }
  .mobile-menu {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    background: var(--bg); padding: 24px var(--pad) 40px;
    flex-direction: column; gap: 4px;
  }
  .mobile-menu.open { display: flex; animation: menu-in .3s var(--ease); }
  @keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }
  .mobile-menu a:not(.btn) { font-size: 28px; font-weight: 700; letter-spacing: -.02em; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { margin-top: 28px; }

  /* 모바일도 영상은 16:9 — 타이틀만 영상 위, 설명·버튼은 영상 아래 */
  .hero { padding-block: 0 48px; }
  .hero-frame { --screen: 56.25vw; height: auto; min-height: 0; max-height: none; padding-top: var(--screen); background: #000; }
  .hero-media, .hero-shade { bottom: auto; height: var(--screen); }
  .corner { width: 16px; height: 16px; }
  .corner.tl, .corner.bl { left: 14px; }
  .corner.tr, .corner.br { right: 14px; }
  .corner.tl, .corner.tr { top: 14px; }
  .corner.bl, .corner.br { bottom: auto; top: calc(var(--screen) - 30px); }
  .hero-top { left: 40px; right: 40px; top: 17px; font-size: 10px; letter-spacing: .06em; }
  .rec { gap: 8px; }
  .rec i { width: 7px; height: 7px; }
  .hero-top .hide-m { display: none; }
  .hero-body { position: static; padding: 28px var(--pad) 0; gap: 24px; }
  .hero-title {
    position: absolute; left: 40px; top: calc(var(--screen) - 34px); transform: translateY(-100%);
    font-size: calc((100vw - 80px) / 9.6);
  }
  .hero-title .outline { -webkit-text-stroke-width: 1.5px; }
  .hero-row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero-desc { font-size: 15px; }
  .play-link { font-size: 15px; gap: 14px; }
  .play-link span { width: 56px; height: 56px; }

  .strip { padding-block: 20px; }
  .strip-list { gap: 6px; }
  .strip-list span { font-size: min(14px, 3.6vw); }
  .strip-list i { width: 4px; height: 4px; }

  .section { padding-block: 72px; }
  .sec-head { margin-bottom: 32px; }
  .sec-count { font-size: 11px; padding-bottom: 4px; }
  .grid-home, .grid-all { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .grid-home .card, .grid-all .card, .grid-all .next-tile { grid-column: 1 / -1; }
  .grid-home .span-3 .thumb { aspect-ratio: 16 / 9; }
  .hide-m { display: none; }
  .big .card-title, .card-title, .span-3 .card-title { font-size: 19px; }
  .tag, .big .tag { left: 12px; top: 12px; font-size: 12px; }
  .card-play, .big .card-play { right: 12px; bottom: 12px; width: 40px; height: 40px; }
  .more { margin-top: 40px; }
  .more .btn { width: 100%; height: 52px; font-size: 15px; }

  .services-intro { margin-bottom: 36px; gap: 14px; }
  .services-intro p { font-size: 15px; }
  .services-list li { min-height: 112px; grid-template-columns: 32px 1fr; row-gap: 6px; padding-block: 20px; }
  .services-list .num { font-size: 12px; }
  .services-list p { grid-column: 2; font-size: 14px; }

  .cta { padding-block: 56px 48px; }
  .cta .wrap { gap: 40px; }
  .cta-top { font-size: 11px; letter-spacing: .06em; }
  .roll { font-size: calc((100vw - 48px) / 4.9); }
  .cta-bottom { flex-direction: column; align-items: stretch; gap: 20px; padding-top: 20px; }
  .cta-info { flex-direction: column; align-items: flex-start; gap: 4px; }
  .cta-info small { display: none; }
  .cta-info div:last-child a { font-family: var(--mono); font-weight: 400; font-size: 15px; letter-spacing: 0; }
  .cta-bottom .btn { height: 56px; font-size: 16px; }

  .site-footer { padding-block: 40px; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; gap: 20px; }
  .site-footer .brand-name { font-size: 20px; }

  .page-head { flex-direction: column; align-items: flex-start; gap: 24px; padding-block: 56px 40px; }
  .page-head p { font-size: 15px; }
  .work-all { padding-bottom: 72px; }
  .next-tile { grid-column: auto; min-height: 220px; padding: 24px; }

  .contact-page { padding-block: 56px 72px; }
  .contact-side { margin-bottom: 48px; }
  .form { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .form-submit { justify-self: stretch; }
  .player-bar { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px) {
  .brand-name { font-size: 17px; }
}

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

.contact-roll { font-size: min(110px, calc((100vw - 48px) / 5.2)); line-height: .86; }
