/* =========================================================
   NAAIA Greater Houston Foundation
   Design system: navy, gold, cream. Editorial nonprofit.
   ========================================================= */

:root {
  --navy-950: #081426;
  --navy-900: #0c1c31;
  --navy-800: #122741;
  --navy-700: #1b3554;
  --navy: #253c5e;
  --gold: #b98b43;
  --gold-2: #d6b276;
  --gold-3: #e7d2a8;
  --gold-ink: #8a6323;
  --cream: #fbf8f1;
  --sand: #f2ead9;
  --paper: #ffffff;
  --ink: #15202b;
  --muted: #5c6675;
  --line: rgba(21, 32, 43, 0.13);
  --line-soft: rgba(21, 32, 43, 0.07);
  --line-light: rgba(251, 248, 241, 0.18);

  --serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --container: 1240px;
  --narrow: 880px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --section: clamp(64px, 9vw, 128px);
  --header-h: 88px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1.15em;
}

p:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "SOFT" 0, "WONK" 1;
  letter-spacing: -0.015em;
  color: var(--navy-900);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.7rem, 6.1vw, 5rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.06;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.2;
}

h4 {
  font-size: 1.15rem;
  line-height: 1.3;
}

em {
  font-style: italic;
}

strong {
  font-weight: 600;
}

::selection {
  background: var(--gold-2);
  color: var(--navy-950);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--gold);
  color: var(--navy-950);
  padding: 12px 18px;
  font-weight: 600;
  font-size: 0.85rem;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

/* ---------- Layout ---------- */

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - (var(--gutter) * 2), var(--narrow));
  margin-inline: auto;
}

.section {
  padding-block: var(--section);
}

section[id],
article[id] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.section--tight {
  padding-block: clamp(48px, 6vw, 80px);
}

.bg-cream {
  background: var(--cream);
}

.bg-paper {
  background: var(--paper);
}

.bg-sand {
  background: var(--sand);
}

.bg-navy {
  background: var(--navy-900);
  color: var(--cream);
}

.bg-navy h1,
.bg-navy h2,
.bg-navy h3,
.bg-navy h4 {
  color: var(--cream);
}

/* ---------- Type helpers ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
  flex: none;
}

.eyebrow--light {
  color: var(--gold-2);
}

.eyebrow--center {
  justify-content: center;
}

.eyebrow--center::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
  flex: none;
}

.lede {
  font-size: clamp(1.1rem, 1.55vw, 1.3rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 62ch;
}

.lede--light {
  color: rgba(251, 248, 241, 0.78);
}

.tax-code {
  text-transform: none;
}

.small {
  font-size: 0.875rem;
  line-height: 1.6;
}

.muted {
  color: var(--muted);
}

.gold {
  color: var(--gold-ink);
}

.serif {
  font-family: var(--serif);
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

.rule--light {
  background: var(--line-light);
}

.diamond-rule {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold);
  margin: 0;
}

.diamond-rule::before,
.diamond-rule::after {
  content: "";
  height: 1px;
  background: currentColor;
  flex: 1;
  opacity: 0.55;
}

.diamond-rule span {
  width: 7px;
  height: 7px;
  background: currentColor;
  transform: rotate(45deg);
  flex: none;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 26px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.btn svg {
  width: 15px;
  height: 15px;
  flex: none;
  transition: transform 0.35s var(--ease);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn--gold {
  background: var(--gold);
  color: var(--navy-950);
}

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

.btn--navy {
  background: var(--navy-900);
  color: var(--cream);
}

.btn--navy:hover {
  background: var(--navy-700);
}

.btn--ghost {
  border-color: rgba(251, 248, 241, 0.42);
  color: var(--cream);
}

.btn--ghost:hover {
  background: rgba(251, 248, 241, 0.08);
  border-color: var(--gold-2);
}

.btn--outline {
  border-color: var(--navy-900);
  color: var(--navy-900);
}

.btn--outline:hover {
  background: var(--navy-900);
  color: var(--cream);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--navy-900);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 6px;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}

.link-arrow svg {
  width: 14px;
  height: 14px;
}

.link-arrow:hover {
  gap: 16px;
  color: var(--gold-ink);
}

.link-arrow--light {
  color: var(--cream);
}

.link-arrow--light:hover {
  color: var(--gold-2);
}

/* ---------- Header ---------- */

