:root {
  color-scheme: light;
  --ink: #0b1220;
  --text: #243049;
  --muted: #6b778d;
  --line: #d8e0ec;
  --surface: #ffffff;
  --soft: #edf3fa;
  --blue: #2f65e7;
  --cyan: #22b8c7;
  --pink: #f05a9d;
  --yellow: #f6c94c;
  --deep: #07101d;
  --shadow: 0 24px 70px rgba(8, 19, 36, .16);
  --radius: 8px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(10, 19, 34, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 19, 34, .045) 1px, transparent 1px),
    #f4f8fd;
  background-size: 40px 40px;
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.dialog-open { overflow: hidden; }

a { color: inherit; }

img, video { max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 16, 29, .92);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(18px);
}

.nav {
  max-width: var(--max);
  min-height: 68px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
}

.brand-wordmark {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 6px 2px;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: .04em;
  text-shadow:
    2px 2px 0 rgba(47, 101, 231, .9),
    -1px -1px 0 rgba(34, 184, 199, .82),
    0 8px 22px rgba(0, 0, 0, .38);
}

.brand-wordmark::before {
  content: "";
  position: absolute;
  left: 0;
  right: 4px;
  bottom: 0;
  height: 7px;
  z-index: -1;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--blue) 48%, var(--pink));
  transform: skewX(-16deg);
  box-shadow: 0 0 18px rgba(34, 184, 199, .34);
}

.brand-wordmark::after {
  content: "";
  position: absolute;
  top: 2px;
  right: -12px;
  width: 8px;
  height: 8px;
  clip-path: polygon(50% 0, 62% 36%, 100% 50%, 62% 64%, 50% 100%, 38% 64%, 0 50%, 38% 36%);
  background: var(--yellow);
  filter: drop-shadow(0 0 8px rgba(246, 201, 76, .8));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03)),
    rgba(3, 9, 18, .36);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 14px 36px rgba(0, 0, 0, .2);
}

.nav-links a {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition: color .22s ease, transform .22s ease, background .22s ease, box-shadow .22s ease;
}

.nav-links a::before {
  content: "";
  position: absolute;
  inset: 3px;
  z-index: -2;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(47, 101, 231, .95), rgba(34, 184, 199, .72) 52%, rgba(240, 90, 157, .9));
  opacity: 0;
  transform: scale(.82) rotate(-2deg);
  transition: opacity .22s ease, transform .22s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 9px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 0 0 16px rgba(246, 201, 76, .95);
  opacity: 0;
  transform: translateY(6px) scale(.5);
  transition: opacity .22s ease, transform .22s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
  transform: translateY(-2px);
}

.nav-links a:hover::before,
.nav-links a:focus-visible::before {
  opacity: 1;
  transform: scale(1) rotate(0);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100dvh - 68px));
  margin: 28px auto 0;
  padding: 58px 44px 28px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, .82fr);
  gap: 50px;
  align-items: center;
  max-width: var(--max);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 28px;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(7, 16, 29, .96), rgba(10, 25, 48, .92) 58%, rgba(29, 38, 57, .88)),
    radial-gradient(circle at 88% 8%, rgba(240, 90, 157, .24), transparent 24rem);
  box-shadow: 0 34px 100px rgba(7, 16, 29, .22);
  overflow: hidden;
}

.hero > * {
  min-width: 0;
}

.hero::after {
  content: "092 / VTUBER EDITING DESK";
  position: absolute;
  left: 44px;
  bottom: 118px;
  color: rgba(255, 255, 255, .08);
  font-size: clamp(54px, 9vw, 126px);
  font-weight: 900;
  line-height: .82;
  letter-spacing: 0;
  pointer-events: none;
  white-space: nowrap;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .9), transparent 75%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.label,
.hero-kicker {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 900;
}

.hero-kicker {
  width: fit-content;
  padding: 8px 10px;
  border: 1px solid rgba(34, 184, 199, .32);
  border-radius: 6px;
  background: rgba(34, 184, 199, .08);
}

h1, h2, h3, p { letter-spacing: 0; }

h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(44px, 4.65vw, 68px);
  line-height: .98;
  text-wrap: balance;
}

.hero-title span {
  display: block;
}

.hero-lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .74);
  font-size: clamp(16px, 1.55vw, 19px);
  line-height: 1.78;
}

.hero-facts {
  max-width: 610px;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, .16);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.hero-facts div {
  padding: 14px 14px 14px 0;
}

