:root {
  color-scheme: light;
  --bg: #f4f4f5;
  --surface: #ffffff;
  --ink: #1c1d20;
  --muted: #71717a;
  --faint: #a1a1aa;
  --dark: #1c1d20;
  --dark-soft: #28292d;
  --light: #ffffff;
  --accent: #455ce9;
  --accent-strong: #3346c7;
  --success: #10b981;
  --line: rgba(28, 29, 32, 0.14);
  --line-dark: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 60px rgba(28, 29, 32, 0.12);
  --page-x: clamp(1.25rem, 5vw, 4rem);
  --max: 1240px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --ease: cubic-bezier(0.76, 0, 0.24, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 34rem),
    var(--bg);
  overflow-x: clip;
}

body.is-menu-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(28, 29, 32, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 29, 32, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 64%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 64%);
}

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

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

button {
  font: inherit;
}

html[data-lang="en"] .lang-zh,
html[data-lang="zh-CN"] .lang-en {
  display: none !important;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  height: 100svh;
  background: var(--dark);
  color: var(--light);
  pointer-events: all;
  transform: translateY(0);
  transition: transform 0.82s var(--ease);
}

.preloader.is-exiting {
  transform: translateY(-100%);
}

.preloader.is-hidden {
  display: none;
}

.preloader-text {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1;
  color: var(--light);
}

.preloader-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--light);
  flex: 0 0 auto;
}

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
}

.transition-overlay {
  width: 100%;
  height: 100%;
  background: var(--dark);
  transform: translateY(100%);
  transition: transform 0.6s var(--ease);
}

body.is-transitioning .transition-overlay {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 8000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.55rem var(--page-x);
  pointer-events: none;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(244, 244, 245, 0.78);
  border-bottom: 1px solid rgba(28, 29, 32, 0.08);
  backdrop-filter: blur(18px);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.site-header.is-scrolled::before {
  opacity: 1;
}

.header-logo,
.header-nav,
.header-actions {
  pointer-events: auto;
}

.header-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: 0;
  white-space: nowrap;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.86rem;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}

.nav-link {
  position: relative;
  padding: 0.35rem 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.12rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(16px);
}

.language-button {
  min-width: 2.55rem;
  height: 2rem;
  padding: 0 0.72rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 700;
}

.language-button.is-active {
  background: var(--dark);
  color: var(--light);
}

.menu-toggle {
  display: none;
  width: 3.35rem;
  height: 3.35rem;
  border: 0;
  border-radius: 999px;
  background: var(--dark);
  box-shadow: 0 14px 36px rgba(28, 29, 32, 0.2);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.34rem;
}

.menu-toggle span {
  width: 1.25rem;
  height: 2px;
  background: var(--light);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.menu-toggle.is-active span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle.is-active span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 7600;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: min(100%, 28rem);
  height: 100svh;
  padding: 7.4rem 2rem 2.4rem;
  background: var(--dark);
  color: var(--light);
  transform: translateX(100%);
  transition: transform 0.56s var(--ease);
}

.nav-drawer.is-open {
  transform: translateX(0);
}

.drawer-label {
  margin: 0 0 2rem;
  color: var(--faint);
  font-size: 0.9rem;
  font-weight: 700;
}

.drawer-nav {
  display: grid;
  gap: 1.4rem;
}

.drawer-nav a {
  font-size: 3rem;
  line-height: 1;
  font-weight: 600;
}

.drawer-contact {
  display: grid;
  gap: 0.55rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
  color: var(--faint);
}

.hero-section,
.statement-section,
.metrics-section,
.featured-work-section,
.capabilities-preview,
.page-header,
.work-filter-bar,
.work-grid-section,
.compact-cta,
.ai-hero-grid,
.capability-list,
.tool-section,
.case-hero,
.case-meta-grid,
.case-story-grid,
.media-section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding-left: var(--page-x);
  padding-right: var(--page-x);
}