.utility {
  background: var(--navy-950);
  color: rgba(251, 248, 241, 0.72);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.utility__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 38px;
}

.utility__list {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.utility__list li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.utility__list li + li::before {
  content: "";
  width: 3px;
  height: 3px;
  background: var(--gold);
  transform: rotate(45deg);
  margin-right: 13px;
}

.utility a:hover {
  color: var(--gold-2);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 241, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px -18px rgba(8, 20, 38, 0.45);
  background: rgba(251, 248, 241, 0.99);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: var(--header-h);
  transition: min-height 0.4s var(--ease);
}

.is-scrolled .header__inner {
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.brand__mark {
  height: 40px;
  width: auto;
  transition: height 0.4s var(--ease);
}

.is-scrolled .brand__mark {
  height: 34px;
}

.brand__divider {
  width: 1px;
  align-self: stretch;
  min-height: 38px;
  background: var(--line);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
}

.brand__line1 {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
}

.brand__line2 {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.8vw, 30px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav > .btn,
.nav__contact,
.nav__home {
  display: none;
}

.nav__link {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--navy-900);
  white-space: nowrap;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

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

.nav__link[aria-current="page"] {
  color: var(--gold-ink);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: none;
}

.header__actions .btn {
  padding: 13px 20px;
  font-size: 0.7rem;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  border-radius: 2px;
}

.nav-toggle span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 1px;
  background: var(--navy-900);
  transition: transform 0.35s var(--ease), opacity 0.2s linear;
}

.nav-toggle span:nth-child(1) {
  top: 18px;
}

.nav-toggle span:nth-child(2) {
  top: 23px;
}

.nav-toggle span:nth-child(3) {
  top: 28px;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(94svh, 920px);
  background: var(--navy-950);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  filter: saturate(0.92) contrast(1.02);
  transform: scale(1.06);
  animation: hero-settle 2.2s var(--ease-out) forwards;
}

@keyframes hero-settle {
  to {
    transform: scale(1);
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      180deg,
      rgba(8, 20, 38, 0.92) 0%,
      rgba(8, 20, 38, 0.5) 14%,
      rgba(8, 20, 38, 0) 30%
    ),
    linear-gradient(
      90deg,
      rgba(8, 20, 38, 0.97) 0%,
      rgba(8, 20, 38, 0.9) 34%,
      rgba(8, 20, 38, 0.5) 64%,
      rgba(8, 20, 38, 0.35) 100%
    ),
    linear-gradient(0deg, rgba(8, 20, 38, 0.9) 0%, rgba(8, 20, 38, 0) 52%);
}

.hero__inner {
  width: 100%;
  padding-top: clamp(120px, 16vh, 200px);
  padding-bottom: clamp(40px, 6vh, 64px);
}

.hero__content {
  max-width: 760px;
}

.hero h1 {
  color: var(--cream);
  font-size: clamp(2.8rem, 6.4vw, 5.2rem);
}

.hero h1 em {
  color: var(--gold-2);
}

.hero__lede {
  max-width: 54ch;
  margin-top: 26px;
  font-size: clamp(1.02rem, 1.45vw, 1.2rem);
  line-height: 1.65;
  color: rgba(251, 248, 241, 0.82);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
  margin: clamp(44px, 7vh, 80px) 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line-light);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(251, 248, 241, 0.7);
  list-style: none;
}

.hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  list-style: none;
}

