/* ── Navigation ─────────────────────────────────────────── */
nav#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  transition: background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
nav#nav.solid {
  background: rgba(11, 31, 58, .92);
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(201, 168, 76, .2);
}
nav#nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--cream);
  text-decoration: none;
}
.brand .bn {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: .14em;
  font-size: .78rem;
}

.navlinks { display: flex; gap: 34px; }
.navlinks a {
  color: var(--cream);
  font-family: var(--sans);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .75;
  transition: opacity .25s, color .25s;
  text-decoration: none;
}
.navlinks a:hover,
.navlinks a.current,
.navlinks a[aria-current="page"] { opacity: 1; color: var(--gold); }
.navlinks a:focus-visible { outline: 1px solid var(--gold); outline-offset: 6px; }

.mark { width: 26px; height: 26px; flex: none; }
.mark .brk { stroke: var(--gold); stroke-width: 3; fill: none; }
.mark .ctr { fill: var(--gold); }

/* ── Shared interactive elements ────────────────────────── */
.cta {
  display: inline-block;
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--navy);
  background: var(--gold);
  border: none;
  cursor: pointer;
  padding: 16px 38px;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(201, 168, 76, .25); }
.cta:focus-visible { outline: 2px solid var(--cream); outline-offset: 4px; }

.more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
}
.more .arr { transition: transform .25s; display: inline-block; }
.more:hover .arr { transform: translateX(5px); }
.more:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

.backlink {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
  text-decoration: none;
}
.backlink:hover { opacity: .8; }
.backlink:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

/* ── Interior page hero ─────────────────────────────────── */
.page-hero {
  background: var(--navy);
  color: var(--cream);
  padding: 200px 0 120px;
  position: relative;
  overflow: hidden;
}
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.05;
  margin-top: 20px;
  letter-spacing: .01em;
}
.page-hero h1 em { font-style: italic; color: var(--gold); }
.page-hero .intro {
  max-width: 52ch;
  margin-top: 30px;
  font-size: 1.08rem;
  color: rgba(245, 240, 232, .74);
}
.page-hero .frame {
  position: absolute;
  right: -160px;
  top: 50%;
  transform: translateY(-50%);
  width: 460px;
  height: 460px;
  opacity: .07;
  pointer-events: none;
}
.page-hero .frame path { stroke: var(--gold); stroke-width: 1.5; fill: none; }

/* ── Shared closing band ────────────────────────────────── */
.closing {
  background: var(--navy);
  color: var(--cream);
  text-align: center;
  padding: 130px 0;
}
.closing.light { background: var(--cream); color: var(--ink); }
.closing p {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.3;
  max-width: 24ch;
  margin: 0 auto 36px;
}
.closing em { font-style: italic; color: var(--gold); }

/* ── Footer ─────────────────────────────────────────────── */
footer {
  background: var(--navy);
  color: var(--cream);
  border-top: 1px solid rgba(201, 168, 76, .18);
  padding: 64px 0 44px;
}
.foot-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
}
.foot-tag {
  font-style: italic;
  font-size: 1.4rem;
  color: var(--gold);
  margin-top: 14px;
}
.foot-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.foot-nav a {
  color: rgba(245, 240, 232, .72);
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .25s;
  text-decoration: none;
}
.foot-nav a:hover { color: var(--gold); }
.foot-bot {
  margin-top: 48px;
  font-size: .72rem;
  letter-spacing: .08em;
  color: rgba(245, 240, 232, .45);
}

/* ── Responsive ─────────────────────────────────────────── */
/* ── Mobile toggle button ───────────────────────────────── */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--cream);
  padding: 8px;
  width: 40px;
  height: 40px;
  flex: none;
}
.nav-toggle:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
.icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-ham { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 860px) {
  .navlinks { gap: 18px; }
  .navlinks a { font-size: .64rem; letter-spacing: .1em; }
  .page-hero { padding: 150px 0 80px; }
}

@media (max-width: 560px) {
  .nav-toggle { display: flex; }

  .navlinks {
    flex-direction: column;
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: rgba(11, 31, 58, .97);
    backdrop-filter: blur(10px);
    padding: 8px 0 24px;
    gap: 0;
    z-index: 58;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s ease, opacity .3s ease;
    border-bottom: 1px solid rgba(201, 168, 76, .18);
  }
  .navlinks.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .navlinks a {
    font-size: .76rem;
    letter-spacing: .18em;
    padding: 16px 32px;
    opacity: 1;
    border-bottom: 1px solid rgba(245, 240, 232, .08);
  }
  .navlinks a:last-child { border-bottom: none; }
  .navlinks a.current,
  .navlinks a[aria-current="page"] { color: var(--gold); }
}

@media (max-width: 560px) and (prefers-reduced-motion: reduce) {
  .navlinks { transition: none; }
}
