:root {
  --cream: #fbf7ef;
  --cream-deep: #f3ebdd;
  --paper: #fffdf8;
  --ink: #0d2a24;
  --ink-soft: #35534c;
  --basil: #184e3f;
  --basil-dark: #0b342a;
  --leaf: #608d45;
  --orange: #ed5727;
  --orange-dark: #c94018;
  --cobalt: #2d6fa3;
  --line: rgba(13, 42, 36, 0.17);
  --display: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  --body: "DM Sans", Arial, sans-serif;
  --content: 1240px;
  --page-pad: clamp(1.25rem, 5vw, 5rem);
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a,
input,
textarea {
  font-family: var(--body);
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

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

:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 4px;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.45rem, 4.6vw, 4.6rem);
}

h3 {
  font-size: clamp(1.5rem, 2.2vw, 2.15rem);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 1rem;
  top: 1rem;
  padding: 0.8rem 1rem;
  color: white;
  background: var(--basil-dark);
  transform: translateY(-180%);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: relative;
  z-index: 20;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.85rem var(--page-pad);
  background: var(--cream);
  border-bottom: 1px solid rgba(13, 42, 36, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand span {
  font-family: var(--display);
  font-size: clamp(1.65rem, 2.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.055em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.35rem, 2.6vw, 2.8rem);
}

.site-nav > a:not(.button) {
  position: relative;
  padding: 0.65rem 0;
  font-weight: 700;
  text-decoration: none;
}

.site-nav > a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0.2rem;
  height: 2px;
  background: var(--orange);
  transition: right 180ms ease;
}

.site-nav > a:hover::after,
.site-nav > a[aria-current="page"]::after {
  right: 0;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  font-size: 1.1rem;
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0.82rem 1.35rem;
  color: #fff;
  background: var(--orange);
  border: 2px solid var(--orange);
  border-radius: 12px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.button:hover {
  color: var(--orange);
  background: transparent;
  transform: translateY(-2px);
}

.button--small {
  min-height: 46px;
  padding: 0.72rem 1.25rem;
  border-radius: 13px;
}

.button--light {
  color: var(--ink);
  background: var(--cream);
  border-color: var(--cream);
}

.button--light:hover {
  color: var(--cream);
  background: transparent;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--orange);
  font-weight: 800;
  text-decoration: none;
}

.text-link i {
  font-size: 0.78em;
  transition: transform 180ms ease;
}

.text-link:hover i {
  transform: translateX(4px);
}

.text-link--light {
  color: #fff;
}

.home-hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(460px, 0.92fr);
  overflow: hidden;
  background: var(--cream);
}

.home-hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(4.25rem, 8vw, 8.5rem) clamp(2rem, 5.8vw, 6.5rem);
}

.home-hero h1 {
  max-width: 750px;
  margin-bottom: 1.75rem;
  font-size: clamp(4rem, 6.6vw, 7rem);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.068em;
}

.home-hero h1 span {
  display: block;
  color: var(--orange);
}

.home-hero__intro {
  max-width: 590px;
  margin-bottom: 2.15rem;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  line-height: 1.65;
}

.home-hero__image {
  min-width: 0;
  min-height: 650px;
  background: var(--cream-deep);
}

.home-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: #fff;
  background: var(--basil);
}

.proof-strip__item {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 1.25rem;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 700;
}

.proof-strip__item:last-child {
  border-right: 0;
}

.proof-strip__item i {
  color: var(--cream);
  font-size: 1.45rem;
}

.section {
  padding: clamp(4.5rem, 8vw, 8rem) var(--page-pad);
}

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

.section--cream-deep {
  background: var(--cream-deep);
}

.section--basil {
  color: #fff;
  background: var(--basil);
}

.section__inner {
  width: min(100%, var(--content));
  margin: 0 auto;
}

.section-heading {
  max-width: 850px;
  margin: 0 auto clamp(2.75rem, 5vw, 4.5rem);
  text-align: center;
}

.section-heading--left {
  margin-left: 0;
  text-align: left;
}

.section-heading h2 {
  margin-bottom: 1rem;
}

.section-heading p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.section-heading--left p {
  margin-left: 0;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.35rem, 2.8vw, 2.5rem);
}

.resource-card {
  min-width: 0;
}

