@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@500;600;700&family=Nunito+Sans:opsz,wght@6..12,400;6..12,500;6..12,600;6..12,700;6..12,800&family=Outfit:wght@500;600;700&display=swap");

:root {
  --ml-ink: #101820;
  --ml-ink-2: #1c2a36;
  --ml-muted: #627384;
  --ml-line: #d9e1e8;
  --ml-soft: #f6f8fa;
  --ml-blue: #0a66c2;
  --ml-blue-2: #084f98;
  --ml-tiffany: #66e7e8;
  --ml-cyan: #00a3c7;
  --ml-gold: #f0b429;
  --ml-coral: #ffab98;
  --ml-green: #31a66a;
  --ml-white: #ffffff;
  --ml-content-width: 73.75rem;
  --ml-page-gutter: clamp(1rem, 4vw, 2.5rem);
  --ml-shadow: 0 18px 45px rgba(16, 24, 32, .12);
  color-scheme: light;
  font-family: "Nunito Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.ml-modern {
  margin: 0;
  color: var(--ml-ink);
  background: var(--ml-white);
  font-family: "Nunito Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.ml-modern a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(16, 24, 32, .08);
  background: #f8f9fa;
  backdrop-filter: none;
  transition: box-shadow .22s ease, background-color .22s ease;
}

.site-header.is-scrolled {
  background: #f8f9fa;
  box-shadow: 0 12px 28px rgba(16, 24, 32, .08);
}

.nav-shell {
  width: min(var(--ml-content-width), calc(100% - var(--ml-page-gutter)));
  min-height: clamp(4rem, 8vw, 4.75rem);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(.75rem, 2vw, 1.25rem);
}

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
}

.brand-logo {
  width: clamp(4.4rem, 9.6vw, 8.9rem);
  height: auto;
  padding: 2px 0;
  mix-blend-mode: multiply;
  transform: translateY(-.1875rem);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
  color: rgba(0, 0, 0, .5);
  font-family: "Times New Roman", Times, serif;
  font-size: 1rem;
  font-weight: 400;
}

.nav-links a {
  padding: .5rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: blue;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  min-height: 2.75rem;
  place-items: center;
  padding: 0;
  border: 1px solid var(--ml-line);
  border-radius: .375rem;
  color: var(--ml-ink);
  background: var(--ml-white);
  font: inherit;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: var(--ml-blue);
  color: var(--ml-blue);
}

.quote-link,
.button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: .375rem;
  border: 1px solid transparent;
  font-weight: 800;
}

.quote-link {
  padding: 0 clamp(.875rem, 2vw, 1.25rem);
  color: var(--ml-ink);
  background: var(--ml-tiffany);
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(102, 231, 232, .22);
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, filter .18s ease;
}

.quote-link:hover {
  color: #fff;
  background: var(--ml-tiffany);
  filter: brightness(.92);
  transform: translateY(-1px);
}

.button {
  padding: 0 clamp(.875rem, 2vw, 1.25rem);
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.button.primary {
  color: var(--ml-ink);
  background: var(--ml-tiffany);
  box-shadow: 0 12px 28px rgba(102, 231, 232, .22);
}

.button.primary:hover {
  background: var(--ml-tiffany);
  filter: brightness(.92);
  transform: translateY(-1px);
}

.button.secondary {
  color: var(--ml-ink);
  background: #fff;
  border-color: var(--ml-line);
}

.button.secondary:hover {
  border-color: var(--ml-blue);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: #0b1118;
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  z-index: -2;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.04);
  transform: translate3d(0, var(--hero-video-shift, 0px), 0) scale(1.06);
  will-change: transform;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 14, 24, .94) 0%, rgba(6, 14, 24, .8) 42%, rgba(6, 14, 24, .28) 100%),
    linear-gradient(180deg, rgba(0, 163, 199, .12), transparent 35%, rgba(5, 12, 21, .42));
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: .58;
  background: linear-gradient(112deg, transparent 28%, rgba(0, 163, 199, .16) 48%, transparent 66%);
  transform: translateX(-80%);
  animation: hero-sweep 12s ease-in-out infinite;
}