.hero__meta li::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* ---------- Page hero ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-950);
  color: var(--cream);
  padding-top: clamp(120px, 15vh, 180px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

.page-hero::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 139, 67, 0.22), transparent 62%);
  pointer-events: none;
}

.page-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
}

.page-hero h1 {
  color: var(--cream);
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
}

.page-hero h1 em {
  color: var(--gold-2);
}

.page-hero__intro {
  max-width: 56ch;
  margin-top: 22px;
  color: rgba(251, 248, 241, 0.78);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
}

.page-hero__aside {
  padding-left: clamp(0px, 2vw, 32px);
  border-left: 1px solid var(--line-light);
  color: rgba(251, 248, 241, 0.72);
  font-size: 0.9rem;
  line-height: 1.7;
}

.page-hero__aside strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gold-2);
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-hero__aside p + strong {
  margin-top: 20px;
}

/* ---------- Mission ---------- */

.mission__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 96px);
}

.mission__label {
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.mission__statement {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.7vw, 2.4rem);
  line-height: 1.28;
  color: var(--navy-900);
  margin-bottom: 26px;
}

.mission__statement em {
  color: var(--gold-ink);
}

.mission__body {
  color: var(--muted);
  max-width: 60ch;
}

/* ---------- Pillars ---------- */

.pillars {
  margin-top: 8px;
  border-top: 1px solid var(--line);
}

.pillar {
  display: grid;
  grid-template-columns: 64px minmax(0, 0.85fr) minmax(0, 1.15fr) 32px;
  gap: clamp(16px, 3vw, 40px);
  align-items: start;
  padding: clamp(28px, 3.4vw, 42px) 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease);
}

.pillar:hover {
  background: rgba(242, 234, 217, 0.55);
}

.pillar__num {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--gold-ink);
  padding-top: 8px;
}

.pillar__title {
  font-size: clamp(1.45rem, 2.3vw, 2rem);
}

.pillar__desc {
  color: var(--muted);
  font-size: 0.98rem;
  margin: 0;
}

.pillar__arrow {
  justify-self: end;
  align-self: center;
  width: 30px;
  height: 30px;
  color: var(--gold);
  transition: transform 0.35s var(--ease);
}

.pillar:hover .pillar__arrow {
  transform: translateX(6px);
}

/* ---------- Split feature ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  background: var(--navy-900);
}

.split__media {
  position: relative;
  min-height: 460px;
  overflow: hidden;
}

.split__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 20, 38, 0.18), rgba(8, 20, 38, 0.42));
}

.split__body {
  padding: clamp(40px, 6vw, 96px) clamp(24px, 5vw, 88px);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split__body h2 {
  color: var(--cream);
  max-width: 15ch;
}

.split__body p {
  color: rgba(251, 248, 241, 0.78);
  max-width: 46ch;
}

.split__body .eyebrow {
  color: var(--gold-2);
}

/* ---------- Quote ---------- */

.quote {
  text-align: center;
}

figure.quote {
  margin: 0;
}

.quote__mark {
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 18px;
}

.quote blockquote {
  margin: 0 auto;
  max-width: 21ch;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.9vw, 3.2rem);
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: var(--cream);
  text-wrap: balance;
}

.quote blockquote em {
  color: var(--gold-2);
}

.quote figcaption {
  margin-top: 28px;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(251, 248, 241, 0.62);
}

/* ---------- Practice cards ---------- */

.practice {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 36px);
  margin-top: clamp(36px, 4vw, 56px);
}

.practice__card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line-soft);
}

.practice__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.practice__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.practice__card:hover .practice__media img {
  transform: scale(1.04);
}

.practice__body {
  padding: 26px 26px 30px;
}

.practice__body h3 {
  font-size: 1.28rem;
  margin-bottom: 10px;
}

.practice__body p {
  color: var(--muted);
  font-size: 0.94rem;
  margin: 0;
}

