/* ==========================================================================
   MESH SOLUTIONS — Component Layer
   Preloader · Header · Mega menu · Buttons · Cards · Forms · Footer · UI bits
   ========================================================================== */

/* --------------------------------------------------------------------------
   PRELOADER
   A wire-mesh weave draws itself, the wordmark rises, then the curtain lifts.
   -------------------------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--brand-deep) 0%, var(--brand-100) 45%, var(--brand-abyss) 100%);
  transition: clip-path 1s var(--ease-in-out), opacity 0.5s 0.5s linear;
  clip-path: inset(0 0 0 0);
}

.preloader__tex {
  position: absolute;
  inset: 0;
  background-image: var(--tex-mesh-dark);
  opacity: 0.7;
}

.preloader__inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1.75rem;
  transition: opacity 0.45s var(--ease-out), transform 0.6s var(--ease-out);
}

.preloader__logo {
  width: auto;
  height: clamp(84px, 13vw, 124px);
  object-fit: contain;
  /* Single-ink navy artwork, knocked out to white for the dark curtain */
  filter: brightness(0) invert(1);
  animation: pre-rise 0.9s var(--ease-out) both;
}

.preloader__word {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--white);
  padding-left: 0.42em;
  overflow: hidden;
}

.preloader__word span {
  display: inline-block;
  animation: pre-rise 0.9s 0.35s var(--ease-out) both;
}

@keyframes pre-rise {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.preloader__meter {
  width: min(240px, 52vw);
  display: grid;
  gap: 0.75rem;
  justify-items: center;
}

.preloader__track {
  width: 100%;
  height: 1px;
  background: var(--w16);
  overflow: hidden;
}

.preloader__fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--white);
  transition: width 0.28s var(--ease-out);
}

.preloader__pct {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  letter-spacing: 0.3em;
  font-variant-numeric: tabular-nums;
  color: var(--w56);
}

.preloader.is-done {
  clip-path: inset(0 0 100% 0);
  pointer-events: none;
}

.preloader.is-done .preloader__inner {
  opacity: 0;
  transform: translateY(-18px);
}

@media (prefers-reduced-motion: reduce) {
  .preloader { display: none; }
}

/* --------------------------------------------------------------------------
   BRAND MARK
   -------------------------------------------------------------------------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex: none;
}

.brand__mark {
  width: auto;
  height: 62px;
  flex: none;
  object-fit: contain;
  transition: transform var(--dur) var(--ease-spring), filter var(--dur) var(--ease-out);
}

.brand:hover .brand__mark {
  transform: scale(1.05);
}

/* The logo artwork is single-ink navy. Knock it out to white wherever the
   brand sits on a dark surface, and let the artwork show through as-is once
   the header turns to light glass. */
.site-header .brand__mark,
.footer__brand .brand__mark {
  filter: brightness(0) invert(1);
}

.site-header.is-stuck .brand__mark,
.site-header--solid .brand__mark {
  filter: none;
}

.brand__text {
  display: grid;
  line-height: 1;
  gap: 0.32rem;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.brand__tag {
  font-family: var(--font-display);
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.62;
}

/* --------------------------------------------------------------------------
   HEADER — sticky, transparent over the hero, glass once scrolled
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--white);
  /* An identity transform is deliberate: it makes the header the containing
     block for the fixed-position mega menu, so the panel tracks the bar. */
  transform: translateY(0);
  transition: transform 0.45s var(--ease-out), background var(--dur) var(--ease-out),
    box-shadow var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--line-on-dark);
  opacity: 1;
  transition: background var(--dur) var(--ease-out);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  height: var(--header-h);
  transition: height var(--dur) var(--ease-out);
}

/* Scrolled / solid state */
.site-header.is-stuck,
.site-header--solid {
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  backdrop-filter: blur(22px) saturate(1.6);
  color: var(--brand);
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -32px rgba(2, 69, 98, 0.45);
}

.site-header.is-stuck::after,
.site-header--solid::after {
  background: var(--line);
}

.site-header.is-stuck .site-header__inner {
  height: 74px;
}

/* Hide on scroll-down, reveal on scroll-up */
.site-header.is-hidden {
  transform: translateY(-102%);
}

/* --------------------------------------------------------------------------
   PRIMARY NAV
   -------------------------------------------------------------------------- */
