:root {
  color-scheme: light;
  --ink: #01457e;
  --muted: #426f96;
  --line: #dee2e6;
  --panel: #ffffff;
  --soft: #eef3f8;
  --soft-2: #f8f9fa;
  --brand: #01457e;
  --brand-dark: #00345f;
  --accent: #dca55f;
  --danger: #88072d;
  --charcoal: #00345f;
  --shadow: 0 24px 70px rgba(1, 69, 126, 0.13);
  --radius: 8px;
  --max: 1180px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f7fafc 0%, #ffffff 38%, var(--soft-2) 100%);
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 40;
  top: 18px;
  left: 50%;
  display: grid;
  grid-template-columns: minmax(130px, 1fr) auto minmax(330px, 1fr);
  width: min(calc(100% - 32px), var(--max));
  align-items: center;
  gap: 16px;
  padding: 10px 12px;
  color: var(--brand);
  background: #fff;
  border: 1px solid rgba(1, 69, 126, 0.1);
  border-radius: 999px;
  transform: translateX(-50%);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 50px rgba(1, 69, 126, 0.16);
  transition:
    background 220ms ease,
    color 220ms ease,
    border-color 220ms ease,
    top 220ms ease;
}

.site-header.is-scrolled {
  top: 10px;
  color: var(--brand);
  background: #fff;
  border-color: rgba(1, 69, 126, 0.12);
}

.brand {
  display: grid;
  gap: 2px;
  align-items: center;
  justify-items: start;
  min-width: max-content;
}

.brand-word {
  justify-self: start;
  padding-left: 8px;
}

.cleanspace-logo {
  display: block;
  width: clamp(132px, 17vw, 220px);
  height: auto;
  max-height: 42px;
  object-fit: contain;
}

.brand-logo-link {
  display: flex;
  grid-column: 2;
  align-items: center;
  justify-self: center;
}

.brand-logo {
  display: block;
  width: 112px;
  height: auto;
}

