/* The design system itself: base styles and the components a product adopts.
   Every value is a custom property from tokens.css, which the build writes
   from tokens.json. Documentation chrome lives in viewer.css.

   Ported from sevenorganics.farm (Shopify, theme Cornerstone by Fluorescent),
   measured from the 2026-11-12 capture at 1440px and 390px. Mobile first;
   breakpoints are the theme's own (observed in its CSS): 30rem (480px),
   45rem (720px), 60rem (960px), 64rem (1024px). */

/* ---- typefaces ---- */
/* Newsreader (Production Type) and Assistant (Adobe, Ben Nathan), both SIL OFL.
   The files are the ones sevenorganics.farm serves from the Shopify font
   library: Newsreader 300, 300 italic and 600; Assistant 400 and 700. */
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/Newsreader-300.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 300; font-display: swap; src: url("/assets/fonts/Newsreader-300italic.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/Newsreader-600.woff2") format("woff2"); }
@font-face { font-family: "Assistant"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/Assistant-400.woff2") format("woff2"); }
@font-face { font-family: "Assistant"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/Assistant-700.woff2") format("woff2"); }

/* ---- base ---- */
*, *::before, *::after { box-sizing: border-box; }

html { color-scheme: light; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--color-canvas);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: var(--type-body);
  line-height: var(--leading-body);
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
code, pre { font-family: var(--font-mono); font-size: 0.85em; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

/* The website root: a design's <body class="site">, or any wrapper that should
   read as the site (the guidance previews use it). Element defaults live here
   so the documentation chrome that also loads this file is untouched. */
.site {
  background: var(--color-canvas);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: var(--type-body);
  line-height: var(--leading-body);
  overflow-wrap: break-word;
}
/* :where() keeps these at element weight so any component class wins. */
:where(.site) :is(h1, h2, h3, h4) { margin: 0; font-family: var(--font-serif); font-weight: var(--weight-heading); line-height: var(--leading-heading); }
:where(.site) p { margin: 0; }
:where(.site) :is(p, h1, h2, h3, ul, ol) + p { margin-top: var(--space-4); }
:where(.site) :is(ul, ol) { margin: 0; padding: 0; }
:where(.site) a:hover { color: var(--color-accent); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.site-skip {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  z-index: 30;
  padding: var(--space-2) var(--space-4);
  transform: translateY(-200%);
  background: var(--color-ink);
  color: var(--color-canvas);
  font-weight: var(--weight-strong);
}
.site-skip:focus { transform: none; }

/* ---- type ---- */
/* Headings are Newsreader Light, sentence or title case as the site writes
   them; the size is chosen by role, not by h-level. */
.headline { margin: 0; font-family: var(--font-serif); font-weight: var(--weight-heading); line-height: var(--leading-heading); }
.headline--xl { font-size: var(--type-display); }
.headline--lg { font-size: var(--type-title); }
.headline--md { font-size: var(--type-heading); }
.headline--sm { font-size: var(--type-subhead); line-height: var(--leading-subheading); }
.headline--strong { font-weight: var(--weight-heading-strong); }
.headline--accent { color: var(--color-accent); }

.subhead { margin: var(--space-1) 0 0; font-family: var(--font-serif); font-size: var(--type-subhead); font-weight: var(--weight-heading); line-height: var(--leading-subheading); }

/* Small uppercase label over a heading, with the short rule under it
   ("PREMIUM PROTEINS", "SONOMA COUNTY, CALIFORNIA"). */
.kicker {
  display: inline-block;
  margin: 0 0 var(--space-2);
  padding-bottom: var(--space-1);
  border-bottom: var(--size-line) solid currentColor;
  font-family: var(--font-sans);
  font-size: var(--type-label);
  font-weight: var(--weight-body);
  letter-spacing: var(--tracking-button);
  line-height: var(--leading-button);
  text-transform: uppercase;
}
.kicker--plain { padding-bottom: 0; border-bottom: 0; font-weight: var(--weight-strong); letter-spacing: 0.12em; }

.text-link { color: var(--color-accent); text-decoration: underline; text-underline-offset: 0.2em; }
.text-link:hover { color: var(--color-accent-strong); }
.scheme--olive .text-link { color: var(--color-accent-ink); }

/* ---- button ---- */
/* Square, 44px, Assistant Bold uppercase with .04em tracking (observed on
   every theme button). Primary is olive with cream text. */
.button {
  display: inline-flex;
  min-height: var(--size-input);
  align-items: center;
  justify-content: center;
  padding: var(--space-2) var(--space-6);
  border: var(--size-line) solid var(--color-accent);
  border-radius: var(--radius-sm);
  background: var(--color-accent);
  color: var(--color-accent-ink);
  font-family: var(--font-sans);
  font-size: var(--type-button);
  font-weight: var(--weight-strong);
  letter-spacing: var(--tracking-button);
  line-height: var(--leading-button);
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--motion-fast) var(--motion-ease), border-color var(--motion-fast) var(--motion-ease), color var(--motion-fast) var(--motion-ease);
}
.button:hover, .site a.button:hover { border-color: var(--color-accent-strong); background: var(--color-accent-strong); color: var(--color-accent-ink); }

/* Outline: olive line and label on a light ground. */
.button--secondary { background: transparent; color: var(--color-accent); }
.button--secondary:hover, .site a.button--secondary:hover { background: var(--color-accent); color: var(--color-accent-ink); }

/* On the olive ground the button turns cream with olive text (footer
   SUBSCRIBE, the feeding page's contact band). */
.button--inverse { border-color: var(--color-accent-ink); background: var(--color-accent-ink); color: var(--color-accent); }
.button--inverse:hover, .site a.button--inverse:hover { border-color: var(--color-accent-soft); background: var(--color-accent-soft); color: var(--color-accent-strong); }

.button--block { display: flex; width: 100%; }
.button-row { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin-top: var(--space-6); }

/* ---- badge ---- */
.badge {
  display: inline-block;
  padding: var(--space-1) var(--space-2);
  background: var(--color-accent-soft);
  color: var(--color-ink);
  font-size: var(--type-label);
  font-weight: var(--weight-strong);
  letter-spacing: var(--tracking-button);
  line-height: var(--leading-button);
  text-transform: uppercase;
}
.badge--olive { background: var(--color-accent); color: var(--color-accent-ink); }
.badge--quiet { background: transparent; color: var(--color-muted); font-weight: var(--weight-body); letter-spacing: 0; text-transform: none; font-size: var(--type-small); }

/* ---- icon ---- */
/* Thin outline icons, 24px, drawn in currentColor. */
.icon { width: var(--space-6); height: var(--space-6); flex: none; }
.icon--sm { width: var(--space-4); height: var(--space-4); }
.icon--lg { width: var(--space-8); height: var(--space-8); }

.icon-button {
  display: inline-flex;
  min-width: var(--size-input);
  min-height: var(--size-input);
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

/* ---- field ---- */
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field label { font-size: var(--type-body); font-weight: var(--weight-body); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: var(--size-input);
  padding: var(--space-2) var(--space-3);
  border: var(--size-line) solid color-mix(in srgb, var(--color-accent) 40%, transparent);
  border-radius: var(--radius-sm);
  background: var(--color-canvas);
  color: var(--color-accent);
}
.field textarea { min-height: calc(var(--size-input) * 3.5); resize: vertical; }
.field select {
  appearance: none;
  padding-right: var(--space-10);
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - var(--space-5)) 50%, calc(100% - var(--space-4)) 50%;
  background-size: var(--space-1) var(--space-1), var(--space-1) var(--space-1);
  background-repeat: no-repeat;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--color-accent); outline: 2px solid var(--color-accent); outline-offset: 0; }
.field small { color: var(--color-muted); font-size: var(--type-small); }

/* On the olive ground (footer newsletter). */
.field--inverse input { border-color: color-mix(in srgb, var(--color-accent-ink) 70%, transparent); background: transparent; color: var(--color-accent-ink); }
.field--inverse input::placeholder { color: color-mix(in srgb, var(--color-accent-ink) 80%, transparent); }
.field--inverse input:focus { border-color: var(--color-accent-ink); outline-color: var(--color-accent-ink); }

/* A checkbox with its long label beside it (contact SMS consent). */
.check { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); align-items: start; font-size: var(--type-body); }
.check input {
  width: var(--space-4);
  height: var(--space-4);
  margin: var(--space-1) 0 0;
  accent-color: var(--color-accent);
}

/* ---- form ---- */
.form { display: grid; gap: var(--space-5); }
.form__row { display: grid; gap: var(--space-5); }
.form__fine { color: var(--color-muted); font-size: var(--type-small); }
.form__links { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3); }
@media (min-width: 45rem) {
  .form__row { grid-template-columns: 1fr 1fr; }
}