@keyframes hero-sweep {
  0%, 45% { transform: translateX(-80%); }
  70%, 100% { transform: translateX(80%); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--ml-content-width), calc(100% - var(--ml-page-gutter)));
  min-height: clamp(35rem, 80svh, 40rem);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18.75rem, .95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 3rem);
  padding: clamp(3.5rem, 8vw, 4.75rem) 0 clamp(3.5rem, 7vw, 4.375rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  margin: 0 0 1.125rem;
  color: #bad7f2;
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 2.125rem;
  height: .125rem;
  background: var(--ml-gold);
}

.ml-modern h1,
.ml-modern h2,
.ml-modern h3,
.ml-modern p {
  letter-spacing: 0;
}

.ml-modern h1,
.ml-modern h2,
.ml-modern h3 {
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
}

.hero h1 {
  max-width: 45rem;
  margin: 0;
  font-size: 4.5rem;
  line-height: .97;
  text-wrap: balance;
}

.headline-accent {
  display: inline-block;
  font-family: "Caveat", cursive;
  font-size: 1.22em;
  font-weight: 700;
  line-height: .78;
  white-space: nowrap;
  text-shadow: 0 6px 24px rgba(0, 0, 0, .2);
  transform: rotate(-1.5deg);
}

.headline-teal {
  color: var(--ml-tiffany);
}

.headline-coral {
  color: var(--ml-coral);
}

.hero-copy {
  max-width: 40rem;
  margin: 1.5rem 0 0;
  color: #d7e0e8;
  font-size: 1.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2.125rem;
}

.hero-card {
  align-self: end;
  margin-bottom: 1.125rem;
  min-height: 11.5rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: .5rem;
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .28);
  transition: transform .24s ease, border-color .24s ease;
}

.hero-card:hover {
  border-color: rgba(240, 180, 41, .52);
  transform: translateY(-4px);
}

.hero-card h2 {
  margin: 0 0 .75rem;
  font-size: 1rem;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
}

.metric {
  min-height: 5.5rem;
  padding: .875rem;
  border-radius: .375rem;
  background: rgba(255, 255, 255, .1);
  transition: transform .22s ease, background-color .22s ease;
}

.metric:hover {
  background: rgba(255, 255, 255, .14);
  transform: translateY(-3px);
}

.metric strong {
  display: block;
  color: var(--ml-coral);
  font-size: 1.625rem;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: .375rem;
  color: #dfe8ef;
  font-size: .75rem;
}

.section {
  width: min(var(--ml-content-width), calc(100% - var(--ml-page-gutter)));
  margin: 0 auto;
  padding: 5.75rem 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.875rem;
  margin-bottom: 2.125rem;
}

#products .section-head {
  align-items: center;
  margin-bottom: 5.75rem;
}

#brands .section-head {
  align-items: center;
  margin-bottom: 5.75rem;
}

#process .section-head {
  align-items: center;
  margin-bottom: 5.75rem;
}

.section h2,
.contact-wrap h1 {
  max-width: 43.75rem;
  margin: 0;
  font-size: 3rem;
  line-height: 1.05;
}

.section-intro {
  max-width: 29.375rem;
  margin: 0;
  color: var(--ml-muted);
  font-size: 1.0625rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.125rem;
}

.product-card {
  min-height: 26.25rem;
  border: 1px solid var(--ml-line);
  border-radius: .5rem;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(16, 24, 32, .04);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.product-card:hover {
  border-color: var(--ml-blue);
  box-shadow: 0 0 0 2px rgba(10, 102, 194, .28), 0 18px 38px rgba(16, 24, 32, .12);
  transform: translateY(-6px);
}

.product-card figure img {
  transition: transform .28s ease;
}

.product-card:hover figure img {
  transform: scale(1.035);
}

.proof-band {
  border-top: 1px solid var(--ml-line);
  border-bottom: 1px solid var(--ml-line);
  background: #0f1720;
}

.proof-grid {
  width: min(var(--ml-content-width), calc(100% - var(--ml-page-gutter)));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .16);
}

.proof-item {
  min-height: 10.5rem;
  display: grid;
  align-content: center;
  gap: .625rem;
  padding: 1.75rem;
  color: #d9e4ef;
  background: #0f1720;
}

.proof-item strong {
  display: flex;
  align-items: baseline;
  gap: 2px;
  color: var(--ml-coral);
  font-size: 3.375rem;
  line-height: 1;
}