.brand-subline {
  color: var(--brand);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.site-nav {
  display: flex;
  grid-column: 3;
  align-items: center;
  gap: 3px;
  justify-self: end;
}

.site-nav a {
  position: relative;
  padding: 11px 13px;
  border-radius: 999px;
  color: currentColor;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.site-nav .nav-dropdown {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: -14px;
}

.site-nav .nav-link {
  display: block;
  width: 100%;
  padding: 11px 13px;
  color: currentColor;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  text-align: left;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav .nav-submenu {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  display: grid;
  min-width: 220px;
  padding: 10px;
  gap: 4px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(1, 69, 126, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(1, 69, 126, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.site-nav .nav-submenu::before {
  position: absolute;
  top: -14px;
  left: 0;
  width: 100%;
  height: 14px;
  content: "";
}

.site-nav .nav-submenu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  color: var(--brand);
  background: #fff;
  border: 1px solid rgba(1, 69, 126, 0.1);
  border-radius: 8px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(1, 69, 126, 0.08);
}

.site-nav .nav-submenu a:hover,
.site-nav .nav-submenu a:focus-visible {
  background: rgba(1, 69, 126, 0.06);
  border-color: rgba(1, 69, 126, 0.24);
  transform: translateX(2px);
}

.site-nav .nav-dropdown:hover .nav-submenu,
.site-nav .nav-dropdown:focus-within .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-nav a[href="test.html"] {
  color: var(--brand);
  background: rgba(1, 69, 126, 0.06);
  border: 1px solid rgba(1, 69, 126, 0.12);
}

.site-nav a:hover {
  background: rgba(1, 69, 126, 0.06);
  transform: translateY(-1px);
}

.site-nav a::after {
  position: absolute;
  right: 16px;
  bottom: 7px;
  left: 16px;
  height: 2px;
  background: var(--accent);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  background: rgba(1, 69, 126, 0.06);
  border: 1px solid rgba(1, 69, 126, 0.12);
  border-radius: 999px;
}

.language-switcher button {
  min-width: 34px;
  min-height: 34px;
  padding: 0 9px;
  color: var(--brand);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.language-switcher button:hover {
  transform: translateY(-1px);
}

.language-switcher button.is-active {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 10px 24px rgba(1, 69, 126, 0.18);
}

.menu-toggle {
  display: none;
  grid-column: 3;
  justify-self: end;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  color: currentColor;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-toggle span + span {
  margin-top: 5px;
}

.nav-open .menu-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-open .menu-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: 78svh;
  align-items: center;
  overflow: hidden;
  padding: 118px max(24px, calc((100vw - var(--max)) / 2)) 46px;
  background:
    linear-gradient(110deg, rgba(1, 69, 126, 0.97), rgba(0, 52, 95, 0.91) 48%, rgba(220, 165, 95, 0.14)),
    var(--charcoal);
}

.hero-home {
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.98fr);
  grid-template-areas:
    "copy visual"
    "copy metrics";
  column-gap: clamp(34px, 6vw, 88px);
  row-gap: 22px;
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.55), transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 110px;
  background: linear-gradient(to top, var(--soft-2), transparent);
  content: "";
  pointer-events: none;
  z-index: 0;
}

.hero-media {
  position: absolute;
  right: max(2vw, calc((100vw - var(--max)) / 2));
  bottom: 34px;
  width: min(54vw, 660px);
  opacity: 0.9;
  filter: drop-shadow(0 34px 60px rgba(0, 0, 0, 0.34));
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 12%, #000 40%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 12%, #000 40%, #000 100%);
  animation: floatProduct 6s ease-in-out infinite;
}

.hero-home .hero-media {
  position: relative;
  right: auto;
  bottom: auto;
  z-index: 1;
  grid-area: visual;
  width: 100%;
  opacity: 0.96;
  filter: none;
  transform-style: preserve-3d;
  transform-origin: center;
  -webkit-mask-image: none;
  mask-image: none;
  animation: heroProductCubeSpin 16s ease-in-out infinite;
}

.hero-home .hero-media::before,
.hero-home .hero-media::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero-home .hero-media::before {
  top: 8%;
  right: -22px;
  width: 24px;
  height: 84%;
  background: linear-gradient(90deg, rgba(1, 69, 126, 0.9), rgba(220, 165, 95, 0.72));
  border-radius: 0 var(--radius) var(--radius) 0;
  transform: rotateY(90deg);
  transform-origin: left center;
}

.hero-home .hero-media::after {
  right: 8%;
  bottom: -20px;
  left: 8%;
  height: 22px;
  background: linear-gradient(180deg, rgba(220, 165, 95, 0.72), rgba(1, 69, 126, 0.82));
  border-radius: 0 0 var(--radius) var(--radius);
  transform: rotateX(-90deg);
  transform-origin: top center;
}

.hero-media img {
  width: 100%;
  transform-origin: center;
}

.hero-home .hero-media img {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 3;
  min-height: 390px;
  max-height: 560px;
  border-radius: var(--radius);
  background: #eef3f8;
  box-shadow: 0 28px 72px rgba(0, 52, 95, 0.26);
  object-fit: cover;
  object-position: center;
  transform: translateZ(22px);
  backface-visibility: visible;
  transition:
    opacity 320ms ease,
    filter 320ms ease;
}

.hero-home .hero-media img.is-changing {
  opacity: 0;
  filter: blur(8px) saturate(0.82);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 520px;
  color: #fff;
}

.hero-home .hero-content {
  grid-area: copy;
  align-self: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-content .eyebrow,
.page-hero .eyebrow,
.contact-hero .eyebrow {
  color: #f1c483;
}

h1,
h2,
h3,
p {
  word-break: normal;
  hyphens: none;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: normal;
  text-wrap: balance;
}

p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 13ch;
  font-size: clamp(3.2rem, 7.4vw, 5.9rem);
}

h2 {
  font-size: clamp(2rem, 4.6vw, 4.2rem);
}

h3 {
  font-size: clamp(1.2rem, 2.1vw, 1.65rem);
}

.capability-grid h3 {
  font-size: clamp(1.08rem, 1.35vw, 1.42rem);
  line-height: 1.12;
  text-wrap: balance;
}

.lead {
  max-width: 46ch;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.65;
}

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

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  overflow: hidden;
  white-space: nowrap;
  transition:
    transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 240ms ease,
    background 240ms ease,
    border-color 240ms ease;
}

.button:focus-visible,
.site-nav a:focus-visible,
.brand:focus-visible,
.brand-logo-link:focus-visible,
.product-card:focus-visible,
.mask-choice-card:focus-visible {
  outline: 3px solid rgba(220, 165, 95, 0.84);
  outline-offset: 4px;
}

.button::before {
  position: absolute;
  inset: -40% auto -40% -80%;
  width: 65%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.48), transparent);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translateX(0) rotate(18deg);
  transition:
    opacity 220ms ease,
    transform 620ms ease;
}

.button::after {
  content: ">";
  font-weight: 900;
  transition: transform 220ms ease;
}

.button:hover {
  transform: translateY(-3px) scale(1.025);
}

.button:hover::before {
  opacity: 1;
  transform: translateX(280%) rotate(18deg);
}

.button:hover::after {
  transform: translateX(4px);
}

.button:active {
  transform: translateY(-1px) scale(0.99);
}

.button.primary {
  color: var(--brand-dark);
  background: var(--accent);
  box-shadow: 0 16px 42px rgba(220, 165, 95, 0.28);
}

.button.primary:hover {
  box-shadow: 0 22px 54px rgba(220, 165, 95, 0.42);
}

.button.details {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-color: rgba(1, 69, 126, 0.32);
  box-shadow: 0 16px 38px rgba(1, 69, 126, 0.16);
}

.button.details:hover {
  box-shadow: 0 20px 48px rgba(1, 69, 126, 0.24);
}

.button.ghost {
  color: currentColor;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
}

.button.ghost.dark {
  color: var(--brand);
  background: #fff;
  border-color: rgba(1, 69, 126, 0.18);
}

.button.ghost:hover {
  border-color: rgba(255, 255, 255, 0.46);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.16);
}

.button.ghost.dark:hover {
  border-color: rgba(1, 69, 126, 0.34);
  box-shadow: 0 18px 42px rgba(1, 69, 126, 0.14);
}

.hero-panel {
  position: absolute;
  z-index: 3;
  right: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 74px;
  width: min(420px, calc(100% - 48px));
  padding: 20px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  backdrop-filter: blur(22px);
}

.hero-home .hero-panel {
  position: relative;
  right: auto;
  bottom: auto;
  z-index: 2;
  grid-area: metrics;
  width: 100%;
  align-self: start;
}