/* ---- notice ---- */
.notice {
  padding: var(--space-5) var(--space-6);
  border: var(--size-line) solid var(--color-line);
  border-left: calc(var(--size-line) * 3) solid var(--color-accent);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-ink);
}
.notice__title { margin: 0 0 var(--space-2); font-family: var(--font-serif); font-size: var(--type-subhead); font-weight: var(--weight-heading); line-height: var(--leading-subheading); }
.notice--success { border-left-color: var(--color-success); }

/* ---- page frame ---- */
/* .wrap holds a band's content to the theme's 1800px page width inside the
   outer gutter; the narrower measures are for text columns. */
.wrap { width: 100%; max-width: var(--size-site); margin-inline: auto; padding-inline: var(--size-gutter); }
.wrap--narrow { max-width: calc(var(--size-narrow) + 2 * var(--size-gutter)); }
.wrap--measure { max-width: calc(var(--size-measure) + 2 * var(--size-gutter)); }
.wrap--form { max-width: calc(var(--size-form) + 2 * var(--size-gutter)); }
.wrap--flush { padding-inline: 0; }

/* A band of the page. The default rhythm is the theme's 40px rich-text
   padding (observed); tight is the 12px of a heading that sits on the next
   band, loose the 64px of the feeding page's custom sections. */
.section { padding-block: var(--space-10); }
.section--tight { padding-block: var(--space-3); }
.section--snug { padding-block: var(--space-8); }
.section--loose { padding-block: var(--space-12); }
.section--flush { padding-block: 0; }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }
@media (min-width: 60rem) {
  .section--loose { padding-block: var(--space-16); }
}

/* Color schemes: every ground names its ink. */
.scheme--cream { background: var(--color-canvas); color: var(--color-ink); }
.scheme--cream-olive { background: var(--color-canvas); color: var(--color-accent); }
.scheme--surface { background: var(--color-surface); color: var(--color-ink); }
.scheme--olive { background: var(--color-ink-ground); color: var(--color-ink-ground-text); }
.scheme--olive .button { border-color: var(--color-accent-ink); background: var(--color-accent-ink); color: var(--color-accent); }

/* ---- announcement bar ---- */
.announcement { background: var(--color-ink-ground); color: var(--color-ink-ground-text); }
.announcement__inner {
  display: flex;
  min-height: var(--size-announcement);
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding-block: var(--space-1);
}
.announcement__link {
  font-size: var(--type-label);
  font-weight: var(--weight-strong);
  line-height: var(--leading-button);
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-transform: uppercase;
}
.site .announcement__link:hover { color: var(--color-accent-soft); }
.announcement .announcement__social { display: none; }
@media (min-width: 60rem) {
  .announcement__inner { justify-content: space-between; }
  .announcement .announcement__social { display: flex; }
}

.social { display: flex; flex-wrap: wrap; gap: var(--space-1); margin: 0; padding: 0; list-style: none; }
.social a { display: inline-flex; min-width: var(--size-input); min-height: var(--size-input); align-items: center; justify-content: center; color: inherit; }
.social a:hover { opacity: 0.8; }
.social .icon { width: var(--space-5); height: var(--space-5); }
.announcement .social a { min-width: var(--space-8); min-height: var(--space-8); }
.announcement .social .icon { width: var(--space-4); height: var(--space-4); }

/* ---- site header ---- */
/* Mobile: menu button, centered wordmark, cart. From 64rem the eight links
   sit inline in the centre, Assistant Bold uppercase 16px. */
