* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  background: #fafafa;
  color: #111;
  line-height: 1.6;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eee;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.nav-name a {
  text-decoration: none;
  color: black;
}

.nav-name {
  font-weight: 600;
}

.nav-links a {
  margin-left: 20px;
  text-decoration: none;
  color: #555;
  font-size: 14px;
}

.nav-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  width: 100%;
}

.hamburger {
  display: none; 
}

/* LAYOUT */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0px 20px;
  width: 100%;
}

.narrow {
  max-width: 700px;
}

.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0; 
  scroll-margin-top: 80px;
  background: #fff;
}

.section.alt {
  background: #f5f5f5;
}

.section.center {
  align-items: center;
  text-align: left; /* or center if you want */
}

.section.center h2, 
.section.center h3 {
  text-align: center;
}

.section.center p.center {
  text-align: center;
}

.section.top {
  align-items: flex-start;
  padding-top: 120px;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  background: #fff;
  text-align: left;
  padding-top: 120px;

  background: linear-gradient(rgba(255,255,255,0.05), rgba(255,255,255,0.15)), url("https://images.pexels.com/photos/6153068/pexels-photo-6153068.jpeg");
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

h1, .subhead { 
  text-shadow: 0 1px 8px rgba(255,255,255,0.6); 
}

h1 {
  font-size: 65px;
  line-height: 1.2;
  max-width: 800px;
}

.subhead {
  margin-top: 20px;
  font-weight: 500;
}

.meta {
  margin-top: 24px;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  background: #2a2a2a;
  padding: 10px 28px;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.2s;
}

/* TYPOGRAPHY */
h2 {
  font-size: 26px;
  margin-bottom: 30px;
}

h3 {
  margin-top: 20px;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.card {
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: white;
  text-align: center;
}

/* COLUMNS */
.columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.col {
  align-items: center;
  display: flex;
}

.col img {
  display: block;
  width: 100%; /* Ensure it takes up space */
  height: auto;
  border-radius: 8px;
  opacity: 0.8;
}

/* MEDIA */
.media-list {
  margin-bottom: 20px;
}

.video-container {
  position: relative;
  width: 100%;
}

.video-container video {
  width: 100%;
  display: block;
  border-radius: 12px;
}

#unmuteBtn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-family: sans-serif;
  transition: background 0.3s;
}

#unmuteBtn:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* The actual iframe or video element */
.video iframe, 
.video video {
  max-width: 1000px; /* Optional: keeps it from getting too huge on desktop */
  width: 100%;
  aspect-ratio: 16 / 9; /* Maintains standard widescreen shape automatically */
  border-radius: 12px;
  border: none;
  display: block; /* Removes tiny bottom gap */
  align-items: center;
  justify-content: center;
}

/* LOGOS */
.logos-outer {
  display: flex;
  justify-content: center;
}
.logos {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  flex-wrap: wrap; 
}

.logos img {
  height: 50px; /* Set your desired uniform height */
  width: auto; /* Keeps the original proportions */
  max-width: 200px; /* Prevents long logos from taking too much space */
  object-fit: contain; /* Ensures the image fits within the bounds */
  filter: grayscale(100%); /* Optional: makes them all look cohesive */ 
  opacity: 0.8;
}
.logos img.small {
  height: 28px;
}
.logos img.xsmall {
  height: 20px;
}

.links-outer {
  justify-content: center;
  align-items: center;
  text-align: center;
  color: grey;
}
.links-outer h3 {
  padding-top: 30px;
}

/* MOBILE */
@media (max-width: 768px) {
  h1 {
    font-size: 40px;
  }
 
  h2 {
    font-size: 24px;
  }
 
  h3 {
    font-size: 18px;
  }
 
  body {
    font-size: 16px;
  }
 
  .nav-links {
    display: none;
  }
 
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 56px;
    right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(8px);
    border-left: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 16px 24px;
    gap: 12px;
    z-index: 100;
    min-width: 180px;
  }
 
  .nav-links.open a {
    margin-left: 0;
    font-size: 16px;
  }
 
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
  }
 
  .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #111;
    border-radius: 2px;
    transition: all 0.2s;
  }
 
  .hero {
    padding-top: 80px;
    min-height: 70vh;
  }
 
  .section {
    padding: 60px 0;
    min-height: unset;
  }
 
  .section.top {
    padding-top: 60px;
  }
 
  .columns {
    grid-template-columns: 1fr;
    gap: 40px;
  }
 
  .grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
 
  .card {
    padding: 18px;
    font-size: 15px;
  }
 
  .logos {
    gap: 20px;
  }
 
  .logos img {
    height: 32px;
    max-width: 100px;
  }
 
  .logos img.small {
    height: 20px;
  }
 
  .video iframe,
  .video video {
    border-radius: 8px; /* Slightly smaller corners for smaller screens */
    /* Height will auto-adjust based on the aspect-ratio above */
  }
 
  .container {
    padding: 0 20px;
  }
 
  .subhead {
    font-size: 16px;
  }
 
  p {
    font-size: 16px;
  }
}
