* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-width: 320px;
  background: #ffffff;
  color: #0d1017;
  font-family: "Noto Sans SC", "Space Grotesk", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body,
.page-shell {
  background-image:
    linear-gradient(#10131a08 1px, transparent 1px),
    linear-gradient(90deg, #10131a08 1px, transparent 1px);
  background-size: 60px 60px;
}

a {
  color: #1473ff;
  text-decoration: none;
}

a:hover {
  color: #0d1017;
}

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

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

[data-page][hidden] {
  display: none;
}

.mono {
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

/* Nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(13, 16, 23, 0.1);
  backdrop-filter: blur(10px);
  transition: background 0.2s, border-color 0.2s;
}

.nav.nav--dark {
  background: rgba(20, 115, 255, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand img {
  height: 26px;
  width: auto;
  display: block;
  filter: none;
  transition: filter 0.2s;
}

.nav--dark .brand img {
  filter: brightness(0) invert(1);
}

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

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  font-size: 14px;
}

.nav-links a {
  color: rgba(13, 16, 23, 0.62);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.18s, border-color 0.18s;
}

.nav-links a:hover {
  color: #0d1017;
}

.nav-links a.is-active {
  color: #0d1017;
  border-bottom-color: #1473ff;
}

.nav--dark .nav-links a {
  color: rgba(255, 255, 255, 0.78);
}

.nav--dark .nav-links a:hover {
  color: #ffffff;
}

.nav--dark .nav-links a.is-active {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

.nav-cta {
  display: flex;
  align-items: center;
  height: 38px;
  padding: 0 18px;
  border-radius: 6px;
  background: #1473ff;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  transition: transform 0.18s, background 0.18s, color 0.18s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  color: #ffffff;
}

.nav--dark .nav-cta {
  background: #ffffff;
  color: #1473ff;
}

.nav--dark .nav-cta:hover {
  color: #1473ff;
}

/* Shared buttons */

.btn {
  display: flex;
  align-items: center;
  height: 52px;
  padding: 0 30px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.18s, background 0.18s;
}

.btn--dark {
  background: #0d1017;
  color: #ffffff;
}

.btn--dark:hover {
  transform: translateY(-2px);
  color: #ffffff;
}

.btn--outline {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #ffffff;
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.btn--blue {
  background: #1473ff;
  color: #ffffff;
}

.btn--blue:hover {
  background: #2f80ff;
  color: #ffffff;
}

/* Shared page-head (about/services/caps/contact/privacy) */

.page-head {
  max-width: 1240px;
  margin: 0 auto;
  padding: 88px 40px 0;
}

.page-kicker {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: #1473ff;
}

.page-head h1 {
  margin: 22px 0 0;
  font-size: 60px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0;
  max-width: 900px;
}

.page-lead {
  margin: 24px 0 0;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.85;
  color: rgba(13, 16, 23, 0.65);
}

.company-line {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 26px;
  border-bottom: 2px solid #0d1017;
}

.company-line-cn {
  font-size: 18px;
  font-weight: 700;
}

.company-line--lg .company-line-cn {
  font-size: 20px;
}

.company-line-en {
  font-family: "Space Grotesk", "Noto Sans SC", system-ui, sans-serif;
  font-size: 15px;
  color: rgba(13, 16, 23, 0.5);
}

.company-line--lg .company-line-en {
  font-size: 16px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(13, 16, 23, 0.12);
}

.stat-grid--home {
  margin-top: 52px;
}

.stat-grid--about {
  margin: 72px 0 96px;
}

.stat-grid > div {
  padding: 26px 24px 0 0;
}

.stat-grid > div:last-child {
  padding-right: 0;
}

.stat-num {
  display: block;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0;
}

.stat-label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: rgba(13, 16, 23, 0.5);
}

.section-head-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}

.section-head-row h2 {
  margin: 0;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 0;
}

.section-tag {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: rgba(13, 16, 23, 0.35);
}

/* Services grid (shared by home + services page) */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 2px solid #0d1017;
}

.services-grid--home {
  margin-top: 34px;
}

.services-grid--page {
  margin: 48px 0 96px;
}

.service-card {
  display: block;
  color: inherit;
  padding: 42px 44px 46px 0;
  border-right: 1px solid rgba(13, 16, 23, 0.12);
  border-bottom: 1px solid rgba(13, 16, 23, 0.12);
  transition: background 0.18s;
}

.service-card:nth-child(even) {
  padding: 42px 0 46px 44px;
  border-right: none;
}

.service-card:hover {
  background: rgba(20, 115, 255, 0.05);
}

.service-card-top {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 16px;
}

.service-no {
  font-size: 34px;
  font-weight: 700;
  color: #1473ff;
  line-height: 1;
}

.service-en {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(13, 16, 23, 0.35);
}

.service-name {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0;
}

.service-summary {
  margin: 14px 0 22px;
  font-size: 15.5px;
  line-height: 1.85;
  color: rgba(13, 16, 23, 0.62);
}

.service-link {
  font-size: 14px;
  color: #1473ff;
}

/* Home page */

.home-hero {
  position: relative;
  background: #1473ff;
  color: #ffffff;
  overflow: hidden;
}

.home-hero-mark {
  position: absolute;
  right: -30px;
  bottom: -150px;
  height: 700px;
  width: auto;
  opacity: 0.12;
  filter: brightness(0) invert(1);
  pointer-events: none;
}

.home-hero-inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 120px 40px 96px;
}

