:root {
  --ink: #07090d;
  --paper: #f5f7fb;
  --muted: #8d96a7;
  --line: rgba(255, 255, 255, 0.16);
  --blue: #2e7bff;
  --blue-soft: rgba(46, 123, 255, 0.18);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family:
    "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

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

.noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.055;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.45) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: 72px;
  padding: 0 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 9, 13, 0.68);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  width: fit-content;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand span {
  white-space: nowrap;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  gap: 30px;
  color: rgba(245, 247, 251, 0.68);
  font-size: 14px;
}

.nav-links a,
.nav-cta,
.button {
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.nav-links a:hover {
  color: var(--paper);
}

.nav-cta {
  justify-self: end;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--paper);
  font-size: 13px;
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  gap: 0;
  padding-top: 72px;
  overflow: hidden;
}

.hero-media {
  position: relative;
  min-height: calc(100dvh - 72px);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 9, 13, 0) 44%, rgba(7, 9, 13, 0.88) 100%),
    linear-gradient(0deg, rgba(7, 9, 13, 0.78), rgba(7, 9, 13, 0.02) 42%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: calc(100dvh - 72px);
  object-fit: cover;
}

.hero-slate {
  position: absolute;
  left: 34px;
  bottom: 34px;
  z-index: 1;
  display: flex;
  gap: 18px;
  align-items: center;
  color: rgba(245, 247, 251, 0.8);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.hero-slate span:first-child {
  color: var(--blue);
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 56px 60px 12px;
}

.kicker,
.small-label {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

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

h1 {
  max-width: 620px;
  margin-bottom: 24px;
  font-size: clamp(48px, 6.4vw, 92px);
  line-height: 0.98;
  font-weight: 850;
}

.hero-copy > p:not(.kicker) {
  max-width: 520px;
  color: rgba(245, 247, 251, 0.72);
  font-size: 18px;
  line-height: 1.8;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.button:active {
  transform: translateY(1px) scale(0.99);
}

.button.primary {
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 16px 44px rgba(46, 123, 255, 0.28);
}

.button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(245, 247, 251, 0.88);
}

.button.dark {
  border-color: rgba(7, 9, 13, 0.2);
  color: var(--ink);
}

.ticker {
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.1);
  background: #0b0e14;
}

.ticker div {
  display: flex;
  width: max-content;
  gap: 54px;
  padding: 18px 0;
  animation: ticker 26s linear infinite;
}

.ticker span {
  color: rgba(245, 247, 251, 0.48);
  font-size: 13px;
  letter-spacing: 0.24em;
  white-space: nowrap;
}

.section {
  padding: 110px 34px;
}

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

.section-heading h2,
.method-intro h2,
.studio-copy h2,
.services-copy h2,
.contact-panel h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.2vw, 64px);
  line-height: 1.05;
  font-weight: 820;
}

.section-heading p,
.studio-copy p,
.services-copy p,
.contact-panel p {
  color: rgba(245, 247, 251, 0.64);
  font-size: 17px;
  line-height: 1.85;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1360px;
  margin: 0 auto;
}

.work-card {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #11151e;
}

.work-card.large {
  grid-column: span 2;
}

.work-card.wide {
  grid-column: span 2;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
  transition: transform 700ms ease;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 9, 13, 0.86), transparent 56%);
}

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

.work-card div {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
}

.work-card span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.work-card h3 {
  margin: 8px 0 0;
  font-size: 24px;
}

.capability-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 34px 118px;
}

.capability-item {
  min-height: 280px;
  padding: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    #090c12;
}

.capability-item:first-child {
  border-radius: var(--radius) 0 0 var(--radius);
}

.capability-item:last-child {
  border-radius: 0 var(--radius) var(--radius) 0;
}

.capability-item span {
  color: var(--blue);
  font-family: "SF Mono", "Menlo", monospace;
  font-size: 13px;
}

.capability-item h3 {
  margin: 72px 0 16px;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.12;
}

.capability-item p {
  margin-bottom: 0;
  color: rgba(245, 247, 251, 0.58);
  line-height: 1.8;
}

.method-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  max-width: 1320px;
  margin: 0 auto;
}

