:root {
  --blue: #283583;
  --red: #e5302d;
  --dark: #0b121a;
  --ink: #111820;
  --font: 'Inter Tight', Arial, sans-serif;
  --display: 'Bebas Neue', 'Arial Narrow', sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
img {
  max-width: 100%;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #728bff;
  outline-offset: 5px;
}
::selection {
  background: var(--blue);
  color: #fff;
}
.header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  color: #fff;
  border-bottom: 1px solid #ffffff16;
}
.nav-wrap {
  width: calc(100% - 30px);
  max-width: 1600px;
  height: 94px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.header .logo {
  position: relative;
  display: block;
  flex: none;
  width: 170px;
  background: transparent;
  line-height: 0;
}
.header .logo img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}
.header .logo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/klann-logo.png') center/100% 100% no-repeat;
  clip-path: polygon(0 23%, 8.4% 23%, 8.4% 70%, 0 70%);
  pointer-events: none;
}
.header nav {
  display: flex;
  align-items: center;
  gap: 27px;
}
.header nav > a,
.nav-trigger {
  font: 1rem/1.5 var(--font);
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
}
.header nav > a:hover,
.nav-trigger:hover {
  color: #c8d1ff;
}
.nav-trigger {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  border: 0;
  padding: 0;
  background: transparent;
}
.nav-trigger::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.18s;
}
.nav-trigger[aria-expanded='true']::after {
  transform: scaleX(1);
}
.nav-chevron {
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.18s;
}
.nav-trigger[aria-expanded='true'] .nav-chevron {
  transform: translateY(2px) rotate(225deg);
}
.header.has-open-menu {
  background: #0b121a;
  border-bottom-color: #ffffff20;
}
.mega-panel[hidden],
.menu-shade[hidden] {
  display: none;
}
.mega-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100dvh - 94px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid #d9dde5;
  box-shadow: 0 22px 40px #050c161a;
}
.mega-inner {
  width: calc(100% - 80px);
  max-width: 1600px;
  margin: 0 auto;
  padding: 34px 0 0;
}
.mega-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.mega-top > p {
  margin: 0;
  font: 600 1rem/1.4 var(--font);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mega-overview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid #6a717d;
  border-radius: 24px;
  color: var(--ink);
  text-decoration: none;
  font: 500 1rem/1.4 var(--font);
}
.mega-overview:hover {
  background: #eef0f7;
  border-color: var(--blue);
  color: var(--blue);
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
}
.mega-group {
  min-width: 0;
}
.mega-group-heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 104px;
  padding: 18px 20px;
  border-radius: 10px;
  background: linear-gradient(120deg, #101c34, #283583);
  color: #fff;
}
.mega-number {
  display: block;
  font: 0.8rem/1.4 var(--font);
  font-weight: 500;
  letter-spacing: 0.08em;
}
.mega-group-heading .mega-number {
  color: #c6cfe8;
  margin-bottom: 8px;
}
.mega-group-heading h3 {
  margin: 0;
  color: inherit;
  font: 600 1.125rem/1.3 var(--font);
  overflow-wrap: anywhere;
}
.mega-tone-2 {
  background: linear-gradient(120deg, #152c45, #28556d);
}
.mega-tone-3 {
  background: linear-gradient(120deg, #1d2441, #414b79);
}
.mega-tone-4 {
  background: linear-gradient(120deg, #142c40, #345367);
}
.mega-tone-5 {
  background: linear-gradient(120deg, #151e30, #34416b);
}
.mega-links {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.mega-links li {
  margin: 0;
  border-bottom: 1px solid #d9dde5;
}
.mega-links a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 12px 22px 12px 0;
  text-decoration: none;
  font: 1rem/1.4 var(--font);
  color: var(--ink);
  transition:
    color 0.15s,
    padding 0.15s;
}
.mega-links a::after,
.company-menu-link::after {
  content: '';
  position: absolute;
  right: 3px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.mega-links a:hover {
  color: var(--blue);
  padding-left: 6px;
}
.mega-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 36px;
  margin-top: 32px;
  padding: 20px 0;
  border-top: 1px solid #d9dde5;
  font: 1rem/1.5 var(--font);
}
.mega-footer button {
  min-height: 28px;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--ink);
  font: 600 1rem/1.5 var(--font);
}
.mega-footer a {
  color: var(--ink);
  text-decoration: none;
}
.mega-footer a:hover,
.mega-footer button:hover {
  color: var(--blue);
  text-decoration: underline;
}
.mega-location {
  margin-left: auto;
  color: #656d79;
}
.menu-shade {
  position: fixed;
  inset: 94px 0 0;
  z-index: 29;
  background: #050c164d;
}
.company-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: 40px;
}
.company-menu-copy {
  padding: 8px 0 12px;
}
.company-menu-copy .mega-number {
  color: var(--blue);
  text-transform: uppercase;
}
.company-menu-copy h3 {
  font: 400 2.125rem/1.1 var(--display);
  margin: 18px 0 14px;
  max-width: 300px;
}
.company-menu-copy p {
  font: 1rem/1.55 var(--font);
  color: #59616d;
  max-width: 320px;
  margin: 0 0 20px;
}
.company-menu-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  padding-right: 24px;
  color: var(--blue);
  font: 500 1rem/1.4 var(--font);
  text-decoration: none;
}
.company-menu-link:hover {
  text-decoration: underline;
}
.company-menu-image {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.language {
  white-space: nowrap;
  font: 1rem/1.5 var(--font);
  color: #fff;
  text-decoration: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--blue);
  padding: 12px 20px;
  background: var(--blue);
  color: #fff;
  font: 1rem/1.2 var(--display);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.button:hover {
  background: #16215e;
}
.nav-cta {
  min-width: 110px;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #ffffff70;
  background: none;
  padding: 10px;
}
.menu-toggle > span {
  display: block;
  height: 1px;
  background: #fff;
  margin-block: 6px;
}
.skip {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 90;
  background: var(--blue);
  color: #fff;
  padding: 12px;
  font: 1rem/1.5 var(--font);
}
.skip:focus {
  top: 12px;
}
dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 0;
  border: 0;
  width: 880px;
  max-width: calc(100% - 32px);
  max-height: 90dvh;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 20px 100px #0005;
  overflow: auto;
}
dialog::backdrop {
  background: #050b12d9;
  backdrop-filter: blur(7px);
}
.dialog-close {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid #d8dce3;
  background: #fff;
  color: var(--ink);
  font: 1.5rem/1 var(--font);
}
.dialog-body {
  padding: 64px 50px 45px;
  font: 1rem/1.62 var(--font);
}
.dialog-body h2 {
  margin: 20px 0 24px;
}
.dialog-body h3 {
  margin: 32px 0 16px;
}
.dialog-body p {
  margin: 20px 0;
  color: #535d6b;
  font-size: 1rem;
}
.dialog-body > .button {
  margin-top: 24px;
}
.contact-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 30px;
}
.contact-options a {
  display: block;
  padding: 20px;
  border: 1px solid #d8dce3;
  color: var(--blue);
  text-decoration: none;
  overflow-wrap: anywhere;
  font-size: 1rem;
}
.contact-options a > span {
  display: block;
  color: #535d6b;
  margin-bottom: 10px;
  font-size: 1rem;
}
.dialog-video {
  width: 1200px;
  background: #0b121a;
}
.video-frame {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
}
.dialog-product-image {
  height: 340px;
  background: #f0f1f3;
  padding: 30px;
}
.dialog-product-image > img {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
@media (min-width: 1201px) and (max-width: 1440px) {
  .nav-wrap {
    width: calc(100% - 60px);
    gap: 20px;
  }
  .header nav {
    gap: 20px;
  }
  .header .logo {
    width: 150px;
  }
  .nav-actions {
    gap: 14px;
  }
  .mega-grid {
    gap: 22px;
  }
  .mega-inner {
    width: calc(100% - 60px);
  }
  .mega-group-heading {
    padding-inline: 16px;
  }
}
@media (max-width: 1200px) {
  .header nav {
    display: none;
    position: absolute;
    top: 94px;
    left: 20px;
    right: 20px;
    background: #111d2c;
    border: 1px solid #ffffff25;
    padding: 24px;
    max-height: calc(100dvh - 114px);
    overflow: auto;
    overscroll-behavior: contain;
  }
  .header nav.open {
    display: grid;
    gap: 16px;
  }
  .menu-toggle {
    display: block;
  }
  .nav-actions {
    margin-left: auto;
  }
  .nav-trigger {
    width: 100%;
    justify-content: space-between;
    min-height: 40px;
  }
  .mega-panel {
    position: static;
    max-height: none;
    overflow: visible;
    margin-top: 16px;
    border: 0;
    box-shadow: none;
    border-radius: 6px;
  }
  .mega-inner {
    width: 100%;
    padding: 20px;
  }
  .mega-top {
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
  }
  .mega-top > p {
    font-size: 0.875rem;
  }
  .mega-overview {
    padding: 8px 16px;
  }
  .mega-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
  }
  .mega-group-heading {
    min-height: 76px;
    padding: 14px 16px;
  }
  .mega-group-heading .mega-number {
    display: none;
  }
  .mega-links {
    margin-top: 8px;
  }
  .mega-footer {
    display: grid;
    gap: 14px;
    margin-top: 24px;
  }
  .mega-footer a {
    overflow-wrap: anywhere;
  }
  .mega-location {
    margin: 0;
    font-size: 0.875rem;
  }
  .company-menu-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .company-menu-image {
    grid-column: 1/-1;
    height: 220px;
  }
  .menu-shade {
    display: none;
  }
}
@media (max-width: 600px) {
  .nav-wrap {
    gap: 12px;
    height: 80px;
  }
  .header .logo {
    width: 132px;
  }
  .nav-actions {
    gap: 10px;
  }
  .language {
    display: none;
  }
  .nav-cta {
    min-width: 0;
    padding: 12px 16px;
  }
  .header nav {
    top: 80px;
  }
  .dialog-body {
    padding: 60px 24px 30px;
  }
  .contact-options {
    grid-template-columns: 1fr;
  }
  .dialog-product-image {
    height: 260px;
  }
}
@media (max-width: 600px) {
  .header nav {
    left: 12px;
    right: 12px;
    padding: 20px;
    max-height: calc(100dvh - 92px);
  }
  .mega-inner {
    padding: 18px;
  }
  .mega-grid,
  .company-menu-grid {
    grid-template-columns: 1fr;
  }
  .mega-top {
    margin-bottom: 20px;
  }
  .mega-overview {
    width: 100%;
  }
  .mega-group-heading {
    min-height: 62px;
  }
  .mega-links a {
    min-height: 48px;
  }
  .company-menu-image {
    height: 170px;
  }
  .company-menu-copy h3 {
    font-size: 1.875rem;
  }
}
@media (max-width: 360px) {
  .header .logo {
    width: 112px;
  }
  .nav-cta {
    padding-inline: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
