:root {
  color-scheme: dark;
  --bg: #090909;
  --surface: #111111;
  --surface-raised: #171717;
  --text: #f5f5f1;
  --muted: #a4a4a0;
  --border: #303030;
  --accent: #d92d2d;
  --accent-hover: #ef3838;
  --radius: 6px;
  --header-height: 72px;
  --gutter: clamp(20px, 3.2vw, 52px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans SC", "Microsoft YaHei UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

body.is-menu-open,
body:has(.contact-dialog[open]),
body:has(.case-dialog[open]) {
  overflow: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: var(--radius);
  background: var(--text);
  color: var(--bg);
  padding: 10px 14px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-height);
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--border);
  background: rgb(9 9 9 / 88%);
  backdrop-filter: blur(18px);
}

.wordmark {
  font-family: "Bahnschrift", "Noto Sans SC", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  gap: 32px;
  color: #d3d3cf;
  font-size: 14px;
}

.desktop-nav a,
.text-link,
.footer-contact {
  transition: color 220ms var(--ease);
}

.desktop-nav a:hover,
.text-link:hover,
.footer-contact:hover {
  color: var(--accent-hover);
}

.nav-cta {
  justify-self: end;
}

.nav-cta,
.primary-button,
.mobile-menu .mobile-menu-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent);
  color: white;
  padding: 0 20px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 220ms var(--ease),
    background 220ms var(--ease),
    border-color 220ms var(--ease);
}

.nav-cta:hover,
.primary-button:hover,
.mobile-menu .mobile-menu-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
}

.nav-cta:active,
.primary-button:active,
.mobile-menu .mobile-menu-primary:active {
  transform: scale(0.98);
}

.menu-trigger,
.mobile-menu {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(380px, 0.78fr) minmax(0, 1.22fr);
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(64px, 8vw, 120px) var(--gutter);
  background: linear-gradient(90deg, var(--bg) 78%, rgb(9 9 9 / 0%));
}

.hero-kicker,
.section-label {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(48px, 6.2vw, 94px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero-summary {
  max-width: 420px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.25vw, 18px);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 36px;
}

.text-link {
  font-size: 14px;
}

.text-link span {
  display: inline-block;
  margin-left: 6px;
}

.hero-reel {
  position: relative;
  display: grid;
  grid-template-columns: 0.96fr 1.04fr 1fr 1fr;
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
}

.reel-panel {
  position: relative;
  min-width: 0;
  margin: 0 -24px 0 0;
  overflow: hidden;
  transform: skewX(-6deg);
  transform-origin: bottom;
  border-left: 1px solid rgb(255 255 255 / 18%);
}

.reel-panel:first-child {
  border-left: 0;
}

.reel-panel img {
  width: 130%;
  height: 100%;
  min-height: 580px;
  object-fit: cover;
  transform: skewX(6deg) translateX(-8%);
  filter: saturate(0.88) contrast(1.04) brightness(0.78);
  transition:
    transform 700ms var(--ease),
    filter 350ms var(--ease);
}

.reel-panel:hover img {
  transform: skewX(6deg) translateX(-6%) scale(1.035);
  filter: saturate(1) contrast(1.04) brightness(0.92);
}

.reel-panel figcaption {
  position: absolute;
  left: 34px;
  bottom: 34px;
  z-index: 2;
  transform: skewX(6deg);
  font-size: 13px;
  font-weight: 700;
  text-shadow: 0 2px 18px rgb(0 0 0 / 80%);
}

.reel-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 54%, rgb(0 0 0 / 72%));
  pointer-events: none;
}

.reel-fashion img {
  object-position: 54% center;
}

.reel-local img {
  object-position: 50% center;
}

.reel-digital img {
  object-position: 52% center;
}