.panel-label {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.metric-grid strong {
  display: block;
  font-size: clamp(1.22rem, 3vw, 2rem);
}

.metric-grid span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
}

.section {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
  padding: 92px 0;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 42px;
  align-items: start;
  padding-top: 42px;
}

.section-copy p,
.difference-copy p,
.filter-copy p,
.location-details p,
.usage-item p,
.product-card p,
.model-content p {
  color: var(--muted);
  line-height: 1.7;
}

.section-copy > p:last-child,
.difference-copy > p,
.filter-copy > p,
.location-details p {
  margin-top: 20px;
  font-size: 1.05rem;
}

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

.capability-grid article,
.product-card,
.model-card,
.usage-item,
.contact-card,
.contact-form,
.location-panel {
  position: relative;
  background: var(--panel);
  border: 1px solid rgba(1, 69, 126, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(1, 69, 126, 0.07);
}

.capability-grid article::before,
.product-card::before,
.mask-choice-card::before,
.contact-card::before,
.contact-form::before,
.location-panel::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  content: "";
  opacity: 0.82;
}

.capability-grid article {
  overflow: hidden;
  min-height: 250px;
  padding: 24px;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.capability-grid article:hover {
  border-color: rgba(1, 69, 126, 0.2);
  box-shadow: 0 24px 58px rgba(1, 69, 126, 0.12);
  transform: translateY(-4px);
}

.capability-grid span,
.usage-item span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 34px;
  color: #fff;
  background: var(--charcoal);
  border-radius: 50%;
  font-weight: 900;
}

.capability-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 760px;
}

.product-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.product-overview-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.product-card {
  isolation: isolate;
  display: grid;
  min-height: 420px;
  overflow: hidden;
  transition:
    transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 260ms ease;
}

.product-card img {
  width: 100%;
  height: 245px;
  object-fit: cover;
  background: var(--soft);
  transform: scale(1.01);
  transition:
    transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 520ms ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 58px rgba(1, 69, 126, 0.16);
}

.product-card:hover img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.075) rotate(0.7deg);
}

.product-overview-grid .product-card {
  min-height: 390px;
}

.product-overview-grid .product-card img {
  height: 190px;
}

.product-card div {
  padding: 22px;
}

