/* Tidewater Pines — single-page splash */

:root {
  --cream: #f3efe6;
  --pine: #3a4a3f;
  --sand: #c9bba1;
  --tide: #6e7e7a;
  --ink: #23291f;
  --overlay: rgba(0, 0, 0, 0.32);
  --focus: #f3efe6;
  /* Adobe Fonts kit provides mvb-diazo-condensed; system fallbacks until kit ID is set */
  --font-diazo: "mvb-diazo-condensed", "MVB Diazo Condensed", "Gill Sans", "Trebuchet MS", sans-serif;
  --font-body: var(--font-diazo);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--cream);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--sand);
}

a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

/* —— Hero —— */

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  isolation: isolate;
}

.hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--ink) url("assets/img/hero-poster.jpg") center / cover no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--overlay);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 1.75rem);
  width: min(92vw, 42rem);
  padding: 2rem 1rem 4rem;
  text-align: center;
}

.hero__logo {
  width: min(78vw, 34rem);
  height: auto;
  filter: drop-shadow(0 2px 18px rgba(0, 0, 0, 0.35));
}

.hero__notice {
  margin: 0;
  max-width: 32rem;
  font-family: var(--font-diazo);
  font-size: clamp(0.95rem, 2.1vw, 1.2rem);
  font-weight: 400;
  font-style: normal;
  line-height: 1.55;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.hero__notice a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.35rem;
  padding: 0.85rem 1.85rem;
  border: 1px solid rgba(243, 239, 230, 0.85);
  background: transparent;
  color: var(--cream);
  font-family: var(--font-diazo);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

.btn:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

/* Signature load moment */
.hero__content > * {
  opacity: 0;
  transform: translateY(1.1rem);
  animation: fade-up 1.1s ease forwards;
}

.hero__logo {
  animation-delay: 0.15s;
}

.hero__notice {
  animation-delay: 0.45s;
}

.btn {
  animation-delay: 0.7s;
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__content > * {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .btn {
    transition: none;
  }
}

/* —— Footer —— */

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 1.35rem clamp(1.25rem, 4vw, 2.5rem);
  background: var(--ink);
  color: var(--sand);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.footer__social {
  display: flex;
  gap: 1.5rem;
}

.footer__social a {
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

.footer__social a:hover {
  color: var(--cream);
}

.footer__legal {
  margin: 0;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--tide);
}

@media (max-width: 480px) {
  .footer {
    flex-direction: column;
    text-align: center;
  }
}
