
:root {
  color-scheme: light dark;
  --paper: #fbf6ea;
  --paper-2: #f2e8d4;
  --ink: #291b25;
  --muted: #6e5e68;
  --plum: #4b173d;
  --plum-2: #6d2859;
  --on-plum: #fffaf0;
  --plum-deep: #4b173d;
  --gold: #c9912c;
  --gold-soft: #eed7a4;
  --line: rgba(75, 23, 61, .18);
  --surface: rgba(255, 253, 247, .82);
  --shadow: 0 20px 50px rgba(65, 32, 53, .12);
  --radius: 1.25rem;
  --max: 76rem;
  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, sans-serif;
}

[hidden] { display: none !important; }
.theme-dark-only { display: none !important; }
[data-theme="dark"] .theme-dark-only { display: revert !important; }
[data-theme="dark"] .theme-light-only { display: none !important; }

[data-theme="dark"] {
  --paper: #1d0f1a;
  --paper-2: #2b1425;
  --ink: #fff8ec;
  --muted: #d4c4ce;
  --plum: #d995c6;
  --plum-2: #f0b5de;
  --on-plum: #1d0f1a;
  --plum-deep: #3a1330;
  --gold: #e9bc63;
  --gold-soft: #63481c;
  --line: rgba(255, 248, 236, .15);
  --surface: rgba(43, 20, 37, .82);
  --shadow: 0 20px 50px rgba(0, 0, 0, .3);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 8rem; }
body {
  margin: 0;
  min-width: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 32rem;
  background: radial-gradient(circle at 78% -10%, rgba(201,145,44,.18), transparent 38%), radial-gradient(circle at 14% 10%, rgba(109,40,89,.12), transparent 34%);
  pointer-events: none;
  z-index: -1;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--ink); color: var(--paper); padding: .75rem 1rem; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
.container { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 2rem), 48rem); margin-inline: auto; }
.section { padding: clamp(3.5rem, 7vw, 7rem) 0; }
.section-sm { padding: clamp(2.25rem, 5vw, 4rem) 0; }
.eyebrow { margin: 0 0 .6rem; color: var(--plum-2); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 7vw, 6.5rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2.1rem, 4.5vw, 4rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
p { margin-block: 0 1rem; }
.lede { max-width: 44rem; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.35rem); line-height: 1.55; }
.muted { color: var(--muted); }
.kicker { display: inline-flex; align-items: center; gap: .55rem; font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.kicker::before { content: ""; width: 2.25rem; height: 2px; background: var(--gold); }
.button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; gap: .55rem; border: 1px solid transparent; border-radius: 999px; padding: .75rem 1.15rem; background: var(--plum); color: var(--on-plum); font-weight: 700; text-decoration: none; transition: transform .2s ease, background .2s ease, border-color .2s ease; cursor: pointer; }
.button:hover { transform: translateY(-2px); background: var(--plum-2); color: var(--on-plum); }
.button--gold { background: var(--gold); color: #231319; }
.button--gold:hover { background: color-mix(in srgb, var(--gold) 82%, #fff); color: #231319; }
.button--ghost { border-color: var(--line); background: transparent; color: var(--ink); }
.button--ghost:hover { border-color: var(--plum); background: color-mix(in srgb, var(--plum) 10%, transparent); color: var(--ink); }
.button--small { min-height: 2.6rem; padding: .55rem .9rem; font-size: .9rem; }
.button[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.tag { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: .28rem .68rem; color: var(--muted); font-size: .8rem; font-weight: 600; }
.tag--open { border-color: #4b7f53; color: #2f5a36; background: rgba(75,127,83,.1); }
.tag--full { border-color: var(--line); color: var(--muted); background: var(--paper-2); }
[data-theme="dark"] .tag--open { border-color: #7fbf8a; color: #a9e0b2; background: rgba(127,191,138,.12); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.card__body { padding: 1.4rem; }
.card h3 { margin: 0 0 .6rem; }
.card p:last-child { margin-bottom: 0; }
.card-link { color: var(--plum-2); font-weight: 700; text-underline-offset: .22em; }
.surface { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.band { background: var(--plum-deep); color: #fff8ec; }
.band .eyebrow, .band .muted { color: #ebcfe0; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

@media (max-width: 900px) {
  .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .container, .narrow { width: min(calc(100% - 1.25rem), var(--max)); }
  h1 { font-size: clamp(2.55rem, 14vw, 4.2rem); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