.home-hero-content {
  max-width: 900px;
}

.home-hero-kicker {
  margin: 0 0 30px;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.7);
}

.home-hero h1 {
  margin: 0;
  font-size: 82px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}

.home-hero-text {
  margin: 34px 0 0;
  max-width: 560px;
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
}

.home-hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 46px;
}

.home-strip-wrap {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.home-strip {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.72);
}

.home-strip a {
  padding: 20px 24px;
  color: inherit;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  transition: color 0.18s;
}

.home-strip a:first-child {
  padding-left: 0;
}

.home-strip a:last-child {
  padding-right: 0;
  border-right: none;
}

.home-strip a:hover {
  color: #ffffff;
}

.home-content {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

.home-about-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: start;
}

.home-about-rail {
  padding: 100px 0;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: rgba(13, 16, 23, 0.3);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.home-about-rail .is-current {
  color: #1473ff;
}

.home-about-body {
  padding: 100px 0 0;
}

.home-about-body h2 {
  margin: 0 0 30px;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  max-width: 780px;
}

.home-about-copy {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  font-size: 15.5px;
  line-height: 1.85;
  color: rgba(13, 16, 23, 0.68);
}

.home-about-copy p {
  margin: 0;
}

.about-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 34px;
  font-size: 15px;
  font-weight: 500;
  color: #1473ff;
}

.home-directions {
  padding: 104px 0 0;
}

.home-caps {
  padding: 100px 0;
}

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

.cap-card {
  background: #f4f6fa;
  border-radius: 12px;
  padding: 32px 26px 34px;
  transition: background 0.18s;
}

.cap-card:hover {
  background: #eaf0fb;
}

.cap-card-no {
  margin-bottom: 16px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(13, 16, 23, 0.35);
}

.cap-card-name {
  font-size: 18px;
  font-weight: 700;
}

.cap-card-desc {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(13, 16, 23, 0.6);
}

.home-cta {
  position: relative;
  background: #0d1017;
  color: #ffffff;
  overflow: hidden;
}

.home-cta-mark {
  position: absolute;
  right: 60px;
  top: -70px;
  height: 440px;
  width: auto;
  opacity: 0.08;
  filter: brightness(0) invert(1);
  pointer-events: none;
}

.home-cta-inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 92px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
}

.home-cta-tag {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.45);
}

.home-cta h2 {
  margin: 18px 0 0;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  color: #ffffff;
}

.home-cta p {
  margin: 16px 0 0;
  max-width: 520px;
  font-size: 16.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.66);
}

.home-cta .btn {
  flex: none;
  height: 56px;
  padding: 0 34px;
  font-size: 16px;
  font-weight: 600;
}

/* About page */

.about-block {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  padding: 52px 0 0;
}

.about-block--second {
  padding-top: 56px;
}

.about-block-label {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: rgba(13, 16, 23, 0.35);
}

.about-block-copy {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 16.5px;
  line-height: 1.9;
  color: rgba(13, 16, 23, 0.72);
}

.about-block-copy p {
  margin: 0;
}

.about-how-grid {
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(13, 16, 23, 0.12);
}

.about-how-item {
  padding: 28px 28px 32px;
  border-right: 1px solid rgba(13, 16, 23, 0.12);
}

.about-how-item:first-child {
  padding-left: 0;
}

.about-how-item:last-child {
  padding-right: 0;
  border-right: none;
}

.about-how-item h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.about-how-item p {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(13, 16, 23, 0.6);
}

/* Detail page */

.detail-crumb-wrap {
  background: #f4f6fa;
  border-bottom: 1px solid rgba(13, 16, 23, 0.1);
}

.detail-crumb {
  max-width: 1240px;
  margin: 0 auto;
  padding: 26px 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(13, 16, 23, 0.5);
}

.detail-crumb a {
  color: inherit;
}

.detail-crumb a:hover {
  color: #1473ff;
}

.detail-crumb .current {
  color: #0d1017;
}

.detail-body {
  max-width: 1240px;
  margin: 0 auto;
  padding: 76px 40px 0;
}

.detail-top {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 18px;
}

