/* Reusable controls, navigation, disclosures and footer. */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  vertical-align: -0.15em;
  pointer-events: none;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  background: var(--crimson);
  color: white;
  padding: 9px 9px 9px 23px;
  min-height: 54px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition:
    background 0.2s,
    transform 0.25s var(--ease);
}
.btn:hover {
  background: var(--crimson-dk);
  transform: translateY(-2px);
}
.arrow {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  font-size: 21px;
  line-height: 1;
  transition: transform 0.25s var(--ease);
}
.arrow .icon {
  width: 20px;
  height: 20px;
}
.btn:hover .arrow {
  transform: rotate(45deg);
}
.btn--small {
  min-height: 44px;
  padding: 6px 6px 6px 18px;
  font-size: 13px;
  gap: 12px;
}
.btn--small .arrow {
  width: 29px;
  height: 29px;
  font-size: 18px;
}
.btn--small .arrow .icon {
  width: 18px;
  height: 18px;
}
.btn--hero {
  background: var(--crimson);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 5px 22px #16050b24;
}
.btn--hero .arrow {
  background: white;
  color: var(--crimson);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 15px;
  font-weight: 500;
  min-height: 44px;
  color: var(--crimson);
}
.text-link span {
  font-size: 20px;
  transition: transform 0.2s var(--ease);
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.text-link:hover span {
  transform: translate(2px, -2px);
}
.text-link--light {
  color: white;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.065em;
  white-space: nowrap;
}
.brand__mark {
  color: var(--crimson);
  flex-shrink: 0;
}
.nav {
  position: fixed;
  top: 34px;
  z-index: 20;
  left: 50%;
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  transform: translateX(-50%);
  transition: transform 340ms var(--ease), opacity 240ms ease;
}
.nav.is-hidden {
  transform: translate(-50%, calc(-100% - 48px));
  opacity: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .nav { transition: none; }
}
.nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: center;
  min-height: 70px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--pill);
  padding: 10px 12px 10px 30px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 35px #16050b08;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 16px;
}
.nav__links .btn {
  font-size: 15px;
}
.nav__links > a:not(.btn) {
  padding-block: 12px;
  white-space: nowrap;
}
.nav__links > a:not(.btn):hover {
  color: var(--crimson);
}
.nav__links--right {
  justify-content: flex-end;
  gap: 24px;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 12px 8px;
}
.menu-toggle span {
  height: 1.5px;
  background: var(--ink);
  display: block;
  margin: 6px 0;
}
.menu {
  width: min(600px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 28px;
  border: 0;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  overscroll-behavior: contain;
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition:
    opacity 360ms ease,
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}
.menu.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.menu.is-closing {
  pointer-events: none;
  transition-duration: 240ms;
}
.menu::backdrop {
  background: #21141985;
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 360ms ease;
}
.menu.is-visible::backdrop {
  opacity: 1;
}
.menu.is-closing::backdrop {
  transition-duration: 240ms;
}
.menu__links a,
.menu > .btn {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 320ms ease,
    transform 440ms cubic-bezier(0.22, 1, 0.36, 1);
}
.menu.is-visible .menu__links a,
.menu.is-visible > .btn {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(35ms + var(--menu-order, 0) * 22ms);
}
.menu.is-closing .menu__links a,
.menu.is-closing > .btn {
  transition-duration: 180ms;
  transition-delay: 0ms;
}
.menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.round-button {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--stone);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 20px;
  line-height: 1;
}
.menu .round-button {
  flex-shrink: 0;
  border-color: transparent;
  background: var(--crimson);
  color: var(--paper);
  transition: background 180ms ease, transform 180ms var(--ease);
}
.menu .round-button:hover {
  background: var(--crimson-dk);
}
.menu .round-button:active {
  transform: scale(0.94);
}
.menu__links {
  display: grid;
  padding: 18px 0 26px;
}
.menu__links a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  font-size: 21px;
  letter-spacing: -0.03em;
}
.menu__links a span {
  color: var(--crimson);
}
.tabs {
  display: flex;
  gap: 6px;
  background: var(--stone);
  border-radius: var(--pill);
  padding: 5px;
  width: fit-content;
  margin-bottom: 30px;
}
.tabs__tab {
  padding: 10px 24px;
  border-radius: var(--pill);
  font-size: 15px;
  color: var(--muted);
}
.tabs__tab[aria-selected="true"] {
  color: white;
  background: var(--crimson);
}
.deliverables {
  margin: 28px 0 24px;
  display: grid;
  gap: 20px;
}
.deliverables li {
  position: relative;
  padding-left: 24px;
}
.deliverables li::before {
  content: "";
  position: absolute;
  top: 0.3em;
  left: 0;
  width: 16px;
  height: 16px;
  background: var(--crimson);
  -webkit-mask: url("/assets/icons/arrow-up-right.svg") center / contain no-repeat;
  mask: url("/assets/icons/arrow-up-right.svg") center / contain no-repeat;
}
.deliverables strong,
.deliverables span {
  display: block;
  font-size: var(--body-size);
}
.deliverables strong {
  font-weight: 600;
}
.deliverables span {
  margin-top: 3px;
  line-height: var(--body-leading);
  color: var(--muted);
}
.round-link {
  position: absolute;
  right: 26px;
  top: 27px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 21px;
  transition:
    transform 0.2s,
    background 0.2s;
}
.round-link:hover {
  transform: rotate(45deg);
  background: var(--crimson-lt);
}
.faq__items details {
  border-bottom: 1px solid var(--line);
}
.faq__items summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  cursor: pointer;
  padding: 24px 0;
  font-size: var(--body-size);
  font-weight: 500;
  line-height: 1.4;
}
.faq__items summary::-webkit-details-marker {
  display: none;
}
.faq__items summary > span {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  position: relative;
}
.faq__items summary > span::before,
.faq__items summary > span::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 1px;
  left: 7px;
  top: 11px;
  background: var(--crimson);
}
.faq__items summary > span::after {
  transform: rotate(90deg);
  transition: transform 0.2s;
}
.faq__items details[open] summary > span::after {
  transform: rotate(0deg);
}
.faq__items details[open] summary {
  color: var(--crimson);
}
.faq__answer {
  padding: 0 50px 25px 0;
  color: var(--muted);
  font-size: var(--copy-size);
  line-height: var(--body-leading);
}
.footer {
  padding-top: 64px;
}
.footer__top {
  display: grid;
  grid-template-columns: 0.8fr 2.2fr;
  gap: 48px;
}
.footer__about p {
  margin-top: 20px;
  color: var(--muted);
  font-size: var(--body-size);
}
.footer__nav {
  display: grid;
  overflow-wrap: anywhere;
  grid-template-columns: 1.15fr 1.1fr 1.2fr 0.65fr 1.1fr;
  gap: 24px;
}
.footer__column,
.footer__meta {
  display: contents;
}
.footer__nav h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 18px;
}
.footer__nav a {
  display: block;
  width: fit-content;
  font-size: var(--support-size);
  color: var(--muted);
  padding-block: 5px;
}
.footer__nav a:hover {
  color: var(--crimson);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer__wordmark {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: clamp(55px, 13.2vw, 198px);
  font-weight: 600;
  letter-spacing: -0.08em;
  line-height: 1.2;
  color: var(--crimson);
  margin-top: 58px;
  padding-bottom: 25px;
  white-space: nowrap;
}
.footer__wordmark span {
  display: flex;
  font-size: 0.85em;
}
.footer__wordmark .icon {
  stroke-width: 0.5;
}
.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px 24px;
  padding: 22px 0 28px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  padding-bottom: 104px;
}
.footer__base nav {
  display: flex;
  gap: 24px;
}
.footer__base a:hover {
  color: var(--crimson);
}
