/* b.akery editorial site. The Docket remains the source of stocks, inks and type. */
@import url("/assets/tokens.css");
@font-face {
  font-family: Archivo;
  src: url(/assets/fonts/archivo.woff2) format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Archivo Black";
  src: url(/assets/fonts/archivo-black.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Courier Prime";
  src: url(/assets/fonts/courier-prime.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Courier Prime";
  src: url(/assets/fonts/courier-prime-bold.woff2) format("woff2");
  font-weight: 700;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 2rem;
}
body {
  margin: 0;
  background: var(--bench);
  color: var(--ink-body);
  font: 17px/1.6 var(--font-body);
  background-image:
    radial-gradient(circle at 17% 32%, var(--fleck-a) 0.6px, transparent 0.7px),
    radial-gradient(circle at 62% 71%, var(--fleck-b) 0.5px, transparent 0.6px);
  background-size:
    37px 41px,
    53px 47px;
}
.wrap {
  max-width: var(--page);
  margin: auto;
  padding-inline: var(--pad);
}
h1,
h2,
h3 {
  font-family: var(--font-stamp);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin: 0;
}
h1 {
  font-size: clamp(2.7rem, 6.8vw, 5.4rem);
  line-height: 1.01;
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  line-height: 1.1;
}
h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.15;
}
p {
  margin: 0;
}
p + p {
  margin-top: 1rem;
}
a {
  color: var(--owner);
  text-underline-offset: 0.2em;
}
a:hover {
  text-decoration-thickness: 2px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
img {
  max-width: 100%;
  height: auto;
}
::selection {
  background: var(--cta);
  color: var(--cta-ink);
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 50;
  background: var(--sheet-card);
  padding: 1rem;
}
.skip:focus {
  left: var(--pad);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cta);
  text-decoration: none;
  flex-shrink: 0;
}
.wordmark-image {
  display: block;
  width: 6rem;
  aspect-ratio: 3857/936;
  background: currentColor;
  -webkit-mask: url("/assets/wordmark.svg") center/contain no-repeat;
  mask: url("/assets/wordmark.svg") center/contain no-repeat;
}
.site-header .wordmark::before {
  content: "";
  width: 32px;
  height: 32px;
  background: currentColor;
  -webkit-mask: url("/assets/boule.svg") center/contain no-repeat;
  mask: url("/assets/boule.svg") center/contain no-repeat;
}
.site-header {
  border-bottom: 1px solid var(--ink-line);
}
.site-header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1rem;
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.5rem;
  flex-wrap: wrap;
}
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.93rem;
  color: var(--ink);
  text-decoration: none;
}
.nav a:hover,
.nav a[aria-current="page"] {
  text-decoration: underline;
}
.nav .subscribe-link {
  border-bottom: 2px solid var(--cta);
  color: var(--cta);
}
.hero {
  background: var(--stock-scorch);
  color: var(--on-scorch-body);
}
.hero .wrap {
  padding-block: clamp(3.3rem, 7vw, 6rem);
}
.hero h1 {
  max-width: 17ch;
  color: var(--on-scorch);
}
.hero-body {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3rem;
  margin-top: 2.2rem;
  align-items: end;
}
.hero .lede {
  max-width: 48ch;
  color: var(--on-scorch-lede);
  font-size: 1.16rem;
}
.hero .audience {
  font-size: 0.9rem;
  color: var(--on-scorch-dim);
  margin-top: 1rem;
}
.hero-actions {
  display: grid;
  justify-items: start;
  gap: 1.1rem;
}
.hero a {
  color: var(--on-scorch);
}
.hero .btn-solid {
  background: var(--ditto-lit);
  color: var(--stock-scorch);
  border-color: var(--ditto-lit);
}
.hero :focus-visible {
  outline-color: var(--ditto-lit);
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  border: 1.5px solid var(--ink);
  font: 700 0.94rem var(--font-body);
  text-decoration: none;
  background: transparent;
  color: var(--ink);
}
.btn:hover {
  box-shadow: var(--lift);
  text-decoration: underline;
}
.btn-solid {
  background: var(--cta);
  color: var(--cta-ink);
  border-color: var(--cta);
}
.btn:disabled {
  cursor: wait;
  opacity: 0.65;
}
.text-link {
  font-weight: 700;
}
.cta-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.section {
  padding-block: clamp(3rem, 6vw, 5rem);
}
.section + .section {
  border-top: 1px solid var(--ink-line);
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 5rem);
}
.prose {
  max-width: var(--measure);
}
.prose h2 {
  margin-bottom: 1.3rem;
}
.prose h3 {
  margin-block: 2rem 0.7rem;
}
.lede {
  font-size: 1.2rem;
  line-height: 1.5;
  max-width: 55ch;
}
.principle {
  font-weight: 700;
  color: var(--ink);
}
.bridge h2 {
  max-width: 13ch;
}
.bridge p {
  max-width: 58ch;
}
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.section-heading p {
  max-width: 48ch;
}
.investigations {
  margin: 0;
  padding: 0;
  list-style: none;
}
.investigations li {
  padding-block: 1.6rem;
  border-top: 1px solid var(--ink-line);
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1rem, 6vw, 5rem);
}
.investigations h3 {
  max-width: 22ch;
}
.investigations p {
  max-width: 58ch;
}
.writing-section {
  background: var(--sheet-card);
}
.essay-list {
  display: grid;
  gap: 2rem;
}
.essay {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.essay + .essay {
  padding-top: 2rem;
  border-top: 1px solid var(--ink-line);
}
.essay-art {
  display: block;
  padding: 1.5rem 0.25rem;
}
.essay-art img {
  display: block;
  width: 100%;
  max-height: 230px;
  object-fit: contain;
}
.essay time,
.essay-meta {
  display: block;
  font: 0.83rem var(--font-measure);
  color: var(--ink-muted);
  margin-bottom: 0.8rem;
}
.essay h3 {
  margin-bottom: 1rem;
}
.essay h3 a {
  color: var(--ink);
  text-decoration: none;
}
.essay h3 a:hover {
  text-decoration: underline;
}
.essay p {
  max-width: 57ch;
}
.essay .text-link {
  display: inline-block;
  margin-top: 1.2rem;
}
.publication-note {
  margin-top: 2rem;
  font-size: 0.92rem;
  color: var(--ink-muted);
}
.about h2 {
  max-width: 15ch;
}
.about p {
  max-width: 58ch;
}
.invitation {
  background: var(--stock-owner);
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
}
.invitation h2 {
  max-width: 18ch;
}
.invitation p {
  max-width: 53ch;
}
.invitation .btn {
  margin-top: 1.5rem;
}
.page-intro {
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
}
.page-intro h1 {
  max-width: 17ch;
  margin-bottom: 1.5rem;
}
.page-intro .lede {
  max-width: 60ch;
}
.page-content {
  padding-block: 1rem 4rem;
}
.page-content .prose {
  max-width: var(--measure);
}
.privacy-body section + section {
  margin-top: 2.5rem;
}
.privacy-body h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.privacy-body .updated {
  font: 0.85rem var(--font-measure);
  margin-bottom: 2rem;
  color: var(--ink-muted);
}
.testing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.testing-notes h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.testing-notes p + p {
  margin-top: 1rem;
}
.testing-form {
  background: var(--sheet-card);
  border: 1px solid var(--ink-line);
  padding: clamp(1.25rem, 4vw, 2.5rem);
}
.field {
  margin-bottom: 1.3rem;
}
.field label {
  display: block;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.optional {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--ink-muted);
}
input,
select,
textarea {
  color: var(--ink);
  background: var(--bench);
  border: 1px solid var(--ink-line);
  border-radius: 0;
}
input[type="email"],
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.8rem;
}
textarea {
  min-height: 130px;
  resize: vertical;
}
.field-hint {
  font-size: 0.88rem;
  margin-top: 0.4rem;
  color: var(--ink-muted);
}
.consent-check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.75rem;
  align-items: start;
  margin-block: 1.5rem;
}
.consent-check input {
  width: 20px;
  height: 20px;
  margin: 0.15rem 0;
  accent-color: var(--cta);
}
.consent-check span {
  font-size: 0.94rem;
}
.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  margin-top: 1.2rem;
  color: var(--ink);
  font-weight: 700;
}
.form-status:empty {
  display: none;
}
.form-status[data-error="true"] {
  color: var(--leak);
}
.form-note {
  font-size: 0.85rem;
  margin-top: 1rem;
  color: var(--ink-muted);
}
.site-footer {
  border-top: 1px solid var(--ink-line);
}
.site-footer .wrap {
  padding-block: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-navigation {
  display: grid;
  gap: 0.25rem;
}
.footer-navigation .footer-links {
  justify-content: flex-end;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.3rem;
  font-size: 0.88rem;
  max-width: 45rem;
}
.footer-links a,
.footer-links button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.footer-note {
  color: var(--ink-muted);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}
@media (max-width: 760px) {
  .footer-navigation .footer-links {
    justify-content: flex-start;
  }
  .hero-body,
  .split,
  .essay,
  .testing-layout {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .hero h1 {
    max-width: 16ch;
  }
  .hero-actions {
    gap: 1rem;
  }
  .hero-body {
    margin-top: 1.7rem;
  }
  .investigations li {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .section-heading {
    gap: 1rem;
  }
  .essay-art {
    max-width: 420px;
    padding: 0;
  }
  .about h2,
  .bridge h2 {
    max-width: 18ch;
  }
  .testing-notes {
    max-width: 55ch;
  }
  .nav {
    gap: 0.2rem 1rem;
  }
  .nav a {
    font-size: 0.86rem;
  }
}
@media (max-width: 480px) {
  .site-header .wrap {
    gap: 0.4rem;
    align-items: center;
  }
  .nav {
    width: 100%;
    justify-content: space-between;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-actions {
    justify-items: stretch;
  }
  .hero-actions .text-link {
    text-align: center;
  }
  .hero .lede {
    font-size: 1.08rem;
  }
  .footer-links {
    gap: 0.2rem 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* ---------- ANALYTICS CONSENT ----------
   Shown only where prior consent is required (EEA/UK). Quiet opt-out regions
   use Global Privacy Control and the footer preference control instead.
   Built by that script rather than sitting in four page sources.

   Not a dark pattern: the two buttons are the same size and weight, so neither
   choice is visually cheaper than the other. Declining is not styled as a
   retreat. */
.analytics-consent {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 40;
  background: var(--stock-oven);
  border-top: 3px solid var(--claim);
  box-shadow: var(--lift-high);
}
.analytics-consent-inner {
  display: flex;
  gap: 1.4rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-block: 1rem;
}
.analytics-consent-copy {
  flex: 1 1 30ch;
}
.analytics-consent-title {
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.25rem;
}
.analytics-consent-body {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-body);
  max-width: 62ch;
}
.analytics-consent-actions {
  display: flex;
  gap: 0.7rem;
  flex: 0 0 auto;
}
.consent-btn {
  font: inherit;
  font-size: 0.88rem;
  padding: 0.55rem 1.15rem;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.consent-btn:hover {
  border-color: var(--claim);
}
.consent-btn:focus-visible {
  outline: 3px solid var(--owner);
  outline-offset: 2px;
}
@media (max-width: 40rem) {
  .analytics-consent-actions {
    width: 100%;
  }
  .consent-btn {
    flex: 1 1 0;
  }
}

/* A button that must read as a link: the consent re-open control sits inside a
   sentence of footer links, so it has to match them rather than announce itself
   as a control. Keeping it a <button> is the accessibility half of that. */
.linkish {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  text-decoration: underline;
  cursor: pointer;
}
.linkish:focus-visible {
  outline: 3px solid var(--owner);
  outline-offset: 2px;
}