.proof-item span:last-child {
  color: #c9d5df;
  font-weight: 700;
}

.count-suffix {
  font-size: .58em;
}

.product-card figure {
  aspect-ratio: 16 / 9;
  margin: 0;
  display: grid;
  place-items: center;
  background: #101820;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.375rem;
}

.product-card div {
  padding: 1.5rem;
}

.product-card h3 {
  margin: 0 0 .625rem;
  font-size: 1.375rem;
}

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

.brand-band {
  background: var(--ml-soft);
  border-top: 1px solid var(--ml-line);
  border-bottom: 1px solid var(--ml-line);
}

.brand-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--ml-line);
  border-radius: .5rem;
  background: var(--ml-line);
}

.brand-cell {
  min-height: 8.875rem;
  display: grid;
  place-items: center;
  padding: 1.125rem;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}

.brand-cell:hover {
  z-index: 1;
  box-shadow: 0 14px 30px rgba(16, 24, 32, .12);
  transform: translateY(-4px);
}

.brand-cell img {
  width: min(9.375rem, 100%);
  max-height: 6.5rem;
  object-fit: contain;
  transition: transform .22s ease;
}

.brand-cell:hover img {
  transform: scale(1.05);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--ml-line);
  border-radius: .5rem;
  background: var(--ml-line);
}

.process-step {
  min-height: 13.75rem;
  padding: 1.625rem;
  background: #fff;
  transition: transform .22s ease, background-color .22s ease;
}

.process-step:hover {
  background: #fbfdff;
  transform: translateY(-4px);
}

.step-number {
  display: inline-grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  margin-bottom: 1.625rem;
  border-radius: 50%;
  color: var(--ml-ink);
  background: var(--ml-tiffany);
  font-weight: 800;
}

.process-step h3 {
  margin: 0 0 .625rem;
  font-size: 1.25rem;
}

.process-step p {
  margin: 0;
  color: var(--ml-muted);
}

.contact-band {
  color: #fff;
  background: #0f1720;
}

.contact-wrap {
  width: min(var(--ml-content-width), calc(100% - var(--ml-page-gutter)));
  margin: 0 auto;
  padding: 5.375rem 0;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(21.25rem, .7fr);
  gap: clamp(2rem, 5vw, 3.125rem);
  align-items: start;
}

.contact-wrap h1,
.contact-wrap h2 {
  margin: 0;
  color: #fff;
  font-size: 3.5rem;
  line-height: 1.04;
}

.contact-wrap p {
  color: #c7d0da;
  font-size: 1.125rem;
}

.contact-list {
  display: grid;
  gap: .75rem;
  margin-top: 1.625rem;
  color: #d9e4ef;
}

.contact-list span {
  display: block;
  color: #8fa3b6;
  font-size: .8125rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
}

.form-card {
  padding: 1.625rem;
  border-radius: .5rem;
  background: #fff;
  box-shadow: var(--ml-shadow);
  transition: transform .24s ease, box-shadow .24s ease;
}

.form-card:hover {
  box-shadow: 0 22px 58px rgba(16, 24, 32, .18);
  transform: translateY(-3px);
}

