:root {
  --color-plum: #771847;
  --color-plum-deep: #4f0f2f;
  --color-cyan: #42c5f3;
  --color-yellow: #ffcd52;
  --color-green: #9dda5d;
  --color-red: #f54959;
  --color-black: #000000;
  --color-white: #ffffff;
  --color-muted: #f5f5f5;
  --color-ink: #151515;
  --color-line: rgba(119, 24, 71, 0.16);
  --color-shadow: rgba(17, 17, 17, 0.08);
  --container-content: 1240px;
  --container-shell: 1440px;
  --transition: 180ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Inter", sans-serif;
  color: var(--color-ink);
  background: var(--color-white);
}

body.site-loading {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  overflow-x: clip;
}

.site-loader[hidden] {
  display: none;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.98);
}

.site-loader__inner {
  display: grid;
  justify-items: center;
  gap: 16px;
}

.site-loader__logo {
  width: min(224px, 68vw);
  height: auto;
}

.site-loader__label {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-plum);
}

.site-loader__accent {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(220px, 62vw);
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(119, 24, 71, 0.12);
}

.site-loader__accent span {
  animation: loaderPulse 1.15s ease-in-out infinite alternate;
}

.site-loader__accent .cyan {
  background: var(--color-cyan);
  animation-delay: 0s;
}

.site-loader__accent .green {
  background: var(--color-green);
  animation-delay: 0.12s;
}

.site-loader__accent .yellow {
  background: var(--color-yellow);
  animation-delay: 0.24s;
}

.site-loader__accent .red {
  background: var(--color-red);
  animation-delay: 0.36s;
}

@keyframes loaderPulse {
  from {
    transform: scaleX(0.72);
    opacity: 0.38;
  }

  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

.container {
  width: min(calc(100% - 32px), var(--container-content));
  margin: 0 auto;
}

.accent-cyan {
  color: var(--color-cyan);
}

.accent-green {
  color: var(--color-green);
}

.accent-yellow {
  color: var(--color-yellow);
}

.accent-red {
  color: var(--color-red);
}

.section-title,
.hero-title,
.footer-title,
.footer-column h3,
.eyebrow-title,
.headline-display {
  font-family: "Playfair Display", serif;
}

.section-title {
  margin: 0;
  font-size: clamp(34px, 4vw, 45px);
  line-height: 1.24;
  letter-spacing: -0.02em;
}

.section-rule {
  width: 75px;
  height: 3px;
  margin: 18px 0 24px;
  background: currentColor;
}

.lede,
.body-copy p {
  margin: 0;
  font-size: 18px;
  line-height: 30px;
}

.body-copy p + p {
  margin-top: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 51px;
  padding: 10px 24px;
  border: 0;
  border-radius: 5px;
  transition: opacity var(--transition), transform var(--transition);
}

.button:hover,
.button:focus-visible {
  opacity: 0.92;
  transform: translateY(-1px);
}

.button-primary {
  background: var(--color-plum);
  color: var(--color-white);
}

.button-dark {
  background: var(--color-black);
  color: var(--color-white);
}

.button-light {
  background: var(--color-white);
  color: var(--color-plum);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.site-header .container.header-main {
  width: min(calc(100% - 20px), var(--container-shell));
  max-width: var(--container-shell);
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

.site-header--light {
  background: rgba(255, 255, 255, 0.98);
}

.site-header--light .header-main {
  min-height: 36px;
  padding: 8px 0;
}

.site-header--light .brand-lockup {
  width: 116px;
}

.site-header--dark {
  background: rgba(79, 15, 47, 0.98);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.16);
}

.site-header--dark .header-main {
  min-height: 36px;
  padding: 8px 0;
}

.site-header--dark .brand-lockup {
  width: 116px;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 40px;
  padding: 8px 0;
}

.brand-lockup {
  flex: 0 0 auto;
  width: 120px;
  margin-right: 0;
}

.brand-lockup img {
  width: 100%;
  height: auto;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-left: auto;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: var(--color-white);
  color: var(--color-plum);
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
}

.site-nav {
  flex: 0 1 auto;
  margin-left: auto;
}

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

.nav-item {
  position: relative;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--color-plum);
  text-align: center;
  white-space: nowrap;
  transition: opacity var(--transition);
}

.label-desktop {
  display: inline;
}

.label-mobile {
  display: none;
}

.nav-list a[aria-current="page"],
.nav-trigger[aria-current="page"] {
  font-weight: 700;
}

.nav-list a:hover,
.nav-list a:focus-visible,
.nav-trigger:hover,
.nav-trigger:focus-visible,
.footer-column a:hover,
.footer-column a:focus-visible {
  opacity: 0.72;
}

.mega-panel__links a:hover,
.mega-panel__links a:focus-visible,
.nav-inline-links a:hover,
.nav-inline-links a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--color-plum);
  cursor: pointer;
  white-space: nowrap;
  transition: opacity var(--transition);
}

