.wrap {
  width: min(var(--wide), calc(100% - clamp(1.25rem, 5vw, 4.5rem)));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
}

.header-bar {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.62rem;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: opacity var(--motion-fast);
}

.brand img {
  width: auto;
  height: 46px;
  max-width: none;
}

.brand-wordmark {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 560;
  letter-spacing: 0.1em;
  line-height: 1;
  white-space: nowrap;
}

.brand:hover,
.brand:focus-visible {
  opacity: 0.82;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  min-width: 44px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 1.35rem;
  height: 1px;
  background: var(--ink);
}

.nav-toggle-lines {
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-lines::before {
  top: -6px;
}

.nav-toggle-lines::after {
  top: 6px;
}

.nav-open .nav-toggle-lines {
  background: transparent;
}

.nav-open .nav-toggle-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-open .nav-toggle-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
}

.nav-list > li > a,
.nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  padding: 0 0.5rem;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--burgundy);
}

.has-menu {
  position: relative;
}

.nav-menu {
  position: absolute;
  top: calc(100% - 0.2rem);
  left: 0;
  z-index: 20;
  min-width: 15rem;
  padding: 0.55rem 0;
  background: var(--paper-2);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  color: var(--ink);
  list-style: none;
  visibility: hidden;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
}

.has-menu:hover .nav-menu,
.has-menu:focus-within .nav-menu,
.has-menu.is-open .nav-menu {
  visibility: visible;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.nav-menu a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1rem;
  text-decoration: none;
  font-size: 0.92rem;
}

.nav-menu a:hover {
  background: var(--rose-3);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav-account {
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-account:hover {
  color: var(--burgundy);
}

.nav-cta {
  min-height: 42px;
  padding: 0.55rem 1rem;
}

.nav-contact {
  display: none;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.index {
  font-family: var(--serif);
  font-weight: 500;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.85rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  text-align: center;
}

.btn-primary {
  background: var(--burgundy);
  color: #fff;
}

.btn-primary:hover {
  background: var(--burgundy-deep);
}

.btn-outline {
  border-color: rgba(248, 243, 244, 0.55);
  color: var(--paper);
  background: transparent;
}

.btn-outline:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.btn-light {
  background: var(--paper);
  color: var(--burgundy-deep);
}

.btn-light:hover {
  background: #fff;
}

.btn-quiet {
  min-height: 44px;
  padding: 0.35rem 0;
  color: var(--ink);
  border-bottom: 1px solid currentColor;
}

.btn-quiet:hover,
.btn-quiet-light:hover {
  color: var(--burgundy);
}

.btn-quiet-light {
  color: var(--paper);
}

.btn-quiet-light:hover {
  color: var(--rose);
}

.text-link {
  display: inline-flex;
  margin-top: 1.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.18rem;
}

.text-link:hover {
  color: var(--burgundy);
}

.text-link-light {
  color: var(--paper);
  margin-top: 0;
}

.band-head .text-link {
  margin-top: 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.5rem;
}

h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.028em;
}

h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.35;
  letter-spacing: -0.011em;
}

.section {
  padding-block: clamp(4.25rem, 8vw, 7.25rem);
}

.section-head {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-head h2,
.problem-intro h2,
.page-hero h1 {
  margin-top: 0.75rem;
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.5rem;
  margin-bottom: 1.35rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.crumb a {
  color: var(--muted-deep);
  text-decoration: none;
}

.crumb a:hover {
  color: var(--burgundy);
}

.page-hero {
  padding-top: clamp(2.1rem, 5vw, 3.75rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.4rem);
  background:
    linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--hairline);
}

.page-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.35rem, 5vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 16ch;
}

.page-hero .lede,
.lede {
  color: var(--muted-deep);
}

.page-hero .lede {
  max-width: 38rem;
  margin-top: 1.2rem;
  font-size: 1.125rem;
  line-height: 1.55;
}

.page-hero .actions {
  margin-top: 1.75rem;
}

.band-ink {
  background: var(--ink);
  color: var(--on-dark);
}

.band-ink h2,
.band-ink h3 {
  color: var(--paper);
}

.band-ink .eyebrow,
.band-ink .index {
  color: var(--rose);
}

.band-ink p {
  color: var(--on-dark-muted);
}

.band-burgundy {
  background: var(--burgundy-deep);
  color: var(--paper);
}

.site-footer {
  position: relative;
  overflow-x: clip;
  border-top: 1px solid var(--hairline);
  background:
    linear-gradient(180deg, rgba(248, 243, 244, 0.96), rgba(248, 243, 244, 0.98)),
    var(--paper);
  padding-top: clamp(2.4rem, 4.5vw, 3.6rem);
}

.footer-mark {
  position: absolute;
  right: -3%;
  bottom: 18%;
  width: min(26rem, 48vw);
  opacity: 0.045;
  pointer-events: none;
  user-select: none;
}

.footer-mark img {
  display: block;
  width: 100%;
  height: auto;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr) minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.75rem 2rem;
  align-items: start;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.footer-brand img,
.footer-logo img {
  width: auto;
  height: 42px;
}

.footer-wordmark {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 560;
  letter-spacing: 0.08em;
}

.footer-tagline {
  max-width: 16rem;
  margin-top: 1rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.footer-support {
  max-width: 18.5rem;
  margin-top: 0.45rem;
  color: var(--muted-deep);
  font-size: 0.9rem;
  line-height: 1.55;
}

.footer-paired {
  display: grid;
  gap: 1.6rem;
}

.footer-label {
  margin: 0 0 0.7rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.footer-links {
  list-style: none;
}

.footer-links li + li {
  margin-top: 0.08rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 1.85rem;
  color: var(--muted-deep);
  text-decoration: none;
  background-image: linear-gradient(var(--burgundy), var(--burgundy));
  background-position: 0 1.55rem;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: color var(--motion-fast), background-size var(--motion-fast);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--burgundy);
  background-size: 100% 1px;
}

.footer-contact {
  display: grid;
  gap: 0.35rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hairline);
  list-style: none;
}

.footer-contact a,
.footer-place {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.45rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.4;
}

.footer-contact a .icon,
.footer-place .icon {
  margin-top: 0.12rem;
  color: var(--burgundy);
}

.footer-contact a {
  transition: color var(--motion-fast);
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--burgundy);
}

