/* ------------------------------------------------------------------
   Ascending AI — styles
   Breakpoints: desktop ≥1200px, tablet 810–1199px, phone ≤809px
------------------------------------------------------------------- */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../assets/fonts/PlusJakartaSans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../assets/fonts/PlusJakartaSans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../assets/fonts/DMSans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../assets/fonts/DMSans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../assets/fonts/Manrope-latin.woff2") format("woff2");
}

:root {
  --font-sans: "Plus Jakarta Sans", "Plus Jakarta Sans Placeholder", sans-serif;
  --font-dm: "DM Sans", "DM Sans Placeholder", sans-serif;
  --font-manrope: "Manrope", "Manrope Placeholder", sans-serif;

  --ink: rgb(33, 33, 33);
  --ink-2: rgb(34, 34, 34);
  --ink-3: rgb(18, 18, 18);
  --ink-soft: rgba(33, 33, 33, 0.8);
  --ink-soft-2: rgba(27, 29, 31, 0.8);
  --line: rgba(27, 29, 31, 0.2);
  --line-light: rgba(255, 255, 255, 0.2);
  --nav-line: rgba(204, 204, 204, 0.5);
  --white: rgb(255, 255, 255);
  --white-soft: rgb(242, 242, 242);
  --overlay: rgba(27, 29, 31, 0.6);
  --accent: rgb(232, 72, 28);

  --container: 1200px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
video { display: block; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.phone-only { display: none; }

.line {
  width: 100%;
  height: 1px;
  background: var(--line);
}

/* ------------------------------------------------------------------
   Navigation (desktop / tablet)
------------------------------------------------------------------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  color: var(--white);
}

.nav--wide {
  height: 66px;
  padding: 16px 60px;
  display: flex;
  justify-content: center;
}

.nav--wide::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--nav-line);
  pointer-events: none;
}

.nav__inner {
  width: 100%;
  max-width: var(--container);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: block;
  width: 217px;
  height: 34px;
  color: var(--white);
}
.nav__logo svg { display: block; width: 100%; height: 100%; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__links a {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--white-soft);
  white-space: pre;
}

/* ------------------------------------------------------------------
   Navigation (phone)
------------------------------------------------------------------- */

.nav--phone {
  display: none;
  flex-direction: column;
  background: transparent;
  transition: background-color 0.3s ease;
}

.nav--phone.is-open {
  background: var(--white);
  color: var(--ink);
  padding-bottom: 24px;
}

.nav__bar {
  height: 70px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav--phone .nav__logo {
  width: 185px;
  height: 29px;
}
.nav--phone.is-open .nav__logo { color: rgb(0, 0, 0); }

.nav__toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 18px;
}

.nav__toggle-label {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  white-space: pre;
}
.nav--phone.is-open .nav__toggle-label {
  font-family: var(--font-dm);
  color: var(--ink);
}

.nav__toggle-icon {
  position: relative;
  width: 32px;
  height: 8px;
  display: block;
}
.nav__toggle-icon i {
  position: absolute;
  height: 1px;
  width: 24px;
  background: rgba(255, 255, 255, 0.8);
  transition: transform 0.3s ease, width 0.3s ease, top 0.3s ease, left 0.3s ease, right 0.3s ease, background-color 0.3s ease;
}
.nav__toggle-icon i:first-child { top: 0; right: 8px; }
.nav__toggle-icon i:last-child { top: 7px; left: 8px; }

.nav--phone.is-open .nav__toggle-icon { width: 16px; height: 16px; }
.nav--phone.is-open .nav__toggle-icon i {
  width: 16px;
  top: 7.5px;
  left: 0;
  right: auto;
  background: var(--ink);
}
.nav--phone.is-open .nav__toggle-icon i:first-child { transform: rotate(45deg); }
.nav--phone.is-open .nav__toggle-icon i:last-child { transform: rotate(-45deg); }

.nav__menu {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 30px 20px 20px;
}
.nav--phone.is-open .nav__menu { display: flex; }

.nav__menu > a:not(.btn) {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-3);
  white-space: pre;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 64px;
  background: rgb(0, 0, 0);
  color: var(--white);
  font-family: var(--font-manrope);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  overflow: hidden;
}
.btn svg { width: 16px; height: 16px; display: block; }

/* ------------------------------------------------------------------
   Hero
------------------------------------------------------------------- */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__cover {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 250px 50px 50px;
  background: var(--overlay);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.hero__inner {
  width: 100%;
  max-width: var(--container);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.hero__content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.hero__title {
  max-width: 650px;
  color: var(--white);
  font-size: 64px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: pre-wrap;
}

.hero__line {
  width: 100%;
  height: 1px;
  background: var(--line-light);
}

.hero__action {
  width: 100%;
  height: 44px;
}

/* ------------------------------------------------------------------
   Mission & Vision
------------------------------------------------------------------- */

.mission {
  padding: 30px 50px;
  background: linear-gradient(180deg, rgb(151, 160, 165) -108%, rgb(255, 255, 255) 100%);
  display: flex;
  justify-content: center;
}

.mission__inner {
  width: 100%;
  max-width: var(--container);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mission__cols {
  display: flex;
  gap: 120px;
}

.mission__col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mission__label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mission__square {
  flex: none;
  width: 12px;
  height: 12px;
  background: var(--ink);
}

.mission__label p {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: pre;
}

.mission__body {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.mission__col--mission .mission__body { max-width: 470px; }

/* ------------------------------------------------------------------
   "Getting excited about?" slideshow
------------------------------------------------------------------- */

.excited {
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.excited__kicker {
  text-align: center;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink-3);
}

.slideshow {
  position: relative;
  height: 43px;
  width: 100%;
  overflow: hidden;
}

.slideshow__track {
  --gap: 10px;
  display: flex;
  align-items: center;
  gap: var(--gap);
  height: 100%;
  will-change: transform;
}

.slideshow__track li {
  flex: none;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slideshow__track p {
  font-size: 29px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink-3);
  white-space: pre;
}

/* ------------------------------------------------------------------
   Feature video
------------------------------------------------------------------- */

.feature {
  padding: 21px 24px;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.feature__video {
  width: 100%;
  height: 550px;
  border-radius: 12px;
  object-fit: cover;
  background: rgba(0, 0, 0, 0);
}

/* ------------------------------------------------------------------
   Footer
------------------------------------------------------------------- */

.footer {
  padding-top: 20px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 27px;
  overflow: hidden;
}

.ticker {
  width: 100%;
  height: 167px;
  opacity: 0.3;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ticker__track {
  --gap: 30px;
  display: flex;
  align-items: center;
  gap: var(--gap);
  will-change: transform;
}

.ticker__track li {
  flex: none;
  font-size: 140px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink-2);
  white-space: pre;
}

.line--full { width: 100%; }

.footer__main {
  width: 100%;
  padding: 30px 50px;
  display: flex;
  justify-content: center;
}

.footer__inner {
  width: 100%;
  max-width: var(--container);
  display: flex;
  flex-direction: column;
  gap: 42px;
}

.footer__grid {
  display: flex;
  align-items: flex-start;
  gap: 50px;
}

.footer__about {
  width: 480px;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.footer__label {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: pre;
}

.footer__email {
  position: relative;
  display: inline-block;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink-2);
  transition: color 0.2s ease;
}
.footer__email::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
}
.footer__email:hover { color: var(--accent); }

.footer__widget {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.footer__social {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.footer__link {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: color 0.2s ease;
}
.footer__link:hover { color: var(--accent); }

.footer__address {
  width: 40%;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.footer__address p {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-soft-2);
  white-space: pre;
}

.footer__copyright {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ------------------------------------------------------------------
   Reveal animations
------------------------------------------------------------------- */

.split .word { display: inline-block; white-space: nowrap; }
.split .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.split.is-visible .char { opacity: 1; transform: none; }

.fade {
  opacity: 0;
  transition: opacity 0.4s ease-out 0.45s;
}
.fade.is-visible { opacity: 1; }

.reveal-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal-up.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .split .char, .fade, .reveal-up { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ------------------------------------------------------------------
   Tablet: 810px – 1199px
------------------------------------------------------------------- */

@media (max-width: 1199.98px) {
  .nav--wide { padding: 16px 32px; }

  .hero__cover { padding: 150px 30px 40px; }
  .hero__title { max-width: none; }

  .mission { padding: 64px 40px; }
  .mission__inner { gap: 40px; }
  .mission__cols { gap: 44px; }

  .slideshow__track p { font-size: 23px; }

  .footer { padding-top: 80px; }
  .footer__main { padding: 80px 30px 25px; }
  .footer__inner { gap: 80px; }
  .footer__grid { flex-direction: column; gap: 50px; }
  .footer__about { width: 100%; }
  .footer__widget { width: 100%; gap: 20px; }
}

/* ------------------------------------------------------------------
   Phone: ≤ 809px
------------------------------------------------------------------- */

@media (max-width: 809.98px) {
  .phone-only { display: inline; }

  .nav--wide { display: none; }
  .nav--phone { display: flex; }

  .hero__cover { padding: 125px 20px 40px; }
  .hero__title {
    font-size: 44px;
    letter-spacing: -0.02em;
  }

  .mission { padding: 40px 16px; }
  .mission__inner { gap: 32px; }
  .mission__cols { flex-direction: column; gap: 40px; }
  .mission__col--mission .mission__body { max-width: none; }

  .excited { padding: 5px 0; gap: 0; }
  .slideshow { height: 50px; }
  .slideshow__track p { font-size: 14px; white-space: normal; text-align: center; padding: 0 16px; }

  .feature { padding: 45px 24px; }
  .feature__video { height: 400px; }

  .footer { padding-top: 42px; }
  .ticker { height: 95px; }
  .ticker__track li { font-size: 64px; }

  .footer__main { padding: 42px 20px 20px; }
  .footer__inner { gap: 42px; }
  .footer__widget { flex-direction: column; gap: 50px; }
  .footer__social { width: 100%; }
  .footer__address { width: 100%; }
  .footer__copyright { text-align: center; }
}
