/* Articles: a quiet reading page on the brand's paper ground. Same fonts,
   bar and colors as the homepage, none of its scroll machinery. */
@font-face { font-family: "DM Serif Display"; src: url(/assets/fonts/DMSerifDisplay-latin.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(/assets/fonts/DMSans-latin.woff2) format("woff2"); font-weight: 100 1000; font-display: swap; }

:root {
  --brown: #282120; --cream: #FFF6EA; --paper-2: #F4E9D8;
  --ink: #241C1A; --ink-soft: #4F4139; --gold: #6E4005; --gold-lift: #E0A44A;
  --line: rgba(36, 28, 26, .16);
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 3rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.125rem/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; text-decoration-color: color-mix(in oklab, currentColor 45%, transparent); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--gold); color: var(--cream); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--brown); color: var(--cream); padding: .5rem 1rem; }
.skip:focus { top: .75rem; }

/* bar */
.bar { position: sticky; top: 0; z-index: 50; height: 4rem; display: flex; align-items: center; gap: 1.5rem; padding: 0 var(--gutter);
  background: color-mix(in oklab, var(--cream) 92%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar__mark { display: flex; align-items: baseline; gap: .5rem; text-decoration: none; white-space: nowrap; }
.bar__mark b { font: 400 1.4rem/1 var(--serif); }
.bar__mark span { font-size: .8125rem; letter-spacing: .12em; color: var(--ink-soft); }
.bar__nav { display: flex; gap: clamp(1rem, 2.5vw, 2rem); margin-left: auto; }
.bar__nav a { font-size: .9375rem; text-decoration: none; opacity: .82; padding-block: .5rem; border-bottom: 1px solid transparent; }
.bar__nav a:hover, .bar__nav a[aria-current="page"] { opacity: 1; border-bottom-color: currentColor; }
.bar__book { font-size: .9375rem; font-weight: 500; text-decoration: none; white-space: nowrap; background: var(--brown); color: var(--cream); padding: .6rem 1.1rem; border-radius: 2px; }

.wrap { max-width: 46rem; margin: 0 auto; padding: 0 var(--gutter); }

/* article */
.post { padding: clamp(2.5rem, 7vw, 5rem) 0 3rem; }
.post__meta { font-size: .9375rem; color: var(--ink-soft); margin: 0 0 1rem; }
.post h1 { font: 400 clamp(2.1rem, 1.4rem + 3vw, 3.4rem)/1.08 var(--serif); letter-spacing: -.01em; margin: 0; text-wrap: balance; }
.post__by { margin: 1rem 0 2.5rem; color: var(--ink-soft); font-size: 1rem; }
.post__body p, .post__body ul, .post__body ol, .post__body blockquote, .post__body figure { margin: 1.1em 0 0; }
.post__body > :first-child { margin-top: 0; }
.post__body p { text-wrap: pretty; }
.post__body h2 { font: 400 clamp(1.55rem, 1.2rem + 1.3vw, 2rem)/1.15 var(--serif); margin: 2.2em 0 .5em; text-wrap: balance; }
.post__body h3 { font: 600 1.2rem/1.3 var(--sans); margin: 1.8em 0 .4em; }
.post__body h2 + *, .post__body h3 + * { margin-top: .4em; }
.post__body ul, .post__body ol { padding-left: 1.3em; }
.post__body li + li { margin-top: .4em; }
.post__body li > p { margin: 0; }
.post__body strong { font-weight: 600; }
.post__body blockquote { margin: 1.5em 0; padding: .25em 0 .25em 1.25em; border-left: 2px solid var(--gold); color: var(--ink-soft); }
.post__body hr { border: 0; height: 1px; background: var(--line); margin: 2.5em 0; }
.post__body img { margin: 1.5em auto; border-radius: 2px; }
.post__body figure { margin: 1.5em 0; }
.post__body figcaption { font-size: .9rem; color: var(--ink-soft); margin-top: .5em; }
.post__body sup { font-size: .7em; line-height: 0; }
.post__body a { color: var(--gold); word-break: break-word; }

/* next step */
.next { margin-top: 3.5rem; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--brown); color: var(--cream); border-radius: 3px; }
.next h2 { font: 400 clamp(1.5rem, 1.2rem + 1.2vw, 2rem)/1.15 var(--serif); margin: 0 0 .5rem; color: #fff; }
.next p { margin: 0; color: #D6C8B5; }
.next__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.25rem !important; }
.btn { display: inline-block; font-weight: 500; text-decoration: none; background: var(--gold-lift); color: var(--brown); padding: .85rem 1.3rem; border-radius: 2px; }
.next .next__alt { color: #fff; }
.next__alt { font-weight: 500; }

/* index */
.index__head { padding: clamp(2.5rem, 7vw, 5rem) 0 1.5rem; }
.index__head h1 { font: 400 clamp(2.4rem, 1.6rem + 3vw, 3.6rem)/1.05 var(--serif); margin: 0 0 1rem; }
.index__head p { margin: 0 0 .75rem; color: var(--ink-soft); max-width: 40rem; }
.index__head .next__alt { color: var(--gold); }
.find { display: block; margin: 1rem 0 2rem; }
.find input { width: 100%; font: inherit; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 2px; background: #fff; color: var(--ink); }
.year h2 { font: 400 1.6rem/1 var(--serif); margin: 2.5rem 0 .5rem; color: var(--gold); }
.list { list-style: none; margin: 0; padding: 0; }
.list li { border-top: 1px solid var(--line); }
.list li:last-child { border-bottom: 1px solid var(--line); }
.list a { display: block; padding: 1.1rem 0; text-decoration: none; }
.list__title { display: block; font: 400 1.3rem/1.25 var(--serif); }
.list a:hover .list__title { text-decoration: underline; text-underline-offset: .15em; text-decoration-thickness: 1px; }
.list__desc { display: block; margin-top: .35rem; color: var(--ink-soft); font-size: 1rem; line-height: 1.55; }
.list__meta { display: block; margin-top: .35rem; font-size: .875rem; color: var(--ink-soft); }
.find__none { color: var(--ink-soft); }

/* footer */
.foot { margin-top: 4rem; background: var(--brown); color: #D6C8B5; padding: 2.5rem 0; font-size: .9375rem; }
.foot a { color: #fff; }
.foot__line { margin: 0 0 .75rem; color: #fff; }
.foot__links { margin: 0 0 1.5rem; }
.foot__disclose { font-size: .8125rem; line-height: 1.6; color: #CBBBA6; }
.foot__disclose p { margin: 0 0 .75rem; }

@media (max-width: 760px) {
  body { font-size: 1.0625rem; }
  .bar { height: 3.5rem; gap: .75rem; }
  .bar__nav { display: none; }
  .bar__mark span { display: none; }
  .bar__book { margin-left: auto; padding: .55rem .8rem; font-size: .875rem; }
}
