/* Hallmark custom | Committed colour | Sweethie Book reads like a recipe book sized by the glass, with system serif display type, warm paper, and the app’s actual volume presets as the visual material. */
/* Pre-emit critique | A row of feature panels buried the volume adjustment. One typeset measure now leads the workbench section, followed by pantry matching in reading order. */
:root {
  --color-paper: oklch(98% 0.012 83);
  --color-field: oklch(91% 0.066 55);
  --color-ink: oklch(24% 0.042 37);
  --color-muted: oklch(40% 0.044 42);
  --color-rule: oklch(77% 0.049 54);
  --color-accent: oklch(42% 0.125 33);
  --color-accent-hover: oklch(33% 0.105 33);
  --color-accent-ink: oklch(98% 0.012 83);
  --color-focus: oklch(43% 0.18 34);
  --font-display: Georgia, 'Times New Roman', serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --weight-regular: 400;
  --weight-strong: 700;
  --text-small: 0.9375rem;
  --text-body: 1rem;
  --text-lead: 1.125rem;
  --text-heading: clamp(2.125rem, 5vw, 4.5rem);
  --text-display: clamp(2.875rem, 8.5vw, 7.75rem);
  --text-measure: clamp(1.75rem, 5.5vw, 5rem);
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --gutter: clamp(var(--space-md), 5vw, var(--space-3xl));
  --section-space: clamp(var(--space-xl), 8vw, var(--space-3xl));
  --page-width: 76rem;
  --measure: 63ch;
  --rule: 1px;
  --focus-width: 2px;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: var(--weight-regular);
  font-synthesis: none;
  line-height: 1.6;
}
h1, h2, p, ul { margin: 0; }
h1, h2 {
  min-width: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  letter-spacing: -0.035em;
  line-height: 1.05;
}
h1 { max-inline-size: 20ch; font-size: var(--text-display); }
h2 { max-inline-size: 24ch; font-size: var(--text-heading); }
p { max-inline-size: var(--measure); text-wrap: pretty; }
a { color: var(--color-accent); text-underline-offset: 0.2em; overflow-wrap: anywhere; }
a:hover { color: var(--color-accent-hover); }
a:focus-visible { outline: var(--focus-width) solid var(--color-focus); outline-offset: var(--space-2xs); }
.wrap { max-inline-size: var(--page-width); margin-inline: auto; padding-inline: var(--gutter); }
.site-header { border-block-end: var(--rule) solid var(--color-rule); }
.header-row, .footer-row, .site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs) var(--space-lg);
}
.header-row, .footer-row { justify-content: space-between; padding-block: var(--space-sm); }
.brand, .site-nav a, .footer-row a {
  display: inline-flex;
  align-items: center;
  min-block-size: 2.75rem;
}
.brand { color: var(--color-ink); font-weight: var(--weight-strong); text-decoration: none; }
.site-nav, .site-footer { font-size: var(--text-small); }
.site-nav a { color: var(--color-ink); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current='page'] { color: var(--color-accent); text-decoration: underline; }
.hero { background: var(--color-field); color: var(--color-ink); }
.hero-inner {
  display: grid;
  justify-items: start;
  gap: var(--space-lg);
  padding-block: var(--section-space);
}
.hero h1 { max-inline-size: 12ch; }
.hero p { font-size: var(--text-lead); }
.action {
  display: inline-flex;
  align-items: center;
  min-block-size: 2.75rem;
  padding: var(--space-sm) var(--space-lg);
  background: var(--color-accent);
  color: var(--color-accent-ink);
  font-weight: var(--weight-strong);
  text-decoration: none;
}
.action:hover { background: var(--color-accent-hover); color: var(--color-accent-ink); }
.section { padding-block: var(--section-space); }
.section + .section { border-block-start: var(--rule) solid var(--color-rule); }
.section-copy { display: grid; align-content: start; gap: var(--space-md); min-inline-size: 0; }
.measure-section { display: grid; align-items: end; gap: var(--space-xl); }
.volume-presets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: var(--space-xs);
  padding: 0;
  list-style: none;
}
.volume-presets li {
  display: grid;
  justify-items: start;
  padding-block-end: var(--space-sm);
  border-block-end: var(--rule) solid var(--color-accent);
}
.volume-presets strong {
  font-family: var(--font-display);
  font-size: var(--text-measure);
  font-weight: var(--weight-regular);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.volume-presets small { color: var(--color-muted); font-size: var(--text-small); }
.recipe-section { display: grid; gap: var(--space-lg) var(--space-2xl); }
.site-footer { border-block-start: var(--rule) solid var(--color-rule); color: var(--color-muted); }
.document {
  display: grid;
  justify-items: start;
  gap: var(--space-xl);
  padding-block: var(--section-space);
}
.document h1 { font-size: var(--text-heading); }
.document section { display: grid; gap: var(--space-sm); }
.document h2 { font-size: var(--text-lead); font-weight: var(--weight-strong); letter-spacing: 0; line-height: 1.35; }
@media (min-width: 52rem) {
  .measure-section { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .recipe-section { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
}
@media (max-width: 32rem) {
  .header-row, .footer-row { flex-direction: column; align-items: flex-start; }
}