.site-header { position: relative; z-index: 10; background: var(--color-canvas); color: var(--color-ink); }
.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-4);
  min-height: calc(var(--space-12) + var(--space-1));
}
.site-header__brand { display: inline-flex; justify-self: center; align-items: center; min-height: var(--size-input); }
.site-header__brand img { width: calc(var(--space-20) + var(--space-1)); }
.site-header__toggle { justify-self: start; margin-left: calc(var(--space-3) * -1); }
.site-header__cart { justify-self: end; margin-right: calc(var(--space-3) * -1); }
.site-nav { display: none; }
@media (min-width: 64rem) {
  .site-header__inner { grid-template-columns: auto 1fr auto; min-height: var(--size-header); }
  .site-header__brand { justify-self: start; }
  .site-header__brand img { width: calc(var(--space-25) + var(--space-1)); }
  .site-header__toggle { display: none; }
  .site-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-1) var(--space-7); }
  .site-nav a {
    display: inline-flex;
    min-height: var(--size-input);
    align-items: center;
    font-size: var(--type-nav);
    font-weight: var(--weight-strong);
    text-decoration: none;
    text-transform: uppercase;
  }
  .site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--color-ink); text-decoration: underline; text-underline-offset: 0.3em; }
  .site-nav__keep-case { text-transform: none; }
}
@media (min-width: 64rem) and (max-width: 79.99rem) {
  .site-nav { gap: var(--space-1) var(--space-5); }
  .site-nav a { font-size: var(--type-small); }
}
.site-nav .site-nav__keep-case, .drawer__nav .site-nav__keep-case { text-transform: none; }

/* ---- mobile menu drawer ---- */
/* A modal <dialog> from the left, with the eight links and the brand line
   the theme places under them. */
.drawer {
  width: min(100% - var(--space-12), calc(var(--space-25) * 4));
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--color-canvas);
  color: var(--color-ink);
  box-shadow: var(--shadow-drawer);
}
.drawer::backdrop { background: color-mix(in srgb, var(--color-ink) 60%, transparent); }
.drawer[open] { display: flex; flex-direction: column; animation: drawer-in var(--motion-normal) var(--motion-ease); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: var(--space-2) var(--space-3); border-bottom: var(--size-line) solid var(--color-line); }
.drawer__head img { width: calc(var(--space-20) + var(--space-1)); }
.drawer__nav { display: flex; flex-direction: column; padding: var(--space-4) var(--space-6); }
.drawer__nav a {
  display: flex;
  min-height: calc(var(--size-input) + var(--space-2));
  align-items: center;
  border-bottom: var(--size-line) solid var(--color-line);
  font-weight: var(--weight-strong);
  text-decoration: none;
  text-transform: uppercase;
}
.drawer__nav a[aria-current="page"] { color: var(--color-accent); }
.drawer__note { margin-top: auto; padding: var(--space-6); font-family: var(--font-serif); font-size: var(--type-lead); line-height: var(--leading-subheading); }
.drawer__note p + p { margin-top: 0; }
@keyframes drawer-in { from { transform: translateX(-100%); } to { transform: none; } }

/* ---- site footer ---- */
/* Olive ground, cream ink. Columns from 60rem; below that the link groups
   fold into accordions (site.js opens them all on wide screens). */
.site-footer { background: var(--color-ink-ground); color: var(--color-ink-ground-text); }
.site-footer__inner { padding-block: var(--space-8); }
.site-footer__grid { display: grid; gap: 0; }
.site-footer__brand img { width: calc(var(--space-20)); }
.site-footer__address { margin-top: var(--space-6); font-family: var(--font-serif); font-style: normal; line-height: var(--leading-body); }
.site-footer__brand .social { margin: var(--space-3) 0 var(--space-4) calc(var(--space-3) * -1); }
.site-footer__heading { margin: 0; font-family: var(--font-serif); font-size: var(--type-subhead); font-weight: var(--weight-heading); line-height: var(--leading-subheading); }
.footer-group { border-top: var(--size-line) solid color-mix(in srgb, var(--color-accent-ink) 35%, transparent); }
.footer-group:last-of-type { border-bottom: var(--size-line) solid color-mix(in srgb, var(--color-accent-ink) 35%, transparent); }
.footer-group summary {
  display: flex;
  min-height: calc(var(--size-input) + var(--space-4));
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
}
.footer-group summary::-webkit-details-marker { display: none; }
.footer-group summary::after {
  content: "";
  width: var(--space-3);
  height: var(--space-3);
  margin-right: var(--space-1);
  border-right: calc(var(--size-line) * 1.5) solid currentColor;
  border-bottom: calc(var(--size-line) * 1.5) solid currentColor;
  transform: translateY(-25%) rotate(45deg);
  transition: transform var(--motion-fast) var(--motion-ease);
}
.footer-group[open] summary::after { transform: translateY(25%) rotate(-135deg); }
.footer-links { display: grid; gap: var(--space-1); margin: 0; padding: 0 0 var(--space-5); list-style: none; }
.footer-links a, .footer-links span { display: inline-flex; min-height: var(--space-8); align-items: center; text-decoration: none; }
.site .footer-links a:hover, .site .site-footer__legal a:hover { color: var(--color-accent-ink); text-decoration: underline; }
.site-footer__newsletter { padding-block: var(--space-6) var(--space-2); }
.site-footer__newsletter .site-footer__heading { margin-bottom: var(--space-4); }
.newsletter { display: grid; grid-template-columns: 1fr auto; gap: var(--space-2); margin-top: var(--space-5); }
.newsletter .button { padding-inline: var(--space-5); }
.site-footer__follow { margin-top: var(--space-8); font-family: var(--font-serif); }
.site-footer__follow .social { margin-left: calc(var(--space-3) * -1); }
.site-footer__legal { margin-top: var(--space-10); font-size: var(--type-fine); }
.site-footer__legal a { text-decoration: none; }
@media (min-width: 60rem) {
  .site-footer__inner { padding-block: var(--space-10); }
  .site-footer__grid { grid-template-columns: 1fr 1fr 1.3fr 1fr 1.6fr; gap: var(--space-8); }
  .footer-group, .footer-group:last-of-type { border: 0; }
  .footer-group summary { min-height: 0; margin-bottom: var(--space-4); pointer-events: none; }
  .footer-group summary::after { display: none; }
  .site-footer__newsletter { padding-block: 0; }
  .site-footer__legal { margin-top: var(--space-12); }
}

