:root {
  --accent: #0b6efd;
  --accent-2: #38b6c7;
  --dark: #071b33;
  --surface: #ffffff;
  --muted: #5e6c7f;
  --line: rgba(7, 27, 51, 0.12);
  --shadow: 0 24px 60px rgba(5, 18, 35, 0.12);
  --header-h: 64px;
  --iso-h: 48px;
  --transition: 280ms;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--dark);
  background:
    radial-gradient(circle at top left, rgba(56, 182, 199, 0.08), transparent 26%),
    linear-gradient(180deg, #f5f7fb 0%, #edf2f7 100%);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.kennext-social-link:focus-visible,
.kennext-social-link--placeholder:focus-visible {
  outline: 3px solid rgba(11, 110, 253, 0.9);
  outline-offset: 3px;
}

.iso-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  background: linear-gradient(90deg, #06182f, #0b2446);
  transition: all 0.4s ease;
  z-index: 1000;
  color: rgba(255, 255, 255, 0.78);
}

.iso-bar.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
}

.iso-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

.iso-item img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.main-header {
  position: fixed;
  top: 48px;
  left: 0;
  width: 100%;
  height: 64px;
  display: flex;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  z-index: 999;
  box-shadow: 0 10px 30px rgba(5, 18, 35, 0.08);
  transition: all 0.4s ease;
  border-bottom: 1px solid rgba(7, 27, 51, 0.08);
}

.main-header.scrolled {
  top: 0;
  opacity: 0.97;
}

