:root {
  --page-gutter: clamp(16px, 6vw, 96px);
  --max-width: 1200px;
}

.page-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
}


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

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
  color: #111;
}

.divider-wrap {
  max-width: 1200px;
  margin: 0 auto;
}

.section-divider {
  width: 60%;
  height: 1px;
  background-color: #ababab;
  margin: 0 auto;
}

.navbar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: transparent;
  transition: background 0.2s ease, backdrop-filter 0.2s ease;
}

.navbar-overlay.scrolled {
  background: rgba(0, 0, 0, 0.222);   /* or white / gradient */
  backdrop-filter: blur(10px);
}

.nav-overlay-inner {
  width: 100%;
  max-width: none;        /* remove the box */
  margin: 0;              /* remove centering */
  padding: 32px var(--page-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  font-size: 18px;
  letter-spacing: 2px;
  font-weight: 500;
  color: #111;
}

.nav-logo span {
  font-weight: 300;
}

/* Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  color: #111;
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.nav-links a:hover {
  opacity: 1;
}

/* Mobile */
@media (max-width: 900px) {
  .nav-overlay-inner {
    padding: 24px;
  }

  .nav-links {
    gap: 20px;
  }
}

/* HERO SECTION */
.hero {
  background: #ffffff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden; /* important */
}

.hero-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

/* TEXT SIDE */
.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-content h1 {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero-content p {
  font-size: 16px;
  font-weight: 300;
  opacity: 0.9;
  max-width: 400px;
}

/* IMAGE SIDE */
.hero-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.hero-image img {
  width: 160%;          /* bigger than container */
  max-width: none;      /* remove restriction */
  height: auto;
  transform: translateX(40%); /* push further right */
}

@media (max-width: 900px) {
  :root {
    --page-gutter: 24px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
    padding-top: 96px;     /* gives space under navbar */
    padding-bottom: 40px;
    overflow: hidden;      /* keep the image bleed clean */
  }

  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .hero-content {
    max-width: 100%;
    margin: 0;
    text-align: left;
    transform: none;       /* kill the old hack */
  }

  .hero-content h1 {
    max-width: 18ch;       /* controls line length */
    font-size: clamp(34px, 9vw, 44px);
  }

  .hero-content p {
    max-width: 34ch;
    font-size: 16px;
  }

  .divider {
    width: 100%;
    max-width: 320px;
  }

  .hero-image {
    width: 180%;
    justify-content: flex-end;
  }

  .hero-image img {
    width: 100%;
    max-width: none;
    transform: translateX(0%); /* pushes it off the right edge */
  }
}

/* Check this, remove whats unnecessary */
@media (max-width: 768px) {
  .navbar {
    padding: 20px 24px;
  }
/*
  .hero-content {
    padding-left: 24px;
    padding-right: 24px;
  }
*/

}




/* Intro Metric Section */

.intro-metric {
  position: relative;
  padding-top: 96px;
  padding: 120px 80px;
  background: #ffffff
}

.intro-metric::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--page-gutter);
  right: var(--page-gutter);
  height: 1px;
  background: rgba(0, 0, 0, 0.267);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.intro-metric h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 300;
  line-height: 1.2;
  margin-left: auto;
  margin-right: auto;
}

.intro-metric p {
  font-size: 16px;
  line-height: 1.7;
  max-width: 420px;
  opacity: 0.85;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .intro-metric {
    padding: 64px 0;
  }

.intro-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    justify-items: center;   /* centers the block */
    text-align: left;        /* text stays left-aligned */
  }

  .intro-metric h2 {
    max-width: 15ch;
    font-size: 34px;
    line-height: 1.1;
    margin-bottom: 6px;
  }

  .intro-metric p {
    font-size: 16px;
    line-height: 1.6;
    max-width: 32ch;
  }
}


.integration-section {
  padding: 120px 80px;
  background: #ffffff;
}
.integration-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: center;
}

.integration-copy h2 {
  font-size: clamp(40px, 4.2vw, 64px);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 22px;
}

.integration-copy p {
  font-size: 16px;
  line-height: 1.7;
  max-width: 420px;
  opacity: 0.85;
}

.integration-visual {
  display: flex;
  justify-content: flex-end;
}

.integration-visual img {
  max-width: 100%;
  height: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  border-radius: 16px;
}

/* Mobile */
@media (max-width: 900px) {
  .integration-section {
    padding: 80px 24px;
  }

  .integration-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .integration-visual {
    justify-content: flex-start;
  }
}

.video-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center; /* Keeps it vertically centered */
  justify-content: flex-start; /* Shifts content to the left */
  overflow: hidden;
  padding: 80px 10%; /* Use % padding to create a consistent "margin" on the left */
  
}

.video-section .video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* This ensures the video fills the area without stretching */
  z-index: 1;
}

.video-overlay-content {
  position: relative;
  z-index: 2;
  max-width: 400px;
  text-align: left; /* Ensures text lines up on the left */
  color: #ffffff;
  /* margin-left: 0; (Optional: only needed if you had margin: auto before) */
}

