/* Ver Dura Creations. Paper, near-black ink, red accents. No rounded corners, one theme. */
@font-face { font-family: 'Humanist 521'; src: url('assets/fonts/humanist521-light.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Humanist 521'; src: url('assets/fonts/humanist521-regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Humanist 521'; src: url('assets/fonts/humanist521-bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Vollkorn'; src: url('assets/fonts/vollkorn-latin-wght-normal.woff2') format('woff2'); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Vollkorn'; src: url('assets/fonts/vollkorn-latin-wght-italic.woff2') format('woff2'); font-weight: 400 900; font-style: italic; font-display: swap; }

:root {
  --paper: #f8f6ee;
  --ink: #1c1b19;
  --soft: #5d5a54;
  --rule: #d9d5c8;
  --red: #b60000;
  --heading: 'Humanist 521', 'Gill Sans', 'Gill Sans MT', Calibri, sans-serif;
  --text: 'Vollkorn', Georgia, 'Times New Roman', serif;
  --measure: 46rem;
  --page: 66rem;
}
* { box-sizing: border-box; border-radius: 0; }
html { color-scheme: light; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 1.1875rem/1.45 var(--text); letter-spacing: -0.004em; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--page); margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: var(--measure); margin-left: auto; margin-right: auto; }

/* The top line: the logo, and the way round the page. */
.top { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-top: 1.25rem; padding-bottom: 1.25rem; }
.top img { height: 2.75rem; width: auto; }
.top nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; font: 400 1.1875rem/1.1 var(--heading); }
.top nav a { text-decoration: none; }

/* The headline, large, with a word or two in red. */
.hero { padding-top: 4.5rem; padding-bottom: 3rem; text-align: center; }
.hero h1 { margin: 0; font: 400 clamp(2.6rem, 8.2vw, 6.6rem)/0.98 var(--heading); letter-spacing: -0.035em; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--red); }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem 1.5rem; margin: 2.5rem 0 0; padding: 0; list-style: none; font: 400 1.1875rem/1.3 var(--heading); }

/* The opening paragraph, with a red first letter. */
.lead { font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.4; letter-spacing: -0.008em; margin: 1rem 0 0; }
.lead::first-letter { float: left; font-size: 3.1em; line-height: 0.82; padding: 0.06em 0.08em 0 0; color: var(--red); font-weight: 500; }

main > section.wrap { margin-top: 5rem; }
h2 { margin: 0 0 1.5rem; font: 400 clamp(1.9rem, 4.4vw, 3rem)/1.05 var(--heading); letter-spacing: -0.025em; }
h2 em, h3 em { font-style: normal; color: var(--red); }
h3 { margin: 0; font: 400 1.9rem/1.1 var(--heading); letter-spacing: -0.02em; }
p { margin: 0 0 1rem; }

/* A product: its picture, and what it is. */
.product { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2rem 2.5rem; align-items: start; border-top: 1px solid var(--ink); padding-top: 1.5rem; }
.product figure { margin: 0; border: 1px solid var(--rule); background: #fff; }
.product .mark { height: 3.25rem; width: auto; margin-bottom: 1.25rem; }
.button { display: inline-block; margin-top: 0.5rem; padding: 0.7rem 1.4rem 0.75rem; background: var(--red); color: #fff; font: 400 1.25rem/1 var(--heading); text-decoration: none; border: 1px solid var(--red); }
.button:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.button.quiet { background: transparent; color: var(--ink); border-color: var(--ink); }
.button.quiet:hover { background: var(--ink); color: #fff; }


footer { margin-top: 5rem; padding: 1.75rem 0 2.5rem; border-top: 1px solid var(--rule); font: 400 0.9375rem/1.5 var(--heading); color: var(--soft); text-align: center; }
/* Who is behind it, and how to write: small, above the last line. */
footer .about { max-width: 40rem; margin: 0 auto 1.25rem; }
footer .about p { margin: 0 0 0.35rem; }
footer a, footer button { color: inherit; }
footer button { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
footer button:hover { color: var(--red); }
footer span[hidden] { display: none; }
footer span:not([hidden]) ~ span:not([hidden])::before { content: ' ¶ '; color: var(--red); }

/* The cookie question: a bar along the bottom, shown only until answered. */
.cookies { position: fixed; inset: auto 0 0 0; z-index: 10; background: var(--ink); color: var(--paper); padding: 1.1rem 0; font: 400 1.0625rem/1.4 var(--heading); }
.cookies[hidden] { display: none; }
.cookies .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.cookies p { margin: 0; max-width: 44rem; }
.cookies a { color: inherit; }
.cookies .choices { display: flex; gap: 0.75rem; }
.cookies button { font: 400 1.0625rem/1 var(--heading); padding: 0.6rem 1.1rem 0.65rem; cursor: pointer; border: 1px solid var(--paper); background: transparent; color: var(--paper); }
.cookies button.yes { background: var(--paper); color: var(--ink); }
.cookies button:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* The privacy page: plain reading. */
.doc h1 { margin: 3rem 0 0.5rem; font: 400 clamp(2.4rem, 6vw, 4rem)/1 var(--heading); letter-spacing: -0.03em; }
.doc h2 { margin: 2.5rem 0 0.75rem; font-size: 1.75rem; }
.doc .date { color: var(--soft); font: 400 1.0625rem/1.4 var(--heading); }
.doc ul { padding-left: 1.2rem; }
.doc li { margin-bottom: 0.4rem; }
.doc table { border-collapse: collapse; width: 100%; font-size: 1.0625rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 0.5rem 1rem 0.5rem 0; border-top: 1px solid var(--rule); }
.doc th { font: 400 1rem/1.4 var(--heading); color: var(--soft); }

@media (max-width: 760px) {
  body { font-size: 1.125rem; }
  .top { flex-direction: column; align-items: flex-start; gap: 0.9rem; }
  .hero { padding-top: 2.75rem; padding-bottom: 2rem; text-align: left; }
  main > section.wrap { margin-top: 3.5rem; }
  .facts { justify-content: flex-start; }
  .product { grid-template-columns: 1fr; }
  footer span:not([hidden]) { display: block; }
  footer span:not([hidden]) ~ span:not([hidden])::before { content: none; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
