:root {
  color-scheme: dark;
  --bg: #0b1523;
  --bg-strong: #13233a;
  --surface: rgba(18, 30, 48, 0.9);
  --surface-strong: #13243b;
  --surface-dark: #10233d;
  --surface-dark-2: #0c1a2e;
  --line: rgba(177, 199, 225, 0.14);
  --line-strong: rgba(177, 199, 225, 0.22);
  --text: #ecf3fb;
  --text-soft: #b1c2d8;
  --text-inverse: #f7f9fc;
  --brand: #9cc6ff;
  --brand-2: #65b6c6;
  --accent: #f46b2d;
  --accent-soft: #ffd8c7;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 14px 34px rgba(0, 0, 0, 0.28);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1180px;
  --page-radial-1: rgba(244, 107, 45, 0.09);
  --page-radial-2: rgba(31, 110, 127, 0.1);
  --page-grad-top: #08111d;
  --page-grad-bottom: #0b1523;
  --header-bg: rgba(7, 12, 23, 0.78);
  --header-border: rgba(255, 255, 255, 0.08);
  --nav-link: rgba(247, 249, 252, 0.9);
  --mobile-nav-bg: rgba(7, 12, 23, 0.98);
  --mobile-nav-border: rgba(255, 255, 255, 0.08);
  --mobile-nav-separator: rgba(255, 255, 255, 0.06);
  --header-control-bg: rgba(255, 255, 255, 0.08);
  --header-control-border: rgba(255, 255, 255, 0.12);
  --brand-mark-border: rgba(255, 255, 255, 0.08);
  --brand-mark-bg: linear-gradient(180deg, rgba(16, 29, 48, 0.98), rgba(12, 22, 36, 0.96));
  --card-bg: rgba(15, 26, 42, 0.88);
  --card-kicker-bg: rgba(156, 198, 255, 0.12);
  --button-ghost-bg: #16283f;
  --button-ghost-border-hover: rgba(156, 198, 255, 0.34);
  --custom-copy-bg:
    linear-gradient(180deg, rgba(17, 29, 47, 0.92), rgba(11, 21, 35, 0.96)),
    linear-gradient(135deg, rgba(101, 182, 198, 0.1), rgba(244, 107, 45, 0.08));
  --error-card-bg:
    radial-gradient(circle at top right, rgba(244, 107, 45, 0.16), transparent 22%),
    rgba(15, 26, 42, 0.92);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg);
  background:
    radial-gradient(circle at top left, var(--page-radial-1), transparent 28%),
    radial-gradient(circle at top right, var(--page-radial-2), transparent 22%),
    linear-gradient(180deg, var(--page-grad-top) 0%, var(--bg) 42%, var(--page-grad-bottom) 100%);
}

body.menu-lock,
body.lightbox-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(244, 107, 45, 0.45);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 16px;
  z-index: 1000;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--header-border);
  background: var(--header-bg);
  backdrop-filter: blur(16px) saturate(150%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-mark {
  width: 58px;
  height: 58px;
  padding: 4px;
  border: 1px solid var(--brand-mark-border);
  border-radius: 18px;
  object-fit: contain;
  background: var(--brand-mark-bg);
  box-shadow:
    0 14px 28px rgba(6, 12, 23, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.brand-copy {
  display: grid;
  gap: 3px;
  color: var(--text-inverse);
}

.brand-copy strong {
  font-family: "Avenir Next Condensed", "Arial Narrow", "Franklin Gothic Medium", sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand-copy span:last-child {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247, 249, 252, 0.72);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.desktop-nav a,
.mobile-nav a {
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.desktop-nav a {
  color: var(--nav-link);
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--header-control-border);
  border-radius: 14px;
  background: var(--header-control-bg);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: #fff;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.site-header.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--mobile-nav-border);
  background: var(--mobile-nav-bg);
}

.mobile-nav a {
  display: block;
  padding: 16px 20px;
  color: rgba(247, 249, 252, 0.92);
}

.mobile-nav a + a {
  border-top: 1px solid var(--mobile-nav-separator);
}

.site-header.menu-open .mobile-nav {
  display: block;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  min-height: min(920px, calc(100svh - 78px));
  color: var(--text-inverse);
}

.hero-backdrop,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(110deg, rgba(8, 18, 33, 0.88) 12%, rgba(16, 35, 61, 0.82) 50%, rgba(16, 35, 61, 0.28) 100%),
    radial-gradient(circle at 16% 20%, rgba(244, 107, 45, 0.28), transparent 24%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), var(--bg));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.9fr);
  gap: 36px;
  align-items: end;
  min-height: min(920px, calc(100svh - 78px));
  padding-block: 96px 120px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.8);
}

.hero-copy h1,
.section-heading h2,
.custom-copy h2,
.contact-copy h2,
.hero-card h2,
.error-card h1 {
  margin: 0;
  font-family: "Avenir Next Condensed", "Arial Narrow", "Franklin Gothic Medium", sans-serif;
  letter-spacing: 0.01em;
  line-height: 0.94;
}