.footer-place {
  color: var(--muted-deep);
}

.footer-base {
  position: relative;
  z-index: 1;
  margin-top: 2.1rem;
  border-top: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.42);
}

.footer-base-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 0.7rem 1.25rem;
  padding-block: 0.95rem 1.05rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.footer-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.45rem;
  min-width: 0;
}

.footer-copy-sep {
  color: var(--rose);
}

.footer-credit {
  color: var(--muted-deep);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2rem 0.95rem;
  min-width: 0;
  list-style: none;
}

.footer-legal a {
  color: var(--muted-deep);
  text-decoration: none;
  transition: color var(--motion-fast);
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--burgundy);
}

.legal-short {
  display: none;
}

.footer-locale {
  min-width: 0;
  text-align: right;
}

@media (min-width: 760px) {
  .brand img {
    height: 54px;
  }
}

@media (max-width: 1240px) and (min-width: 961px) {
  .nav-account {
    display: none;
  }

  .nav-list > li > a,
  .nav-parent {
    padding: 0 0.45rem;
    font-size: 0.82rem;
  }

  .brand-wordmark {
    font-size: 1rem;
    letter-spacing: 0.08em;
  }
}

.nav-backdrop,
.mobile-drawer {
  display: none;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(26, 18, 19, 0.42);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .mobile-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 80;
    top: 0;
    right: 0;
    width: min(28rem, calc(100vw - 0.7rem));
    height: 100dvh;
    max-height: 100%;
    overflow: hidden;
    background: var(--paper);
    color: var(--ink);
    box-shadow: -18px 0 40px rgba(26, 18, 19, 0.16);
    transform: translateX(110%);
    visibility: hidden;
    pointer-events: none;
  }

  .nav-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-open .mobile-drawer {
    transform: none;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-open {
    overflow: hidden;
  }

  .mobile-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex: 0 0 auto;
    min-height: 4.35rem;
    padding: 0.65rem 0.9rem 0.65rem 1rem;
    border-bottom: 1px solid var(--hairline);
  }

  .mobile-drawer-brand img {
    height: 36px;
  }

  .mobile-drawer-brand .brand-wordmark {
    font-size: 1rem;
    color: var(--ink);
    text-shadow: none;
  }

  .mobile-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--hairline);
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
  }

  .mobile-close:hover,
  .mobile-close:focus-visible {
    color: var(--burgundy);
    background: rgba(132, 10, 19, 0.06);
  }

  .mobile-drawer-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    overscroll-behavior: contain;
    padding: 0.7rem 0.75rem 0.4rem;
  }

  .mobile-nav {
    list-style: none;
  }

  .mobile-row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    width: 100%;
    min-height: 52px;
    padding: 0.55rem 0.7rem;
    border: 0;
    border-radius: 0.72rem;
    background: transparent;
    color: var(--ink);
    text-align: left;
    text-decoration: none;
    font-family: var(--sans);
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.2;
  }

  .mobile-row:hover,
  .mobile-row:focus-visible,
  .mobile-row.is-current {
    background: rgba(132, 10, 19, 0.06);
  }

  .mobile-row.is-current,
  .mobile-row.is-current .mobile-row-icon,
  .mobile-acc.is-open .mobile-acc-btn .mobile-row-icon {
    color: var(--burgundy);
  }

  .mobile-row-icon {
    display: grid;
    place-items: center;
    width: 1.35rem;
    color: var(--burgundy);
  }

  .mobile-row-icon .icon {
    width: 1.2rem;
    height: 1.2rem;
  }

  .mobile-row-label {
    flex: 1 1 auto;
    min-width: 0;
  }

  .mobile-acc-chevron {
    margin-left: auto;
    color: var(--muted);
    transition: transform 220ms ease;
  }

  .mobile-acc.is-open .mobile-acc-chevron {
    transform: rotate(180deg);
  }

  .mobile-sub {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
  }

  .mobile-acc.is-open .mobile-sub {
    grid-template-rows: 1fr;
    opacity: 1;
  }

  .mobile-sub-list {
    overflow: hidden;
    margin: 0 0 0.35rem;
    padding: 0.1rem 0 0.2rem 0.55rem;
    border-left: 1px solid var(--rose-2);
    list-style: none;
  }

  .mobile-sub-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 42px;
    padding: 0.3rem 0.65rem;
    border-radius: 0.65rem;
    color: var(--muted-deep);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
  }

  .mobile-sub-link:hover,
  .mobile-sub-link:focus-visible,
  .mobile-sub-link.is-current {
    background: rgba(132, 10, 19, 0.06);
    color: var(--burgundy);
  }

  .mobile-sub-link .mobile-row-icon .icon {
    width: 1.05rem;
    height: 1.05rem;
  }

  .mobile-drawer-foot {
    display: grid;
    gap: 0.55rem;
    flex: 0 0 auto;
    padding: 0.85rem 0.9rem calc(0.95rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--hairline);
    background: #fff;
  }

  .mobile-cta-primary,
  .mobile-cta-secondary {
    width: 100%;
    min-height: 48px;
    border-radius: 0.75rem;
  }

  .mobile-cta-secondary {
    border-color: var(--burgundy);
    background: transparent;
    color: var(--burgundy);
  }

  .mobile-cta-secondary:hover,
  .mobile-cta-secondary:focus-visible {
    background: rgba(132, 10, 19, 0.06);
  }
}