/* ---- split hero ---- */
/* Image half and text half, full bleed. Text is centered by default (Home,
   Ingredients, Breeders); .split__body--start is the left-aligned variant
   (Farmers). .split--media-narrow gives the image 40% (Farmers, Ingredients). */
.split { display: grid; }
.split__media { margin: 0; }
.split__media img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.split__media--contain img { aspect-ratio: auto; object-fit: contain; }
.split__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--size-gutter) var(--space-10);
  text-align: center;
}
.split__body > * { max-width: var(--size-narrow); }
.split__body .headline { margin-bottom: var(--space-4); }
.split__body .button { margin-top: var(--space-6); }
.split__body--start { align-items: flex-start; text-align: left; }
.split__body--start > * { max-width: none; }
.split__strong { font-weight: var(--weight-strong); }
.split__body--prose > p { text-align: left; }
.split__media--bottom { display: flex; align-items: flex-end; justify-content: center; }
.split__media--bottom img { width: min(100%, 40rem); height: auto; }
.split__body .split__wordmark { margin-top: var(--space-8); }
@media (min-width: 45rem) {
  .split { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .split--media-narrow { grid-template-columns: 2fr 3fr; }
  .split--reverse .split__media { order: 2; }
  .split__body { padding: var(--space-12) var(--space-8); }
  .split { align-items: center; }
  .split__media { align-self: stretch; }
}
@media (min-width: 60rem) {
  .split__body { padding: var(--space-16) var(--size-gutter) var(--space-16) var(--space-10); }
}

/* ---- rich text and CTA bands ---- */
/* A centered heading, an optional serif subhead and paragraph, then the
   action. The CTA band is the same block with the display size. */
.rich-text { max-width: var(--size-site); margin-inline: auto; text-align: center; }
.rich-text > p { max-width: var(--size-narrow); margin-inline: auto; }
.rich-text .subhead { max-width: none; }
.rich-text .button-row { margin-top: var(--space-6); }
.rich-text .kicker { margin-bottom: var(--space-2); }

/* ---- image tile grid ---- */
/* Three up from 45rem, one up below. Each tile is a monochrome photo with
   a dark wash and the heading and text set over its lower left. */
.tile-grid { display: grid; gap: var(--space-5); margin: 0; padding: 0; list-style: none; }
.tile { position: relative; overflow: hidden; background: var(--color-ink); color: var(--color-accent-ink); }
.tile__media { display: block; width: 100%; aspect-ratio: 6 / 5; object-fit: cover; filter: grayscale(1); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--color-ink) 72%, transparent), color-mix(in srgb, var(--color-ink) 30%, transparent) 70%); }
.tile__body { position: absolute; inset: auto 0 0; z-index: 1; padding: var(--space-6) var(--space-8); }
.tile__title { margin: 0 0 var(--space-2); font-family: var(--font-serif); font-size: var(--type-heading); font-weight: var(--weight-heading); line-height: var(--leading-heading); }
.tile__text { max-width: 22rem; margin: 0; }
@media (min-width: 64rem) {
  .tile__text { max-width: 15rem; }
}
@media (min-width: 45rem) {
  .tile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile__body { padding: var(--space-6) var(--space-6) var(--space-6) var(--space-7); }
  .tile__text { font-size: var(--type-small); }
}
@media (min-width: 64rem) {
  .tile__text { font-size: var(--type-body); }
}

/* ---- alternating image and text rows ---- */
.media-row { display: grid; align-items: center; gap: var(--space-6); padding-block: var(--space-10); }
.media-row__media { margin: 0; }
.media-row__media img { width: 100%; }
.media-row__body { padding-inline: var(--size-gutter); text-align: center; }
.media-row__body > * { max-width: 34rem; margin-inline: auto; }
.media-row__body .headline { margin-bottom: var(--space-4); }
.media-row__body p { font-family: var(--font-serif); }
@media (min-width: 45rem) {
  .media-row { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .media-row--reverse .media-row__media { order: 2; }
}

/* ---- slideshow ---- */
/* Full-bleed photo with a dark wash, text centered over it, and the theme's
   line indicators at the foot. Colour photography lives here. */
.slideshow { position: relative; overflow: hidden; background: var(--color-ink); color: var(--color-accent-ink); }
.slideshow__track { display: grid; }
.slide { position: relative; grid-area: 1 / 1; display: grid; min-height: calc(var(--space-25) * 5.5); opacity: 0; visibility: hidden; transition: opacity var(--motion-slow) var(--motion-ease), visibility 0s linear var(--motion-slow); }
.slide.is-current { opacity: 1; visibility: visible; transition: opacity var(--motion-slow) var(--motion-ease); }
.slide__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--color-ink) 50%, transparent); }
.slide__body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: var(--space-12) var(--size-gutter) var(--space-16); text-align: center; }
.slide__body > * { max-width: 34rem; }
.slide__title { margin: 0 0 var(--space-4); font-family: var(--font-serif); font-size: var(--type-display); font-weight: var(--weight-heading); line-height: var(--leading-heading); }
.slide__line { margin: 0 0 var(--space-3); }
.slide__list { margin: 0; padding: 0; list-style: none; font-size: var(--type-small); }
.slideshow__dots { position: absolute; inset: auto 0 var(--space-5); z-index: 2; display: flex; justify-content: center; gap: var(--space-1); margin: 0; padding: 0 var(--size-gutter); list-style: none; }
.slideshow__dot {
  position: relative;
  flex: 0 1 calc(var(--space-16) + var(--space-3));
  min-width: var(--space-6);
  height: var(--size-input);
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.slideshow__dot::before { content: ""; position: absolute; inset: auto 0 50%; height: var(--size-line); background: color-mix(in srgb, var(--color-accent-ink) 45%, transparent); }
.slideshow__dot[aria-current="true"]::before { height: calc(var(--size-line) * 2); background: var(--color-accent-ink); }
.slideshow__dot:focus-visible { outline-color: var(--color-accent-ink); }
@media (min-width: 60rem) {
  .slide { min-height: calc(var(--space-25) * 6.5); }
  .slide__list { font-size: var(--type-body); }
}

/* ---- icon with text columns ---- */
.icon-columns { display: grid; gap: var(--space-8); margin: 0; padding: 0; list-style: none; text-align: center; }
.icon-col { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); }
.icon-col__title { margin: 0; font-family: var(--font-serif); font-size: var(--type-subhead); font-weight: var(--weight-heading); line-height: var(--leading-subheading); }
.icon-col__text { margin: 0; font-size: var(--type-small); }
@media (min-width: 45rem) {
  .icon-columns--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .icon-columns--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 60rem) {
  .icon-columns--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .icon-col__text { font-size: var(--type-body); }
}