.video-overlay-content h2 
{
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 16px;
}

/* The Dark Overlay */
.video-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Adjust 0.3 for darkness: 0.1 is very light, 0.9 is almost black */
  background: rgba(0, 0, 0, 0.172); 
  z-index: 2; /* Sits above the video */
  pointer-events: none; /* Allows clicks to pass through to the video if needed */
}

/* IMPORTANT: Ensure your text sits ABOVE the overlay */
.video-overlay-content {
  position: relative;
  z-index: 3; /* Must be higher than the overlay (z-index: 2) */
  color: #000000; /* Switched to white for better contrast on a dark overlay */
}

/* Ensure the video is the bottom layer */
.video-section .video {
  z-index: 1;
}
/* Mobile Adjustments */
@media (max-width: 768px) {
  .video-overlay-content {
  position: relative;
  z-index: 2;
  transform: translateY(150px);
}
.video-overlay-content p{
  /*
  border-radius: 12px;
  background: rgba(214, 214, 214, 0.043);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(5px);
  */
}
}


.mission {
  padding: 160px 80px;
  background: linear-gradient(
    to bottom,
    #f4f4f4 10%,
    #ffffff 40%,
    #ffffff 100%
  );
  text-align: center;
}

.mission-inner {
  max-width: 800px;
  margin: 0 auto;
}

.mission-title {
  font-size: clamp(40px, 4.2vw, 64px);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 28px;
}

.mission-text {
  max-width: 600px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}



@media (max-width: 768px) {
  .mission {
    padding: 72px 20px;
    padding-bottom: 0;
  }

  .mission-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .video-wrapper {
    width: 100%;
    height: 100%;
    margin-top: 12px;
  }

  .video-wrapper {
  width: 65%;        /* make video smaller */
  height: 700px;     /* optional: slightly shorter */
  margin-right: 0;    /* pull it to the left */
}

  /* removes video on small screens */
  .video-wrapper {
    display: none;
  }
  .mission {
    padding: 112px 20px;
  }

  .mission-copy {
    padding: 48px 0;
  }
}




.footer {
  background: #181615;
  color: #ffffff;
  padding: clamp(40px, 8vw, 80px);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.footer-content {
  text-align: center;
}

.footer-logo {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.footer-eyebrow {
  font-size: 14px;
  opacity: 0.6;
  margin: 0 0 8px 0;
}

.footer-heading {
  font-size: clamp(28px, 5vw, 38px);
  font-weight: 400;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.footer-description {
  font-size: 14px;
  opacity: 0.7;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 24px auto;
}

.footer-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  flex-wrap: wrap;
}

.footer-contact-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-contact a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-contact a:hover {
  opacity: 1;
}

.icon-mail,
.icon-phone {
  font-size: 18px;
  display: inline-block;
}

.phone-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
}

.mail-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
}

.footer-location-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  opacity: 0.9;
}

.location-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
}

.footer-divider {
  opacity: 0.5;
}

.footer-divider-line {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 12px;
  opacity: 0.6;
}

.footer-copyright {
  margin: 0;
}

.footer-location {
  margin: 0;
}









.how-it-works-text {
  padding: 120px 80px;
  background: #ECEDE9;
}

.how-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.how-it-works-text h2 {
  /*Thick*/
  font-size: clamp(40px, 4.2vw, 64px);
  font-weight: 600;
  line-height: 1.05;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 300;
  margin-bottom: 64px;
  color:#000000;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}

.how-step {
  max-width: 320px;
}

.how-kicker {
  display: inline-block;
  font-size: 32px;
  letter-spacing: 2px;
  opacity: 0.6;
  margin-bottom: 16px;
  color:#000000;
}

.how-step h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 12px;
  color:#000000;
}

.how-step p {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.85;
  color:#000000;
}

/* Responsive */
@media (max-width: 1000px) {
  .how-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .how-it-works-text {
    padding: 80px 24px;
  }

  .how-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .how-step {
    max-width: none;
  }
}






.logo-ticker {
  background: #f8f6f2; /* match your screenshot vibe */
  padding: 110px 80px;
}

.logo-ticker__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.logo-ticker h2 {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 300;
  margin-bottom: 18px;
  color: #111;
}

.logo-ticker p {
  font-size: 18px;
  font-weight: 300;
  opacity: 0.7;
  margin-bottom: 60px;
  color: #111;
}

.ticker {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: tickerMove 22s linear infinite;
  will-change: transform;
}

.ticker__group {
  display: flex;
  align-items: center;
  gap: 90px;
  padding-right: 90px; /* space between loop groups */
}

.ticker__group img {
  height: 64px;
  width: auto;
  opacity: 0.75;
  filter: grayscale(100%);
}

/* Fade masks */
.ticker__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 18%;
  pointer-events: none;
  z-index: 2;
}

