

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page__shell {
  width: 92%;
  max-width: 1100px;
  margin: 0 auto;
}

.page__main {
  display: flex;
  flex-direction: column;
  gap: var(--gap-l);
  flex: 1 1 auto;
}

.band {
  flex: 1 1 auto;
  padding: var(--band-pad) 4%;
  background: var(--bg-secondary);
}
.band--sunk { background: var(--bg-primary); }
.band--raised { background: var(--bg-tertiary); }

.band__head { max-width: 74%; margin-bottom: var(--gap-l); }
.band__head--wide { max-width: 100%; }
.band__eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: var(--gap-xs);
}
.band__title { margin-bottom: 1.5rem; }
.band__lede { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 0; }
.band__body { display: block; }


.masthead {
  position: sticky;
  top: 0;
  z-index: 900;
  background: #0d1526;
  border-bottom: 1px solid var(--line);
}
.masthead__shell {
  display: flex;
  align-items: center;
  gap: var(--gap-m);
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}
.masthead__brand { display: inline-flex; align-items: center; text-decoration: none; }
.masthead__brand:hover { text-decoration: none; }
.masthead__logo { height: 2.4rem; width: auto; }
.masthead__nav { margin-left: auto; }
.masthead__list { margin: 0; padding: 0; list-style: none; }
.masthead__item { position: relative; margin: 0; }
.masthead__list .masthead__link {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
}
.masthead__list .masthead__link:hover { color: var(--ember); text-decoration: none; }


.masthead__mega {
  position: absolute;
  top: 100%;
  right: 0;
  width: 720px;
  max-width: 88vw;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 25%));
  gap: var(--gap-m);
  padding: 1.6rem 3%;
  background: #0d1526;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--motion), visibility var(--motion), transform var(--motion);
  z-index: 950;
}
.masthead__item--mega:hover .masthead__mega,
.masthead__item--mega:focus-within .masthead__mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.masthead__mega-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.95rem;
  color: var(--ember-soft);
  margin: 0 0 0.4rem;
}
.masthead__mega .masthead__mega-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.masthead__mega-item { margin: 0 0 0.15rem; }
.masthead__mega .masthead__mega-link {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: none;
}
.masthead__mega .masthead__mega-link:hover { color: var(--text-primary); text-decoration: none; }
.masthead__toggle { margin-left: auto; }
.masthead__close { color: var(--text-primary); }


.divider {
  height: 60px;
  width: 100%;
  flex: 0 0 auto;
}
.divider--dots {
  background-image: radial-gradient(currentColor 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  color: var(--dot-ink);
  opacity: 0.8;
}


.site-foot {
  background: #080d18;
  color: var(--text-secondary);
  padding: 0 0 1.5rem;
  border-top: 1px solid var(--line);
}
.site-foot__shell { padding-top: 3rem; }
.site-foot__top {
  display: grid;
  grid-template-columns: 42% 29% 29%;
  gap: var(--gap-l);
  align-items: stretch;
}
.site-foot__panel {
  min-height: 220px;
  background: var(--panel);
  padding: 1.75rem 6%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.6rem;
}
.site-foot__col { padding-top: 0.4rem; }
.site-foot__bar {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--gap-s);
}


.u-flex { display: flex; }
.u-col { flex-direction: column; }
.u-wrap { flex-wrap: wrap; }
.u-items-center { align-items: center; }
.u-items-start { align-items: flex-start; }
.u-between { justify-content: space-between; }
.u-center { justify-content: center; }
.u-gap-s { gap: var(--gap-s); }
.u-gap-m { gap: var(--gap-m); }
.u-gap-l { gap: var(--gap-l); }
.u-mt-s { margin-top: var(--gap-s); }
.u-mt-m { margin-top: var(--gap-m); }
.u-mt-l { margin-top: var(--gap-l); }
.u-mb-0 { margin-bottom: 0; }
.u-mb-s { margin-bottom: var(--gap-s); }
.u-mb-m { margin-bottom: var(--gap-m); }
.u-text-center { text-align: center; }
.u-w-full { width: 100%; }
.u-muted { color: var(--text-muted); }
.u-soft { color: var(--text-secondary); }
.u-upper { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 600; }
.u-narrow { max-width: 68%; }
.u-lead { font-size: 1.1rem; }

.u-relative { position: relative; }
.u-block { display: block; }
.u-nowrap { white-space: nowrap; }
.u-list-plain { list-style: none; padding-left: 0; }
.u-ink { color: var(--text-primary); }
.u-fs-sm { font-size: 0.92rem; }
.u-fw-600 { font-weight: 600; }
.u-tracked { letter-spacing: 0.14em; }


@media (max-width: 1024px) {
  .page__shell { width: 94%; }
  .band { padding: 3.2rem 4%; }
  .band__head { max-width: 88%; }
  .site-foot__top { grid-template-columns: 50% 44%; }
  .u-narrow { max-width: 86%; }
}

@media (max-width: 768px) {
  .page__shell { width: 100%; padding-left: 5%; padding-right: 5%; }
  .band { padding: 2.4rem 0; }
  .band__head { max-width: 100%; margin-bottom: var(--gap-m); }
  .masthead__shell { padding-top: 0.55rem; padding-bottom: 0.55rem; }
  .masthead__logo { height: 2rem; }
  .masthead__nav { margin-left: 0; }
  .masthead__list .masthead__link { border-bottom-color: rgba(148, 163, 184, 0.18); }
  .masthead__mega {
    position: static;
    right: auto;
    width: 100%;
    max-width: 100%;
    grid-template-columns: 100%;
    gap: var(--gap-s);
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0.5rem 0 0.75rem 4%;
  }
  .divider { height: 34px; }
  .site-foot__top { grid-template-columns: 100%; }
  .site-foot__panel { min-height: 0; padding: 1.4rem 6%; }
  .u-narrow { max-width: 100%; }
  .u-hide-mob { display: none; }
}