@media (prefers-reduced-motion: no-preference) and (max-width: 960px) {
  .nav-toggle-lines,
  .nav-toggle-lines::before,
  .nav-toggle-lines::after {
    transition: transform var(--ease), background-color var(--ease), top var(--ease);
  }

  .nav-backdrop {
    transition: opacity 280ms ease, visibility 280ms ease;
  }

  .mobile-drawer {
    transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1), visibility 300ms ease;
  }

  .mobile-sub {
    transition: grid-template-rows 230ms ease, opacity 230ms ease;
  }

  .mobile-acc.is-open .mobile-sub-list {
    animation: mobile-sub-in 230ms ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-backdrop,
  .mobile-drawer,
  .mobile-sub,
  .mobile-acc-chevron {
    transition: none !important;
    animation: none !important;
  }
}

@keyframes mobile-sub-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1119px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 28rem;
  }
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1.25rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-base-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding-block: 1rem 1.15rem;
  }

  .footer-copy {
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
  }

  .footer-copy-sep {
    display: none;
  }

  .footer-legal {
    gap: 0.15rem 0.35rem;
  }

  .footer-legal li:not(:last-child)::after {
    content: "·";
    margin-left: 0.35rem;
    color: var(--rose);
  }

  .legal-full {
    display: none;
  }

  .legal-short {
    display: inline;
  }

  .footer-locale {
    text-align: center;
  }
}

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

  .footer-paired {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.35rem 1.1rem;
  }

  .footer-mark {
    width: min(18rem, 72vw);
    right: -8%;
    bottom: 22%;
    opacity: 0.035;
  }
}

@media (max-width: 390px) {
  .brand {
    gap: 0.48rem;
  }

  .brand-wordmark {
    font-size: 0.98rem;
    letter-spacing: 0.08em;
  }

  .footer-paired {
    grid-template-columns: 1fr;
  }

  .footer-support,
  .footer-tagline {
    max-width: none;
  }
}
