:root {
  --shell-red: #780000;
  --shell-gold: #f3c43e;
  --shell-paper: #fff8e9;
  --shell-line: rgba(120, 0, 0, 0.16);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 8px clamp(18px, 4vw, 60px);
  border-bottom: 1px solid var(--shell-line);
  background: rgba(255, 248, 233, 0.97);
  box-shadow: 0 8px 28px rgba(63, 9, 7, 0.08);
  backdrop-filter: none;
}

.site-header .brand { flex: 0 0 auto; }
.site-header .brand img { width: clamp(132px, 15vw, 180px); }

.site-header .nav {
  position: static;
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 24px);
  width: auto;
  max-height: none;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  transform: none;
  color: var(--shell-red);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-header .nav a {
  position: relative;
  padding: 10px 0;
  border-radius: 0;
  background: transparent;
}

.site-header .nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  display: block;
  height: 2px;
  content: "";
  background: var(--shell-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-header .nav a:hover::after,
.site-header .nav a[aria-current="page"]::after { transform: scaleX(1); }

.site-header .nav a.nav-donate {
  padding: 9px 15px;
  border-radius: 5px;
  background: var(--shell-gold);
  color: #351900;
  box-shadow: 0 7px 18px rgba(116, 73, 8, 0.14);
}

.site-header .nav a.nav-donate::after { display: none; }

.site-header .menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--shell-line);
  border-radius: 6px;
  background: #fffaf0;
  cursor: pointer;
}

.site-header .menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--shell-red);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-header .menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.site-header .menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 30px clamp(20px, 5vw, 74px);
  background: #260000;
  color: rgba(255,255,255,0.76);
}

.site-footer img { width: min(220px, 46vw); }
.site-footer-copy { max-width: 690px; text-align: right; }
.site-footer-copy p { margin: 0 0 10px; color: rgba(255,255,255,0.76); }
.site-footer-copy strong { color: #fff; }
.site-footer-links { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px 18px; }
.site-footer-links a { color: var(--shell-gold); font-size: 0.88rem; font-weight: 700; }

@media (max-width: 980px) {
  .site-header .menu-toggle { display: inline-flex; }
  .site-header .nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 18px;
    left: 18px;
    display: grid;
    gap: 4px;
    width: auto;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--shell-paper);
    box-shadow: 0 18px 40px rgba(63, 9, 7, 0.16);
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.25s ease, transform 0.3s ease;
  }
  .site-header .nav.is-open {
    max-height: 430px;
    padding: 10px;
    border-color: var(--shell-line);
    opacity: 1;
    transform: translateY(0);
  }
  .site-header .nav a { padding: 12px 14px; border-radius: 6px; }
  .site-header .nav a.nav-donate { padding: 12px 14px; }
  .site-header .nav a::after { display: none; }
}

@media (max-width: 640px) {
  .site-header .brand img { width: 138px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .site-footer-copy { text-align: left; }
  .site-footer-links { justify-content: flex-start; }
}