.reel-button {
  position: absolute;
  left: 28px;
  bottom: 26px;
  z-index: 5;
  min-height: 44px;
  border: 1px solid rgb(255 255 255 / 42%);
  border-radius: var(--radius);
  background: rgb(9 9 9 / 72%);
  padding: 0 16px;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.reel-button span {
  margin-left: 18px;
  color: var(--muted);
  font-size: 12px;
}

.work-section,
.services-section,
.process-section,
.assurance-section,
.faq-section {
  padding: clamp(88px, 10vw, 150px) var(--gutter);
}

.work-section,
.process-section,
.assurance-section,
.faq-section {
  border-bottom: 1px solid var(--border);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 44px;
}

.section-heading h2,
.services-intro h2,
.process-copy h2,
.assurance-heading h2,
.faq-intro h2,
.contact-copy h2,
.dialog-header h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(38px, 5vw, 72px);
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.work-proof {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.proof-strip {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  background: #0d0d0d;
  padding: 12px var(--gutter);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.proof-strip p {
  margin: 0;
}

.proof-strip strong {
  color: var(--text);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.proof-strip span {
  margin: 0 10px;
  color: #5f5f5b;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 24px;
}

.work-refine {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(260px, 1fr) auto;
  align-items: end;
  gap: 18px;
  margin: -12px 0 34px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.work-refine label {
  min-width: 0;
}

.work-refine label > span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.work-refine select,
.work-refine input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #474747;
  border-radius: var(--radius);
  background: #131313;
  color: var(--text);
  padding: 0 13px;
}

.work-refine input::placeholder {
  color: #858581;
}

.work-refine select:focus,
.work-refine input:focus {
  border-color: var(--text);
  outline: 0;
}

.clear-refine {
  min-height: 46px;
  border: 0;
  border-bottom: 1px solid #575757;
  background: transparent;
  color: var(--muted);
  padding: 0;
  cursor: pointer;
}

.clear-refine:hover {
  border-color: var(--text);
  color: var(--text);
}

.filter-button {
  min-height: 44px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 0;
  cursor: pointer;
}

.filter-button:hover,
.filter-button.is-active {
  border-color: var(--accent);
  color: var(--text);
}

.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  margin-left: 7px;
  padding: 0 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1;
  transition: border-color 180ms ease, color 180ms ease;
}

.filter-button:hover .filter-count,
.filter-button.is-active .filter-count {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  color: var(--text);
}

.work-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 26px);
}

.work-item {
  grid-column: span 3;
}

.work-item-featured {
  grid-column: span 6;
}

.work-item-tall {
  grid-column: span 3;
}

.work-open {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.work-visual {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: #171717;
}

.work-open img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: saturate(0.78) brightness(0.84);
  transition:
    transform 600ms var(--ease),
    filter 350ms var(--ease);
}

.work-item-featured .work-open img,
.work-item-featured .work-visual {
  aspect-ratio: 16 / 9;
}

.work-item-featured .work-open img {
  height: 100%;
  aspect-ratio: auto;
}

.work-open:hover img {
  transform: scale(1.025);
  filter: saturate(1) brightness(0.96);
}

.play-mark {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 44%);
  border-radius: 50%;
  background: rgb(9 9 9 / 62%);
  font-size: 12px;
  text-indent: 2px;
  backdrop-filter: blur(10px);
  transition: transform 260ms var(--ease), background 260ms var(--ease);
}

.work-open:hover .play-mark {
  transform: scale(1.08);
  background: var(--accent);
}

.case-duration {
  position: absolute;
  right: 12px;
  bottom: 12px;
  border-radius: 4px;
  background: rgb(9 9 9 / 72%);
  padding: 5px 7px;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  backdrop-filter: blur(8px);
}

.work-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 1px 0;
}

.work-meta > span:first-child {
  display: grid;
  gap: 4px;
}

