/* ——— FONTS ——— */
@font-face {
  font-family: 'Space Grotesk';
  src: url('/SpaceGrotesk-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/Satoshi-Variable.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-display: swap;
}

/* ——— COLOR VARIABLES ——— */
:root {
  --black: #000;
  --white: #fff;
}

/* ——— GLOBAL RESET ——— */
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--black);
  background: var(--white);
}

/* ========== HEADER ========== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 72px;
  background: var(--black); color: var(--white);
  border-bottom: 1px solid var(--white);
  transition: transform .35s, background .25s, color .25s, border-color .25s;
  z-index: 10000;
}
.site-header.hide { transform: translateY(-120%); }
.site-header.is-light {
  background: var(--white); color: var(--black); border-color: var(--black);
}
.left { display: flex; align-items: center; gap: .75rem; }
.logo { height: 32px; width: auto; }
.logo.black { display: none; }
.site-header.is-light .logo.white { display: none; }
.site-header.is-light .logo.black { display: block; }
.brand { font-size: 1.125rem; font-weight: 500; letter-spacing: .3px; }
.nav-links {
  display: flex; gap: 3rem; list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  text-decoration: none; color: inherit;
  font-size: 1rem; font-weight: 500;
  transition: opacity .25s;
}
.nav-links a:hover { opacity: .75; }
.btn-cta {
  padding: .65rem 2rem; border: 2px solid var(--white);
  border-radius: 3px; font-weight: 500;
  transition: background .25s, color .25s;
}
.btn-cta:hover { background: var(--white); color: var(--black); }
.site-header.is-light .btn-cta {
  border-color: var(--black); color: var(--black);
}
.site-header.is-light .btn-cta:hover {
  background: var(--black); color: var(--white);
}

/* ========== HERO ========== */
.hero {
  position: relative; height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: var(--black); color: var(--white);
  overflow: hidden; text-align: center;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .8s ease;
}
.hero-video.show { opacity: 1; }
.hero-title {
  position: relative; z-index: 2;
  font-size: 96px; font-weight: 500; line-height: 1.1;
  opacity: 0; transform: translateY(20px);
  animation: fadeInUp .9s ease-out forwards .4s;
}
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
.scroll-down {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  font-size: 42px; animation: bounce 1.8s infinite ease-in-out;
  color: var(--white); z-index: 2;
}
@keyframes bounce {
  0%,100% { transform: translate(-50%,0); }
  50%     { transform: translate(-50%,10px); }
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(0,0,0,.35); pointer-events: none; z-index: 1;
}
@media (max-width: 600px) {
  .hero-title { font-size: 48px; }
}

/* ========== MISSION ========== */
.mission {
  background: #EEE7E3; padding: 120px clamp(4vw,8vw,160px);
  display: grid; grid-template-columns: 1fr; gap: 3rem;
}
@media (min-width: 900px) {
  .mission { grid-template-columns: minmax(320px,1.4fr) 1.6fr; }
}
.mission-left { max-width: 620px; }
.mission-right { max-width: 640px; }
.mission-kicker {
  font-size: 26px; font-weight: 500; margin-bottom: 2rem;
}
.mission-headline {
  font-family: 'Satoshi', sans-serif;
  font-weight: 500; font-size: 72px; line-height: 1.12; margin: 0;
}
.mission-right p {
  font-family: 'Satoshi', sans-serif;
  font-weight: 400; font-size: 22px; line-height: 1.65;
  margin: 0 0 2.2rem;
}
.btn-outline {
  display: inline-block; padding: .9rem 3rem;
  border: 2px solid var(--black); border-radius: 3px;
  font-weight: 500; font-size: 18px; text-decoration: none;
  color: var(--black); transition: background .25s, color .25s;
}
.btn-outline:hover { background: var(--black); color: var(--white); }

/* ========== TECH ========== */
.tech {
  background: #EEE7E3; padding: 120px clamp(4vw,8vw,160px);
}
.tech-grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
}
@media (min-width: 900px) {
  .tech-grid {
    grid-template-columns: minmax(320px,1.4fr) 1.6fr;
    column-gap: 6vw;
  }
}
.tech-kicker {
  font-size: 26px; font-weight: 500; margin-bottom: 2rem;
}
.tech-headline {
  font-family: 'Satoshi', sans-serif;
  font-weight: 500; font-size: 72px; line-height: 1.12;
  margin-bottom: 3.5rem;
}
.tech-steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: 3rem;
}
@media (min-width: 900px) {
  .tech-steps {
    grid-template-columns: repeat(2,1fr);
    gap: 4rem 5rem;
  }
}
.tech-steps li { max-width: 540px; }
.step-num {
  font-weight: 700; font-size: 20px; margin-bottom: .75rem;
}
.tech-steps h4 {
  font-family: 'Satoshi', sans-serif;
  font-weight: 500; font-size: 22px; margin-bottom: .5rem;
}
.tech-steps p {
  font-family: 'Satoshi', sans-serif;
  font-size: 18px; line-height: 1.6;
}
.tech-cta {
  text-align: center; margin-top: 5.5rem;
}
.btn-solid {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 3rem; border: 2px solid var(--black);
  border-radius: 3px; background: var(--black);
  color: var(--white); font-weight: 500;
  font-size: 18px; text-decoration: none;
  transition: background .25s, color .25s;
}
.btn-solid:hover { background: var(--white); color: var(--black); }

