@font-face { font-family: "Old Standard"; src: url(fonts/oldstandard.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Old Standard"; src: url(fonts/oldstandard-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Old Standard"; src: url(fonts/oldstandard-bold.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: Gelasio; src: url(fonts/gelasio.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: Gelasio; src: url(fonts/gelasio-italic.woff2) format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  --paper: #f6efe3;
  --paper-wash: #ece0cb;
  --paper-raised: #fbf7ef;
  --ink: #120c06;
  --text: #2a2016;
  --muted: #66543f;
  --rule: #cdb99a;
  --accent: #8b2e1f;
  --accent-deep: #6f2317;
  --on-accent: #fbf5ea;
  --focus: #120c06;
  --night: #18120b;
  --night-text: #f3eadb;

  --font-title: "Old Standard", Gelasio, serif;
  --font-body: Gelasio, serif;
  --font-tag: system-ui, sans-serif;

  --step--1: .9375rem;
  --step-0: clamp(1.0625rem, 1rem + .25vw, 1.1875rem);
  --step-1: clamp(1.1875rem, 1.1rem + .4vw, 1.375rem);
  --step-2: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  --step-3: clamp(1.9rem, 1.4rem + 2.2vw, 3rem);
  --step-4: clamp(2.6rem, 1.5rem + 4.8vw, 5.4rem);

  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: clamp(4.5rem, 3rem + 5vw, 8rem);
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --measure: 34rem;
  --wide: 70rem;

  --radius: .375rem;
  --radius-pill: 999px;
  --shadow-button: 0 1px 1px rgba(60, 30, 10, .2), 0 8px 20px -8px rgba(90, 40, 20, .55);

  --paper-grain: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .35 0 0 0 0 .25 0 0 0 0 .12 0 0 0 .5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23g)' opacity='.14'/></svg>");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper) var(--paper-grain); color: var(--text); font: var(--step-0)/1.6 var(--font-body); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); text-underline-offset: .18em; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
h1, h2, h3 { color: var(--ink); font-family: var(--font-title); font-weight: 400; margin: 0; text-wrap: balance; }
p { margin: 0 0 var(--space-2); }

.play { display: inline-flex; align-items: center; gap: .65em; min-height: 3.5rem; padding: .8rem 2rem .8rem 1.6rem; border-radius: var(--radius-pill); background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-button); font: 600 var(--step-1)/1.2 var(--font-body); text-decoration: none; transition: background .2s; }
.play:hover { background: var(--accent-deep); }
.play svg { width: .8em; height: .8em; flex: none; }
.ornament { display: block; width: 7rem; height: .9rem; margin: 0 auto var(--space-2); color: var(--rule); }

.footer { margin-top: var(--space-6); color: var(--muted); font-size: var(--step--1); text-align: center; }
.footer ul { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem 2rem; margin: 0; padding: 0 var(--gutter); list-style: none; }
.footer a { padding-block: .85rem; color: var(--text); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