.reveal {
  opacity: 0;
  filter: blur(5px);
  transform: translate3d(0, 32px, 0) scale(.985);
  transition: opacity .78s cubic-bezier(.22, 1, .36, 1), filter .78s ease, transform .78s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

.section-head.reveal {
  transform: translate3d(-34px, 20px, 0) scale(.985);
}

.section-head.reveal.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

.product-card.reveal.is-visible:hover {
  transform: translate3d(0, -6px, 0) scale(1);
  border-color: var(--ml-blue);
  box-shadow: 0 0 0 2px rgba(10, 102, 194, .32), 0 22px 44px rgba(16, 24, 32, .16);
}

.product-card.reveal:nth-child(1) {
  transform: translate3d(-76px, 26px, 0) scale(.97);
}

.product-card.reveal:nth-child(3) {
  transform: translate3d(76px, 26px, 0) scale(.97);
}

.product-card.reveal.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

.brand-cell.reveal {
  will-change: opacity, transform, filter;
}

.brand-cell.reveal:nth-child(-n + 5) {
  transform: translate3d(-72px, 0, 0) scale(.98);
}

.brand-cell.reveal:nth-child(n + 6) {
  transform: translate3d(72px, 0, 0) scale(.98);
}

.brand-cell.reveal.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

.brand-cell.reveal.is-visible:hover,
.process-step.reveal.is-visible:hover,
.form-card.reveal.is-visible:hover {
  transform: translate3d(0, -4px, 0) scale(1);
}

.form-grid {
  display: grid;
  gap: .875rem;
}

.form-card label {
  display: grid;
  gap: .4375rem;
  color: #334454;
  font-size: .8125rem;
  font-weight: 800;
}

.form-card input,
.form-card textarea,
.form-card select {
  width: 100%;
  min-height: 2.875rem;
  border: 1px solid #cfd8e1;
  border-radius: .375rem;
  padding: .6875rem .75rem;
  color: var(--ml-ink);
  font: inherit;
  background: #fff;
}

.form-card textarea {
  min-height: 7.25rem;
  resize: vertical;
}

.form-card button {
  width: 100%;
  min-height: 3rem;
  margin-top: .25rem;
  border: 0;
  border-radius: .375rem;
  color: #fff;
  background: var(--ml-blue);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.form-card button:disabled {
  cursor: progress;
  opacity: .72;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  color: #526273;
  font-size: .875rem;
}

.map-panel {
  min-height: 22.5rem;
  border: 0;
  width: 100%;
}

.site-footer {
  border-top: 1px solid var(--ml-line);
  background: #fff;
}

.footer-inner {
  width: min(var(--ml-content-width), calc(100% - var(--ml-page-gutter)));
  min-height: 5.375rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  color: var(--ml-muted);
  font-size: .875rem;
}

@media (max-width: 56.25rem) {
  .nav-shell {
    position: relative;
    min-height: 4.25rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% - .25rem);
    right: 0;
    z-index: 30;
    width: min(18rem, calc(100vw - var(--ml-page-gutter)));
    margin: 0;
    padding: .75rem;
    border: 1px solid var(--ml-line);
    border-radius: .5rem;
    background: var(--ml-white);
    box-shadow: 0 1rem 2rem rgba(16, 24, 32, .14);
  }

  .home-nav .nav-links {
    right: auto;
    left: 0;
  }

  .nav-links.is-open {
    display: grid;
    gap: .125rem;
  }

  .nav-links a {
    padding: .75rem;
    border-radius: .375rem;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    background: rgba(10, 102, 194, .08);
  }

  .nav-toggle {
    display: inline-grid;
    margin-left: auto;
  }

  .quote-link {
    padding: 0 1rem;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(6, 14, 24, .82), rgba(6, 14, 24, .72)),
      linear-gradient(180deg, rgba(0, 163, 199, .1), transparent 45%, rgba(5, 12, 21, .4));
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 4rem 0 3rem;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  .hero-copy {
    font-size: 1.0625rem;
  }

  .section h2 {
    font-size: 2.25rem;
  }

  .contact-wrap h1,
  .contact-wrap h2 {
    font-size: 2.5rem;
  }

  .product-card {
    min-height: 0;
  }

  .hero-card {
    margin: 0;
  }

  .metrics,
  .product-grid,
  .proof-grid,
  .process-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding: 4.125rem 0;
  }

  #products .section-head {
    margin-bottom: 4.125rem;
  }

  #brands .section-head {
    margin-bottom: 4.125rem;
  }

  #process .section-head {
    margin-bottom: 4.125rem;
  }

  .proof-item {
    min-height: 8.375rem;
  }

  .proof-item strong {
    font-size: 2.75rem;
  }

  .section-head {
    display: grid;
  }

  .footer-inner {
    padding: 1.5rem 0;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 32.5rem) {
  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 4.4rem;
  }

  .quote-link {
    min-height: 2.5rem;
    font-size: .8125rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .section h2 {
    font-size: 2rem;
  }

  .contact-wrap h1,
  .contact-wrap h2 {
    font-size: 2.25rem;
  }

  .proof-item strong {
    font-size: 2.375rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .brand-strip {
    grid-template-columns: 1fr;
  }
}

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

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

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