:root {
  --ink: #173f35;
  --ink-soft: #36594f;
  --wine: #7d2e3d;
  --gold: #b7934f;
  --sand: #e8dcc5;
  --paper: #f7f2e8;
  --paper-light: #fffdf8;
  --white: #ffffff;
  --radius: 1.5rem;
  --shadow: 0 1.75rem 4rem rgba(22, 60, 50, 0.12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper-light);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  background: var(--white);
  border-radius: 0.5rem;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.section,
footer {
  width: min(100% - 3rem, 1180px);
  margin-inline: auto;
}

.site-header {
  min-height: 6.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}

.brand-mark {
  width: 3.25rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--gold) 62%, transparent);
  border-radius: 50%;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.15;
}

nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav a {
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--wine);
}

.nav-support {
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
}

.hero {
  min-height: 720px;
  padding: clamp(4rem, 8vw, 7.5rem) max(1.5rem, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(360px, 0.87fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.98) 0%, rgba(255, 253, 248, 0.88) 52%, rgba(247, 242, 232, 0.8) 100%),
    radial-gradient(circle at 82% 22%, rgba(183, 147, 79, 0.16), transparent 32%);
  border-top: 1px solid rgba(183, 147, 79, 0.25);
  border-bottom: 1px solid rgba(183, 147, 79, 0.25);
}

.hero-copy {
  max-width: 750px;
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1.15rem;
  color: var(--wine);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.eyebrow span {
  width: 2.5rem;
  height: 1px;
  background: var(--gold);
}

h1,
h2,
h3,
p {
  text-wrap: balance;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: var(--serif);
  line-height: 1.06;
}

h1 {
  margin-bottom: 1.8rem;
  font-size: clamp(3.25rem, 6.7vw, 6.2rem);
  font-weight: 600;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.25rem, 4.4vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.65rem;
}

.hero-lead {
  max-width: 650px;
  margin: 0 0 2.25rem;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
}

.button-primary {
  color: var(--white);
  background: var(--wine);
  box-shadow: 0 0.75rem 1.75rem rgba(125, 46, 61, 0.2);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #692534;
  transform: translateY(-1px);
}

.text-link {
  font-size: 0.95rem;
  font-weight: 750;
  text-decoration: none;
}

.text-link span {
  color: var(--wine);
  margin-left: 0.35rem;
}

.hero-art {
  min-height: 520px;
  position: relative;
  display: grid;
  place-items: center;
}

.halo {
  position: absolute;
  border: 1px solid rgba(183, 147, 79, 0.28);
  border-radius: 50%;
}

.halo-large {
  width: min(42vw, 560px);
  aspect-ratio: 1;
}

.halo-small {
  width: min(32vw, 410px);
  aspect-ratio: 1;
}

.hero-emblem {
  width: min(25vw, 310px);
  aspect-ratio: 0.82;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--paper-light);
  background: var(--ink);
  border-radius: 49% 49% 44% 44% / 42% 42% 58% 58%;
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}

.hero-emblem strong {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  letter-spacing: -0.05em;
}

.hero-emblem small {
  margin-top: 0.4rem;
  color: var(--sand);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.26em;
}

.emblem-cross {
  width: 1px;
  height: 2.2rem;
  position: relative;
  margin-bottom: 1rem;
  background: var(--gold);
}

.emblem-cross::after {
  content: "";
  width: 1rem;
  height: 1px;
  position: absolute;
  top: 0.65rem;
  left: 50%;
  background: var(--gold);
  transform: translateX(-50%);
}

.olive {
  width: 190px;
  position: absolute;
  right: -1.75rem;
  bottom: -1.5rem;
  z-index: 3;
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  opacity: 0.88;
}

.section {
  padding-block: clamp(5.25rem, 9vw, 9rem);
}

.intro {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: clamp(2rem, 7vw, 8rem);
}

.intro-content {
  max-width: 820px;
}

.intro-lead {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  line-height: 1.35;
}

