:root {
  --ink: #26191f;
  --ink-soft: #5c4b52;
  --paper: #f3eee8;
  --paper-bright: #fffdf9;
  --paper-warm: #eadfd6;
  --coral: #ff5368;
  --coral-deep: #d92f4e;
  --rose: #f5a8b5;
  --wine: #8f2038;
  --yellow: #f3c74f;
  --teal: #347f75;
  --line: rgba(38, 25, 31, 0.15);
  --line-light: rgba(255, 255, 255, 0.2);
  --shadow: 0 20px 60px rgba(53, 24, 33, 0.13);
  --nav-height: 72px;
  --content-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  background: var(--coral);
  color: #fff;
}

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

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

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--wine);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--coral-deep);
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.site-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1500;
  height: 3px;
  pointer-events: none;
}

.site-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left center;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 1400;
  display: flex;
  width: calc(100% - 32px);
  max-width: 1500px;
  min-height: var(--nav-height);
  align-items: center;
  gap: 28px;
  padding: 10px 14px 10px 18px;
  border: 1px solid rgba(38, 25, 31, 0.1);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.9);
  box-shadow: 0 12px 36px rgba(38, 25, 31, 0.08);
  transform: translateX(-50%);
  transition: background-color 220ms ease, box-shadow 220ms ease, top 220ms ease;
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  top: 8px;
  background: rgba(255, 253, 249, 0.97);
  box-shadow: 0 14px 42px rgba(38, 25, 31, 0.14);
}

.site-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.site-brand:hover {
  color: var(--ink);
}

.site-brand img {
  width: 51px;
  height: 42px;
  object-fit: contain;
}

.site-brand span {
  display: grid;
  line-height: 1.12;
}

.site-brand strong {
  font-size: 15px;
  font-weight: 800;
}

.site-brand small {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.primary-navigation {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
}

.nav-direct,
.nav-group > summary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 13px;
  border-radius: 5px;
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
  list-style: none;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.nav-group > summary::-webkit-details-marker {
  display: none;
}

.nav-group > summary::after {
  width: 7px;
  height: 7px;
  margin: -4px 0 0 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.nav-group[open] > summary::after {
  margin-top: 3px;
  transform: rotate(225deg);
}

.nav-direct:hover,
.nav-direct.is-active,
.nav-group > summary:hover,
.nav-group[open] > summary,
.nav-group.is-active > summary {
  background: rgba(255, 83, 104, 0.11);
  color: var(--wine);
}

.nav-group {
  position: relative;
}

.nav-panel {
  position: absolute;
  top: calc(100% + 13px);
  left: 0;
  display: grid;
  width: 390px;
  gap: 2px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-bright);
  box-shadow: var(--shadow);
}

.nav-group--end .nav-panel {
  right: 0;
  left: auto;
}

.nav-panel a {
  display: grid;
  gap: 2px;
  padding: 11px 12px;
  border-radius: 5px;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 150ms ease, transform 150ms ease;
}

.nav-panel a:hover {
  background: var(--paper);
  color: var(--ink);
  transform: translateX(3px);
}

.nav-panel a[aria-current="page"] {
  background: var(--paper);
  color: var(--wine);
}

.nav-panel strong {
  font-size: 14px;
}

.nav-panel span {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--coral-deep);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.page-hero {
  position: relative;
  display: grid;
  min-height: 58svh;
  align-items: end;
  overflow: hidden;
  padding: 170px max(24px, calc((100vw - var(--content-width)) / 2)) 72px;
  background: var(--ink);
  color: #fff;
}

.page-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.page-hero .eyebrow {
  color: var(--yellow);
}

.page-hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: 76px;
  font-weight: 850;
  line-height: 0.98;
}

.page-hero__lead {
  max-width: 760px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 21px;
  line-height: 1.5;
}

.page-hero__mark {
  position: absolute;
  right: max(10px, calc((100vw - var(--content-width)) / 2 - 60px));
  bottom: -54px;
  width: 480px;
  opacity: 0.22;
  transform: rotate(-7deg);
}

.page-shell {
  width: min(calc(100% - 40px), var(--content-width));
  min-height: 42vh;
  margin: 0 auto;
  padding: 82px 0 110px;
}

.page-shell h2,
.page-shell h3,
.page-shell h4 {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.12;
}

.page-shell h2 {
  margin-top: 60px;
  font-size: 42px;
}

.page-shell h3 {
  font-size: 28px;
}

.page-shell p,
.page-shell li {
  color: #493a41;
}

.page-shell hr {
  border-color: var(--line);
  opacity: 1;
}

.page-shell .bd-callout {
  padding: 22px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  border-radius: 6px;
  background: var(--paper-bright);
}

.placeholder-content {
  padding: 10px 0 34px;
}

.placeholder-content__intro {
  max-width: 860px;
}

.placeholder-content__intro h2 {
  max-width: 760px;
  margin: 0;
  font-size: 58px;
  line-height: 1.02;
}

.placeholder-content__intro > p:last-child {
  max-width: 720px;
  margin: 28px 0 0;
  font-size: 20px;
  line-height: 1.65;
}

