:root {
  --bg: #02060c;
  --panel: #07111d;
  --panel-strong: #0b1726;
  --text: #ffffff;
  --muted: #b6c5d8;
  --blue: #11a8ff;
  --blue-dark: #0476d9;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: rgba(17, 168, 255, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  font-weight: 700;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 64px);
  background: rgba(2, 6, 12, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-size: 1.35rem;
  font-weight: 900;
}

.brand-mark img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  background: white;
}

.brand-mark span {
  color: var(--blue);
  text-transform: uppercase;
}

.navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 1.4vw, 22px);
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
}

.navigation a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.navigation a:hover,
.navigation a:focus-visible,
.navigation a[aria-current="page"] {
  color: var(--text);
  border-color: var(--blue);
}

.page-hero {
  padding: clamp(70px, 10vw, 130px) clamp(18px, 5vw, 86px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 20%, rgba(17, 168, 255, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(4, 118, 217, 0.11), transparent 44%);
}

.page-hero h1 {
  max-width: 980px;
}

.page-hero p:last-child {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.65;
}

.page-hero a {
  color: var(--blue);
}

.hero {
  min-height: calc(90vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  align-items: center;
  gap: 48px;
  padding: clamp(52px, 7vw, 108px) clamp(18px, 5vw, 86px) 44px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 24%, rgba(17, 168, 255, 0.14), transparent 28%),
    linear-gradient(135deg, rgba(4, 118, 217, 0.12), transparent 42%);
}

.hero-copy {
  max-width: 980px;
}

.hero-kicker,
.hero-headline {
  margin-bottom: 18px;
}

.hero-kicker {
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-headline {
  max-width: 820px;
  color: var(--text);
  font-size: 1.45rem;
  line-height: 1.35;
  font-weight: 900;
}

.hero-photo {
  margin: 0;
  align-self: stretch;
  min-height: 440px;
  border: 1px solid rgba(17, 168, 255, 0.36);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 30px 86px rgba(17, 168, 255, 0.18);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-transform: uppercase;
}

h1 {
  margin-bottom: 16px;
  font-size: 6rem;
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: 0;
}

.type-name {
  min-height: 0.92em;
}

.type-name::after {
  content: "";
  display: inline-block;
  width: 0.08em;
  height: 0.8em;
  margin-left: 0.08em;
  background: var(--blue);
  animation: cursorBlink 0.8s steps(1) infinite;
  vertical-align: -0.04em;
}

.type-name.is-complete::after {
  display: none;
}

.type-line {
  min-height: 1.65em;
}

.type-line.is-typing::after {
  content: "";
  display: inline-block;
  width: 0.08em;
  height: 1em;
  margin-left: 0.14em;
  background: var(--blue);
  animation: cursorBlink 0.8s steps(1) infinite;
  vertical-align: -0.12em;
}

@keyframes cursorBlink {
  50% {
    opacity: 0;
  }
}

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

.hero-intro {
  max-width: 840px;
  margin-top: 22px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
  font-weight: 700;
}

.hero-intro p {
  margin-bottom: 12px;
}

.hero-intro p:last-child {
  margin-bottom: 0;
}

.hero-actions,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button,
.social-links a,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
}

.button.primary,
.contact-form button {
  background: var(--blue);
  color: #00111f;
  border-color: var(--blue);
  box-shadow: 0 18px 42px var(--shadow);
}

.button.secondary,
.social-links a {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.section {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 5vw, 86px);
  border-bottom: 1px solid var(--line);
}

.about-section,
.split-section,
.social-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.section-heading {
  max-width: 620px;
}

h2 {
  margin-bottom: 0;
  font-size: 4.2rem;
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
}

.section-text {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1.7;
  font-weight: 700;
}

.section-text p {
  margin-bottom: 18px;
}

.section-text p:last-child {
  margin-bottom: 0;
}

.timeline,
.post-grid,
.gallery-grid,
.card-grid,
.media-list,
.tab-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.timeline article,
.post-grid article,
.card-grid article,
.media-list article,
.gallery-tile,
.contact-form {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
}

.timeline span,
.post-grid p,
.card-grid span,
.media-list span {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.timeline h3,
.post-grid h3,
.card-grid h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.timeline p,
.card-grid p,
.media-list p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
  font-weight: 700;
}

.stacked-content {
  display: grid;
  gap: 18px;
}

.compact-grid article {
  min-height: 190px;
}

.update-strip {
  display: grid;
  grid-template-columns: minmax(160px, 0.35fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid rgba(17, 168, 255, 0.34);
  border-radius: 8px;
  background: rgba(17, 168, 255, 0.08);
}

.update-strip p {
  margin: 0;
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
}

.update-strip span {
  color: var(--muted);
  line-height: 1.55;
}

.card-grid {
  margin-top: 34px;
}

.media-list {
  margin-top: 34px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.post-grid {
  margin-top: 34px;
}

.post-grid article {
  min-height: 260px;
}

.post-grid h3 {
  font-size: 2.2rem;
  line-height: 1.05;
}

.gallery-grid {
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.tab-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 34px;
}

.tab-grid a {
  display: grid;
  place-items: center;
  min-height: 54px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
  text-align: center;
}

.tab-grid a:hover,
.tab-grid a:focus-visible {
  border-color: var(--blue);
  color: var(--text);
}

.gallery-tile {
  min-height: 260px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--text);
  font-size: 2.3rem;
  font-weight: 900;
}

.gallery-tile:not(.logo-tile):not(.photo-tile) {
  background:
    linear-gradient(135deg, rgba(17, 168, 255, 0.34), rgba(255, 255, 255, 0.04)),
    var(--panel);
}

.logo-tile,
.photo-tile {
  background: #ffffff;
}

.logo-tile img,
.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-links {
  align-content: start;
}

.social-links a {
  min-width: 136px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
}

.platform-grid a {
  justify-content: flex-start;
  gap: 12px;
  min-height: 62px;
}

.platform-grid span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--blue);
  color: #00111f;
  font-size: 0.78rem;
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 18px;
  min-height: auto;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  padding: 14px 16px;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(17, 168, 255, 0.16);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  width: fit-content;
  cursor: pointer;
  font: inherit;
}