.hero-facts dt {
  color: rgba(255, 255, 255, .48);
  font-size: 12px;
  font-weight: 900;
}

.hero-facts dd {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, .9);
  font-weight: 900;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 46px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover { transform: translateY(-2px); }

.button.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 14px 30px rgba(50, 111, 232, .24);
}

.button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .18);
}

.button.secondary.dark {
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .24);
}

.hero-media {
  position: relative;
  min-height: 460px;
  isolation: isolate;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 80px 38px 52px 42px;
  border-radius: 34px;
  background: rgba(255, 255, 255, .07);
  box-shadow: 0 32px 100px rgba(0, 0, 0, .18);
  transform: rotate(-2deg);
  z-index: -1;
}

.hero-showcase {
  position: absolute;
  inset: 22px 0 auto auto;
  width: min(100%, 480px);
  aspect-ratio: 4 / 3;
  padding: 0;
  display: block;
  overflow: hidden;
  border: 0;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 22px;
  background: #10213f;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .30);
  cursor: pointer;
}

.hero-showcase img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}

.hero-showcase:hover img {
  transform: scale(1.025);
}

.hero-showcase-meta {
  position: absolute;
  right: 16px;
  bottom: 16px;
  max-width: calc(100% - 32px);
  padding: 10px 13px;
  display: grid;
  gap: 2px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, rgba(7, 17, 31, .82), rgba(30, 64, 125, .74));
  font-size: 13px;
  font-weight: 900;
  text-align: right;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
}

.hero-showcase-meta small {
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
}

.hero-strip {
  position: absolute;
  left: 8px;
  bottom: 34px;
  display: flex;
  gap: 12px;
}

.hero-strip img {
  width: 112px;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 18px;
  box-shadow: 0 20px 56px rgba(0, 0, 0, .28);
}

.hero-panel {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  width: 100%;
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-panel span {
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, .86);
  background: rgba(255, 255, 255, .06);
  font-weight: 900;
}

.hero-panel span:nth-child(3) {
  color: #fff;
  background: var(--pink);
}

.section-pad {
  max-width: var(--max);
  margin: 0 auto;
  padding: 82px 24px 0;
}

.section-head {
  max-width: 820px;
}

.section-head h2,
.contact-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.12;
  text-wrap: balance;
}

.works .section-head h2 {
  max-width: 760px;
}

.service-map {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 2px solid var(--ink);
  background: transparent;
  box-shadow: none;
}

.service-item {
  min-height: 0;
  grid-column: auto;
  padding: 22px 0;
  display: grid;
  grid-template-columns: 70px minmax(180px, 260px) minmax(0, 1fr) minmax(220px, 320px);
  gap: 22px;
  align-items: start;
  border: 0;
  border-bottom: 1px solid rgba(11, 18, 32, .14);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.service-item.accent {
  grid-column: auto;
  color: var(--ink);
  background: transparent;
  border-color: rgba(11, 18, 32, .14);
}

.service-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: var(--cyan);
  font-weight: 900;
}

.service-item.accent .service-icon {
  color: var(--ink);
  background: var(--yellow);
}

.service-item h3 {
  margin: 6px 0 0;
  color: inherit;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.18;
}

.service-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.service-item.accent p,
.service-item.accent li {
  color: var(--muted);
}

.service-item ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-item li {
  padding: 10px 0;
  border-top: 1px solid rgba(100, 116, 139, .18);
  color: #40516c;
  font-weight: 800;
}

.works-head {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(260px, .55fr);
  gap: 28px;
  align-items: end;
}

.works-head > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.78;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 22px;
}

.filter {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #52647f;
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}

.filter.active {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.works-shell {
  display: grid;
  gap: 54px;
}

.works-group {
  display: grid;
  gap: 0;
  padding-top: 0;
  border-top: 2px solid var(--ink);
}

.group-head {
  display: grid;
  grid-template-columns: minmax(220px, .45fr) minmax(0, .8fr);
  align-items: start;
  gap: 18px;
  padding: 18px 0 20px;
  border-bottom: 1px solid rgba(11, 18, 32, .18);
}

.group-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.18;
}

.group-head p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.works-grid {
  display: grid;
  gap: 0;
  align-items: start;
}

.portrait-grid {
  grid-template-columns: 1fr;
}

.landscape-grid {
  grid-template-columns: 1fr;
}