.nav {
  margin-left: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.25rem, 1.4vw, 1.35rem);
}

.nav__item {
  position: relative;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.85rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: var(--r-sm);
  transition: opacity var(--dur-fast) var(--ease-out);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.32rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.42s var(--ease-out);
}

.nav__link:hover::after,
.nav__item.is-open > .nav__link::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__link[aria-current="page"] {
  font-weight: 700;
}

.nav__caret {
  width: 9px;
  height: 9px;
  flex: none;
  opacity: 0.7;
  transition: transform var(--dur) var(--ease-out);
}

.nav__item.is-open .nav__caret {
  transform: rotate(180deg);
}

/* --------------------------------------------------------------------------
   MEGA MENU
   -------------------------------------------------------------------------- */
.mega {
  position: fixed;
  left: 50%;
  top: calc(var(--header-h) - 6px);
  width: min(1180px, calc(100vw - 2 * var(--gutter)));
  transform: translate(-50%, 14px);
  padding: clamp(1.5rem, 2.4vw, 2.25rem);
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(30px) saturate(1.7);
  backdrop-filter: blur(30px) saturate(1.7);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xl), var(--sh-inset-top);
  color: var(--brand);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out),
    visibility 0s linear var(--dur), top var(--dur) var(--ease-out);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(1.25rem, 2vw, 2rem);
}

.site-header.is-stuck .mega {
  top: 68px;
}

.nav__item.is-open > .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}

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

.mega__link {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}

.mega__link:hover {
  background: var(--brand-04);
  border-color: var(--line);
  transform: translateX(3px);
}

.mega__thumb {
  width: 54px;
  height: 54px;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: linear-gradient(145deg, var(--brand-100), var(--brand-deeper));
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  flex: none;
  transition: transform var(--dur) var(--ease-out);
}

.mega__thumb svg,
.mega__thumb img {
  width: 128%;
  height: 128%;
  max-width: none;
  object-fit: cover;
}

.mega__link:hover .mega__thumb {
  transform: scale(1.06);
}

.mega__title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.mega__title svg {
  width: 13px;
  height: 13px;
  opacity: 0;
  transform: translateX(-5px);
  transition: all var(--dur-fast) var(--ease-out);
}

.mega__link:hover .mega__title svg {
  opacity: 0.6;
  transform: translateX(0);
}

.mega__desc {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-faint);
  margin-top: 0.15rem;
}

/* Featured promo panel inside the mega menu */
.mega__feature {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  padding: 1.75rem;
  color: var(--white);
  background: linear-gradient(155deg, var(--brand-100), var(--brand-abyss));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 240px;
  isolation: isolate;
}

.mega__feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--tex-mesh-dark);
  z-index: -1;
}

.mega__feature::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -70px;
  top: -70px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--w16), transparent 68%);
  z-index: -1;
}

.mega__feature-eyebrow {
  font-family: var(--font-display);
  font-size: 0.625rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--w56);
  margin-bottom: 0.75rem;
}

.mega__feature h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
}

.mega__feature p {
  font-size: 0.8438rem;
  line-height: 1.6;
  color: var(--w72);
  margin-bottom: 1.25rem;
}

.mega__foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--text-faint);
}

/* Application names run three to four times longer than product names, so this
   one menu drops to two columns and tightens the title leading. Same tiles,
   same spacing, same hover — scoped by id so the Products grid is untouched. */
#megaApplications .mega__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#megaApplications .mega__title {
  align-items: flex-start;
  line-height: 1.3;
}

#megaApplications .mega__title svg {
  margin-top: 0.28em;
  flex: none;
}

/* The taller four-row grid leaves a deep gap above the bottom-aligned promo,
   so this panel centres its content instead. */
#megaApplications .mega__feature {
  justify-content: center;
}

/* --------------------------------------------------------------------------
   BURGER + MOBILE DRAWER
   -------------------------------------------------------------------------- */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: none;
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  border: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 24%, transparent);
  position: relative;
  flex: none;
}

.burger span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transform: translateX(-50%);
  transition: transform 0.4s var(--ease-out), opacity 0.2s linear, top 0.3s var(--ease-out);
}

.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 22.5px; }
.burger span:nth-child(3) { top: 28px; }

