.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.hero--404::after {
  background: rgba(0, 0, 0, 0.75);
}

.hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  color: #fff;
}

.hero-title {
  font-family: "Clash Display", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  font-weight: 600;
  font-size: clamp(2rem, 6vw, 5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

.hero-cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  text-decoration: none;
  transition: background 0.3s ease;
}

.hero-cta:hover,
  .hero-cta:focus {
    background: rgba(255, 255, 255, 0.2);
    outline: none;
  }

.hero-cta-group {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn--glassy-white {
  background: rgba(255, 255, 255, 0.88);
  color: var(--text-color, #111);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn--glassy-white:hover {
  background: rgba(255, 255, 255, 0.94);
}

.btn--glassy-white:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .hero-content {
    transform: translateY(-8vh);
  }
}

@media (max-width: 767px) {
  #navMenu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    margin-top: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 10;
  }

  #navMenu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  #navMenu ul {
    flex-direction: column;
    gap: 1rem;
    padding: 0;
    list-style: none;
  }

  #navMenu ul > li,
  #navMenu > a {
    margin-left: 0;
    text-align: center;
    opacity: 0;
    transform: translateX(-0.5rem);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  #navMenu.open ul > li,
  #navMenu.open > a {
    opacity: 1;
    transform: translateX(0);
  }

  /* staggered open */
  #navMenu.open ul > li:nth-child(1) { transition-delay: 0.1s; }
  #navMenu.open ul > li:nth-child(2) { transition-delay: 0.18s; }
  #navMenu.open ul > li:nth-child(3) { transition-delay: 0.26s; }
  #navMenu.open ul > li:nth-child(4) { transition-delay: 0.34s; }
  #navMenu.open > a { transition-delay: 0.42s; }

  /* staggered close (reverse) */
  #navMenu ul > li:nth-child(1) { transition-delay: 0.34s; }
  #navMenu ul > li:nth-child(2) { transition-delay: 0.26s; }
  #navMenu ul > li:nth-child(3) { transition-delay: 0.18s; }
  #navMenu ul > li:nth-child(4) { transition-delay: 0.1s; }
  #navMenu > a { transition-delay: 0s; }
}

@media (prefers-reduced-motion: reduce) {
  #navMenu,
  #navMenu ul > li,
  #navMenu > a {
    transition: none !important;
  }

  #navMenu ul > li,
  #navMenu > a {
    transform: none !important;
  }
}


.about-grid {
  align-items: start;
  justify-items: center;
  gap: clamp(2rem, 4vw, 4rem);
}

.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 34rem;
  margin: 0;
  padding: 0;
}

.about-copy p {
  font-size: clamp(0.78rem, 0.75rem + 0.18vw, 0.96rem);
  line-height: 1.5;
  color: #0f172a;
}

.about-media {
  position: relative;
  width: 100%;
  max-width: 34rem;
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .about-media {
    max-width: 36rem;
  }
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 767px) {
  .about-copy {
    text-align: center;
    padding-inline: 1rem;
    margin-inline: auto;
    max-width: 32rem;
  }

  .about-copy p {
    color: #111827;
  }

  .about-media {
    width: min(100%, 24rem);
    margin-inline: auto;
  }
}

.site-footer {
  padding: clamp(1.85rem, 1.6rem + 0.8vw, 2.6rem) 0;
  background: linear-gradient(180deg, #ffffff 0%, #ffe9cf 26%, #ffd3a6 100%);
  border-top: none;
  color: #2b1e12;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.75rem, 1.2rem + 1vw, 2.75rem);
  padding: clamp(1.35rem, 1.1rem + 1vw, 2.2rem) clamp(4rem, 2.8rem + 4vw, 6.5rem);
  border-radius: 1.5rem;
  background: linear-gradient(145deg, rgba(255, 236, 210, 0.95) 0%, rgba(255, 213, 170, 0.92) 52%, rgba(255, 198, 140, 0.9) 100%);
  border: 1px solid rgba(231, 183, 123, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 38px rgba(43, 30, 18, 0.16);
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  text-align: left;
  align-items: flex-start;
}

.site-footer__name {
  font-family: "Clash Display", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  font-weight: 600;
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
  letter-spacing: -0.01em;
  color: #2b1e12;
}

.site-footer__tagline {
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
  color: #6a5645;
}

.site-footer__social {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(0.75rem, 0.4rem + 0.8vw, 1.25rem);
}

.site-footer__social-link {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #59320f;
  background: rgba(255, 222, 188, 0.75);
  border: 1px solid rgba(214, 144, 46, 0.45);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.site-footer__social-link:hover,
.site-footer__social-link:focus-visible {
  background: rgba(255, 212, 170, 0.96);
  color: #e89d3a;
}

.site-footer__social-link:focus-visible {
  outline: 2px solid rgba(200, 113, 29, 0.45);
  outline-offset: 3px;
}

.site-footer__icon {
  width: 22px;
  height: 22px;
  transition: transform 0.25s ease;
}

.site-footer__social-link:hover .site-footer__icon,
.site-footer__social-link:focus-visible .site-footer__icon {
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  .site-footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: clamp(1.5rem, 1.4rem + 1vw, 2.4rem);
    gap: 1.5rem;
  }

  .site-footer__brand {
    align-items: center;
    text-align: center;
  }

  .site-footer__social {
    justify-content: center;
  }
}


@media (prefers-reduced-motion: reduce) {
  .site-footer__social-link,
  .site-footer__social-link .site-footer__icon {
    transition: none !important;
    transform: none !important;
  }
}