.hero-section {
  position: relative;
  height: 100svh;
  min-height: 740px;
  display: block;
  padding-top: 0;
  padding-bottom: 0;
  border-bottom: 1px solid rgba(28, 29, 32, 0.08);
  overflow: hidden;
}

.hero-topline {
  position: absolute;
  top: 6.2rem;
  left: calc(var(--page-x) + 1rem);
  right: auto;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1.65rem;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0.64rem 1.05rem;
  border: 1px solid rgba(28, 29, 32, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.live-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.54);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.54); }
  70% { box-shadow: 0 0 0 0.5rem rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-role {
  max-width: none;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
  text-align: left;
}

.hero-signature {
  position: absolute;
  right: calc(var(--page-x) - 2.725rem);
  bottom: 5.1rem;
  z-index: 4;
  max-width: 28rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0;
  text-align: left;
  white-space: nowrap;
}

.hero-stage {
  position: absolute;
  inset: 6.1rem 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  overflow: visible;
  transform: none;
}

.hero-name-shadow {
  position: absolute;
  left: 50%;
  top: 49%;
  z-index: 0;
  display: block;
  color: rgba(28, 29, 32, 0.07);
  font-size: 20rem;
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  user-select: none;
}

.hero-visual {
  position: relative;
  z-index: 1;
  width: 30rem;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  filter: drop-shadow(0 24px 34px rgba(28, 29, 32, 0.16));
  transform: translateZ(0);
  transition: transform 0.24s ease, filter 0.24s ease;
}

.hero-visual:hover {
  transform: translateY(-0.35rem);
  filter: drop-shadow(0 30px 42px rgba(28, 29, 32, 0.2));
}

.hero-visual img {
  width: 100%;
  height: auto;
}

.hero-bottom {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 3.2rem;
  z-index: 4;
  display: block;
}

.hero-copy {
  max-width: 22.5rem;
}

.hero-bottom .round-cta {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 10.5rem;
  height: 10.5rem;
  min-width: 0;
  padding: 1.4rem;
  border-radius: 999px;
}

.hero-copy h1 {
  font-size: 3.05rem;
}

.hero-summary {
  margin-top: 1rem;
}

.hero-title-line {
  display: block;
}

.kicker,
.section-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.8rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
}

.kicker::before,
.section-label::before {
  content: "";
  width: 1.1rem;
  height: 2px;
  flex: 0 0 auto;
  background: var(--accent);
}

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

h1,
.hero-copy h1,
.page-header h1,
.case-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: 5.2rem;
  line-height: 1.03;
  font-weight: 500;
  letter-spacing: 0;
}

.hero-copy h1 {
  font-size: 4.65rem;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: 3rem;
  line-height: 1.14;
  font-weight: 500;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-summary,
.page-header-sub,
.case-hero p,
.statement-side p,
.capability-copy p,
.ai-statement p,
.case-story-grid p,
.capability-row p,
.tool-section p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-summary {
  max-width: 46rem;
  margin: 1.8rem 0 0;
}

.round-cta,
.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 11.5rem;
  height: 11.5rem;
  padding: 1.6rem;
  border-radius: 999px;
  background: var(--dark);
  color: var(--light);
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.24s ease, background 0.24s ease, color 0.24s ease;
}

.round-cta:hover,
.footer-cta:hover {
  background: var(--accent);
}

.round-cta.small {
  width: 9.5rem;
  height: 9.5rem;
}

.marquee {
  width: 100%;
  overflow: hidden;
  background: var(--dark);
  color: var(--light);
  padding: 2rem 0;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 2.2rem;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 2.2rem;
  font-size: 4rem;
  line-height: 1;
  font-weight: 600;
}