.tag {
  margin: 0 0 10px;
  color: var(--brand-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.center-action {
  justify-content: center;
}

.difference-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: start;
}

.difference-visual {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  align-self: stretch;
}

.difference-visual img {
  width: 100%;
  height: min(54vw, 520px);
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition: transform 700ms ease, filter 700ms ease;
}

.difference-visual:hover img {
  filter: saturate(1.08);
  transform: scale(1.055);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  min-height: 24px;
  padding-left: 34px;
  color: var(--charcoal);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.5;
}

.check-list li::before {
  position: absolute;
  top: 0.15em;
  left: 0;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 50%;
  content: "";
}

.check-list li::after {
  position: absolute;
  top: 0.54em;
  left: 5px;
  width: 9px;
  height: 5px;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  content: "";
  transform: rotate(-45deg);
}

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

.certification-section .section-heading {
  align-items: start;
  margin-bottom: 28px;
}

.certification-section .section-heading p:not(.eyebrow) {
  max-width: 38rem;
  color: var(--muted);
  line-height: 1.7;
}

.certification-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.certification-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 156px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid rgba(1, 69, 126, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(1, 69, 126, 0.07);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.certification-card:hover {
  border-color: rgba(1, 69, 126, 0.24);
  box-shadow: 0 22px 56px rgba(1, 69, 126, 0.12);
  transform: translateY(-3px);
}

.certification-mark {
  display: grid;
  width: 104px;
  height: 104px;
  place-items: center;
  align-content: center;
  gap: 3px;
  color: #fff;
  background:
    linear-gradient(145deg, var(--brand), var(--brand-dark));
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 7px rgba(255, 255, 255, 0.08),
    0 18px 36px rgba(1, 69, 126, 0.18);
  text-align: center;
}

.certification-mark strong {
  display: block;
  font-size: clamp(1.2rem, 1.8vw, 1.62rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.certification-mark small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.certification-card h3 {
  color: var(--brand-dark);
  font-size: clamp(1.1rem, 1.5vw, 1.42rem);
  line-height: 1.16;
  text-wrap: balance;
}

.certification-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.certification-note {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.page-hero,
.contact-hero {
  display: grid;
  width: min(calc(100% - 32px), var(--max));
  min-height: 70svh;
  margin-inline: auto;
  padding: 130px 0 58px;
  gap: 36px;
  align-items: center;
}

.page-hero {
  grid-template-columns: 0.98fr 1.02fr;
}

.mask-picker-hero {
  min-height: 56svh;
  padding-bottom: 34px;
}

.mask-picker-hero .page-hero-image img {
  height: min(34vw, 380px);
}

.page-hero::before,
.contact-hero::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(125deg, rgba(1, 69, 126, 0.96), rgba(19, 40, 58, 0.86) 44%, rgba(220, 165, 95, 0.16)),
    var(--charcoal);
  content: "";
}

.page-hero-copy,
.contact-copy {
  color: #fff;
}

.page-hero-copy h1,
.contact-copy h1 {
  max-width: 14ch;
  font-size: clamp(2.8rem, 5.8vw, 5.1rem);
}

.page-hero-image {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.page-hero-image img {
  width: 100%;
  height: min(44vw, 480px);
  object-fit: cover;
  transform: scale(1.01);
  transition:
    transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 620ms ease;
}

.page-hero-image:hover img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.055) rotate(0.6deg);
}

.model-section,
.mask-category-section,
.usage-band,
.filter-section,
.contact-section {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: max(16px, calc((100vw - var(--max)) / 2));
  background: var(--soft-2);
}

.model-section {
  padding-top: 70px;
}

.mask-overview-section {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: max(16px, calc((100vw - var(--max)) / 2));
  padding-top: 76px;
  background: var(--soft-2);
}

.mask-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.mask-choice-card {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 430px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(1, 69, 126, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(1, 69, 126, 0.07);
  cursor: pointer;
  transition:
    transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.mask-choice-card:focus-visible {
  outline-color: rgba(220, 165, 95, 0.86);
}

.mask-choice-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: var(--soft);
  transform: scale(1.01);
  transition:
    transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 520ms ease;
}

.mask-choice-card:hover {
  border-color: rgba(1, 69, 126, 0.18);
  box-shadow: 0 26px 62px rgba(1, 69, 126, 0.16);
  transform: translateY(-6px);
}

.mask-choice-card:hover img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.07) rotate(0.7deg);
}

.mask-choice-card > div {
  display: grid;
  align-content: space-between;
  gap: 16px;
  padding: 22px;
}

.mask-choice-card h3 {
  min-height: 2.1em;
  text-wrap: balance;
  word-break: normal;
  overflow-wrap: normal;
}

.product-card h3,
.product-card p,
.mask-summary,
.tag {
  word-break: normal;
  overflow-wrap: normal;
}

.mask-summary {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.custom-content-section {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  margin-top: 18px;
  padding-block: 86px 118px;
  padding-inline: max(16px, calc((100vw - var(--max)) / 2));
  background:
    linear-gradient(180deg, rgba(1, 69, 126, 0.045), rgba(248, 249, 250, 0.96));
  border-top: 1px solid rgba(1, 69, 126, 0.1);
  overflow: visible;
}

.custom-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 22px 42px;
  align-items: start;
}

.custom-text-card {
  display: grid;
  gap: 12px;
  min-height: 150px;
  padding: 20px 0 34px;
  color: var(--brand);
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.custom-text-card h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.14;
}

.custom-text-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  max-width: 72ch;
}

.custom-text-body {
  display: grid;
  gap: 16px;
  color: var(--muted);
  max-width: 78ch;
}

.custom-text-intro,
.custom-text-paragraph {
  margin: 0;
  line-height: 1.72;
}

.custom-bullet-item {
  display: grid;
  gap: 6px;
  margin: 0 0 14px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.custom-text-intro + .custom-bullet-item {
  margin-top: 14px;
}

.custom-bullet-heading {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--brand);
  font-size: 1.22rem;
  font-weight: 900;
  line-height: 1.3;
}

.custom-bullet-heading::before {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: 0.42em;
  background: var(--accent);
  border-radius: 999px;
  content: "";
}

.custom-bullet-body {
  color: var(--muted);
  line-height: 1.65;
}

.custom-image-section {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-block: 56px 104px;
  padding-inline: max(16px, calc((100vw - var(--max)) / 2));
  background: #fff;
  overflow: visible;
}

.custom-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  align-items: start;
}

.custom-image-item {
  display: grid;
  gap: 12px;
  justify-items: start;
  margin: 0;
  overflow: visible;
}

.custom-image-item img {
  width: min(100%, 520px);
  height: auto;
  max-height: 620px;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 22px 64px rgba(1, 69, 126, 0.14);
}

.custom-content-grid > .custom-text-card:first-child {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.custom-content-grid > .custom-image-item {
  align-self: start;
  max-width: 520px;
  grid-column: 2;
  justify-self: end;
  width: 100%;
  overflow: hidden;
}

.custom-content-grid > .custom-image-item:nth-of-type(1) {
  grid-row: 1;
}

.custom-content-grid > .custom-image-item:nth-of-type(2) {
  grid-row: 2;
}

.custom-content-grid > .custom-image-item img {
  width: 100%;
  max-width: 100%;
  height: clamp(220px, 18vw, 300px);
  max-height: none;
  object-fit: cover;
  object-position: center;
}

.custom-image-item figcaption,
.custom-media-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.custom-media-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid rgba(1, 69, 126, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 18px 54px rgba(1, 69, 126, 0.08);
}

.custom-media-card h3 {
  margin: 0;
  color: var(--brand);
  font-size: 1.2rem;
  line-height: 1.22;
}

.custom-media-surface {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 14px;
  background: var(--soft);
  border-radius: calc(var(--radius) - 2px);
  overflow: hidden;
}

.custom-media-surface img,
.custom-media-surface iframe,
.custom-media-surface video {
  width: 100%;
  max-width: 100%;
  border: 0;
  border-radius: calc(var(--radius) - 4px);
}

.custom-media-surface iframe {
  aspect-ratio: 16 / 9;
}

.custom-media-surface audio {
  width: 100%;
}

.choice-actions {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
}

.choice-actions .button {
  width: 100%;
}

.detail-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  width: min(calc(100% - 32px), var(--max));
  min-height: 78svh;
  margin-inline: auto;
  padding: 132px 0 64px;
  gap: 36px;
  align-items: center;
}

