:root {
  --nalt-black: #0a0a0a;
  --nalt-gray: #f2f2f2;
  --nalt-gray-mid: #e0e0e0;
  --nalt-gray-dark: #1a1a1a;
  --nalt-accent: #5bc4f5;
  --nalt-accent-dim: rgba(91, 196, 245, 0.12);
  --scrollbar-size: 10px;
  --scrollbar-track: rgba(10, 10, 10, 0.04);
  --scrollbar-track-edge: rgba(91, 196, 245, 0.12);
  --scrollbar-thumb: linear-gradient(180deg, #7dd3ff 0%, #5bc4f5 45%, #3da8db 100%);
  --scrollbar-thumb-hover: linear-gradient(180deg, #9ee0ff 0%, #6dd0ff 40%, #5bc4f5 100%);
  --scrollbar-glow: rgba(91, 196, 245, 0.45);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  scrollbar-width: thin;
  scrollbar-color: #5bc4f5 var(--scrollbar-track);
}

/* Custom scrollbar — WebKit (Chrome, Edge, Safari) */
* {
  scrollbar-width: thin;
  scrollbar-color: #5bc4f5 var(--scrollbar-track);
}

*::-webkit-scrollbar {
  width: var(--scrollbar-size);
  height: var(--scrollbar-size);
}

*::-webkit-scrollbar-track {
  background:
    linear-gradient(
      90deg,
      var(--scrollbar-track-edge) 0%,
      transparent 35%
    ),
    var(--scrollbar-track);
  border-radius: 9999px;
}

*::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 9999px;
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 0 10px var(--scrollbar-glow);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 0 16px rgba(91, 196, 245, 0.65);
}

*::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, #5bc4f5 0%, #2e96c9 100%);
  box-shadow: 0 0 8px rgba(91, 196, 245, 0.35);
}

*::-webkit-scrollbar-corner {
  background: transparent;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.section-container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: max(1.5rem, env(safe-area-inset-left, 0px));
  padding-right: max(1.5rem, env(safe-area-inset-right, 0px));
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.pill-btn-primary {
  background-color: var(--nalt-accent);
  color: var(--nalt-black);
}
.pill-btn-primary:hover {
  background-color: #4ab3e4;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(91, 196, 245, 0.25);
}

.pill-btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: white;
  background: transparent;
}
.pill-btn-outline:hover {
  border-color: var(--nalt-accent);
  color: var(--nalt-accent);
  transform: translateY(-2px);
}

.pill-btn-dark {
  background-color: var(--nalt-black);
  color: white;
  border: none;
}
.pill-btn-dark:hover {
  background-color: #222;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.pill-btn-inline {
  width: auto;
  max-width: none;
}

.skill-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  background-color: var(--nalt-accent-dim);
  color: var(--nalt-black);
  border: 1px solid rgba(91, 196, 245, 0.25);
}

:focus-visible {
  outline: 2px solid var(--nalt-accent);
  outline-offset: 2px;
}

/* Contact form — service picker */
.contact-service-block {
  margin-top: 0.25rem;
}

.contact-category-grid,
.contact-subtype-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .contact-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-subtype-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-category-card,
.contact-subtype-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border: 1.5px solid var(--nalt-gray-mid);
  background: white;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s ease;
}

.contact-category-card:hover,
.contact-subtype-card:hover {
  border-color: rgba(91, 196, 245, 0.45);
  box-shadow: 0 8px 24px rgba(91, 196, 245, 0.1);
  transform: translateY(-2px);
}

.contact-category-card.is-active,
.contact-subtype-card.is-active {
  border-color: var(--nalt-accent);
  background: rgba(91, 196, 245, 0.08);
  box-shadow: 0 8px 28px rgba(91, 196, 245, 0.18);
}

.contact-category-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: rgba(91, 196, 245, 0.12);
  color: var(--nalt-accent);
}

.contact-category-card__label,
.contact-subtype-card__label {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--nalt-black);
}

.contact-category-card__desc,
.contact-subtype-card__desc {
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgba(10, 10, 10, 0.55);
}

.contact-context-hint {
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(91, 196, 245, 0.25);
  background: rgba(91, 196, 245, 0.08);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(10, 10, 10, 0.72);
}

.contact-client-type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.contact-client-type-btn {
  padding: 0.7rem 1rem;
  border-radius: 9999px;
  border: 1.5px solid var(--nalt-gray-mid);
  background: white;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(10, 10, 10, 0.65);
  cursor: pointer;
  transition: all 0.25s ease;
}

.contact-client-type-btn:hover,
.contact-client-type-btn.is-active {
  border-color: var(--nalt-accent);
  background: rgba(91, 196, 245, 0.1);
  color: var(--nalt-black);
}

