@font-face {
  font-family: "ALS Sector";
  src: url("fonts/ALS_Sector/ALS_Sector-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "ALS Sector";
  src: url("fonts/ALS_Sector/ALS_Sector-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #1a1a19;
  --surface: #303030;
  --surface-elevated: #484847;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #ffffff;
  --muted: #a2a2a2;
  --accent: #006cdc;
  --accent-hover: #2499ec;
  --accent-soft: rgba(0, 108, 220, 0.16);
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  --radius: 8px;
  --wrap: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 76px;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "ALS Sector", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration-color: rgba(255, 255, 255, 0.38);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: var(--text);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(0, 108, 220, 0.5);
  outline-offset: 3px;
}

.wrap {
  width: min(100%, var(--wrap));
  padding: 0 20px;
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-elevated);
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(26, 26, 25, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  display: block;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
  object-fit: contain;
}

.brand-text {
  display: grid;
  line-height: 1.15;
}

.brand-title {
  font-weight: 700;
}

.brand-subtitle {
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease;
}

.nav a:hover {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.nav a.is-active {
  border-color: rgba(0, 108, 220, 0.48);
  background: var(--accent-soft);
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px 0;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-main {
  padding-bottom: 24px;
}

.hero {
  padding: 64px 0 38px;
  background: #1a1a19;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 12px;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-elevated);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.32);
  background: #484847;
}

.btn:active {
  transform: translateY(0);
}

.btn.primary {
  border-color: var(--accent);
  background: var(--accent);
}

.btn.primary:hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
}

.hero-card,
.card,
.icon-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.hero-card {
  padding: 20px;
  box-shadow: var(--shadow);
}

.kpi + .kpi {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.kpi-label {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
}

.kpi-value {
  font-weight: 700;
  line-height: 1.4;
}

.section,
.section-light {
  padding: 46px 0;
  background: var(--bg);
}

.section-alt,
.section-light {
  background: #1a1a19;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

h2 {
  margin: 0 0 20px;
  color: var(--text);
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: 0;
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

.card {
  padding: 20px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.35;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.card p + p {
  margin-top: 12px;
}

.card a {
  color: #8cc5f4;
}

.list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.55;
}

.list li + li {
  margin-top: 12px;
}

.date {
  display: inline-flex;
  margin: 4px 0 0 8px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-elevated);
  color: #e7e7e7;
  font-size: 12px;
  white-space: nowrap;
}

.callout {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.callout p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.icon-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 18px;
  text-align: center;
}

.icon-card img {
  width: 104px;
  height: 104px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-elevated);
  padding: 10px;
}

.icon-card h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
}

.partner-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.partner-name-card {
  display: flex;
  min-height: 104px;
  align-items: center;
  justify-content: center;
  overflow-wrap: anywhere;
  text-align: center;
  color: #1a1a19;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 16px;
}

.quote-card {
  border-left: 4px solid var(--accent);
}

.quote-lead {
  color: var(--text) !important;
  font-weight: 700;
}

.director-layout {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.director-photo {
  width: 160px;
  height: 190px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-elevated);
}

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

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
}

.fineprint {
  display: grid;
  gap: 6px;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

.muted {
  color: var(--muted);
}

.to-top {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.to-top:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

/* Motion system */
.motion-progress {
  position: fixed;
  z-index: 80;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--accent-hover);
  box-shadow: 0 0 16px rgba(36, 153, 236, 0.48);
}

.site-header {
  transition:
    min-height 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
    background-color 280ms ease,
    box-shadow 280ms ease;
}

.site-header.is-scrolled {
  background: rgba(26, 26, 25, 0.985);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

.site-header.is-scrolled .header-inner {
  min-height: 60px;
}

.brand-logo {
  transition:
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 320ms ease;
}

.brand:hover .brand-logo {
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 12px 26px rgba(0, 108, 220, 0.3);
}

.nav a {
  position: relative;
  overflow: hidden;
}

.nav a::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 4px;
  left: 10px;
  height: 2px;
  background: var(--accent-hover);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: 0 50%;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(720px, calc(100vh - 68px));
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(36, 153, 236, 0.7);
  box-shadow: 0 0 22px rgba(36, 153, 236, 0.45);
  animation: hero-scan 7s cubic-bezier(0.2, 0.7, 0.2, 1) infinite;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-tech {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.72;
}

.hero-tech-line {
  position: absolute;
  display: block;
  background: rgba(140, 197, 244, 0.17);
  transform-origin: 0 0;
}

.hero-tech-line.is-horizontal {
  left: -12%;
  width: 124%;
  height: 1px;
  top: var(--line-position);
  animation: tech-line-horizontal var(--line-duration) ease-in-out var(--line-delay) infinite alternate;
}

.hero-tech-line.is-vertical {
  top: -12%;
  width: 1px;
  height: 124%;
  left: var(--line-position);
  animation: tech-line-vertical var(--line-duration) ease-in-out var(--line-delay) infinite alternate;
}

.hero-tech-node {
  position: absolute;
  display: block;
  width: 7px;
  height: 7px;
  left: var(--node-x);
  top: var(--node-y);
  border: 1px solid #2499ec;
  background: #1a1a19;
  box-shadow: 0 0 0 4px rgba(0, 108, 220, 0.08);
  animation: tech-node 3.6s ease-in-out var(--node-delay) infinite;
}

.hero-copy h1 {
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  perspective: 900px;
}

.hero-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(1.15em) rotateX(-72deg) skewX(-8deg);
  transform-origin: 50% 100%;
  animation: hero-letter-in 820ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--letter-delay);
}

.hero-card {
  position: relative;
  overflow: hidden;
  animation: hero-card-float 6s ease-in-out 1.4s infinite;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--accent-hover);
  transform: scaleY(0);
  transform-origin: 50% 0;
  animation: hero-card-line 900ms cubic-bezier(0.16, 1, 0.3, 1) 760ms forwards;
}

.kpi {
  position: relative;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.kpi:hover {
  transform: translateX(8px);
}

.kpi-value {
  background-image: linear-gradient(90deg, #ffffff 0 50%, #8cc5f4 50% 100%);
  background-size: 205% 100%;
  background-position: 0 0;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  transition: background-position 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.kpi:hover .kpi-value {
  background-position: -98% 0;
}

.section,
.section-light {
  position: relative;
  isolation: isolate;
  overflow: clip;
}

.section::before,
.section-light::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(140, 197, 244, 0.36);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 1100ms cubic-bezier(0.16, 1, 0.3, 1);
}

.section.is-section-visible::before,
.section-light.is-section-visible::before {
  transform: scaleX(1);
}

.section > .wrap,
.section-light > .wrap {
  position: relative;
  z-index: 1;
}

h2 {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 12px;
  overflow: hidden;
}

h2::before {
  content: attr(data-section-index);
  flex: 0 0 auto;
  color: #2499ec;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-6px);
}

h2::after {
  content: "";
  width: min(180px, 18vw);
  height: 1px;
  margin-left: auto;
  background: var(--line-strong);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 760ms cubic-bezier(0.16, 1, 0.3, 1) 180ms;
}

h2.is-visible::after {
  transform: scaleX(1);
}

.motion-capable .motion-reveal {
  --motion-y: 48px;
  --motion-rx: 7deg;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  opacity: 0;
  clip-path: inset(0 0 20% 0);
  transform:
    perspective(1200px)
    translate3d(0, var(--motion-y), 0)
    rotateX(calc(var(--motion-rx) + var(--tilt-x)))
    rotateY(var(--tilt-y));
  transform-origin: 50% 0;
  transition:
    opacity 680ms ease var(--motion-delay, 0ms),
    clip-path 900ms cubic-bezier(0.16, 1, 0.3, 1) var(--motion-delay, 0ms),
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1) var(--motion-delay, 0ms),
    border-color 260ms ease,
    box-shadow 320ms ease,
    background-color 260ms ease;
}

.motion-capable .motion-reveal.is-visible {
  --motion-y: 0px;
  --motion-rx: 0deg;
  opacity: 1;
  clip-path: inset(0 0 0 0);
}

.card,
.icon-card {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.card::after,
.icon-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--accent-hover);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 440ms cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover,
.icon-card:hover {
  border-color: rgba(36, 153, 236, 0.55);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.34);
}

.card:hover::after,
.icon-card:hover::after {
  transform: scaleX(1);
  transform-origin: 0 50%;
}

.card > *,
.icon-card > * {
  position: relative;
  z-index: 1;
  transform: translateZ(18px);
}

.icon-card img {
  transition:
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 280ms ease,
    background-color 280ms ease;
}

.icon-card:hover img {
  transform: translateZ(34px) scale(1.08) rotate(-2deg);
  border-color: rgba(140, 197, 244, 0.56);
  background: #303030;
}

.list li {
  transition:
    color 240ms ease,
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.list li:hover {
  color: var(--text);
  transform: translateX(6px);
}

.date {
  transition:
    border-color 220ms ease,
    background-color 220ms ease,
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.list li:hover .date {
  transform: translateY(-2px);
  border-color: rgba(36, 153, 236, 0.5);
  background: var(--accent-soft);
}

.director-photo {
  transition:
    transform 620ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 280ms ease,
    filter 420ms ease;
  filter: saturate(0.84) contrast(1.03);
}

.quote-card:hover .director-photo {
  transform: scale(1.035) translateY(-3px);
  border-color: rgba(36, 153, 236, 0.62);
  filter: saturate(1) contrast(1);
}

.btn,
.to-top {
  --magnet-x: 0px;
  --magnet-y: 0px;
  transform: translate3d(var(--magnet-x), var(--magnet-y), 0);
  will-change: transform;
}

.btn:hover,
.to-top:hover {
  transform: translate3d(var(--magnet-x), calc(var(--magnet-y) - 2px), 0);
}

.btn.primary::after {
  content: "→";
  margin-left: 8px;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.btn.primary:hover::after {
  transform: translateX(5px);
}

@keyframes hero-letter-in {
  0% {
    opacity: 0;
    transform: translateY(1.15em) rotateX(-72deg) skewX(-8deg);
  }
  58% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0) skewX(0);
  }
}

@keyframes hero-card-line {
  to {
    transform: scaleY(1);
  }
}

@keyframes hero-card-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}

@keyframes hero-scan {
  0% {
    top: 4%;
    opacity: 0;
  }
  12%,
  80% {
    opacity: 0.7;
  }
  100% {
    top: 96%;
    opacity: 0;
  }
}

@keyframes tech-line-horizontal {
  from {
    transform: translateX(-4%);
  }
  to {
    transform: translateX(4%);
  }
}

@keyframes tech-line-vertical {
  from {
    transform: translateY(-3%);
  }
  to {
    transform: translateY(3%);
  }
}

@keyframes tech-node {
  0%,
  100% {
    opacity: 0.28;
    transform: scale(0.72) rotate(0);
  }
  50% {
    opacity: 1;
    transform: scale(1.12) rotate(90deg);
  }
}

@media (max-width: 1080px) {
  .nav a {
    padding-inline: 7px;
    font-size: 13px;
  }

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

@media (max-width: 880px) {
  .hero {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .grid.two {
    grid-template-columns: 1fr;
  }

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

  .brand-subtitle {
    display: none;
  }
}

@media (max-width: 720px) {
  section[id] {
    scroll-margin-top: 68px;
  }

  .header-inner {
    min-height: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: calc(100% - 1px);
    right: 20px;
    left: 20px;
    display: none;
    justify-content: initial;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #303030;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: grid;
  }

  .nav a {
    width: 100%;
    min-height: 44px;
    justify-content: flex-start;
    padding: 10px 12px;
    font-size: 15px;
  }

  .hero {
    padding: 44px 0 30px;
  }

  .hero-tech {
    opacity: 0.46;
  }

  .motion-capable .motion-reveal {
    --motion-y: 30px;
    --motion-rx: 4deg;
  }

  .section,
  .section-light {
    padding: 36px 0;
  }

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

@media (max-width: 560px) {
  .wrap {
    padding-inline: 16px;
  }

  .brand-title {
    font-size: 15px;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .lead {
    font-size: 16px;
  }

  h2 {
    font-size: 25px;
  }

  .grid.three {
    grid-template-columns: 1fr;
  }

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

  .partner-name-card {
    min-height: 92px;
    padding: 12px;
  }

  .director-layout {
    grid-template-columns: 1fr;
  }

  .director-photo {
    width: 140px;
    height: 170px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .motion-capable .motion-reveal,
  .motion-capable .motion-reveal.is-visible,
  .hero-letter {
    opacity: 1 !important;
    clip-path: none !important;
    transform: none !important;
  }

  .hero-tech,
  .hero::after {
    display: none !important;
  }
}
