
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600;700;800;900&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --black: #050505;
  --graphite: #111111;
  --white: #f2f2f2;
  --silver: #929292;
  --muted: #656565;
  --line: rgba(255,255,255,.12);
  --display: 'Barlow Condensed', sans-serif;
  --body: 'Manrope', sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background: var(--black);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button {
  color: inherit;
  font: inherit;
}

::selection {
  color: #050505;
  background: #f2f2f2;
}

/* PRELOADER */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
  background: #050505;
  transition: opacity .8s var(--ease), visibility .8s;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo {
  font: 900 78px/.8 var(--display);
  letter-spacing: -7px;
  animation: logoBreath 1.5s ease-in-out infinite alternate;
}

.preloader-logo span {
  color: var(--silver);
}

.preloader-line {
  width: 140px;
  height: 1px;
  overflow: hidden;
  background: #252525;
}

.preloader-line span {
  display: block;
  width: 100%;
  height: 100%;
  background: white;
  transform: translateX(-100%);
  animation: loading 1.8s var(--ease) forwards;
}

.preloader p {
  color: #777;
  font-size: 8px;
  letter-spacing: 4px;
}

@keyframes loading {
  to { transform: translateX(0); }
}

@keyframes logoBreath {
  to { opacity: .4; }
}

/* BACKGROUND SCENE */

.background-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #050505;
}

.scene-gradient {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse at 70% 40%, rgba(120,120,120,.12), transparent 35%),
    radial-gradient(ellipse at 25% 80%, rgba(75,75,75,.12), transparent 35%),
    radial-gradient(ellipse at 50% 20%, rgba(255,255,255,.045), transparent 45%);
  animation: atmosphere 18s ease-in-out infinite alternate;
}

@keyframes atmosphere {
  from { transform: scale(1) translate3d(-2%,0,0); }
  to { transform: scale(1.12) translate3d(2%,2%,0); }
}

.scene-grid {
  position: absolute;
  inset: -50%;
  opacity: .13;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 90px 90px;
  transform: perspective(750px) rotateX(58deg) scale(1.5);
  mask-image: linear-gradient(to bottom, transparent 10%, black 55%, transparent 90%);
  animation: gridDrift 35s linear infinite;
}

@keyframes gridDrift {
  to { background-position: 0 180px; }
}

.scene-light {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(130px);
  opacity: .12;
}

.scene-light-one {
  top: -350px;
  right: -100px;
  background: #e4e4e4;
  animation: lightFloat 15s ease-in-out infinite alternate;
}

.scene-light-two {
  bottom: -450px;
  left: -150px;
  background: #777;
  animation: lightFloat 19s ease-in-out infinite alternate-reverse;
}

@keyframes lightFloat {
  to { transform: translate(120px,100px) scale(1.3); }
}

.scene-ring {
  position: absolute;
  top: 38%;
  left: 67%;
  width: min(60vw,850px);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 50%;
  transform: translate(-50%,-50%);
}

.scene-ring-one {
  animation: ringRotate 65s linear infinite;
}

.scene-ring-two {
  width: min(45vw,650px);
  border-style: dashed;
  opacity: .5;
  animation: ringRotate 90s linear infinite reverse;
}

@keyframes ringRotate {
  to { transform: translate(-50%,-50%) rotate(360deg); }
}

.scene-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(255,255,255,.75);
  box-shadow: 0 0 10px rgba(255,255,255,.6);
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  from { transform: translateY(30px); opacity: 0; }
  15% { opacity: .65; }
  85% { opacity: .35; }
  to { transform: translateY(-180px); opacity: 0; }
}

/* PAGE */

.page-shell {
  position: relative;
  z-index: 1;
}

/* TOP BAR */

.topbar {
  position: absolute;
  z-index: 20;
  top: 25px;
  left: 5%;
  width: 90%;
  height: 76px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 13px;
  background: rgba(15,15,15,.55);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 12px 50px rgba(0,0,0,.2);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.brand-logo {
  font: 900 40px/.8 var(--display);
  letter-spacing: -5px;
}

.brand-logo span {
  color: var(--silver);
}

.brand-text {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}

.brand-text small {
  display: block;
  margin-top: 5px;
  color: var(--silver);
  font-size: 7px;
  letter-spacing: 2px;
}

.topbar-center {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #999;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 2px;
}

.online-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ddd;
  box-shadow: 0 0 10px #fff;
  animation: indicatorPulse 2s infinite;
}

