/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --sea-glass: #7CBBE4;
  --ocean-blue: #479FD8;
  --ivory-foam: #F7F4EF;
  --charcoal: #1F2936;
  --misty-blue: #ACCADD;
  --warm-pearl: #EDE5DA;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Forum', serif;
  color: var(--charcoal);
  background: var(--ivory-foam);
  line-height: 1.6;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 360px;
  max-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(31, 41, 54, 0.25) 0%,
    rgba(31, 41, 54, 0.45) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 2rem;
}

.hero-names {
  font-family: 'Pinyon Script', cursive;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 400;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-ampersand {
  display: block;
  font-size: 0.5em;
  opacity: 0.85;
  margin: -0.1em 0;
}

.hero-details {
  margin-top: 1.25rem;
  font-family: 'Forum', serif;
  font-size: clamp(0.9rem, 2.2vw, 1.2rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.hero-details .divider {
  display: inline-block;
  margin: 0 0.75em;
  opacity: 0.6;
}

/* ===== Navigation ===== */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.nav-link {
  display: inline-block;
  padding: 1rem 1.25rem;
  font-family: 'Forum', serif;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  transition: color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.7);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 1rem;
  cursor: pointer;
  color: #fff;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* ===== Tab Content ===== */
.tab-content {
  min-height: 50vh;
}

.tab-panel {
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-title {
  font-family: 'Pinyon Script', cursive;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  text-align: center;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.section-rule {
  width: 60px;
  height: 2px;
  background: var(--sea-glass);
  border: none;
  margin: 0 auto 3rem;
}

.section-body {
  text-align: center;
  font-size: 1.1rem;
  color: var(--charcoal);
  opacity: 0.6;
  font-style: italic;
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 3rem 2rem;
  border-top: 1px solid var(--misty-blue);
  font-size: 0.9rem;
  color: var(--charcoal);
  opacity: 0.5;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
    width: 100%;
    text-align: right;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    text-align: center;
    background: rgba(31, 41, 54, 0.85);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .hero-details .divider {
    display: none;
  }

  .hero-details span {
    display: block;
    margin: 0.25em 0;
  }

  .tab-panel {
    padding: 3.5rem 1.5rem;
  }
}
