:root {
  --canvas: #7a6ad8;
  --paper: #ffffff;
  --ink: #00171f;
  --purple: #7a6ad8;
  --purple-deep: #6757c3;
  --lime: #96f550;
  --pink: #e85d75;
  --plum: var(--purple);
  --indigo: var(--ink);
  --lavender: #eeecfb;
  --paper-muted: #f7f6fc;
  --success: #287337;
  --error: #a92f40;
  --disabled: #777a76;
  --rule-soft: rgba(0, 23, 31, 0.18);
  --font-body: "Space Grotesk", "Helvetica Neue", sans-serif;
  --font-display: "Space Grotesk", "Helvetica Neue", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --header-height: 74px;
  --sheet-max: 1280px;
  --site-gutter: clamp(10px, 3vw, 42px);
  --section-gap: clamp(30px, 4vw, 56px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  min-width: 320px;
  background: var(--canvas);
  color: var(--ink);
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-wrap: break-word;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
textarea {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

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

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

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.7;
}

h1,
h2,
h3,
p,
dl,
dd,
ul {
  margin-top: 0;
}

p,
li {
  max-width: 72ch;
}

[hidden] {
  display: none;
}

.page-frame {
  width: min(var(--sheet-max), calc(100% - (2 * var(--site-gutter))));
  margin-inline: auto;
}

.facts,
.about,
.contact {
  background: var(--paper);
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  min-height: 44px;
  padding: 10px 16px;
  transform: translateY(-160%);
  border: 1px solid var(--ink);
  background: var(--paper);
  font-weight: 600;
}

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--canvas);
}

.site-header__row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, auto) 1fr auto;
  align-items: stretch;
  min-height: var(--header-height);
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
  background: var(--paper);
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  min-height: var(--header-height);
  padding: 0 28px;
}

.wordmark__name,
.site-footer__wordmark {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
}

.wordmark__descriptor {
  color: rgba(23, 23, 23, 0.72);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-nav {
  justify-self: end;
}

.primary-nav ul {
  display: flex;
  height: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-nav a {
  position: relative;
  display: grid;
  min-width: 96px;
  min-height: var(--header-height);
  padding: 0 22px;
  place-items: center;
  font-size: 0.97rem;
  font-weight: 500;
}

.primary-nav a::after {
  position: absolute;
  right: 22px;
  bottom: 17px;
  left: 22px;
  height: 2px;
  background: var(--plum);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: stretch;
  border-left: 1px solid var(--ink);
}

.header-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 112px;
  min-height: var(--header-height);
  padding: 0 20px;
  background: transparent;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 500;
}

.header-control:hover,
.header-control[aria-expanded="true"] {
  background: var(--ink);
  color: var(--paper);
}

.header-control svg {
  width: 20px;
  height: 20px;
}

.menu-toggle {
  display: none;
  border-left: 1px solid var(--ink);
}

.menu-toggle__mark {
  position: relative;
  width: 20px;
  height: 16px;
}

.menu-toggle__mark span {
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
}

.menu-toggle__mark span:first-child {
  top: 4px;
}

.menu-toggle__mark span:last-child {
  bottom: 4px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__mark span:first-child {
  top: 7px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__mark span:last-child {
  bottom: 7px;
  transform: rotate(-45deg);
}

/* Hero */

.hero {
  background: var(--canvas);
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  min-height: clamp(620px, 68vw, 760px);
  border-inline: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(46px, 5vw, 84px) clamp(32px, 4.6vw, 76px);
  border-right: 1px solid var(--ink);
}

.hero h1 {
  max-width: 15ch;
  margin-bottom: 30px;
  font-size: clamp(3.4rem, 4.3vw, 4.55rem);
  font-weight: 400;
  letter-spacing: -0.032em;
  text-wrap: balance;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-width: 188px;
  min-height: 54px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  font-weight: 500;
}

.action svg {
  width: 22px;
  height: 22px;
}

.action--primary:hover {
  border-color: var(--ink);
  background: var(--ink);
}

.action--secondary:hover {
  background: var(--indigo);
  color: var(--paper);
}

/* Facts */

.facts {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  min-height: 150px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.facts__signal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px;
  border-right: 1px solid var(--ink);
}

.facts dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 0;
}

.fact {
  display: grid;
  align-content: center;
  min-width: 0;
  padding: 24px clamp(24px, 3vw, 50px);
}

.fact dt {
  font-size: clamp(0.88rem, 1vw, 1rem);
  font-weight: 500;
  line-height: 1.25;
}

.fact dd {
  order: -1;
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 5vw, 5.1rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 0.8;
}

.fact--indigo dd {
  color: var(--indigo);
}

/* About and FAQ */

.about {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  border: 1px solid var(--ink);
}

.about__statement {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  padding: clamp(54px, 6vw, 92px) clamp(32px, 5vw, 76px);
  border-right: 1px solid var(--ink);
  background: var(--lavender);
}

.about__statement::after {
  position: absolute;
  right: -95px;
  bottom: -95px;
  width: 280px;
  height: 280px;
  border: 58px solid var(--paper);
  border-radius: 50%;
  content: "";
}

.about__statement h2 {
  position: relative;
  z-index: 1;
  max-width: 10ch;
  margin-bottom: 32px;
  font-size: clamp(3.1rem, 5vw, 5.4rem);
  text-wrap: balance;
}

.about__statement p {
  position: relative;
  z-index: 1;
  max-width: 38ch;
  margin-bottom: 0;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
}

.faq {
  padding: clamp(54px, 6vw, 92px) clamp(32px, 5vw, 76px);
}

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

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

.faq summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  gap: 20px;
  align-items: center;
  min-height: 72px;
  padding: 16px 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(1.42rem, 2vw, 1.9rem);
  font-weight: 500;
  line-height: 1.05;
  list-style: none;
}

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

.faq summary:hover {
  color: var(--plum);
}

.faq details p {
  max-width: 60ch;
  padding: 0 52px 26px 0;
  margin-bottom: 0;
}

.faq__mark {
  position: relative;
  width: 28px;
  height: 28px;
  border: 1px solid currentColor;
}

.faq__mark span {
  position: absolute;
  top: 13px;
  left: 7px;
  width: 12px;
  height: 1px;
  background: currentColor;
}

.faq__mark span:last-child {
  transform: rotate(90deg);
}

.faq details[open] .faq__mark span:last-child {
  display: none;
}

/* Contact */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  border: 1px solid var(--ink);
}