.hero-copy h1 {
  max-width: 10.5ch;
  font-size: clamp(3.4rem, 6vw, 6.15rem);
}

.hero-lead {
  max-width: 60ch;
  margin: 24px 0 0;
  color: rgba(247, 249, 252, 0.86);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-actions,
.product-actions,
.contact-actions,
.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease, border-color 0.24s ease, color 0.24s ease;
}

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

.button-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 16px 34px rgba(244, 107, 45, 0.26);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ff7f44;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.button-ghost {
  border-color: var(--line-strong);
  background: var(--button-ghost-bg);
  color: var(--brand);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: var(--button-ghost-border-hover);
  box-shadow: var(--shadow-soft);
}

.button-light {
  background: #fff;
  color: var(--surface-dark);
}

.button-light:hover,
.button-light:focus-visible {
  background: #f5f7fb;
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.38);
  background: transparent;
  color: #fff;
}

.button-outline-light:hover,
.button-outline-light:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
}

.text-link::after {
  content: "->";
  margin-left: 8px;
}

.hero-stats,
.feature-list,
.product-points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 38px;
}

.hero-stats li {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.hero-stats strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
  color: #fff;
}

.hero-stats span {
  display: block;
  color: rgba(247, 249, 252, 0.74);
  line-height: 1.5;
}

.hero-panel {
  align-self: center;
}

.hero-card,
.capability-shell {
  padding: 30px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08)),
    rgba(7, 16, 30, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(6, 12, 23, 0.24);
  backdrop-filter: blur(14px);
}

.hero-card-label,
.capability-title {
  margin: 0 0 14px;
  color: rgba(247, 249, 252, 0.68);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-card h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.feature-list li,
.product-points li {
  position: relative;
  padding-left: 18px;
  line-height: 1.6;
}

.feature-list li::before,
.product-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.hero-card-note,
.capability-note {
  margin: 22px 0 0;
  color: rgba(247, 249, 252, 0.78);
  line-height: 1.7;
}

.section {
  position: relative;
  padding: 88px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2,
.custom-copy h2,
.contact-copy h2 {
  font-size: clamp(2.4rem, 3vw, 4rem);
}

.section-heading p,
.custom-copy p,
.contact-copy p,
.footer-note,
.contact-detail p,
.trust-card p,
.product-copy p,
.error-card p {
  margin: 16px 0 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.section-trust {
  padding-top: 34px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.trust-card,
.product-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  box-shadow: var(--shadow-soft);
}

.trust-card {
  padding: 24px;
}

.card-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  border-radius: 999px;
  background: var(--card-kicker-bg);
  color: var(--brand);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.trust-card h3,
.product-copy h3 {
  margin: 18px 0 0;
  font-size: 1.32rem;
}

.product-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  display: grid;
  overflow: hidden;
}

.product-card:last-child {
  grid-column: 1 / -1;
}

.product-media {
  position: relative;
  padding: 18px 18px 0;
}

.product-badge {
  position: absolute;
  left: 32px;
  top: 32px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(16, 35, 61, 0.78);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.media-button,
.media-frame {
  width: 100%;
  display: grid;
  place-items: center;
  padding: 22px;
  border-radius: calc(var(--radius-lg) - 8px);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(16, 35, 61, 0.08), rgba(16, 35, 61, 0)),
    linear-gradient(145deg, rgba(19, 38, 65, 0.95), rgba(8, 18, 33, 1));
}

.media-button {
  border: 0;
  cursor: pointer;
}

.media-frame {
  margin: 0;
}

.media-button img,
.media-frame img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  background: transparent;
}

.product-card-service .media-frame img {
  width: 100%;
  max-height: none;
}

.product-body {
  display: grid;
  gap: 20px;
  padding: 22px 22px 24px;
}

.product-copy h3 {
  margin-top: 0;
}

.product-points {
  display: grid;
  gap: 10px;
}

.section-custom {
  overflow: clip;
}

.custom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: 22px;
  align-items: stretch;
}

.custom-copy,
.capability-card {
  padding: 34px;
  border-radius: var(--radius-lg);
}

.custom-copy {
  background: var(--custom-copy-bg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.capability-card {
  background:
    radial-gradient(circle at top right, rgba(244, 107, 45, 0.22), transparent 24%),
    linear-gradient(160deg, var(--surface-dark), var(--surface-dark-2));
  color: var(--text-inverse);
  box-shadow: var(--shadow);
}

.section-contact {
  padding-top: 24px;
  padding-bottom: 96px;
}

.contact-panel {
  position: relative;
  overflow: hidden;
  padding: 40px;
  border-radius: calc(var(--radius-lg) + 6px);
  background:
    radial-gradient(circle at 12% 14%, rgba(244, 107, 45, 0.28), transparent 18%),
    radial-gradient(circle at 88% 24%, rgba(255, 255, 255, 0.12), transparent 18%),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.12), transparent 22%),
    linear-gradient(140deg, #0f2240 0%, #153a63 60%, #1d5669 100%);
  color: var(--text-inverse);
  box-shadow: 0 26px 60px rgba(16, 35, 61, 0.2);
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.07), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 42%);
  pointer-events: none;
}

