@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; }
:root {
  --plum: #241923;
  --paper: #fff4ef;
  --peony: #f2a7c3;
  --muted: #dfcdd3;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --wave-h: clamp(32px, 3.7vw, 64px);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--plum); color: var(--paper); font: 400 1rem/1.55 var(--sans); }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1, h2 { line-height: .96; letter-spacing: -.028em; }
h1 em, h2 em { font-weight: 400; color: var(--peony); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--peony); outline-offset: 5px; }
::selection { background: var(--peony); color: var(--plum); }
.wrap { width: min(86.6%, 1236px); margin-inline: auto; }
.skip { position: fixed; z-index: 20; inset: 8px auto auto 8px; transform: translateY(-170%); padding: 10px 20px; border-radius: 100px; background: var(--paper); color: var(--plum); }
.skip:focus { transform: none; }
.masthead { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #fff4ef26; }
.brand { display: inline-flex; align-items: center; gap: .63rem; text-decoration: none; width: fit-content; }
.brand img { width: 36px; height: 36px; }
.brand-cls { font: 400 2.3rem/1 var(--serif); letter-spacing: -.045em; }
.brand-name { font: 500 .78rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; margin: .36rem 0 0 .22rem; }
nav { display: flex; align-items: center; gap: clamp(20px,3.1vw,51px); }
nav a { text-decoration: none; color: var(--paper); font-size: .94rem; padding-block: 8px; }
a:hover { color: var(--peony); }
.eyebrow { font: 550 .78rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--peony); }
.wave-section { position: relative; background-color: var(--surface); }
.wave-section::before {
  content: ""; pointer-events: none; position: absolute; width: 100%; height: calc(var(--wave-h) + 1px); left: 0; bottom: calc(100% - 1px);
  background: var(--surface);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 31 C250 74 432 58 693 32 S1186 -7 1440 26 V64 H0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.site-footer { --surface: #241923; padding: 20px 0 32px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; }
.footer-inner .brand img { width: 30px; height: 30px; }
.footer-inner .brand-cls { font-size: 1.85rem; }
.legal { display: flex; gap: 24px; font-size: .88rem; }
small { grid-column: 1/-1; color: #cdb8c2; font-size: .78rem; }

.legal a { text-decoration-thickness: 1px; text-decoration-color: #bd91a4; text-underline-offset: 4px; }
:where(a,button) { touch-action: manipulation; }
@media (max-width: 700px) {
  .wrap { width: 89%; }
  .masthead { min-height: 82px; flex-wrap: wrap; gap: 4px 15px; padding-block: 14px; }
  .brand { gap: 6px; }
  .brand img { width: 26px; height: 26px; }
  .brand-cls { font-size: 1.8rem; }
  .brand-name { font-size: .68rem; letter-spacing: .14em; margin-inline-start: 0; }
  nav { gap: 13px; }
  nav a { font-size: .875rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 15px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