.contact-project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 640px) {
  .contact-project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .contact-project-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-project-card {
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1.5px solid var(--nalt-gray-mid);
  background: white;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: left;
  color: rgba(10, 10, 10, 0.72);
  cursor: pointer;
  transition: all 0.25s ease;
}

.contact-project-card:hover {
  border-color: rgba(91, 196, 245, 0.45);
  transform: translateY(-1px);
}

.contact-project-card.is-active {
  border-color: var(--nalt-accent);
  background: rgba(91, 196, 245, 0.1);
  color: var(--nalt-black);
  box-shadow: 0 6px 20px rgba(91, 196, 245, 0.15);
}

/* Navbar logo */
.nav-logo {
  background: #fff;
}

/* Hero grid */
@keyframes gridPulse {
  0%, 100% { opacity: 0.03; }
  50% { opacity: 0.06; }
}
.hero-grid {
  background-image:
    linear-gradient(rgba(91, 196, 245, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 196, 245, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridPulse 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.float-animation { animation: float 6s ease-in-out infinite; }

/* Navbar */
.navbar-links {
  gap: 1.25rem;
  max-width: 42rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.navbar-links::-webkit-scrollbar {
  display: none;
}

@media (min-width: 1280px) {
  .navbar-links {
    gap: 2rem;
  }
}

#navbar .section-container {
  gap: 1rem;
}

#navbar.scrolled {
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

/* Language switcher */
.lang-switch {
  position: relative;
}

.lang-switch__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.lang-switch__toggle:hover,
.lang-switch__toggle[aria-expanded="true"] {
  border-color: rgba(91, 196, 245, 0.45);
  background: rgba(91, 196, 245, 0.1);
  color: #fff;
}

.lang-switch__chevron {
  transition: transform 0.2s;
}

.lang-switch__toggle[aria-expanded="true"] .lang-switch__chevron {
  transform: rotate(180deg);
}

.lang-switch__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 60;
  min-width: 10rem;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.lang-switch__option {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 0.55rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  transition: background 0.15s, color 0.15s;
}

.lang-switch__option:hover,
.lang-switch__option.is-active {
  background: rgba(91, 196, 245, 0.12);
  color: #5bc4f5;
}

.lang-switch__pill {
  display: inline-flex;
  padding: 0.45rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.lang-switch__pill:hover,
.lang-switch__pill.is-active {
  border-color: rgba(91, 196, 245, 0.45);
  background: rgba(91, 196, 245, 0.12);
  color: #5bc4f5;
}

html[lang="am"] body,
html[lang="am"] .font-body {
  font-family: 'Noto Sans Ethiopic', Inter, sans-serif;
}

html[lang="zh-Hans"] body,
html[lang="zh-Hans"] .font-body {
  font-family: 'Noto Sans SC', Inter, sans-serif;
}

/* Scroll reveal */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* Mobile menu */
#mobile-menu.open {
  display: flex;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.mobile-nav-link {
  opacity: 0;
  transform: translateY(20px);
  animation: menuLinkIn 0.4s ease forwards;
}
@keyframes menuLinkIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Hero content fade in */
#hero-content.visible {
  opacity: 1 !important;
}
#hero-content.visible .reveal {
  animation: heroReveal 0.7s ease forwards;
}
#hero-content.visible .reveal:nth-child(1) { animation-delay: 0.1s; }
#hero-content.visible .reveal:nth-child(2) { animation-delay: 0.2s; }
#hero-content.visible .reveal:nth-child(3) { animation-delay: 0.4s; }
#hero-content.visible .reveal:nth-child(4) { animation-delay: 0.6s; }

@keyframes heroReveal {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero scroll hint */
.scroll-hint-link {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
}

.scroll-hint-arrow {
  color: rgba(255, 255, 255, 0.55);
}

.scroll-hint-link:hover .scroll-hint-arrow {
  color: var(--nalt-accent);
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: none;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.88);
  color: var(--nalt-accent);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(91, 196, 245, 0.2);
  backdrop-filter: blur(10px);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(1rem) scale(0.9);
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, background 0.3s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  background: rgba(91, 196, 245, 0.15);
  box-shadow: 0 8px 32px rgba(91, 196, 245, 0.25), 0 0 0 1px rgba(91, 196, 245, 0.45);
  transform: translateY(-3px) scale(1.05);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--nalt-accent);
  outline-offset: 3px;
}

.back-to-top-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: var(--nalt-accent);
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: backToTopSpin 2s linear infinite;
  animation-play-state: paused;
}

.back-to-top:hover .back-to-top-ring {
  opacity: 0.7;
  animation-play-state: running;
}

@keyframes backToTopSpin {
  to { transform: rotate(360deg); }
}

@media (min-width: 768px) {
  .back-to-top {
    right: 1.75rem;
    bottom: 1.75rem;
    width: 3.25rem;
    height: 3.25rem;
  }
}

/* Custom cursor */
.custom-cursor-active,
.custom-cursor-active * {
  cursor: none !important;
}

.cursor-dot,
.cursor-ring {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  will-change: left, top, opacity;
  transition: opacity 0.2s ease;
}

.cursor-ring {
  z-index: 9999;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(91, 196, 245, 0.4);
  transition:
    left 0s,
    top 0s,
    opacity 0.2s ease,
    width 0.3s ease,
    height 0.3s ease,
    border-width 0.3s ease,
    border-color 0.3s ease;
}

.cursor-dot {
  z-index: 10000;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--nalt-accent);
  transition:
    left 0s,
    top 0s,
    opacity 0.2s ease,
    width 0.3s ease,
    height 0.3s ease;
}