.detail-no {
  font-size: 44px;
  font-weight: 700;
  color: #1473ff;
  line-height: 1;
}

.detail-en {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: rgba(13, 16, 23, 0.35);
}

.detail-body h1 {
  margin: 0;
  font-size: 58px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.15;
}

.detail-summary {
  margin: 26px 0 0;
  max-width: 720px;
  font-size: 18px;
  line-height: 1.85;
  color: rgba(13, 16, 23, 0.7);
}

.detail-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  margin-top: 52px;
  padding-top: 34px;
  border-top: 1px solid rgba(13, 16, 23, 0.12);
}

.detail-row--first {
  margin-top: 60px;
  border-top: 2px solid #0d1017;
}

.detail-row--last {
  padding-bottom: 20px;
}

.detail-label {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: rgba(13, 16, 23, 0.35);
}

.detail-intro {
  margin: 0;
  max-width: 760px;
  font-size: 16.5px;
  line-height: 1.9;
  color: rgba(13, 16, 23, 0.72);
}

.deliver-list {
  display: flex;
  flex-direction: column;
  max-width: 760px;
}

.deliver-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(13, 16, 23, 0.08);
  font-size: 16px;
  color: rgba(13, 16, 23, 0.78);
}

.deliver-item:last-child {
  border-bottom: none;
}

.deliver-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #1473ff;
  flex: none;
}

.scenes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 760px;
}

.scene-card {
  background: #f4f6fa;
  border-radius: 10px;
  padding: 20px 22px;
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(13, 16, 23, 0.75);
}

.stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 760px;
}

.stack-tag {
  padding: 7px 14px;
  border: 1px solid rgba(13, 16, 23, 0.14);
  border-radius: 100px;
  font-size: 12.5px;
  color: rgba(13, 16, 23, 0.62);
}

.detail-pager {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 64px 0 96px;
  padding-top: 30px;
  border-top: 1px solid rgba(13, 16, 23, 0.12);
}

.detail-pager a {
  color: inherit;
  max-width: 340px;
}

.detail-pager a:hover {
  color: #1473ff;
}

.detail-pager .next {
  text-align: right;
}

.pager-label {
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(13, 16, 23, 0.35);
}

.pager-name {
  font-size: 20px;
  font-weight: 700;
}

/* Capabilities page */

.caps-list {
  margin: 52px 0 96px;
  border-top: 2px solid #0d1017;
}

.caps-row {
  display: grid;
  grid-template-columns: 100px 300px 1fr;
  gap: 40px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid rgba(13, 16, 23, 0.12);
}

.caps-row-no {
  font-size: 30px;
  font-weight: 700;
  color: #1473ff;
  line-height: 1;
}

.caps-row-name {
  font-size: 22px;
  font-weight: 700;
}

.caps-row-desc {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(13, 16, 23, 0.55);
}

.caps-row-detail {
  margin: 0;
  max-width: 640px;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(13, 16, 23, 0.72);
}

/* Contact page */

.contact-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin: 56px 0 96px;
  padding-top: 40px;
  border-top: 2px solid #0d1017;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
}

.contact-info-row {
  padding: 22px 0;
  border-bottom: 1px solid rgba(13, 16, 23, 0.12);
}

.contact-info-row:last-child {
  border-bottom: none;
}

.contact-info-label {
  margin-bottom: 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(13, 16, 23, 0.35);
}

.contact-email-link {
  font-size: 22px;
  font-weight: 600;
  color: #1473ff;
}

.contact-company-name {
  font-size: 17px;
  font-weight: 600;
}

.contact-company-en {
  margin-top: 5px;
  font-family: "Space Grotesk", "Noto Sans SC", system-ui, sans-serif;
  font-size: 14.5px;
  color: rgba(13, 16, 23, 0.5);
}

.contact-form-card {
  background: #f4f6fa;
  border-radius: 14px;
  padding: 36px 34px 38px;
}

.contact-form-title {
  margin-bottom: 6px;
  font-size: 20px;
  font-weight: 700;
}

.contact-form-sub {
  margin-bottom: 26px;
  font-size: 14px;
  color: rgba(13, 16, 23, 0.55);
}

.contact-form-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form-label {
  margin-bottom: 7px;
  font-size: 13px;
  color: rgba(13, 16, 23, 0.55);
}

.contact-form-input {
  height: 44px;
  border: 1px solid rgba(13, 16, 23, 0.14);
  border-radius: 8px;
  background: #ffffff;
}

.contact-form-input--area {
  height: 110px;
}

.contact-form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  border-radius: 8px;
  background: #1473ff;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.18s;
}

.contact-form-submit:hover {
  background: #2f80ff;
  color: #ffffff;
}

.contact-form-note {
  font-size: 12.5px;
  color: rgba(13, 16, 23, 0.45);
  text-align: center;
}