@keyframes indicatorPulse {
  50% { opacity: .25; }
}

.menu-button {
  width: 43px;
  height: 43px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
  cursor: pointer;
  transition: background .3s;
}

.menu-button:hover {
  background: rgba(255,255,255,.12);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 1px;
  background: white;
  transition: transform .3s, width .3s;
}

.menu-button span:last-child {
  width: 12px;
  margin-left: 6px;
}

.menu-button.active span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-button.active span:last-child {
  width: 18px;
  margin: 0;
  transform: translateY(-4px) rotate(-45deg);
}

/* HERO */

.hero {
  position: relative;
  min-height: 760px;
  height: 100svh;
  max-height: 1080px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 125px 9% 95px;
  animation: heroEnter 1.2s .3s var(--ease) both;
}

@keyframes heroEnter {
  from { opacity: 0; transform: translateY(35px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 30px;
  color: #aaa;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
}

.hero-label-line {
  width: 30px;
  height: 1px;
  background: white;
}

.hero-title-wrap {
  position: relative;
  width: fit-content;
  max-width: 100%;
}

.hero-title {
  position: relative;
  z-index: 2;
  font: 900 clamp(100px, 17.5vw, 245px)/.77 var(--display);
  letter-spacing: -.055em;
  white-space: nowrap;
  text-shadow: 0 15px 70px rgba(255,255,255,.08);
}

.hero-title-outline {
  position: absolute;
  top: 13px;
  left: 12px;
  z-index: 1;
  color: transparent;
  font: 900 clamp(100px, 17.5vw, 245px)/.77 var(--display);
  letter-spacing: -.055em;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(255,255,255,.12);
  transform: translateY(15px);
}

.hero-description {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: center;
  gap: 6px 20px;
  margin-top: 42px;
}

.description-mark {
  grid-row: span 2;
  color: #777;
  font-size: 9px;
  letter-spacing: 2px;
}

.hero-description p {
  font: 600 18px var(--display);
  letter-spacing: 4px;
}

.description-sub {
  color: var(--silver);
  font-size: 8px;
  letter-spacing: 3px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.primary-button,
.secondary-button {
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  transition: .35s var(--ease);
}

.primary-button {
  color: #080808;
  background: #f2f2f2;
  border: 1px solid #f2f2f2;
}

.primary-button span {
  font-size: 17px;
}

.primary-button:hover {
  color: white;
  background: transparent;
  transform: translateY(-3px);
}

.secondary-button {
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.025);
  color: #bbb;
}

.secondary-button span {
  font-size: 15px;
}

.secondary-button:hover {
  color: white;
  border-color: white;
  background: rgba(255,255,255,.08);
}

.hero-decoration {
  position: absolute;
  top: 50%;
  right: 7%;
  width: 39vw;
  max-width: 570px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  pointer-events: none;
}

.decoration-symbol {
  color: rgba(255,255,255,.035);
  font: 900 clamp(180px, 31vw, 450px)/.8 var(--display);
  letter-spacing: -.12em;
  animation: symbolFloat 8s ease-in-out infinite alternate;
}

@keyframes symbolFloat {
  to { transform: translateY(-18px) rotate(-4deg); }
}

.decoration-caption {
  position: absolute;
  right: 0;
  bottom: 10%;
  color: #666;
  font-size: 7px;
  letter-spacing: 3px;
  writing-mode: vertical-rl;
}

.hero-side-info {
  position: absolute;
  top: 50%;
  right: 3%;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #777;
  font-size: 8px;
  letter-spacing: 2px;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
}

.hero-side-info > span:first-child {
  color: white;
}

.side-line {
  width: 1px;
  height: 50px;
  background: #555;
}

.hero-bottom-info {
  position: absolute;
  right: 9%;
  bottom: 36px;
  left: 9%;
  display: flex;
  justify-content: space-between;
  color: #777;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 2px;
}

/* NAVIGATION SECTION */

.navigation-section {
  padding: 105px 7% 85px;
  border-bottom: 1px solid var(--line);
}

.navigation-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 42px;
}

.section-eyebrow {
  color: var(--silver);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 3px;
}

.navigation-heading h2 {
  margin-top: 14px;
  font: 800 clamp(43px, 7vw, 83px)/.9 var(--display);
  letter-spacing: -.025em;
}

.navigation-heading h2 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.7);
}