.cursor-dot[data-state="hover"] {
  width: 0;
  height: 0;
}

.cursor-dot[data-state="text"] {
  width: 6px;
  height: 6px;
}

.cursor-ring[data-state="hover"] {
  width: 48px;
  height: 48px;
  border-width: 2px;
  border-color: rgba(91, 196, 245, 0.8);
}

.cursor-ring[data-state="text"] {
  width: 24px;
  height: 24px;
}

/* Team / Co-founders */
.team-founder-nav {
  scrollbar-width: none;
}
.team-founder-nav::-webkit-scrollbar {
  display: none;
}

.team-founder-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
  padding: 0.5rem 1rem 0.5rem 0.5rem;
  border-radius: 9999px;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.team-founder-tab:hover {
  border-color: rgba(91, 196, 245, 0.35);
  color: white;
  background: rgba(91, 196, 245, 0.08);
}

.team-founder-tab.is-active {
  border-color: var(--nalt-accent);
  background: rgba(91, 196, 245, 0.15);
  color: white;
  box-shadow: 0 4px 24px rgba(91, 196, 245, 0.2);
}

.team-founder-tab__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(91, 196, 245, 0.35), rgba(91, 196, 245, 0.08));
  border: 1px solid rgba(91, 196, 245, 0.4);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--nalt-accent);
}

.team-founder-tab__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-founder-tab.is-active .team-founder-tab__avatar {
  background: var(--nalt-accent);
  color: var(--nalt-black);
  border-color: transparent;
}

.team-founder-panel {
  display: none;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  animation: teamPanelIn 0.45s ease;
}

.team-founder-panel.is-active {
  display: grid;
}

@keyframes teamPanelIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 1024px) {
  .team-founder-panel.is-active {
    grid-template-columns: minmax(280px, 340px) 1fr;
    gap: 3rem;
    align-items: start;
  }
}

.team-profile {
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(160deg, rgba(26, 26, 26, 0.95) 0%, rgba(10, 10, 10, 0.85) 100%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.team-profile__visual {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.team-profile__ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px dashed rgba(91, 196, 245, 0.35);
  animation: teamRingSpin 20s linear infinite;
}

@keyframes teamRingSpin {
  to { transform: rotate(360deg); }
}

.team-profile__avatar,
.team-profile__photo {
  position: relative;
  z-index: 1;
  width: 8.5rem;
  height: 8.5rem;
  border-radius: 50%;
  object-fit: cover;
}

.team-profile__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
  border: 3px solid rgba(91, 196, 245, 0.45);
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--nalt-accent);
  box-shadow: 0 0 40px rgba(91, 196, 245, 0.15);
}

.team-profile__role {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--nalt-accent);
}

.team-profile__name {
  margin-top: 0.35rem;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.team-profile__bio {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
}

.team-profile__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.team-skill-tag {
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(91, 196, 245, 0.12);
  border: 1px solid rgba(91, 196, 245, 0.25);
}

.team-profile__social {
  display: flex;
  gap: 0.625rem;
  margin-top: 1.5rem;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.25s ease;
}

.social-icon-btn--team {
  width: 2.5rem;
  height: 2.5rem;
}

.social-icon-btn--footer {
  width: 2.75rem;
  height: 2.75rem;
}

.social-icon-btn:hover {
  color: var(--nalt-accent);
  border-color: rgba(91, 196, 245, 0.5);
  background: rgba(91, 196, 245, 0.12);
  box-shadow: 0 0 20px rgba(91, 196, 245, 0.2);
  transform: translateY(-2px);
}

.social-icon-btn--team:hover {
  color: white;
  background: rgba(91, 196, 245, 0.2);
}

.footer-social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-icon-btn--footer[data-platform="telegram"]:hover {
  color: #3dd0ff;
  border-color: rgba(38, 165, 228, 0.55);
  background: rgba(38, 165, 228, 0.14);
  box-shadow: 0 0 22px rgba(38, 165, 228, 0.28);
}

.social-icon-btn--footer[data-platform="youtube"]:hover {
  color: #ff6b6b;
  border-color: rgba(255, 0, 0, 0.45);
  background: rgba(255, 0, 0, 0.12);
  box-shadow: 0 0 22px rgba(255, 0, 0, 0.22);
}

.social-icon-btn--footer[data-platform="tiktok"]:hover {
  color: #ff4fd8;
  border-color: rgba(255, 79, 216, 0.45);
  background: rgba(255, 79, 216, 0.12);
  box-shadow: 0 0 22px rgba(255, 79, 216, 0.22);
}

.social-icon-btn--footer[data-platform="linkedin"]:hover {
  color: #5ebaff;
  border-color: rgba(10, 102, 194, 0.55);
  background: rgba(10, 102, 194, 0.14);
  box-shadow: 0 0 22px rgba(10, 102, 194, 0.25);
}

/* Site footer */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--nalt-black);
  color: white;
  border-top: 1px solid rgba(91, 196, 245, 0.15);
}