.practice__tag {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

/* ---------- Stats / facts band ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts__item {
  padding: clamp(26px, 3vw, 40px) clamp(16px, 2vw, 28px);
}

.facts__item + .facts__item {
  border-left: 1px solid var(--line);
}

.facts__value {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  line-height: 1.1;
  color: var(--navy-900);
  margin-bottom: 8px;
}

.facts__label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- CTA ---------- */

.cta {
  position: relative;
  overflow: hidden;
  background: var(--navy-950);
  color: var(--cream);
}

.cta::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(185, 139, 67, 0.35);
  pointer-events: none;
}

.cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: end;
  padding-block: clamp(56px, 7vw, 88px);
}

.cta h2 {
  color: var(--cream);
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  max-width: 18ch;
}

.cta h2 em {
  color: var(--gold-2);
}

.cta p {
  color: rgba(251, 248, 241, 0.75);
  max-width: 46ch;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.cta__side {
  padding-left: clamp(0px, 2vw, 32px);
  border-left: 1px solid var(--line-light);
}

/* ---------- Footer ---------- */

.footer {
  background: var(--navy-950);
  color: rgba(251, 248, 241, 0.7);
  padding-top: clamp(56px, 7vw, 88px);
  font-size: 0.9rem;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 0.55fr));
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line-light);
}

.footer__brand img {
  height: 46px;
  width: auto;
  margin-bottom: 22px;
}

.footer__brand p {
  max-width: 38ch;
  color: rgba(251, 248, 241, 0.64);
  font-size: 0.92rem;
}

.footer__heading {
  margin-bottom: 18px;
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer__list a {
  color: rgba(251, 248, 241, 0.72);
  transition: color 0.25s var(--ease);
}

.footer__list a:hover {
  color: var(--gold-2);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
  align-items: flex-start;
  padding-block: 26px 34px;
  font-size: 0.76rem;
  line-height: 1.65;
  color: rgba(251, 248, 241, 0.52);
}

.footer__legal {
  max-width: 76ch;
}

.footer__legal strong {
  color: rgba(251, 248, 241, 0.78);
  font-weight: 500;
}

.footer__meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* ---------- Content primitives ---------- */

.prose {
  max-width: 68ch;
}

.prose h2 {
  margin-top: 1.8em;
  margin-bottom: 0.6em;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
}

.prose h3 {
  margin-top: 1.6em;
  margin-bottom: 0.5em;
}

.prose ul,
.prose ol {
  margin: 0 0 1.3em;
  padding-left: 1.2em;
}

.prose li {
  margin-bottom: 0.5em;
}

.prose a {
  border-bottom: 1px solid var(--gold);
}

.prose a:hover {
  color: var(--gold-ink);
}

.pullquote {
  margin: clamp(32px, 4vw, 48px) 0;
  padding: 28px 0 28px 32px;
  border-left: 2px solid var(--gold);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  line-height: 1.35;
  color: var(--navy-900);
}

/* ---------- Program detail ---------- */

.program {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  padding-block: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line);
}

.program:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.program__head {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  align-self: start;
}

.program__num {
  display: block;
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--gold-ink);
  margin-bottom: 14px;
}

.program__head h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 14px;
}

.program__head p {
  color: var(--muted);
}

.program__body h3 {
  font-size: 1.05rem;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.program__body ul {
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.program__body li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--muted);
}

.program__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

.program__figure {
  margin-top: 26px;
  position: relative;
}

.program__figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.program__figure figcaption {
  margin-top: 10px;
  font-size: 0.76rem;
  color: var(--muted);
}

/* ---------- Board ---------- */

.board-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
  margin-top: clamp(36px, 4vw, 52px);
}

.board-card {
  position: relative;
  padding: clamp(26px, 3vw, 36px);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.board-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -32px rgba(8, 20, 38, 0.4);
}

.monogram {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy-900);
  border: 1px solid var(--gold);
  color: var(--gold-2);
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}

.board-card h3 {
  font-size: 1.45rem;
  margin-bottom: 4px;
}

