@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");
:root {
  --paper: #fafaf7;
  --ink: #172126;
  --muted: #637078;
  --line: #dfe3df;
  --red: #c8102e;
  --dark: #11191d;
  --soft: #eef1ed;
  --width: 1180px;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.65 "DM Sans",
    Arial,
    sans-serif;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: Manrope, Arial, sans-serif;
  line-height: 1.15;
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(38px, 4.6vw, 66px);
  font-weight: 500;
}
h2 {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
}
h3 {
  font-size: 22px;
  font-weight: 600;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
img,
video {
  display: block;
  max-width: 100%;
}
button,
a {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #df6b7c;
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(calc(100% - 64px), var(--width));
  margin: auto;
}
.skip {
  position: absolute;
  left: 20px;
  top: -80px;
  z-index: 100;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
.header {
  background: rgba(250, 250, 247, 0.97);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
}
.header-inner {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img {
  width: 232px;
  height: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav a {
  font-size: 12px;
  letter-spacing: 0.075em;
  font-weight: 700;
  padding: 12px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover,
.nav a[aria-current] {
  color: var(--red);
  border-bottom-color: var(--red);
}
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  padding: 8px 12px;
  font-size: 13px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.eyebrow:before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--red);
}
.muted {
  color: var(--muted);
}
.lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 650px;
}
.action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  background: var(--red);
  color: white;
  padding: 15px 23px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--red);
  min-height: 50px;
  transition: background 0.2s;
}
.action:hover {
  background: #a50923;
}
.action.secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.text-link {
  display: inline-flex;
  gap: 24px;
  align-items: center;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 600;
}
.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.section {
  padding: 76px 0;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
}
.section-head h2 {
  margin-top: 14px;
}
.section-head p {
  font-size: 14px;
  max-width: 290px;
  color: var(--muted);
}
.hero {
  background: #000;
  color: #f6f7f4;
  padding: 65px 0 25px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 55px;
  align-items: center;
}
.hero h1 {
  margin: 25px 0;
  line-height: 1.08;
}
.hero h1 em {
  font-style: normal;
  color: #efaa98;
}
.hero .lead {
  color: #b9c1c4;
  font-size: 15px;
  max-width: 390px;
}
.hero .action.secondary {
  border-color: #576167;
  color: #fff;
}
.hero-stage {
  background: #000;
  aspect-ratio: 1.15;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-stage img,
.hero-stage video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: 470px;
}
.hero-controls {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  align-items: center;
}
.hero-controls p {
  font-size: 11px;
  color: #adb9bf;
}
.hero-selectors {
  display: flex;
  gap: 7px;
}
.hero-selectors button {
  border: 0;
  border-bottom: 2px solid #455159;
  color: #98a5ad;
  background: none;
  font-size: 11px;
  padding: 7px 10px;
}
.hero-selectors button[aria-pressed="true"] {
  color: #fff;
  border-color: #e3576e;
}
.hero-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid #344047;
  padding-top: 22px;
  margin-top: 55px;
  color: #a7b4bb;
  font-size: 11px;
  letter-spacing: 0.06em;
}
.hero-bottom strong {
  color: #fff;
  font-weight: 500;
}
.solutions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 50px;
  border-top: 1px solid var(--line);
}
.solution {
  display: grid;
  grid-template-columns: 28px 1fr 22px;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.solution:hover h3 {
  color: var(--red);
}
.solution .number {
  font-size: 11px;
  color: var(--muted);
  padding-top: 4px;
}
.solution p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 9px;
}
.solution .arrow {
  font-size: 23px;
}
.gallery-feature {
  background: var(--soft);
}
.feature-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 20px;
}
.feature {
  background: #030505;
  color: #fff;
}
.feature img {
  width: 100%;
  height: 265px;
  object-fit: contain;
}
.feature-caption {
  padding: 17px 20px;
  border-top: 1px solid #293034;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #bbc3c8;
  letter-spacing: 0.07em;
}
.company-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.company-strip h2 {
  margin: 17px 0 25px;
}
.company-strip p {
  color: var(--muted);
  margin-bottom: 25px;
}
.company-strip img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}
.cta {
  padding: 50px 0;
  border-top: 1px solid var(--line);
  background: #e8ece8;
}
.cta .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}
.cta h2 {
  font-size: 30px;
  margin-bottom: 10px;
}
.cta p {
  font-size: 14px;
  color: var(--muted);
}
.footer {
  background: var(--dark);
  color: #bac5cb;
  padding: 48px 0 22px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
}
.footer-name {
  font-family: Manrope, Arial, sans-serif;
  color: white;
  font-size: 24px;
  font-weight: 600;
}
.footer-top p {
  font-size: 12px;
  margin-top: 12px;
}
.footer-links {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  align-content: start;
  font-size: 12px;
}
.footer a:hover {
  color: white;
}
.footer-bottom {
  border-top: 1px solid #344047;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 11px;
}
.page-intro {
  padding: 62px 0 44px;
  border-bottom: 1px solid var(--line);
}
.page-intro h1 {
  margin: 20px 0;
}
.page-intro .lead {
  font-size: 16px;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 60px;
  align-items: center;
}
.intro-grid img {
  height: 280px;
  width: 100%;
  object-fit: cover;
}
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-top: 40px;
}
.value {
  border-top: 2px solid var(--red);
  padding-top: 23px;
}
.value p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 13px;
}
.about-copy {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 65px;
}
.about-copy p {
  color: var(--muted);
  margin-bottom: 18px;
}
.history {
  background: var(--soft);
}
.history-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
}
.history-title h2 {
  margin-top: 18px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid #cdd4cf;
}
.timeline-item time {
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
}
.timeline-item p {
  font-size: 14px;
  color: var(--muted);
}
.vision {
  text-align: center;
  background: var(--dark);
  color: #fff;
  padding: 70px 25px;
}
.vision .eyebrow {
  justify-content: center;
}
.vision h2 {
  max-width: 780px;
  margin: 20px auto;
}
.vision p {
  max-width: 630px;
  margin: auto;
  color: #acbbc3;
  font-size: 15px;
}
.product-layout {
  display: grid;
  grid-template-columns: 215px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  padding-top: 35px;
  padding-bottom: 65px;
}
.product-nav {
  position: sticky;
  top: 115px;
}
.product-nav-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 15px;
}
.product-nav a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  font-size: 13px;
  border-left: 2px solid var(--line);
  color: var(--muted);
}
.product-nav a[aria-current] {
  color: var(--ink);
  border-color: var(--red);
  background: #edece7;
  font-weight: 600;
}
.product-nav small {
  color: var(--muted);
  font-size: 10px;
  padding-top: 3px;
}
.product-nav a:hover {
  color: var(--red);
}
.product-panel {
  scroll-margin-top: 110px;
}
.product-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
}
.product-heading h2 {
  font-size: 32px;
}
.product-summary {
  font-size: 14px;
  color: var(--muted);
  max-width: 740px;
}
.product-summary p {
  margin-bottom: 13px;
}
.product-summary details {
  margin-top: 14px;
}
.product-summary summary {
  font-size: 12px;
  color: var(--ink);
  cursor: pointer;
  margin-bottom: 14px;
  font-weight: 600;
}
.media-count {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  padding-top: 10px;
}
.media-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 19px 16px;
}
.media-tile {
  display: block;
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
  color: var(--ink);
  width: 100%;
  position: relative;
}
.media-visual {
  background: #030505;
  aspect-ratio: 1.5;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.media-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s;
}
.media-tile:hover img {
  transform: scale(1.025);
}
.media-play {
  position: absolute;
  right: 9px;
  bottom: 9px;
  background: #c8102e;
  color: white;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-size: 10px;
}
.media-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  padding-top: 9px;
  color: var(--muted);
}
.media-title .media-index {
  color: #9ca5a7;
  font-variant-numeric: tabular-nums;
}
.more-wrap {
  text-align: center;
  margin-top: 30px;
}
.more {
  background: none;
  padding: 12px 25px;
  border: 1px solid var(--line);
  font-size: 13px;
}
.more:hover {
  border-color: var(--red);
}
.product-bottom {
  border-top: 1px solid var(--line);
  padding-top: 27px;
  margin-top: 35px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
  color: var(--muted);
}
.lightbox {
  border: 0;
  padding: 0;
  background: #0b1013;
  color: #fff;
  width: min(1180px, 94vw);
  max-width: 94vw;
  max-height: 94dvh;
  overflow: auto;
}
.lightbox::backdrop {
  background: rgba(9, 16, 20, 0.9);
}
.lightbox-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #303c43;
  padding: 12px 20px;
  font-size: 12px;
  color: #a9b7bf;
}
.lb-close {
  background: none;
  border: 1px solid #52616a;
  color: white;
  width: 38px;
  height: 38px;
  font-size: 23px;
}
.lightbox-stage {
  height: min(68dvh, 700px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  position: relative;
  padding: 15px 58px;
}
.lightbox-stage img,
.lightbox-stage video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  touch-action: pan-y;
}
.lightbox-stage img {
  user-select: none;
}
.lb-arrow {
  position: absolute;
  top: calc(50% - 24px);
  height: 48px;
  width: 42px;
  border: 1px solid #53616a;
  background: #18242bbd;
  color: white;
  font-size: 22px;
  z-index: 1;
}
.lb-prev {
  left: 8px;
}
.lb-next {
  right: 8px;
}
.lightbox-foot {
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #c6ced1;
  font-size: 12px;
}
.lightbox-foot small {
  font-size: 10px;
  color: #8c9da6;
  white-space: nowrap;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding: 65px 0;
}
.contact-layout h2 {
  font-size: 29px;
  margin-bottom: 30px;
}
.contact-row {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.contact-row .label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--muted);
  margin-bottom: 8px;
}
.contact-row p {
  font-size: 15px;
}
.contact-email {
  font-size: clamp(18px, 2.3vw, 28px);
  color: var(--red);
  overflow-wrap: anywhere;
}
.contact-map {
  background: var(--soft);
  display: flex;
  flex-direction: column;
}
.contact-map iframe {
  width: 100%;
  height: 390px;
  border: 0;
}
.map-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  font-size: 12px;
}
.contact-reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}
.contact-reasons article {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.contact-reasons h3 {
  font-size: 18px;
  margin-bottom: 12px;
}
.contact-reasons p {
  font-size: 13px;
  color: var(--muted);
}
@media (min-width: 1500px) {
  .hero-grid {
    gap: 90px;
  }
  .hero h1 {
    font-size: 72px;
  }
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .nav {
    gap: 22px;
  }
  .brand img {
    width: 200px;
  }
  .hero-grid {
    gap: 25px;
  }
  .hero-stage {
    aspect-ratio: 1;
  }
  .product-layout {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 25px;
  }
  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .intro-grid {
    gap: 35px;
  }
  .contact-layout {
    gap: 30px;
  }
  .about-copy,
  .history-grid {
    gap: 35px;
  }
}
@media (max-width: 720px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .header-inner {
    height: 70px;
  }
  .brand img {
    width: 194px;
  }
  .menu-toggle {
    display: block;
  }
  .nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 12px 20px 22px;
    box-shadow: 0 12px 20px #17212612;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    padding: 14px 0;
  }
  .hero {
    padding-top: 35px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .hero h1 {
    font-size: 50px;
  }
  .hero .lead {
    max-width: none;
  }
  .hero-stage {
    aspect-ratio: 1.4;
    max-height: 360px;
  }
  .hero-stage img,
  .hero-stage video {
    max-height: 330px;
  }
  .hero-bottom {
    margin-top: 32px;
    gap: 15px;
    font-size: 10px;
    flex-wrap: wrap;
  }
  .section {
    padding: 45px 0;
  }
  .section-head {
    align-items: start;
    flex-direction: column;
    gap: 17px;
  }
  .section-head p {
    max-width: none;
  }
  .solutions {
    grid-template-columns: 1fr;
  }
  .solution {
    padding: 22px 0;
    gap: 12px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .feature img {
    height: 230px;
  }
  .company-strip {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .company-strip img {
    height: 230px;
  }
  .cta .wrap {
    flex-direction: column;
    align-items: start;
  }
  .cta {
    padding: 34px 0;
  }
  .footer-top {
    flex-direction: column;
    gap: 24px;
  }
  .footer-links {
    gap: 20px;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .page-intro {
    padding: 38px 0 30px;
  }
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .intro-grid img {
    height: 220px;
  }
  .about-copy,
  .history-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .about-values {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .timeline-item {
    grid-template-columns: 64px 1fr;
  }
  .vision {
    padding: 45px 20px;
  }
  .product-layout {
    display: block;
    padding-top: 22px;
  }
  .product-nav {
    position: static;
    margin-bottom: 28px;
  }
  .product-nav-title {
    margin-bottom: 10px;
  }
  .product-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .product-nav a {
    padding: 10px 7px;
    font-size: 11px;
    background: var(--soft);
    border-left: 0;
    border-bottom: 2px solid transparent;
    min-height: 44px;
    align-items: center;
  }
  .product-nav a[aria-current] {
    border-bottom-color: var(--red);
  }
  .product-nav small {
    display: none;
  }
  .product-heading h2 {
    font-size: 29px;
  }
  .media-grid {
    gap: 18px 10px;
  }
  .media-title {
    font-size: 10px;
    line-height: 1.5;
  }
  .media-toolbar {
    gap: 12px;
    font-size: 10px;
  }
  .product-bottom {
    flex-direction: column;
  }
  .lightbox {
    width: 96vw;
    max-width: 96vw;
  }
  .lightbox-stage {
    height: 55dvh;
    padding: 8px 36px;
  }
  .lb-arrow {
    width: 30px;
    height: 40px;
    font-size: 18px;
  }
  .lb-prev {
    left: 3px;
  }
  .lb-next {
    right: 3px;
  }
  .lightbox-head {
    padding: 10px 12px;
  }
  .lightbox-foot {
    padding: 12px;
    flex-direction: column;
    gap: 5px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 38px 0;
  }
  .contact-map iframe {
    height: 330px;
  }
  .contact-reasons {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .map-footer {
    padding: 16px;
    flex-wrap: wrap;
  }
  .contact-email {
    font-size: 21px;
  }
  .actions {
    gap: 10px;
  }
  .action {
    padding: 13px 18px;
    gap: 22px;
  }
  .hero-selectors button {
    padding: 8px;
  }
  .hero-controls p {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}

/* Gallery presentation: stable image slots and aligned white captions. */
.footer-brand {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  flex-shrink: 0;
}
.footer-brand img {
  display: block;
  width: 180px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.footer-top {
  align-items: center;
}
.page-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #eef1ee;
  padding: 0;
  border-bottom: 1px solid #dce2dd;
}
.banner-about-us {
  --banner-photo: url("../img/contact-20260917/about_back.jpg");
}
.banner-products {
  --banner-photo: url("../img/contact-20260917/product_back.jpg");
}
.banner-contact {
  --banner-photo: url("../img/contact-20260917/contact_back (2).jpg");
}
.page-banner:before {
  content: "";
  position: absolute;
  inset: -24px;
  background-image:
    linear-gradient(90deg, rgba(238, 241, 238, 0.9), rgba(238, 241, 238, 0.65)),
    var(--banner-photo);
  background-size: cover;
  background-position: center;
  filter: blur(18px);
  opacity: 0.45;
  pointer-events: none;
}
.banner-inner {
  min-height: 460px;
  display: flex;
  align-items: center;
  padding-top: 54px;
  padding-bottom: 54px;
  position: relative;
  z-index: 1;
}
.banner-copy {
  width: 54%;
  max-width: 630px;
  padding-right: 28px;
}
.page-banner h1 {
  font-size: clamp(34px, 3.65vw, 52px);
  line-height: 1.16;
  margin: 20px 0;
  letter-spacing: -0.045em;
}
.page-banner .lead {
  font-size: 15px;
  line-height: 1.85;
  max-width: 565px;
  color: #50616a;
}
.banner-media {
  position: absolute;
  inset: 0 0 0 40%;
  z-index: 0;
  --banner-fade: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.015) 8%,
    rgba(0, 0, 0, 0.06) 16%,
    rgba(0, 0, 0, 0.15) 25%,
    rgba(0, 0, 0, 0.32) 35%,
    rgba(0, 0, 0, 0.55) 45%,
    rgba(0, 0, 0, 0.77) 55%,
    rgba(0, 0, 0, 0.93) 65%,
    #000 76%
  );
  mask-image: var(--banner-fade);
  -webkit-mask-image: var(--banner-fade);
}
.banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.banner-contact .banner-media img {
  object-position: center 52%;
}
.banner-contact .banner-media {
  left: 46%;
  --banner-fade: linear-gradient(
    to right,
    transparent,
    rgba(0, 0, 0, 0.08) 5%,
    rgba(0, 0, 0, 0.28) 10%,
    rgba(0, 0, 0, 0.55) 18%,
    rgba(0, 0, 0, 0.8) 26%,
    rgba(0, 0, 0, 0.95) 34%,
    #000 43%
  );
}
@media (max-width: 720px) {
  .banner-contact .banner-media {
    left: auto;
  }
  .page-banner:before {
    opacity: 0.25;
  }
}
@media (max-width: 720px) {
  .banner-inner {
    min-height: 0;
    padding-top: 36px;
    padding-bottom: 24px;
  }
  .banner-copy {
    width: 100%;
    max-width: none;
    padding-right: 0;
  }
  .page-banner h1 {
    font-size: 34px;
  }
  .page-banner .lead {
    font-size: 14px;
  }
  .banner-media {
    position: relative;
    inset: auto;
    width: 100%;
    height: 250px;
    mask-image: linear-gradient(to bottom, transparent, #000 18%);
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%);
  }
  .page-banner {
    display: flex;
    flex-direction: column;
  }
  .banner-inner {
    order: -1;
  }
  .banner-contact .banner-media img {
    object-position: center 52%;
  }
}
.hero h1 {
  font-size: clamp(34px, 4.2vw, 58px);
  overflow-wrap: normal;
}
.intro-grid h1 {
  font-size: clamp(34px, 4.1vw, 56px);
  line-height: 1.16;
}
.original-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}
.original-stats > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.original-stats strong {
  font-size: 20px;
  font-weight: 600;
}
.original-stats span {
  color: var(--muted);
  font-size: 12px;
}
.solution .solution-sub {
  color: var(--ink);
  font-weight: 600;
}
.solution .text-link {
  margin-top: 16px;
  font-size: 12px;
}
.about-copy h2 {
  margin-top: 17px;
}
.product-panel > .eyebrow {
  margin-bottom: 14px;
}
.product-summary p + p {
  margin-top: 14px;
}
@media (max-width: 720px) {
  .original-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .hero h1 {
    font-size: clamp(30px, 8vw, 50px);
  }
}
.media-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.media-tile {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  padding: 12px;
  background: #fff;
  border: 1px solid #e0e5e2;
  border-radius: 16px;
  box-shadow: 0 3px 14px rgba(23, 33, 38, 0.035);
  overflow: hidden;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}
.media-tile:hover {
  border-color: #c4ceca;
  box-shadow: 0 10px 28px rgba(23, 33, 38, 0.09);
  transform: translateY(-2px);
}
.media-visual {
  width: 100%;
  flex: none;
  aspect-ratio: 3/2;
  background: radial-gradient(ellipse at center, #20292e, #101619);
  border-radius: 10px;
  isolation: isolate;
}
.media-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none !important;
}
.media-title {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  width: 100%;
  height: 78px;
  padding: 15px 6px 5px;
  color: #36464e;
  font-size: 12px;
  line-height: 1.5;
}
.media-title > span:first-child {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.media-title .media-index {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #e5e9e6;
  border-radius: 50%;
  background: #f5f7f4;
  color: #74847c;
  font-size: 11px;
}
.media-play {
  right: 12px;
  bottom: 12px;
  width: 36px;
  height: 36px;
  box-shadow: 0 3px 12px #0005;
}
.more {
  background: white;
  border-radius: 30px;
  min-height: 46px;
  padding: 12px 28px;
}
.media-toolbar {
  align-items: center;
  margin-top: 24px;
  margin-bottom: 10px;
  padding: 18px 0;
}
.product-nav a {
  border-radius: 0 7px 7px 0;
}
.product-nav a[aria-current] {
  background: #e9eeea;
  color: #263b30;
}
.lightbox {
  width: min(1040px, 96vw);
  max-width: 96vw;
  border: 1px solid #36434a;
  border-radius: 16px;
  box-shadow: 0 25px 90px #0008;
}
.lightbox-stage {
  height: min(64dvh, 560px);
  padding: 20px 64px;
  background: radial-gradient(ellipse at center, #151c20, #050809);
}
.lightbox-stage img,
.lightbox-stage video {
  width: 100%;
  height: 100%;
  max-width: 780px;
  max-height: 100%;
  object-fit: contain;
  flex: 0 1 auto;
  min-width: 0;
  min-height: 0;
}
.lightbox-head {
  padding: 13px 22px;
}
.lightbox-foot {
  padding: 17px 22px;
  font-size: 13px;
}
.lb-close,
.lb-arrow {
  border-radius: 50%;
  background: #24333be6;
  border-color: #53646e;
}
.lb-arrow {
  width: 42px;
  height: 42px;
  top: calc(50% - 21px);
}
.lightbox[data-category="ipano"] .lightbox-stage {
  height: min(52dvh, 420px);
}
@media (max-width: 1000px) {
  .media-grid {
    gap: 18px;
  }
  .media-tile {
    padding: 10px;
  }
  .media-title {
    font-size: 11px;
    height: 80px;
  }
}
@media (max-width: 720px) {
  .media-grid {
    gap: 14px;
  }
  .media-tile {
    padding: 9px;
    border-radius: 12px;
  }
  .media-visual {
    border-radius: 7px;
  }
  .media-title {
    height: 78px;
    padding: 12px 3px 3px;
    gap: 8px;
  }
  .media-title .media-index {
    width: 27px;
    height: 27px;
    font-size: 10px;
  }
  .media-toolbar {
    font-size: 10px;
    line-height: 1.5;
  }
  .lightbox-stage {
    height: 64dvh;
    padding: 12px 38px;
  }
  .lightbox[data-category="ipano"] .lightbox-stage {
    height: 52dvh;
  }
  .lb-arrow {
    width: 30px;
    height: 36px;
    top: calc(50% - 18px);
  }
  .lightbox-head {
    padding: 10px 12px;
  }
  .lightbox-foot {
    padding: 12px;
    font-size: 12px;
  }
  .lightbox {
    border-radius: 12px;
  }
}
@media (max-width: 480px) {
  .media-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .media-tile {
    padding: 12px;
  }
  .media-title {
    height: 65px;
    font-size: 12px;
    padding: 12px 4px 0;
  }
  .media-title .media-index {
    width: 32px;
    height: 32px;
  }
  .media-visual {
    aspect-ratio: 3/2;
  }
}

/* Browse directly within the viewer without closing the current gallery. */
.viewer-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  border-bottom: 1px solid #2e3a41;
  font-size: 12px;
}
.viewer-controls button {
  border: 1px solid #52616a;
  background: #233139;
  color: #eef3f5;
  border-radius: 7px;
  padding: 7px 12px;
  min-height: 34px;
}
.viewer-jump {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0;
  color: #b8c7ce;
}
.viewer-jump input {
  width: 64px;
  background: #111d23;
  border: 1px solid #52616a;
  border-radius: 6px;
  color: white;
  padding: 7px;
  font: inherit;
}
.viewer-thumbnails {
  position: relative;
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 12px 20px 15px;
  border-top: 1px solid #2e3a41;
  scrollbar-color: #657680 #142027;
  overscroll-behavior: contain;
}
.viewer-thumb {
  position: relative;
  flex: 0 0 82px;
  height: 66px;
  padding: 3px;
  background: #111c22;
  border: 2px solid transparent;
  border-radius: 7px;
  overflow: hidden;
}
.viewer-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.viewer-thumb span {
  position: absolute;
  bottom: 2px;
  right: 3px;
  background: #0a131dde;
  color: #fff;
  font-size: 10px;
  padding: 1px 4px;
  border-radius: 3px;
}
.viewer-thumb[aria-pressed="true"] {
  border-color: #f091a1;
  background: #35414b;
}
.viewer-thumb:hover {
  border-color: #a9b7be;
}
.lightbox .lightbox-stage {
  height: min(52dvh, 480px);
}
.lightbox[data-category="ipano"] .lightbox-stage {
  height: min(44dvh, 380px);
}
.lightbox.is-overview .lightbox-stage,
.lightbox.is-overview .lightbox-foot {
  display: none;
}
.lightbox.is-overview .viewer-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(125px, 1fr));
  align-content: start;
  height: min(65dvh, 620px);
  overflow: auto;
  border-top: 0;
  gap: 12px;
}
.lightbox.is-overview .viewer-thumb {
  width: 100%;
  height: 110px;
}
@media (max-width: 720px) {
  .viewer-controls {
    padding: 8px 12px;
  }
  .viewer-jump {
    gap: 5px;
  }
  .viewer-thumbnails {
    padding: 10px 12px;
  }
  .viewer-thumb {
    flex-basis: 68px;
    height: 57px;
  }
  .lightbox .lightbox-stage {
    height: 43dvh;
  }
  .lightbox[data-category="ipano"] .lightbox-stage {
    height: 35dvh;
  }
  .lightbox.is-overview .viewer-thumbnails {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
  }
  .lightbox.is-overview .viewer-thumb {
    height: 88px;
  }
}

/* Mobile subpages use one continuous photographic banner, not a second image row. */
.comparison-tile {
  grid-column: auto;
}
.comparison-tile .media-title {
  display: none;
}
.comparison-captions {
  display: grid;
  width: 100%;
  gap: 16px;
  padding: 16px 8px 10px;
  color: #50616a;
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
  font-weight: 400;
}
.comparison-captions.columns-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.comparison-captions.columns-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.comparison-captions .highlight-orange {
  color: #c44e00;
  font-weight: 600;
}
.viewer-comparison {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 12px;
}
.viewer-comparison .comparison-captions {
  color: #c6ced1;
}
.viewer-comparison .highlight-orange {
  color: #ffb277;
}
.lightbox.is-overview .viewer-comparison {
  display: none;
}
@media (max-width: 720px) {
  .comparison-captions {
    gap: 8px;
    padding: 12px 0;
    font-size: 10px;
    line-height: 1.6;
  }
  .viewer-comparison .comparison-captions {
    font-size: 10px;
  }
}
@media (max-width: 720px) {
  .page-banner {
    display: block;
  }
  .page-banner:before {
    display: none;
  }
  .page-banner .banner-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .page-banner .banner-media:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      110deg,
      rgba(238, 241, 238, 0.96) 0%,
      rgba(238, 241, 238, 0.91) 32%,
      rgba(238, 241, 238, 0.76) 68%,
      rgba(238, 241, 238, 0.53) 100%
    );
  }
  .page-banner .banner-inner {
    min-height: 360px;
    padding-top: 44px;
    padding-bottom: 44px;
  }
  .banner-about-us .banner-inner {
    min-height: 420px;
  }
  .page-banner .banner-copy {
    position: relative;
  }
  .page-banner .lead {
    color: #374b55;
    line-height: 1.85;
  }
  .page-banner h1 {
    font-size: clamp(29px, 7.3vw, 36px);
  }
  .banner-about-us .banner-media img {
    object-position: 60% center;
  }
  .banner-products .banner-media img {
    object-position: 58% center;
  }
  .banner-contact .banner-media img {
    object-position: center 52%;
  }
}
/* Platform-independent controls: keep Safari from substituting blue emoji. */
.menu-toggle {
  appearance: none;
  -webkit-appearance: none;
  color: var(--ink);
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.menu-toggle:hover,
.menu-toggle[aria-expanded="true"] {
  background: rgba(20, 30, 34, 0.055);
}
.menu-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 24px;
  height: 24px;
}
.menu-icon span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.18s ease;
}
.menu-toggle[aria-expanded="true"] .menu-icon span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-icon span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}
.solution .arrow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  color: inherit;
}
.solution .arrow svg {
  display: block;
  flex: none;
}
.play-icon {
  display: inline-block;
  vertical-align: middle;
  flex: none;
}
.media-play .play-icon {
  width: 12px;
  height: 12px;
  margin-left: 2px;
}
.thumb-play {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid currentColor;
}
@media (prefers-reduced-motion: reduce) {
  .menu-icon span {
    transition: none;
  }
}