.nav-inline-panel {
  display: none;
}

.nav-inline-description {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.nav-inline-columns,
.mega-panel__links {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: nowrap;
}

.nav-inline-links,
.mega-panel__column {
  display: flex;
  flex: 0 0 240px;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.mega-panel__column {
  flex: 1 1 auto;
  width: 100%;
}

.nav-inline-links a,
.mega-panel__links a {
  display: inline-flex;
  justify-content: flex-start;
  width: 100%;
  min-height: 0;
  text-align: left;
}

.header-mega {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 38px rgba(17, 17, 17, 0.08);
}

.header-mega[hidden] {
  display: none;
}

.header-mega__inner {
  padding-top: 36px;
  padding-bottom: 30px;
}

.mega-panel {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.mega-panel[hidden] {
  display: none;
}

.mega-panel__intro {
  flex: 0 0 50%;
  min-width: 0;
  padding: 28px 56px 28px 56px;
  border-right: 2px solid rgba(119, 24, 71, 0.78);
  align-self: stretch;
}

.mega-panel__intro h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(34px, 3vw, 42px);
  line-height: 1.08;
  color: var(--color-black);
}

.mega-panel__intro p {
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-ink);
}

.mega-panel__links {
  display: flex;
  flex: 0 0 50%;
  align-self: stretch;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 28px 56px 28px 48px;
}

.mega-panel__links a,
.nav-inline-links a {
  color: var(--color-ink);
  font-weight: 400;
  transition:
    color var(--transition),
    opacity var(--transition);
}

.mega-panel__links a[aria-current="page"],
.nav-inline-links a[aria-current="page"],
.mega-panel__links a:hover,
.mega-panel__links a:focus-visible,
.nav-inline-links a:hover,
.nav-inline-links a:focus-visible {
  color: var(--color-plum);
  font-weight: 600;
}

.login-link {
  min-height: 24px;
  padding: 0 12px;
  border: 1px solid var(--color-plum);
  border-radius: 3px;
}

.site-header--light .nav-list {
  gap: 24px;
}

.site-header--light .nav-list a {
  min-height: 24px;
  font-size: 12px;
  line-height: 1.2;
}

.site-header--light .nav-trigger {
  min-height: 24px;
  font-size: 12px;
  line-height: 1.2;
}

.site-header--light .login-link {
  min-height: 22px;
  padding: 0 9px;
  font-size: 11px;
  line-height: 1.15;
}

.site-header--dark .nav-list a,
.site-header--dark .nav-trigger,
.site-header--dark .login-link,
.site-header--dark .menu-toggle {
  color: var(--color-white);
}

.site-header--dark .nav-list {
  gap: 24px;
}

.site-header--dark .nav-list a {
  min-height: 24px;
  font-size: 12px;
  line-height: 1.2;
}

.site-header--dark .nav-trigger {
  min-height: 24px;
  font-size: 12px;
  line-height: 1.2;
}

.site-header--dark .header-mega {
  background: rgba(79, 15, 47, 0.98);
}

.site-header--dark .mega-panel__intro {
  border-right-color: rgba(255, 255, 255, 0.45);
}

.site-header--dark .mega-panel__intro h2,
.site-header--dark .mega-panel__intro p,
.site-header--dark .mega-panel__links a,
.site-header--dark .nav-inline-description,
.site-header--dark .nav-inline-links a {
  color: var(--color-white);
}

.site-header--dark .menu-toggle {
  border-color: rgba(255, 255, 255, 0.25);
  background: transparent;
}

.site-header--dark .login-link {
  min-height: 22px;
  padding: 0 9px;
  border-color: rgba(255, 255, 255, 0.86);
  font-size: 11px;
  line-height: 1.15;
}

.header-accent {
  display: grid;
  grid-template-columns: 0.9fr 0.9fr 0.9fr 0.9fr 5.3fr;
  height: 5px;
  background: var(--color-plum);
}

.header-accent span {
  width: 100%;
}

.header-accent .cyan,
.footer-accent .cyan {
  background: var(--color-cyan);
}

.header-accent .green,
.footer-accent .green {
  background: var(--color-green);
}

.header-accent .yellow,
.footer-accent .yellow {
  background: var(--color-yellow);
}

.header-accent .red,
.footer-accent .red {
  background: var(--color-red);
}

.header-accent::after {
  content: "";
  display: block;
  background: var(--color-plum);
}

.site-header--dark .header-accent {
  display: none;
}

.site-footer {
  position: relative;
  overflow: hidden;
}

.site-footer--dark {
  color: var(--color-white);
  background: var(--color-plum);
}

.site-footer--light {
  color: var(--color-plum);
  background: #f8f7f6;
}

.footer-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, 342px) minmax(120px, 126px) minmax(160px, 187px) minmax(150px, 162px);
  justify-content: space-between;
  align-items: start;
  gap: 40px 32px;
  padding: 76px 0 208px;
}