/* ========== TECH-CARDS ========== */
.tech-cards {
  display: grid; gap: 3rem;
  grid-template-columns: 1fr; margin-top: 4rem;
  padding: 0 1rem;
}
@media (min-width: 900px) {
  .tech-cards { grid-template-columns: repeat(2,1fr); }
}
.tech-cards .feature {
  display: flex; flex-direction: column;
  background: var(--black); color: var(--white);
}
.tech-cards .feature img {
  width: 100%; height: 260px; object-fit: cover;
}
.tech-cards .card-body { padding: 2rem; }
.tech-cards .feature a {
  margin: 0 1.5rem 2rem;
  width: calc(100% - 3rem);
  text-align: center;
  padding: .9rem 2rem;
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
  border-radius: 3px;
  font-weight: 500;
  font-size: 18px;
  text-decoration: none;
  transition: background .25s, color .25s;
}
.tech-cards .feature a:hover {
  background: var(--white); color: var(--black);
}

/* ========== PARTNERSHIPS (VERTICAL CARDS) ========== */
.partnership {
  background: #EEE7E3;
  padding: 120px clamp(4vw,8vw,160px);
}
.partnership-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4vw;
  max-width: 1200px;
  margin: 0 auto;
}
.partnership-info {
  position: sticky; top: 100px;
}
.partnership-kicker {
  font-size: 26px; font-weight: 500; margin-bottom: 1rem;
}
.partnership-headline {
  font-family: 'Satoshi', sans-serif;
  font-weight: 500; font-size: 72px;
  line-height: 1.12; margin-bottom: 2rem;
}
.partnership-cards {
  display: flex; flex-direction: column; gap: 3rem;
}
.partnership-card {
  display: flex; background: var(--black);
  overflow: hidden; height: 300px;
}
.partnership-card img {
  width: 50%; object-fit: cover;
}
.card-content {
  width: 50%; padding: 2rem;
  display: flex; flex-direction: column; justify-content: center;
}
.card-content h3 {
  font-family: 'Satoshi', sans-serif;
  font-weight: 500; font-size: 22px; margin: 0 0 .75rem;
  color: var(--white);
}
.card-content p {
  font-family: 'Satoshi', sans-serif;
  font-size: 18px; line-height: 1.55; margin: 0 0 1.5rem;
  color: var(--white);
}
.btn-demo {
  display: inline-block; padding: .75rem 2rem;
  background: var(--black); border: 2px solid var(--white);
  color: var(--white); font-weight: 500;
  text-decoration: none; transition: background .25s, color .25s;
}
.btn-demo:hover {
  background: var(--white); color: var(--black);
}
@media (max-width: 900px) {
  .partnership-wrapper {
    grid-template-columns: 1fr;
  }
  .partnership-card {
    flex-direction: column; height: auto;
  }
  .partnership-card img,
  .card-content {
    width: 100%;
  }
  .card-content { text-align: center; }
  .btn-demo { margin: 0 auto; }
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--black); color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  padding-top: 3rem;
}
.footer-container {
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: start;
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  gap: 2rem;
}
.footer-brand {
  display: flex; align-items: center; gap: .5rem;
}
.footer-logo { height: 32px; }
.footer-name {
  font-size: 1.25rem; font-weight: 700;
}
.footer-col {
  min-width: 120px;
}
.footer-col h4 {
  margin-bottom: .5rem; font-size: 1rem; font-weight: 500;
}
.footer-col ul {
  list-style: none; margin: 0; padding: 0;
}
.footer-col li { margin: .25rem 0; }
.footer-col a {
  color: var(--white); text-decoration: none;
  font-size: .875rem;
}
.footer-social-cta {
  display: flex; align-items: center; gap: 1.5rem;
}
.footer-social-cta img {
  width: 24px; height: auto;
}
.btn-cta-footer {
  margin-top: 1rem; padding: .75rem 2rem;
  background: transparent; border: 2px solid var(--white);
  border-radius: 3px; color: var(--white);
  text-decoration: none; font-weight: 500;
  transition: background .25s, color .25s;
}
.btn-cta-footer:hover {
  background: var(--white); color: var(--black);
}
.footer-bottom {
  text-align: center; padding: 1.5rem 0;
  font-size: .75rem; border-top: 1px solid #444;
  margin-top: 3rem;
}
@media (max-width: 640px) {
  .footer-container {
    flex-direction: column; text-align: center; align-items: center;
  }
  .footer-social-cta {
    flex-direction: row; justify-content: center;
  }
}
