:root {
  --ink: #121416;
  --muted: #697077;
  --line: #dfe3e6;
  --soft: #f4f6f7;
  --white: #ffffff;
  --blue: #0877bd;
  --blue-bright: #10a7e3;
  --cyan: #64d7e8;
  --orange: #ed7a35;
  --dark: #0e1317;
  --dark-2: #171f24;
  --max: 1200px;
  --header-height: 88px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.section {
  padding: 104px 0;
}

.section-inner {
  width: min(calc(100% - 64px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 max(32px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(12, 18, 22, 0.08);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 248px;
  height: 64px;
  overflow: hidden;
}

.brand img {
  width: 230px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: stretch;
  gap: 8px;
  height: 100%;
}

.nav-entry,
.nav-entry-row {
  position: relative;
  height: 100%;
}

.nav-entry-row {
  display: flex;
  align-items: stretch;
}

.nav-link {
  position: relative;
  display: grid;
  place-items: center;
  height: 100%;
  padding: 0 14px;
  color: #2f3438;
  font-size: 15px;
  white-space: nowrap;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--blue);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--blue);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-submenu-toggle {
  display: none;
}

.nav-dropdown {
  position: absolute;
  z-index: 110;
  top: calc(100% + 14px);
  left: 50%;
  min-width: 224px;
  padding: 12px 0;
  border-top: 3px solid var(--blue);
  background: var(--white);
  box-shadow: 0 18px 48px rgba(10, 24, 34, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-dropdown::before {
  position: absolute;
  top: -17px;
  left: 0;
  width: 100%;
  height: 17px;
  content: "";
}

.nav-dropdown a {
  display: block;
  padding: 9px 20px;
  color: #596168;
  font-size: 13px;
  line-height: 1.5;
  white-space: nowrap;
  transition: color 160ms ease, background 160ms ease, padding-left 160ms ease;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  padding-left: 24px;
  background: var(--soft);
  color: var(--blue);
}

.main-nav .nav-entry:last-child .nav-dropdown {
  right: 0;
  left: auto;
  transform: translate(0, 16px);
}

@media (min-width: 801px) {
  .nav-entry:hover .nav-dropdown,
  .nav-entry:focus-within .nav-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }

  .main-nav .nav-entry:last-child:hover .nav-dropdown,
  .main-nav .nav-entry:last-child:focus-within .nav-dropdown {
    transform: translate(0, 0);
  }
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: 560px;
  height: min(680px, calc(100svh - 120px));
  overflow: hidden;
  background: #05090c;
  color: var(--white);
}

.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 520ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

video.hero-media {
  background: #000;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 610px;
}

.eyebrow,
.section-kicker,
.product-number,
.dialog-kicker,
.news-category {
  margin: 0 0 18px;
  color: var(--blue-bright);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.hero h2 {
  max-width: 680px;
  margin: 0;
  font-size: 62px;
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 590px;
  margin: 26px 0 0;
  color: #c8d0d5;
  font-size: 19px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button-primary {
  background: var(--blue);
  color: var(--white);
}

.button-primary:hover {
  background: #075f95;
}

.button-quiet {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.button-quiet:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.hero-visual {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  justify-items: center;
  height: 100%;
}

.hero-visual::before {
  position: absolute;
  width: 450px;
  height: 450px;
  border: 1px solid rgba(100, 215, 232, 0.3);
  border-radius: 50%;
  content: "";
}

.hero-visual::after {
  position: absolute;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
}

.hero-visual img {
  position: relative;
  z-index: 2;
  width: min(660px, 52vw);
  max-height: 570px;
  object-fit: contain;
  filter: drop-shadow(0 34px 34px rgba(0, 0, 0, 0.38));
}

.hero-index {
  position: absolute;
  right: 2%;
  bottom: 14%;
  color: rgba(255, 255, 255, 0.08);
  font-size: 150px;
  font-weight: 700;
  line-height: 1;
}

.hero-controls {
  position: absolute;
  z-index: 10;
  right: max(32px, calc((100vw - var(--max)) / 2));
  bottom: 0;
  display: flex;
  align-items: center;
  background: var(--white);
}

.hero-controls button {
  width: 72px;
  height: 64px;
  border: 0;
  background: var(--white);
  color: #9aa1a6;
  font-size: 24px;
  cursor: pointer;
}

.hero-controls button:last-child {
  background: var(--blue);
  color: var(--white);
}

.hero-controls button:hover {
  background: var(--soft);
  color: var(--ink);
}

.hero-controls button:last-child:hover {
  background: #075f95;
  color: var(--white);
}

.hero-controls p {
  margin: 0;
  padding: 0 14px;
  color: var(--ink);
  font-size: 13px;
}

.hero-controls p span {
  margin: 0 3px;
  color: #aab0b4;
}

.intro {
  background: var(--soft);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.55fr;
  gap: 90px;
}

.section-heading h2 {
  margin: 0;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.25;
}

.section-tagline {
  margin: 18px 0 0;
  color: var(--muted);
}

.intro-content {
  color: var(--muted);
  font-size: 16px;
}

.intro-content p {
  margin: 0 0 18px;
}

.intro-content .intro-lead {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.75;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 64px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric-strip div {
  display: flex;
  min-height: 126px;
  padding: 22px 30px;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}

.metric-strip div:last-child {
  border-right: 0;
}

.metric-strip strong {
  color: var(--blue);
  font-size: 30px;
  font-weight: 600;
}

.metric-strip span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.section-head-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 54px;
}

.section-head-row > p {
  max-width: 520px;
  margin: 0 0 4px;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  position: relative;
  display: grid;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
}

.product-featured {
  grid-column: 1 / -1;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 520px;
  border-color: transparent;
  background: var(--dark-2);
  color: var(--white);
}

.product-copy {
  align-self: end;
  padding: 42px;
}

.product-featured .product-copy {
  align-self: center;
  padding: 64px;
}

.product-card h3 {
  margin: 0 0 18px;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.3;
}

.product-card p {
  margin: 0;
  color: var(--muted);
}

.product-featured .product-card p,
.product-featured .product-copy > p:not(.product-number) {
  color: #bdc7cd;
}

.inline-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.inline-specs li {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  color: #d9e1e5;
  font-size: 12px;
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 12px 0 8px;
  margin-top: 26px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font-size: 13px;
  cursor: pointer;
}

.text-button:hover {
  color: var(--blue-bright);
}

.product-image {
  display: grid;
  min-height: 320px;
  place-items: center;
  overflow: hidden;
  background: var(--soft);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-image-dark {
  position: relative;
  background: #111a20;
}

.product-image-dark::before,
.product-image-dark::after {
  position: absolute;
  border: 1px solid rgba(100, 215, 232, 0.24);
  border-radius: 50%;
  content: "";
}

.product-image-dark::before {
  width: 410px;
  height: 410px;
}

.product-image-dark::after {
  width: 310px;
  height: 310px;
}

.product-image-dark img {
  position: relative;
  z-index: 2;
  width: 84%;
  height: 84%;
}

.cases {
  background: var(--white);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.case-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.case-card:focus-visible {
  outline: 3px solid rgba(8, 119, 189, 0.28);
  outline-offset: 3px;
}

.case-card:hover {
  border-color: #b8c5cc;
  box-shadow: 0 18px 44px rgba(18, 20, 22, 0.1);
  transform: translateY(-4px);
}

.case-image {
  aspect-ratio: 1.872 / 1;
  margin: 0;
  overflow: hidden;
  background: #d9dee1;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.case-card:hover .case-image img {
  transform: scale(1.025);
}

.case-copy {
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 28px 30px 30px;
}

.case-number {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
}

.case-copy h3 {
  margin: 0 0 12px;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.45;
}

.case-description {
  flex: 1;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.case-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 18px;
  padding-bottom: 4px;
  margin-top: 22px;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.case-card:hover .case-link {
  color: var(--blue);
}

.media-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
}

.media-feature {
  position: relative;
  min-height: 540px;
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--dark);
}

.media-feature img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
}

.media-feature figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 26px 30px;
  background: rgba(11, 16, 19, 0.92);
  color: var(--white);
}

.media-feature figcaption span {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
}

.media-feature figcaption h3 {
  margin: 6px 0 8px;
  font-size: 24px;
}

.media-feature figcaption p {
  margin: 0;
  color: #b9c2c7;
  font-size: 13px;
}

.media-architecture img {
  object-fit: cover;
  object-position: center 18%;
}

.news {
  background: var(--soft);
}

.news-list {
  border-top: 1px solid #cfd5d8;
}

.news-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 46px;
  padding: 34px 0;
  border-bottom: 1px solid #cfd5d8;
}

.news-item time {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.news-item time strong {
  color: var(--blue);
  font-size: 40px;
  font-weight: 500;
}

.news-item time span {
  color: var(--muted);
  font-size: 12px;
}

.news-item h3 {
  margin: 0 0 10px;
  font-size: 21px;
  font-weight: 600;
}

.news-item p {
  margin: 0;
  color: var(--muted);
}

.news-item .news-category {
  margin-bottom: 8px;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 4px;
  margin-top: 10px;
  border-bottom: 1px solid currentColor;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
}

.home-intro .section-heading h1 {
  margin: 0;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.25;
}

.home-entry-band {
  background: var(--dark);
  color: var(--white);
}

.home-entry-band .section-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-entry-band a {
  position: relative;
  display: flex;
  min-height: 248px;
  padding: 40px;
  flex-direction: column;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 180ms ease;
}

.home-entry-band a:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.home-entry-band a:hover,
.home-entry-band a:focus-visible {
  background: var(--blue);
}

.home-entry-band span {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
}

.home-entry-band strong {
  margin-top: 40px;
  font-size: 26px;
  font-weight: 600;
}

.home-entry-band small {
  margin-top: 8px;
  color: #9da8ae;
  font-size: 13px;
}

.home-entry-band a:hover small,
.home-entry-band a:focus-visible small,
.home-entry-band a:hover span,
.home-entry-band a:focus-visible span {
  color: var(--white);
}

.home-entry-band b {
  position: absolute;
  right: 40px;
  bottom: 36px;
  font-size: 24px;
  font-weight: 400;
}

.page-hero {
  position: relative;
  height: 430px;
  overflow: hidden;
  background: var(--dark);
  color: var(--white);
}

.page-hero::after {
  position: absolute;
  inset: 0;
  background: rgba(7, 13, 17, 0.7);
  content: "";
}

.page-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero-light > img {
  object-position: center 48%;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: center;
}

.page-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 42px;
  color: #c3ccd1;
  font-size: 12px;
}

.page-breadcrumb a:hover {
  color: var(--cyan);
}

.page-hero .section-kicker {
  color: var(--cyan);
}

.page-hero h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 650;
  line-height: 1.2;
}

.page-hero-content > p:last-child {
  max-width: 710px;
  margin: 18px 0 0;
  color: #d1d9dd;
  font-size: 16px;
}

.page-tabs {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.page-tabs .section-inner {
  display: flex;
}

.page-tabs a {
  display: grid;
  min-width: 190px;
  min-height: 70px;
  padding: 0 30px;
  place-items: center;
  border-right: 1px solid var(--line);
  color: #4d555a;
  font-size: 14px;
  transition: color 160ms ease, background 160ms ease;
}

.page-tabs a:first-child {
  border-left: 1px solid var(--line);
}

.page-tabs a:hover,
.page-tabs a:focus-visible {
  background: var(--soft);
  color: var(--blue);
}

.page-section,
.product-card[id],
.case-card[id],
.media-feature[id],
.news-item[id],
.metric-strip[id],
.about-services[id],
.media-demo[id] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.media-demo {
  background: var(--soft);
}

.media-player-wrap {
  overflow: hidden;
  background: #05080a;
}

.media-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 680px;
  object-fit: contain;
}

.about-services {
  background: var(--dark);
  color: var(--white);
}

.about-services .section-head-row > p {
  color: #a5afb5;
}

.about-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.about-service-grid article {
  min-height: 260px;
  padding: 34px 36px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.about-service-grid article:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.about-service-grid span {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
}

.about-service-grid h3 {
  margin: 52px 0 14px;
  font-size: 24px;
  font-weight: 600;
}

.about-service-grid p {
  margin: 0;
  color: #a5afb5;
  font-size: 14px;
}

.closing-band {
  padding: 58px 0;
  background: var(--blue);
  color: var(--white);
}

.closing-band .section-inner {
  display: grid;
  grid-template-columns: 210px 1fr auto;
  align-items: center;
  gap: 50px;
}

.closing-band img {
  width: 200px;
  filter: invert(1) brightness(5);
}

.closing-band p,
.closing-band h2 {
  margin: 0;
}

.closing-band p {
  margin-bottom: 6px;
  color: #d8f5ff;
  font-size: 13px;
}

.closing-band h2 {
  font-size: 28px;
  font-weight: 600;
}

.button-light {
  border-color: rgba(255, 255, 255, 0.65);
  color: var(--white);
}

.button-light:hover {
  background: var(--white);
  color: var(--blue);
}

.site-footer {
  padding: 72px 0 28px;
  background: #0b0e10;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 60px;
}

.footer-brand img {
  width: 230px;
  filter: invert(1) brightness(5);
}

.footer-brand p {
  margin: 24px 0 0;
  color: #8f999f;
}

.footer-grid h2 {
  margin: 0 0 20px;
  font-size: 15px;
  font-weight: 600;
}

.footer-grid a {
  display: block;
  width: fit-content;
  margin: 10px 0;
  color: #8f999f;
  font-size: 13px;
}

.footer-grid a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 26px;
  margin-top: 58px;
  border-top: 1px solid #252b2f;
  color: #6f797f;
  font-size: 12px;
}

.footer-bottom p {
  margin: 0;
}

.product-dialog {
  width: min(620px, calc(100% - 36px));
  padding: 46px;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
}

.product-dialog::backdrop {
  background: rgba(8, 12, 15, 0.72);
  backdrop-filter: blur(3px);
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.product-dialog h2 {
  margin: 0 0 14px;
  font-size: 30px;
}

.dialog-summary {
  margin: 0 0 26px;
  color: var(--muted);
}

.product-dialog dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.product-dialog dl div {
  padding: 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-dialog dt {
  color: var(--muted);
  font-size: 11px;
}

.product-dialog dd {
  margin: 5px 0 0;
  font-weight: 600;
}

@media (max-width: 1040px) {
  :root {
    --header-height: 78px;
  }

  .site-header {
    padding-inline: 24px;
  }

  .brand {
    flex-basis: 190px;
  }

  .brand img {
    width: 180px;
  }

  .main-nav {
    gap: 0;
  }

  .nav-link {
    padding-inline: 10px;
    font-size: 14px;
  }

  .hero h1,
  .hero h2 {
    font-size: 50px;
  }

  .hero-visual::before {
    width: 360px;
    height: 360px;
  }

  .hero-visual::after {
    width: 260px;
    height: 260px;
  }

  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 28px;
  }
}

@media (max-width: 800px) {
  .section {
    padding: 78px 0;
  }

  .section-inner {
    width: min(calc(100% - 40px), var(--max));
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: block;
    height: calc(100svh - var(--header-height));
    padding: 18px 20px 34px;
    overflow-y: auto;
    background: var(--white);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-entry,
  .nav-entry-row {
    height: auto;
  }

  .nav-entry-row {
    min-height: 58px;
    border-bottom: 1px solid var(--line);
  }

  .nav-entry-simple {
    border-bottom: 1px solid var(--line);
  }

  .nav-link {
    display: flex;
    height: 58px;
    padding: 0 12px 0 18px;
    flex: 1;
    justify-content: flex-start;
    font-size: 17px;
  }

  .nav-link::after {
    top: 0;
    right: auto;
    bottom: 0;
    width: 3px;
    height: 100%;
  }

  .nav-submenu-toggle {
    display: grid;
    width: 52px;
    flex: 0 0 52px;
    padding: 0;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }

  .nav-submenu-toggle span {
    display: block;
    font-size: 24px;
    font-weight: 300;
    transition: transform 180ms ease;
  }

  .nav-entry.is-open .nav-submenu-toggle span {
    transform: rotate(45deg);
  }

  .nav-dropdown {
    position: static;
    min-width: 0;
    max-height: 0;
    padding: 0 0 0 18px;
    overflow: hidden;
    border: 0;
    background: var(--soft);
    box-shadow: none;
    opacity: 1;
    pointer-events: none;
    transform: none;
    transition: max-height 240ms ease, padding 180ms ease;
  }

  .main-nav .nav-entry:last-child .nav-dropdown {
    right: auto;
    left: auto;
    transform: none;
  }

  .nav-dropdown::before {
    display: none;
  }

  .nav-entry.is-open .nav-dropdown {
    max-height: 420px;
    padding-top: 8px;
    padding-bottom: 8px;
    pointer-events: auto;
  }

  .nav-dropdown a {
    padding: 9px 18px;
    font-size: 14px;
  }

  .nav-dropdown a:hover,
  .nav-dropdown a:focus-visible {
    padding-left: 18px;
  }

  .hero {
    height: 400px;
    min-height: 400px;
  }

  .hero-slide {
    width: 100%;
    padding: 0;
  }

  .hero-slide img.hero-media {
    object-fit: contain;
  }

  .hero-copy {
    align-self: end;
  }

  .hero h1,
  .hero h2 {
    font-size: 42px;
  }

  .hero-lead {
    margin-top: 18px;
    font-size: 16px;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual img {
    width: min(520px, 78vw);
    max-height: 320px;
  }

  .hero-visual::before {
    width: 270px;
    height: 270px;
  }

  .hero-visual::after {
    width: 200px;
    height: 200px;
  }

  .hero-index {
    right: 5%;
    bottom: 0;
    font-size: 96px;
  }

  .hero-controls {
    right: 20px;
  }

  .hero-controls button {
    width: 56px;
    height: 52px;
  }

  .intro-grid,
  .section-head-row {
    display: block;
  }

  .section-head-row > p {
    margin-top: 22px;
  }

  .intro-content {
    margin-top: 42px;
  }

  .metric-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric-strip div:nth-child(2) {
    border-right: 0;
  }

  .metric-strip div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .product-featured {
    grid-template-columns: 1fr;
  }

  .product-featured .product-copy {
    padding: 42px;
  }

  .product-featured .product-image {
    min-height: 400px;
  }

  .media-layout {
    grid-template-columns: 1fr;
  }

  .media-feature,
  .media-feature img {
    min-height: 480px;
  }

  .home-entry-band .section-inner {
    grid-template-columns: 1fr;
  }

  .home-entry-band a {
    min-height: 190px;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .home-entry-band a:last-child {
    border-bottom: 0;
  }

  .page-hero {
    height: 360px;
  }

  .page-hero h1 {
    font-size: 40px;
  }

  .page-tabs {
    overflow-x: auto;
  }

  .page-tabs .section-inner {
    width: max-content;
    min-width: 100%;
  }

  .page-tabs a {
    min-width: 170px;
    white-space: nowrap;
  }

  .about-service-grid {
    grid-template-columns: 1fr;
  }

  .about-service-grid article,
  .about-service-grid article:first-child {
    min-height: 210px;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 1px solid rgba(255, 255, 255, 0.16);
  }

  .about-service-grid article:last-child {
    border-bottom: 0;
  }

  .closing-band .section-inner {
    grid-template-columns: 1fr auto;
    gap: 22px;
  }

  .closing-band img {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-grid > div:last-child {
    display: none;
  }
}

@media (max-width: 560px) {
  :root {
    --header-height: 70px;
  }

  .site-header {
    padding-inline: 16px;
  }

  .brand {
    flex-basis: 168px;
    height: 54px;
  }

  .brand img {
    width: 162px;
  }

  .section {
    padding: 64px 0;
  }

  .section-inner {
    width: calc(100% - 32px);
  }

  .hero {
    height: 280px;
    min-height: 280px;
  }

  .hero-slide {
    width: 100%;
    padding: 0;
  }

  .hero h1,
  .hero h2 {
    font-size: 36px;
  }

  .eyebrow {
    margin-bottom: 12px;
  }

  .hero-lead {
    max-width: 92%;
    font-size: 15px;
    line-height: 1.7;
  }

  .button {
    min-height: 44px;
    padding-inline: 18px;
  }

  .hero-actions .button-quiet {
    display: none;
  }

  .hero-visual img {
    width: 92vw;
    max-width: 420px;
  }

  .hero-visual::before {
    width: 230px;
    height: 230px;
  }

  .hero-visual::after {
    width: 170px;
    height: 170px;
  }

  .hero-controls {
    right: 16px;
  }

  .hero-controls p {
    display: none;
  }

  .section-heading h2 {
    font-size: 32px;
  }

  .home-intro .section-heading h1 {
    font-size: 32px;
  }

  .home-entry-band a {
    min-height: 172px;
    padding: 28px 26px;
  }

  .home-entry-band strong {
    margin-top: 26px;
    font-size: 23px;
  }

  .home-entry-band b {
    right: 26px;
    bottom: 24px;
  }

  .page-hero {
    height: 320px;
  }

  .page-breadcrumb {
    margin-bottom: 30px;
  }

  .page-hero h1 {
    font-size: 34px;
  }

  .page-hero-content > p:last-child {
    font-size: 14px;
  }

  .page-tabs a {
    min-width: 148px;
    min-height: 56px;
    padding: 0 20px;
    font-size: 13px;
  }

  .about-service-grid article {
    min-height: 188px;
    padding: 28px 26px;
  }

  .about-service-grid h3 {
    margin-top: 36px;
  }

  .intro-content .intro-lead {
    font-size: 19px;
  }

  .metric-strip div {
    min-height: 108px;
    padding: 18px;
  }

  .metric-strip strong {
    font-size: 24px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 500px;
  }

  .product-featured {
    min-height: 720px;
  }

  .product-featured .product-copy,
  .product-copy {
    padding: 30px;
  }

  .product-card h3 {
    font-size: 25px;
  }

  .product-featured .product-image {
    min-height: 330px;
  }

  .case-grid {
    grid-template-columns: 1fr;
  }

  .case-copy {
    min-height: auto;
    padding: 24px;
  }

  .media-feature,
  .media-feature img {
    min-height: 410px;
  }

  .news-item {
    grid-template-columns: 78px 1fr;
    gap: 18px;
  }

  .news-item time {
    display: block;
  }

  .news-item time strong,
  .news-item time span {
    display: block;
  }

  .news-item h3 {
    font-size: 18px;
  }

  .news-item div > p:last-child {
    display: none;
  }

  .closing-band .section-inner {
    display: block;
  }

  .closing-band h2 {
    font-size: 24px;
  }

  .closing-band .button {
    margin-top: 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-grid > div:nth-child(3),
  .footer-grid > div:last-child {
    display: block;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom p + p {
    margin-top: 8px;
  }

  .product-dialog {
    padding: 38px 24px 28px;
  }

  .product-dialog dl {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