.method-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.method-item {
  display: grid;
  grid-template-columns: 70px minmax(140px, 0.4fr) minmax(0, 1fr);
  gap: 22px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.method-item span {
  color: var(--blue);
  font-family: "SF Mono", "Menlo", monospace;
}

.method-item h3 {
  margin-bottom: 0;
  font-size: 22px;
}

.method-item p {
  margin-bottom: 0;
  color: rgba(245, 247, 251, 0.58);
  line-height: 1.8;
}

.studio-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 40px;
  align-items: end;
  padding: 120px 34px;
  background:
    radial-gradient(circle at 78% 16%, var(--blue-soft), transparent 28%),
    linear-gradient(180deg, #0a0d13, #050608);
}

.studio-copy,
.metrics {
  max-width: 1320px;
}

.studio-copy {
  padding-left: max(0px, calc((100vw - 1320px) / 2));
}

.metrics {
  display: grid;
  gap: 12px;
  padding-right: max(0px, calc((100vw - 1320px) / 2));
}

.metrics div {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.metrics strong {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 42px;
  line-height: 1;
}

.metrics span {
  color: rgba(245, 247, 251, 0.56);
}

.services-section {
  padding: 116px 34px;
  background: #050608;
}

.services-wrap {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 70px;
  max-width: 1320px;
  margin: 0 auto;
  align-items: start;
}

.services-copy p:not(.small-label) {
  max-width: 620px;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
}

.services-list div {
  min-height: 210px;
  padding: 28px;
  background:
    radial-gradient(circle at 86% 10%, rgba(46, 123, 255, 0.12), transparent 36%),
    #090c12;
}

.services-list span {
  display: block;
  margin-bottom: 62px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
}

.services-list p {
  margin-bottom: 0;
  color: rgba(245, 247, 251, 0.58);
  line-height: 1.8;
}

.contact-section {
  padding: 120px 34px;
  background: var(--paper);
  color: var(--ink);
}

.contact-panel {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.contact-panel p {
  max-width: 720px;
  margin-inline: auto;
  color: rgba(7, 9, 13, 0.68);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.52fr 0.9fr;
  gap: 14px;
  margin-top: 34px;
}

.contact-link {
  display: flex;
  min-width: 0;
  min-height: 92px;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 18px 24px;
  border: 1px solid rgba(7, 9, 13, 0.16);
  border-radius: 28px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.34);
  text-align: left;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.contact-link:hover {
  border-color: rgba(46, 123, 255, 0.45);
  background: rgba(255, 255, 255, 0.72);
  transform: translateY(-1px);
}

.contact-link span {
  color: rgba(7, 9, 13, 0.48);
  font-family: "SF Mono", "Menlo", monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.contact-link strong {
  color: var(--ink);
  font-size: clamp(20px, 1.9vw, 29px);
  line-height: 1.1;
  white-space: nowrap;
  overflow-wrap: anywhere;
}

.contact-link.primary-contact {
  border-color: rgba(46, 123, 255, 0.3);
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 16px 44px rgba(46, 123, 255, 0.24);
}

.contact-link.primary-contact span,
.contact-link.primary-contact strong {
  color: #ffffff;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 34px;
  color: rgba(245, 247, 251, 0.46);
  font-size: 12px;
  letter-spacing: 0.1em;
  background: #050608;
}

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

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

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

@keyframes ticker {
  from {
    transform: translateX(34px);
  }
  to {
    transform: translateX(-50%);
  }
}

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

  .ticker div {
    animation: none;
  }

  .js .reveal,
  .work-card img,
  .button,
  .nav-links a,
  .nav-cta {
    transition: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding-inline: 20px;
  }

  .nav-links {
    display: none;
  }

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

  .hero-media {
    min-height: auto;
    height: min(68dvh, 720px);
  }

  .hero-media img {
    min-height: 0;
    height: 100%;
  }

  .hero-media::after {
    background: linear-gradient(0deg, rgba(7, 9, 13, 0.92), rgba(7, 9, 13, 0.05) 54%);
  }

  .hero-copy {
    width: min(100%, 720px);
    margin-top: -112px;
    padding: 0 24px 78px;
  }

  .work-grid,
  .method-section,
  .studio-section,
  .services-wrap {
    grid-template-columns: 1fr;
  }

  .work-card,
  .work-card.large {
    grid-column: span 1;
    min-height: 0;
    aspect-ratio: 16 / 11;
  }

  .work-card.wide {
    grid-column: span 1;
  }

  .capability-band {
    grid-template-columns: 1fr;
    padding: 0 24px 78px;
  }

  .capability-item,
  .capability-item:first-child,
  .capability-item:last-child {
    min-height: 220px;
    border-radius: 14px;
  }

  .capability-item h3 {
    margin-top: 48px;
  }

  .method-item {
    grid-template-columns: 48px 1fr;
    gap: 16px 18px;
  }

  .method-item p {
    grid-column: 2;
  }

  .studio-copy,
  .metrics {
    padding-inline: 0;
  }

  .services-section {
    padding: 78px 24px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 66px;
    gap: 12px;
    padding-inline: 16px;
  }

  .brand span {
    display: none;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .nav-cta {
    min-height: 38px;
    padding-inline: 14px;
    font-size: 12px;
  }

  h1 {
    font-size: clamp(42px, 12vw, 56px);
    line-height: 1;
    letter-spacing: 0;
  }

  .hero {
    padding-top: 66px;
  }

  .hero-media {
    width: calc(100% - 24px);
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
    margin: 12px auto 0;
    overflow: hidden;
    border-radius: 22px;
  }

  .hero-media::after {
    background:
      linear-gradient(0deg, rgba(7, 9, 13, 0.78), rgba(7, 9, 13, 0.02) 50%),
      linear-gradient(180deg, rgba(7, 9, 13, 0.24), transparent 34%);
  }

  .hero-slate {
    left: 18px;
    right: 18px;
    bottom: 18px;
    justify-content: space-between;
    gap: 12px;
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .hero-copy {
    width: auto;
    margin-top: 0;
    padding: 24px 18px 62px;
  }

  .kicker,
  .small-label {
    margin-bottom: 12px;
    font-size: 11px;
  }

  .hero-copy > p:not(.kicker) {
    max-width: none;
    font-size: 15px;
    line-height: 1.75;
  }

  .section,
  .studio-section,
  .contact-section {
    padding: 76px 18px;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section-heading {
    text-align: left;
  }

  .section-heading h2,
  .method-intro h2,
  .studio-copy h2,
  .services-copy h2,
  .contact-panel h2 {
    font-size: clamp(32px, 9vw, 42px);
    line-height: 1.08;
  }

  .section-heading p,
  .studio-copy p,
  .services-copy p,
  .contact-panel p {
    font-size: 15px;
    line-height: 1.78;
  }

  .work-grid {
    gap: 12px;
  }

  .work-card,
  .work-card.large,
  .work-card.wide {
    aspect-ratio: 4 / 5;
  }

  .work-card div {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .work-card h3 {
    font-size: 22px;
    line-height: 1.18;
  }

  .capability-band {
    padding-inline: 18px;
  }

  .capability-item {
    min-height: 0;
    padding: 24px;
  }

  .capability-item h3 {
    margin-top: 42px;
  }

  .method-item {
    grid-template-columns: 38px 1fr;
    padding: 24px 0;
  }

  .method-item h3 {
    font-size: 20px;
  }

  .services-section {
    padding: 76px 18px;
  }

  .services-list {
    grid-template-columns: 1fr;
    border-radius: 14px;
  }

  .services-list span {
    margin-bottom: 44px;
  }

  .services-list div {
    min-height: 184px;
    padding: 24px;
  }

  .metrics div {
    padding: 22px;
  }

  .metrics strong {
    font-size: 36px;
  }

  .contact-link {
    min-height: 84px;
    border-radius: 20px;
    padding: 18px 20px;
  }

  .contact-link strong {
    font-size: clamp(20px, 6.2vw, 28px);
    white-space: normal;
  }

  .work-card {
    border-radius: 14px;
  }

  .site-footer {
    flex-direction: column;
    padding-inline: 18px;
  }
}

@media (max-width: 420px) {
  .hero-media {
    width: calc(100% - 18px);
    border-radius: 18px;
  }

  .hero-copy {
    padding-inline: 14px;
  }

  .ticker div {
    gap: 34px;
  }

  .contact-grid {
    gap: 10px;
  }
}