.site-footer {
  display: grid;
  gap: 34px;
  padding: 48px clamp(18px, 5vw, 86px);
  color: var(--muted);
  background: #010408;
}

.site-footer p {
  margin: 0;
  max-width: 440px;
  line-height: 1.6;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 1.4rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.footer-grid nav {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-grid h3 {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 900;
}

.footer-grid a {
  color: var(--muted);
  font-weight: 700;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: var(--blue);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .navigation {
    justify-content: flex-start;
  }

  .hero,
  .about-section,
  .split-section,
  .social-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-photo {
    min-height: 520px;
  }

  h1 {
    font-size: 4.8rem;
  }

  h2 {
    font-size: 3.4rem;
  }

  .post-grid h3,
  .gallery-tile {
    font-size: 1.8rem;
  }

  .gallery-grid,
  .timeline,
  .post-grid,
  .card-grid,
  .media-list,
  .tab-grid,
  .platform-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .update-strip {
    grid-template-columns: 1fr;
  }

  .logo-tile {
    grid-column: span 2;
  }
}

@media (max-width: 620px) {
  .brand-mark {
    font-size: 1.1rem;
  }

  .navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 6px 16px;
  }

  .navigation a {
    min-height: 34px;
  }

  h1 {
    font-size: 2.5rem;
    line-height: 1;
  }

  h2 {
    font-size: 2.35rem;
    line-height: 1.05;
  }

  .hero-photo {
    min-height: 360px;
  }

  .section-text {
    font-size: 1.05rem;
  }

  .post-grid h3,
  .gallery-tile {
    font-size: 1.45rem;
  }

  .timeline,
  .post-grid,
  .gallery-grid,
  .card-grid,
  .media-list,
  .tab-grid,
  .platform-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .logo-tile,
  .photo-tile {
    grid-column: auto;
  }

  .gallery-tile,
  .post-grid article,
  .timeline article,
  .card-grid article,
  .media-list article {
    min-height: 190px;
  }

  .site-footer {
    align-items: flex-start;
  }
}