.ticker__fade--left {
  left: 0;
  background: linear-gradient(to right, #f8f6f2 0%, rgba(248,246,242,0) 100%);
}

.ticker__fade--right {
  right: 0;
  background: linear-gradient(to left, #f8f6f2 0%, rgba(248,246,242,0) 100%);
}

@keyframes tickerMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* because we duplicated the group */
}

/* Pause on hover (optional) */
.ticker:hover .ticker__track {
  animation-play-state: paused;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
}

/* Mobile */
@media (max-width: 900px) {
  .logo-ticker { padding: 80px 24px; }
  .ticker__group { gap: 48px; }
  .ticker__group img { height: 28px; }
}




.integration-visual {
  display: flex;
  justify-content: flex-end;
}

/* If the image column is on the left (section 2), align it left */
.integration-inner > .integration-visual:first-child {
  justify-content: flex-start;
}

/* reveal animation */
.js-reveal {
  opacity: 0;
  transform: translate3d(24px, 12px, 0);
  transition: opacity 500ms ease, transform 700ms cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform;
}

.js-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .js-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* Slide-in animation */
.integration-section {
  opacity: 0;
  transform: translateX(80px);
  transition: transform 0.7s ease, opacity 0.7s ease;
  will-change: transform, opacity;
}

.integration-section.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Optional: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .integration-section {
    transition: none;
    transform: none;
    opacity: 1;
  }
}


/* Responsive */
@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .subscribe {
    flex-direction: column;
    align-items: stretch;
  }
  .subscribe input { min-width: 0; }
}

@media (max-width: 520px) {
  .footer-cols { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .footer {
    padding: clamp(32px, 6vw, 60px);
  }

  .footer-inner {
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-copyright,
  .footer-location {
    width: 100%;
  }
}



.split-section {
  display: flex;
  min-height: 70vh; /* controls section height */
  width: 100%;
}

.split-image {
  flex: 0 0 40%; /* image width */
  position: relative;
}

.split-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* critical */
}

.split-content {
  flex: 1;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}



.image-section {
  width: 100%;
  height: 45vh;

  background-image: url("model_shades.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
}

.content {
  margin-left: 10rem;
  max-width: 520px;
  font-size: clamp(40px, 4.2vw, 64px);
  font-weight: 600;
  line-height: 1.05;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 300;
  margin-bottom: 64px;
  margin-top: 100px;
  color:#000000;
}

.content p{
  margin-top: 20px;
  font-size: 18px;
  font-weight: 300;
  opacity: 0.7;
  margin-bottom: 60px;
  color: #000000;
}

/*Fix positioning on mobile*/
/* Mobile image-section */
@media (max-width: 768px) {
  .content {
    margin-top: 40px;
    margin-left: 2rem;
    max-width: 320px;
  }
  .content h2 {
    font-size: clamp(24px, 5vw, 32px);
    margin-bottom: 10px;
    max-width: 200px;

  }

  .content p {
    max-width: 250px;
  }

}

/* Base */
.hamburger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #000;
  margin: 5px 0;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.665);
  backdrop-filter: blur(10px);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.071);
  backdrop-filter: blur(10px);
}

.mobile-menu a {
  padding: 12px 0;
  text-decoration: none;
  color: #111;
  font-size: 18px;
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .mobile-menu.open {
    display: flex;
  }
}


.newsletter {
  padding: 120px var(--page-gutter);
  background: #ffffff;
}

.newsletter-card {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 56px;
  border-radius: 24px;

  color: #000000;

  /* dark glass + subtle glow */
  background:
    radial-gradient(800px 500px at 20% 20%, rgba(89, 89, 89, 0.08), transparent 60%),
    linear-gradient(180deg, #f8f6f2, #f8f6f2);

  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  position: relative;
  overflow: hidden;
}

.newsletter-title {
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-align: center;
}

.newsletter-accent {
  display: inline-block;
  margin-right: 10px;
  color: rgba(0, 0, 0, 0.95);
}

.newsletter-subtitle {
  margin: 0 auto 32px;
  max-width: 720px;
  text-align: center;
  color: rgba(0, 0, 0, 0.72);
  line-height: 1.6;
  font-size: 15px;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.newsletter-input {
  width: min(420px, 100%);
  height: 54px;
  padding: 0 18px;
  border-radius: 14px;

  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #000000;
  outline: none;
}

.newsletter-input::placeholder {
  color: rgba(0, 0, 0, 0.45);
}

.newsletter-input:focus {
  border-color: rgba(0, 0, 0, 0.22);
}

.newsletter-btn {
  height: 54px;
  padding: 0 22px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: -0.01em;

  background: #ffffff;
  color: #111318;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.newsletter-btn:active {
  transform: translateY(1px);
}

/* Mobile */
@media (max-width: 768px) {
  .newsletter {
    padding: 80px 24px;
  }

  .newsletter-card {
    padding: 44px 22px;
    border-radius: 20px;
  }

  .newsletter-form {
    gap: 12px;
  }

  .newsletter-btn,
  .newsletter-input {
    width: 100%;
  }
}