.board-card__role {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 14px;
}

.board-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

/* ---------- Docs ---------- */

.docs {
  border-top: 1px solid var(--line);
  margin-top: 24px;
}

.doc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.25s var(--ease);
}

.doc:hover {
  color: var(--gold-ink);
}

.doc__main {
  display: flex;
  align-items: center;
  gap: 16px;
}

.doc__icon {
  width: 34px;
  height: 40px;
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold-ink);
  flex: none;
}

.doc__title {
  font-weight: 500;
  display: block;
}

.doc__meta {
  font-size: 0.76rem;
  color: var(--muted);
}

.doc__arrow {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex: none;
}

/* ---------- Forms ---------- */

.form {
  display: grid;
  gap: 20px;
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-900);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(185, 139, 67, 0.16);
}

.form__note {
  font-size: 0.78rem;
  color: var(--muted);
}

.form__status {
  padding: 16px 18px;
  border-left: 2px solid var(--gold);
  background: rgba(185, 139, 67, 0.08);
  font-size: 0.9rem;
  display: none;
}

.form__status.is-visible {
  display: block;
}

/* ---------- FAQ ---------- */

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--navy-900);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 1.3rem;
  color: var(--gold-ink);
  flex: none;
  transition: transform 0.3s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq__body {
  padding-bottom: 24px;
  color: var(--muted);
  max-width: 72ch;
}

/* ---------- Gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
}

.gallery figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--sand);
  aspect-ratio: 4 / 3;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.gallery figure:hover img {
  transform: scale(1.03);
}

.gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 32px 18px 14px;
  background: linear-gradient(0deg, rgba(8, 20, 38, 0.82), transparent);
  color: rgba(251, 248, 241, 0.9);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.contact-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  padding: clamp(26px, 3.4vw, 40px);
}

.contact-card + .contact-card {
  margin-top: 18px;
}

.contact-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.contact-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-card a {
  color: var(--navy-900);
  border-bottom: 1px solid var(--gold);
}

.contact-card a:hover {
  color: var(--gold-ink);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.contact-list li {
  display: grid;
  gap: 2px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.contact-list span {
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Give ---------- */

.give-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}

.give-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  padding: clamp(26px, 3vw, 36px);
  display: flex;
  flex-direction: column;
}