/* ---- cards ---- */
/* Flat panels on the surface tone (feeding page's first week and
   troubleshooting; breeders' program benefits). .card--olive is the
   emphasised one; .card--outline the bordered benefit card. */
.card-grid { display: grid; gap: var(--space-4); margin: 0; padding: 0; list-style: none; }
.card { padding: var(--space-7); background: var(--color-surface); color: var(--color-ink); }
.card--olive { background: var(--color-ink-ground); color: var(--color-ink-ground-text); }
.card--outline { border: var(--size-line) solid var(--color-line); background: var(--color-canvas); text-align: center; }
.card__kicker { margin: 0 0 var(--space-4); font-size: var(--type-label); font-weight: var(--weight-strong); letter-spacing: 0.15em; text-transform: uppercase; }
.card__title { margin: 0 0 var(--space-3); font-family: var(--font-serif); font-size: var(--type-subhead); font-weight: var(--weight-heading); line-height: var(--leading-subheading); }
.card__title--strong { font-size: var(--type-lead); font-weight: var(--weight-heading-strong); }
.card__title--sans { font-family: var(--font-sans); font-size: var(--type-lead); font-weight: var(--weight-strong); }
.card__text { margin: 0; color: var(--color-muted); font-size: var(--type-small); line-height: var(--leading-body); }
.card--olive .card__text { color: var(--color-accent-ink); }
.card__text-line { display: block; }
.card .icon-lg { margin: 0 auto var(--space-4); }
.card-grid--phases .card { min-height: calc(var(--space-25) * 2.5); }
.card-note { margin: var(--space-6) 0 0; color: var(--color-ink); font-size: var(--type-small); font-style: italic; text-align: center; }
@media (min-width: 45rem) {
  .card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card { padding: var(--space-8) var(--space-7); }
}

.section-head { max-width: 37rem; margin-bottom: var(--space-8); }
.section-head p { margin-top: var(--space-6); }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---- check list ---- */
/* Requirements with a check-circle each (breeders). */
.check-list { display: grid; gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
.check-list__item {
  display: flex;
  min-height: calc(var(--size-input) + var(--space-5));
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  border: var(--size-line) solid var(--color-line);
  background: var(--color-canvas);
  font-weight: var(--weight-strong);
}
.check-list__item .icon { color: var(--color-accent); }

/* ---- numbered step list ---- */
.step-list { margin: 0; padding: 0; border-top: var(--size-line) solid var(--color-line); list-style: none; }
.step-list__item { display: grid; grid-template-columns: var(--space-12) 1fr; gap: var(--space-4); padding-block: var(--space-6); border-bottom: var(--size-line) solid var(--color-line); }
.step-list__num { font-family: var(--font-serif); font-size: var(--type-subhead); font-weight: var(--weight-heading); line-height: 1; color: var(--color-muted); }
.step-list__title { margin: 0 0 var(--space-2); font-family: var(--font-serif); font-size: var(--type-lead); font-weight: var(--weight-heading-strong); line-height: var(--leading-subheading); }
.step-list__text { margin: 0; color: var(--color-muted); font-size: var(--type-small); }
@media (min-width: 45rem) {
  .step-list__item { grid-template-columns: var(--space-16) 1fr; }
  .step-list__text { font-size: var(--type-body); }
}

/* ---- comparison table ---- */
.table-scroll { max-width: 100%; overflow-x: auto; }
.compare { width: 100%; min-width: 34rem; border-collapse: collapse; border: var(--size-line) solid var(--color-line); font-family: var(--font-serif); font-size: var(--type-lead); }
.compare th, .compare td { padding: var(--space-4) var(--space-5); border: var(--size-line) solid var(--color-line); text-align: center; vertical-align: middle; }
.compare thead th { background: var(--color-ink-ground); color: var(--color-ink-ground-text); font-family: var(--font-sans); font-size: var(--type-lead); font-weight: var(--weight-strong); }
.compare thead th:first-child, .compare tbody th { text-align: left; }
.compare tbody th { font-weight: var(--weight-heading); }
.compare thead img { width: calc(var(--space-20) + var(--space-5)); margin-inline: auto; }
.compare__us { background: var(--color-line); color: var(--color-moss); }
.compare__value { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); }
.compare__yes { color: var(--color-moss); }
.compare__no { color: var(--color-signal); }

/* ---- nutrition panel ---- */
/* The guaranteed-analysis card beside the ingredient list (Ingredients). */
.nutrition { display: grid; align-items: center; gap: var(--space-8); }
.nutrition__media { margin: 0; }
.nutrition__media img { width: 100%; }
.nutrition__body { text-align: center; }
.nutrition__list { margin: var(--space-4) 0 0; padding: 0; list-style: none; line-height: 1.6; }
@media (min-width: 45rem) {
  .nutrition { grid-template-columns: 1fr 1fr; }
}

/* ---- video ---- */
.video { margin: 0 auto; max-width: calc(var(--space-25) * 4.8); }
.video__frame { position: relative; display: grid; place-items: center; aspect-ratio: 9 / 16; overflow: hidden; background: var(--color-sand); color: var(--color-ink); }
.video__frame video, .video__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video__play {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: calc(var(--size-input) + var(--space-5));
  height: calc(var(--size-input) + var(--space-5));
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius-round);
  background: var(--color-accent);
  color: var(--color-accent-ink);
  cursor: pointer;
}
.video__play svg { width: var(--space-7); height: var(--space-7); fill: currentColor; }
.video__caption { margin-top: var(--space-3); color: var(--color-muted); font-size: var(--type-small); text-align: center; }