.navigation-controls {
  display: flex;
  gap: 8px;
}

.scroll-button {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: .3s;
}

.scroll-button:hover {
  color: black;
  background: white;
}

.navigation-track {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 5px 2px 20px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #555 transparent;
  -webkit-overflow-scrolling: touch;
}

.navigation-track::-webkit-scrollbar {
  height: 3px;
}

.navigation-track::-webkit-scrollbar-track {
  background: rgba(255,255,255,.06);
}

.navigation-track::-webkit-scrollbar-thumb {
  background: #777;
}

.navigation-card {
  position: relative;
  flex: 0 0 clamp(230px, 28vw, 340px);
  min-width: 0;
  height: 260px;
  padding: 23px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 12px;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(255,255,255,.12), transparent 45%),
    linear-gradient(145deg,#191919,#090909 70%);
  scroll-snap-align: start;
  isolation: isolate;
  transition: border-color .4s, transform .4s var(--ease), background .4s;
}

.navigation-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,.1));
  opacity: 0;
  transition: opacity .5s;
}

.navigation-card::after {
  content: '';
  position: absolute;
  z-index: -1;
  top: -45%;
  right: -35%;
  width: 90%;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  box-shadow: 0 0 0 25px rgba(255,255,255,.018), 0 0 0 55px rgba(255,255,255,.015);
  transition: transform .7s var(--ease);
}

.navigation-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255,255,255,.45);
}

.navigation-card:hover::before {
  opacity: 1;
}

.navigation-card:hover::after {
  transform: scale(1.2) rotate(15deg);
}

.card-number {
  position: absolute;
  top: 23px;
  left: 23px;
  color: #888;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 2px;
}

.card-icon {
  position: absolute;
  top: 50px;
  right: 28px;
  color: rgba(255,255,255,.09);
  font: 900 100px/.8 var(--display);
  letter-spacing: -8px;
  transition: transform .5s, color .5s;
}

.navigation-card:hover .card-icon {
  color: rgba(255,255,255,.18);
  transform: scale(1.1) rotate(-5deg);
}

.card-title {
  font: 800 43px/.9 var(--display);
  letter-spacing: -.5px;
}

.card-description {
  margin-top: 10px;
  color: #888;
  font-size: 8px;
  letter-spacing: 2px;
}

.card-arrow {
  position: absolute;
  right: 23px;
  bottom: 23px;
  font-size: 20px;
  transition: transform .3s;
}

.navigation-card:hover .card-arrow {
  transform: translate(4px,-4px);
}

.navigation-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  color: #777;
  font-size: 8px;
  letter-spacing: 2px;
}

/* FOOTER */

.footer {
  min-height: 105px;
  padding: 25px 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-logo {
  font: 800 23px var(--display);
  letter-spacing: 2px;
}

.footer-logo span {
  margin-left: 4px;
  color: #777;
  font-size: 9px;
  vertical-align: top;
}

.footer > span {
  color: #777;
  font-size: 8px;
  letter-spacing: 2px;
}

/* MENU OVERLAY */

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 15;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 12% 60px;
  background: rgba(5,5,5,.96);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s, visibility .45s;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.overlay-navigation {
  display: flex;
  flex-direction: column;
  max-width: 800px;
}

.overlay-navigation a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font: 700 clamp(35px, 6vw, 65px)/1 var(--display);
  transition: padding .3s, color .3s;
}

.overlay-navigation a:hover {
  padding-left: 15px;
  color: #aaa;
}

.overlay-navigation a span {
  color: #777;
  font: 500 10px var(--body);
  letter-spacing: 2px;
}

.overlay-caption {
  position: absolute;
  bottom: 35px;
  left: 12%;
  color: #777;
  font-size: 8px;
  letter-spacing: 3px;
}

/* REVEAL ANIMATIONS */

.navigation-card {
  animation: cardAppear .8s var(--ease) both;
}

.navigation-card:nth-child(2) { animation-delay: .08s; }
.navigation-card:nth-child(3) { animation-delay: .16s; }
.navigation-card:nth-child(4) { animation-delay: .24s; }
.navigation-card:nth-child(5) { animation-delay: .32s; }
.navigation-card:nth-child(6) { animation-delay: .4s; }