.site-footer__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.site-footer__glow--left {
  top: -6rem;
  left: -4rem;
  width: 18rem;
  height: 18rem;
  background: rgba(91, 196, 245, 0.12);
}

.site-footer__glow--right {
  right: -5rem;
  bottom: -4rem;
  width: 16rem;
  height: 16rem;
  background: rgba(91, 196, 245, 0.08);
}

.site-footer__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(91, 196, 245, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 196, 245, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 85%);
  pointer-events: none;
}

.site-footer__watermark {
  position: absolute;
  left: 50%;
  bottom: -0.15em;
  transform: translateX(-50%);
  margin: 0;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: clamp(5rem, 18vw, 12rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(91, 196, 245, 0.08);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .site-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .site-footer__top {
    grid-template-columns: 1.35fr 0.75fr 0.9fr 0.9fr 1fr;
    gap: 2rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .site-footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

.site-footer__brand {
  max-width: 22rem;
}

.site-footer__logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
}

.site-footer__logo-mark {
  position: relative;
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
}

.site-footer__logo-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px dashed rgba(91, 196, 245, 0.35);
  animation: footerRingSpin 24s linear infinite;
}

.site-footer__logo-img {
  position: relative;
  z-index: 1;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(91, 196, 245, 0.45);
  box-shadow: 0 0 30px rgba(91, 196, 245, 0.2);
  background: #fff;
}

.site-footer__wordmark {
  display: block;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: white;
}

.site-footer__wordmark-sub {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nalt-accent);
}

.site-footer__tagline {
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
}

.site-footer__location {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

.site-footer__location svg {
  color: var(--nalt-accent);
  flex-shrink: 0;
}

.site-footer__inline-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-top: 1rem;
}

.site-footer__inline-legal-link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__inline-legal-link:hover,
.site-footer__inline-legal-link.is-current {
  color: var(--nalt-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__col-title {
  margin: 0 0 1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--nalt-accent);
}

.site-footer__link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.site-footer__link {
  display: inline-flex;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.site-footer__link:hover {
  color: white;
  transform: translateX(3px);
}

.site-footer__link--cta {
  margin-top: 0.35rem;
  padding: 0.45rem 0.9rem;
  border-radius: 9999px;
  border: 1px solid rgba(91, 196, 245, 0.35);
  background: rgba(91, 196, 245, 0.08);
  color: var(--nalt-accent);
  transform: none;
}

.site-footer__link--cta:hover {
  background: rgba(91, 196, 245, 0.18);
  border-color: rgba(91, 196, 245, 0.55);
  color: white;
  transform: translateY(-2px);
}

.site-footer__meta {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
}

.site-footer__social-copy {
  margin: 0 0 1.1rem;
  max-width: 16rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
}

.site-footer__divider {
  height: 1px;
  margin: 2.5rem 0 1.5rem;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(91, 196, 245, 0.35) 20%,
    rgba(91, 196, 245, 0.35) 80%,
    transparent
  );
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1rem;
}

.site-footer__legal-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.site-footer__legal-link:hover,
.site-footer__legal-link.is-current {
  color: var(--nalt-accent);
}

.site-footer__legal-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__legal-link.is-current {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(91, 196, 245, 0.55);
}

.site-footer__link.is-current {
  color: var(--nalt-accent);
}

.site-footer__legal-sep {
  color: rgba(255, 255, 255, 0.25);
  user-select: none;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10001;
  padding: 0.65rem 1rem;
  border-radius: 0.5rem;
  background: var(--nalt-accent);
  color: var(--nalt-black);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

@media (min-width: 640px) {
  .site-footer__bottom {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: left;
  }

  .site-footer__legal {
    order: 2;
    flex: 1 1 100%;
    justify-content: center;
  }

  .site-footer__signature {
    order: 3;
  }
}

@media (min-width: 900px) {
  .site-footer__bottom {
    flex-wrap: nowrap;
  }

  .site-footer__legal {
    order: 0;
    flex: 0 1 auto;
    justify-content: flex-end;
  }
}

.site-footer__copy {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.38);
}

.site-footer__signature {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.site-footer__sig-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--nalt-accent);
  box-shadow: 0 0 10px var(--nalt-accent);
  animation: footerPulse 2.4s ease-in-out infinite;
}

@keyframes footerRingSpin {
  to { transform: rotate(360deg); }
}

@keyframes footerPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer__logo-ring {
    animation: none;
  }
  .site-footer__sig-dot {
    animation: none;
  }
}

.team-portfolio__header {
  margin-bottom: 1.25rem;
}

.team-portfolio__title {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}

.team-portfolio__hint {
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}