.burger.is-active span:nth-child(1) {
  top: 22.5px;
  transform: translateX(-50%) rotate(45deg);
}

.burger.is-active span:nth-child(2) {
  opacity: 0;
}

.burger.is-active span:nth-child(3) {
  top: 22.5px;
  transform: translateX(-50%) rotate(-45deg);
}

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(430px, 100%);
  z-index: 99;
  background: linear-gradient(165deg, var(--brand-deep), var(--brand-abyss));
  color: var(--white);
  transform: translateX(102%);
  transition: transform 0.55s var(--ease-in-out);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: calc(var(--header-h) + 1.5rem) var(--gutter) 3rem;
  display: none;
}

.drawer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--tex-mesh-dark);
  pointer-events: none;
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer__backdrop {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(1, 31, 45, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease-out), visibility 0s linear var(--dur);
  display: none;
}

.drawer__backdrop.is-open {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.drawer__list {
  position: relative;
  display: grid;
  gap: 0.25rem;
}

.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.15rem 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--line-on-dark);
  text-align: left;
  transition: padding-left var(--dur) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.drawer__link:hover {
  padding-left: 0.6rem;
}

.drawer__link svg {
  width: 14px;
  height: 14px;
  opacity: 0.5;
  transition: transform var(--dur) var(--ease-out);
  flex: none;
}

.drawer__item.is-open .drawer__link svg {
  transform: rotate(180deg);
}

.drawer__sub {
  display: grid;
  gap: 0;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s var(--ease-in-out);
}

.drawer__item.is-open .drawer__sub {
  max-height: 420px;
}

.drawer__sub a {
  display: block;
  padding: 0.85rem 0 0.85rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--w72);
  border-left: 1px solid var(--line-on-dark);
  margin-left: 0.3rem;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out),
    padding-left var(--dur-fast) var(--ease-out);
}

.drawer__sub a:first-child { padding-top: 1.1rem; }
.drawer__sub a:last-child { padding-bottom: 1.35rem; }

.drawer__sub a:hover {
  color: var(--white);
  border-color: var(--w40);
  padding-left: 1.6rem;
}

.drawer__foot {
  position: relative;
  margin-top: 2.75rem;
  display: grid;
  gap: 1.5rem;
}

.drawer__contact {
  display: grid;
  gap: 0.55rem;
  font-size: 0.9375rem;
  color: var(--w72);
}

.drawer__contact a:hover {
  color: var(--white);
}

/* --------------------------------------------------------------------------
   BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1.08rem 2.2rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out),
    background var(--dur) var(--ease-out), color var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out);
}

.btn svg {
  width: 15px;
  height: 15px;
  flex: none;
  transition: transform var(--dur) var(--ease-out);
}

.btn:hover svg {
  transform: translateX(4px);
}

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

/* Light sweep across the face on hover — the premium "sheen" micro-interaction */
.btn::before {
  content: "";
  position: absolute;
  top: -50%;
  bottom: -50%;
  width: 42%;
  left: 0;
  z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: translateX(-160%) skewX(-18deg);
  opacity: 0;
}

.btn:hover::before {
  opacity: 1;
  animation: sheen 0.85s var(--ease-out);
}

.btn--primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 14px 30px -16px rgba(2, 69, 98, 0.65);
}

.btn--primary:hover {
  background: var(--brand-deep);
  transform: translateY(-3px);
  box-shadow: 0 24px 46px -18px rgba(2, 69, 98, 0.6);
}

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

.btn--ghost:hover {
  background: var(--brand-04);
  border-color: var(--a40);
  transform: translateY(-3px);
}

.btn--light {
  background: var(--white);
  color: var(--brand);
  box-shadow: 0 14px 34px -18px rgba(1, 31, 45, 0.75);
}

.btn--light:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 52px -20px rgba(1, 31, 45, 0.8);
}

.btn--light::before {
  background: linear-gradient(90deg, transparent, var(--a08), transparent);
}

.btn--outline-light {
  color: var(--white);
  border-color: var(--w24);
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--w40);
  transform: translateY(-3px);
}

/* Header CTA — white while the bar is transparent, brand once it turns glass */
.btn--adaptive {
  background: var(--white);
  color: var(--brand);
  box-shadow: 0 12px 28px -16px rgba(1, 31, 45, 0.7);
}