.site-footer .container.footer-main {
  width: min(calc(100% - 48px), var(--container-shell));
  max-width: var(--container-shell);
}

.footer-title {
  margin: 0;
  max-width: 342px;
  font-size: clamp(31px, 3.1vw, 42px);
  line-height: 1.2;
}

.footer-subscribe {
  margin-top: 14px;
  min-height: 39px;
  padding: 9px 22px;
  font-size: 14px;
  line-height: 1.2;
}

.footer-modal[hidden] {
  display: none;
}

.footer-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 24px;
}

.footer-modal__shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.footer-modal__panel {
  position: relative;
  width: min(100%, 420px);
  padding: 36px 34px 34px;
  border-radius: 8px;
  background: var(--color-white);
  color: var(--color-plum);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.25);
}

.footer-modal__panel:focus {
  outline: none;
}

.footer-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(119, 24, 71, 0.08);
  color: var(--color-plum);
}

.footer-modal__close::before,
.footer-modal__close::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 9px;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.footer-modal__close::before {
  transform: rotate(45deg);
}

.footer-modal__close::after {
  transform: rotate(-45deg);
}

.footer-modal__close:hover,
.footer-modal__close:focus-visible {
  background: var(--color-plum);
  color: var(--color-white);
}

.footer-modal__eyebrow {
  margin: 0 0 12px;
  color: var(--color-cyan);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer-modal__panel h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 34px;
  line-height: 1.15;
}

.footer-modal__panel p:last-child {
  margin: 14px 0 0;
  color: var(--color-ink);
  font-size: 16px;
  line-height: 1.6;
}

body.footer-modal-open {
  overflow: hidden;
}

.footer-column h3 {
  margin: 0;
  font-size: 20px;
  line-height: 45px;
}

.footer-divider {
  width: 100%;
  max-width: none;
  height: 1px;
  margin: 0 0 10px;
}

.site-footer--dark .footer-divider {
  background: rgba(255, 255, 255, 0.8);
}

.site-footer--light .footer-divider {
  background: rgba(119, 24, 71, 0.35);
}

.footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column li + li {
  margin-top: 2px;
}

.footer-column a {
  font-size: 15px;
  line-height: 30px;
  transition: opacity var(--transition);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  transition: opacity var(--transition), transform var(--transition);
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  opacity: 0.82;
  transform: translateY(-1px);
}

.footer-social-link svg {
  width: 22px;
  height: 22px;
}