.intro-content > p:last-child {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.mission {
  width: 100%;
  max-width: none;
  padding-inline: max(1.5rem, calc((100vw - 1180px) / 2));
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 4rem;
  margin-bottom: 3.25rem;
}

.section-heading > p {
  max-width: 450px;
  color: var(--ink-soft);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.mission-card {
  min-height: 300px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: rgba(255, 253, 248, 0.8);
  border: 1px solid rgba(183, 147, 79, 0.32);
  border-radius: var(--radius);
}

.card-number {
  margin-bottom: auto;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 0.88rem;
  font-weight: 700;
}

.mission-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.leadership-panel {
  padding: clamp(2rem, 5vw, 4.5rem);
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  border: 1px solid rgba(183, 147, 79, 0.32);
  border-radius: calc(var(--radius) * 1.25);
  background: linear-gradient(135deg, #fffdf8 0%, #f5eee1 100%);
}

.portrait-mark {
  width: min(100%, 330px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  position: relative;
  justify-self: center;
  color: var(--paper-light);
  background: var(--wine);
  border-radius: 48% 52% 47% 53% / 52% 43% 57% 48%;
}

.portrait-mark::before,
.portrait-mark::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(183, 147, 79, 0.65);
  border-radius: inherit;
}

.portrait-mark::before {
  inset: -0.75rem 0.75rem 0.75rem -0.75rem;
}

.portrait-mark::after {
  inset: 1.4rem;
}

.portrait-mark span {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 6rem);
}

.role {
  margin: 1.65rem 0 0.15rem;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.person-name {
  margin: 0 0 1.2rem;
  color: var(--wine);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 700;
}

.leadership-copy {
  max-width: 600px;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.support {
  width: 100%;
  max-width: none;
  padding-inline: max(1.5rem, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  color: var(--paper-light);
  background: var(--ink);
}

.section-kicker-light {
  color: #e4c889;
}

.support-copy > p:not(.section-kicker) {
  max-width: 520px;
  color: #dbe5e1;
}

.support-note {
  max-width: 520px;
  margin-top: 2rem;
  padding-top: 1.5rem;
  display: flex;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.support-note span {
  color: #e4c889;
  font-size: 1.7rem;
}

.support-note p {
  margin: 0;
}

.bank-card {
  padding: clamp(1.6rem, 4vw, 3rem);
  color: var(--ink);
  background: var(--paper-light);
  border-radius: calc(var(--radius) * 1.15);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.22);
}

.bank-card-head {
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--sand);
}

.bank-card-head span,
.bank-card dt,
.details-grid dt {
  display: block;
  margin-bottom: 0.4rem;
  color: #777063;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bank-card-head strong {
  font-family: var(--serif);
  font-size: 1.25rem;
}

.bank-card dl {
  margin: 0;
}

.bank-card dl > div {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--sand);
}

.bank-card dl > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.bank-card dd,
.details-grid dd {
  margin: 0;
  font-weight: 700;
}

.copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(0.83rem, 1.8vw, 1rem);
  overflow-wrap: anywhere;
}

.copy-button {
  flex: 0 0 auto;
  padding: 0.5rem 0.8rem;
  color: var(--wine);
  background: transparent;
  border: 1px solid rgba(125, 46, 61, 0.35);
  border-radius: 999px;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
}

.copy-button:hover,
.copy-button:focus-visible {
  color: var(--white);
  background: var(--wine);
}

.details {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: clamp(2rem, 7vw, 7rem);
}

.details-grid {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.details-grid > div {
  padding: 1.35rem 1.5rem 1.35rem 0;
  border-top: 1px solid var(--sand);
}

footer {
  padding-block: 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 2rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--sand);
  font-size: 0.78rem;
}

.brand-footer {
  color: var(--ink);
}

.toast {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 50;
  padding: 0.8rem 1rem;
  color: var(--white);
  background: var(--wine);
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(1rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid #d8ad56;
  outline-offset: 4px;
}

@media (max-width: 900px) {
  nav a:not(.nav-support) {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-art {
    min-height: 440px;
  }

  .halo-large {
    width: 520px;
  }

  .halo-small {
    width: 390px;
  }

  .hero-emblem {
    width: 260px;
  }

  .intro,
  .details {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .mission-grid {
    grid-template-columns: 1fr;
  }

  .mission-card {
    min-height: 240px;
  }

  .leadership-panel,
  .support {
    grid-template-columns: 1fr;
  }

  .portrait-mark {
    width: min(70vw, 320px);
  }

  footer {
    grid-template-columns: 1fr 1fr;
  }

  footer > p:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .site-header,
  .section,
  footer {
    width: min(100% - 2rem, 1180px);
  }

  .site-header {
    min-height: 5.25rem;
  }

  .brand-name {
    font-size: 0.86rem;
  }

  .brand-mark {
    width: 2.8rem;
  }

  .nav-support {
    padding: 0.55rem 0.8rem;
    font-size: 0.8rem;
  }

  .hero {
    padding: 4.5rem 1rem 3rem;
  }

  h1 {
    font-size: clamp(3rem, 15.5vw, 4.5rem);
  }

  .hero-art {
    min-height: 360px;
  }

  .halo-large {
    width: 430px;
  }

  .halo-small {
    width: 320px;
  }

  .hero-emblem {
    width: 215px;
  }

  .olive {
    width: 140px;
    right: -1rem;
  }

  .details-grid {
    grid-template-columns: 1fr;
  }

  .copy-row {
    align-items: flex-start;
    flex-direction: column;
  }

  footer {
    grid-template-columns: 1fr;
  }

  footer > p:last-child {
    grid-column: auto;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