.btn--adaptive:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -18px rgba(1, 31, 45, 0.75);
}

.btn--adaptive::before {
  background: linear-gradient(90deg, transparent, var(--a08), transparent);
}

.site-header.is-stuck .btn--adaptive,
.site-header--solid .btn--adaptive {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 12px 26px -16px rgba(2, 69, 98, 0.7);
}

.site-header.is-stuck .btn--adaptive::before,
.site-header--solid .btn--adaptive::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
}

.btn--sm {
  padding: 0.82rem 1.55rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

.btn--lg {
  padding: 1.28rem 2.75rem;
  font-size: 0.875rem;
}

.btn--block {
  width: 100%;
}

/* Understated text link with a travelling rule */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding-bottom: 0.4rem;
  position: relative;
  color: inherit;
}

.link-arrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0.28;
  transform-origin: left;
  transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur) var(--ease-out);
}

.link-arrow:hover::after {
  opacity: 0.9;
  transform: scaleX(1.06);
}

.link-arrow svg {
  width: 14px;
  height: 14px;
  transition: transform var(--dur) var(--ease-out);
}

.link-arrow:hover svg {
  transform: translateX(5px);
}

/* Circular icon button (slider arrows, back to top) */
.icon-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--brand);
  background: var(--white);
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out),
    box-shadow var(--dur) var(--ease-out);
}

.icon-btn svg {
  width: 17px;
  height: 17px;
}

.icon-btn:hover {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}

.icon-btn:disabled {
  opacity: 0.32;
  cursor: not-allowed;
  transform: none;
  background: transparent;
  color: var(--brand);
  border-color: var(--line);
}

.icon-btn--light {
  border-color: var(--w24);
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.icon-btn--light:hover {
  background: var(--white);
  color: var(--brand);
  border-color: var(--white);
}

/* --------------------------------------------------------------------------
   CARD SYSTEM
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 1.2rem + 1.1vw, 2.5rem);
  box-shadow: var(--sh-xs);
  isolation: isolate;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out);
}

.card--hover:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: var(--a16);
}

/* Engineering-drawing corner brackets — a quiet luxury-industrial signature */
.card--bracket::before,
.card--bracket::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1px solid var(--a24);
  opacity: 0;
  transition: opacity var(--dur) var(--ease-out), inset var(--dur) var(--ease-out);
  pointer-events: none;
}

.card--bracket::before {
  top: 14px;
  left: 14px;
  border-right: 0;
  border-bottom: 0;
  border-top-left-radius: 5px;
}

.card--bracket::after {
  bottom: 14px;
  right: 14px;
  border-left: 0;
  border-top: 0;
  border-bottom-right-radius: 5px;
}

.card--bracket:hover::before,
.card--bracket:hover::after {
  opacity: 1;
}

/* Glass card for dark surfaces */
.card--glass {
  background: rgba(255, 255, 255, 0.055);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  border-color: var(--line-on-dark);
  color: var(--white);
  box-shadow: inset 0 1px 0 var(--w12);
}

.card--glass.card--hover:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--line-on-dark-strong);
  box-shadow: inset 0 1px 0 var(--w16), 0 34px 70px -40px rgba(1, 31, 45, 0.9);
}

.card--glass .card__title { color: var(--white); }
.card--glass .card__text { color: var(--text-on-dark-muted); }

.card--flat {
  box-shadow: none;
  background: var(--brand-02);
}

.card__index {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--text-faint);
  margin-bottom: 1.1rem;
  display: block;
}

.card--glass .card__index { color: var(--text-on-dark-faint); }

.card__title {
  font-size: 1.22rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.012em;
}

.card__text {
  color: var(--text-muted);
  font-size: 0.9688rem;
  line-height: 1.72;
}

/* --------------------------------------------------------------------------
   ICON TILE — used in "Why Choose Us", feature lists, contact blocks
   -------------------------------------------------------------------------- */
.icon-tile {
  width: 62px;
  height: 62px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  flex: none;
  background: var(--brand-04);
  border: 1px solid var(--line);
  color: var(--brand);
  position: relative;
  overflow: hidden;
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-spring), border-color var(--dur) var(--ease-out);
}

.icon-tile svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--tex-mesh-fine);
  opacity: 0.9;
}

.card--hover:hover .icon-tile,
.icon-tile--hover:hover {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
  transform: translateY(-3px) rotate(-4deg);
}

