@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/InstrumentSerif-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/InstrumentSerif-Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("/assets/fonts/Manrope.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #181818;
  --night: #242321;
  --paper: #f7f5f0;
  --white: #fffdfa;
  --muted: #5d5a54;
  --rule: #d8d1c4;
  --control: #928776;
  --accent: #715023;
  --accent-hover: #513719;
  --gold: #b78e52;
  --champagne: #d5ba8e;
  --champagne-light: #e8d6b8;
  --blush: #e8e2d7;
  --light-ink: #fbf8f1;
  --light-muted: #d7d0c7;
  --display: "Instrument Serif", Georgia, serif;
  --body: Manrope, "Segoe UI", Arial, sans-serif;
  --code: "Cascadia Code", ui-monospace, Consolas, monospace;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body, p, figure, h1, h2, h3, dl, dd { margin: 0; }
body { font-size: 1rem; line-height: 1.6; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
main:focus { outline: none; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.026em;
  text-wrap: balance;
}
h1 { font-size: clamp(3.55rem,7.1vw,7.1rem); }
h2 { font-size: clamp(2.6rem,5.2vw,4.8rem); }
h3 { font-size: clamp(1.8rem,3.1vw,2.7rem); }
section[id], article[id], div[id] { scroll-margin-top: 1.5rem; }
[hidden] { display: none !important; }
.shell { width: min(calc(100% - 8rem), 82rem); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 10; inset: .7rem auto auto .7rem; padding: .7rem 1rem; background: var(--white); color: var(--ink); transform: translateY(-190%); }
.skip-link:focus { transform: none; }
.global-header { position: relative; z-index: 3; background: var(--white); border-bottom: 1px solid var(--rule); }
.global-nav {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  grid-template-rows: auto;
  min-height: 5.15rem;
  gap: .65rem clamp(.75rem,2.5vw,2.35rem);
  align-items: center;
}
.global-brand { display: inline-flex; width: 7.35rem; grid-column: 2; grid-row: 1; justify-self: center; }
.global-brand img { width: 100%; height: auto; mix-blend-mode: multiply; }
.global-links { grid-column: 1; grid-row: 1; display: flex; align-items: center; justify-self: start; gap: clamp(.8rem,2.6vw,2.65rem); }
.global-links a, .global-action { font-size: .92rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.global-links a { display: flex; min-height: 2.75rem; align-items: center; }
.global-links a[aria-current], .global-links a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: .45em; }
.global-action { grid-column: 3; grid-row: 1; justify-self: end; color: var(--accent); border-bottom: 1px solid var(--gold); padding: .37rem .06rem .25rem; }
.global-action:hover { color: var(--accent-hover); border-color: var(--accent-hover); }
.home-page .global-header { background: var(--ink); border-color: #464037; color: var(--light-ink); }
.home-page .global-brand img { filter: invert(1); mix-blend-mode: screen; }
.home-page .global-action { color: var(--champagne-light); }
.home-page .global-action:hover { color: var(--white); border-color: var(--champagne-light); }
.home-page .global-header a:focus-visible { outline-color: var(--champagne-light); }

.label { color: var(--accent); font-size: .875rem; letter-spacing: .062em; font-weight: 750; line-height: 1.35; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 3.04rem; padding: .7rem 1.17rem; border: 1px solid transparent; font-size: .9375rem; font-weight: 750; line-height: 1.25; text-align: center; text-decoration: none; }
.button-dark { background: var(--ink); color: var(--light-ink); }
.button-dark:hover { background: #39332a; }
.button-champagne { background: var(--champagne); color: var(--ink); }
.button-champagne:hover { background: var(--champagne-light); }
.site-outline { border-color: var(--control); color: var(--ink); background: transparent; }
.site-outline:hover { border-color: var(--accent); background: #eee7da; }
.button-light { background: var(--paper); color: var(--ink); }
.button-light:hover { background: #eee7da; }
.button-light:focus-visible, .button-champagne:focus-visible, .site-footer a:focus-visible { outline-color: var(--champagne-light); }
.site-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.text-link { font-weight: 730; color: inherit; text-underline-offset: .28em; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--accent); text-decoration-thickness: 2px; }
.lede { font-size: clamp(1.02rem,1.45vw,1.15rem); line-height: 1.65; }
.note { font-size: .9375rem; color: var(--muted); }
.form-field { min-width: 0; display: grid; gap: .3rem; }
.form-field label { font-weight: 720; }
.form-field label span { color: var(--muted); font-weight: 450; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; min-width: 0; min-height: 3.05rem; padding: .6rem .75rem;
  border: 1px solid var(--control); border-radius: 0; background: var(--white); color: var(--ink);
}
.form-field textarea { resize: vertical; }
.form-field select, .catalog-sort select {
  appearance: none;
  background-image: linear-gradient(45deg,transparent 50%,var(--accent) 50%), linear-gradient(135deg,var(--accent) 50%,transparent 50%);
  background-position: right .98rem center, right .68rem center;
  background-repeat: no-repeat;
  background-size: .3rem .3rem;
  padding-right: 1.85rem;
}
.form-message { margin-block: .25rem; color: var(--accent); }
.form-message:empty { margin: 0; }
.page-heading { padding-block: clamp(2.4rem,5vw,4.1rem) clamp(1.5rem,3.3vw,2.5rem); }
.page-heading .lede { margin-top: .75rem; max-width: 44rem; color: var(--muted); }
.site-footer { isolation: isolate; background: var(--ink); color: var(--light-ink); border-top: 1px solid #554a3b; }
.footer-inner { display: grid; grid-template-columns: minmax(0,1.1fr) auto auto; gap: 1.15rem clamp(1rem,3vw,3rem); align-items: center; padding-block: clamp(1.75rem,4vw,3.25rem); }
.footer-brand { font-size: 0; }
.footer-brand::before {
  content: "";
  display: block;
  width: 8.1rem;
  aspect-ratio: 560 / 313;
  margin-block: 0 .42rem;
  background: url("/assets/dazzline-mark.webp") center / contain no-repeat;
  filter: invert(1);
  mix-blend-mode: screen;
}
.site-footer nav { display: flex; flex-wrap: wrap; align-items: baseline; gap: .65rem 1.4rem; }
.site-footer a { color: var(--light-muted); text-decoration: none; text-underline-offset: .27em; font-size: .9375rem; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--light-ink); text-decoration: underline; }
@media (max-width: 1050px) {
  .shell { width: calc(100% - 4rem); }
}
@media (max-width: 820px) {
  .global-nav { gap: .45rem 1rem; }
  .global-brand { width: 6.4rem; }
  .global-links { gap: .72rem; }
  .global-links a, .global-action { font-size: .86rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; align-items: start; }
  .footer-inner > :first-child { grid-row: span 2; }
}
@media (max-width: 640px) {
  .shell { width: calc(100% - 2rem); }
  .global-nav { grid-template-columns: minmax(0,1fr); grid-template-rows: auto auto; gap: .03rem; padding-top: .35rem; }
  .global-brand { grid-column: 1; grid-row: 1; width: 5.45rem; }
  .global-links { grid-column: 1; grid-row: 2; justify-self: center; gap: clamp(.95rem,6.6vw,2.3rem); }
  .global-links a { min-height: 2.55rem; }
  .global-action { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 1rem; padding-block: 1.65rem; }
  .footer-inner > :first-child { grid-row: auto; }
  .footer-brand::before { width: 7rem; }
}
@media (forced-colors: active) {
  .form-field select, .catalog-sort select { appearance: auto; }
  .footer-brand { font-size: 1rem; }
  .footer-brand::before { display: none; }
}