.detail-hero::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(125deg, rgba(1, 69, 126, 0.96), rgba(19, 40, 58, 0.88) 44%, rgba(220, 165, 95, 0.17)),
    var(--charcoal);
  content: "";
}

.detail-hero-copy {
  color: #fff;
}

.detail-hero-copy .eyebrow {
  color: #fff;
}

.detail-hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 6vw, 5.8rem);
}

.detail-hero-copy .pill {
  border-color: rgba(255, 255, 255, 0.18);
}

.detail-hero-image {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.detail-hero-image img {
  width: 100%;
  height: min(48vw, 570px);
  object-fit: cover;
  transform: scale(1.01);
  transition:
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 700ms ease;
}

.detail-hero-image:hover img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.055) rotate(0.5deg);
}

.detail-gallery-section,
.detail-spec-section,
.detail-story-section {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: max(16px, calc((100vw - var(--max)) / 2));
  background: var(--soft-2);
}

.detail-spec-section {
  padding-top: 0;
}

.detail-gallery {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(16, 20, 24, 0.06);
}

.detail-story-section {
  padding-top: 24px;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: 18px;
  align-items: start;
}

.story-copy,
.video-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(1, 69, 126, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(1, 69, 126, 0.07);
}

.story-copy {
  padding: 30px;
}

.story-copy h3,
.video-card h3 {
  margin: 0;
  color: var(--brand);
}

.story-copy p {
  max-width: 78ch;
  color: var(--muted);
  line-height: 1.72;
}

.story-copy p:first-of-type {
  margin-top: 16px;
}

.video-library {
  display: grid;
  gap: 12px;
}

.video-card {
  display: grid;
  min-height: 164px;
  align-content: center;
  gap: 9px;
  padding: 22px 22px 22px 74px;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.video-card::before {
  position: absolute;
  top: 24px;
  left: 22px;
  width: 34px;
  height: 34px;
  background: var(--brand);
  border-radius: 50%;
  content: "";
}

.video-card::after {
  position: absolute;
  top: 34px;
  left: 36px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 10px solid #fff;
  content: "";
}

.video-library .video-card:nth-of-type(2)::before {
  background: var(--accent);
}

.video-library .video-card:nth-of-type(2)::after {
  top: 25px;
  left: 22px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  border: 0;
  content: "⚒";
  transform: none;
}

.video-card:hover {
  border-color: rgba(1, 69, 126, 0.22);
  box-shadow: 0 24px 58px rgba(1, 69, 126, 0.13);
  transform: translateY(-4px);
}

.video-card span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.video-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.video-hero {
  min-height: 58svh;
}

.video-page-section {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: max(16px, calc((100vw - var(--max)) / 2));
  background: var(--soft-2);
}

.section-note {
  max-width: 320px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  text-align: right;
}

.video-empty {
  display: grid;
  justify-items: start;
  gap: 12px;
  padding: 34px;
  background: #fff;
  border: 1px solid rgba(1, 69, 126, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(1, 69, 126, 0.07);
}

.video-empty[hidden] {
  display: none;
}

.video-empty h3,
.video-empty p {
  margin: 0;
}

.video-empty p {
  color: var(--muted);
  line-height: 1.65;
}

.stored-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}

.stored-video-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(1, 69, 126, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(1, 69, 126, 0.07);
}

.stored-video-media {
  display: grid;
  aspect-ratio: 16 / 9;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
}

.stored-video-media iframe,
.stored-video-media video {
  width: 100%;
  height: 100%;
  border: 0;
}

.stored-video-media a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 18px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  font-weight: 900;
}

.stored-video-copy {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.stored-video-copy h3,
.stored-video-copy p {
  margin: 0;
}

.stored-video-copy p:not(.tag) {
  color: var(--muted);
  line-height: 1.58;
}

.mask-category-section {
  padding-top: 70px;
  background: var(--soft-2);
}

.mask-jump-nav {
  position: sticky;
  z-index: 8;
  top: 86px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -10px 0 22px;
  padding: 10px;
  background: rgba(247, 249, 247, 0.82);
  border: 1px solid rgba(16, 20, 24, 0.08);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
}

.mask-jump-nav a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: var(--charcoal);
  background: #fff;
  border: 1px solid rgba(16, 20, 24, 0.08);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
}

.mask-family {
  scroll-margin-top: 118px;
  overflow: hidden;
  margin-top: 18px;
  background: #fff;
  border: 1px solid rgba(16, 20, 24, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(16, 20, 24, 0.06);
}

.mask-family-main {
  display: grid;
  grid-template-columns: minmax(240px, 0.68fr) minmax(0, 1fr);
  min-height: 330px;
}

.mask-family-main > img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  background: var(--soft);
  transform: scale(1.01);
  transition:
    transform 640ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 640ms ease;
}

.mask-family-main:hover > img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.055);
}

.mask-family-main > div {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 34px;
}

.mask-family-main h3 {
  max-width: 740px;
  font-size: clamp(1.7rem, 3.8vw, 3.6rem);
}

.mask-family-main p:not(.tag) {
  max-width: 68ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.family-story {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 1.05fr);
  gap: 28px;
  padding: 30px 34px;
  background:
    linear-gradient(90deg, rgba(1, 69, 126, 0.05), rgba(220, 165, 95, 0.06)),
    #fff;
  border-top: 1px solid rgba(1, 69, 126, 0.08);
}