.icon-tile--glass {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--line-on-dark);
  color: var(--white);
}

.icon-tile--glass::after {
  background-image: var(--tex-mesh-dark);
}

.card--glass.card--hover:hover .icon-tile--glass {
  background: var(--white);
  color: var(--brand);
  border-color: var(--white);
}

.icon-tile--sm {
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
}

.icon-tile--sm svg {
  width: 19px;
  height: 19px;
}

/* --------------------------------------------------------------------------
   STAT BLOCK + COUNTERS
   -------------------------------------------------------------------------- */
.stat {
  display: grid;
  gap: 0.5rem;
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.5rem + 2.9vw, 4.25rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  gap: 0.06em;
}

.stat__suffix {
  font-size: 0.44em;
  font-weight: 500;
  letter-spacing: 0;
  opacity: 0.6;
  transform: translateY(-0.15em);
}

.stat__label {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.on-dark .stat__label,
.section--dark .stat__label {
  color: var(--text-on-dark-faint);
}

.stat--sm .stat__value {
  font-size: clamp(1.9rem, 1.4rem + 1.5vw, 2.75rem);
}

/* --------------------------------------------------------------------------
   BADGES / PILLS / CHIPS
   -------------------------------------------------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1.05rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: var(--brand-02);
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-72);
}

.pill svg {
  width: 13px;
  height: 13px;
  flex: none;
}

.pill--glass {
  background: rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-color: var(--line-on-dark-strong);
  color: var(--white);
}

.pill--dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
  position: relative;
}

.spec {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.9rem;
  border-radius: var(--r-xs);
  border: 1px solid var(--line);
  background: var(--brand-02);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-muted);
}

.spec--glass {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-on-dark);
  color: var(--w72);
}

/* --------------------------------------------------------------------------
   MEDIA FRAME — layered image presentation
   -------------------------------------------------------------------------- */
.frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--brand-06);
  isolation: isolate;
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.frame--zoom:hover img {
  transform: scale(1.06);
}

.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--w24);
  pointer-events: none;
}

.frame--r1 { aspect-ratio: 1 / 1; }
.frame--r43 { aspect-ratio: 4 / 3; }
.frame--r34 { aspect-ratio: 3 / 4; }
.frame--r169 { aspect-ratio: 16 / 9; }
.frame--r54 { aspect-ratio: 5 / 4; }
.frame--r45 { aspect-ratio: 4 / 5; }
.frame--r32 { aspect-ratio: 3 / 2; }

/* Offset outline plate that sits behind a framed image */
.frame-plate {
  position: relative;
}

.frame-plate::before {
  content: "";
  position: absolute;
  inset: 26px -26px -26px 26px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  z-index: -1;
  background-image: var(--tex-mesh);
}

/* --------------------------------------------------------------------------
   FORMS
   -------------------------------------------------------------------------- */
.field {
  display: grid;
  gap: 0.6rem;
}

.field__label {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.field__label .req {
  opacity: 0.65;
}

.input,
.textarea,
.select {
  width: 100%;
  padding: 1.05rem 1.25rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--brand);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out),
    background var(--dur-fast) var(--ease-out);
  appearance: none;
}

.input::placeholder,
.textarea::placeholder {
  color: var(--text-faint);
}

.input:hover,
.textarea:hover,
.select:hover {
  border-color: var(--a40);
}

.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--a08);
}

.textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.65;
}

.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23024562' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 12px;
  padding-right: 3rem;
  cursor: pointer;
}

.field.is-invalid .input,
.field.is-invalid .textarea,
.field.is-invalid .select {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--a08);
}

.field__error {
  font-size: 0.8125rem;
  color: var(--brand);
  font-weight: 700;
  display: none;
  align-items: center;
  gap: 0.4rem;
}

.field.is-invalid .field__error {
  display: flex;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
  cursor: pointer;
}

.check input {
  appearance: none;
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 0.15rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xs);
  background: var(--white);
  display: grid;
  place-items: center;
  transition: all var(--dur-fast) var(--ease-out);
}

.check input::after {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 1.6px solid var(--white);
  border-bottom: 1.6px solid var(--white);
  transform: rotate(-45deg) scale(0);
  transition: transform var(--dur-fast) var(--ease-spring);
  margin-top: -2px;
}