.marquee-track span::after {
  content: "/";
  color: var(--accent);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.statement-section {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 4.5rem;
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.statement-side {
  display: grid;
  align-content: center;
  gap: 1.8rem;
}

.text-link {
  display: inline-flex;
  width: max-content;
  padding-bottom: 0.24rem;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-weight: 800;
}

.case-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.pill-link:hover {
  border-color: var(--dark);
  background: var(--dark);
  color: var(--light);
}

.metrics-section {
  padding-top: 1rem;
  padding-bottom: 6.5rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.metric-card {
  min-height: 16rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.metric-card:hover {
  transform: translateY(-0.28rem);
  box-shadow: 0 18px 42px rgba(28, 29, 32, 0.07);
}

.metric-card strong {
  display: block;
  color: var(--ink);
  font-size: 3.5rem;
  line-height: 1;
  font-weight: 650;
}

.metric-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.featured-work-section,
.work-grid-section,
.media-section {
  padding-top: 3rem;
  padding-bottom: 7rem;
}

.section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.section-heading-row h2 {
  max-width: 42rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.project-grid-large {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  position: relative;
  display: block;
  min-height: 32rem;
  border-radius: 8px;
  overflow: hidden;
  background: var(--dark-soft);
  color: var(--light);
  box-shadow: 0 18px 40px rgba(28, 29, 32, 0.1);
  isolation: isolate;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.featured-work-section .project-card {
  min-height: 24rem;
  height: 24rem;
}

.featured-work-section .project-card img {
  min-height: 24rem;
}

.work-grid-section .project-card,
.work-grid-section .project-card img {
  min-height: 28rem;
}

.work-grid-section .project-card {
  height: 28rem;
}

.project-card[hidden] {
  display: none;
}

.project-card:hover {
  transform: translateY(-0.35rem);
  box-shadow: 0 26px 58px rgba(28, 29, 32, 0.16);
}

.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  filter: saturate(0.98);
  transition: transform 0.42s ease;
}

.project-card:hover img {
  transform: scale(1.035);
}

.project-card img.thumb-focus-packaging {
  object-position: center 82%;
}

.project-card img.thumb-focus-portrait {
  object-position: center 14%;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(28, 29, 32, 0.05), rgba(28, 29, 32, 0.72));
}

.project-card-copy {
  position: absolute;
  left: 0.95rem;
  right: auto;
  bottom: 0.95rem;
  z-index: 2;
  display: inline-grid;
  width: min(calc(100% - 1.9rem), 22rem);
  gap: 0.42rem;
  padding: 0.72rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(28, 29, 32, 0.34);
  backdrop-filter: blur(14px) saturate(1.08);
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
  box-shadow: 0 12px 26px rgba(28, 29, 32, 0.16);
}

.project-card-copy p,
.project-card-copy span {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  font-weight: 700;
}

.project-card-copy .project-card-note {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.34;
}

.project-card-copy h2,
.project-card-copy h3 {
  color: var(--light);
  font-size: 1.35rem;
  line-height: 1.18;
}

.capabilities-preview {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 4.6rem;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 8rem;
}

.capability-visual {
  display: block;
  width: min(100%, 28rem);
  aspect-ratio: 3 / 4;
  justify-self: center;
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(28, 29, 32, 0.14);
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.capability-visual:hover {
  transform: translateY(-0.28rem);
  box-shadow: 0 28px 68px rgba(28, 29, 32, 0.14);
}

.capability-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.capability-visual .ai-builder-photo {
  object-position: center center;
}

.ai-hero-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.capability-copy {
  display: grid;
  gap: 1.4rem;
}

.capability-copy .section-label,
.tool-section .section-label,
.ai-statement .section-label {
  margin-bottom: 0;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.4rem;
}

.tag-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.page-header {
  padding-top: 10.5rem;
  padding-bottom: 4rem;
}

.page-header h1 {
  max-width: 62rem;
}

.page-header-sub {
  max-width: 45rem;
  margin: 1.8rem 0 0;
}

.work-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding-bottom: 1rem;
}

.filter-button {
  min-height: 2.7rem;
  padding: 0 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 700;
}

.filter-button:hover,
.filter-button.active {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--light);
}

.compact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 2rem;
  padding-bottom: 6rem;
}

.compact-cta h2 {
  max-width: 48rem;
  font-size: 2.6rem;
}

.ai-hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 6rem;
}

.ai-hero-grid img {
  border-radius: 8px;
  background: var(--dark);
}

.ai-statement {
  padding: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.ai-statement p {
  margin: 0;
  color: var(--ink);
  font-size: 1.8rem;
  line-height: 1.42;
}

.capability-list {
  padding-top: 2rem;
  padding-bottom: 6rem;
}

.capability-row {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}

.capability-row:last-child {
  border-bottom: 1px solid var(--line);
}

.capability-row > span {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 800;
}

.capability-row p {
  max-width: 52rem;
  margin: 1rem 0 0;
}

.tool-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  padding-top: 3rem;
  padding-bottom: 7rem;
}

.tag-cloud.wide {
  align-content: start;
  margin-top: 0;
}

.case-hero {
  padding-top: 10rem;
  padding-bottom: 4.5rem;
}

.back-link {
  display: inline-flex;
  margin-bottom: 2.4rem;
  padding-bottom: 0.24rem;
  border-bottom: 1px solid currentColor;
  color: var(--muted);
  font-weight: 800;
}

.case-hero h1 {
  max-width: 68rem;
}

.case-hero p:not(.section-label) {
  max-width: 48rem;
  margin: 2rem 0 0;
}

.case-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 0;
  padding-bottom: 4rem;
}

