:root {
  color-scheme: light;
  --text: #111114;
  --muted: #63666d;
  --soft: #f5f5f7;
  --line: rgba(17, 17, 20, 0.12);
  --glass: rgba(255, 255, 255, 0.76);
  --white: #ffffff;
  --blue: #0071e3;
  --green: #178a61;
  --rose: #b4235a;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.12);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue",
    "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6vw;
  background: rgba(250, 250, 252, 0.72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(250, 250, 252, 0.88);
  border-bottom-color: var(--line);
}

.brand {
  font-size: 15px;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(17, 17, 20, 0.72);
  font-size: 14px;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 86svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 120px 6vw 72px;
  isolation: isolate;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.hero-scrim {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.78) 36%, rgba(255, 255, 255, 0.16) 76%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0) 32%);
}

.hero-content {
  width: min(620px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: 76px;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 560px;
  margin: 24px 0 0;
  color: #2d2f35;
  font-size: 22px;
  line-height: 1.45;
}

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

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(0, 113, 227, 0.28);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--blue);
  border-color: rgba(0, 113, 227, 0.18);
}

.band {
  padding: 96px 6vw;
}

.section-heading {
  width: min(1060px, 100%);
  margin: 0 auto 42px;
}

.section-heading h2,
.contact h2 {
  margin: 0;
  font-size: 48px;
  line-height: 1.12;
  letter-spacing: 0;
}

.intro {
  background: var(--white);
}

.intro-grid {
  width: min(1060px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: 56px;
  align-items: start;
}

.intro-grid > p {
  margin: 0;
  color: #2b2d31;
  font-size: 24px;
  line-height: 1.5;
}

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

.metrics div {
  min-height: 120px;
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbfd;
}

.metrics strong {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.metrics span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.work {
  background: var(--soft);
}

.work-grid {
  width: min(1060px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  overflow: hidden;
  border: 1px solid rgba(17, 17, 20, 0.08);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(17, 17, 20, 0.06);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.project-visual {
  position: relative;
  overflow: hidden;
  height: 210px;
  border-bottom: 1px solid rgba(17, 17, 20, 0.08);
  background-size: 100% 100%;
  background-position: center;
}

.project-visual::before,
.project-visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.46);
  box-shadow: 0 18px 42px rgba(17, 17, 20, 0.12);
}

.project-visual::before {
  left: 18%;
  right: 18%;
  top: 24%;
  height: 44%;
  border-radius: 8px;
}

.project-visual::after {
  left: 28%;
  right: 28%;
  bottom: 22%;
  height: 8px;
  border-radius: 8px;
}

.visual-silver {
  background: linear-gradient(135deg, #f8f9fb 0%, #dfe4ea 48%, #a9b0bb 100%);
}

.visual-blue {
  background: linear-gradient(135deg, #f5fbff 0%, #b9dcff 52%, #6a8bd8 100%);
}

.visual-green {
  background: linear-gradient(135deg, #f8fbf6 0%, #b9dfc8 52%, #689d85 100%);
}

.project-body {
  padding: 24px;
}

.project-type {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.project-card h3,
.process-list h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
}

.project-card p:last-child,
.process-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.process {
  background: #111114;
  color: var(--white);
}

.process .eyebrow,
.process-list p {
  color: rgba(255, 255, 255, 0.66);
}

.process-list {
  width: min(1060px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.process-list article {
  min-height: 260px;
  padding: 32px;
  background: #111114;
}

.process-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 54px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 86px 6vw;
  background:
    linear-gradient(135deg, rgba(0, 113, 227, 0.08), rgba(180, 35, 90, 0.08)),
    #fbfbfd;
}

.contact > div {
  width: min(760px, 100%);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 6vw;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--blue);
}

@media (max-width: 920px) {
  h1 {
    font-size: 58px;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-copy {
    font-size: 19px;
  }

  .section-heading h2,
  .contact h2 {
    font-size: 38px;
  }

  .intro-grid,
  .work-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .metrics {
    max-width: 520px;
  }

  .contact {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 0 20px;
  }

  .nav-toggle {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--text);
  }

  .nav-toggle span {
    width: 18px;
    height: 1.5px;
    background: currentColor;
    transition: transform 160ms ease;
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 56px 0 auto;
    display: grid;
    gap: 0;
    padding: 10px 20px 22px;
    background: rgba(250, 250, 252, 0.96);
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 15px 0;
    border-bottom: 1px solid rgba(17, 17, 20, 0.08);
    font-size: 17px;
  }

  .hero {
    min-height: 80svh;
    padding: 104px 20px 58px;
    align-items: end;
  }

  .hero-image {
    object-position: 64% center;
  }

  .hero-scrim {
    background:
      linear-gradient(0deg, rgba(255, 255, 255, 0.96) 4%, rgba(255, 255, 255, 0.76) 44%, rgba(255, 255, 255, 0.2) 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.1));
  }

  h1 {
    font-size: 44px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .band {
    padding: 72px 20px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading h2,
  .contact h2 {
    font-size: 31px;
  }

  .intro-grid > p {
    font-size: 20px;
  }

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

  .project-visual {
    height: 180px;
  }

  .process-list article {
    min-height: auto;
    padding: 28px;
  }

  .process-list span {
    margin-bottom: 36px;
  }

  .contact {
    padding: 72px 20px;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 20px;
  }
}

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