:root {
  color-scheme: dark;
  --ink: #07131e;
  --deep: #0b2230;
  --glass: rgba(8, 25, 35, .74);
  --glass-strong: rgba(7, 20, 29, .91);
  --ivory: #f3ead9;
  --muted: #aabbb8;
  --frost: #8fd5d2;
  --gold: #d6a95f;
  --line: rgba(201, 225, 216, .16);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 300px;
  color: var(--ivory);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: var(--ink);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background: url("northern-hall.png") center / cover no-repeat;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(4, 13, 22, .48) 0, rgba(4, 14, 21, .86) 66%, #07131e 100%),
    radial-gradient(circle at 18% 16%, rgba(19, 118, 126, .18), transparent 40%);
}

a { color: inherit; }
button { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 16, 23, .72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  width: min(calc(100% - 2rem), var(--max));
  min-height: 70px;
  margin: auto;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 2.15rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(214, 169, 95, .58);
  transform: rotate(45deg);
  color: var(--gold);
}

.brand-mark span { transform: rotate(-45deg); font-family: Georgia, serif; }
.brand-text { font: 500 .82rem/1 Georgia, serif; letter-spacing: .2em; text-transform: uppercase; }

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-links a {
  padding: .7rem .82rem;
  border-radius: 999px;
  color: #b8c7c3;
  font-size: .78rem;
  text-decoration: none;
  transition: .2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff6e5;
  background: rgba(255, 255, 255, .08);
}

.nav-links a.active { box-shadow: inset 0 0 0 1px rgba(214, 169, 95, .25); }

.menu-button {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ivory);
  background: rgba(255,255,255,.05);
  cursor: pointer;
}

.page-hero {
  display: grid;
  min-height: 48svh;
  align-items: end;
  padding: clamp(6rem, 14vh, 10rem) 1rem clamp(3rem, 8vh, 5rem);
}

.hero-inner,
.content-shell {
  width: min(100%, var(--max));
  margin: auto;
}

.eyebrow {
  margin: 0 0 .8rem;
  color: var(--frost);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .42em;
  text-transform: uppercase;
}

h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; }

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.25rem, 9vw, 7.7rem);
  font-weight: 400;
  line-height: .88;
  letter-spacing: -.055em;
  text-wrap: balance;
  text-shadow: 0 .4rem 2rem rgba(0,0,0,.55);
}

.lead {
  max-width: 47rem;
  margin: 1.3rem 0 0;
  color: #c3d0cc;
  font: italic clamp(1rem, 2.3vw, 1.3rem)/1.65 Georgia, serif;
  text-shadow: 0 2px .8rem #000;
}

.rune-line {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: 1.5rem;
  color: var(--gold);
}

.rune-line::after {
  content: "";
  width: min(10rem, 28vw);
  height: 1px;
  background: linear-gradient(90deg, currentColor, transparent);
}

.content {
  padding: 0 1rem 5rem;
  background: linear-gradient(180deg, transparent, rgba(5, 17, 24, .9) 9rem);
}

.section-head {
  display: flex;
  margin: 0 0 1.5rem;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.section-head h2 { margin: 0; font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 400; }
.section-head p { max-width: 35rem; margin: 0; color: var(--muted); line-height: 1.6; }

.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(17, 46, 56, .78), rgba(6, 21, 30, .83));
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .18);
  backdrop-filter: blur(12px);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(transparent, var(--gold), transparent);
  opacity: .55;
}

.card h2, .card h3 { margin: 0 0 .7rem; font-weight: 400; }
.card h3 { font-size: 1.55rem; }
.card p { margin: 0; color: #b8c6c2; line-height: 1.65; }
.card p + p { margin-top: .8rem; }

.tag {
  display: inline-flex;
  margin-bottom: 1rem;
  align-items: center;
  gap: .45rem;
  color: var(--gold);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.tag::before { content: "◆"; font-size: .48rem; }

.god-card .sigil {
  float: right;
  margin: -.25rem 0 .7rem 1rem;
  color: rgba(143, 213, 210, .42);
  font: 400 2.5rem/1 Georgia, serif;
}

.family-title {
  margin: 4rem 0 1.4rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  font-weight: 400;
}

.date {
  display: block;
  margin-bottom: .55rem;
  color: var(--frost);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.notice {
  margin-bottom: 2rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(214, 169, 95, .28);
  border-radius: .8rem;
  color: #c7cfca;
  background: rgba(84, 63, 34, .18);
  line-height: 1.6;
}

.place-card {
  min-height: 16rem;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.coordinates { margin-top: auto !important; padding-top: 1.4rem; color: #7fb8b6 !important; font-size: .74rem; }

.prayer-card blockquote {
  margin: 0;
  color: #e2dbc9;
  font: italic 1.04rem/1.75 Georgia, serif;
}

.prayer-card footer { margin-top: 1rem; color: #7eaaa7; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }

.home-hero { min-height: 72svh; }
.home-hero h1 { max-width: 10ch; }

.portal {
  min-height: 20rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  transition: transform .25s ease, border-color .25s ease;
}

.portal:hover { transform: translateY(-.3rem); border-color: rgba(214, 169, 95, .5); }
.portal .arrow { margin-top: 1.5rem; color: var(--gold); font-size: 1.3rem; }

.site-footer {
  padding: 2.5rem 1rem;
  border-top: 1px solid var(--line);
  color: #81928f;
  background: #061017;
}

.footer-inner {
  display: flex;
  width: min(100%, var(--max));
  margin: auto;
  align-items: start;
  justify-content: space-between;
  gap: 2rem;
}

.site-footer p { max-width: 46rem; margin: 0; font-size: .76rem; line-height: 1.65; }
.source-links { display: flex; flex-wrap: wrap; gap: .8rem; }
.source-links a { color: #9fb8b3; font-size: .74rem; text-underline-offset: .2rem; }

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .section-head, .footer-inner { align-items: start; flex-direction: column; }
}

@media (max-width: 720px) {
  body::before { background-position: 62% center; }
  .menu-button { display: grid; place-items: center; }
  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    right: 1rem;
    left: 1rem;
    display: none;
    padding: .7rem;
    border: 1px solid var(--line);
    border-radius: 0 0 1rem 1rem;
    align-items: stretch;
    flex-direction: column;
    background: var(--glass-strong);
    box-shadow: 0 1.5rem 3rem rgba(0,0,0,.35);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .9rem 1rem; }
  .page-hero { min-height: 45svh; padding-top: 7rem; }
  .home-hero { min-height: 67svh; }
}

@media (max-width: 570px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .card, .place-card { min-height: auto; }
  .content { padding-bottom: 3rem; }
  h1 { font-size: clamp(3rem, 16vw, 5rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