.team-portfolio__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .team-portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1280px) {
  .team-portfolio__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-portfolio-slot {
  position: relative;
  min-height: 11rem;
  border-radius: 1.25rem;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.team-portfolio-slot--empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.5rem;
  border: 1.5px dashed rgba(91, 196, 245, 0.25);
  background: rgba(255, 255, 255, 0.02);
}

.team-portfolio-slot--empty:hover {
  border-color: rgba(91, 196, 245, 0.55);
  background: rgba(91, 196, 245, 0.06);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(91, 196, 245, 0.12);
}

.team-portfolio-slot__icon {
  color: rgba(91, 196, 245, 0.5);
}

.team-portfolio-slot__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.team-portfolio-slot__placeholder {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
}

.team-portfolio-slot--filled {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--nalt-gray-dark);
}

.team-portfolio-slot--filled:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  border-color: rgba(91, 196, 245, 0.4);
}

.team-portfolio-slot__image {
  width: 100%;
  height: 100%;
  min-height: 11rem;
  object-fit: cover;
}

.team-portfolio-slot__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.92) 0%, transparent 60%);
}

.team-portfolio-slot__category {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--nalt-accent);
}

.team-portfolio-slot__title {
  margin-top: 0.25rem;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 1rem;
  font-weight: 700;
  color: white;
}

.team-jump-nav {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.team-jump-link {
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.25s ease;
}

.team-jump-link:hover,
.team-jump-link.is-active {
  color: white;
  border-color: rgba(91, 196, 245, 0.45);
  background: rgba(91, 196, 245, 0.1);
}

@media (prefers-reduced-motion: reduce) {
  .team-founder-panel.is-active {
    animation: none;
  }
  .team-profile__ring {
    animation: none;
  }
}

/* Our Work */
.work-main-nav,
.work-system-nav {
  scrollbar-width: none;
}
.work-main-nav::-webkit-scrollbar,
.work-system-nav::-webkit-scrollbar {
  display: none;
}

.work-main-tab,
.work-system-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  padding: 0.65rem 1.15rem;
  border-radius: 9999px;
  border: 1.5px solid var(--nalt-gray-mid);
  background: white;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(10, 10, 10, 0.65);
  transition: all 0.25s ease;
}

.work-main-tab__icon,
.work-system-tab__icon {
  display: flex;
  color: var(--nalt-accent);
}

.work-main-tab:hover,
.work-system-tab:hover {
  border-color: rgba(91, 196, 245, 0.45);
  transform: translateY(-1px);
}

.work-main-tab.is-active {
  border-color: var(--nalt-accent);
  background: var(--nalt-accent);
  color: var(--nalt-black);
  box-shadow: 0 8px 28px rgba(91, 196, 245, 0.25);
}

.work-main-tab.is-active .work-main-tab__icon {
  color: var(--nalt-black);
}

.work-system-tab.is-active {
  border-color: var(--nalt-accent);
  background: rgba(91, 196, 245, 0.12);
  color: var(--nalt-black);
}

.work-panel {
  display: none;
  animation: workPanelIn 0.4s ease;
}

.work-panel.is-active {
  display: block;
}

@keyframes workPanelIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .work-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.work-card {
  border-radius: 1.25rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-card--empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 16rem;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1.5px dashed rgba(91, 196, 245, 0.35);
  background: white;
}

.work-card--empty:hover {
  border-color: var(--nalt-accent);
  box-shadow: 0 12px 36px rgba(91, 196, 245, 0.12);
  transform: translateY(-4px);
}

.work-card__empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: rgba(91, 196, 245, 0.1);
  color: var(--nalt-accent);
}

.work-card__empty-title {
  margin-top: 1rem;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--nalt-black);
}

.work-card__empty-desc {
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(10, 10, 10, 0.5);
}

.work-card--filled {
  border: 1px solid var(--nalt-gray-mid);
  background: white;
}

.work-card--filled:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(91, 196, 245, 0.15);
}

.work-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.work-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--nalt-gray-dark);
}

.work-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.work-card--filled:hover .work-card__image {
  transform: scale(1.05);
}

.work-card__media-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(91, 196, 245, 0.15), rgba(10, 10, 10, 0.85));
}

.work-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.work-card--filled:hover .work-card__overlay {
  opacity: 1;
}

.work-card__view {
  padding: 0.45rem 0.9rem;
  border-radius: 9999px;
  background: var(--nalt-accent);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--nalt-black);
}

.work-card__body {
  padding: 1.25rem;
}

.work-card__title {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--nalt-black);
}

.work-card__desc {
  margin-top: 0.4rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(10, 10, 10, 0.58);
}

.work-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.work-jump-nav {
  padding-top: 1.5rem;
  border-top: 1px solid var(--nalt-gray-mid);
}

.work-jump-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.4);
}

.work-jump-link {
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(10, 10, 10, 0.6);
  text-decoration: none;
  border: 1px solid var(--nalt-gray-mid);
  background: white;
  transition: all 0.25s ease;
}

.work-jump-link:hover,
.work-jump-link.is-active {
  color: var(--nalt-black);
  border-color: rgba(91, 196, 245, 0.45);
  background: rgba(91, 196, 245, 0.1);
}

@media (prefers-reduced-motion: reduce) {
  .work-panel.is-active {
    animation: none;
  }
}

/* ── Legal pages (Privacy, Terms) ── */
.legal-page {
  background: var(--nalt-gray);
  color: var(--nalt-black);
  font-family: Inter, 'Noto Sans Ethiopic', 'Noto Sans SC', sans-serif;
}