.work-card {
  position: relative;
  min-height: 190px;
  padding: 18px 0;
  display: grid;
  grid-template-columns: 74px minmax(150px, 230px) minmax(0, 1fr) minmax(150px, 220px);
  gap: 18px;
  align-items: center;
  overflow: visible;
  border: 0;
  border-bottom: 1px solid rgba(11, 18, 32, .14);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: background .22s ease, transform .22s ease;
}

.work-card::before {
  content: "";
  position: absolute;
  inset: 8px -16px;
  border-radius: 16px;
  background: var(--spotlight, transparent);
  pointer-events: none;
}

.work-card:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, .44);
}

.case-index {
  position: relative;
  z-index: 1;
  align-self: start;
  padding: 8px 0 0;
  border-radius: 0;
  color: rgba(11, 18, 32, .38);
  background: transparent;
  font-size: 24px;
  font-weight: 900;
}

.cover-button {
  position: relative;
  width: 100%;
  padding: 0;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(11, 18, 32, .14);
  border-radius: 12px;
  background: #10213f;
  cursor: pointer;
  box-shadow: 0 16px 42px rgba(8, 19, 36, .12);
}

.cover-button::before {
  content: "";
  position: absolute;
  inset: -18px;
  background-image: var(--cover-image);
  background-size: cover;
  background-position: center;
  filter: blur(18px) saturate(1.15);
  opacity: .48;
  transform: scale(1.08);
}

.cover-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 17, 31, .05), rgba(7, 17, 31, .24)),
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, .16), transparent 18rem);
}

.work-card.portrait .cover-button { aspect-ratio: 10 / 13; }
.work-card.landscape .cover-button { aspect-ratio: 16 / 9; }

.cover-button img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.play-badge {
  position: absolute;
  z-index: 2;
  left: 14px;
  bottom: 14px;
  min-height: 34px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #fff;
  background: rgba(7, 17, 31, .86);
  font-size: 13px;
  font-weight: 900;
}

.card-body {
  position: relative;
  z-index: 1;
  padding: 0;
}

.tag-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.tag {
  padding: 5px 8px;
  border-radius: 6px;
  color: #0b1220;
  background: #e9f0fa;
  font-size: 12px;
  font-weight: 900;
}

.work-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(25px, 2.6vw, 36px);
  line-height: 1.25;
}

.work-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.74;
}

.meta {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  justify-content: stretch;
  padding: 0;
  margin-top: 0;
  color: #4d5d74;
  font-size: 14px;
  font-weight: 900;
  text-align: right;
}

.meta span {
  padding: 10px 12px;
  border: 1px solid rgba(11, 18, 32, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .55);
}

.main-reel {
  padding: 0;
  border: 0;
  border-top: 2px solid var(--ink);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.main-reel .group-head {
  padding-bottom: 20px;
}

.main-reel .works-grid {
  grid-template-columns: 1fr;
}

.main-reel .work-card {
  grid-template-columns: 74px minmax(260px, 380px) minmax(0, 1fr) minmax(140px, 190px);
  align-items: center;
  border-radius: 0;
  background: transparent;
  color: var(--text);
}

.main-reel .cover-button {
  aspect-ratio: 16 / 9;
}

.main-reel .card-body {
  padding: 0;
}

.main-reel .tag {
  color: #0b1220;
  background: #e9f0fa;
}

.main-reel .work-card h3 {
  color: var(--ink);
  font-size: clamp(28px, 3.2vw, 42px);
}

.main-reel .work-card p,
.main-reel .meta {
  color: var(--muted);
}

.main-reel .meta {
  padding: 0;
  align-self: center;
}

.process-steps {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
}

.process-steps article {
  padding: 24px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
}

.process-steps article:last-child,
.service-item:last-child {
  border-right: 0;
}

.process-steps span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  font-weight: 900;
}

.process-steps h3 {
  margin: 34px 0 10px;
  color: var(--ink);
  font-size: 24px;
}

.process-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.contact {
  padding-bottom: 88px;
}

.contact-card {
  padding: 44px;
  overflow: hidden;
  border-radius: 22px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    #07101d;
  background-size: 38px 38px;
  box-shadow: var(--shadow);
}

.contact-card .label {
  color: var(--cyan);
}

.contact-card h2 {
  max-width: 880px;
  color: #fff;
}

.contact-card p:not(.label) {
  max-width: 760px;
  color: rgba(255, 255, 255, .78);
  line-height: 1.82;
}