/* Selected gallery treatment: the caption is integrated into the image. */
.media-grid {
  gap: 18px 16px;
}
.media-tile {
  display: block;
  aspect-ratio: 1.48;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #000;
  box-shadow: none;
  overflow: hidden;
  transition: transform 0.2s ease;
}
.media-tile:hover {
  border-color: transparent;
  box-shadow: none;
  transform: translateY(-2px);
}
.media-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
  background: #000;
}
.media-title {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: auto;
  height: 44px;
  padding: 0 12px;
  color: #edf0ee;
  background: rgba(0, 0, 0, 0.88);
  font-size: 11px;
  line-height: 1.35;
}
.media-title > span:first-child {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.media-title .media-index {
  display: block;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #f05a71;
  font-size: 11px;
  line-height: inherit;
}
.media-play {
  z-index: 3;
  right: 12px;
  bottom: 54px;
}
.comparison-tile {
  aspect-ratio: auto;
  overflow: visible;
  background: transparent;
}
.comparison-tile .media-visual {
  position: relative;
  inset: auto;
  aspect-ratio: 3/2;
}

@media (max-width: 720px) {
  .media-grid {
    gap: 10px;
  }
  .media-tile {
    padding: 0;
    border-radius: 0;
  }
  .media-visual {
    border-radius: 0;
  }
  .media-title {
    height: 40px;
    padding: 0 10px;
    font-size: 10px;
  }
  .media-title .media-index {
    width: auto;
    height: auto;
    font-size: 10px;
  }
  .media-play {
    right: 10px;
    bottom: 50px;
  }

  /* Mobile product menu: draw a square frame on hover and retain it when selected. */
  .product-nav a {
    position: relative;
    border: 0;
    border-radius: 0;
    overflow: hidden;
  }
  .product-nav a[aria-current] {
    border: 0;
  }
  .product-link-trace {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }
  .product-link-trace i {
    position: absolute;
    display: block;
    background: var(--red);
  }
  .product-link-trace .trace-bottom,
  .product-link-trace .trace-top {
    width: 100%;
    height: 2px;
    transform: scaleX(0);
  }
  .product-link-trace .trace-left,
  .product-link-trace .trace-right {
    width: 2px;
    height: 100%;
    transform: scaleY(0);
  }
  .product-link-trace .trace-bottom {
    left: 0;
    bottom: 0;
    transform-origin: left center;
  }
  .product-link-trace .trace-right {
    right: 0;
    bottom: 0;
    transform-origin: center bottom;
  }
  .product-link-trace .trace-top {
    right: 0;
    top: 0;
    transform-origin: right center;
  }
  .product-link-trace .trace-left {
    left: 0;
    top: 0;
    transform-origin: center top;
  }
  .product-nav a:hover:not([aria-current]) .trace-bottom,
  .product-nav a:focus-visible:not([aria-current]) .trace-bottom {
    animation: product-trace-x 0.08s linear forwards;
  }
  .product-nav a:hover:not([aria-current]) .trace-right,
  .product-nav a:focus-visible:not([aria-current]) .trace-right {
    animation: product-trace-y 0.08s 0.08s linear forwards;
  }
  .product-nav a:hover:not([aria-current]) .trace-top,
  .product-nav a:focus-visible:not([aria-current]) .trace-top {
    animation: product-trace-x 0.08s 0.16s linear forwards;
  }
  .product-nav a:hover:not([aria-current]) .trace-left,
  .product-nav a:focus-visible:not([aria-current]) .trace-left {
    animation: product-trace-y 0.08s 0.24s linear forwards;
  }
  .product-nav a[aria-current] .trace-bottom,
  .product-nav a[aria-current] .trace-top {
    transform: scaleX(1);
    animation: none;
  }
  .product-nav a[aria-current] .trace-left,
  .product-nav a[aria-current] .trace-right {
    transform: scaleY(1);
    animation: none;
  }
}

@keyframes product-trace-x {
  to {
    transform: scaleX(1);
  }
}
@keyframes product-trace-y {
  to {
    transform: scaleY(1);
  }
}

@media (max-width: 480px) {
  .media-tile {
    padding: 0;
  }
  .media-visual {
    aspect-ratio: auto;
  }
  .comparison-tile .media-visual {
    aspect-ratio: 3/2;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 720px) {
  .product-nav a:hover .trace-bottom,
  .product-nav a:hover .trace-top,
  .product-nav a:focus-visible .trace-bottom,
  .product-nav a:focus-visible .trace-top {
    animation: none;
    transform: scaleX(1);
  }
  .product-nav a:hover .trace-left,
  .product-nav a:hover .trace-right,
  .product-nav a:focus-visible .trace-left,
  .product-nav a:focus-visible .trace-right {
    animation: none;
    transform: scaleY(1);
  }
}

/* Use one true-black image canvas across every Products gallery and viewer. */
.product-panel .media-tile,
.product-panel .media-visual,
.product-panel .comparison-tile .media-visual,
.lightbox-stage,
.lightbox[data-category="ipano"] .lightbox-stage,
.viewer-thumb {
  background: #000;
}
.viewer-thumb[aria-pressed="true"],
.viewer-thumb:hover {
  background: #000;
}

/* Contact inquiry dialog. */
.contact-dialog {
  width: min(900px, calc(100% - 40px));
  max-width: 900px;
  max-height: min(820px, calc(100dvh - 40px));
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  overflow: auto;
  box-shadow: 0 28px 100px rgba(5, 12, 15, 0.35);
}
.contact-dialog::backdrop {
  background: rgba(9, 16, 20, 0.78);
  backdrop-filter: blur(3px);
}
.contact-dialog-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  min-height: 650px;
}
.contact-dialog-intro {
  padding: 44px 34px;
  background: var(--dark);
  color: white;
}
.contact-dialog-kicker,
.contact-form-head > span {
  color: #ef6d82;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
}
.contact-dialog-intro h2 {
  margin: 64px 0 20px;
  color: white;
  font-size: 34px;
}
.contact-dialog-intro p {
  color: #b0bdc3;
  font-size: 13px;
  line-height: 1.8;
}
.contact-dialog-intro dl {
  margin: 72px 0 0;
}
.contact-dialog-intro dt {
  margin-top: 22px;
  color: #70818a;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.contact-dialog-intro dd {
  margin: 5px 0 0;
  color: #b0bdc3;
  font-size: 11px;
}
.contact-dialog-form-wrap {
  position: relative;
  min-width: 0;
}
.contact-dialog-close {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 20px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 23px;
}
.contact-dialog-close:hover {
  border-color: var(--red);
  color: var(--red);
}
.contact-form {
  padding: 74px 38px 32px;
}
.contact-form-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
  padding: 0 58px 22px 0;
  border-bottom: 1px solid var(--line);
}
.contact-form-head small {
  color: var(--muted);
  font-size: 10px;
}
.contact-topic-fieldset {
  min-width: 0;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}