.work-meta small {
  color: var(--accent-hover);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.work-meta strong {
  font-size: 15px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.work-meta > span {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.work-action {
  padding-top: 18px;
}

.case-origin {
  width: max-content;
  border-bottom: 1px solid #555;
  color: var(--muted);
  font-size: 10px;
}

.work-item.has-media-error .work-visual::after {
  content: "封面暂时无法加载";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #171717;
  color: var(--muted);
  font-size: 12px;
}

.case-empty {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 0;
  text-align: center;
}

.case-empty h3,
.case-empty p {
  margin: 0;
}

.case-empty h3 {
  font-size: 24px;
}

.case-empty p,
.case-empty-noscript {
  margin-top: 10px;
  color: var(--muted);
}

.case-empty .secondary-button {
  margin-top: 24px;
}

.work-item[hidden] {
  display: none;
}

.work-more-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.work-more-row p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.secondary-button {
  min-height: 46px;
  border: 1px solid #575757;
  border-radius: var(--radius);
  background: transparent;
  padding: 0 18px;
  cursor: pointer;
  transition: border-color 220ms var(--ease), background 220ms var(--ease);
}

.secondary-button:hover {
  border-color: var(--text);
  background: var(--surface-raised);
}

.services-section {
  background: #0c0c0c;
}

.services-intro {
  max-width: 920px;
  margin-bottom: 62px;
}

.service-list {
  border-top: 1px solid var(--border);
}

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(280px, 0.8fr) minmax(280px, 1fr) 130px 68px;
  align-items: center;
  min-height: 160px;
  border-bottom: 1px solid var(--border);
  gap: 24px;
  overflow: hidden;
  transition:
    background 280ms var(--ease),
    padding 280ms var(--ease);
}

.service-row:hover {
  background: var(--surface-raised);
  padding: 0 18px;
}

.service-number {
  color: var(--muted);
  font-size: 20px;
}

.service-title {
  font-size: clamp(25px, 2.7vw, 44px);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.service-description {
  max-width: 430px;
  color: var(--muted);
}

.service-row img {
  width: 112px;
  height: 88px;
  border-radius: var(--radius);
  object-fit: cover;
  filter: saturate(0.75);
  transition: transform 400ms var(--ease);
}

.service-row:hover img {
  transform: scale(1.06) rotate(-1deg);
}

.service-arrow {
  justify-self: end;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.process-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(56px, 8vw, 130px);
}

.process-copy p:last-child {
  max-width: 480px;
  color: var(--muted);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 1px;
  background: var(--border);
}

.process-steps li {
  min-height: 150px;
  background: var(--bg);
  padding: 28px;
}

.process-steps li:last-child {
  grid-column: 1 / -1;
}

.process-steps span,
.process-steps small {
  display: block;
}

.process-steps span {
  margin-bottom: 34px;
  font-size: 19px;
  font-weight: 700;
}

.process-steps small {
  color: var(--muted);
}

.assurance-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(56px, 8vw, 130px);
  background: #0c0c0c;
}

.assurance-heading p {
  max-width: 520px;
  margin: 28px 0 0;
  color: var(--muted);
}

.assurance-list {
  border-top: 1px solid var(--border);
}

.assurance-list article {
  display: grid;
  grid-template-columns: minmax(180px, 0.62fr) minmax(0, 1fr);
  gap: 32px;
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

.assurance-list h3,
.assurance-list p {
  margin: 0;
}

.assurance-list h3 {
  font-size: 17px;
}

.assurance-list p {
  max-width: 58ch;
  color: var(--muted);
  font-size: 14px;
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(56px, 8vw, 130px);
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  position: relative;
  min-height: 76px;
  padding: 25px 46px 22px 0;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 20px;
  right: 0;
  color: var(--muted);
  font-size: 24px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 68ch;
  margin: -4px 0 26px;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 680px;
  background: var(--surface);
}

.contact-visual {
  min-height: 540px;
  overflow: hidden;
}

.contact-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.65) brightness(0.62);
}

.contact-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(60px, 8vw, 130px) var(--gutter);
}

.contact-copy p:not(.section-label) {
  max-width: 520px;
  margin: 28px 0 36px;
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 110px;
  padding: 24px var(--gutter);
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

.site-footer .wordmark {
  color: var(--text);
}

.site-footer p {
  margin: 0;
}

.footer-contact {
  border: 0;
  background: transparent;
  padding: 10px 0;
  cursor: pointer;
}

.footer-actions {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 22px;
}

.footer-filing {
  justify-self: end;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.footer-wechat {
  min-height: 44px;
  border: 0;
  border-bottom: 1px solid #5b5b5b;
  background: transparent;
  color: var(--text);
  padding: 0;
  cursor: pointer;
}

.footer-wechat:hover {
  border-color: var(--text);
}

.case-dialog {
  width: min(1180px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #0c0c0c;
  color: var(--text);
  padding: 0;
  box-shadow: 0 30px 90px rgb(0 0 0 / 72%);
}

.case-dialog::backdrop {
  background: rgb(0 0 0 / 86%);
  backdrop-filter: blur(10px);
}

.case-dialog-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(300px, 0.58fr);
  min-height: min(760px, calc(100dvh - 34px));
}

.case-player-wrap {
  display: grid;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  background: #050505;
}

.case-player {
  display: block;
  width: 100%;
  height: min(760px, calc(100dvh - 34px));
  background: #050505;
  object-fit: contain;
}

.case-dialog-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
  padding: clamp(44px, 6vw, 84px);
}

.case-dialog-copy h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 60px);
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.case-dialog-copy > p:not(.section-label) {
  margin: 26px 0 30px;
  color: var(--muted);
  line-height: 1.75;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-tags span {
  border: 1px solid #3c3c3c;
  border-radius: 999px;
  color: #d2d2ce;
  padding: 7px 10px;
  font-size: 11px;
}

.case-provenance {
  align-self: flex-start;
  margin: -12px 0 24px !important;
  border-bottom: 1px solid #555;
  color: #d2d2ce !important;
  font-size: 12px;
  line-height: 1.5 !important;
}

.case-dialog-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}