.legal-page .font-body {
  font-family: inherit;
}

/* Header */
.legal-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.legal-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.legal-header__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: white;
  flex-shrink: 0;
}

.legal-header__logo {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 2px solid rgba(91, 196, 245, 0.45);
  object-fit: cover;
}

.legal-header__wordmark {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
}

.legal-header__tabs {
  display: none;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 640px) {
  .legal-header__tabs {
    display: flex;
  }
}

.legal-header__tab {
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.legal-header__tab:hover {
  color: white;
  background: rgba(255, 255, 255, 0.06);
}

.legal-header__tab.is-active {
  background: var(--nalt-accent);
  color: var(--nalt-black);
  box-shadow: 0 4px 16px rgba(91, 196, 245, 0.3);
}

.legal-header__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.legal-header__back:hover {
  color: var(--nalt-accent);
  border-color: rgba(91, 196, 245, 0.4);
  background: rgba(91, 196, 245, 0.08);
}

.legal-header__back span {
  display: none;
}

@media (min-width: 480px) {
  .legal-header__back span {
    display: inline;
  }
}

/* Hero */
.legal-hero {
  position: relative;
  overflow: hidden;
  background: var(--nalt-black);
  color: white;
  padding: 3.5rem 0 4rem;
}

@media (min-width: 768px) {
  .legal-hero {
    padding: 4.5rem 0 5rem;
  }
}

.legal-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(91, 196, 245, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 196, 245, 0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridPulse 4s ease-in-out infinite;
  pointer-events: none;
}

.legal-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  pointer-events: none;
}

.legal-hero__glow--left {
  top: 10%;
  left: 15%;
  width: 16rem;
  height: 16rem;
  background: rgba(91, 196, 245, 0.08);
}

.legal-hero__glow--right {
  bottom: 5%;
  right: 10%;
  width: 12rem;
  height: 12rem;
  background: rgba(91, 196, 245, 0.12);
  animation: float 6s ease-in-out infinite;
}

.legal-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 48rem;
}

.legal-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--nalt-accent);
}

.legal-hero__eyebrow svg {
  flex-shrink: 0;
}

.legal-hero__title {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.legal-hero__subtitle {
  margin-top: 1rem;
  max-width: 36rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
}

.legal-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.legal-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-hero__badge svg {
  color: var(--nalt-accent);
}

.legal-hero__tabs-mobile {
  display: flex;
  gap: 0.35rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .legal-hero__tabs-mobile {
    display: none;
  }
}

.legal-hero__tab {
  flex: 1;
  padding: 0.55rem 0.75rem;
  border-radius: 0.65rem;
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.25s ease;
}

.legal-hero__tab.is-active {
  background: rgba(91, 196, 245, 0.15);
  border-color: rgba(91, 196, 245, 0.45);
  color: var(--nalt-accent);
}

/* Body layout */
.legal-body {
  padding: 2.5rem 0 4rem;
}

@media (min-width: 768px) {
  .legal-body {
    padding: 3.5rem 0 5rem;
  }
}

.legal-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .legal-layout {
    grid-template-columns: 15rem 1fr;
    gap: 3rem;
  }
}

/* Table of contents */
.legal-toc {
  position: sticky;
  top: 5.5rem;
  padding: 1.25rem;
  border-radius: 1.25rem;
  background: white;
  border: 1px solid var(--nalt-gray-mid);
  box-shadow: 0 4px 24px rgba(10, 10, 10, 0.04);
}

.legal-toc__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.4);
}

.legal-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.legal-toc__link {
  display: block;
  padding: 0.45rem 0.65rem;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(10, 10, 10, 0.55);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: all 0.2s ease;
}

.legal-toc__link:hover {
  color: var(--nalt-black);
  background: rgba(91, 196, 245, 0.06);
}

.legal-toc__link.is-active {
  color: var(--nalt-black);
  border-left-color: var(--nalt-accent);
  background: rgba(91, 196, 245, 0.1);
}

@media (max-width: 1023px) {
  .legal-toc {
    position: static;
  }

  .legal-toc__list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .legal-toc__link {
    border-left: none;
    border: 1px solid var(--nalt-gray-mid);
    padding: 0.4rem 0.75rem;
    border-radius: 9999px;
  }

  .legal-toc__link.is-active {
    border-color: rgba(91, 196, 245, 0.45);
  }
}

/* Content */
.legal-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.legal-intro {
  padding: 1.5rem 1.75rem;
  border-radius: 1.25rem;
  background: white;
  border: 1px solid rgba(91, 196, 245, 0.25);
  box-shadow: 0 4px 24px rgba(91, 196, 245, 0.08);
}

.legal-intro p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(10, 10, 10, 0.72);
}

.legal-section {
  padding: 1.75rem;
  border-radius: 1.25rem;
  background: white;
  border: 1px solid var(--nalt-gray-mid);
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  scroll-margin-top: 6rem;
}

