@font-face { font-family: 'Atkinson'; src: url('../studio/fonts/AtkinsonHyperlegible-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Atkinson'; src: url('../studio/fonts/AtkinsonHyperlegible-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

:root {
  --paper: #f5f2ea;
  --sheet: #fffdf8;
  --ink: #17150f;
  --ink-2: #4a463c;
  --rule: #d9d3c4;
  --mark: #b8361e;
  --mark-ink: #fff;
  --ok: #2f6b3a;
  --r: 6px;
  --wrap: 1080px;
  --f: 'Atkinson', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--f); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--mark); }
:focus-visible { outline: 3px solid var(--mark); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(34px, 6vw, 60px); }
h2 { font-size: clamp(26px, 3.6vw, 38px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--sheet); padding: 8px 12px; z-index: 10; }

/* Header and footer */
.top { border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { font-weight: 700; font-size: 20px; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.logo svg { width: 26px; height: 26px; }
.top nav { display: flex; gap: 18px; align-items: center; font-size: 15px; }
.top nav a { text-decoration: none; }
.foot { border-top: 1px solid var(--rule); margin-top: 72px; padding: 28px 0 40px; font-size: 14px; color: var(--ink-2); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.foot a { color: var(--ink-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r);
  font: 700 16px var(--f); text-decoration: none; border: 2px solid var(--ink); background: var(--ink); color: var(--paper); cursor: pointer; }
.btn:hover { background: var(--mark); border-color: var(--mark); color: var(--mark-ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; pointer-events: none; }
.small { font-size: 14px; color: var(--ink-2); }

/* Crop marks: the visual signature, a sheet ready for the printer */
.sheet { position: relative; background: var(--sheet); border: 1px solid var(--rule); border-radius: 2px; }
.crop::before, .crop::after { content: ''; position: absolute; width: 18px; height: 18px; pointer-events: none; }
.crop::before { top: -10px; left: -10px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.crop::after { bottom: -10px; right: -10px; border-left: 1px solid var(--ink); border-top: 1px solid var(--ink); }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .top nav .hide-s { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