.case-dialog-actions .secondary-button {
  min-width: 128px;
}

.case-dialog-nav {
  display: flex;
  gap: 18px;
  margin-top: 22px;
}

.case-dialog-nav button {
  min-height: 44px;
  border: 0;
  border-bottom: 1px solid #595959;
  background: transparent;
  color: var(--muted);
  padding: 0;
  cursor: pointer;
}

.case-dialog-nav button:hover {
  border-color: var(--text);
  color: var(--text);
}

.case-related {
  margin-top: 44px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.case-related h3 {
  margin: 0 0 16px;
  font-size: 15px;
}

.case-related-grid {
  display: grid;
  gap: 1px;
  background: var(--border);
}

.case-related-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  min-width: 0;
  align-items: center;
  gap: 14px;
  border: 0;
  background: #0c0c0c;
  padding: 10px 0;
  text-align: left;
  cursor: pointer;
}

.case-related-item:hover {
  background: var(--surface-raised);
}

.case-related-item img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  object-fit: cover;
}

.case-related-item span,
.case-related-item small,
.case-related-item strong {
  display: block;
  min-width: 0;
}

.case-related-item small {
  margin-bottom: 4px;
  color: var(--accent-hover);
  font-size: 10px;
}

.case-related-item strong {
  overflow: hidden;
  font-size: 13px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  min-width: 52px;
  min-height: 40px;
  border: 1px solid #4a4a4a;
  border-radius: var(--radius);
  background: rgb(9 9 9 / 72%);
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.contact-dialog {
  width: min(760px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #101010;
  color: var(--text);
  padding: 0;
  box-shadow: 0 30px 90px rgb(0 0 0 / 58%);
}

.contact-dialog::backdrop {
  background: rgb(0 0 0 / 76%);
  backdrop-filter: blur(8px);
}

.dialog-shell {
  padding: clamp(26px, 5vw, 48px);
}

.dialog-header {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.dialog-header h2 {
  font-size: clamp(34px, 5vw, 52px);
}

.direct-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
  border: 1px solid #3c3c3c;
  border-radius: var(--radius);
  background: #151515;
  padding: 16px 18px;
}

.direct-contact span,
.direct-contact strong {
  display: block;
}

.direct-contact span {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
}

.direct-contact strong {
  font-size: 19px;
  letter-spacing: 0.02em;
}

.direct-contact-copy p {
  max-width: 300px;
  margin: 14px 0 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.direct-contact button {
  min-height: 44px;
  border: 1px solid #555;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  padding: 0 16px;
  cursor: pointer;
}

.direct-contact button:hover {
  border-color: var(--text);
}

.wechat-qr {
  margin: 0;
  border-radius: var(--radius);
  background: #fff;
  padding: 8px 8px 7px;
}

.wechat-qr img {
  display: block;
  width: 100%;
  height: auto;
}

.wechat-qr figcaption {
  margin-top: 5px;
  color: #333;
  font-size: 10px;
  text-align: center;
}

.dialog-close {
  align-self: flex-start;
  min-width: 52px;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.form-grid label,
.form-grid label span {
  display: block;
}

.form-grid label small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
}

.form-grid label span {
  margin-bottom: 8px;
  color: #cececa;
  font-size: 13px;
}

.form-full {
  grid-column: 1 / -1;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid #474747;
  border-radius: var(--radius);
  background: #171717;
  color: var(--text);
  padding: 12px 14px;
}

.form-grid input,
.form-grid select {
  min-height: 48px;
}

.form-grid textarea {
  resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--text);
  outline: 0;
}

.form-note {
  margin: 20px 0;
  color: var(--muted);
  font-size: 12px;
}

.form-submit {
  width: 100%;
}

.brief-fallback {
  display: block;
  margin: 0 0 20px;
}

.brief-fallback[hidden] {
  display: none;
}

.brief-fallback span {
  display: block;
  margin-bottom: 8px;
  color: #cececa;
  font-size: 13px;
}

.brief-fallback textarea {
  width: 100%;
  border: 1px solid #666;
  border-radius: var(--radius);
  background: #171717;
  color: var(--text);
  padding: 12px 14px;
  resize: vertical;
}

.demo-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  max-width: 340px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--text);
  color: var(--bg);
  padding: 13px 16px;
  box-shadow: 0 18px 60px rgb(0 0 0 / 42%);
}