.family-story h4 {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.family-story p {
  max-width: 72ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.72;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none !important;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  color: var(--charcoal);
  line-height: 1.58;
}

.feature-list li:has(.feature-item-title) {
  display: grid;
  gap: 5px;
}

.feature-item-title {
  color: var(--brand);
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1.25;
}

.feature-item-description {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.58;
}

.feature-list li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
  content: "";
}

.asset-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(16, 20, 24, 0.08);
  border-top: 1px solid rgba(16, 20, 24, 0.08);
}

.asset-gallery figure {
  display: grid;
  grid-template-rows: 230px auto;
  min-width: 0;
  margin: 0;
  background: #fff;
}

.asset-gallery img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: var(--soft);
  transform: scale(1.01);
  transition:
    transform 560ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 560ms ease;
}

.asset-gallery figure {
  overflow: hidden;
}

.asset-gallery figure:hover img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.07) rotate(0.6deg);
}

.agile-gallery img {
  object-fit: contain;
  background: #fff;
}

.agile-gallery figure:hover img {
  transform: scale(1.035);
}

.asset-gallery figcaption {
  min-height: 58px;
  padding: 14px 18px;
  color: var(--brand);
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.35;
}

.compatibility-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.pill {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  color: var(--charcoal);
  background: var(--soft);
  border: 1px solid rgba(16, 20, 24, 0.08);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
}

.pill.yes {
  color: #064f3e;
  background: #dff6ec;
}

.pill.no {
  color: #7a241f;
  background: #fde8e4;
}

.family-details {
  display: grid;
  grid-template-columns: 0.86fr 1.12fr 1.18fr;
  gap: 1px;
  background: rgba(16, 20, 24, 0.08);
  border-top: 1px solid rgba(16, 20, 24, 0.08);
}

.detail-block {
  min-height: 250px;
  padding: 26px;
  background: #fff;
}

.detail-block h4 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-block ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.detail-block li {
  color: var(--muted);
  line-height: 1.58;
}

.detail-block .visual-parts {
  gap: 12px;
  padding-left: 0;
  list-style: none;
}

.part-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  background: var(--soft-2);
  border: 1px solid rgba(1, 69, 126, 0.1);
  border-radius: var(--radius);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.part-thumb {
  width: 88px;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: contain;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: transform 280ms ease, filter 280ms ease;
}

.part-card:hover {
  border-color: rgba(1, 69, 126, 0.22);
  box-shadow: 0 14px 30px rgba(1, 69, 126, 0.08);
  transform: translateY(-2px);
}

.part-card:hover .part-thumb {
  filter: saturate(1.08);
  transform: scale(1.08) rotate(2deg);
}

.part-copy {
  min-width: 0;
  color: var(--muted);
  line-height: 1.48;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.model-card {
  display: grid;
  grid-template-columns: minmax(160px, 0.85fr) minmax(0, 1.15fr);
  min-height: 360px;
  overflow: hidden;
}

.model-card:nth-child(5) {
  grid-column: 1 / -1;
}

.model-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  background: var(--soft);
  transform: scale(1.01);
  transition:
    transform 560ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 560ms ease;
}

.model-card:hover img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.065) rotate(0.5deg);
}

.model-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 26px;
}

.model-content dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0;
}

.model-content dl div {
  padding: 14px;
  background: var(--soft);
  border-radius: var(--radius);
}

.model-content dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.model-content dd {
  margin: 8px 0 0;
  font-size: 0.98rem;
  font-weight: 900;
}

.usage-band {
  background: #fff;
}

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

.usage-item {
  padding: 26px;
}

.usage-item span {
  background: var(--brand);
}

.filter-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.filter-list {
  display: grid;
  gap: 10px;
}

.filter-list div {
  display: grid;
  gap: 6px;
  padding: 20px;
  background: #fff;
  border: 1px solid rgba(16, 20, 24, 0.08);
  border-radius: var(--radius);
}

.filter-list strong {
  font-size: 1.08rem;
}

.filter-list span {
  color: var(--muted);
}

.cta-band {
  display: grid;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto 92px;
  justify-items: start;
  gap: 20px;
  padding: 46px;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(16, 20, 24, 0.94), rgba(16, 20, 24, 0.82)),
    var(--charcoal);
  border-radius: var(--radius);
}

.cta-band h2 {
  max-width: 900px;
}