.legal-section:hover {
  border-color: rgba(91, 196, 245, 0.35);
  box-shadow: 0 12px 40px rgba(91, 196, 245, 0.1);
  transform: translateY(-2px);
}

.legal-section__head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.legal-section__num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--nalt-accent);
  background: rgba(91, 196, 245, 0.12);
  border: 1px solid rgba(91, 196, 245, 0.25);
}

.legal-section__title {
  margin: 0.15rem 0 0;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--nalt-black);
}

.legal-section__body {
  margin: 1rem 0 0 3.25rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: rgba(10, 10, 10, 0.68);
}

.legal-section__body p {
  margin: 0;
}

.legal-section__body a {
  color: var(--nalt-accent);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(91, 196, 245, 0.35);
  transition: border-color 0.2s ease;
}

.legal-section__body a:hover {
  border-bottom-color: var(--nalt-accent);
}

@media (max-width: 480px) {
  .legal-section__body {
    margin-left: 0;
    margin-top: 0.85rem;
  }
}

/* Contact callout */
.legal-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.75rem 2rem;
  border-radius: 1.25rem;
  background: var(--nalt-black);
  color: white;
  border: 1px solid rgba(91, 196, 245, 0.2);
  box-shadow: 0 16px 48px rgba(10, 10, 10, 0.15);
}

.legal-cta__text {
  flex: 1 1 14rem;
}

.legal-cta__title {
  margin: 0;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 1.125rem;
  font-weight: 700;
}

.legal-cta__desc {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.5);
}

.legal-cta__btn {
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .legal-hero__grid,
  .legal-hero__glow--right {
    animation: none;
  }

  .legal-section:hover {
    transform: none;
  }
}

