/* Navigation, footer, inner-page header */

section {
  position: relative;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 3rem;
  background: rgba(10, 10, 8, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-brand img {
  height: 48px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--off-white);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
  color: var(--gold);
}

.btn-nav {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: var(--gold);
  color: var(--black);
  font-family: "DM Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s;
}

.btn-nav:hover {
  background: var(--gold-light);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--off-white);
  transition: all 0.3s;
}

.page-header {
  padding: 12rem 2rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 50% 80%, rgba(201, 168, 76, 0.06) 0%, transparent 70%),
    linear-gradient(to bottom, #0a0a08, #111108);
}

.page-header-inner {
  position: relative;
  z-index: 2;
}

.page-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1.05;
  color: var(--off-white);
}

.page-title em {
  font-style: italic;
  color: var(--gold-light);
}

.page-subtitle {
  max-width: 520px;
  margin: 1.5rem auto 0;
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(245, 240, 232, 0.55);
  line-height: 1.8;
}

footer {
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  padding: 2.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.footer-brand img {
  height: 36px;
  width: auto;
}

.footer-logo {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
}

footer p {
  font-family: "DM Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: rgba(245, 240, 232, 0.3);
}

.footer-tagline {
  color: rgba(201, 168, 76, 0.5);
  font-family: "DM Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-legal a {
  font-family: "DM Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.45);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover,
.footer-legal a.active {
  color: var(--gold);
}

@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { gap: 1.25rem; }
  footer { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0a0a07;
    border-top: 1px solid rgba(201, 168, 76, 0.15);
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  nav { position: relative; }
}
