:root {
  --black: #050505;
  --ink: #f5f5f7;
  --muted: rgba(245, 245, 247, 0.66);
  --soft: #15171b;
  --paper: #07080a;
  --glass: rgba(22, 24, 29, 0.72);
  --glass-strong: rgba(30, 33, 39, 0.78);
  --line: rgba(255, 255, 255, 0.14);
  --blue: #7ab7ff;
  --silver: #c8ced8;
  --shadow: 0 34px 100px rgba(0, 0, 0, 0.42);
  --cursor-x: 50vw;
  --cursor-y: 30vh;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at var(--cursor-x) var(--cursor-y), rgba(190, 202, 220, 0.18), transparent 22rem),
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.12), transparent 30rem),
    radial-gradient(circle at 86% 10%, rgba(95, 128, 170, 0.22), transparent 34rem),
    linear-gradient(135deg, #050506 0%, #12151a 38%, #07080a 68%, #1b1f26 100%);
  background-attachment: fixed;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
    "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 30%, rgba(255, 255, 255, 0.09) 36%, transparent 48%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 84px);
  mix-blend-mode: soft-light;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-sizing: border-box;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 18px;
  background: rgba(8, 9, 11, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 0 22px 22px;
  backdrop-filter: saturate(180%) blur(20px);
}

.brand,
.nav,
.hero-actions,
.contact-card,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--black);
  background:
    linear-gradient(135deg, #f8fafc, #a9b1bd 55%, #ffffff);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 12px 24px rgba(0, 0, 0, 0.18);
  border-radius: 50%;
  font-size: 10px;
  letter-spacing: 0;
}

.nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
  color: rgba(245, 245, 247, 0.72);
  font-size: 13px;
}

.nav a:hover,
.text-link,
.button.secondary,
.platform-link {
  color: var(--blue);
}

main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 64px);
  display: grid;
  align-items: center;
  padding: 78px 0 104px;
  text-align: left;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 14px 0 34px;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(10, 11, 13, 0.8) 0%, rgba(10, 11, 13, 0.36) 42%, rgba(10, 11, 13, 0.82) 100%),
    linear-gradient(180deg, rgba(10, 11, 13, 0.86), rgba(10, 11, 13, 0.24) 42%, rgba(10, 11, 13, 0.94)),
    image-set(
      url("assets/hero-film-set-bg.webp?v=filmset") type("image/webp"),
      url("assets/hero-film-set-bg.jpg?v=filmset") type("image/jpeg")
    );
  background-position: center;
  background-size: cover;
  opacity: 0.52;
  filter: blur(1.2px) saturate(0.82);
  mask-image: radial-gradient(circle at 43% 48%, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.5) 42%, transparent 78%);
  pointer-events: none;
}

.hero::before {
  content: "";
  width: min(1180px, 100%);
  height: 2px;
  margin-bottom: 28px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), transparent);
}

.hero-layout {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) minmax(320px, 0.44fr);
  gap: 38px;
  align-items: end;
  width: 100%;
}