/* ── NALT AI Assistant ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nalt-assistant {
  position: fixed;
  right: 1.25rem;
  bottom: 5.25rem;
  z-index: 48;
}

@media (min-width: 768px) {
  .nalt-assistant {
    right: 1.75rem;
    bottom: 5.75rem;
  }
}

.nalt-assistant__toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--nalt-accent) 0%, #3da8db 100%);
  color: var(--nalt-black);
  box-shadow: 0 8px 32px rgba(91, 196, 245, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.nalt-assistant__toggle:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 12px 40px rgba(91, 196, 245, 0.45);
}

.nalt-assistant__toggle-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: rgba(255, 255, 255, 0.6);
  animation: backToTopSpin 3s linear infinite;
  pointer-events: none;
}

.nalt-assistant.is-open .nalt-assistant__toggle-ring {
  opacity: 0;
}

.nalt-assistant__toggle-icon--close {
  display: none;
}

.nalt-assistant.is-open .nalt-assistant__toggle-icon--open {
  display: none;
}

.nalt-assistant.is-open .nalt-assistant__toggle-icon--close {
  display: block;
}

.nalt-assistant.is-open .nalt-assistant__toggle {
  background: rgba(10, 10, 10, 0.92);
  color: var(--nalt-accent);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(91, 196, 245, 0.25);
}

.nalt-assistant__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.85rem);
  display: flex;
  flex-direction: column;
  width: min(calc(100vw - 2rem), 22rem);
  height: min(70vh, 32rem);
  border-radius: 1.25rem;
  background: rgba(10, 10, 10, 0.96);
  border: 1px solid rgba(91, 196, 245, 0.2);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  transform-origin: bottom right;
  animation: assistantPanelIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes assistantPanelIn {
  from { opacity: 0; transform: scale(0.92) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@media (min-width: 480px) {
  .nalt-assistant__panel {
    width: 24rem;
  }
}

.nalt-assistant__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(91, 196, 245, 0.08) 0%, transparent 100%);
}

.nalt-assistant__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.nalt-assistant__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  background: rgba(91, 196, 245, 0.15);
  color: var(--nalt-accent);
  border: 1px solid rgba(91, 196, 245, 0.25);
}

.nalt-assistant__title {
  margin: 0;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 0.9375rem;
  font-weight: 700;
  color: white;
  line-height: 1.2;
}

.nalt-assistant__subtitle {
  margin: 0.15rem 0 0;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.45);
}

.nalt-assistant__actions {
  display: flex;
  gap: 0.25rem;
  flex-shrink: 0;
}

.nalt-assistant__action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.nalt-assistant__action:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.nalt-assistant__messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nalt-assistant__msg {
  display: flex;
}

.nalt-assistant__msg--user {
  justify-content: flex-end;
}

.nalt-assistant__msg--assistant {
  justify-content: flex-start;
}

.nalt-assistant__bubble {
  max-width: 88%;
  padding: 0.65rem 0.85rem;
  border-radius: 1rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  word-break: break-word;
}

.nalt-assistant__msg--user .nalt-assistant__bubble {
  background: var(--nalt-accent);
  color: var(--nalt-black);
  border-bottom-right-radius: 0.25rem;
}

.nalt-assistant__msg--assistant .nalt-assistant__bubble {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom-left-radius: 0.25rem;
}

.nalt-assistant__bubble--typing {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nalt-assistant__bubble--typing span {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--nalt-accent);
  animation: assistantDot 1.2s ease-in-out infinite;
}

.nalt-assistant__bubble--typing span:nth-child(2) { animation-delay: 0.15s; }
.nalt-assistant__bubble--typing span:nth-child(3) { animation-delay: 0.3s; }

.nalt-assistant__bubble--typing em {
  margin-left: 0.35rem;
  font-style: normal;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

@keyframes assistantDot {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.85); }
  40% { opacity: 1; transform: scale(1); }
}

.nalt-assistant__suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0 1rem 0.75rem;
}

.nalt-assistant__suggestion {
  padding: 0.35rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid rgba(91, 196, 245, 0.25);
  background: rgba(91, 196, 245, 0.08);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.6875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.nalt-assistant__suggestion:hover {
  background: rgba(91, 196, 245, 0.18);
  border-color: rgba(91, 196, 245, 0.45);
  color: white;
}

.nalt-assistant__form {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  padding: 0.75rem 1rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.25);
}

.nalt-assistant__input {
  flex: 1;
  min-height: 2.5rem;
  max-height: 7.5rem;
  padding: 0.6rem 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: white;
  font-family: inherit;
  font-size: 0.8125rem;
  line-height: 1.45;
  resize: none;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.nalt-assistant__input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.nalt-assistant__input:focus {
  border-color: rgba(91, 196, 245, 0.45);
  box-shadow: 0 0 0 3px rgba(91, 196, 245, 0.12);
}

.nalt-assistant__send {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 0.65rem;
  background: var(--nalt-accent);
  color: var(--nalt-black);
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}

.nalt-assistant__send:hover:not(:disabled) {
  transform: scale(1.05);
}

.nalt-assistant__send:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
  .nalt-assistant__panel {
    animation: none;
  }
  .nalt-assistant__toggle-ring {
    animation: none;
  }
  .nalt-assistant__bubble--typing span {
    animation: none;
    opacity: 0.6;
  }
}

/* ── Mobile & small-screen responsive ── */
@media (max-width: 639px) {
  html {
    scroll-padding-top: 4.5rem;
  }

  .section-container {
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
  }

  #navbar {
    padding-top: max(1rem, env(safe-area-inset-top, 0px));
    padding-bottom: 1rem;
  }

  #navbar.scrolled {
    padding-top: max(0.65rem, env(safe-area-inset-top, 0px));
    padding-bottom: 0.65rem;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    min-height: 2.75rem;
    margin-right: -0.35rem;
    padding: 0.35rem;
    border-radius: 0.5rem;
    touch-action: manipulation;
  }

  .nav-brand-text {
    max-width: 7.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .pill-btn {
    width: 100%;
    max-width: 20rem;
    min-height: 2.75rem;
    padding: 0.85rem 1.25rem;
    font-size: 0.875rem;
  }

  .pill-btn-inline {
    width: auto;
    max-width: none;
  }

  .form-input,
  .nalt-assistant__input {
    font-size: 16px;
  }

  .contact-client-type-grid {
    grid-template-columns: 1fr;
  }

  .work-main-nav,
  .work-system-nav,
  .team-founder-nav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 0.5rem;
    padding-bottom: 0.35rem;
    margin-inline: -0.25rem;
    padding-inline: 0.25rem;
  }

  .work-main-tab,
  .work-system-tab,
  .team-founder-tab {
    scroll-snap-align: start;
  }

  .work-jump-nav,
  .team-jump-nav {
    gap: 0.5rem;
  }

  .work-jump-label {
    flex: 0 0 100%;
    text-align: center;
  }

  .team-profile {
    padding: 1.5rem;
  }

  .skill-card:hover,
  .work-card--filled:hover,
  .work-card--empty:hover,
  .contact-category-card:hover,
  .contact-subtype-card:hover {
    transform: none;
  }

  .back-to-top {
    right: max(0.85rem, env(safe-area-inset-right, 0px));
    bottom: max(0.85rem, env(safe-area-inset-bottom, 0px));
    width: 2.75rem;
    height: 2.75rem;
  }

  .nalt-assistant {
    right: max(0.85rem, env(safe-area-inset-right, 0px));
    bottom: max(4.25rem, calc(env(safe-area-inset-bottom, 0px) + 3.75rem));
  }

  .nalt-assistant__panel {
    width: min(calc(100vw - 1.5rem), 22rem);
    height: min(72dvh, 32rem);
  }

  .site-footer__watermark {
    font-size: clamp(3rem, 24vw, 5.5rem);
  }

  .site-footer__inner {
    padding-top: 3rem;
  }

  .site-footer__wordmark {
    font-size: 1.5rem;
  }

  .legal-section {
    padding: 1.35rem;
  }

  .legal-intro,
  .legal-cta {
    padding: 1.35rem;
  }
}

@media (max-width: 380px) {
  .nav-brand-text {
    display: none;
  }

  .nav-logo {
    height: 2.5rem;
    width: 2.5rem;
  }

  .hero-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
  }
}

@media (min-width: 640px) {
  .pill-btn {
    width: auto;
    max-width: none;
    min-height: auto;
  }

  .pill-btn.w-full {
    width: 100%;
  }
}