.contact__statement {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  padding: clamp(54px, 6vw, 92px) clamp(32px, 5vw, 76px);
  border-right: 1px solid var(--ink);
  background: var(--indigo);
  color: var(--paper);
}

.contact__statement p {
  max-width: 39ch;
  margin-bottom: 0;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
}

.contact__signal {
  position: absolute;
  right: clamp(28px, 4vw, 62px);
  bottom: 0;
  display: flex;
  gap: 16px;
  align-items: flex-end;
  height: 180px;
}

.contact__signal span {
  width: 18px;
  background: var(--paper);
}

.contact__signal span:nth-child(1) {
  height: 35%;
}

.contact__signal span:nth-child(2) {
  height: 54%;
}

.contact__signal span:nth-child(3) {
  height: 72%;
}

.contact__signal span:nth-child(4) {
  height: 88%;
}

.contact__signal span:nth-child(5) {
  height: 100%;
  background: var(--plum);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: 28px;
  min-width: 0;
  padding: clamp(54px, 6vw, 92px) clamp(32px, 5vw, 76px);
}

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

.field--message,
.contact-form__footer {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
}

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

.field input:hover,
.field textarea:hover {
  border-color: var(--indigo);
}

.contact-form__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.form-status {
  min-height: 1.6em;
  margin-bottom: 0;
  font-size: 0.94rem;
}

.form-status[data-state="success"] {
  color: var(--success);
}

.form-status[data-state="error"] {
  color: var(--error);
}

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  min-width: 214px;
  min-height: 54px;
  padding: 12px 18px;
  border: 1px solid var(--plum);
  background: var(--plum);
  color: var(--paper);
  cursor: pointer;
  font-weight: 500;
}

.form-submit:hover {
  border-color: var(--ink);
  background: var(--ink);
}

.form-submit:disabled {
  border-color: var(--disabled);
  background: var(--disabled);
  cursor: wait;
}

.form-submit svg {
  width: 22px;
}

/* Footer */