.hero-index {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 520px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-index span:first-child {
  color: var(--silver);
  font-size: 56px;
  line-height: 1;
}

.hero-statement {
  position: relative;
}

.hero-statement::after {
  content: "ZWL";
  position: absolute;
  right: 4%;
  bottom: -18px;
  z-index: -1;
  color: rgba(255, 255, 255, 0.045);
  font-size: clamp(110px, 18vw, 260px);
  font-weight: 900;
  line-height: 0.75;
}

.hero-aside {
  align-self: end;
  padding-bottom: 20px;
}

.hero-aside p {
  color: var(--muted);
  font-size: 18px;
}

.eyebrow,
.section-kicker,
.work-type,
.timeline span {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin: 14px 0 0;
  font-size: clamp(72px, 10vw, 148px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-title {
  display: grid;
  max-width: 900px;
  gap: clamp(2px, 0.8vw, 12px);
}

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

.hero-title-small {
  width: max-content;
  padding-left: 0.04em;
  font-size: 0.54em;
  line-height: 0.98;
  color: rgba(245, 245, 247, 0.72);
}

.hero-title-main {
  font-size: 1.02em;
  line-height: 0.88;
  text-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
}

.hero-title-outline {
  width: max-content;
  margin-left: clamp(34px, 6vw, 96px);
  color: transparent;
  font-size: 1.04em;
  line-height: 0.94;
  -webkit-text-stroke: 1.4px rgba(255, 255, 255, 0.9);
  text-shadow: 0 26px 78px rgba(137, 174, 255, 0.26);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-text {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(19px, 2.2vw, 26px);
}

.hero-actions {
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.button.primary {
  color: var(--black);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent),
    #f5f7fb;
  box-shadow: 0 18px 40px rgba(255, 255, 255, 0.16);
}

.button.secondary {
  background: transparent;
}

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

.signature-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(340px, 0.84fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 28px;
  padding: 76px;
  color: white;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.12), transparent 34%),
    radial-gradient(circle at 82% 14%, rgba(190, 202, 220, 0.22), transparent 24rem),
    linear-gradient(135deg, rgba(16, 18, 22, 0.92) 0%, rgba(42, 46, 54, 0.82) 52%, rgba(9, 10, 12, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.signature-copy h2 {
  max-width: 760px;
}

.signature-title {
  display: grid;
  max-width: 920px;
  gap: 12px;
}

.signature-title .title-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.22em;
  white-space: nowrap;
}

.signature-title .title-line-offset {
  margin-left: clamp(22px, 5vw, 78px);
}

.title-emphasis {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  font-size: 1.08em;
  color: #ffffff;
  text-shadow:
    0 0 28px rgba(255, 255, 255, 0.18),
    0 20px 56px rgba(0, 0, 0, 0.44);
}

.title-emphasis::after {
  content: "";
  position: absolute;
  left: 0.04em;
  right: 0.02em;
  bottom: 0.02em;
  height: 0.12em;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(177, 206, 255, 0.72), rgba(255, 255, 255, 0.12));
  border-radius: 999px;
  transform: skewX(-14deg);
  z-index: -1;
}

.title-emphasis.outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.86);
  text-shadow: 0 22px 58px rgba(88, 137, 255, 0.28);
}

.signature-copy > p:last-child {
  max-width: 700px;
  margin: 28px 0 0;
  color: rgba(245, 245, 247, 0.68);
  font-size: 20px;
}

.signature-panel .section-kicker,
.signature-panel .facts dt {
  color: rgba(255, 255, 255, 0.58);
}

.facts {
  display: grid;
  gap: 0;
  margin: 0;
}

.facts div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.facts dd {
  margin: 0;
  font-weight: 700;
}

.section {
  padding: 110px 0;
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 20px;
}

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

.work-card,
.design-card,
.platform-card,
.capability-grid > div,
.contact-card {
  overflow: hidden;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  box-shadow: 0 24px 64px rgba(34, 38, 44, 0.12);
  backdrop-filter: blur(26px) saturate(140%);
  transform-style: preserve-3d;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.work-card:hover,
.design-card:hover,
.platform-card:hover,
.capability-grid > div:hover,
.contact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 34px 88px rgba(24, 28, 34, 0.2);
}

.work-card {
  min-height: 520px;
}

.hero-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
}

.media-frame {
  position: relative;
  display: grid;
  min-height: 330px;
  aspect-ratio: 16 / 10;
  place-items: center;
  overflow: hidden;
  color: white;
  background: #111;
}

.media-frame::after,
.poster::after,
.platform-card .platform-link::after {
  pointer-events: none;
}

.hero-card .media-frame {
  height: 100%;
  min-height: 560px;
  aspect-ratio: auto;
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 22%, rgba(255, 255, 255, 0.26) 42%, transparent 58%);
  transform: translateX(-120%);
  transition: transform 700ms ease;
}

.work-card:hover .media-frame::after {
  transform: translateX(120%);
}

.media-frame span {
  position: relative;
  font-size: clamp(42px, 7vw, 96px);
  font-weight: 800;
  letter-spacing: 0;
}

.work-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #111;
}

.work-video:focus-visible {
  outline: 3px solid rgba(0, 113, 227, 0.82);
  outline-offset: -6px;
}

.cinematic {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent),
    linear-gradient(145deg, #141414, #5b5048 48%, #0b0b0b);
}