.mobile-action-bar {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: minmax(340px, 0.85fr) minmax(0, 1.15fr);
  }

  .hero h1 {
    font-size: clamp(48px, 6vw, 68px);
  }

  .work-item,
  .work-item-tall {
    grid-column: span 4;
  }

  .work-item-featured {
    grid-column: span 8;
  }

  .work-item-featured .work-visual {
    aspect-ratio: 4 / 3;
  }

  .service-row {
    grid-template-columns: 58px minmax(230px, 0.9fr) minmax(220px, 1fr) 86px 68px;
  }

  .service-row img {
    width: 82px;
    height: 68px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 64px;
    --gutter: 20px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .nav-cta {
    display: none;
  }

  .menu-trigger {
    display: block;
    min-width: 52px;
    min-height: 44px;
    border: 0;
    background: transparent;
    padding: 0;
    text-align: right;
    cursor: pointer;
  }

  .mobile-menu {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: grid;
    gap: 0;
    border-bottom: 1px solid var(--border);
    background: #0c0c0c;
    padding: 12px var(--gutter) 24px;
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-menu a {
    display: flex;
    align-items: center;
    min-height: 56px;
    border-bottom: 1px solid var(--border);
    font-size: 20px;
  }

  .mobile-menu .mobile-menu-primary {
    margin-top: 18px;
    border-bottom: 0;
    font-size: 15px;
  }

  .hero {
    display: flex;
    min-height: auto;
    flex-direction: column;
  }

  .hero-copy {
    min-height: 560px;
    padding: 70px var(--gutter) 54px;
    background: var(--bg);
  }

  .hero h1 {
    font-size: clamp(52px, 14.5vw, 74px);
    line-height: 1.01;
  }

  .hero-summary {
    max-width: 330px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .hero-reel {
    height: 470px;
    grid-template-columns: 1.05fr 0.95fr;
  }

  .reel-panel {
    margin-right: -16px;
    transform: skewX(-4deg);
  }

  .reel-panel img {
    min-height: 470px;
    transform: skewX(4deg) translateX(-8%);
  }

  .reel-panel:hover img {
    transform: skewX(4deg) translateX(-8%);
  }

  .reel-digital,
  .reel-local {
    display: none;
  }

  .reel-panel figcaption {
    left: 24px;
    bottom: 24px;
    transform: skewX(4deg);
  }

  .reel-button {
    left: 20px;
    bottom: 18px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 34px;
  }

  .section-heading h2,
  .services-intro h2,
  .process-copy h2,
  .assurance-heading h2,
  .faq-intro h2,
  .contact-copy h2 {
    font-size: clamp(40px, 11vw, 58px);
  }

  .filters {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 22px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding-bottom: 6px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .filters.has-overflow:not(.is-at-end) {
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 34px), transparent 100%);
  }

  .work-refine {
    position: sticky;
    top: var(--header-height);
    z-index: 12;
    grid-template-columns: minmax(110px, 0.72fr) minmax(0, 1.28fr);
    gap: 10px;
    margin: -8px calc(var(--gutter) * -1) 28px;
    background: rgb(9 9 9 / 96%);
    padding: 12px var(--gutter);
    backdrop-filter: blur(14px);
  }

  .work-refine select,
  .work-refine input {
    min-height: 44px;
    font-size: 16px;
  }

  .clear-refine {
    grid-column: 1 / -1;
    min-height: 34px;
    font-size: 12px;
  }

  .filter-button {
    font-size: 13px;
    white-space: nowrap;
  }

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

  .work-item,
  .work-item-featured,
  .work-item-tall {
    grid-column: auto;
  }

  .work-open img {
    aspect-ratio: 4 / 5;
  }

  .work-item-featured .work-visual {
    aspect-ratio: 4 / 5;
  }

  .work-meta {
    align-items: flex-start;
  }

  .work-more-row {
    align-items: stretch;
    flex-direction: column;
  }

  .secondary-button {
    width: 100%;
  }

  .services-intro {
    margin-bottom: 40px;
  }

  .service-row {
    grid-template-columns: 42px 1fr 72px;
    min-height: 150px;
    gap: 14px;
  }

  .service-title {
    font-size: 25px;
  }

  .service-description {
    grid-column: 2 / 4;
    grid-row: 2;
    padding-bottom: 24px;
    font-size: 13px;
  }

  .service-row img {
    grid-column: 3;
    grid-row: 1;
    width: 68px;
    height: 54px;
  }

  .service-arrow {
    display: none;
  }

  .service-row:hover {
    padding: 0;
  }

  .process-section,
  .assurance-section,
  .faq-section {
    grid-template-columns: 1fr;
  }

  .assurance-list article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

  .process-steps li:last-child {
    grid-column: auto;
  }

  .contact-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .contact-visual {
    min-height: 320px;
  }

  .contact-copy {
    padding-top: 72px;
    padding-bottom: 78px;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    gap: 20px;
  }

  .site-footer p {
    display: none;
  }

  .footer-filing {
    max-width: 190px;
    line-height: 1.5;
  }

  .footer-actions {
    gap: 14px;
  }

  .footer-contact {
    display: none;
  }

  .case-dialog {
    width: min(100% - 12px, 620px);
    max-height: calc(100dvh - 12px);
  }

  .case-dialog-shell {
    display: block;
    min-height: 0;
    max-height: calc(100dvh - 14px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .case-player-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .case-player {
    width: 100%;
    height: 100%;
    max-height: 46dvh;
  }

  .case-dialog.case-media-square .case-player-wrap {
    aspect-ratio: 1 / 1;
    max-height: 48dvh;
  }

  .case-dialog.case-media-portrait .case-player-wrap {
    height: min(52dvh, 520px);
    aspect-ratio: auto;
  }

  .case-dialog-copy {
    overflow: visible;
    padding: 26px 20px 34px;
  }

  .case-dialog-copy h2 {
    font-size: clamp(30px, 9vw, 38px);
  }

  .case-dialog-copy > p:not(.section-label) {
    margin: 18px 0 22px;
    line-height: 1.65;
  }

  .case-dialog-close {
    top: 12px;
    right: 12px;
    min-height: 44px;
  }

  .case-dialog-actions {
    margin-top: 26px;
  }

  .case-related {
    margin-top: 32px;
  }

  .case-dialog-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .case-dialog-actions .primary-button,
  .case-dialog-actions .secondary-button {
    width: 100%;
  }

  .dialog-shell {
    padding: 26px 20px;
  }

  .dialog-header {
    gap: 16px;
  }

  .direct-contact {
    grid-template-columns: minmax(0, 1fr) 116px;
    gap: 14px;
    padding: 14px;
  }

  .direct-contact-copy p {
    margin: 10px 0 14px;
    font-size: 11px;
  }

  .direct-contact button {
    width: 100%;
    padding: 0 10px;
  }

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

  .form-full {
    grid-column: auto;
  }

  .demo-toast {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }

  body {
    padding-bottom: calc(70px + env(safe-area-inset-bottom));
  }

  body:has(.contact-dialog[open]),
  body:has(.case-dialog[open]) {
    padding-bottom: 0;
  }

  .mobile-action-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 18;
    display: grid;
    grid-template-columns: 1fr auto;
    min-height: calc(64px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--border);
    background: #0c0c0c;
    padding-top: 10px;
    padding-right: max(var(--gutter), env(safe-area-inset-right));
    padding-bottom: max(10px, env(safe-area-inset-bottom));
    padding-left: max(var(--gutter), env(safe-area-inset-left));
  }

  body:has(.contact-dialog[open]) .mobile-action-bar,
  body:has(.case-dialog[open]) .mobile-action-bar,
  body.is-menu-open .mobile-action-bar {
    display: none;
  }

  .mobile-action-bar button,
  .mobile-action-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 0;
    background: transparent;
    color: var(--muted);
    padding: 0 16px;
    cursor: pointer;
  }

  .mobile-action-bar .mobile-work-link {
    border-radius: var(--radius);
    background: var(--accent);
    color: white;
    font-weight: 700;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