.brief-grid {
  max-width: 860px;
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.brief-grid span {
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  color: rgba(255, 255, 255, .86);
  background: rgba(255, 255, 255, .08);
  font-size: 14px;
  font-weight: 900;
}

.contact-methods {
  max-width: 860px;
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.contact-methods div {
  min-height: 74px;
  padding: 14px 16px;
  display: grid;
  align-content: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
}

.contact-methods span {
  color: rgba(255, 255, 255, .58);
  font-size: 13px;
  font-weight: 900;
}

.contact-methods strong {
  color: #fff;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.video-dialog {
  width: min(1180px, calc(100vw - 32px));
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 36px 100px rgba(0, 0, 0, .36);
}

.video-dialog::backdrop {
  background: rgba(4, 9, 18, .78);
  backdrop-filter: blur(8px);
}

.dialog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  max-height: calc(100dvh - 64px);
}

.dialog-layout video {
  width: 100%;
  height: 100%;
  max-height: calc(100dvh - 64px);
  object-fit: contain;
  background: #000;
}

.dialog-layout aside {
  padding: 24px;
  overflow: auto;
}

.dialog-layout aside p:first-child {
  margin: 0 0 10px;
  color: var(--blue);
  font-weight: 900;
}

.dialog-layout h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 26px;
}

.dialog-layout p {
  color: var(--muted);
  line-height: 1.72;
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, .64);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.load-error {
  grid-column: 1 / -1;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

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

@media (max-width: 980px) {
  .hero,
  .works-head {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .hero-media {
    min-height: 420px;
    order: -1;
  }

  .hero-panel {
    margin-top: 20px;
  }

  .service-map {
    grid-template-columns: 1fr;
  }

  .service-item,
  .service-item.accent {
    grid-template-columns: 56px minmax(160px, 240px) minmax(0, 1fr);
    border-bottom: 1px solid var(--line);
  }

  .service-item ul {
    grid-column: 2 / -1;
  }

  .group-head {
    grid-template-columns: 1fr;
  }

  .work-card {
    grid-template-columns: 58px minmax(140px, 200px) minmax(0, 1fr);
  }

  .work-card .meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    text-align: left;
  }

  .main-reel .work-card {
    grid-template-columns: 58px minmax(200px, 320px) minmax(0, 1fr);
  }

  .process-steps,
  .dialog-layout {
    grid-template-columns: 1fr;
  }

  .process-steps article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-steps article:last-child {
    border-bottom: 0;
  }

  .dialog-layout aside {
    max-height: 220px;
  }
}

@media (max-width: 640px) {
  .nav {
    padding: 0 14px;
    gap: 10px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    margin-top: 14px;
    padding: 34px 18px 26px;
    border-radius: 18px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .hero-media {
    min-height: 0;
    display: grid;
    gap: 12px;
  }

  .hero-media::before {
    display: none;
  }

  .hero-showcase {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
  }

  .hero-showcase img {
    object-fit: contain;
    background: #06101d;
  }

  .hero-showcase-meta {
    right: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
  }

  .hero-lead {
    overflow-wrap: anywhere;
  }

  .hero-strip {
    position: relative;
    left: auto;
    bottom: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }

  .hero-strip img {
    width: 100%;
    max-height: 210px;
  }

  .hero-panel,
  .hero-facts,
  .service-map,
  .process-steps,
  .brief-grid,
  .contact-methods {
    grid-template-columns: 1fr;
  }

  .work-card {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px 0;
  }

  .case-index {
    padding-top: 0;
    font-size: 18px;
  }

  .work-card .cover-button,
  .main-reel .work-card .cover-button {
    width: min(100%, 360px);
  }

  .work-card .meta {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .main-reel {
    padding: 0;
    border-radius: 0;
  }

  .main-reel .work-card {
    grid-template-columns: 1fr;
  }

  .service-item,
  .service-item:nth-last-child(-n + 2) {
    grid-template-columns: 1fr;
    border-bottom: 1px solid var(--line);
  }

  .service-item ul {
    grid-column: auto;
  }

  .service-item:last-child {
    border-bottom: 0;
  }

  .section-pad {
    padding-left: 16px;
    padding-right: 16px;
  }

  .button {
    width: 100%;
  }

  .contact-card {
    padding: 28px 20px;
  }
}

.site-footer {
  padding: 28px 24px 36px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}