.site-footer {
  background: var(--canvas);
  color: var(--paper);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 36px;
  align-items: center;
  min-height: 120px;
  padding: 28px;
  border-inline: 1px solid rgba(255, 255, 255, 0.45);
  background: var(--ink);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.site-footer nav a {
  min-height: 44px;
  padding-block: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.site-footer p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
}

/* Responsive composition */

@media (max-width: 1180px) {
  .wordmark__descriptor {
    display: none;
  }

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

  .primary-nav a {
    min-width: 82px;
    padding-inline: 16px;
  }

  .header-control {
    min-width: 96px;
  }

  .hero__copy {
    padding-inline: 42px;
  }
}

@media (max-width: 1023px) {
  .hero__layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero__copy {
    min-height: 620px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .hero h1 {
    max-width: 13ch;
  }

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

  .facts__signal {
    gap: 9px;
    padding: 20px;
  }

  .facts__signal span {
    width: 10px;
  }

  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .about__statement,
  .contact__statement {
    min-height: 500px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .about__statement h2,
  .contact__statement h2 {
    max-width: 13ch;
  }

  .contact-form {
    min-height: 560px;
  }
}

@media (max-width: 880px) {
  :root {
    --header-height: 68px;
  }

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

  .wordmark {
    min-height: var(--header-height);
    padding-inline: 22px;
  }

  .primary-nav {
    grid-column: 1 / -1;
    justify-self: stretch;
    border-top: 1px solid var(--ink);
  }

  .js .primary-nav {
    position: absolute;
    top: 100%;
    right: -1px;
    left: -1px;
    display: none;
    background: var(--paper);
    border-right: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
    border-left: 1px solid var(--ink);
  }

  .js .primary-nav[data-open="true"] {
    display: block;
  }

  .primary-nav ul {
    flex-direction: column;
  }

  .primary-nav a {
    justify-content: start;
    min-height: 54px;
    padding-inline: 22px;
    border-bottom: 1px solid var(--rule-soft);
  }

  .primary-nav li:last-child a {
    border-bottom: 0;
  }

  .primary-nav a:hover::after,
  .primary-nav a[aria-current="page"]::after {
    transform: scaleY(1);
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .header-control {
    min-height: var(--header-height);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .no-js .menu-toggle {
    display: none;
  }

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

  .site-footer p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .facts {
    grid-template-columns: 1fr;
  }

  .facts__signal {
    justify-content: flex-start;
    min-height: 90px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .facts__signal span {
    width: 11px;
    height: 48px;
  }

  .facts dl {
    grid-template-columns: 1fr;
  }

  .fact {
    min-height: 136px;
  }

  .fact:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .field--message,
  .contact-form__footer {
    grid-column: 1;
  }

  .contact-form__footer {
    grid-template-columns: 1fr;
  }

  .form-submit {
    width: 100%;
  }

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

  .site-footer p {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .header-control {
    min-width: 68px;
    padding-inline: 14px;
  }

  .header-control > span:first-of-type {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .hero__intro {
    font-size: 1.04rem;
  }

  .about__statement,
  .faq,
  .contact__statement,
  .contact-form {
    padding: 58px 24px 68px;
  }

  .about__statement,
  .contact__statement {
    min-height: 520px;
  }

  .faq details p {
    padding-right: 0;
  }

  .site-footer__grid {
    padding: 38px 24px;
  }
}

@media (max-width: 480px) {
  .header-control {
    min-width: 58px;
    padding-inline: 10px;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .contact__signal {
    right: 24px;
    gap: 11px;
  }

  .contact__signal span {
    width: 13px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .primary-nav a::after {
    transition-duration: 260ms;
    transition-property: transform;
    transition-timing-function: var(--ease-out);
  }
}

@media (prefers-reduced-motion: reduce) {
  .primary-nav a::after {
    transition: none;
  }

  .skip-link {
    transform: none;
  }

  .skip-link:not(:focus) {
    clip: rect(0 0 0 0);
  }
}

@media (forced-colors: active) {
  .faq__mark,
  .field input,
  .field textarea,
  .action,
  .form-submit {
    forced-color-adjust: auto;
  }

  .contact__signal,
  .facts__signal {
    display: none;
  }
}

/* Event newsroom */

.events {
  display: grid;
  gap: clamp(22px, 3vw, 36px);
  margin-top: var(--section-gap);
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.events h2,
.events h3,
.events h4,
.events p,
.events dl {
  margin-bottom: 0;
}

.events__header {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.events__header,
.lesson-series {
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--paper);
}

.events__header h2,
.events__header > p {
  padding: clamp(34px, 4.5vw, 58px);
}

.events__header h2 {
  border-right: 2px solid var(--ink);
  font-size: clamp(2.65rem, 3.65vw, 4rem);
  font-weight: 500;
  line-height: 1.02;
  text-wrap: balance;
}

.events__header > p {
  align-self: center;
  max-width: 58ch;
  font-size: clamp(1.05rem, 1.2vw, 1.18rem);
}

.current-event {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--paper);
}

.current-event__copy,
.current-event__details {
  min-width: 0;
  padding: clamp(30px, 3.5vw, 48px);
}

.current-event__copy {
  background: var(--purple-deep);
  color: var(--paper);
}

.current-event__copy h3 {
  max-width: 13ch;
  margin-bottom: 18px;
  color: var(--paper);
  font-size: clamp(2.25rem, 3.5vw, 3.7rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-wrap: balance;
}

.current-event__state {
  margin-bottom: 22px;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-transform: uppercase;
}

.current-event__copy > p:not(.current-event__state) {
  max-width: 55ch;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.58;
}

.current-event__copy .action--primary {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
}

.current-event__copy .action--primary:hover,
.current-event__copy .action--primary:focus-visible {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.current-event__details {
  display: flex;
  align-items: center;
  background: var(--lavender);
}

.current-event__details dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  margin: 0;
  border-top: 1px solid var(--ink);
}

.current-event__details dl > div {
  min-width: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--ink);
}

.current-event__details dl > div:nth-child(even) {
  padding-left: 18px;
  border-left: 1px solid var(--ink);
}

.current-event__details dt {
  margin-bottom: 9px;
  color: var(--purple-deep);
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.25;
  text-transform: uppercase;
}

.current-event__details dd {
  margin: 0;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  font-weight: 600;
  line-height: 1.38;
}

.lesson-series__header {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(12px, 1.5vw, 16px);
  padding: clamp(28px, 3.5vw, 46px);
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
}

.lesson-series__header h3,
.lesson-series__header p {
  padding: 0;
}

.lesson-series__header h3 {
  display: block;
  border-right: 0;
  color: var(--purple-deep);
  font-size: clamp(2.15rem, 3vw, 3.1rem);
  font-weight: 500;
  line-height: 1;
}

.lesson-series__header p {
  max-width: 62ch;
}

.lesson-tabs {
  --lesson-card-padding: clamp(20px, 2.4vw, 30px);
  --lesson-preview-gap: clamp(12px, 1vw, 16px);
  display: grid;
  grid-template-columns: minmax(300px, 4fr) minmax(0, 8fr);
  min-height: 340px;
  background: var(--paper);
}

.lesson-tabs__list {
  display: flex;
  flex-direction: column;
  border-right: 2px solid var(--ink);
  background: var(--paper);
}

.lesson-tabs__list[hidden],
.lesson-panel[hidden] {
  display: none;
}

.lesson-tabs__list[hidden] + .lesson-tabs__panels {
  grid-column: 1 / -1;
}

.lesson-tab {
  position: relative;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
  min-height: 50%;
  padding: var(--lesson-card-padding);
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.lesson-tab:last-child {
  border-bottom: 0;
}

.lesson-tab:hover .lesson-tab__cta,
.lesson-tab:focus-visible .lesson-tab__cta {
  background: var(--ink);
  color: var(--paper);
}

.lesson-tab:focus-visible {
  z-index: 1;
  outline: 3px solid var(--lime);
  outline-offset: -5px;
  box-shadow: inset 0 0 0 6px var(--ink);
}

.lesson-tab[aria-selected="true"] {
  z-index: 2;
  background: var(--paper);
  color: var(--ink);
}

.lesson-tab__status {
  width: max-content;
  padding: 5px 8px;
  border: 1px solid currentColor;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.lesson-tab__status[data-state="upcoming"] {
  border-color: var(--ink);
  background: var(--lime);
  color: var(--ink);
}

.lesson-tab__title {
  grid-column: 1 / -1;
  max-width: 18ch;
  font-size: clamp(1.75rem, 2.4vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.lesson-tab__date {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.lesson-tab__cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 56px;
  margin-top: 4px;
  padding: 8px 8px 8px 14px;
  border: 2px solid var(--ink);
  background: var(--lavender);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
}

.lesson-tab__cta::before,
.lesson-tab__cta::after {
  position: absolute;
  top: 50%;
  content: "";
  opacity: 0;
  pointer-events: none;
}

.lesson-tab__cta::before {
  z-index: 2;
  left: calc(100% + var(--lesson-card-padding) + 1px);
  width: 6px;
  height: 14px;
  background: var(--paper);
  transform: translate(-50%, -50%) scaleY(0);
  transform-origin: center;
}

.lesson-tab__cta::after {
  z-index: 3;
  left: 100%;
  width: calc(var(--lesson-card-padding) + var(--lesson-preview-gap) + 2px);
  height: 2px;
  background: var(--purple-deep);
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
}

.lesson-tab__cta-icon {
  display: grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--ink);
  background: var(--lime);
  color: var(--ink);
}

.lesson-tab__cta svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.lesson-tab[aria-selected="true"] .lesson-tab__cta {
  background: var(--purple-deep);
  color: var(--paper);
}

.lesson-tab[aria-selected="true"] .lesson-tab__cta::after {
  opacity: 1;
  transform: translateY(-50%) scaleX(1);
}

.lesson-tab[aria-selected="true"] .lesson-tab__cta::before {
  opacity: 1;
  transform: translate(-50%, -50%) scaleY(1);
}

.lesson-tab[aria-selected="true"]:hover .lesson-tab__cta {
  background: var(--ink);
  color: var(--paper);
}

.lesson-tabs__panels {
  position: relative;
  z-index: 1;
  min-width: 0;
  margin: var(--lesson-preview-gap);
  border: 2px solid var(--purple-deep);
  background: transparent;
}

.lesson-panel {
  min-height: 100%;
  padding: clamp(28px, 3.25vw, 46px);
}

.lesson-tabs__list[hidden]
  + .lesson-tabs__panels
  .lesson-panel
  + .lesson-panel {
  border-top: 1px solid var(--ink);
}

@media (prefers-reduced-motion: no-preference) {
  .lesson-tab__cta::before {
    transition:
      opacity 120ms ease-out,
      transform 180ms var(--ease-out);
  }

  .lesson-tab__cta::after {
    transition:
      opacity 160ms ease-out,
      transform 260ms var(--ease-out);
  }
}

.lesson-panel h4 {
  width: 100%;
  max-width: none;
  margin-top: 0;
  margin-bottom: 16px !important;
  font-size: clamp(2.25rem, 3.2vw, 3.35rem);
  font-weight: 500;
  line-height: 1.03;
  text-wrap: balance;
}

.lesson-panel > p {
  max-width: 63ch;
  min-height: 6.32em;
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.58;
}

.lesson-panel__facts {
  display: grid;
  grid-template-columns: minmax(185px, 0.9fr) minmax(0, 2.1fr);
  margin-top: clamp(22px, 2.4vw, 32px) !important;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.lesson-panel__facts > div {
  display: grid;
  min-height: 112px;
  align-content: center;
  padding: 18px 20px;
}

.lesson-panel__facts > div + div {
  border-left: 1px solid var(--ink);
}

.lesson-panel__facts dt {
  margin-bottom: 11px;
  color: var(--purple-deep);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lesson-panel__facts dd {
  margin: 0;
  font-size: clamp(1.08rem, 1.25vw, 1.18rem);
  font-weight: 500;
  line-height: 1.48;
}

.lesson-panel__actions {
  display: flex;
  margin-top: clamp(22px, 2.4vw, 32px);
}

.lesson-panel__actions .action {
  width: min(100%, 360px);
}

@media (max-width: 1100px) {
  .events__header {
    grid-template-columns: 1fr;
  }

  .events__header h2 {
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }
}

@media (max-width: 880px) {
  .current-event {
    grid-template-columns: 1fr;
  }

  .current-event__copy {
    border-bottom: 2px solid var(--ink);
  }

  .lesson-tabs {
    --lesson-preview-gap: clamp(12px, 2.5vw, 18px);
    grid-template-columns: 1fr;
  }

  .lesson-tabs__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

  .lesson-tab {
    min-height: 174px;
    border-bottom: 0;
  }

  .lesson-tab:first-child {
    border-right: 2px solid var(--ink);
  }

  .lesson-tab__cta::before,
  .lesson-tab__cta::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .events {
    gap: 18px;
  }

  .events__header h2,
  .events__header > p {
    padding: 30px 24px;
  }

  .current-event__copy,
  .current-event__details {
    padding: 30px 24px;
  }

  .current-event__details dl {
    grid-template-columns: 1fr;
  }

  .current-event__details dl > div:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .lesson-series__header {
    padding: 30px 24px;
  }

  .events__header h2 {
    font-size: clamp(2.25rem, 10vw, 2.75rem);
  }

  .lesson-series__header h3 {
    font-size: clamp(2rem, 9vw, 2.45rem);
  }

  .lesson-tabs__list {
    grid-template-columns: 1fr;
  }

  .lesson-tabs {
    --lesson-card-padding: 24px;
    --lesson-preview-gap: 10px;
  }

  .lesson-tab {
    min-height: 0;
    padding: 24px;
  }

  .lesson-tab:first-child {
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

  .lesson-panel {
    padding: 32px 22px 38px;
  }

  .lesson-panel h4 {
    font-size: clamp(2.1rem, 10vw, 2.6rem);
  }

  .lesson-panel__facts {
    grid-template-columns: 1fr;
  }

  .lesson-panel__facts > div {
    min-height: 96px;
    padding: 18px 20px;
  }

  .lesson-panel__facts > div + div {
    border-top: 1px solid var(--ink);
    border-left: 0;
  }
}

@media (forced-colors: active) {
  .lesson-tab__status,
  .lesson-tab[aria-selected="true"] {
    forced-color-adjust: auto;
  }
}

/* Reference-led newspaper refresh */

html {
  background: var(--canvas);
}

body {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.03;
}

.page-frame {
  width: min(var(--sheet-max), calc(100% - (2 * var(--site-gutter))));
}

main {
  padding-bottom: var(--section-gap);
}

.about,
.contact {
  margin-top: var(--section-gap);
}

.text-highlight {
  padding: 0 0.03em;
  border-radius: 0;
  background: transparent;
  box-shadow: inset 0 -0.055em 0 rgba(122, 106, 216, 0.62);
  color: inherit;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

::selection {
  background: var(--pink);
  color: var(--paper);
}

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--ink);
}

/* Header */

.site-header {
  top: 0;
  padding-top: clamp(8px, 1.2vw, 16px);
  background: var(--canvas);
}

.site-header__row {
  min-height: var(--header-height);
  border: 2px solid var(--ink);
  border-radius: 22px 22px 0 0;
  background: var(--paper);
}

.wordmark {
  display: inline-grid;
  grid-auto-flow: column;
  align-content: center;
  align-items: baseline;
  justify-content: start;
  min-height: var(--header-height);
  gap: 10px;
  padding-inline: clamp(18px, 2.5vw, 34px);
}

.wordmark__name,
.site-footer__wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.wordmark__descriptor,
.primary-nav a,
.header-control,
.eyebrow,
.hero__visual figcaption,
.field label {
  font-family: var(--font-mono);
}

.wordmark__descriptor {
  color: rgba(0, 23, 31, 0.66);
  font-size: 0.7rem;
  line-height: 1;
  white-space: nowrap;
}

.primary-nav a {
  min-width: 88px;
  min-height: var(--header-height);
  padding-inline: 17px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.primary-nav a::after {
  display: none;
  right: 50%;
  bottom: 20px;
  left: auto;
  width: 30px;
  height: 2px;
  border-radius: 0;
  background: var(--purple);
  transform: translateX(50%) scaleX(0);
  transform-origin: center;
}

.primary-nav > ul > li > a,
.nav-dropdown__trigger > a {
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
  text-decoration-skip-ink: none;
}

.primary-nav > ul > li > a:hover,
.primary-nav > ul > li > a:focus-visible,
.primary-nav > ul > li > a[aria-current="page"],
.primary-nav > ul > li > a[aria-current="location"],
.nav-dropdown__trigger > a:hover,
.nav-dropdown__trigger > a:focus-visible,
.nav-dropdown__trigger > a[aria-current="page"],
.nav-dropdown__trigger > a[aria-current="location"],
.nav-dropdown--current > .nav-dropdown__trigger > a {
  text-decoration-color: var(--purple);
}

.nav-dropdown {
  position: relative;
  height: 100%;
}

.nav-dropdown__trigger {
  display: flex;
  height: 100%;
  align-items: stretch;
}

.nav-dropdown__trigger > a {
  min-width: 76px;
  padding-right: 6px;
}

.nav-dropdown__toggle {
  display: grid;
  width: 38px;
  min-height: var(--header-height);
  padding: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  place-items: center;
}

.nav-dropdown__toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 180ms var(--ease-out);
}

.nav-dropdown[data-open="true"] .nav-dropdown__toggle svg {
  transform: rotate(180deg);
}

.primary-nav .nav-dropdown__menu {
  position: absolute;
  top: calc(100% - 1px);
  right: 0;
  z-index: 20;
  display: grid;
  visibility: hidden;
  width: max-content;
  min-width: 218px;
  height: auto;
  padding: 8px;
  margin: 0;
  opacity: 0;
  transform: translateY(8px);
  border: 2px solid var(--ink);
  background: var(--purple-deep);
  color: var(--paper);
  list-style: none;
  transition:
    opacity 160ms ease,
    transform 180ms var(--ease-out),
    visibility 160ms;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu,
.nav-dropdown[data-open="true"] .nav-dropdown__menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.primary-nav .nav-dropdown__menu a {
  justify-content: start;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--paper);
  font-size: 0.78rem;
  text-transform: none;
}

.primary-nav .nav-dropdown__menu a::after {
  display: none;
}

.primary-nav .nav-dropdown__menu a:hover,
.primary-nav .nav-dropdown__menu a:focus-visible,
.primary-nav .nav-dropdown__menu a[aria-current="page"] {
  background: var(--lime);
  color: var(--ink);
}

.primary-nav .nav-dropdown__menu a[aria-current="page"]:focus-visible {
  outline-color: var(--paper);
}

.header-actions {
  display: none;
  border-left: 2px solid var(--ink);
}

.header-control {
  min-width: 98px;
  min-height: var(--header-height);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.header-control + .header-control {
  border-left: 1px solid var(--ink);
}

.header-control:hover,
.header-control:focus-visible,
.header-control[aria-expanded="true"] {
  background: var(--purple-deep);
  color: var(--paper);
}

/* Hero */

.hero__layout {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  min-height: clamp(540px, 54vw, 640px);
  border: 2px solid var(--ink);
  border-top: 0;
  border-radius: 0;
  background: var(--paper);
}

.hero__copy {
  position: relative;
  z-index: 1;
  padding: clamp(42px, 4.2vw, 64px) clamp(28px, 3.6vw, 52px);
  border-right: 2px solid var(--ink);
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 9px;
  margin-bottom: clamp(24px, 2.5vw, 34px);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.eyebrow span {
  display: grid;
  width: 28px;
  height: 28px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--lavender);
  color: var(--purple-deep);
  place-items: center;
}

.hero h1 {
  max-width: 13.5ch;
  margin-bottom: 22px;
  font-size: clamp(3rem, 4vw, 4rem);
  font-weight: 500;
  line-height: 1;
  text-wrap: balance;
}

.hero__intro {
  max-width: 43ch;
  margin-bottom: 28px;
  font-size: clamp(1rem, 1.1vw, 1.08rem);
  line-height: 1.52;
}

.hero__actions {
  gap: 10px;
}

.action {
  min-width: 190px;
  min-height: 54px;
  padding: 12px 18px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 600;
}

.action--primary {
  border-color: var(--purple-deep);
  background: var(--purple-deep);
  color: var(--paper);
}

.action--primary:hover,
.action--primary:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.action--secondary {
  background: var(--paper);
}

.action--secondary:hover,
.action--secondary:focus-visible {
  border-color: var(--purple-deep);
  background: var(--lavender);
  color: var(--ink);
}

.hero__visual {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 100%;
  padding: clamp(34px, 4vw, 66px);
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  isolation: isolate;
  place-items: center;
}

.hero__visual::before,
.hero__visual::after {
  display: none;
}

.hero__visual img {
  position: relative;
  z-index: 1;
  width: 155%;
  max-width: none;
  max-height: 560px;
  object-fit: contain;
  filter: brightness(1.055);
  transform: translateX(-20%);
}

.hero__visual figcaption {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  pointer-events: none;
  text-transform: uppercase;
}

.hero__visual figcaption span {
  position: absolute;
  padding: 0 0 7px;
  border: 0;
  border-bottom: 2px solid var(--ink);
  background: transparent;
}

.hero__visual figcaption span:first-child {
  bottom: clamp(18px, 3vw, 34px);
  left: clamp(18px, 3vw, 36px);
}

.hero__visual figcaption span:last-child {
  top: clamp(18px, 3vw, 34px);
  right: clamp(18px, 3vw, 36px);
  border-color: var(--purple-deep);
  background: transparent;
  color: var(--purple-deep);
}

/* Facts */

.facts {
  grid-template-columns: 118px minmax(0, 1fr);
  min-height: 118px;
  border: 2px solid var(--ink);
  border-top: 0;
  border-radius: 0 0 22px 22px;
  overflow: hidden;
  background: var(--paper);
}

.facts__signal {
  gap: 7px;
  padding: 20px;
  border-right: 2px solid var(--ink);
  background: var(--purple);
}

.facts__signal span {
  width: 8px;
  height: 58px;
  background: var(--paper);
}

.facts__signal span:nth-child(even) {
  height: 40px;
  background: var(--ink);
}

.facts__signal span:last-child {
  height: 48px;
  background: var(--lime);
}

.fact {
  padding: 20px clamp(20px, 2.4vw, 34px);
}

.fact:not(:last-child) {
  border-right: 1px solid var(--ink);
}

.fact dt {
  font-family: var(--font-mono);
  font-size: clamp(0.75rem, 0.82vw, 0.8rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.fact dd,
.fact--plum dd,
.fact--indigo dd,
.fact--goal dd {
  width: fit-content;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: clamp(2.5rem, 3.2vw, 3.25rem);
  font-weight: 600;
  line-height: 0.9;
}

.fact--plum dd {
  padding-inline: 0;
  background: transparent;
  color: var(--purple-deep);
}

.fact--goal dd {
  color: var(--pink);
}

/* About */

.about {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 2px solid var(--ink);
  border-radius: 4px;
  overflow: hidden;
}

.about__statement {
  min-height: 610px;
  padding: clamp(46px, 4.8vw, 68px) clamp(28px, 4vw, 54px)
    clamp(168px, 14vw, 190px);
  border-right: 2px solid var(--ink);
  background: var(--lavender);
}

.about__statement::before {
  position: absolute;
  right: 132px;
  bottom: 38px;
  z-index: 0;
  width: 58px;
  height: 58px;
  background: var(--pink);
  clip-path: polygon(
    50% 0,
    61% 36%,
    100% 50%,
    61% 64%,
    50% 100%,
    39% 64%,
    0 50%,
    39% 36%
  );
  content: "";
}

.about__statement::after {
  right: -42px;
  bottom: -46px;
  z-index: 0;
  width: 150px;
  height: 150px;
  border: 22px solid var(--purple);
}

.about__statement h2 {
  max-width: none;
  margin-bottom: 22px;
  font-size: clamp(2.65rem, 3.35vw, 3.65rem);
  font-weight: 500;
  line-height: 1.03;
}

.about__statement p {
  max-width: 39ch;
}

.about__statement .text-highlight {
  box-shadow: inset 0 -0.055em 0 rgba(150, 245, 80, 0.8);
}

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

.faq > h2 {
  margin-bottom: 34px;
  font-size: clamp(2.45rem, 3.2vw, 3.5rem);
  font-weight: 500;
}

.faq summary {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.65vw, 1.55rem);
  font-weight: 500;
  line-height: 1.18;
}

.faq summary:hover,
.faq summary:focus-visible,
.faq details[open] > summary {
  color: var(--purple-deep);
  box-shadow: none;
}

.faq__mark {
  border: 2px solid var(--purple-deep);
  border-radius: 50%;
  background: transparent;
  color: var(--purple-deep);
}

.faq details[open] .faq__mark {
  background: var(--purple-deep);
  color: var(--paper);
}

/* Contact */

.contact {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  border: 2px solid var(--ink);
  border-radius: 4px;
  overflow: hidden;
}

.contact__statement {
  display: flex;
  flex-direction: column;
  min-height: 620px;
  padding: clamp(46px, 4.8vw, 68px) clamp(28px, 4vw, 54px) 40px;
  border-right: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.contact__statement h2 {
  position: relative;
  z-index: 1;
  max-width: none;
  margin-bottom: 22px;
  font-size: clamp(2.65rem, 3.35vw, 3.55rem);
  font-weight: 500;
  line-height: 1.04;
}

.contact__statement p {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
}

.contact__statement .text-highlight {
  box-shadow: inset 0 -0.055em 0 rgba(232, 93, 117, 0.92);
  white-space: nowrap;
}

.contact__signal {
  position: static;
  z-index: 0;
  align-self: flex-end;
  height: 118px;
  margin-top: auto;
  pointer-events: none;
}

.contact__signal span {
  background: var(--paper);
}

.contact__signal span:nth-child(3) {
  background: var(--purple);
}

.contact__signal span:nth-child(4) {
  background: var(--pink);
}

.contact__signal span:nth-child(5) {
  background: var(--lime);
}

.contact-form {
  background: var(--paper);
}

.field input,
.field textarea {
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--paper-muted);
}

.field input:hover,
.field textarea:hover,
.field input:focus,
.field textarea:focus {
  border-color: var(--ink);
  background: var(--paper);
}

.form-submit {
  border: 2px solid var(--purple-deep);
  border-radius: 4px;
  background: var(--purple-deep);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.form-submit:hover,
.form-submit:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

/* Footer */

.site-footer {
  background: var(--canvas);
}

.site-footer__grid {
  min-height: 118px;
  border: 2px solid var(--ink);
  border-radius: 22px 22px 0 0;
  background: var(--ink);
}

.site-footer nav a:hover {
  color: var(--lime);
}

@media (min-width: 1101px) {
  .hero__copy {
    justify-content: flex-start;
    padding-top: clamp(22px, 2vw, 30px);
  }

  .hero__visual figcaption span:last-child {
    top: clamp(22px, 2vw, 30px);
  }
}

@media (max-width: 1100px) {
  .hero__layout {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    min-height: 500px;
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

  .hero__visual {
    min-height: 460px;
  }

  .hero__visual img {
    width: 100%;
    max-width: 100%;
    transform: none;
  }

  .hero__visual::before {
    width: min(30vw, 230px);
  }

  .hero__visual::after {
    width: min(18vw, 120px);
  }

  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .about__statement,
  .contact__statement {
    min-height: 500px;
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }
}

@media (max-width: 880px) {
  .site-header__row {
    border-width: 2px;
  }

  .primary-nav {
    border-top: 2px solid var(--ink);
  }

  .js .primary-nav {
    right: -2px;
    left: -2px;
    border-width: 0 2px 2px;
  }

  .header-actions {
    display: flex;
  }

  .primary-nav a::after {
    display: block;
    top: 0;
    right: auto;
    bottom: 0;
    left: 0;
    width: 3px;
    height: auto;
    background: var(--purple);
    transform: scaleY(0);
    transform-origin: top;
  }

  .primary-nav > ul > li > a,
  .nav-dropdown__trigger > a {
    text-decoration-line: none;
  }

  .primary-nav a:hover::after,
  .primary-nav a[aria-current="page"]::after,
  .primary-nav a[aria-current="location"]::after,
  .nav-dropdown--current > .nav-dropdown__trigger > a::after {
    transform: scaleY(1);
  }

  .nav-dropdown {
    height: auto;
  }

  .nav-dropdown__trigger {
    width: 100%;
    min-height: 54px;
    border-bottom: 1px solid var(--rule-soft);
  }

  .nav-dropdown__trigger > a {
    flex: 1 1 auto;
    border-bottom: 0;
  }

  .nav-dropdown__toggle {
    width: 54px;
    min-height: 54px;
    border-left: 1px solid var(--rule-soft);
  }

  .primary-nav .nav-dropdown__menu {
    position: static;
    display: none;
    visibility: visible;
    width: 100%;
    min-width: 0;
    padding: 0;
    opacity: 1;
    transform: none;
    border: 0;
    border-bottom: 1px solid var(--ink);
    background: var(--purple-deep);
    transition: none;
  }

  .nav-dropdown:hover .nav-dropdown__menu,
  .nav-dropdown:focus-within .nav-dropdown__menu {
    display: none;
  }

  .nav-dropdown[data-open="true"] .nav-dropdown__menu {
    display: grid;
  }

  .primary-nav .nav-dropdown__menu a {
    min-height: 48px;
    padding-left: 42px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .primary-nav .nav-dropdown__menu li:last-child a {
    border-bottom: 0;
  }
}

@media (max-width: 820px) {
  .facts {
    grid-template-columns: 1fr;
  }

  .facts__signal {
    min-height: 52px;
    justify-content: flex-start;
    gap: 6px;
    padding: 12px 20px;
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

  .facts__signal span,
  .facts__signal span:nth-child(even),
  .facts__signal span:last-child {
    width: 24px;
    height: 6px;
  }

  .fact:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-top: 6px;
  }

  .site-header__row {
    border-radius: 14px 14px 0 0;
  }

  .hero__copy {
    min-height: 0;
    padding: 40px 22px 46px;
  }

  .eyebrow {
    margin-bottom: 24px;
  }

  .hero h1 {
    max-width: 14ch;
    font-size: clamp(2.45rem, 10.5vw, 3.05rem);
  }

  .hero__visual {
    min-height: 330px;
    padding: 24px 20px 68px;
    place-items: start center;
  }

  .hero__visual img {
    width: auto;
    height: 260px;
    max-width: none;
    max-height: none;
    transform: translate(-17%, -15%);
  }

  .hero__visual figcaption {
    font-size: 1rem;
  }

  .facts {
    border-radius: 0 0 14px 14px;
  }

  .faq,
  .contact-form {
    padding: 42px 24px 48px;
  }

  .about__statement {
    min-height: 0;
    padding: 42px 24px 48px;
  }

  .about__statement h2,
  .contact__statement h2 {
    font-size: clamp(2.35rem, 10vw, 2.75rem);
  }

  .about__statement::before,
  .about__statement::after {
    display: none;
  }

  .contact__statement {
    min-height: 470px;
    padding: 42px 24px 32px;
  }

  .contact__signal {
    height: 90px;
  }

  .faq > h2 {
    font-size: 2.25rem;
  }

  .faq summary {
    font-size: 1.18rem;
  }

  .site-footer__grid {
    border-radius: 14px 14px 0 0;
  }
}

@media (max-width: 480px) {
  .wordmark {
    padding-inline: 14px;
  }

  .wordmark__descriptor {
    display: none;
  }

  .wordmark__name {
    font-size: 1.35rem;
  }

  .header-control {
    min-width: 56px;
  }

  .hero__actions {
    display: grid;
  }

  .action {
    width: 100%;
  }
}

@media (forced-colors: active) {
  .text-highlight,
  .eyebrow span,
  .hero__visual figcaption span,
  .form-submit {
    forced-color-adjust: auto;
  }

  .hero__visual::before,
  .hero__visual::after,
  .about__statement::before,
  .about__statement::after {
    display: none;
  }
}