.check input:checked {
  background: var(--brand);
  border-color: var(--brand);
}

.check input:checked::after {
  transform: rotate(-45deg) scale(1);
}

.form-note {
  font-size: 0.8125rem;
  color: var(--text-faint);
}

.form-status {
  display: none;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--r-md);
  background: var(--brand-04);
  border: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--brand);
}

.form-status.is-visible {
  display: flex;
}

.form-status svg {
  width: 18px;
  height: 18px;
  flex: none;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--brand-abyss);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--tex-mesh-dark);
  opacity: 0.6;
  z-index: -1;
}

.site-footer::after {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  left: 50%;
  bottom: -460px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.075), transparent 62%);
  z-index: -1;
  pointer-events: none;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 1rem + 3vw, 4.5rem);
  padding-block: clamp(4rem, 2.5rem + 4vw, 6.5rem);
}

.footer__brand .brand {
  margin-bottom: 1.5rem;
}

.footer__about {
  color: var(--text-on-dark-muted);
  font-size: 0.9688rem;
  line-height: 1.8;
  max-width: 40ch;
}

.footer__socials {
  display: flex;
  gap: 0.65rem;
  margin-top: 2rem;
}

.footer__social {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-on-dark);
  display: grid;
  place-items: center;
  color: var(--w72);
  transition: all var(--dur) var(--ease-out);
}

.footer__social svg {
  width: 16px;
  height: 16px;
}

.footer__social:hover {
  background: var(--white);
  color: var(--brand);
  border-color: var(--white);
  transform: translateY(-3px);
}

.footer__title {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-on-dark-faint);
  margin-bottom: 1.65rem;
}

.footer__list {
  display: grid;
  gap: 0.9rem;
}

.footer__list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9688rem;
  color: var(--text-on-dark-muted);
  transition: color var(--dur-fast) var(--ease-out), transform var(--dur) var(--ease-out);
}

.footer__list a::before {
  content: "";
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width var(--dur) var(--ease-out);
}

.footer__list a:hover {
  color: var(--white);
  transform: translateX(3px);
}

.footer__list a:hover::before {
  width: 14px;
}

.footer__contact {
  display: grid;
  gap: 1.25rem;
}

.footer__contact-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
}

.footer__contact-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-on-dark);
  display: grid;
  place-items: center;
  color: var(--w72);
  flex: none;
}

.footer__contact-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer__contact-label {
  font-family: var(--font-display);
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-on-dark-faint);
  margin-bottom: 0.3rem;
}

.footer__contact-value {
  display: grid;
  gap: 0.2rem;
  font-size: 0.9688rem;
  color: var(--text-on-dark-muted);
  line-height: 1.55;
}