/* The printed feeding card, its two pages one under the other. */
.feeding-card { display: grid; gap: var(--space-8); margin: 0; }
.feeding-card img { width: 100%; }

/* ---- callout ---- */
/* A boxed olive band inside the page width (feeding page contact band). */
.callout { padding: var(--space-12) var(--space-6); background: var(--color-ink-ground); color: var(--color-ink-ground-text); text-align: center; }
.callout > p { max-width: 37rem; margin-inline: auto; }
.callout .headline { margin-bottom: var(--space-5); }
@media (min-width: 45rem) {
  .callout { padding: var(--space-12) var(--space-16); }
}

/* ---- FAQ accordion ---- */
/* <details> per question; Assistant Bold question, olive plus disc. */
.faq { margin: 0; padding: 0; list-style: none; }
.faq__item { border-bottom: var(--size-line) solid var(--color-line); }
.faq__item:last-child { border-bottom: 0; }
.faq__question {
  display: flex;
  min-height: calc(var(--size-input) + var(--space-6));
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-3);
  font-weight: var(--weight-strong);
  cursor: pointer;
  list-style: none;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: "+";
  display: inline-flex;
  width: var(--space-8);
  height: var(--space-8);
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-round);
  background: var(--color-accent);
  color: var(--color-accent-ink);
  font-size: var(--type-lead);
  font-weight: var(--weight-body);
  line-height: 1;
  transition: transform var(--motion-fast) var(--motion-ease);
}
.faq__item[open] .faq__question::after { content: "\2212"; }
.faq__answer { padding: 0 var(--space-12) var(--space-6) 0; }
.faq__answer p + p { margin-top: var(--space-3); }

/* ---- membership: plan hero ---- */
/* Left: headline, benefits, rating and quote over the product render.
   Right: the plan builder on the olive ground. Stacks below 60rem with the
   builder first under the headline block. */
.plan-hero { display: grid; }
.plan-hero__copy { padding: var(--space-6) var(--size-gutter) 0; text-align: center; }
.plan-hero__title { margin: 0; font-family: var(--font-serif); font-size: var(--type-display); font-weight: var(--weight-heading-strong); line-height: var(--leading-heading); }
.plan-hero__sub { max-width: 42rem; margin: var(--space-4) auto 0; color: var(--color-muted); }
.plan-hero__media { margin: var(--space-6) calc(var(--size-gutter) * -1) 0; }
.plan-hero__media img { width: 100%; max-width: 40rem; margin-inline: auto; }
.plan-hero__panel { padding: var(--space-6) var(--size-gutter) var(--space-10); background: var(--color-ink-ground); color: var(--color-ink-ground-text); }
.benefit-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 26rem; margin: var(--space-5) auto 0; padding: 0; list-style: none; }
.benefit-chips li { padding: 0 var(--space-3); font-size: var(--type-small); font-weight: var(--weight-strong); line-height: var(--leading-subheading); }
.benefit-chips li + li { border-left: var(--size-line) solid var(--color-line); }
.stars { display: flex; justify-content: center; gap: var(--space-1); margin: var(--space-3) 0 0; color: var(--color-star); }
.stars svg { width: var(--space-5); height: var(--space-5); fill: currentColor; }
.plan-hero__quote { margin: var(--space-3) 0 0; color: var(--color-muted); font-style: italic; }
@media (min-width: 60rem) {
  .plan-hero { grid-template-columns: 1fr 1fr; }
  .plan-hero__copy { padding: var(--space-6) var(--size-gutter) 0; }
  .plan-hero__panel { padding: var(--space-5) var(--space-20) var(--space-10); }
}

/* The plan builder card: default (start) and ready (after the pup
   questionnaire). Square corners: the live card's 16px radius and pill
   button were normalized to the theme. */
.plan-card { padding: var(--space-6); background: var(--color-canvas); color: var(--color-ink); text-align: center; }
.plan-card__time { display: inline-block; margin-bottom: var(--space-4); color: var(--color-muted); font-size: var(--type-small); }
.plan-card--ready { text-align: left; }
.plan-card__title { margin: 0 0 var(--space-4); font-family: var(--font-serif); font-size: var(--type-subhead); font-weight: var(--weight-heading); line-height: var(--leading-subheading); }
.plan-card__pups { margin: 0; padding: 0; border-top: var(--size-line) solid var(--color-line); list-style: none; }
.plan-card__pup { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-1) var(--space-4); padding-block: var(--space-3); border-bottom: var(--size-line) solid var(--color-line); }
.plan-card__pup-meta { color: var(--color-muted); font-size: var(--type-small); }
.plan-card__portion { font-weight: var(--weight-strong); }
.plan-card__price { display: flex; align-items: baseline; gap: var(--space-2); margin: var(--space-5) 0 var(--space-4); }
.plan-card__amount { font-family: var(--font-serif); font-size: var(--type-title); font-weight: var(--weight-heading); line-height: 1; }
.plan-card__per { color: var(--color-muted); }
.plan-card__terms { margin-top: var(--space-3); color: var(--color-muted); font-size: var(--type-small); text-align: center; }
.plan-card__sample { margin-top: var(--space-4); }

.benefit-list { display: grid; gap: var(--space-4); margin: var(--space-6) 0 0; padding: 0; list-style: none; }
.benefit-list strong { display: block; font-family: var(--font-serif); font-size: var(--type-lead); font-weight: var(--weight-heading-strong); }
.plan-panel__title { margin: var(--space-8) 0 var(--space-2); font-family: var(--font-serif); font-size: var(--type-subhead); font-weight: var(--weight-heading); line-height: var(--leading-subheading); }
.plan-panel__help { margin-top: var(--space-6); }

/* ---- reviews strip ---- */
.review-strip { margin-top: var(--space-8); }
.review-strip__list { display: grid; gap: var(--space-3); margin: var(--space-3) 0 0; padding: 0; list-style: none; }
.review { margin: 0; padding: var(--space-5); border: var(--size-line) solid color-mix(in srgb, var(--color-accent-ink) 35%, transparent); }
.review__text { margin: 0; font-family: var(--font-serif); font-size: var(--type-lead); line-height: var(--leading-subheading); }
.review__name { display: block; margin-top: var(--space-2); font-size: var(--type-small); font-weight: var(--weight-strong); }
.review cite { font-style: normal; }