.case-meta-grid article {
  min-height: 8.2rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.case-meta-grid span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.case-meta-grid strong {
  color: var(--ink);
  font-size: 1.06rem;
  line-height: 1.32;
}

.case-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 2rem;
  padding-bottom: 6rem;
}

.case-story-grid article {
  min-height: 18rem;
  padding: 2rem;
  border-radius: 8px;
  background: var(--dark);
  color: var(--light);
}

.case-story-grid h2 {
  color: var(--light);
  font-size: 1.55rem;
}

.case-story-grid p {
  margin: 1.3rem 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.about-essay {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 1rem var(--page-x) 5.5rem;
}

.about-essay-inner {
  max-width: 58rem;
}

.about-essay p {
  color: var(--ink);
  font-size: clamp(1.24rem, 2vw, 1.85rem);
  line-height: 1.62;
}

.about-essay p + p {
  margin-top: 1.6rem;
}

.about-links-section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 1rem var(--page-x) 7rem;
}

.about-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.about-link-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.about-link-card:hover {
  transform: translateY(-0.28rem);
  box-shadow: 0 18px 42px rgba(28, 29, 32, 0.08);
}

.about-link-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  object-fit: cover;
  background: var(--dark-soft);
}

.about-link-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.58;
}

.about-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2rem;
}

.about-keywords span {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.media-section {
  padding-top: 2rem;
}

.media-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 980px;
  margin: 0 auto;
}

.media-card {
  display: block;
  min-height: 0;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
}

.media-card.video-card {
  width: fit-content;
  max-width: min(100%, 420px);
  margin: 0 auto;
  padding: 0.75rem;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: transparent;
}

.media-card img,
.media-card video {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 6px;
  background: transparent;
}

.media-card video {
  display: block;
  max-height: 68svh;
}

.media-card.video-card video {
  width: auto;
  max-width: 100%;
}

.media-card.video-card:fullscreen,
.media-card.video-card:-webkit-full-screen {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #000;
}

.media-card.video-card:fullscreen::backdrop,
.media-card.video-card:-webkit-full-screen::backdrop,
.media-card.video-card video:fullscreen::backdrop,
.media-card.video-card video:-webkit-full-screen::backdrop {
  background: #000;
}

.media-card.video-card video:fullscreen,
.media-card.video-card video:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  border: 0;
  border-radius: 0;
  background: #000;
  object-fit: contain;
}

.media-card:hover img {
  transform: none;
}