.header-inner {
  max-width: var(--max-width);
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.brand {
  position: relative;
  display: inline-block;
}

.brand .logo-img {
  width: 140px;
  height: auto;
  object-fit: contain;
  display: block;
  box-shadow: 0 14px 28px rgba(7, 27, 51, 0.18);
  border-radius: 50%;
  padding: 8px;
  background: #fff;
  position: relative;
  z-index: 2;
}

.brand::after {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border: 2px solid rgba(11, 110, 253, 0.65);
  border-radius: 50%;
  animation: snake-spin 16s linear infinite;
  z-index: 1;
}

@keyframes snake-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

nav.primary {
  display: flex;
  gap: 18px;
  margin-left: auto;
  align-items: center;
}

nav.primary a {
  padding: 8px 12px;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.3s ease, color 0.3s ease;
  color: var(--dark);
}

nav.primary a:hover {
  background: rgba(7, 27, 51, 0.96);
  color: #fff;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 26px;
  color: var(--dark);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: #fff;
  padding: 15px;
  position: absolute;
  top: 100%;
  right: 0;
  width: 220px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  margin: 10px 0;
  color: navy;
  font-weight: 600;
  transition: color 0.3s ease;
}

.mobile-nav a:hover {
  color: #0b6efd;
}

.glass-btn {
  position: relative;
  padding: 10px 24px;
  border-radius: 30px;
  background: rgba(7, 27, 51, 0.04);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(7, 27, 51, 0.14);
  color: var(--dark);
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
}

.staff-only-btn {
  padding: 9px 16px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.glass-btn::after {
  content: "\25BE";
  font-size: 12px;
  margin-left: 8px;
  display: inline-block;
  transition: transform 0.3s ease;
  opacity: 0.7;
}

.glass-btn.active::after {
  transform: rotate(180deg);
  opacity: 1;
}

nav.primary .dropdown:not(:last-child) > .glass-btn,
.mobile-dropdown:not(:last-child) > .glass-btn {
  border: none;
  background: transparent;
  backdrop-filter: none;
  padding: 10px 16px;
}

nav.primary .dropdown:last-child > .glass-btn.staff-only-btn {
  padding: 9px 14px;
}

.mobile-dropdown > .glass-btn.staff-only-btn {
  padding: 10px 14px;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(5, 18, 35, 0.16);
  display: flex;
  flex-direction: column;
  min-width: 200px;
  z-index: 1000;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: all 0.35s ease;
}

.dropdown-menu a {
  padding: 10px 16px;
  color: var(--dark);
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-menu a:hover {
  background: rgba(7, 27, 51, 0.96);
  color: #fff;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-dropdown .dropdown-menu {
  position: static;
  margin-top: 8px;
  width: 100%;
  box-shadow: none;
  border-radius: 6px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.35s ease;
  pointer-events: none;
}

.mobile-dropdown .dropdown-menu.active {
  max-height: 500px;
  opacity: 1;
  pointer-events: auto;
}

.mobile-dropdown .dropdown-menu a {
  border-bottom: 1px solid #ddd;
  pointer-events: auto;
}

.site-footer {
  background:
    radial-gradient(circle at top right, rgba(11, 110, 253, 0.14), transparent 24%),
    radial-gradient(circle at bottom left, rgba(56, 182, 199, 0.08), transparent 28%),
    linear-gradient(180deg, #06172d 0%, #071b33 50%, #091e3a 100%);
  color: #fff;
  padding: 56px 40px 22px;
  position: relative;
  font-family: "Manrope", "Segoe UI", sans-serif;
  overflow: hidden;
}

.footer-container {
  display: grid;
  grid-template-columns: minmax(300px, 1.15fr) repeat(3, minmax(160px, 0.75fr));
  align-items: start;
  gap: 32px 48px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  flex: 1 1 360px;
  min-width: 280px;
}

.logo-container {
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
}

.logo-container img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  z-index: 2;
  position: relative;
}

.snake-border {
  position: absolute;
  top: -5px;
  left: -5px;
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  border-radius: 50%;
  border: 3px solid transparent;
  background: conic-gradient(#ffffff, #0b6efd, #38b6c7, #0b6efd, #ffffff);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), black calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), black calc(100% - 2px));
  animation: footer-spin 8s linear infinite;
  z-index: 1;
}

@keyframes footer-spin {
  to { transform: rotate(360deg); }
}

.footer-brand-copy {
  max-width: 460px;
}

.footer-brand-copy h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
}

.footer-column h4 {
  margin: 0 0 14px;
  font-size: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

.footer-eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.footer-description {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
  max-width: 330px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.45;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links a:hover {
  color: #0b6efd;
  transform: translateY(-2px);
}

.footer-links--grid {
  row-gap: 12px;
  flex-direction: column;
}

.footer-contact {
  display: grid;
  gap: 12px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  line-height: 1.7;
}

.footer-contact p {
  margin: 0;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.9);
}

.footer-contact a:hover {
  color: #0b6efd;
}

.footer-social-row {
  max-width: var(--max-width);
  margin: 34px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-social-label {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.kennext-social-links {
  display: flex;
  gap: 12px;
}

.kennext-social-links--vertical {
  flex-direction: column;
}

.kennext-social-links--horizontal {
  flex-direction: row;
  flex-wrap: wrap;
}

.kennext-social-link {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 18px;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
}

.kennext-social-link:hover {
  transform: translateY(-2px) scale(1.04);
  background: rgba(11, 110, 253, 0.92);
  color: #fff;
  border-color: rgba(11, 110, 253, 0.7);
}

.kennext-social-link--placeholder {
  cursor: default;
  opacity: 0.96;
}

.kennext-social-link--placeholder:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.16);
}

.kennext-social-link-label {
  margin-left: 10px;
  font-size: 14px;
  font-weight: 700;
}

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

.ken-band {
  position: relative;
  margin-top: -26px;
  padding: 38px 0 8px;
  background:
    radial-gradient(circle at 15% 10%, rgba(11, 110, 253, 0.12), transparent 28%),
    radial-gradient(circle at 86% 20%, rgba(56, 182, 199, 0.14), transparent 22%),
    linear-gradient(180deg, rgba(245, 249, 255, 0.88), rgba(236, 244, 252, 0.72));
  border-top: 1px solid rgba(255, 255, 255, 0.68);
  border-bottom: 1px solid rgba(13, 41, 74, 0.06);
  overflow: hidden;
}

.ken-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 38%);
  pointer-events: none;
}

.ken-band .ken-section {
  position: relative;
  z-index: 1;
  padding: 0 0 42px;
}

.ken-band .ken-grid.four {
  padding: 20px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow:
    0 30px 60px rgba(7, 27, 51, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(24px);
}

.ken-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.ken-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 800;
}

.ken-title {
  margin: 0;
  color: var(--dark);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
}

.ken-lead {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.ken-btn,
.ken-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.ken-btn {
  background: linear-gradient(135deg, #071b33, #0b2d56);
  color: #fff;
  box-shadow: 0 16px 30px rgba(7, 27, 51, 0.16);
}

.ken-btn:hover,
.ken-btn-secondary:hover {
  transform: translateY(-2px);
}

.ken-btn-secondary {
  background: rgba(7, 27, 51, 0.06);
  color: var(--dark);
}

.ken-grid {
  display: grid;
  gap: 20px;
}

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

.ken-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ken-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ken-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(11, 110, 253, 0.12);
  color: #8d6a14;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.ken-stat {
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(243, 248, 255, 0.54));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 12px 24px rgba(7, 27, 51, 0.05);
  backdrop-filter: blur(14px);
}

.ken-stat strong {
  display: block;
  color: var(--dark);
  font-size: 1.6rem;
  line-height: 1;
}

.ken-stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .ken-grid.two,
  .ken-grid.three,
  .ken-grid.four {
    grid-template-columns: 1fr;
  }
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 24px auto 0;
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  text-align: left;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  flex-wrap: wrap;
}

.footer-developed-by {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-developed-by a {
  color: #7dd3fc;
  font-weight: 700;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-developed-by a:hover {
  color: #bfefff;
}

.footer-developed-phone {
  color: #7dd3fc;
  text-decoration: none;
  text-shadow: 0 0 10px rgba(125, 211, 252, 0.22);
}

.footer-developed-phone:hover {
  color: #d6f4ff;
}

.footer-developed-credit {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-bottom: 3px;
  color: #7dd3fc;
  text-shadow: 0 0 10px rgba(125, 211, 252, 0.18);
}

.footer-developed-credit::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, #a7e7ff 18%, #d6f4ff 50%, #7dd3fc 82%, transparent 100%);
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  box-shadow: 0 0 10px rgba(125, 211, 252, 0.7);
  animation: footer-credit-underline 2s ease-in-out infinite;
}

.footer-developed-credit:hover {
  color: #d6f4ff;
}

/* Shared bright-blue underline animation for selected headings. */
.animated-bright-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  color: inherit;
}

.animated-bright-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, #a7e7ff 18%, #d6f4ff 50%, #7dd3fc 82%, transparent 100%);
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  box-shadow: 0 0 10px rgba(125, 211, 252, 0.7);
  animation: footer-credit-underline 2s ease-in-out infinite;
}

@keyframes footer-credit-underline {
  0% {
    transform: scaleX(0);
    opacity: 0;
  }
  12% {
    transform: scaleX(0.2);
    opacity: 1;
  }
  38% {
    transform: scaleX(1);
    opacity: 1;
  }
  62% {
    transform: scaleX(1);
    opacity: 1;
  }
  88% {
    transform: scaleX(0.15);
    opacity: 0.7;
  }
  100% {
    transform: scaleX(0);
    opacity: 0;
  }
}

@media (max-width: 880px) {
  nav.primary {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .brand .logo-img {
    width: 100px;
    padding: 6px;
  }

  .brand::after {
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
  }

  .site-footer {
    padding: 34px 20px 20px;
  }

  .ken-band {
    margin-top: -12px;
    padding: 26px 0 6px;
  }

  .ken-band .ken-section {
    padding-bottom: 28px;
  }

  .ken-band .ken-grid.four {
    padding: 14px;
    border-radius: 24px;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
    max-width: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

@media (min-width: 881px) {
  .mobile-nav {
    display: none !important;
  }
}