/* Where third-party reviews would sit, held open until the owner confirms
   which reviews may be reproduced. */
.review-slot { margin-top: var(--space-6); padding: var(--space-8) var(--space-6); border: var(--size-line) dashed var(--color-muted); color: var(--color-muted); text-align: center; }
.review-slot p { max-width: 37rem; margin-inline: auto; }

/* "Questions about your pup's plan?": a disclosure on the olive ground. */
.plan-help { margin-top: var(--space-6); }
.plan-help summary { display: inline-flex; min-height: var(--size-input); align-items: center; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.plan-help p { margin-top: var(--space-2); }

/* ---- sticky price bar ---- */
.price-bar {
  position: sticky;
  bottom: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-2) var(--size-gutter);
  border-top: var(--size-line) solid var(--color-line);
  background: var(--color-canvas);
  color: var(--color-ink);
}
.price-bar__price { font-family: var(--font-serif); white-space: nowrap; }
.price-bar__price strong { font-size: var(--type-lead); font-weight: var(--weight-heading-strong); }

/* ---- empty state ---- */
/* Cart, blog and 404: a heading, one line, and the way on. */
.empty-state { display: flex; flex-direction: column; align-items: center; gap: var(--space-4); padding-block: var(--space-16); text-align: center; }
.empty-state .button { margin-top: var(--space-2); }
@media (min-width: 60rem) {
  .empty-state { padding-block: var(--space-20); }
}

/* ---- wordmark ---- */
.wordmark { width: calc(var(--space-25) * 2); margin-inline: auto; }

/* ---- articles ---- */
/* The learn site's article list, article and topic pages. The site renders
   them from its CMS with stock routes that emit a fixed set of class names
   and plain elements, and no .wrap: so each piece here holds its own column
   and gutter, and a bare element is styled where it sits.

   .hero is the page intro those routes emit: a title and one line on the
   list and topic pages; on an article, its topics, title, summary, date and
   byline, and cover. Centered, like .page-head. It is not the split hero.
   The title is the page's h1; an h2 takes the same setting where a page
   already has its h1 (the guide's preview). */
.hero { padding: var(--space-10) var(--size-gutter) var(--space-6); text-align: center; }
.hero > * { max-width: var(--size-narrow); margin-inline: auto; }
.hero > :is(h1, h2) { margin-block: 0; font-family: var(--font-serif); font-size: var(--type-display); font-weight: var(--weight-heading); line-height: var(--leading-heading); text-wrap: balance; }
.hero p { margin-block: var(--space-4) 0; font-family: var(--font-serif); font-size: var(--type-lead); font-weight: var(--weight-heading); line-height: var(--leading-subheading); text-wrap: balance; }
.hero .topic-list { justify-content: center; margin: 0 auto var(--space-3); }
.hero .article-meta { margin-top: var(--space-4); }
/* The cover is wider than the text column and always 3:2, whatever was uploaded. */
.hero > img { width: 100%; max-width: var(--size-form); margin-top: var(--space-8); aspect-ratio: 3 / 2; object-fit: cover; }

/* The list: one card per article, one column, then two, then three. Straight
   in a .section it takes the page width and gutter itself; inside a .wrap it
   takes the wrap's. */
.article-list { display: grid; gap: var(--space-5); margin: 0; padding: 0; list-style: none; }
.article-list > li { display: grid; }
.section > .article-list { width: 100%; max-width: var(--size-site); margin-inline: auto; padding-inline: var(--size-gutter); }
@media (min-width: 45rem) {
  .article-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64rem) {
  .article-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* A flat surface panel, like .card. The cover is optional and bleeds to the
   panel's edges; covers in a list are monochrome so a grid keeps one look.
   The title link covers the whole card; topic links sit above it. */
.article-card { position: relative; display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-7); background: var(--color-surface); color: var(--color-ink); transition: background-color var(--motion-fast) var(--motion-ease); }
.article-card:hover { background: var(--color-accent-soft); }
.article-card > img { width: calc(100% + 2 * var(--space-7)); max-width: none; margin: calc(var(--space-7) * -1) calc(var(--space-7) * -1) var(--space-4); aspect-ratio: 3 / 2; object-fit: cover; filter: grayscale(1); }
.article-card h2 { margin: 0; font-family: var(--font-serif); font-size: var(--type-subhead); font-weight: var(--weight-heading); line-height: var(--leading-subheading); }
.article-card h2 a { text-decoration: none; }
.article-card h2 a::after { content: ""; position: absolute; inset: 0; }
.article-card h2 a:hover { color: var(--color-accent); }
.article-card h2 a:focus-visible { outline: 0; }
.article-card h2 a:focus-visible::after { outline: 2px solid var(--color-accent); outline-offset: -2px; }
.article-card p { margin: 0; }
.article-card .topic-list { position: relative; z-index: 1; margin-top: auto; padding-top: var(--space-2); }

/* Date and byline: "10 November 2026 · By Author Name". */
.article-meta { color: var(--color-muted); font-size: var(--type-small); line-height: var(--leading-button); }

/* Topics: small uppercase links, the way the site sets a kicker over a heading. */
.topic-list { display: flex; flex-wrap: wrap; gap: 0 var(--space-4); margin: 0; padding: 0; list-style: none; }
.topic-list a {
  display: inline-flex;
  min-height: var(--space-6);
  align-items: center;
  color: var(--color-accent);
  font-family: var(--font-sans);
  font-size: var(--type-label);
  font-weight: var(--weight-strong);
  letter-spacing: var(--tracking-button);
  line-height: var(--leading-button);
  text-decoration: underline;
  text-decoration-thickness: var(--size-line);
  text-underline-offset: 0.3em;
  text-transform: uppercase;
}
.topic-list a:hover { color: var(--color-accent-strong); }
.section-head--center + .topic-list { justify-content: center; }

/* What the stock routes put straight into a .section: the empty list's
   heading and line, and the single button under a list or an article. They
   carry no class, which is how these rules tell them from the site's own
   classed headings and paragraphs. */
