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

html {
  height: 100%;
}

body {
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #000;
  font-family: 'Georgia', serif;
  color: #fff;
}

.hero {
  position: relative;
  flex: 1;        /* fills all height not taken by the footer */
  min-height: 0;  /* prevents flex blowout in some browsers */
  overflow: hidden;
}

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

.overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Subtle vignette — purely aesthetic, no longer needs to clear text */
  background: linear-gradient(
    to bottom,
    transparent 60%,
    rgba(0, 0, 0, 0.35) 100%
  );
}


.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.5rem;
  background: #000;
  font-size: clamp(0.6rem, 1.1vw, 0.75rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-link {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-link:hover {
  color: rgba(255, 255, 255, 0.85);
}

.footer-sep {
  color: rgba(255, 255, 255, 0.25);
}

/* ---------------------------------------------------------------------------
   Small screens
   --------------------------------------------------------------------------- */

@media (max-width: 480px) {
  /* Bias the crop upward on narrow screens — tune the percentage against
     the actual poster once you can view it on a device. */
  .poster {
    object-position: center 20%;
  }

  /* Stack footer items so the email address doesn't wrap mid-word */
  .site-footer {
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.85rem 1rem;
  }

  .footer-sep {
    display: none;
  }
}

/* ---------------------------------------------------------------------------
   Privacy / text pages
   --------------------------------------------------------------------------- */

.page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.page-header {
  padding: 2rem 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.back-link {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.back-link:hover {
  color: rgba(255, 255, 255, 0.9);
}

.page-content {
  max-width: 640px;
  margin: 0 auto;
  padding: 4rem 2.5rem 6rem;
}

.page-content h1 {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: normal;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.page-content h2 {
  font-size: 0.7rem;
  font-weight: normal;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.page-content p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.75rem;
}

.page-content a {
  color: rgba(255, 255, 255, 0.8);
  text-underline-offset: 3px;
}

.page-content a:hover {
  color: #fff;
}

.jurisdiction {
  margin-top: 3rem;
  font-size: 0.8rem !important;
  color: rgba(255, 255, 255, 0.3) !important;
  font-style: italic;
}

/* ---------------------------------------------------------------------------
   Maintenance page
   --------------------------------------------------------------------------- */

body.maintenance {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

.maint-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 2rem;
  text-align: center;
}

.maint-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 2.5rem;
}

.maint-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.75rem;
}

.maint-body {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.5);
  max-width: 420px;
  font-style: italic;
}

.maint-contact {
  margin-top: 3rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
}

.maint-contact a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
}

.maint-contact a:hover { color: rgba(255, 255, 255, 0.7); }