.cta-band p {
  max-width: 70ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.contact-hero {
  grid-template-columns: 1fr 420px;
}

.contact-card {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.contact-card address {
  color: var(--muted);
  font-style: normal;
  line-height: 1.7;
}

.contact-card a {
  color: var(--brand-dark);
  font-weight: 900;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 18px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.form-heading {
  margin-bottom: 8px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--charcoal);
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 14px;
  color: var(--ink);
  background: var(--soft-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(1, 69, 126, 0.14);
}

.file-upload input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.file-upload-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  width: max-content;
  padding: 0 18px;
  color: #fff;
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 900;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.file-upload:focus-within .file-upload-button,
.file-upload-button:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.file-upload-list {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.45;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.location-panel {
  overflow: hidden;
}

.test-side-panel {
  display: grid;
  background: #fff;
  border: 1px solid rgba(1, 69, 126, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(1, 69, 126, 0.11);
}

.test-side-panel > img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  background: var(--soft);
}

.map-frame {
  position: relative;
  height: 430px;
  background: var(--soft);
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.9) contrast(1.04);
}

.map-pin-label {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  color: #fff;
  background: var(--brand);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(1, 69, 126, 0.24);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.map-pin-label::before {
  width: 10px;
  height: 10px;
  margin-right: 8px;
  background: var(--accent);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 5px rgba(220, 165, 95, 0.18);
}

.map-pin-label:hover {
  box-shadow: 0 20px 44px rgba(1, 69, 126, 0.32);
  transform: translateY(-2px);
}

.location-details {
  display: grid;
  justify-items: start;
  gap: 12px;
  padding: 28px;
}

.location-details .button.ghost {
  color: var(--ink);
  border-color: var(--line);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px max(24px, calc((100vw - var(--max)) / 2));
  color: #fff;
  background: var(--charcoal);
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.62);
}

.site-footer div:last-child {
  display: grid;
  gap: 6px;
  text-align: right;
}

.site-footer a {
  color: #f4d09d;
  font-weight: 800;
}

.reveal {
  opacity: 1;
  transform: none;
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

body.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(22px);
}

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

@keyframes floatProduct {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-1deg);
  }
  50% {
    transform: translate3d(0, -18px, 0) rotate(1deg);
  }
}

@keyframes heroProductCubeSpin {
  0% {
    transform: perspective(1200px) translate3d(0, 0, 0) rotateX(-4deg) rotateY(-8deg);
  }
  25% {
    transform: perspective(1200px) translate3d(0, -8px, 0) rotateX(-5deg) rotateY(7deg);
  }
  50% {
    transform: perspective(1200px) translate3d(0, -12px, 0) rotateX(-4deg) rotateY(-6deg);
  }
  75% {
    transform: perspective(1200px) translate3d(0, -8px, 0) rotateX(-5deg) rotateY(8deg);
  }
  100% {
    transform: perspective(1200px) translate3d(0, 0, 0) rotateX(-4deg) rotateY(-8deg);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: minmax(100px, 1fr) auto minmax(48px, 1fr);
    width: min(calc(100% - 24px), var(--max));
  }

  .menu-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    right: 12px;
    left: 12px;
    display: none;
    padding: 10px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(16, 20, 24, 0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav-open .site-nav {
    display: grid;
  }

  .site-nav a {
    padding: 14px;
  }

  .site-nav .nav-submenu {
    position: static;
    display: grid;
    min-width: 0;
    margin-top: 6px;
    padding: 6px 0 0 12px;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-nav .nav-submenu a {
    box-shadow: none;
  }

  .language-switcher {
    justify-self: start;
    margin-top: 4px;
  }

  .hero {
    min-height: 92svh;
    padding-top: 130px;
    padding-bottom: 300px;
  }

  .hero-home {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual"
      "metrics";
    min-height: auto;
    padding-bottom: 72px;
    row-gap: 28px;
  }

  .hero-media {
    right: -60px;
    bottom: 94px;
    width: min(92vw, 620px);
  }

  .hero-home .hero-media {
    right: auto;
    bottom: auto;
    width: min(100%, 720px);
    justify-self: center;
  }

  .hero-home .hero-media img {
    min-height: 320px;
    max-height: 460px;
  }

  .hero-panel {
    right: 16px;
    bottom: 28px;
    left: 16px;
    width: auto;
  }

  .hero-home .hero-panel {
    right: auto;
    bottom: auto;
    left: auto;
    width: min(100%, 720px);
    justify-self: center;
  }

  .intro-band,
  .difference-band,
  .page-hero,
  .contact-hero,
  .filter-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .capability-grid,
  .product-strip,
  .usage-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .certification-card {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 18px;
    min-height: 138px;
  }

  .certification-mark {
    width: 86px;
    height: 86px;
  }

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

  .detail-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 120px;
  }

  .detail-hero-image img {
    height: 420px;
  }

  .mask-family-main,
  .family-details,
  .family-story,
  .story-grid {
    grid-template-columns: 1fr;
  }

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

  .mask-family-main > img {
    min-height: auto;
    height: 340px;
  }

  .mask-jump-nav {
    top: 76px;
  }

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

  .model-card:nth-child(5) {
    grid-column: auto;
  }

  .contact-hero {
    min-height: auto;
  }
}

@media (min-width: 821px) and (max-width: 980px) {
  .hero-home {
    grid-template-columns: minmax(0, 0.9fr) minmax(330px, 1fr);
    grid-template-areas:
      "copy visual"
      "copy metrics";
    min-height: 82svh;
    padding-bottom: 58px;
    column-gap: 30px;
  }

  .hero-home .hero-media {
    width: 100%;
    justify-self: stretch;
  }

  .hero-home .hero-media img {
    min-height: 340px;
    max-height: 500px;
  }

  .hero-home .hero-panel {
    width: 100%;
    justify-self: stretch;
  }

  .hero-home .metric-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 680px) {
  h1 {
    font-size: clamp(2.7rem, 18vw, 4.4rem);
  }

  h2 {
    font-size: clamp(1.9rem, 10vw, 3rem);
  }

  .site-header {
    grid-template-columns: minmax(92px, 1fr) auto minmax(42px, 1fr);
    top: 10px;
    padding: 8px;
  }

  .brand-logo {
    width: 90px;
  }

  .brand-subline {
    font-size: 0.66rem;
    letter-spacing: 0.14em;
  }

  .cleanspace-logo {
    width: clamp(120px, 38vw, 170px);
    max-height: 32px;
  }

  .hero {
    min-height: 94svh;
    padding: 116px 16px 292px;
  }

  .hero-home {
    min-height: auto;
    padding: 116px 16px 58px;
    row-gap: 22px;
  }

  .hero-media {
    right: -112px;
    bottom: 94px;
    width: 118vw;
  }

  .hero-home .hero-media {
    right: auto;
    bottom: auto;
    width: calc(100% - 24px);
    justify-self: center;
  }

  .hero-home .hero-media::before {
    right: -14px;
    width: 16px;
  }

  .hero-home .hero-media::after {
    bottom: -14px;
    height: 16px;
  }

  .hero-home .hero-media img {
    min-height: 260px;
    max-height: 340px;
  }

  .hero-panel {
    padding: 16px;
  }

  .hero-home .hero-panel {
    width: 100%;
  }

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

  .section {
    width: min(calc(100% - 28px), var(--max));
    padding: 68px 0;
  }

  .custom-content-section {
    width: 100%;
    padding-block: 62px 86px;
    padding-inline: 18px;
  }

  .custom-text-card {
    min-height: 124px;
    padding-bottom: 24px;
  }

  .custom-content-grid {
    grid-template-columns: 1fr;
  }

  .custom-content-grid > .custom-text-card:first-child,
  .custom-content-grid > .custom-image-item {
    grid-column: auto;
    grid-row: auto;
    justify-self: start;
    max-width: 100%;
  }

  .custom-image-section {
    width: 100%;
    padding-block: 42px 72px;
    padding-inline: 18px;
  }

  .custom-image-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .capability-grid,
  .product-strip,
  .usage-grid {
    grid-template-columns: 1fr;
  }

  .product-card,
  .model-card {
    min-height: auto;
  }

  .model-card {
    grid-template-columns: 1fr;
  }

  .model-card img {
    min-height: auto;
    height: 260px;
  }

  .model-content dl {
    grid-template-columns: 1fr;
  }

  .page-hero,
  .contact-hero {
    width: min(calc(100% - 28px), var(--max));
    padding-top: 118px;
  }

  .mask-picker-hero {
    padding-bottom: 28px;
  }

  .page-hero-copy h1,
  .contact-copy h1 {
    font-size: clamp(2.7rem, 16vw, 4.2rem);
  }

  .page-hero-image img,
  .difference-visual img {
    height: 340px;
  }

  .model-section,
  .mask-category-section,
  .mask-overview-section,
  .usage-band,
  .filter-section,
  .detail-gallery-section,
  .detail-spec-section,
  .detail-story-section,
  .video-page-section,
  .contact-section {
    padding-inline: 14px;
  }

  .product-overview-grid {
    grid-template-columns: 1fr;
  }

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

  .certification-card {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 16px;
    min-height: auto;
    padding: 18px;
  }

  .certification-mark {
    width: 74px;
    height: 74px;
  }

  .certification-mark strong {
    font-size: 1rem;
  }

  .certification-mark small {
    font-size: 0.62rem;
  }

  .product-overview-grid .product-card,
  .product-overview-grid .product-card img {
    min-height: auto;
  }

  .product-overview-grid .product-card img {
    height: 240px;
  }

  .mask-jump-nav {
    position: static;
    margin-top: 18px;
  }

  .mask-jump-nav a {
    flex: 1 1 calc(50% - 8px);
  }

  .mask-choice-grid {
    grid-template-columns: 1fr;
  }

  .mask-choice-card {
    min-height: auto;
  }

  .mask-choice-card img {
    height: 270px;
  }

  .detail-hero {
    width: min(calc(100% - 28px), var(--max));
    padding-top: 118px;
    padding-bottom: 44px;
  }

  .detail-hero-copy h1 {
    font-size: clamp(2.6rem, 15vw, 4.2rem);
  }

  .detail-hero-image img {
    height: 320px;
  }

  .mask-family {
    scroll-margin-top: 24px;
  }

  .mask-family-main > div,
  .family-story,
  .detail-block,
  .story-copy {
    padding: 22px;
  }

  .video-card {
    min-height: auto;
    padding: 20px 20px 20px 68px;
  }

  .section-note {
    max-width: none;
    text-align: left;
  }

  .video-empty {
    padding: 24px;
  }

  .stored-video-grid {
    grid-template-columns: 1fr;
  }

  .part-card {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .part-thumb {
    width: 74px;
  }

  .mask-family-main > img {
    height: 260px;
  }

  .asset-gallery {
    grid-template-columns: 1fr;
  }

  .asset-gallery figure,
  .asset-gallery img {
    height: auto;
  }

  .asset-gallery figure {
    grid-template-rows: auto auto;
  }

  .asset-gallery img {
    aspect-ratio: 16 / 10;
  }

  .cta-band {
    width: min(calc(100% - 28px), var(--max));
    padding: 28px;
  }

  .contact-card,
  .contact-form,
  .location-details {
    padding: 22px;
  }

  .map-frame {
    height: 330px;
  }

  .site-footer {
    display: grid;
    padding: 28px 16px;
  }

  .site-footer div:last-child {
    text-align: left;
  }
}

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

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