:root {
  --bg: #e6eaed;
  --white: #ffffff;
  --text: #555555;
  --dark: #333333;
  --navy: #163e59;
  --blue: #0030b8;
  --accent: #329bf0;
  --cta: #1f9d44;
  --muted: #606b73;
  --news: #fafafa;
  --footer: #1a1f2b;
  --container: 1200px;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--footer);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.7;
}

body.is-locked {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 30;
  padding: 8px 14px;
  background: #fff;
  color: var(--navy);
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(var(--container), calc(100% - 30px));
  margin: 0 auto;
}

#work,
#about,
#process,
#services,
#collaboration,
#contact {
  scroll-margin-top: 84px;
}

.page {
  position: relative;
  z-index: 1;
  background: var(--bg);
}

@media (min-width: 992px) {
  .page {
    margin-bottom: 360px;
  }
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 84px;
  color: #fff;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.topbar.is-scrolled,
.topbar.is-open {
  background: rgba(255, 255, 255, 0.96);
  color: var(--dark);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
}

.brand-mark {
  display: flex;
  gap: 2px;
  align-items: end;
  height: 22px;
}

.brand-mark i {
  width: 4px;
  background: currentColor;
  display: block;
}

.brand-mark i:nth-child(1) { height: 10px; }
.brand-mark i:nth-child(2) { height: 18px; }
.brand-mark i:nth-child(3) { height: 14px; }

.brand-mark.has-logo {
  width: 28px;
  height: 28px;
  display: block;
}

.brand-mark.has-logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 20px;
}

.brand-text em {
  font-size: 10px;
  font-style: normal;
  letter-spacing: 1px;
  opacity: 0.7;
}

.nav {
  display: flex;
  align-items: center;
}

#nav-links {
  display: contents;
}

.nav a,
.nav-cta {
  padding: 28px 22px;
  font-size: 16px;
  letter-spacing: 0.4px;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}

.nav a:hover,
.nav a.active {
  opacity: 0.75;
}

.nav-cta {
  margin-left: 8px;
  padding: 0 24px;
  height: 40px;
  border: 1px solid currentColor;
  border-radius: 20px;
  font-size: 14px;
}

.nav-cta:hover {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}

.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 7px;
  background: currentColor;
}

.hero {
  position: relative;
  height: 648px;
  overflow: hidden;
  color: #fff;
}

.hero-progress {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  height: 2px;
  width: 0;
  background: rgba(255, 255, 255, 0.45);
}

.slides,
.slide,
.slide-bg {
  position: absolute;
  inset: 0;
}

.slide {
  opacity: 0;
  transition: opacity 0.7s ease;
}

.slide.is-active {
  opacity: 1;
}

.slide-bg {
  background:
    radial-gradient(circle at 78% 30%, rgba(50, 155, 240, 0.28), transparent 28%),
    linear-gradient(115deg, rgba(8, 22, 36, 0.55), rgba(8, 22, 36, 0.15) 48%, transparent 70%),
    linear-gradient(160deg, #0b2740, #163e59 55%, #0f2d44);
}

.slide-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent, #000 40%);
}

.slide-bg-b {
  background:
    radial-gradient(circle at 70% 40%, rgba(36, 183, 39, 0.18), transparent 26%),
    linear-gradient(115deg, rgba(8, 22, 36, 0.6), transparent 65%),
    linear-gradient(160deg, #102a44, #1a4f6e);
}

.slide-bg.has-photo {
  background-color: #0b2740;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide-bg.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(8, 22, 36, 0.74), rgba(8, 22, 36, 0.28) 55%, transparent 78%);
}

.slide-bg-c {
  background:
    radial-gradient(circle at 76% 24%, rgba(0, 48, 184, 0.35), transparent 30%),
    linear-gradient(115deg, rgba(8, 22, 36, 0.62), transparent 65%),
    linear-gradient(160deg, #0a1c33, #163e59);
}

.slide-copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: 180px 0 0;
  margin-left: max(15px, calc((100vw - var(--container)) / 2));
}

.slide-kicker {
  margin: 0 0 12px;
  letter-spacing: 2px;
  font-size: 12px;
  opacity: 0.75;
}

.slide-copy h1,
.slide-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.25;
  font-weight: 700;
}

.slide-copy p:last-child {
  margin: 0;
  max-width: 420px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.86);
}

.phone {
  position: absolute;
  right: max(40px, calc((100vw - var(--container)) / 2));
  top: 96px;
  z-index: 2;
  width: 230px;
}