@keyframes cardAppear {
  from { opacity: .3; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* TABLET */

@media (max-width: 900px) {
  .hero-content {
    padding-left: 7%;
  }

  .hero-decoration {
    right: -8%;
    opacity: .7;
  }

  .hero-title {
    font-size: clamp(95px, 17vw, 165px);
  }

  .hero-title-outline {
    font-size: clamp(95px, 17vw, 165px);
  }

  .navigation-section {
    padding-right: 5%;
    padding-left: 5%;
  }

  .navigation-card {
    flex-basis: 290px;
  }
}

/* MOBILE */

@media (max-width: 650px) {
  .topbar {
    top: 14px;
    left: 4%;
    width: 92%;
    height: 64px;
    padding: 0 14px;
  }

  .brand-logo {
    font-size: 34px;
  }

  .brand-text {
    font-size: 9px;
  }

  .topbar-center {
    display: none;
  }

  .hero {
    min-height: 720px;
    height: 100svh;
    max-height: 900px;
  }

  .hero-content {
    padding: 115px 6% 100px;
  }

  .hero-label {
    margin-bottom: 28px;
    font-size: 7px;
    letter-spacing: 2px;
  }

  .hero-title {
    font-size: clamp(68px, 17vw, 112px);
    letter-spacing: -.055em;
  }

  .hero-title-outline {
    top: 8px;
    left: 7px;
    font-size: clamp(68px, 17vw, 112px);
  }

  .hero-decoration {
    top: 43%;
    right: -22%;
    width: 90vw;
    opacity: .6;
  }

  .decoration-symbol {
    font-size: 250px;
  }

  .decoration-caption {
    display: none;
  }

  .hero-side-info {
    display: none;
  }

  .hero-description {
    grid-template-columns: 58px 1fr;
    gap: 7px 10px;
    margin-top: 35px;
  }

  .description-mark {
    font-size: 7px;
  }

  .hero-description p {
    font-size: 15px;
    letter-spacing: 3px;
  }

  .description-sub {
    font-size: 7px;
    letter-spacing: 2px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-top: 28px;
  }

  .primary-button,
  .secondary-button {
    min-height: 47px;
    padding: 0 17px;
    font-size: 8px;
  }

  .hero-bottom-info {
    right: 6%;
    bottom: 25px;
    left: 6%;
    font-size: 7px;
    letter-spacing: 1px;
  }

  .navigation-section {
    padding: 75px 5% 60px;
  }

  .navigation-heading {
    align-items: flex-end;
    margin-bottom: 27px;
  }

  .navigation-heading h2 {
    font-size: clamp(42px, 10vw, 65px);
  }

  .section-eyebrow {
    font-size: 7px;
    letter-spacing: 2px;
  }

  .navigation-controls {
    gap: 5px;
  }

  .scroll-button {
    width: 35px;
    height: 35px;
  }

  .navigation-card {
    flex-basis: min(78vw, 290px);
    height: 235px;
    padding: 19px;
  }

  .card-number {
    top: 19px;
    left: 19px;
    font-size: 7px;
  }

  .card-icon {
    top: 50px;
    right: 20px;
    font-size: 85px;
  }

  .card-title {
    font-size: 38px;
  }

  .card-description {
    font-size: 7px;
  }

  .card-arrow {
    right: 19px;
    bottom: 19px;
  }

  .navigation-footer {
    font-size: 7px;
    letter-spacing: 1px;
  }

  .footer {
    min-height: 85px;
    padding: 20px 5%;
    flex-wrap: wrap;
  }

  .footer-logo {
    font-size: 20px;
  }

  .footer > span {
    font-size: 7px;
    letter-spacing: 1px;
  }

  .footer > span:nth-child(2) {
    display: none;
  }

  .menu-overlay {
    padding: 100px 8% 50px;
  }

  .overlay-navigation a {
    font-size: clamp(35px, 10vw, 48px);
  }

  .overlay-caption {
    left: 8%;
    font-size: 7px;
    letter-spacing: 2px;
  }

  .scene-grid {
    background-size: 55px 55px;
  }

  .scene-ring {
    left: 65%;
    width: 100vw;
  }

  .scene-ring-two {
    width: 75vw;
  }
}

@media (max-width: 370px) {
  .hero-title,
  .hero-title-outline {
    font-size: 64px;
  }

  .hero-description p {
    font-size: 13px;
  }

  .navigation-heading h2 {
    font-size: 40px;
  }

  .navigation-controls {
    display: none;
  }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