.footer-wordmark {
  position: absolute;
  left: -40px;
  bottom: 10px;
  width: 500px;
  opacity: 0.16;
  pointer-events: none;
}

.site-footer--light .footer-wordmark {
  opacity: 0.1;
}

.footer-wordmark img {
  width: 100%;
  height: auto;
}

.footer-accent {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 9px;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  padding: 18px 0 22px;
  text-align: center;
  font-size: 14px;
  line-height: 30px;
}

.site-footer--dark .footer-bottom {
  color: var(--color-black);
  background: var(--color-white);
}

.site-footer--light .footer-bottom {
  color: var(--color-black);
  background: #fbfbfb;
}

.footer-bottom p {
  margin: 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;
}

.hero-two-col {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1fr);
  align-items: start;
  gap: 44px 56px;
}

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

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

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

@media (max-width: 1180px) {
  .hero-two-col,
  .card-grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-bottom: 156px;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(calc(100% - 28px), var(--container-content));
  }

  .site-header .container.header-main {
    width: min(calc(100% - 16px), var(--container-shell));
    padding-left: 0;
    padding-right: 0;
  }

  .header-main {
    gap: 14px;
  }

  .nav-list {
    gap: 10px;
    flex-wrap: nowrap;
  }

  .nav-trigger {
    font-size: 12px;
  }

  .site-header--light .nav-list,
  .site-header--dark .nav-list {
    gap: 12px;
  }

  .card-grid-3,
  .card-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 24px), var(--container-content));
  }

  .site-header .container.header-main {
    width: min(calc(100% - 12px), var(--container-shell));
    padding-left: 0;
    padding-right: 0;
  }

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

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    left: 16px;
    padding: 14px;
    border: 1px solid var(--color-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 40px var(--color-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity var(--transition),
      transform var(--transition),
      visibility var(--transition);
  }

  .site-header--dark .site-nav {
    background: rgba(79, 15, 47, 0.98);
    border-color: rgba(255, 255, 255, 0.14);
  }

  .site-header--light .header-main,
  .site-header--dark .header-main {
    padding: 8px 0;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .header-mega {
    display: none;
  }

  .mega-panel {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-list a {
    justify-content: flex-start;
    min-height: 40px;
    padding: 0 8px;
    font-size: 14px;
    text-align: left;
    white-space: normal;
  }

  .label-desktop {
    display: none;
  }

  .label-mobile {
    display: inline;
  }

  .nav-item--dropdown {
    width: 100%;
  }

  .nav-trigger {
    justify-content: space-between;
    width: 100%;
    min-height: 42px;
    padding: 0 10px;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    white-space: normal;
  }

  .nav-inline-panel {
    display: block;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition:
      max-height 240ms ease,
      opacity 180ms ease,
      transform 240ms ease;
  }

  .nav-item--dropdown.is-open .nav-inline-panel {
    max-height: 240px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    padding: 4px 10px 14px 22px;
  }

  .nav-inline-description {
    display: none;
  }

  .nav-inline-columns {
    flex-direction: column;
    gap: 10px;
  }

  .nav-inline-links,
  .mega-panel__column {
    flex-basis: auto;
    width: 100%;
    gap: 16px;
  }

  .nav-inline-links a {
    min-height: 30px;
    padding: 0;
    font-size: 13px;
    line-height: 1.35;
    color: var(--color-plum);
  }

  .site-header--dark .nav-inline-links a {
    color: var(--color-white);
  }

  .login-link {
    justify-content: center;
  }

  .footer-main {
    grid-template-columns: 1fr;
    padding-top: 56px;
    padding-bottom: 120px;
  }

  .footer-title {
    max-width: 560px;
  }

  .footer-column h3 {
    font-size: 20px;
  }

  .footer-wordmark {
    left: -25px;
    bottom: 40px;
    width: 320px;
  }
}

@media (max-width: 480px) {
  .header-main {
    min-height: 52px;
  }

  .brand-lockup {
    width: 108px;
  }

  .site-header--light .brand-lockup,
  .site-header--dark .brand-lockup {
    width: 108px;
  }

  .section-title {
    font-size: 32px;
  }

  .button {
    width: 100%;
  }
}