.placeholder-content__rows {
  margin-top: 82px;
  border-bottom: 1px solid var(--line);
}

.placeholder-content__rows article {
  display: grid;
  align-items: start;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  grid-template-columns: 72px minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 32px;
}

.placeholder-content__rows article > span {
  color: var(--wine);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 800;
}

.placeholder-content__rows h3,
.placeholder-content__rows p {
  margin: 0;
}

.placeholder-content__rows h3 {
  font-size: 26px;
}

.placeholder-content__rows p {
  max-width: 620px;
  font-size: 17px;
  line-height: 1.6;
}

.site-footer {
  position: relative;
  z-index: 2;
  background: var(--ink);
  color: #fff;
}

.site-footer__main {
  display: grid;
  width: min(calc(100% - 40px), 1280px);
  margin: 0 auto;
  padding: 72px 0 54px;
  grid-template-columns: minmax(0, 1.7fr) minmax(160px, 0.55fr) minmax(180px, 0.65fr);
  gap: 72px;
}

.site-footer__brand {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.site-footer__brand img {
  width: 104px;
  flex: 0 0 auto;
}

.site-footer__brand strong {
  font-size: 24px;
}

.site-footer__brand p {
  max-width: 610px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

.site-footer__links {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-label {
  margin: 0 0 8px;
  color: var(--rose);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer__legal {
  display: flex;
  width: min(calc(100% - 40px), 1280px);
  margin: 0 auto;
  padding: 24px 0 34px;
  border-top: 1px solid var(--line-light);
  justify-content: space-between;
  gap: 28px;
}

.site-footer__legal p {
  max-width: 580px;
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  line-height: 1.55;
}

.site-footer__legal a {
  text-decoration: underline;
}

@media (max-width: 1180px) {
  .site-header {
    gap: 12px;
  }

  .site-brand span {
    display: none;
  }

  .nav-direct,
  .nav-group > summary {
    padding-right: 10px;
    padding-left: 10px;
    font-size: 13px;
  }
}

@media (max-width: 900px) {
  :root {
    --nav-height: 62px;
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 62px;
    padding: 8px 10px 8px 14px;
  }

  .site-header.is-scrolled {
    top: 6px;
  }

  .site-brand span {
    display: grid;
  }

  .site-brand img {
    width: 45px;
    height: 38px;
  }

  .nav-toggle {
    display: block;
  }

  .primary-navigation {
    position: fixed;
    top: 82px;
    right: 10px;
    left: 10px;
    display: none;
    max-height: calc(100svh - 94px);
    overflow-y: auto;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper-bright);
    box-shadow: var(--shadow);
  }

  .primary-navigation.is-open {
    display: grid;
    align-content: start;
    justify-content: stretch;
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
  }

  .primary-navigation > *,
  .nav-group {
    width: 100%;
  }

  .nav-direct,
  .nav-group > summary {
    width: 100%;
    min-height: 48px;
    justify-content: space-between;
    padding: 0 12px;
    font-size: 15px;
  }

  .nav-panel,
  .nav-group--end .nav-panel {
    position: static;
    width: auto;
    margin: 0 4px 10px;
    border: 0;
    border-left: 2px solid var(--rose);
    border-radius: 0;
    box-shadow: none;
  }

  .nav-panel a {
    padding: 10px 12px;
  }

  .page-hero {
    min-height: 54svh;
    padding: 145px 24px 58px;
  }

  .page-hero h1 {
    font-size: 58px;
  }

  .page-hero__lead {
    font-size: 18px;
  }

  .page-hero__mark {
    right: -120px;
    width: 400px;
  }

  .placeholder-content__intro h2 {
    font-size: 48px;
  }

  .placeholder-content__rows article {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px 24px;
  }

  .placeholder-content__rows article p {
    grid-column: 2;
  }

  .site-footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 44px 28px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .site-brand strong {
    font-size: 14px;
  }

  .site-brand small {
    font-size: 10px;
  }

  .page-hero {
    min-height: 62svh;
    padding: 132px 20px 48px;
  }

  .page-hero h1 {
    font-size: 44px;
    line-height: 1.02;
  }

  .page-hero__lead {
    margin-top: 20px;
    font-size: 17px;
  }

  .page-shell {
    width: min(calc(100% - 32px), var(--content-width));
    padding: 58px 0 80px;
  }

  .page-shell h2 {
    margin-top: 46px;
    font-size: 34px;
  }

  .placeholder-content__intro h2 {
    font-size: 38px;
  }

  .placeholder-content__intro > p:last-child {
    font-size: 18px;
  }

  .placeholder-content__rows {
    margin-top: 58px;
  }

  .placeholder-content__rows article {
    padding: 28px 0;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px 14px;
  }

  .placeholder-content__rows h3 {
    font-size: 22px;
  }

  .placeholder-content__rows p {
    font-size: 16px;
  }

  .site-footer__main {
    padding-top: 54px;
    grid-template-columns: 1fr;
  }

  .site-footer__brand {
    grid-column: auto;
  }

  .site-footer__brand img {
    width: 76px;
  }

  .site-footer__legal {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
