/* Base: self-hosted fonts, reset, typography, page-content prose. Reads tokens.css.
   Fonts are the Google Fonts latin subsets (SIL OFL 1.1, licences in ../fonts/). Source Sans 3 is one
   variable file covering 400-700. Ramaraja (headings, the logo's name, the capital labels) and Handlee (the homepage's
   hero line) replaced Young Serif on 2026-11-19 (preview note 85, the owner).
   Font URLs end ?v=<first 8 hex of the file's md5> (#632): change both together; the preloads read them from here. */
@font-face {
	font-family: "Source Sans 3";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url(../fonts/source-sans-3-latin.woff2?v=9ef356ea) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Source Sans 3";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url(../fonts/source-sans-3-italic-latin.woff2?v=410bdda6) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Ramaraja draws its letters small for their size: capitals 0.594 and x-height 0.391 of the font size, against Young
   Serif's 0.750 and 0.500 (measured in Chrome), so at the same font-size every heading looked about a fifth smaller.
   size-adjust 127% brings both back (0.754 / 0.496) here, once, so the 40-odd `font: … var(--serif)` rules keep their
   sizes; it's still narrower than Young Serif was (89-97% of its width), so nothing wraps more than it did. The overrides
   give it Young Serif's line metrics (ascent 1.046, descent 0.366, no gap; Chrome scales them by size-adjust too, hence
   ÷ 1.27): line boxes, where the letters sit in them and line-height: normal are exactly as before, and its own deep
   descent (0.725) can't push a line apart. One weight: never ask for a bold. */
@font-face {
	font-family: "Ramaraja";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(../fonts/ramaraja-400-latin.woff2?v=44413a6f) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
	size-adjust: 127%;
	ascent-override: 82.36%;
	descent-override: 28.82%;
	line-gap-override: 0%;
}
/* The same file for the small capital labels (.kick, .eyebrow: --label), sized to the face they had before, Source Sans 3
   bold, whose capitals are 0.656 of the size (× 1.105), with its line metrics (1.024 / 0.400). The same URL, so one
   download. */
@font-face {
	font-family: "Ramaraja Label";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(../fonts/ramaraja-400-latin.woff2?v=44413a6f) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
	size-adjust: 110.5%;
	ascent-override: 92.67%;
	descent-override: 36.2%;
	line-gap-override: 0%;
}
/* Handlee: the homepage's hero line only (homepage.css). Its x-height is Young Serif's (0.500), so it keeps its size; its
   line metrics are set to Young Serif's so the line sits where it did. Preloaded on the homepage only (#632). */
@font-face {
	font-family: "Handlee";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(../fonts/handlee-400-latin.woff2?v=d46baed7) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
	ascent-override: 104.6%;
	descent-override: 36.6%;
	line-gap-override: 0%;
}

/* reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
	margin: 0;
	font: 400 16px/1.55 var(--sans);
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, figure, fieldset, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { max-width: 100%; }
img { display: block; height: auto; }
[hidden] { display: none !important; }
a { color: var(--roof); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* helpers */
.sr, .hwb-probe {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip {
	position: absolute; left: 12px; top: -100px; z-index: 100;
	background: var(--navy); color: var(--white); font-weight: 700;
	padding: 12px 18px; border-radius: 4px;
}
.skip:focus { position: fixed; top: calc(var(--hdr-top) + 12px); text-decoration: none; } /* fixed: in view wherever the page is scrolled */

/* type */
/* Lining figures everywhere (#490). Young Serif's own digits were old-style: 3, 4, 5, 7 and 9 dropped below the line,
   so "Results for 9780936981130" read as uneven. Today's faces all draw lining digits and have no lnum (Ramaraja,
   Handlee, Source Sans 3), so this changes nothing now; it stays so a face added later with old-style digits by default
   gets lining ones. It's !important on every element because the font shorthand
   (`font: 400 1.2rem/1.2 var(--serif)`, 40-odd rules across the page stylesheets) resets font-feature-settings and
   font-variant-numeric on the element it styles, so an inherited value never reaches those headings. It's
   font-feature-settings, not font-variant-numeric, so .price's tabular-nums still applies beside it. */
*, *::before, *::after { font-feature-settings: "lnum" !important; }
h1, h2, .serif { font-family: var(--serif); font-weight: 400; line-height: 1.14; text-wrap: balance; color: var(--navy); }
h3, h4 { color: var(--navy); line-height: 1.25; }
/* The small capital labels (.kick here, .eyebrow in shell.css) in --label, Ramaraja's one weight as drawn (no
   synthetic bold); the 700 is for the fallback, Source Sans 3. */
.kick { font-family: var(--label); font-size: .76rem; font-weight: 700; font-synthesis-weight: none; letter-spacing: .13em; text-transform: uppercase; color: var(--brick); margin-bottom: 6px; }
.price { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--navy); }
.note { font-size: .82rem; color: var(--muted); }
.ok { color: var(--garden); font-weight: 700; }

/* page content from the editor (pages, posts) */
.prose { max-width: 70ch; font-size: 1.04rem; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.4em; }
.prose h4 { font-size: 1.05rem; margin-top: 1.2em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .35em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { border-left: 3px solid var(--garden); background: var(--mist); padding: 14px 18px; border-radius: 0 6px 6px 0; }
.prose img { border-radius: 4px; }
.prose figure figcaption { font-size: .88rem; color: var(--muted); margin-top: 6px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--muted); font-weight: 600; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose .aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.prose .alignleft { float: left; margin: 0 1.2em 1em 0; }
.prose .alignright { float: right; margin: 0 0 1em 1.2em; }
.prose .wp-block-cover { position: relative; padding: 32px; background: var(--navy); color: var(--white); border-radius: 6px; overflow: hidden; }
.prose .wp-block-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.prose .wp-block-cover__inner-container { position: relative; }
@media (max-width: 560px) {
	.prose .alignleft, .prose .alignright { float: none; margin: 0 0 1em; }
}