.dark {
  background: linear-gradient(145deg, #050505, #242424 60%, #111);
}

.graphite {
  background: linear-gradient(145deg, #1b1d20, #53616e);
}

.silver {
  color: var(--ink);
  background: linear-gradient(145deg, #e9e9ed, #b9bdc7);
}

.play-mark {
  position: absolute;
  z-index: 2;
  right: 34px;
  bottom: 34px;
  width: 54px;
  height: 54px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  backdrop-filter: blur(12px);
  transition:
    transform 200ms ease,
    background-color 200ms ease;
}

.work-card:hover .play-mark {
  transform: scale(1.08);
  background: rgba(255, 255, 255, 0.26);
}

.play-mark::after {
  content: "";
  position: absolute;
  top: 17px;
  left: 21px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid white;
}

.silver .play-mark::after {
  border-left-color: var(--ink);
}

.work-copy {
  padding: 34px;
}

.hero-card .work-copy {
  padding: 56px;
}

.work-copy p:not(.work-type),
.design-card p,
.capability-grid p,
.timeline p {
  color: var(--muted);
}

.work-copy {
  color: var(--ink);
}

.dark-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-right: max(20px, calc((100vw - 1180px) / 2));
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.12), transparent 32rem),
    linear-gradient(180deg, #0a0a0b, #15171a 52%, #090909);
}

.dark-section .section-heading p:last-child,
.dark-section .section-kicker,
.dark-section .design-card p {
  color: rgba(255, 255, 255, 0.64);
}

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

.design-card {
  padding: 18px 18px 28px;
  color: white;
  background: rgba(24, 24, 25, 0.76);
  border-color: rgba(255, 255, 255, 0.14);
}

.poster {
  position: relative;
  display: grid;
  min-height: 440px;
  place-items: end start;
  margin-bottom: 24px;
  padding: 28px;
  border-radius: 20px;
  overflow: hidden;
}

.poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, transparent 28%, rgba(255, 255, 255, 0.32) 48%, transparent 62%);
  transform: translateX(-125%);
  transition: transform 760ms ease;
}

.design-card:hover .poster::after {
  transform: translateX(125%);
}

.poster span {
  position: relative;
  z-index: 2;
  font-size: 32px;
  font-weight: 800;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.54);
}

.poster-one {
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.5)),
    linear-gradient(135deg, #edf1f5, #8793a0 52%, #222);
}

.poster-two {
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.48)),
    linear-gradient(135deg, #e8f5ff, #0b79c9 50%, #06131f);
}

.poster-image {
  min-height: 480px;
  background: #101113;
  isolation: isolate;
}

.poster-image picture,
.poster-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.poster-image img {
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 900ms ease;
}

.poster-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04) 36%, rgba(0, 0, 0, 0.66)),
    radial-gradient(circle at 20% 16%, rgba(255, 255, 255, 0.28), transparent 30%);
  pointer-events: none;
}

.design-card:hover .poster-image img {
  transform: scale(1.055);
  filter: saturate(1.06) contrast(1.03);
}

.ip-poster span {
  align-self: start;
  justify-self: start;
  padding: 8px 11px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(8, 10, 14, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  font-size: 12px;
  line-height: 1;
  text-shadow: none;
}

.poster-three {
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.52)),
    linear-gradient(135deg, #f7ede2, #b76736 52%, #1f130d);
}

.design-card h3,
.design-card p {
  padding: 0 10px;
}

.platform-section {
  padding-bottom: 88px;
}

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

.platform-card {
  position: relative;
  min-height: 360px;
  padding: 34px;
  color: white;
  isolation: isolate;
  box-shadow: var(--shadow);
}

.platform-card h3,
.platform-card p,
.platform-label,
.platform-link {
  position: relative;
  z-index: 1;
}

.platform-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.platform-card::after {
  content: "";
  position: absolute;
  right: 30px;
  bottom: 30px;
  z-index: -1;
  width: 132px;
  height: 132px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  transition:
    transform 260ms ease,
    border-color 260ms ease;
}

.platform-card:hover::after {
  transform: scale(1.16);
  border-color: rgba(255, 255, 255, 0.42);
}

.platform-card.xpc::before {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.68)),
    linear-gradient(135deg, #151515, #3a3a3d 48%, #080808);
}

.platform-card.tapnow::before {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.62)),
    linear-gradient(135deg, #0a1020, #2368d8 52%, #0b0d12);
}