.section > h2:not([class]), .section > p:not([class]) { max-width: calc(var(--size-narrow) + 2 * var(--size-gutter)); margin-inline: auto; padding-inline: var(--size-gutter); text-align: center; }
.section > h2:not([class]) { margin-block: 0; font-family: var(--font-serif); font-size: var(--type-subhead); font-weight: var(--weight-heading); line-height: var(--leading-subheading); }
.section > p:not([class]) { margin-block: var(--space-3) 0; }
.section > p:not([class]) a { color: var(--color-accent); text-underline-offset: 0.2em; }
.section > p:not([class]):last-child { margin-bottom: var(--space-10); }
.section > .button { display: flex; width: fit-content; max-width: calc(100% - 2 * var(--size-gutter)); margin-inline: auto; }

/* An article's body is the .prose that follows its .hero. It takes the
   narrow column and gutter itself, and its section headings are headings
   (Newsreader Light, sentence case) where a policy's are uppercase labels.
   A quotation is the serif italic. */
.hero + .prose { max-width: calc(var(--size-narrow) + 2 * var(--size-gutter)); margin-inline: auto; padding: var(--space-6) var(--size-gutter) var(--space-6); }
.hero + .prose h2 { margin-top: var(--space-10); font-family: var(--font-serif); font-size: var(--type-subtitle); font-weight: var(--weight-heading); letter-spacing: 0; line-height: var(--leading-subheading); text-transform: none; }
.hero + .prose h2 + * { margin-top: var(--space-3); }
.hero + .prose blockquote { font-style: italic; font-weight: var(--weight-heading); line-height: var(--leading-subheading); }
.hero + .prose blockquote em { font-style: normal; }
/* The learn site's article route: the body sits in .article-content after the
   header, with the site's own regions (a video, a note) around the prose. It
   takes the same column and headings as .hero + .prose. */
.article-content { max-width: calc(var(--size-narrow) + 2 * var(--size-gutter)); margin-inline: auto; padding: var(--space-6) var(--size-gutter); }
.article-content > div > * + * { margin-top: var(--space-6); }
.article-content .prose h2 { margin-top: var(--space-10); font-family: var(--font-serif); font-size: var(--type-subtitle); font-weight: var(--weight-heading); letter-spacing: 0; line-height: var(--leading-subheading); text-transform: none; }
.article-content .prose h2 + * { margin-top: var(--space-3); }
.article-content .prose blockquote { font-style: italic; font-weight: var(--weight-heading); line-height: var(--leading-subheading); }
.article-content .prose blockquote em { font-style: normal; }
/* A short answer or related guide: a labelled aside on the surface tone. */
.article-note { padding: var(--space-4) var(--space-5); border-left: calc(3 * var(--size-line)) solid var(--color-accent); background: var(--color-surface); color: var(--color-ink); text-align: left; }
.article-note > strong { display: block; font-size: var(--type-small); font-weight: var(--weight-strong); letter-spacing: var(--tracking-button); text-transform: uppercase; }
.article-note > p { margin: var(--space-2) 0 0; font-family: var(--font-sans); font-size: var(--type-body); font-weight: normal; line-height: var(--leading-body); }
.article-note a { color: var(--color-accent); text-underline-offset: 0.2em; }
.hero .article-note { margin-top: var(--space-6); }
/* An article's video, at the column's width in 16:9. */
.article-video { margin: 0; }
.article-video iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; }

/* ---- prose ---- */
/* Policies and any rich text from a CMS: one wrapper, plain elements inside
   (a table's .table-scroll wrapper aside). */
.prose { overflow-wrap: break-word; }
.prose > * { margin-block: 0; }
.prose > * + * { margin-top: var(--space-4); }
.prose h2 { margin-top: var(--space-10); font-family: var(--font-sans); font-size: var(--type-body); font-weight: var(--weight-strong); letter-spacing: var(--tracking-button); line-height: var(--leading-body); text-transform: uppercase; }
.prose h3 { margin-top: var(--space-6); font-family: var(--font-serif); font-size: var(--type-lead); font-weight: var(--weight-heading-strong); line-height: var(--leading-subheading); }
.prose a { color: var(--color-accent); text-underline-offset: 0.2em; }
.prose ul, .prose ol { padding-left: var(--space-6); }
.prose li + li { margin-top: var(--space-2); }
.prose blockquote { margin-inline: 0; padding-left: var(--space-4); border-left: calc(3 * var(--size-line)) solid var(--color-accent); font-family: var(--font-serif); font-size: var(--type-lead); }
.prose img { width: 100%; }
.prose figure { margin-inline: 0; }
.prose figcaption { margin-top: var(--space-2); color: var(--color-muted); font-size: var(--type-small); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--type-small); }
.prose th, .prose td { min-width: 6rem; padding: var(--space-2) var(--space-3); border-bottom: var(--size-line) solid var(--color-line); text-align: left; vertical-align: top; }
.prose th { border-bottom-color: var(--color-muted); font-weight: var(--weight-strong); }
/* The rest of what a CMS body can hold: a row header, a nested list, a
   quotation of several paragraphs, a rule, a linked image, and code (in the
   guide's monospace; the site sets none of its own). */
.prose tbody th { border-bottom-color: var(--color-line); }
.prose li > ul, .prose li > ol { margin-top: var(--space-2); }
.prose blockquote > * { margin-block: 0; }
.prose blockquote > * + * { margin-top: var(--space-3); }
.prose hr { margin-block: var(--space-10); border: 0; border-top: var(--size-line) solid var(--color-line); }
.prose figure a { display: block; }
.prose code { padding: 0 var(--space-1); background: var(--color-surface); }
.prose pre { overflow-x: auto; margin-inline: 0; padding: var(--space-4) var(--space-5); border: 0; border-radius: var(--radius-md); background: var(--color-surface); color: var(--color-ink); line-height: var(--leading-body); }
.prose pre code { padding: 0; background: none; font-size: 1em; }
.prose__meta { color: var(--color-muted); font-size: var(--type-small); }

.page-head { padding-block: var(--space-10) var(--space-6); text-align: center; }
.page-head p { max-width: var(--size-narrow); margin-inline: auto; color: var(--color-muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