/* Privacy page */

.privacy-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 88px 40px 96px;
}

.privacy-meta {
  margin-top: 30px;
  padding-bottom: 26px;
  border-bottom: 2px solid #0d1017;
}

.privacy-meta-cn {
  font-size: 17px;
  font-weight: 700;
}

.privacy-meta-en {
  margin-top: 5px;
  font-family: "Space Grotesk", "Noto Sans SC", system-ui, sans-serif;
  font-size: 15px;
  color: rgba(13, 16, 23, 0.5);
}

.privacy-meta-updated {
  margin-top: 14px;
  font-size: 12.5px;
  color: rgba(13, 16, 23, 0.45);
}

.privacy-sections {
  display: flex;
  flex-direction: column;
  gap: 34px;
  margin-top: 40px;
}

.privacy-sections h2 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
}

.privacy-sections p {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(13, 16, 23, 0.72);
}

/* Footer */

.site-footer {
  background: #f4f6fa;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 44px 40px 36px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 56px;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.footer-brand img {
  height: 36px;
  width: auto;
  display: block;
}

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

.footer-brand-en {
  margin-top: 4px;
  font-family: "Space Grotesk", "Noto Sans SC", system-ui, sans-serif;
  font-size: 13.5px;
  color: rgba(13, 16, 23, 0.5);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  font-size: 13.5px;
  color: rgba(13, 16, 23, 0.55);
}

.footer-links a {
  color: inherit;
}

.footer-links a:hover {
  color: #1473ff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(13, 16, 23, 0.1);
  font-size: 12.5px;
  color: rgba(13, 16, 23, 0.42);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-legal a,
.footer-legal span {
  color: inherit;
}

.footer-legal a:hover {
  color: #1473ff;
}

/* Responsive (the prototype is desktop-only; breakpoints below adapt it for
   real visitors on smaller screens without changing any copy or colors) */

@media (max-width: 980px) {
  .home-hero h1 {
    font-size: 68px;
  }

  .home-about-grid,
  .contact-grid2 {
    grid-template-columns: 1fr;
  }

  .home-about-rail {
    display: none;
  }

  .home-about-copy,
  .about-how-grid,
  .caps-grid-home,
  .scenes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid,
  .stat-grid,
  .home-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .caps-row {
    grid-template-columns: 70px 1fr;
  }

  .caps-row-detail {
    grid-column: 1 / -1;
    max-width: none;
  }

  .detail-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .page-head h1 {
    font-size: 48px;
  }

  .detail-body h1 {
    font-size: 46px;
  }
}

@media (max-width: 860px) {
  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding-top: 18px;
    padding-bottom: 18px;
    gap: 14px;
  }

  .nav-links {
    width: 100%;
    gap: 14px 20px;
  }

  .home-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .services-grid,
  .caps-grid-home,
  .home-about-copy,
  .about-how-grid,
  .scenes-grid,
  .home-strip,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card:nth-child(even) {
    padding: 32px 0;
    border-right: none;
  }

  .about-how-item,
  .about-how-item:first-child,
  .about-how-item:last-child {
    padding: 24px 0;
    border-right: none;
    border-bottom: 1px solid rgba(13, 16, 23, 0.12);
  }

  .stat-grid > div {
    padding: 20px 0 0;
    border-top: 1px solid rgba(13, 16, 23, 0.12);
  }

  .stat-grid > div:first-child {
    border-top: none;
    padding-top: 0;
  }

  .footer-top {
    flex-direction: column;
    gap: 24px;
  }

  .detail-pager {
    flex-direction: column;
    gap: 24px;
  }

  .detail-pager .next {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .nav-inner,
  .home-hero-inner,
  .home-strip,
  .home-content,
  .home-cta-inner,
  .page-head,
  .detail-crumb,
  .detail-body,
  .privacy-wrap,
  .footer-inner {
    padding-left: 22px;
    padding-right: 22px;
  }

  .home-hero-inner {
    padding-top: 80px;
    padding-bottom: 64px;
  }

  .home-hero-mark {
    height: 360px;
    right: -140px;
    bottom: -90px;
  }

  .home-cta-mark {
    height: 220px;
  }

  .home-hero h1 {
    font-size: 44px;
  }

  .home-hero-actions {
    flex-direction: column;
  }

  .home-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .home-about-grid,
  .home-about-body,
  .home-directions,
  .home-caps {
    padding-top: 48px;
  }

  .home-about-rail {
    display: none;
  }

  .home-about-body {
    padding-top: 0;
  }

  .page-head h1 {
    font-size: 36px;
  }

  .detail-body h1 {
    font-size: 32px;
  }

  .caps-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .caps-row-detail {
    grid-column: auto;
  }

  .contact-form-card {
    padding: 28px 22px 30px;
  }
}