.footer__contact-value a:hover {
  color: var(--white);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.85rem;
  border-top: 1px solid var(--line-on-dark);
  font-size: 0.8438rem;
  color: var(--text-on-dark-faint);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer__legal a:hover {
  color: var(--white);
}

/* --------------------------------------------------------------------------
   BACK TO TOP
   -------------------------------------------------------------------------- */
.to-top {
  position: fixed;
  right: clamp(1rem, 2.5vw, 2.25rem);
  bottom: clamp(1rem, 2.5vw, 2.25rem);
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: var(--white);
  box-shadow: var(--sh-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.9);
  transition: all var(--dur) var(--ease-out);
}

.to-top svg {
  width: 17px;
  height: 17px;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: var(--brand-deep);
  transform: translateY(-3px);
}

/* Progress ring around the button reflects page scroll */
.to-top__ring {
  position: absolute;
  inset: -5px;
  transform: rotate(-90deg);
}

.to-top__ring circle {
  fill: none;
  stroke: var(--a24);
  stroke-width: 2;
}

.to-top__ring circle:last-child {
  stroke: var(--brand);
  stroke-linecap: round;
  stroke-dasharray: var(--circ, 195);
  stroke-dashoffset: var(--circ, 195);
  transition: stroke-dashoffset 0.1s linear;
}

/* --------------------------------------------------------------------------
   MARQUEE (trust strip)
   -------------------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee var(--speed, 42s) linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5rem);
  padding-right: clamp(2.5rem, 5vw, 5rem);
  flex: none;
}

.marquee__item {
  font-family: var(--font-display);
  font-size: clamp(0.875rem, 1.5vw, 1.0625rem);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  transition: color var(--dur) var(--ease-out);
}

.marquee__item::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
  flex: none;
}

.marquee__item:hover {
  color: var(--brand);
}

/* --------------------------------------------------------------------------
   BREADCRUMB + PAGE HERO (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(4rem, 2rem + 7vw, 8.5rem));
  padding-bottom: clamp(3.5rem, 2rem + 5vw, 7rem);
  background: linear-gradient(155deg, var(--brand-deep) 0%, var(--brand-100) 42%, var(--brand-abyss) 100%);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.26;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--tex-mesh-dark);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent);
  mask-image: linear-gradient(to bottom, #000, transparent);
}

.page-hero__inner {
  max-width: 900px;
}

.page-hero h1 {
  font-size: var(--fs-display);
  font-weight: 400;
}

.page-hero p {
  margin-top: 1.5rem;
  max-width: 62ch;
  color: var(--text-on-dark-muted);
  font-size: var(--fs-lead);
  line-height: 1.7;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.85rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-on-dark-faint);
}

.breadcrumb a {
  transition: color var(--dur-fast) var(--ease-out);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb svg {
  width: 10px;
  height: 10px;
  opacity: 0.5;
}

.breadcrumb [aria-current] {
  color: var(--white);
}

/* --------------------------------------------------------------------------
   ACCORDION (FAQ / spec sheets)
   -------------------------------------------------------------------------- */
.accordion {
  border-top: 1px solid var(--line);
}

.acc {
  border-bottom: 1px solid var(--line);
}

.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.3rem, 1rem + 0.6vw, 1.85rem) 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.18rem);
  font-weight: 500;
  letter-spacing: -0.008em;
  color: var(--brand);
  transition: color var(--dur-fast) var(--ease-out);
}

.acc__btn:hover {
  color: var(--brand-72);
}

.acc__sign {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  flex: none;
  position: relative;
  transition: all var(--dur) var(--ease-out);
}

.acc__sign::before,
.acc__sign::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out);
}

.acc__sign::before {
  width: 12px;
  height: 1.5px;
}

.acc__sign::after {
  width: 1.5px;
  height: 12px;
}

.acc.is-open .acc__sign {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
  transform: rotate(180deg);
}

.acc.is-open .acc__sign::after {
  transform: scaleY(0);
  opacity: 0;
}

.acc__panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s var(--ease-in-out);
}

.acc__panel-inner {
  padding-bottom: 1.85rem;
  padding-right: clamp(0rem, 4vw, 4rem);
  color: var(--text-muted);
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   TABLE (technical specification sheets)
   -------------------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  -webkit-overflow-scrolling: touch;
}

.spec-table {
  min-width: 620px;
  font-size: 0.9375rem;
}

.spec-table thead th {
  text-align: left;
  padding: 1.15rem 1.35rem;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--brand);
  white-space: nowrap;
}

.spec-table tbody td {
  padding: 1.05rem 1.35rem;
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
  vertical-align: top;
}

.spec-table tbody tr:last-child td {
  border-bottom: 0;
}

.spec-table tbody tr:nth-child(even) {
  background: var(--brand-02);
}

.spec-table tbody td:first-child {
  color: var(--brand);
  font-weight: 700;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   RESPONSIVE — components
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .mega {
    grid-template-columns: minmax(0, 1fr);
  }

  .mega__feature {
    min-height: 170px;
  }

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

@media (max-width: 1024px) {
  :root {
    --header-h: 78px;
  }

  .nav {
    display: none;
  }

  .burger {
    display: block;
  }

  .drawer,
  .drawer__backdrop {
    display: block;
  }

  .header-actions .btn {
    display: none;
  }

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

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .brand__mark {
    width: auto;
    height: 50px;
  }

  .brand__name {
    font-size: 1.02rem;
  }

  .brand__tag {
    font-size: 0.5rem;
    letter-spacing: 0.22em;
  }

  .btn {
    padding: 1rem 1.75rem;
    font-size: 0.75rem;
  }

  .footer__top {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.75rem;
  }

  .footer__bottom {
    justify-content: center;
    text-align: center;
  }

  .footer__legal {
    justify-content: center;
    gap: 1.15rem;
  }
}