.resource-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 1.35rem;
  object-fit: cover;
}

.resource-card h3 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.65rem, 2.5vw, 2.3rem);
  line-height: 1;
}

.resource-card p {
  min-height: 5.1em;
  margin-bottom: 1rem;
  color: var(--ink-soft);
}

.membership-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  background: var(--cream-deep);
}

.membership-callout__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(4rem, 7vw, 7rem) var(--page-pad);
}

.membership-callout h2 {
  max-width: 650px;
  margin-bottom: 1.4rem;
  font-size: clamp(3rem, 5vw, 5.3rem);
}

.membership-callout h2 span {
  display: block;
  color: var(--orange);
}

.membership-callout__copy > p {
  max-width: 600px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.check-list {
  display: grid;
  gap: 0.55rem;
  margin: 1.25rem 0 2rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.check-list i {
  margin-top: 0.28rem;
  color: var(--basil);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
}

.membership-callout__image {
  min-height: 570px;
}

.membership-callout__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-callout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem);
  padding: clamp(4rem, 7vw, 7rem) var(--page-pad);
  overflow: hidden;
  background: var(--cream);
}

.community-callout__copy {
  max-width: 520px;
}

.community-callout h2 {
  margin-bottom: 1.25rem;
}

.community-callout p {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.community-callout__map img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(460px, 1.06fr);
  min-height: 590px;
  background: var(--cream);
}

.page-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(4rem, 8vw, 8rem) var(--page-pad);
}

.page-hero h1 {
  max-width: 750px;
  margin-bottom: 1.5rem;
  font-size: clamp(3.8rem, 6.5vw, 6.8rem);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.067em;
}

.page-hero__intro {
  max-width: 600px;
  margin-bottom: 2rem;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.4vw, 1.25rem);
}

.page-hero__image {
  min-height: 590px;
  background: var(--cream-deep);
}

.page-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 6vw, 6rem);
}

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

.content-grid__sticky {
  align-self: start;
  position: sticky;
  top: 2rem;
}

.content-grid h2 {
  margin-bottom: 1.4rem;
}

.prose {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.prose p {
  max-width: 68ch;
}

.prose strong {
  color: var(--ink);
}

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

.story-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--line);
}

.story-row__label {
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.story-row h3 {
  margin-bottom: 0.6rem;
}

.story-row p:last-child {
  margin-bottom: 0;
}

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

.benefit-item {
  padding: 2rem 2rem 2rem 0;
  border-bottom: 1px solid var(--line);
}

.benefit-item:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.benefit-item:nth-child(even) {
  padding-left: 2rem;
}

.benefit-item i {
  margin-bottom: 1.2rem;
  color: var(--orange);
  font-size: 1.5rem;
}

.benefit-item h3 {
  margin-bottom: 0.7rem;
}

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

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

.format-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.format-row h3 {
  margin-bottom: 0;
}

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

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 0.45rem 0.72rem;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 0.9rem;
}

.number-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: #fff;
  background: var(--basil-dark);
}

.number-band__item {
  padding: clamp(2.2rem, 5vw, 4.5rem) var(--page-pad);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.number-band__item:last-child {
  border-right: 0;
}

.number-band strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.number-band span {
  color: rgba(255, 255, 255, 0.76);
}

.archival-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 3rem;
  border-top: 1px solid var(--line);
}

.archival-item {
  padding: 1.75rem 1.5rem 0 0;
  border-right: 1px solid var(--line);
}

.archival-item:not(:first-child) {
  padding-left: 1.5rem;
}

.archival-item:last-child {
  border-right: 0;
}

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

.archival-year {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--orange);
  font-weight: 800;
}

.photo-band {
  min-height: 460px;
}

.photo-band img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.callout-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(3rem, 6vw, 5.5rem) var(--page-pad);
  color: #fff;
  background: var(--basil);
}

.callout-band__copy {
  max-width: 780px;
}

.callout-band h2 {
  margin-bottom: 0.8rem;
}

