:root {
  color-scheme: light;
  --paper: #f7f6f2;
  --page-background: #f2f2f2;
  --ink: #242722;
  --muted: #626962;
  --line: #bfc6c1;
  --navy: #242923;
  --ice: #d8e8eb;
  --gold: #eacc94;
  --gutter: clamp(1rem, 1.55vw, 2.4rem);
  --content-width: min(100% - 2 * var(--gutter), 104rem);
  --nav-height: 4.65rem;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--page-background);
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 1.5rem);
}
body { margin: 0; background: var(--page-background); }
h1, h2, p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #26798c; outline-offset: 5px; }
.wrap { width: var(--content-width); margin-inline: auto; }
.section-space { padding-block: clamp(4.25rem, 8vw, 7.5rem); }

.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}
.skip-link:focus {
  position: fixed;
  z-index: 3;
  top: 1rem;
  left: 1rem;
  padding: .75rem;
  background: white;
}
.eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}
h2 {
  font-size: clamp(2.55rem, 5.25vw, 5.15rem);
  font-weight: 500;
  line-height: 1.01;
  letter-spacing: -.065em;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 2.9rem;
  padding: .65rem 1.12rem;
  border: 1px solid transparent;
  border-radius: 50rem;
  background: transparent;
  line-height: 1.25;
  font-size: .9rem;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.button-outline { border-color: #aab5b3; }
.button-outline:hover { background: var(--ink); color: white; border-color: var(--ink); }
.button-light { background: var(--paper); color: var(--ink); }
.button-light:hover { background: var(--ice); }
.button-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin: -.35rem -.81rem -.35rem .6rem;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-size: 1rem;
}

.site-header {
  position: fixed;
  z-index: 2;
  inset: 0 0 auto;
  color: var(--paper);
  border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  transition: background-color .25s;
}
.header-inner {
  min-height: calc(var(--nav-height) - 1px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}
.header-menu { display: contents; }
.menu-toggle {
  display: none;
  justify-content: center;
  align-items: center;
  gap: .6rem;
  min-height: 2.75rem;
  padding: .5rem .7rem;
  border: 0;
  background: transparent;
  font-size: .96rem;
  font-weight: 650;
  cursor: pointer;
}
.menu-icon {
  position: relative;
  width: 1rem;
  height: .7rem;
}
.menu-icon::before, .menu-icon::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  border-top: 2px solid currentColor;
  transition: transform .2s;
}
.menu-icon::after { inset: auto 0 0; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(.28rem) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { transform: translateY(-.28rem) rotate(-45deg); }
.site-header[data-scroll-state="scrolled"] {
  background-color: rgb(255 255 255 / 84%);
  color: var(--ink);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  justify-self: start;
  width: fit-content;
  font-family: Georgia, serif;
  font-size: 1.28rem;
  line-height: 1.02;
  text-decoration: none;
  letter-spacing: -.035em;
  white-space: nowrap;
}
.brand img { width: 2.4rem; height: auto; }
.site-header nav { display: flex; gap: clamp(1rem, 3vw, 2.7rem); }
.site-header nav a { font-size: 1.04rem; text-decoration: none; font-weight: 550; }
.site-header nav a:hover, .site-header nav [aria-current="page"] { text-decoration: underline; text-underline-offset: .25em; }
.header-action {
  justify-self: end;
  min-height: 2.65rem;
  padding-inline: 1rem;
  font-size: .95rem;
  border-color: transparent;
  background: var(--gold);
  color: var(--ink);
  white-space: nowrap;
}
.header-action:hover { background: #f5ddb2; color: var(--ink); border-color: transparent; }
.site-header[data-scroll-state="top"] :focus-visible { outline-color: var(--paper); }

.page-grid {
  background-image: linear-gradient(to right,
    transparent 25%, #62726726 25% calc(25% + 1px),
    transparent calc(25% + 1px) 50%, #62726726 50% calc(50% + 1px),
    transparent calc(50% + 1px) 75%, #62726726 75% calc(75% + 1px),
    transparent calc(75% + 1px));
  background-position: center;
  background-size: var(--content-width) 100%;
  background-repeat: no-repeat;
}

.about {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
}
.section-marker { display: flex; align-items: center; gap: 1rem; padding-top: .7rem; }
.section-marker::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.section-marker .eyebrow {
  padding: .3rem .65rem;
  border: 1px solid var(--line);
  border-radius: 50rem;
  font-size: .82rem;
  font-weight: 550;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}
.about-content h2 { font-size: clamp(2.5rem, 4vw, 4rem); }
.about-content p {
  margin-top: 1.25rem;
  max-width: 44rem;
  font-size: clamp(1.25rem, 2.45vw, 2.3rem);
  letter-spacing: -.045em;
  line-height: 1.24;
}
.about-content p span { color: var(--muted); }
.about-content .button { margin-top: 1.5rem; }
.about-learning-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-block: 1.75rem;
}
.about-learning-grid > div {
  padding: clamp(1.15rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  background: var(--paper);
}
.about-learning-grid > div,
.empty,
.instructor-image,
.library-feature video,
.page-callout,
.resource-image {
  border-radius: clamp(1.5rem, 3vw, 2.5rem);
  corner-shape: squircle;
}
.contact-form :is(input, select, textarea),
.newsletter-form input,
.search,
.resource-body video {
  border-radius: .9rem;
  corner-shape: squircle;
}
.about-learning-grid h3 {
  margin: 0 0 .7rem;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -.04em;
}
.about-learning-grid p { color: var(--muted); line-height: 1.6; }

.library { margin-bottom: clamp(4.25rem, 8vw, 7.5rem); }
.library-feature-caption a {
  display: inline-block;
  margin-top: .8rem;
  font-size: .93rem;
  font-weight: 650;
  text-underline-offset: .23em;
}
.library-feature video { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--navy); }
.library-feature-caption .eyebrow { color: #47654f; }
.library-feature h2 { margin-top: .55rem; letter-spacing: -.055em; }
.library-feature h2 { max-width: 18ch; font-size: clamp(1.75rem, 3vw, 3.6rem); }
.library-feature-caption p:not(.eyebrow) {
  max-width: 34rem;
  margin-top: .8rem;
  color: var(--muted);
  line-height: 1.5;
}
.library-catalog { margin-bottom: 0; }
.library-catalog .library-tools { margin-block: 1.4rem 1rem; }
.library-catalog .search { background: var(--paper); }
.library-count { margin-bottom: .9rem; color: var(--muted); font-size: .9rem; }
.library-catalog .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 0; }
.library-catalog .resource { min-width: 0; border-top: 1px solid var(--line); }
.library-catalog .resource-link {
  display: grid;
  grid-template-columns: clamp(5.5rem, 12vw, 11rem) minmax(0, 1fr) auto;
  gap: clamp(.75rem, 1.6vw, 1.5rem);
  align-items: start;
  padding-block: clamp(1.2rem, 2.4vw, 2rem);
}
.library-catalog .resource-image { aspect-ratio: 1; border-radius: clamp(.75rem, 1.75vw, 1.5rem); }
.library-catalog img[src$="emblem.webp"] { object-fit: contain; padding: .65rem; background: var(--navy); }
.catalog-entry-copy .resource-category { margin-top: 0; }
.catalog-entry-copy .resource-title { font-size: clamp(1.2rem, 2.15vw, 2rem); }
.catalog-entry-copy p { margin-top: .55rem; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.catalog-entry-arrow { color: #47654f; font-size: 1.2rem; }
.library-catalog .play { left: .45rem; bottom: .45rem; width: 2rem; }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.section-heading h2 { font-size: clamp(2.5rem, 4vw, 4.25rem); }
.section-heading > p { max-width: 22rem; color: var(--muted); line-height: 1.55; padding-bottom: .2rem; }
.library-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-block: 1.85rem 1.3rem;
}
.filters { display: flex; flex-wrap: wrap; gap: .45rem; }
.filters button {
  cursor: pointer;
  background: transparent;
  border: 1px solid #b1bcb9;
  border-radius: 50rem;
  padding: .5rem .8rem;
  min-height: 2.55rem;
  font-size: .88rem;
  font-weight: 550;
}
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { color: white; border-color: var(--ink); background: var(--ink); }
.search {
  display: flex;
  align-items: center;
  gap: .75rem;
  width: min(100%, 16rem);
  min-height: 2.65rem;
  padding-inline: .95rem;
  border: 1px solid #aab5b3;
}
.search:focus-within { outline: 2px solid #26798c; outline-offset: 2px; }
.search-icon { width: .8rem; height: .8rem; border: 1.5px solid currentColor; border-radius: 50%; position: relative; flex: none; }
.search-icon::after { content: ""; width: .37rem; height: 1.5px; background: currentColor; position: absolute; right: -.28rem; bottom: -.14rem; transform: rotate(45deg); }
.search input { min-width: 0; width: 100%; height: 2.6rem; padding: 0; outline: none; border: 0; background: transparent; color: var(--ink); }
.search input::placeholder { color: var(--muted); opacity: 1; }

.resource-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.85rem, 1.8vw, 1.65rem); }
.resource-link { display: block; text-decoration: none; }
.resource-image { display: block; position: relative; overflow: hidden; background: #d9e1df; aspect-ratio: 4 / 5; }
.resource-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.resource-link:hover img { transform: scale(1.045); }
.resource-category {
  display: block;
  margin-top: 1.05rem;
  color: #425a60;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.resource-title { display: block; margin-top: .36rem; font-size: clamp(1.04rem, 1.65vw, 1.5rem); font-weight: 600; line-height: 1.17; letter-spacing: -.036em; }
.resource-link:hover .resource-title { text-decoration: underline; text-underline-offset: .16em; }
.play { position: absolute; left: .8rem; bottom: .8rem; width: 2.7rem; aspect-ratio: 1; display: grid; place-items: center; background: var(--paper); border-radius: 50%; }
.play::after { content: ""; margin-left: .15rem; border-inline-start: .55rem solid var(--ink); border-block: .36rem solid transparent; }
.empty { padding: 2.5rem 1.25rem; text-align: center; border: 1px solid var(--line); }
.empty p { margin-bottom: 1rem; }

.instructor { width: min(var(--content-width), 82rem); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 8vw, 8rem); }
.instructor-image {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  place-items: center;
  min-height: 21rem;
  aspect-ratio: 1.28;
  background: radial-gradient(ellipse at center, #43525a, #182a32 68%, #102028);
}
.instructor-image img { width: 50%; max-height: 77%; object-fit: contain; filter: drop-shadow(0 0 1.6rem #e6c3713d); }
.instructor-copy { grid-column: 1; grid-row: 1; }
.instructor-copy .eyebrow { margin-bottom: 1rem; }
.instructor-copy > p:not(.eyebrow) { color: var(--muted); margin-block: 1.15rem 1.5rem; line-height: 1.65; max-width: 33rem; }
.site-footer {
  overflow: hidden;
  color: var(--paper);
  background: linear-gradient(180deg, #15342433, #0d271bcc 60%, #112e20b5),
    #173329 url("assets/footer-ridge.jpg") center / cover no-repeat;
}
.site-footer :focus-visible { outline-color: var(--gold); }
.footer-cta {
  padding: clamp(3rem, 7vw, 7rem) var(--gutter) clamp(5.5rem, 12vw, 11rem);
  color: var(--ink);
  text-align: center;
  background: linear-gradient(180deg, var(--page-background), #dce7d9ed 49%, #bed2bd99 75%, transparent);
}
.footer-cta h2 {
  max-width: 17ch;
  margin-inline: auto;
  font-size: clamp(2.65rem, 6vw, 6.4rem);
  line-height: .98;
  letter-spacing: -.055em;
}
.footer-cta p { max-width: 32rem; margin: 1rem auto 0; color: #2f463a; line-height: 1.55; }
.footer-cta-button { gap: .75rem; margin-top: 1.5rem; padding-inline: 1.35rem; background: var(--gold); color: var(--ink); }
.footer-cta-button:hover { background: #f5ddb2; }
.footer-cta .footer-cta-button:focus-visible { outline-color: var(--ink); }
.footer-details { width: min(var(--content-width), 84rem); }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr .55fr 1.1fr;
  gap: clamp(1.75rem, 5vw, 5rem);
  padding-bottom: clamp(1.75rem, 4vw, 3.5rem);
}
.footer-brand .brand { font-size: 1.55rem; }
.footer-brand p, .newsletter h2 + p { max-width: 24rem; margin-top: .7rem; color: #e1ebe2; line-height: 1.55; }
.footer-links { display: grid; align-content: start; justify-items: start; gap: .6rem; }
.footer-links h2, .newsletter h2 { font-size: 1.3rem; line-height: 1.2; letter-spacing: -.025em; }
.footer-links h2 { margin-bottom: .15rem; }
.footer-links a, .footer-bottom a { text-decoration: none; }
.footer-links a:hover, .footer-links [aria-current="page"], .footer-bottom a:hover { text-decoration: underline; text-underline-offset: .25em; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .65rem 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e3f2e467;
  color: #e1ebe2;
  font-size: .88rem;
}
.footer-wordmark {
  margin: clamp(2.5rem, 6vw, 6rem) auto -.18em;
  font-size: min(14.2vw, 16rem);
  font-weight: 700;
  line-height: .85;
  letter-spacing: -.083em;
  text-align: center;
  white-space: nowrap;
}
.newsletter-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .65rem; margin-top: 1rem; }
.newsletter-form input {
  min-width: 0;
  width: 100%;
  min-height: 3.15rem;
  padding: .65rem 1rem;
  border: 1px solid transparent;
  background: var(--paper);
  color: var(--ink);
}
.newsletter-form :focus-visible { outline-color: var(--gold); }
.newsletter-form .button { padding-inline: 1.35rem; border-color: transparent; background: var(--gold); color: var(--ink); white-space: nowrap; }
.newsletter-form .button:hover { background: #f5ddb2; }
.newsletter-note { grid-column: 1 / -1; color: #dae8de; font-size: .85rem; line-height: 1.45; }
.newsletter-form button:disabled, .contact-form button:disabled { cursor: wait; opacity: .7; }

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: end;
  min-height: clamp(23rem, 36vw, 34rem);
  color: var(--paper);
  background: #142630;
}
.page-hero-image, .page-hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.page-hero-image { z-index: -2; object-fit: cover; object-position: center 46%; }
.page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: calc(var(--nav-height) + 3.5rem);
  background: linear-gradient(#0c1e1ade, transparent);
}
.page-hero::after { content: ""; background: linear-gradient(90deg, #102820de, #10282055), linear-gradient(0deg, #10282087, transparent 65%); }
.page-hero-inner { padding-block: calc(var(--nav-height) + 2.5rem) clamp(2.75rem, 6vw, 5.5rem); }
.page-hero h1 { font-size: clamp(3rem, 8vw, 7.3rem); font-weight: 500; letter-spacing: -.075em; line-height: .98; }
.page-hero p { max-width: 37rem; margin-top: 1.15rem; font-size: clamp(1rem, 2vw, 1.35rem); line-height: 1.5; }
.page-section { padding-top: clamp(3.25rem, 6vw, 5.5rem); margin-bottom: clamp(4.25rem, 8vw, 7.5rem); }
.inner-page .about + .page-section { padding-top: 0; }
.page-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  margin-bottom: clamp(3.5rem, 8vw, 8rem);
  padding: clamp(1.75rem, 5vw, 4rem);
  background: #e2eae6;
}
.page-callout h2 { font-size: clamp(2.1rem, 4.2vw, 4rem); }
.page-callout p, .contact-intro p { max-width: 34rem; margin-top: .85rem; color: var(--muted); line-height: 1.6; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 8vw, 8rem); }
.contact-form { display: grid; gap: .55rem; }
.contact-form label { margin-top: .45rem; font-size: .9rem; font-weight: 650; }
.contact-form :is(input, select, textarea) {
  width: 100%;
  padding: .7rem .85rem;
  border: 1px solid #aab5b3;
  color: var(--ink);
  background: white;
}
.contact-form textarea { resize: vertical; }
.contact-form .button { justify-self: start; margin-top: .55rem; }
.form-note, #contact-status { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.form-note { margin-bottom: .35rem; }

.resource-back { display: inline-block; font-size: .95rem; text-decoration: none; }
.resource-back:hover { text-decoration: underline; text-underline-offset: .2em; }
.resource-back:focus-visible { outline-color: var(--gold); }
.resource-body { width: min(var(--content-width), 49rem); }
.resource-body p { font-size: clamp(1.05rem, 1.7vw, 1.25rem); line-height: 1.7; }
.resource-body p + p { margin-top: 1.2rem; }
.resource-body .resource-lead { margin-top: 1.15rem; font-size: clamp(1.45rem, 2.8vw, 2.15rem); line-height: 1.32; letter-spacing: -.035em; }
.resource-section { margin-top: clamp(2rem, 5vw, 3.5rem); }
.resource-section h2 { margin-bottom: .75rem; font-size: clamp(1.6rem, 3vw, 2.45rem); }
.resource-body video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 1.5rem;
  margin-bottom: 1.25rem;
  background: var(--navy);
}
.resource-body .button { margin-top: 1.75rem; }

@media (max-width: 50rem) {
  :root { --nav-height: 4.25rem; }
  .header-inner { grid-template-columns: 1fr auto; gap: 0 1rem; padding-block: .55rem; }
  .header-inner .brand span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .header-inner .brand img { width: 2.4rem; }
  .menu-toggle { display: inline-flex; }
  .site-header[data-menu-open="false"] .header-menu { display: none; }
  .site-header[data-menu-open="true"] { background: var(--paper); color: var(--ink); }
  .site-header[data-menu-open="true"] :focus-visible { outline-color: var(--ink); }
  .header-menu {
    display: grid;
    grid-column: 1 / -1;
    justify-items: start;
    gap: 1rem;
    max-height: calc(100dvh - var(--nav-height));
    overflow: auto;
    margin-top: .55rem;
    padding: .65rem .35rem 1rem;
    border-top: 1px solid var(--line);
  }
  .site-header nav { flex-direction: column; gap: 0; width: 100%; }
  .site-header nav a { display: flex; align-items: center; min-height: 2.75rem; }
  .header-action { justify-self: start; }
  .about, .instructor, .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1.35fr 1fr; }
  .newsletter { grid-column: 1 / -1; max-width: 32rem; }
  .about-learning-grid { grid-template-columns: 1fr; }
  .section-marker { padding-top: 0; }
  .section-heading { align-items: start; flex-direction: column; }
  .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.7rem; }
  .library-feature video { max-width: 38rem; }
  .instructor-image { grid-column: auto; grid-row: 2; min-height: 0; max-height: 25rem; }
  .instructor-copy { grid-column: auto; grid-row: 1; }
}

@media (max-width: 30rem) {
  .library-catalog .resource-link { grid-template-columns: 5.25rem minmax(0, 1fr); }
  .catalog-entry-arrow { display: none; }
  .header-inner { column-gap: .4rem; }
  .brand { font-size: 1.1rem; gap: .45rem; }
  .brand img { width: 2rem; }
  .header-action { padding-inline: .7rem; min-height: 2.4rem; font-size: .78rem; }
  .site-header nav a { font-size: .96rem; }
}

@media (max-width: 25rem) {
  .header-inner { column-gap: .3rem; }
  .header-action { padding-inline: .55rem; }
  .newsletter-form { grid-template-columns: 1fr; }
  .newsletter-form .button { justify-self: start; }
}

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