.media-card > span,
.media-card::after,
.video-card::before,
.document-card::before {
  display: none;
}

.site-footer {
  position: relative;
  margin-top: 4rem;
  padding: 6rem var(--page-x) 3rem;
  background: var(--dark);
  color: var(--light);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -3rem;
  left: 0;
  width: 100%;
  height: 3rem;
  background: var(--dark);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.footer-main,
.footer-info {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.footer-main {
  display: grid;
  justify-items: center;
  gap: 2.3rem;
  text-align: center;
  padding-bottom: 5rem;
}

.footer-avatar {
  width: 6.6rem;
  height: 6.6rem;
  border: 2px solid var(--line-dark);
  border-radius: 999px;
  object-fit: cover;
}

.footer-main h2 {
  max-width: 55rem;
  color: var(--light);
  font-size: 4.4rem;
}

.footer-cta {
  background: var(--accent);
}

.footer-cta:hover {
  background: var(--light);
  color: var(--dark);
}

.footer-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line-dark);
}

.footer-info h3 {
  margin-bottom: 0.9rem;
  color: var(--faint);
  font-size: 0.85rem;
}

.footer-info p,
.footer-info a {
  display: block;
  margin: 0.25rem 0;
  color: var(--light);
  line-height: 1.5;
}

.compact-footer {
  margin-top: 2rem;
  padding-top: 4rem;
}

.compact-footer::before {
  display: none;
}