.callout-band p {
  max-width: 670px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.08rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.contact-panel__status {
  padding: clamp(2rem, 4vw, 3.5rem);
  background: var(--paper);
  border-left: 6px solid var(--orange);
}

.contact-panel__status h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.contact-panel__status p:last-child {
  margin-bottom: 0;
}

.site-footer {
  padding: clamp(3.5rem, 7vw, 6.5rem) var(--page-pad) 1.5rem;
  color: #fff;
  background: var(--basil-dark);
}

.site-footer__top {
  width: min(100%, var(--content));
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 1fr) auto;
  align-items: center;
  gap: 2rem;
  margin: 0 auto 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.brand--footer {
  color: #fff;
}

.brand--footer img {
  background: var(--cream);
  border-radius: 8px;
}

.site-footer__top p {
  max-width: 480px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer__links {
  width: min(100%, var(--content));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin: 0 auto 4rem;
}

.site-footer__links > div {
  display: grid;
  align-content: start;
  gap: 0.65rem;
}

.site-footer__links a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
}

.site-footer__links a:hover {
  color: #fff;
}

.footer-label {
  margin-bottom: 0.5rem;
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer__bottom {
  width: min(100%, var(--content));
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 auto;
  padding-top: 1.5rem;
  color: rgba(255, 255, 255, 0.56);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
}

@media (max-width: 1040px) {
  .home-hero,
  .page-hero {
    grid-template-columns: 1fr 0.88fr;
  }

  .home-hero {
    min-height: 560px;
  }

  .home-hero__copy {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .home-hero__image {
    min-height: 560px;
  }

  .home-hero h1,
  .page-hero h1 {
    font-size: clamp(3.4rem, 7vw, 5rem);
  }

  .membership-callout__image {
    min-height: 500px;
  }

  .site-footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__top .text-link {
    grid-column: 1 / -1;
  }
}

@media (max-width: 780px) {
  .site-header {
    min-height: 76px;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand span {
    font-size: 1.35rem;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 1rem var(--page-pad) 1.5rem;
    background: var(--cream);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 25px rgba(13, 42, 36, 0.08);
  }

  .menu-open .site-nav {
    display: flex;
  }

  .site-nav > a:not(.button) {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .button {
    margin-top: 1rem;
  }

  .home-hero,
  .page-hero,
  .membership-callout,
  .community-callout,
  .content-grid,
  .content-grid--balanced,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-strip__item:nth-child(2) {
    border-right: 0;
  }

  .proof-strip__item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .home-hero {
    min-height: 0;
  }

  .home-hero__copy {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .home-hero h1,
  .page-hero h1 {
    font-size: clamp(3.2rem, 13.2vw, 4.6rem);
    line-height: 0.92;
  }

  .home-hero__image,
  .page-hero__image {
    min-height: 520px;
  }

  .page-hero__copy {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .resource-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .resource-card p {
    min-height: 0;
  }

  .membership-callout__image {
    min-height: 460px;
  }

  .community-callout__copy {
    max-width: 100%;
  }

  .content-grid__sticky {
    position: static;
  }

  .format-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .number-band {
    grid-template-columns: 1fr;
  }

  .number-band__item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .number-band__item:last-child {
    border-bottom: 0;
  }

  .archival-strip {
    grid-template-columns: 1fr 1fr;
  }

  .archival-item:nth-child(2) {
    border-right: 0;
  }

  .archival-item:nth-child(n + 3) {
    padding-top: 1.75rem;
    border-top: 1px solid var(--line);
  }

  .callout-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer__top,
  .site-footer__links {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  :root {
    --page-pad: 1.15rem;
  }

  body {
    font-size: 15.5px;
  }

  .brand span {
    font-size: 1.2rem;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-strip__item,
  .proof-strip__item:nth-child(2) {
    justify-content: flex-start;
    min-height: 70px;
    padding-left: 1.5rem;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .proof-strip__item:last-child {
    border-bottom: 0;
  }

  .home-hero__image,
  .page-hero__image,
  .membership-callout__image {
    min-height: 420px;
  }

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

  .benefit-list {
    grid-template-columns: 1fr;
  }

  .benefit-item,
  .benefit-item:nth-child(even) {
    padding: 1.6rem 0;
    border-right: 0;
  }

  .story-row {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .archival-strip {
    grid-template-columns: 1fr;
  }

  .archival-item,
  .archival-item:not(:first-child) {
    padding: 1.4rem 0;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .archival-item:first-child {
    border-top: 0;
  }

  .photo-band,
  .photo-band img {
    min-height: 340px;
  }
}

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

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