.platform-label {
  display: block;
  margin-bottom: 96px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.platform-card h3 {
  max-width: 520px;
  font-size: clamp(34px, 4vw, 58px);
}

.platform-card p {
  max-width: 460px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 19px;
}

.platform-link {
  display: inline-block;
  margin-top: 18px;
  color: white;
  font-weight: 700;
}

.platform-link::after {
  content: " ->";
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 72px;
}

.timeline {
  display: grid;
  gap: 0;
}

.timeline article {
  padding: 0 0 34px 30px;
  border-left: 1px solid var(--line);
}

.timeline article:last-child {
  padding-bottom: 0;
}

.timeline h3 {
  margin-top: 6px;
}

.capability-section {
  padding-top: 40px;
}

.capability-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.capability-grid > div {
  min-height: 260px;
  padding: 28px;
  background: var(--glass-strong);
}

.capability-grid span {
  color: var(--blue);
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: 50px;
  align-items: center;
  padding: 118px 0;
  border-top: 1px solid var(--line);
}

.contact-title {
  display: grid;
  max-width: 760px;
  gap: 8px;
}

.contact-title span {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
}

.contact-title-main {
  position: relative;
  font-size: 1.12em;
  color: #ffffff;
  text-shadow: 0 20px 60px rgba(0, 0, 0, 0.36);
}

.contact-title-main::after {
  content: "";
  position: absolute;
  left: 0.04em;
  right: -0.02em;
  bottom: 0.02em;
  height: 0.14em;
  z-index: -1;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(196, 214, 255, 0.72), rgba(255, 255, 255, 0.08));
  border-radius: 999px;
  transform: skewX(-14deg);
}

.contact-title-sub {
  margin-left: clamp(22px, 5vw, 74px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.82);
  text-shadow: 0 22px 56px rgba(125, 164, 255, 0.24);
}

.contact-card {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 20px;
}

.contact-card a,
.contact-card span {
  padding: 16px 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  font-weight: 700;
}

.contact-card span {
  color: var(--muted);
}

.site-footer {
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 42px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.tilt-card {
  will-change: transform;
}

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

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

@media (max-width: 920px) {
  .signature-panel,
  .hero-card,
  .hero-layout,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-index {
    min-height: auto;
    flex-direction: row;
  }

  .video-grid,
  .design-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .hero-card .media-frame {
    min-height: 440px;
  }

  .hero-card .work-copy,
  .signature-panel {
    padding: 38px;
  }

  .signature-title {
    gap: 8px;
  }

  .signature-title .title-line,
  .signature-title .title-line-offset {
    margin-left: 0;
  }

  .hero-title-outline,
  .contact-title-sub {
    margin-left: 0;
  }

  .capability-grid > div {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    flex-direction: column;
    align-items: stretch;
    width: min(100% - 28px, 1180px);
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    padding: 10px 0;
    border-top: 1px solid var(--line);
    overflow-x: auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 18px;
  }

  .nav a {
    white-space: nowrap;
    font-size: 12px;
  }

  main,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    min-height: auto;
    padding: 74px 0 86px;
  }

  h1 {
    font-size: 56px;
  }

  .hero-title-small {
    font-size: 0.62em;
  }

  .hero-title-main,
  .hero-title-outline {
    font-size: 0.94em;
  }

  h2 {
    font-size: 36px;
  }

  .section {
    padding: 78px 0;
  }

  .signature-panel {
    padding: 32px;
    border-radius: 22px;
  }

  .signature-title .title-line {
    display: grid;
    gap: 2px;
  }

  .title-emphasis {
    width: max-content;
  }

  .contact-title span {
    white-space: normal;
  }

  .contact-title-main,
  .contact-title-sub {
    width: auto;
  }

  .facts div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .work-card,
  .design-card,
  .platform-card,
  .capability-grid > div,
  .contact-card {
    border-radius: 22px;
  }

  .media-frame,
  .hero-card .media-frame {
    min-height: 300px;
  }

  .work-copy,
  .hero-card .work-copy {
    padding: 26px;
  }

  .poster {
    min-height: 340px;
  }

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

  .platform-card {
    min-height: 300px;
    padding: 26px;
  }

  .platform-label {
    margin-bottom: 72px;
  }

  .contact-section {
    padding: 78px 0;
  }
}