.phone-body {
  height: 430px;
  padding: 12px;
  border-radius: 32px;
  background: linear-gradient(180deg, #1b2430, #0d131c);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.phone-notch {
  width: 78px;
  height: 10px;
  margin: 4px auto 10px;
  border-radius: 8px;
  background: #2a3340;
}

.phone-ui {
  height: calc(100% - 24px);
  border-radius: 22px;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.phone-ui b {
  font-size: 13px;
  letter-spacing: 1px;
}

.phone-ui span {
  font-size: 12px;
  opacity: 0.75;
}

.phone-ui-mini {
  background: linear-gradient(180deg, #1c4d63, #0f2f3d);
}

.mini-list {
  margin: 16px 0;
  padding: 0;
  list-style: none;
}

.mini-list li {
  margin-bottom: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.phone-ui-a {
  background: linear-gradient(180deg, #1c4d63, #0f2f3d);
}

.web {
  position: absolute;
  right: max(40px, calc((100vw - var(--container)) / 2));
  top: 150px;
  z-index: 2;
  width: 360px;
}

.web-body {
  border-radius: 12px;
  overflow: hidden;
  background: #111820;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.web-bar {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: #1b2430;
}

.web-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3d4a5a;
}

.web-bar i:nth-child(1) { background: #ef5d8a; }
.web-bar i:nth-child(2) { background: #f0b429; }
.web-bar i:nth-child(3) { background: #2fbe6a; }

.web-ui {
  padding: 18px 16px 16px;
  color: #fff;
}

.web-ui b {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  letter-spacing: 1px;
}

.web-hero {
  height: 92px;
  margin-bottom: 12px;
  background: linear-gradient(120deg, rgba(50, 155, 240, 0.35), rgba(255, 255, 255, 0.08));
}

.web-rows {
  display: grid;
  gap: 8px;
}

.web-rows i {
  display: block;
  height: 10px;
  background: rgba(255, 255, 255, 0.12);
}

.web-rows i:nth-child(2) { width: 78%; }
.web-rows i:nth-child(3) { width: 56%; }

.web-ui span {
  display: block;
  margin-top: 14px;
  font-size: 12px;
  opacity: 0.75;
}

.orbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.orbs i {
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff7c2, #f0b429);
}

.orbs i:nth-child(2) { background: radial-gradient(circle at 30% 30%, #d8ffe4, #2fbe6a); }
.orbs i:nth-child(3) { background: radial-gradient(circle at 30% 30%, #dcecff, #329bf0); }
.orbs i:nth-child(5) { background: radial-gradient(circle at 30% 30%, #ffd8e8, #ef5d8a); }

.phone-ui-b {
  background: linear-gradient(180deg, #2a3f68, #17243d);
}

.event-card {
  height: 160px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  font-size: 18px;
  font-weight: 700;
}

.phone-ui-c {
  background: linear-gradient(180deg, #17324a, #0d1d2c);
}

.bars {
  display: flex;
  align-items: end;
  gap: 12px;
  height: 160px;
}

.bars i {
  flex: 1;
  background: linear-gradient(180deg, #69c4ff, #329bf0);
}

.bars i:nth-child(1) { height: 46%; }
.bars i:nth-child(2) { height: 78%; }
.bars i:nth-child(3) { height: 62%; }

.hero-dots {
  position: absolute;
  top: 50%;
  right: 24px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  transform: translateY(-50%);
}

.hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.hero-dots .is-active {
  background: #fff;
}

.hero-card {
  position: absolute;
  left: 50%;
  bottom: 36px;
  z-index: 4;
  transform: translateX(-50%);
}

.hero-card article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 112px;
  padding: 18px 28px;
  background: #fff;
  color: var(--text);
}

.hero-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--dark);
  font-size: 20px;
}

.hero-card span {
  display: block;
  color: #555;
  line-height: 1.7;
}

.hero-card-btn {
  flex-shrink: 0;
  height: 40px;
  padding: 0 22px;
  border: 0;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}

.hero-card-btn:hover {
  background: #2086d8;
}

.section-title,
.section-top h2 {
  margin: 0;
  color: var(--dark);
  font-size: 32px;
  line-height: 1.4;
  text-align: center;
}

.section-top {
  text-align: center;
}

.section-top p {
  max-width: 800px;
  margin: 24px auto 48px;
  color: var(--text);
}

.section-top.light h2,
.section-top.light p {
  color: #fff;
}

.section-top.light p {
  color: rgba(255, 255, 255, 0.88);
}

.cases {
  padding: 48px 0 56px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 12px;
  margin-top: 32px;
}

.case-thumb {
  display: flex;
  align-items: flex-end;
  height: 230px;
  padding: 18px;
  color: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.case-thumb em {
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-style: normal;
  letter-spacing: 1.2px;
}

.case-thumb:hover {
  transform: scale(1.02);
  opacity: 0.92;
}

.case-grid h3 {
  margin: 12px 0 4px;
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
}

.case-grid h3 a:hover {
  color: var(--accent);
}

.case-grid p {
  margin: 0;
  color: #555;
}

.case-a { background: linear-gradient(160deg, #1c5650, #0f3835); }
.case-b { background: linear-gradient(160deg, #245c56, #123d3a); }
.case-c { background: linear-gradient(160deg, #163e59, #0b2740); }
.case-d { background: linear-gradient(160deg, #1a4f6e, #102a44); }
.case-e { background: linear-gradient(160deg, #2a3f68, #17243d); }
.case-f { background: linear-gradient(160deg, #1f4d63, #123040); }

.case-a,
.case-b,
.case-c,
.case-d,
.case-e,
.case-f {
  position: relative;
  overflow: hidden;
}

.case-thumb.has-photo {
  background-size: cover;
  background-position: center;
}

.case-thumb.has-photo::after {
  background-image: none;
  background: linear-gradient(180deg, rgba(8, 22, 36, 0.12), rgba(8, 22, 36, 0.55));
}

.case-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
}

.about {
  position: relative;
  margin-top: 40px;
  padding: 100px 0 180px;
  background:
    radial-gradient(circle at 80% 10%, rgba(50, 155, 240, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(22, 62, 89, 0.94), rgba(22, 62, 89, 0.96)),
    var(--navy);
  color: #fff;
  text-align: center;
}

.about-copy h2 {
  margin: 0;
  font-size: 28px;
}

.about-copy p {
  max-width: 840px;
  margin: 28px auto;
  text-align: left;
  font-size: 14px;
  line-height: 1.9;
}

.about-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.about-actions button,
.about-actions a {
  display: inline-block;
  min-width: 120px;
  height: 40px;
  padding: 0 22px;
  border: 0;
  border-radius: 2px;
  background: var(--cta);
  color: #fff;
  line-height: 40px;
  cursor: pointer;
}

.about-actions button:hover,
.about-actions a:hover {
  opacity: 0.9;
}

.stats {
  position: absolute;
  left: 50%;
  bottom: -110px;
  width: min(var(--container), calc(100% - 24px));
  transform: translateX(-50%);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.stats ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.stats li {
  background: #fff;
  padding: 52px 12px;
  color: var(--text);
}

.stats div {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 30px;
  line-height: 1.4;
}

.process {
  padding: 160px 0 80px;
  background: var(--news);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-grid article {
  min-height: 220px;
  padding: 28px 22px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.process-grid span {
  display: block;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 20px;
  font-weight: 700;
}

.process-grid h3 {
  margin: 0 0 10px;
  color: var(--dark);
  font-size: 16px;
}

.process-grid p {
  margin: 0;
  line-height: 1.8;
}

.services {
  padding: 72px 0 80px;
  background:
    radial-gradient(circle at 12% 20%, rgba(50, 155, 240, 0.16), transparent 22%),
    var(--navy);
  color: #fff;
  text-align: center;
}

.collaboration {
  padding: 88px 0;
  background: #f5f8fb;
}

.collaboration .section-top {
  max-width: 720px;
  margin-bottom: 36px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.deliverable-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.deliverable-grid article {
  min-height: 190px;
  padding: 24px;
  border-top: 3px solid var(--accent);
  background: #fff;
}

.deliverable-number {
  display: block;
  margin-bottom: 28px;
  color: #83a4bc;
  font-size: 13px;
  font-weight: 700;
}

.deliverable-grid h3,
.faq-layout h2 {
  margin: 0 0 10px;
  color: var(--dark);
  font-size: 20px;
}

.deliverable-grid p,
.faq-layout > div > p:last-child,
.faq-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  margin-top: 80px;
  align-items: start;
}

.faq-list {
  border-top: 1px solid #d7e0e7;
}

.faq-list details {
  border-bottom: 1px solid #d7e0e7;
}

.faq-list summary {
  position: relative;
  padding: 20px 32px 20px 0;
  color: var(--dark);
  font-weight: 700;
  cursor: pointer;
}

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

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

.faq-list p {
  padding: 0 32px 20px 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.service-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
}

.service-icon svg,
.service-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}

.service-grid h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.service-grid .sub {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.service-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  line-height: 1.8;
}

.contact {
  padding: 72px 0 64px;
  background: var(--blue);
  color: #fff;
  text-align: center;
}

.contact-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.contact-ico {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
}

.contact-ico svg,
.contact-ico {
  color: #fff;
}

.contact-boxes h3 {
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: 0.6px;
}

.contact-boxes p,
.contact-boxes a,
.text-btn {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

.text-btn {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.text-btn:hover,
.contact-boxes a:hover {
  text-decoration: underline;
}

footer {
  background: var(--footer);
  color: #aaa;
}

@media (min-width: 992px) {
  footer {
    position: fixed;
    inset: auto 0 0;
    z-index: 0;
    height: 360px;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding: 48px 0 28px;
}

.footer-grid h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 16px;
}

.footer-grid a,
.footer-grid button,
.footer-grid p {
  display: block;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  background: none;
  color: #aaa;
  text-align: left;
  cursor: pointer;
}

.footer-grid a:hover,
.footer-grid button:hover {
  color: #fff;
}

.footer-brand p {
  max-width: 220px;
  color: #ccc;
}

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
  text-align: center;
  color: #777;
  font-size: 12px;
}

.footer-copy p {
  margin: 0;
}

.float-card {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 15;
  width: 180px;
  padding: 18px 16px;
  background: #fff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.float-card h3 {
  margin: 0 0 6px;
  color: var(--dark);
  font-size: 16px;
}

.float-card p,
.float-card a {
  display: block;
  margin: 0 0 8px;
  font-size: 12px;
}

.float-card a {
  color: var(--accent);
}

.float-card button {
  width: 100%;
  height: 34px;
  border: 0;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.modal-panel {
  position: relative;
  width: min(520px, calc(100% - 32px));
  margin: 12vh auto 0;
  padding: 36px 32px 32px;
  background: #fff;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 16px;
  border: 0;
  background: none;
  color: #999;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.modal-panel h2 {
  margin: 0 0 8px;
  color: var(--dark);
  font-size: 24px;
  text-align: center;
}

.modal-panel > p {
  margin: 0 0 24px;
  text-align: center;
}

.modal-panel form {
  display: grid;
  gap: 14px;
}

.modal-panel label {
  margin-bottom: -8px;
  color: var(--dark);
  font-size: 14px;
  font-weight: 700;
}

.modal-panel input,
.modal-panel textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #dbdbdb;
  outline: none;
}

.modal-panel input:focus,
.modal-panel textarea:focus {
  border-color: var(--accent);
}

.modal-panel textarea {
  resize: vertical;
}

.form-status {
  margin: 8px 0 0;
  font-size: 13px;
}

.form-status.is-ok {
  color: #1f9d44;
}

.form-status.is-err {
  color: #c0392b;
}

.modal-panel button[type="submit"] {
  height: 44px;
  border: 0;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}

.modal-panel button[type="submit"]:hover {
  background: #2086d8;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .phone,
  .web,
  .float-card {
    display: none;
  }

  .nav a,
  .nav-cta {
    padding-left: 14px;
    padding-right: 14px;
  }

  .process-grid,
  .service-grid,
  .deliverable-grid,
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .menu-button {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(22, 62, 89, 0.96);
    color: #fff;
  }

  .topbar.is-scrolled .nav,
  .topbar.is-open.is-scrolled .nav {
    background: #fff;
    color: var(--dark);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a,
  .nav-cta {
    padding: 16px 24px;
    text-align: left;
  }

  .nav-cta {
    margin: 8px 24px 20px;
    width: calc(100% - 48px);
    text-align: center;
  }

  .hero {
    height: 520px;
  }

  .slide-copy {
    padding-top: 130px;
    padding-right: 48px;
  }

  .slide-copy h1,
  .slide-copy h2 {
    font-size: 30px;
  }

  .hero-card article {
    min-height: 96px;
    padding: 14px 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-card strong {
    font-size: 16px;
  }

  .stats ul,
  .contact-boxes,
  .footer-grid,
  .process-grid,
  .service-grid,
  .case-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    padding: 36px 0 20px;
  }

  .about {
    padding: 72px 0 200px;
  }
}

@media (max-width: 640px) {
  .hero {
    height: 460px;
  }

  .slide-copy {
    padding-top: 110px;
    margin-left: 16px;
  }

  .hero-dots {
    right: 12px;
  }

  .hero-card {
    bottom: 16px;
  }

  .section-title,
  .section-top h2,
  .about-copy h2 {
    font-size: 24px;
  }

  .stats {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 28px;
  }

  .about {
    padding-bottom: 40px;
    margin-bottom: 0;
  }

  .process {
    padding-top: 56px;
  }

  .stats ul,
  .contact-boxes,
  .footer-grid,
  .process-grid,
  .service-grid,
  .deliverable-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 52px;
  }

  .stats li {
    padding: 28px 12px;
  }

  .case-thumb {
    height: 200px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