.contact-copy,
.contact-grid,
.contact-actions {
  position: relative;
  z-index: 1;
}

.contact-copy {
  max-width: 860px;
}

.contact-kicker {
  display: flex;
  align-items: center;
  width: fit-content;
  min-height: 38px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-copy h2 {
  font-size: clamp(2.5rem, 4vw, 4.1rem);
  margin-top: 14px;
  line-height: 0.98;
  max-width: none;
  white-space: nowrap;
}

.contact-lead {
  max-width: 38ch;
  margin-top: 18px;
  font-size: clamp(1.05rem, 1.2vw, 1.24rem);
  font-weight: 700;
  line-height: 1.45;
}

.contact-copy p,
.contact-detail p {
  color: rgba(247, 249, 252, 0.78);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 38px 0 30px;
}

.contact-detail {
  --detail-accent: #9cc6ff;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.contact-detail:nth-child(2) {
  --detail-accent: #7fd8cf;
}

.contact-detail:nth-child(3) {
  --detail-accent: #f2c779;
}

.contact-detail:nth-child(4) {
  --detail-accent: #f1a88b;
}

.contact-detail span {
  display: block;
  margin-bottom: 10px;
  color: var(--detail-accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-detail a {
  font-size: 1.08rem;
  font-weight: 800;
  text-decoration: none;
}

.contact-actions .button {
  min-height: 54px;
  padding-inline: 24px;
}

.site-footer {
  padding: 0 0 40px;
}

.footer-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  margin: 0;
  font-family: "Avenir Next Condensed", "Arial Narrow", "Franklin Gothic Medium", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-note {
  max-width: 48ch;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 10, 18, 0.86);
  backdrop-filter: blur(12px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-dialog {
  position: relative;
  width: min(1040px, 100%);
  padding: 64px 20px 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(17, 31, 54, 0.98), rgba(8, 16, 28, 0.98));
  box-shadow: 0 26px 60px rgba(5, 10, 18, 0.4);
}

.lightbox-figure {
  margin: 0;
}

.lightbox-figure img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
}

.lightbox-caption {
  padding-top: 14px;
  color: rgba(247, 249, 252, 0.78);
  line-height: 1.5;
}

.lightbox-close,
.lightbox-arrow,
.thumb-button {
  cursor: pointer;
}

.lightbox-close,
.lightbox-arrow {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 800;
}

.lightbox-close {
  top: 18px;
  right: 18px;
  min-width: 88px;
  min-height: 42px;
}

.lightbox-arrow {
  top: calc(50% - 22px);
  width: 46px;
  height: 46px;
}

.lightbox-arrow-prev {
  left: 20px;
}

.lightbox-arrow-next {
  right: 20px;
}

.lightbox-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-top: 18px;
  padding-bottom: 4px;
}

.thumb-button {
  flex: 0 0 88px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.thumb-button img {
  width: 100%;
  height: 70px;
  object-fit: contain;
}

.thumb-button.is-active {
  border-color: var(--accent);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.error-page {
  min-height: 100svh;
}

.error-main {
  padding: 64px 0 96px;
}

.error-card {
  max-width: 780px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-lg) + 6px);
  background: var(--error-card-bg);
  box-shadow: var(--shadow);
}

.error-card h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
}

@media (max-width: 1080px) {
  .hero-grid,
  .custom-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: 12ch;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 821px) {
  .product-card:last-child {
    grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
  }

  .product-card:last-child .product-media {
    padding: 18px;
  }
}

@media (max-width: 820px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;
    padding-block: 72px 108px;
  }

  .hero-stats,
  .product-grid,
  .contact-grid,
  .trust-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    display: grid;
    align-items: start;
  }

  .lightbox-dialog {
    padding-top: 72px;
  }

  .lightbox-arrow {
    top: auto;
    bottom: 122px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--max-width));
  }

  .header-inner {
    min-height: 72px;
  }

  .brand-copy span:last-child {
    display: none;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.9rem, 12vw, 4.4rem);
  }

  .hero-card,
  .trust-card,
  .product-body,
  .custom-copy,
  .capability-card,
  .contact-panel,
  .error-card {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-stats {
    gap: 12px;
  }

  .hero-stats li,
  .contact-detail {
    padding: 16px;
  }

  .product-media {
    padding: 14px 14px 0;
  }

  .product-badge {
    left: 24px;
    top: 24px;
  }

  .contact-panel {
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .contact-copy h2 {
    max-width: 100%;
    font-size: clamp(2.2rem, 9vw, 3.3rem);
    white-space: normal;
  }

  .contact-lead {
    max-width: 100%;
  }

  .lightbox {
    padding: 14px;
  }

  .lightbox-dialog {
    padding: 68px 14px 14px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
  }

  .lightbox-arrow-prev {
    left: 12px;
  }

  .lightbox-arrow-next {
    right: 12px;
  }
}

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

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

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