/* Basic reset */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: #ffffff;
  color: #000000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Container for split layout */
.container {
  display: flex;
  min-height: 100vh;
}

/* Desktop: Text section (left half) */
.text-section {
  flex: 0 0 50%;
  padding-top: 120px;
  padding-right: 32px;
  padding-bottom: 80px;
  padding-left: 80px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Desktop: Media section (right half) */
.media-section {
  flex: 0 0 50%;
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.media-section img,
.media-section video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 1;
  transition: opacity 0s ease-in-out;
  z-index: 1;
}

.media-section img.fade-out,
.media-section video.fade-out {
  opacity: 0;
  z-index: 0;
}

.media-section img.fade-in,
.media-section video.fade-in {
  opacity: 0;
  z-index: 2;
}

.media-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  color: #999;
  font-size: 18px;
}

/* Typography */
.hero {
  margin: 0 0 72px 0;
  font-weight: 400;
  font-size: 48px;
  line-height: 1.15;
}

.copy {
  font-size: 40px;
  line-height: 1.3;
}

.label {
  margin: 0 0 16px 0;
  font-weight: 400;
}

.list {
  margin: 0 0 40px 0;
}

.links {
  margin: 0;
  font-size: 30px;
  line-height: 1.35;
}

a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  opacity: 0.75;
}

/* Mobile version: Stacked full-screen sections */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  /* Mobile: Text section (first, full screen) */
  .text-section {
    flex: 0 0 100vh;
    width: 100%;
    min-height: 100vh;
    padding-left: 24px;
    padding-top: 80px;
    padding-right: 24px;
    padding-bottom: 80px;
  }

  /* Mobile: Media section (second, full screen, appears on scroll) */
  .media-section {
    flex: 0 0 100vh;
    width: 100%;
    min-height: 100vh;
    position: relative;
  }

  .hero {
    font-size: 34px;
    margin-bottom: 48px;
  }

  .copy {
    font-size: 20px;
  }

  .links {
    font-size: 16px;
  }
}