.give-card__num {
  font-family: var(--serif);
  color: var(--gold-ink);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.give-card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.give-card p {
  color: var(--muted);
  font-size: 0.94rem;
}

.give-card ul {
  margin: 0 0 18px;
  padding-left: 1.1em;
  color: var(--muted);
  font-size: 0.92rem;
}

.give-card .link-arrow {
  margin-top: auto;
  align-self: flex-start;
}

.check-box {
  background: var(--sand);
  padding: clamp(24px, 3vw, 34px);
  border-left: 2px solid var(--gold);
}

.check-box dl {
  margin: 0;
  display: grid;
  gap: 12px;
}

.check-box dt {
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.check-box dd {
  margin: 2px 0 0;
  font-weight: 500;
  color: var(--navy-900);
}

.check-box a,
.note a {
  border-bottom: 1px solid var(--gold);
}

.check-box a:hover,
.note a:hover {
  color: var(--gold-ink);
}

/* ---------- Timeline / steps ---------- */

.steps {
  display: grid;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.step__num {
  width: 36px;
  height: 36px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  color: var(--gold-ink);
  font-weight: 600;
}

.step h3 {
  font-size: 1.1rem;
  font-family: var(--sans);
  font-weight: 600;
  margin-bottom: 6px;
}

.step p {
  color: var(--muted);
  font-size: 0.94rem;
  margin: 0;
}

/* ---------- Event ---------- */

.event {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.event__poster {
  position: relative;
  padding: 14px;
  border: 1px solid var(--gold);
}

.event__poster img {
  width: 100%;
  height: auto;
}

.event__date {
  display: flex;
  gap: 18px;
  align-items: baseline;
  margin-bottom: 18px;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.event__date span + span {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.event h2 {
  margin-bottom: 16px;
}

.event__meta {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.event__meta div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 14px;
  font-size: 0.9rem;
}

.event__meta dt {
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 3px;
}

.event__meta dd {
  margin: 0;
  color: var(--navy-900);
}

/* ---------- Misc ---------- */

.note {
  padding: 20px 24px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 0.86rem;
  color: var(--muted);
}

.note strong {
  color: var(--navy-900);
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 64px);
}

.two-col h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  margin-bottom: 16px;
}

.stack > * + * {
  margin-top: 18px;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 18px; }
.mt-3 { margin-top: 28px; }
.mt-4 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }

/* ---------- Reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--d, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__media img {
    animation: none;
    transform: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1120px) {
  .nav {
    gap: 20px;
  }

  .nav__list {
    gap: 16px;
  }

  .brand__mark {
    height: 34px;
  }

  .brand__line1 {
    font-size: 0.56rem;
  }

  .brand__line2 {
    font-size: 0.76rem;
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 74px;
  }

  .utility {
    display: none;
  }

  .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .nav-toggle {
    display: block;
    z-index: 110;
  }

  .nav-open .nav-toggle {
    border-color: rgba(251, 248, 241, 0.38);
  }

  .nav-open .nav-toggle span {
    background: var(--cream);
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 90;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: calc(var(--header-h) + 40px) var(--gutter) 40px;
    background: var(--navy-950);
    color: var(--cream);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
      visibility 0.35s;
    overflow-y: auto;
  }

  .nav-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .nav__list li {
    width: 100%;
    border-bottom: 1px solid var(--line-light);
  }

  .nav__link {
    display: block;
    width: 100%;
    padding: 18px 0;
    font-family: var(--serif);
    font-size: 1.5rem;
    color: var(--cream);
  }

  .nav__link::after {
    display: none;
  }

  .nav__link[aria-current="page"] {
    color: var(--gold-2);
  }

  .nav > .btn {
    display: inline-flex;
  }

  .nav__home {
    display: block;
  }

  .nav__contact {
    display: block;
  }

  .header__actions .btn {
    display: none;
  }

  .nav .btn {
    display: inline-flex;
    margin-top: 28px;
  }

  .nav__contact {
    margin-top: 28px;
    font-size: 0.8rem;
    color: rgba(251, 248, 241, 0.6);
  }

  .page-hero__grid,
  .mission__grid,
  .split,
  .cta__inner,
  .event,
  .contact-grid,
  .program {
    grid-template-columns: minmax(0, 1fr);
  }

  .mission__label,
  .program__head {
    position: static;
  }

  .page-hero__aside {
    border-left: 0;
    border-top: 1px solid var(--line-light);
    padding-left: 0;
    padding-top: 20px;
  }

  .split__media {
    min-height: 340px;
  }

  .practice,
  .board-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facts__item:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .facts__item:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .pillar {
    grid-template-columns: 42px minmax(0, 1fr) 24px;
  }

  .pillar__desc {
    grid-column: 2 / 3;
    margin-top: 10px;
  }

  .pillar__arrow {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
  }

  .cta__side {
    border-left: 0;
    border-top: 1px solid var(--line-light);
    padding-left: 0;
    padding-top: 24px;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 1rem;
  }

  .brand__divider {
    display: none;
  }

  .brand__mark {
    height: 32px;
  }

  .brand__line1 {
    display: none;
  }

  .brand__line2 {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
  }

  .hero {
    min-height: 88svh;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__meta {
    gap: 8px 18px;
  }

  .practice,
  .board-grid,
  .give-grid,
  .two-col,
  .form__row {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer__top {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer__bottom {
    flex-direction: column;
  }

  .event__meta div {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .doc {
    align-items: flex-start;
  }
}