@media (max-width: 1180px) {
  h1,
  .hero-copy h1,
  .page-header h1,
  .case-hero h1 {
    font-size: 4.25rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .hero-name-shadow {
    font-size: 15rem;
  }

  .hero-stage {
    top: 6rem;
  }

  .hero-visual {
    width: 27rem;
  }

  .hero-copy {
    max-width: 21rem;
  }

  .hero-copy h1 {
    font-size: 2.85rem;
  }

  .hero-bottom .round-cta {
    width: 9.2rem;
    height: 9.2rem;
  }

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

  .project-grid,
  .project-grid-large {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-story-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1600px) {
  .hero-copy {
    max-width: 31rem;
  }

  .hero-copy h1 {
    font-size: 4.05rem;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .header-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-section {
    height: auto;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    padding-top: 6.5rem;
    padding-bottom: 4.5rem;
    gap: 2.4rem;
  }

  .hero-topline,
  .hero-bottom,
  .statement-section,
  .capabilities-preview,
  .ai-hero-grid,
  .tool-section,
  .compact-cta {
    grid-template-columns: 1fr;
  }

  .hero-topline,
  .compact-cta {
    display: grid;
  }

  .hero-topline {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.35rem;
  }

  .location-badge {
    width: max-content;
    max-width: calc(100vw - (var(--page-x) * 2));
    justify-self: start;
    gap: 0.45rem;
    padding: 0.42rem 0.7rem;
    font-size: 0.78rem;
    transform: none;
  }

  .live-dot {
    width: 0.38rem;
    height: 0.38rem;
  }

  .hero-role {
    max-width: none;
    text-align: left;
  }

  .hero-stage {
    position: relative;
    order: 2;
    inset: auto;
    height: auto;
    margin: 0;
  }

  .hero-signature {
    position: relative;
    right: auto;
    bottom: auto;
    order: 3;
    align-self: flex-end;
    max-width: min(100%, 17rem);
    margin-top: -0.7rem;
    margin-right: 0.6rem;
    font-size: 1rem;
    line-height: 1.55;
    text-align: right;
    white-space: normal;
  }

  .hero-name-shadow {
    top: 50%;
    font-size: 9rem;
  }

  .hero-visual {
    width: 22rem;
  }

  .hero-bottom {
    position: relative;
    order: 3;
    left: auto;
    right: auto;
    bottom: auto;
    display: grid;
    gap: 1.5rem;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-bottom .round-cta {
    position: relative;
    right: auto;
    bottom: auto;
    justify-self: start;
  }

  .statement-section,
  .featured-work-section,
  .work-grid-section,
  .capabilities-preview,
  .capability-list,
  .about-essay,
  .about-links-section,
  .tool-section,
  .media-section {
    padding-top: 4.5rem;
    padding-bottom: 5rem;
  }

  .section-heading-row {
    display: grid;
  }

  .capability-row {
    grid-template-columns: 3.5rem minmax(0, 1fr);
  }

  .footer-main h2 {
    font-size: 3.2rem;
  }

  .footer-info {
    grid-template-columns: 1fr;
  }

  .about-links-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  :root {
    --page-x: 1rem;
  }

  .header-logo {
    font-size: 0.92rem;
  }

  .header-logo span:last-child {
    max-width: 9rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .language-switcher {
    padding: 0.18rem;
  }

  .language-button {
    min-width: 2.2rem;
    height: 1.8rem;
    padding: 0 0.55rem;
    font-size: 0.8rem;
  }

  .menu-toggle {
    width: 3rem;
    height: 3rem;
  }

  h1,
  .hero-copy h1,
  .page-header h1,
  .case-hero h1 {
    font-size: 3rem;
    line-height: 1.08;
  }

  h2 {
    font-size: 2.05rem;
  }

  .hero-summary,
  .page-header-sub,
  .case-hero p,
  .statement-side p,
  .capability-copy p,
  .ai-statement p,
  .case-story-grid p,
  .capability-row p,
  .tool-section p {
    font-size: 1rem;
  }

  .hero-stage {
    height: auto;
    margin: 0;
  }

  .hero-copy h1 {
    font-size: 2.55rem;
  }

  .hero-name-shadow {
    display: block;
    font-size: 6.8rem;
  }

  .hero-visual {
    width: min(84vw, 22rem);
  }

  .hero-bottom .round-cta {
    width: max-content;
    height: 2.9rem;
    min-width: 0;
    padding: 0 1rem;
    border-radius: 999px;
    justify-self: start;
  }

  .marquee {
    padding: 1.35rem 0;
  }

  .marquee-track,
  .marquee-track span {
    gap: 1.5rem;
  }

  .marquee-track span {
    font-size: 2.5rem;
  }

  .metrics-grid,
  .project-grid,
  .project-grid-large,
  .case-meta-grid {
    grid-template-columns: 1fr;
  }

  .metric-card {
    min-height: 13rem;
  }

  .project-card,
  .project-card img {
    min-height: 25rem;
  }

  .capability-visual {
    width: min(100%, 21rem);
  }

  .media-card {
    padding: 0.85rem;
  }

  .media-card.video-card {
    width: 100%;
    max-width: min(100%, 24rem);
  }

  .about-essay p {
    font-size: 1.08rem;
    line-height: 1.68;
  }

  .featured-work-section .project-card,
  .featured-work-section .project-card img {
    min-height: 20rem;
    height: 20rem;
  }

  .ai-statement {
    padding: 1.4rem;
  }

  .capability-row {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .drawer-nav a {
    font-size: 2.5rem;
  }
}

@media (max-width: 420px) {
  h1,
  .hero-copy h1,
  .page-header h1,
  .case-hero h1 {
    font-size: 2.55rem;
  }

  .hero-copy h1 {
    font-size: 2.35rem;
  }

  .hero-stage {
    height: auto;
    margin: 0;
  }

  .hero-visual {
    width: min(86vw, 21.5rem);
  }

  h2 {
    font-size: 1.82rem;
  }

  .hero-name-shadow {
    display: block;
    font-size: 5.6rem;
  }

  .project-card,
  .project-card img {
    min-height: 22rem;
  }

  .featured-work-section .project-card,
  .featured-work-section .project-card img {
    min-height: 18rem;
    height: 18rem;
  }

  .round-cta,
  .footer-cta {
    width: 8.5rem;
    height: 8.5rem;
    font-size: 0.92rem;
  }
}

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