.contact-topic-fieldset legend,
.contact-form label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.025em;
}
.contact-topic-fieldset legend {
  margin-bottom: 9px;
}
.contact-topics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}
.contact-topics label {
  position: relative;
}
.contact-topics input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.contact-topics span {
  display: grid;
  place-items: center;
  min-height: 48px;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: border-color 0.15s, color 0.15s, box-shadow 0.15s;
  cursor: pointer;
}
.contact-topics input:checked + span {
  border-color: var(--red);
  color: var(--ink);
  box-shadow: inset 0 -2px var(--red);
}
.contact-topics input:focus-visible + span {
  outline: 3px solid #df6b7c;
  outline-offset: 3px;
}
.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
  margin-bottom: 20px;
}
.contact-form label:not(.contact-consent):not(.contact-honeypot) {
  display: grid;
  gap: 5px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 9px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}
.contact-form textarea {
  min-height: 96px;
  resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--red);
  outline: 0;
}
.contact-form-wide {
  margin-bottom: 20px;
}
.contact-honeypot {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 8px;
}
.contact-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 9px;
  max-width: 320px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}
.contact-consent input {
  width: auto;
  margin-top: 3px;
}
.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-width: 164px;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--red);
  background: var(--red);
  color: white;
  font-size: 12px;
  font-weight: 600;
}
.contact-submit:disabled {
  cursor: wait;
  opacity: 0.62;
}
.contact-form-status {
  min-height: 24px;
  margin-top: 15px;
  color: var(--muted);
  font-size: 11px;
}
.contact-form-status.is-error {
  color: #a50923;
}
.contact-success {
  display: grid;
  align-content: center;
  min-height: 650px;
  padding: 48px;
}
.contact-success[hidden] {
  display: none;
}
.contact-success-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 28px;
  border: 1px solid var(--red);
  color: var(--red);
  font-size: 24px;
}
.contact-success h2 {
  margin: 12px 0;
}
.contact-success p {
  max-width: 430px;
  margin-bottom: 30px;
  color: var(--muted);
}
.contact-success .action {
  justify-self: start;
}
@media (max-width: 720px) {
  .contact-dialog {
    width: 100%;
    max-width: none;
    max-height: 100dvh;
    height: 100dvh;
    margin: 0;
  }
  .contact-dialog-layout {
    display: block;
    min-height: 100%;
  }
  .contact-dialog-intro {
    padding: 26px 24px 24px;
  }
  .contact-dialog-intro h2 {
    margin: 24px 54px 10px 0;
    font-size: 29px;
  }
  .contact-dialog-intro dl {
    display: none;
  }
  .contact-dialog-close {
    position: fixed;
    top: 15px;
    right: 15px;
    border-color: #45535a;
    background: var(--dark);
    color: white;
  }
  .contact-form {
    padding: 26px 24px 32px;
  }
  .contact-form-head {
    padding-right: 0;
  }
  .contact-topics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-form-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .contact-consent {
    max-width: none;
  }
  .contact-submit {
    width: 100%;
  }
  .contact-success {
    min-height: 480px;
    padding: 34px 24px;
  }
}

/* Mobile inquiry: bounded dialog, internal scrolling and no iOS input zoom. */
.contact-dialog,
.contact-dialog * {
  box-sizing: border-box;
}
.contact-dialog input,
.contact-dialog select,
.contact-dialog textarea {
  min-width: 0;
  max-width: 100%;
  font-size: 16px;
}
@media (max-width: 720px) {
  .contact-dialog {
    position: fixed;
    inset: 0;
    margin: auto;
    width: calc(100vw - 16px);
    max-width: calc(100vw - 16px);
    height: auto;
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .contact-dialog-layout { min-height: 0; min-width: 0; }
  .contact-dialog-intro { padding: 24px 20px; }
  .contact-dialog-intro h2 { margin-top: 16px; }
  .contact-dialog-form-wrap { position: static; }
  .contact-dialog-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
  }
  .contact-form { padding: 24px 20px; }
  .contact-form-head { flex-wrap: wrap; gap: 8px; }
  .contact-form-grid > *, .contact-topics > * { min-width: 0; }
  .contact-dialog p, .contact-form-status { overflow-wrap: anywhere; }
  .contact-success { min-height: 0; padding: 64px 20px 32px; }
}
