/* source: assets/css/fonts.css */
/**
 * TJW brand webfonts — self-hosted (SIL OFL / ITF Free Font Licence).
 * Enqueued by greyd_child_font_assets() in functions.php.
 *
 * Active type system: Newsreader (display/headings, variable) + Satoshi
 * (body/UI sans) + Overpass Mono (labels/prices). Fonts ship from this theme
 * so there is no third-party call (better privacy/GDPR + one fewer round-trip),
 * and the hero faces are <link rel=preload>-ed in inc/theme-assets.php so text
 * paints in the brand font immediately instead of flashing from a fallback.
 *
 * SWAPPING A FONT LATER: this file + the assets/fonts/ folder are the ONLY
 * places that name the font files. To swap:
 *   1. drop the new .woff2 into assets/fonts/<family>/
 *   2. edit the @font-face src/weights below (+ its fallback-metrics block)
 *   3. update the two theme.json presets (body + heading) and the preload
 *      filenames in inc/theme-assets.php.
 * License files for each family live in assets/fonts/<family>/ — keep them.
 * (Retired families — Cormorant Garamond, Instrument Sans, Calibre trial,
 * Inter, Space Mono — removed 2026-07-22; recover from git history if needed.)
 *
 * Fallback-metric overrides (size-adjust / ascent / descent) are computed from
 * the real font metrics so the system fallback occupies the SAME box as the
 * webfont — eliminating layout shift during the brief load window. Recompute
 * with tools/compute-fallback-metrics.py if the fonts change.
 */

/* ---- Newsreader (variable 300–700, upright + italic) — display/headings ----
   These are INSTANCED files, not the stock Google/OFL release: opsz is pinned to
   30 and wght clamped to 300–700 by tools/instance-newsreader.py, which cut the
   two preloaded faces from 272 KB to 113 KB (−159 KB on every page). Newsreader's
   opsz axis carries a separate master of every glyph for small and large text and
   was most of the file; pinning deletes the axis outright. Clamping its range
   instead saves almost nothing — the masters stay.

   Consequence: font-optical-sizing no longer does anything here, so the pin has
   to suit the whole site rather than one heading. 30 was measured, not guessed:
   across / /bespoke/ /repairs/ /about/ the serif sets ~11,800 characters and the
   mass is 23px and 30px body copy, not display — only ~150 characters sit above
   42px. Pin 30 leaves those two buckets +1.3% and +0.0% off the master the
   browser would have chosen, at the cost of −5.7% on the 64px H1 (heavier, which
   reads as sturdier). Pinning 48 to protect the H1 — the intuitive choice — drags
   the entire reading mass +3 to +5% finer instead. Re-measure if the type scale
   changes materially.

   Rebuild these files (never hand-edit) with:  python tools/instance-newsreader.py */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/newsreader/newsreader-latin-opsz30.woff2') 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: 'Newsreader';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/newsreader/newsreader-latin-ext-opsz30.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/newsreader/newsreader-italic-latin-opsz30.woff2') 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: 'Newsreader';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/newsreader/newsreader-italic-latin-ext-opsz30.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Satoshi (Fontshare / Indian Type Foundry — free, full charset) ----
   The body/UI sans (theme.json 'body' preset). True italics at every weight,
   so body emphasis stays in-family. No native 600 → semibold maps to Bold so
   it stays heavy. */
@font-face { font-family: 'Satoshi'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/satoshi/satoshi-light.woff2') format('woff2'); }
@font-face { font-family: 'Satoshi'; font-style: italic; font-weight: 300; font-display: swap; src: url('../fonts/satoshi/satoshi-light-italic.woff2') format('woff2'); }
@font-face { font-family: 'Satoshi'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/satoshi/satoshi-regular.woff2') format('woff2'); }
@font-face { font-family: 'Satoshi'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/satoshi/satoshi-regular-italic.woff2') format('woff2'); }
@font-face { font-family: 'Satoshi'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/satoshi/satoshi-medium.woff2') format('woff2'); }
@font-face { font-family: 'Satoshi'; font-style: italic; font-weight: 500; font-display: swap; src: url('../fonts/satoshi/satoshi-medium-italic.woff2') format('woff2'); }
@font-face { font-family: 'Satoshi'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/satoshi/satoshi-bold.woff2') format('woff2'); }
@font-face { font-family: 'Satoshi'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/satoshi/satoshi-bold.woff2') format('woff2'); }
@font-face { font-family: 'Satoshi'; font-style: italic; font-weight: 700; font-display: swap; src: url('../fonts/satoshi/satoshi-bold-italic.woff2') format('woff2'); }

/* ---- Overpass Mono ---- */
@font-face {
  font-family: 'Overpass Mono';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/overpass-mono/overpass-mono-300-600-normal-latin.woff2') 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: 'Overpass Mono';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/overpass-mono/overpass-mono-300-600-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Fallback metric overrides (flash / layout-shift killers) ---- */
/* 'Newsreader Fallback' shadows Georgia to match Newsreader's box.
   Recomputed 2026-07-30 against newsreader-latin-opsz30.woff2. The old values
   (91.53 / 80.30 / 28.95) came from the stock file's DEFAULT instance, opsz 18 —
   a size almost nothing rendered at — so the box was already mismatched before
   the pin. Pinning to 30 widens advances ~2%, hence 93.70%. */
@font-face {
  font-family: 'Newsreader Fallback';
  src: local('Georgia');
  size-adjust: 93.70%;
  ascent-override: 78.44%;
  descent-override: 28.28%;
  line-gap-override: 0.00%;
}
/* 'Satoshi Fallback' shadows Arial to match Satoshi's box. */
@font-face {
  font-family: 'Satoshi Fallback';
  src: local('Arial');
  size-adjust: 99.26%;
  ascent-override: 101.75%;
  descent-override: 24.18%;
  line-gap-override: 10.07%;
}

/* source: style.css */
/*
Theme Name:   Greyd Child Theme
Theme URI:    https://greyd.io/
Description:  A child theme for the Greyd Theme
Author:       Greyd
Author URI:   http://example.com
Template:     greyd-theme
Version:      1.0.1
License:      GPLv2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags:         Tags: blog, portfolio, entertainment, site-editing, block-patterns, block-styles
Text Domain:  greyd-child-theme
*/

/* Webfonts are now loaded once, site-wide, via a single <link> in <head>
   (see greyd_child_font_assets() in functions.php) — Newsreader / Satoshi /
   Overpass Mono, the one type system shared by the marketing patterns AND the
   WooCommerce surfaces. The former Inter / Space Mono @import (commerce-only,
   but loaded on every page) was removed in the 2026-06 unify; the retired
   Cormorant Garamond / Instrument Sans / Calibre-trial faces + files were
   removed in the 2026-07-22 font cleanup (recover from git history). */

/* The bespoke-portfolio archive + single pages now use the light .tjw design
   system (assets/css/section-patterns.css), so the former "jw-dark" Peach-Quartz
   portfolio scheme and its post-type-archive title overrides were removed in the
   Phase 3 refresh, along with greyd_child_portfolio_body_class() in functions.php. */

/* Force the vertical scrollbar to always render. Without this, a page that
   starts shorter than the viewport (nothing below the fold has loaded/
   decoded yet) gets a scrollbar partway through load once content pushes it
   past viewport height — and every 100%-width row (the sticky header among
   them) visibly shifts sideways by the scrollbar's width at that moment.
   Confirmed via instrumentation: document.documentElement.clientWidth
   measurably changed (1442px -> 1427px) mid-load on the homepage.
   `scrollbar-gutter: stable` is the modern fix for this and reserves the
   space without an always-visible track — but it silently failed to hold
   on this real page (html here already carries a parent-theme
   `overflow-x: hidden`; verified in isolation that combo alone isn't the
   cause, so the exact interaction is unconfirmed) despite working in an
   isolated test page. `overflow-y: scroll` is the blunter, decades-old
   equivalent — always-visible track, but verified reliable here via direct
   before/after measurement (clientWidth held at 1427px whether the page
   had content or not). */
html {
	overflow-y: scroll;
}

/* Re-homed from Greyd's query/assets/css/style.css, which now loads only where
   a Greyd query or slider renders (inc/greyd-assets.php, 2026-10-18). Every
   core Query Loop on the site was getting this from it. */
.wp-block-query {
	position: relative;
}

/* source: assets/css/header.css */
/*
 * Header bar — complements the flex markup in the `header` template part.
 *
 * Layout: .jw-header is one flex row (space-between, centred):
 *   .jw-header__left  = site logo + city tagline
 *   nav.tjw-mega-nav  = primary mega navigation
 *   .jw-header__right = utility icons (search, account) + mini-cart
 *
 * .jw-header carries the `tjw` class, so brand tokens (--bg/--ink/--line/…)
 * resolve here. Literal hex fallbacks are avoided for that reason.
 */

/* Reserve the vertical scrollbar's track permanently (2026-07-06). Without
   this, opening the mobile nav drawer visibly shifts the page: mega-nav.js's
   lockScroll() pins <body> to position:fixed/width:100%, and the instant the
   real scrollbar disappears, that 100% recomputes ~15-17px wider — the whole
   fixed body (header included) jumps sideways. scrollbar-gutter:stable keeps
   the gutter reserved at all times so there's never a width to jump. Lives on
   html (not .tjw) since it has to apply site-wide, before any brand tokens
   are in scope. */
html {
	scrollbar-gutter: stable;
}

/* sticky bar reaching the full viewport width — 80px on desktop, 65px at/below the
   1180px nav breakpoint. Positioning lives on the template-part wrapper (outside
   .tjw, so no tokens here); the visible fill lives on .jw-header, which carries
   `tjw` and can use brand tokens.

   z-index 1000 is deliberately BELOW the mobile drawer + scrim (1100/1090, see
   mega-nav.css): since 2026-07-25 the drawer slides over the whole screen, header
   included, so the bar has to be able to lose the stacking contest to it. */
header.wp-block-template-part:has(.jw-header) {
	position: sticky;
	top: 0;
	z-index: 1000;
}
/* Height comes from --tjw-header-h (declared in section-patterns.css, stepped
   responsively there) so the bar and everything that offsets against it — mega-nav
   trigger row, the drawer's own close row, .filter bar, sticky rails, hero
   min-heights — can never drift apart.

   No bottom hairline (owner, 2026-07-25): the bar is separated from the page by
   its own --bg fill and the whitespace below it, not by a rule. The desktop mega
   panel keeps its OWN `border-top` (mega-nav.css) — that line belongs to the open
   panel, so the edge reads blank when the nav is closed and ruled only while a
   panel is down. */
.jw-header {
	width: 100%;
	min-height: var(--tjw-header-h);
	background: var(--bg);
}
/* The bar's fill runs edge to edge, its contents follow the page column (2026-10-20).
   The template part pads the bar with spacing|medium (24–32px), so on a large
   screen the logo and icons sat at the viewport edges while everything below them
   sat on the capped .wrap. (W − content-max) / 2 is .wrap's content edge once the
   cap bites; less half a gutter puts the logo on the hero photograph's edge, the
   same half-gutter-outboard relation the bar already has to the text at 1440.
   max() hands back the block's own padding until the .wrap cap bites (~1540px),
   so nothing moves below that. !important because that padding is an inline
   style written by the block. */
.jw-header.jw-header {
	padding-left: max(var(--wp--preset--spacing--medium), calc((100% - var(--content-max)) / 2 - var(--gutter) / 2)) !important;
	padding-right: max(var(--wp--preset--spacing--medium), calc((100% - var(--content-max)) / 2 - var(--gutter) / 2)) !important;
}

/* ---------- left: logo + city ---------- */
.jw-header__left {
	gap: 14px;
}
/* The current logo is a very wide wordmark (~17:1), so cap by WIDTH; height
   follows the aspect ratio and stays slim in the bar. */
.jw-header__left .wp-block-site-logo {
	width: auto;
}
.jw-header__left .wp-block-site-logo img {
	/* Definite `width` (not `max-width`) so the box has a real size from the
	   very first frame — with only a `max-width` cap and no natural image
	   size yet (before the file downloads), there's nothing definite to
	   anchor `aspect-ratio` to, so the browser renders a 0x0 box and pops to
	   full size once the bitmap loads. The mobile rule below already uses a
	   definite `width` for the same reason; this brings desktop in line. */
	width: clamp(190px, 25vw, 320px);
	max-height: 44px;
	height: auto;
	/* WP's custom-logo support declares a nominal 340x19 (17.89:1) box, used
	   for the img's width/height HTML attributes and its `sizes` hint — but
	   the real file is ~17.07:1 (2560x150 source). Pinning the real ratio
	   here stops the box from snapping once the true image resolves. */
	aspect-ratio: 256 / 15;
}
.jw-header__city {
	font-family: var(--mono);
	font-size: var(--fs-3xs);
	letter-spacing: var(--tr-wider);
	text-transform: uppercase;
	color: var(--ink-40);
	white-space: nowrap;
}
@media (max-width: 1100px) { .jw-header__city { display: none; } }

/* ---------- right: utility ---------- */
.jw-header__right {
	gap: var(--sp-4);
}
/* 2026-07-06: was --ink-60, but the two <a>-tag icons (account/wishlist) were
   already rendering full --ink regardless — section-patterns.css's global
   `.tjw a:not(.wp-block-button__link){color:inherit}` reset (0,2,1) out-
   specifies this rule (0,2,0), so anchors inherited the ambient full-ink
   colour while the <summary>/<button> icons (search/bag) stayed at 60%. Five
   icons showing two different shades read as a mismatch — unified to full
   --ink (matching the burger, which was never on the ink-60 system to begin
   with) rather than fighting the anchor reset's specificity. */
.jw-header__right .jw-util {
	display: inline-flex;
	align-items: center;
	color: var(--ink);
	transition: color 200ms var(--ease);
}
/* keep the mini-cart compact and on-brand */
.jw-header__right .wp-block-woocommerce-mini-cart {
	color: var(--ink);
}
/* Swap WooCommerce's trolley glyph for a shopping-bag icon matching the search /
   account utility icons (viewBox 20, 1.4 stroke), while keeping the live count
   badge and the slide-out mini-cart drawer intact. */
.jw-header__right .wc-block-mini-cart__icon { display: none; }
.jw-header__right .wc-block-mini-cart__button {
	color: var(--ink);
	transition: color 200ms var(--ease);
	/* shrink the WC button chrome so the bag matches the 18px utility icons and
	   sits vertically centred alongside search/account and the mobile burger. */
	padding: 0;
	min-width: 0;
	line-height: 0;
	display: inline-flex;
	align-items: center;
}
.jw-header__right .wp-block-woocommerce-mini-cart {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 0;
}
.jw-header__right .wc-block-mini-cart__button:hover { color: var(--ink); }
.jw-header__right .wc-block-mini-cart__quantity-badge {
	position: relative;
	display: inline-flex;
	width: 18px;
	height: 18px;
}
.jw-header__right .wc-block-mini-cart__quantity-badge::before {
	content: "";
	position: absolute;
	inset: 0;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 6.5h11l.6 9.3a1.4 1.4 0 0 1-1.4 1.5H5.3a1.4 1.4 0 0 1-1.4-1.5Z'/%3E%3Cpath d='M7 6.5V5.5a3 3 0 0 1 6 0V6.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 6.5h11l.6 9.3a1.4 1.4 0 0 1-1.4 1.5H5.3a1.4 1.4 0 0 1-1.4-1.5Z'/%3E%3Cpath d='M7 6.5V5.5a3 3 0 0 1 6 0V6.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Recolour WooCommerce's live count badge off its default green to brand Peach.
   The mini-cart block applies the badge colours at runtime by INVERTING the
   element's CSS: it uses the computed `color` as the badge background and the
   computed `background-color` as the numeral (see mini-cart.js badgeBackground/
   TextColor). So to get a Peach pill with an Onyx numeral we set them swapped:
   `color` = Peach, `background-color` = Onyx. No !important — that would override
   the inline style WC writes and break the swap. Tokens keep the dark theme working. */
.jw-header__right .wc-block-mini-cart__badge {
	color: var(--wp--preset--color--accent);            /* Peach #cd8f60 -> badge background */
	background-color: var(--wp--preset--color--primary); /* Onyx #161616 -> badge numeral */
	border: 0;
}

/* ----------------------------------------------------------------------------
   Header live product search. `.jw-search` is a native <details> disclosure:
   the magnifier is the <summary>, the panel a product search <form>. Without JS
   it submits to /?s=…&post_type=product; search.js adds the live results list.
   Styled with the shared .tjw tokens (available because the header carries .tjw).
   ---------------------------------------------------------------------------- */
.jw-header__right .jw-search { position: relative; display: inline-flex; }
.jw-header__right .jw-search > summary {
	list-style: none; cursor: pointer; display: inline-flex; align-items: center;
	color: var(--ink-60); transition: color 200ms var(--ease);
}
.jw-header__right .jw-search > summary::-webkit-details-marker { display: none; }
.jw-header__right .jw-search > summary:hover,
.jw-header__right .jw-search[open] > summary { color: var(--ink); }

.jw-search__panel {
	position: absolute; top: calc(100% + 14px); right: 0; z-index: 60;
	width: min(360px, calc(100vw - 32px));
	background: var(--wp--preset--color--background);
	border: 1px solid var(--wp--preset--color--mediumlight);
	border-radius: 2px; padding: var(--sp-4);
}
/* ⚠ Was a second, boxed control at 8px/0 padding and 39.72px (34.06px on mobile),
   so it missed the 44px touch minimum and signalled focus differently from every
   field in the enquiry family: one 1px colour change, no width change. It is the
   same interaction — type text, get a result — so it now takes the family's height
   and focus cue: 48px, 16px type (the iOS zoom threshold), and an underline that
   thickens to 2px on focus. Applied 2026-10-11 from
   projects/website-design-guide/forms-research.md §5 (decision 10).
   The underline replaces the 1px box: the panel is bordered already, so a second
   box inside it read as a nested frame. Horizontal padding stays 0 — there is no
   label here, and any inset would push the typed text out of line with the
   results list beneath it, which shares the panel's own padding. */
.jw-search__input {
	width: 100%; background: transparent; border: 0;
	border-bottom: 1px solid var(--wp--preset--color--mediumlight); border-radius: 0;
	min-height: 48px; padding: 12px 0; color: var(--ink);
	font-family: var(--sans); font-size: 16px;
	transition: border-color 90ms cubic-bezier(.4,0,.2,1);
}
/* the extra 1px goes back into padding so the box does not grow on focus and
   shove the results list down under the pointer */
.jw-search__input:focus {
	border-bottom-color: var(--ink); border-bottom-width: 2px;
	padding-bottom: 11px; outline: none;
}
.jw-search__input::placeholder { color: var(--ink-40); }

.jw-search__results:not([hidden]) { display: block; margin-top: var(--sp-3); max-height: 62vh; overflow-y: auto; }
.jw-search__results .res {
	display: flex; align-items: center; gap: var(--sp-3); padding: 8px 4px;
	color: var(--ink); text-decoration: none; border-radius: 2px;
}
.jw-search__results .res:hover,
.jw-search__results .res[aria-selected="true"] { background: var(--bg-2); }
.jw-search__results .res__thumb {
	width: 44px; height: 44px; flex: none; object-fit: cover; border-radius: 2px; background: #fff;
}
.jw-search__results .res__thumb--empty { background: var(--bg-2); }
.jw-search__results .res__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.jw-search__results .res__name {
	font-family: var(--serif); font-size: 15px; font-weight: 500; line-height: 1.2;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.jw-search__results .res__meta {
	font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--ink-40);
}
.jw-search__results .res__all {
	display: block; margin-top: 6px; padding: 10px 4px 2px; border-top: 1px solid var(--line);
	font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
	color: var(--ink-60); text-decoration: none;
}
.jw-search__results .res__all:hover { color: var(--ink); }
.jw-search__empty {
	margin: var(--sp-3) 0 0; font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--ink-60);
}

/* On mobile/tablet the burger (injected by mega-nav.js) sits at the far right;
   the utility icons stay visible alongside it. */
@media (max-width: 1180px) {
	/* Group the utility icons + burger together at the right edge so the bag sits
	   right next to the burger, and let the logo claim the space on the left.
	   The header group is is-content-justification-space-between, which strands the
	   icons mid-bar. Switch to flex-start and push the icon cluster (with the burger
	   right after it) to the end with margin-left:auto so they pack together. */
	/* the header's own flex `gap` sits between the icon cluster and the burger too,
	   so keep it small here and let margin-left:auto open the big logo↔cluster gap.
	   Result: bag sits right next to the burger. Shrunk from --sp-4 (16px) — the
	   logotype's "THE" prefix reads small, so the whole utility+burger cluster is
	   trimmed down to free up more width for the wordmark (2026-07-04). */
	.tjw.jw-header { justify-content: flex-start; gap: var(--sp-2); }
	/* NB: core's `.is-layout-flex > :is(*,div){margin:0}` (0,1,1) and Greyd's
	   `.tjw .wp-block-group{margin:0}` (0,2,0) zero our margins — so these must be
	   qualified to 0,3,0 to actually push the cluster right. */
	.tjw.jw-header .jw-header__right { margin-left: auto; gap: var(--sp-2); }
	.tjw.jw-header .tjw-burger { margin-left: 0; }

	/* Utility icons (search/account/wishlist) are raw inline SVGs with width="18"
	   height="18" HTML attributes (set in functions.php's render markup) — override
	   here rather than touching the PHP, since a CSS width/height beats a
	   presentational HTML attribute regardless of source order.
	   2026-07-06: the 2026-07-05 15px->24px bump (below) grew the GLYPH itself to
	   hit the 24x24 target-size minimum, which made the icons read ~2x heavier
	   than the wordmark next to them (measured against a competitor's mobile
	   header: their icons sit at ~0.8x their logo's cap-height, ours were at
	   ~2.2x). Rebalanced: glyph back to the 18px desktop size, tap target kept
	   at 24x24 via padding on the wrapper instead of on the glyph, so the
	   Lighthouse fix still holds without the icon visually dominating the logo. */
	.jw-header__right .jw-util svg { width: 18px; height: 18px; max-width: none; }
	.jw-header__right .jw-util { padding: 3px; }

	/* Wishlist heart drops out of the bar entirely at <=1180px (owner, 2026-07-25).
	   It resurfaces in the mobile drawer's footer as the WORD "Favourites", next to
	   My Account — see mega-nav.js's navFooter, and the identical 2026-07-06
	   migration of the account icon. Two reasons it's the right icon to lose: of the
	   three remaining glyphs it's the only one whose destination isn't reachable any
	   other way from the bar (search and basket both are), and a saved-items list is
	   a considered, low-frequency destination on a phone — not something wanted
	   one tap from every screen at the cost of the wordmark's width.
	   `display:none` rather than removing it from the template part, because the
	   SAME markup is the desktop heart; and it must stay in the DOM regardless so
	   wishlist.js's updateCount() has its `.jw-wish-count` to write to. Frees 32px
	   (a 24px tap target + one 8px --sp-2 gap), which the wordmark clamp below
	   spends. */
	.jw-header__right .jw-wish-link { display: none; }
	/* this "badge" span is repurposed as the visible bag-icon container itself
	   (see the mask swap above), not just a decorative counter overlay, so it
	   gets the same glyph-shrink-plus-wrapper-padding treatment as the other
	   utility icons. */
	.jw-header__right .wc-block-mini-cart__quantity-badge { width: 18px; height: 18px; }
	.jw-header__right .wc-block-mini-cart__button { padding: 3px; }

	/* Larger wordmark to fill the freed space. The logo is a ~17:1 horizontal
	   lockup, so WIDTH is its visual size; height follows the ratio and stays slim
	   in the bar. Explicit width (not max-width) so it actually scales UP past the
	   block's 300px default; srcset supplies the higher-res source. Capped so it
	   never crowds the icons; floored so small phones don't overflow. */
	.jw-header__left .wp-block-site-logo,
	.jw-header__left .wp-block-site-logo img {
		/* Floor 202 -> 224px and slope 48 -> 58vw (2026-07-25), spending the 32px the
		   hidden wishlist heart gave back.

		   The floor is the number that matters — it's the only part of the clamp that
		   binds on a phone (58vw = 217.5px at 375px, below the floor; the 350px cap
		   doesn't engage until 603px). Derived by measurement, not by eye: at 375px
		   the header's content box is 375 - 24 - 24 = 327px, and everything that
		   isn't the wordmark now costs 96px (search 24 + gap 8 + basket 24 + gap 8 +
		   burger 24), leaving exactly 231px. 224 takes that and keeps ~7px of slack
		   on top of the 8px flex gap. Before the heart went, the same sum left 231-32
		   = 199px against a 202px floor — i.e. the burger was already 2.8px into the
		   right padding.

		   If another icon is ever added back to the cluster, redo that subtraction
		   before touching the floor; the previous note here claimed "~17px of slack"
		   at 375px, which measurement did not bear out.

		   The outer min() is a hard backstop: a floor is a fixed px value, so on a
		   viewport narrower than the floor was sized for it just pushes the icon
		   cluster off-screen. `calc(100vw - 151px)` IS the available width (48px of
		   gutters + 96px of cluster/gaps/burger + the 7px of slack), so the wordmark
		   can never claim space that isn't there. This was already broken before the
		   heart came out — at 320px the burger's right edge measured 354px against a
		   296px padding edge, i.e. 24px of it clipped off the viewport — the raised
		   floor just made it worth fixing properly rather than with another
		   breakpoint. Verified: 320 -> 169px, 375 -> 224px, 900 -> 350px.

		   NB 100vw counts the scrollbar gutter, so a desktop browser narrowed below
		   ~500px with a classic (non-overlay) scrollbar can still overrun by the
		   gutter's width. Phones use overlay scrollbars, so this doesn't arise on
		   the devices the branch is for. */
		width: min(clamp(224px, 58vw, 350px), calc(100vw - 151px));
		max-width: none;
		height: auto;
		max-height: 56px;
	}

	/* Firefox-only bug: mega-nav.js locks background scroll by setting
	   `body{position:fixed; top:-Npx}` (see lockScroll() in mega-nav.js) rather
	   than toggling overflow:hidden, specifically so the sticky header can't get
	   knocked out of its stuck position. Chrome/Safari keep the sticky header
	   pinned to the viewport through that trick; Firefox instead re-resolves the
	   header's stuck offset against the now-fixed <body> box, which sits at
	   `top:-scrollY` — so the header (and the logo in it) scrolls out of view by
	   however far down the page you were before opening the drawer. Forcing the
	   header itself to `position:fixed` while the drawer is open sidesteps the
	   ambiguity: a fixed element's containing block is always the viewport.

	   BUT this must be Firefox-ONLY (@supports (-moz-appearance) matches Firefox,
	   not Chrome/Safari). Applying it in Chrome/Safari swaps the header from
	   `sticky` (which reserves its 60px height in flow) to `fixed` (which reserves
	   nothing), so on drawer-open the whole page reflowed UP by the header height
	   (~60px) — a visible background jump, worst at tablet where the drawer is a
	   half-panel and the dimmed page stays in view. Chrome/Safari don't need the
	   override anyway (their sticky header stays pinned through the body:fixed
	   lock), so scoping it to Firefox fixes the jump there while keeping Firefox
	   correct. Verified 2026-07-19: content offsetTop stays 92px open & closed in
	   Chrome once the header keeps position:sticky. */
	@supports (-moz-appearance: none) {
		header.wp-block-template-part:has(.tjw-mega-nav.is-open) {
			position: fixed;
			top: 0;
			left: 0;
			right: 0;
		}
	}
}

/* source: assets/css/mini-cart.css */
/* =============================================================================
   MINI-CART DRAWER  —  "The Ledger"   (site-wide)

   The WooCommerce Blocks mini-cart button lives in the global header, so its
   slide-out drawer can open on EVERY page. This stylesheet is therefore enqueued
   site-wide (greyd_child_header_assets), NOT inside jw-commerce.css — that 80KB
   cart/checkout/account sheet only loads on commerce surfaces, which is why the
   drawer used to fall back to WooCommerce defaults (description dump, visible qty
   stepper, plain buttons) on the homepage and other non-commerce pages.
   Moved out of jw-commerce.css 2026-07-03 so the treatment is consistent
   everywhere.

   Redeclares only the --jw-* colour/ease tokens these rules use, so it still has
   no dependency on jw-commerce.css (commerce-pages-only) being present. Font
   tokens (--mono/--serif/--sans) used to be redeclared here too, byte-for-byte
   identical to the .tjw marketing scale — now referenced directly, since
   section-patterns.css (which defines them) is enqueued site-wide same as this
   file, and `tjw-tokens` is applied to <body> via body_class() so they resolve
   here regardless of page type.
============================================================================= */
:root{
	--jw-text:   #111111;
	--jw-text-2: #555555;
	--jw-ghost:  #999999;
	--jw-paper:  #f8f6f2;
	--jw-warm:   #e8e4df;
	--jw-white:  #ffffff;
	--jw-ease:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---- full-height takeover + scroll lock ----
   The drawer and its dimmed overlay are WooCommerce's own: fixed, full viewport
   height, z-index above the sticky header (9999 > 1000), close button on the
   panel. Two gaps to close:

   1) SCROLL-BEHIND. WooCommerce sets body{overflow:hidden} while the drawer is
      open, but iOS Safari ignores that for touch-drag, so the page scrolls behind
      the fixed drawer — the sticky nav slides under the scrim and the fixed close
      button jitters/disappears. Lock the ROOT element (more reliable than <body>
      on iOS) while the overlay is in its open state, and `overscroll-behavior:
      contain` so the drawer's own scroll can't chain into the page. Keyed off
      WooCommerce's own open-state class (`--with-slide-in`) so it only applies
      while the drawer is actually open. Scoped to the drawer's full-screen
      breakpoint so the desktop scrollbar never toggles (no reflow jump). */
@media (max-width: 1180px){
	html:has(.wc-block-components-drawer__screen-overlay--with-slide-in){
		overflow: hidden;
	}
}
.wc-block-components-drawer__screen-overlay,
.wc-block-mini-cart__drawer.wc-block-components-drawer{
	overscroll-behavior: contain;
}

/* 2) SCRIM. WooCommerce's default backdrop is a light 35% grey, so the nav bar
      reads through it and the takeover feels half-committed. Brand ink at 55%. */
.wc-block-components-drawer__screen-overlay{
	background: rgba(17, 17, 17, .55);
}

/* ---- drawer shell: airier padding, brand type ---- */
.wc-block-mini-cart__drawer{
	--mc-pad: 30px;
}
.wc-block-mini-cart__drawer .wc-block-mini-cart__template-part,
.wc-block-mini-cart__drawer .wc-block-components-drawer__content{
	font-family: var(--sans);
	color: var(--jw-text);
	background: var(--jw-white);
}

/* un-pin the footer: sit it under the items instead of leaving a mid-drawer void */
.wc-block-mini-cart__drawer .wc-block-mini-cart__template-part div:has(> .wc-block-mini-cart__footer){
	justify-content: flex-start;
}

/* ---- title: Cormorant italic, quiet, count suppressed ---- */
.wc-block-mini-cart__title.wc-block-mini-cart__title,
.wc-block-mini-cart__drawer .wc-block-mini-cart__title{
	font-family: var(--serif);
	font-style: italic;
	font-weight: 400;
	font-size: 30px;
	line-height: 1;
	letter-spacing: 0;
	color: var(--jw-text);
	padding: 4px var(--mc-pad) 0;
	margin: 0;
	/* WooCommerce fades the title's bottom 24px with a mask-image gradient
	   (linear-gradient(#000 calc(100% - 24px), transparent)) — kill it. */
	-webkit-mask-image: none;
	mask-image: none;
}
.wc-block-mini-cart__drawer .wc-block-mini-cart__title > span:last-child{ /* "(items: N)" */
	display: none;
}
/* hairline under the header */
.wc-block-mini-cart__drawer .wc-block-mini-cart__items{
	/* grow 0 = don't stretch (that was the source of the dead void), but SHRINK
	   must stay allowed: with several items the list otherwise pushes the
	   subtotal/checkout footer past the bottom of the fixed-height drawer with
	   no way to scroll to it. min-height:0 beats the flex-column default
	   (min-height:auto) so the list can actually compress and scroll instead. */
	flex: 0 1 auto;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	margin-top: 20px;
	padding: 4px var(--mc-pad) 0;
	border-top: 1px solid rgba(17,17,17,.12);
}

/* ---- strip default table chrome ---- */
.wc-block-mini-cart__drawer .wc-block-mini-cart__products-table,
.wc-block-mini-cart__drawer table.wc-block-mini-cart-items,
.wc-block-mini-cart__drawer table.wc-block-mini-cart-items tbody,
.wc-block-mini-cart__drawer table.wc-block-mini-cart-items tr,
.wc-block-mini-cart__drawer table.wc-block-mini-cart-items td,
.wc-block-mini-cart__drawer table.wc-block-mini-cart-items th{
	border: 0 !important;
	background: none;
	padding: 0;
}
.wc-block-mini-cart__drawer table.wc-block-mini-cart-items{ width: 100%; }

/* ---- line-item row: image | details | total, hairline between ---- */
.wc-block-mini-cart__drawer .wc-block-cart-items__row td{
	vertical-align: top;
	padding: 24px 0 !important;
	border-bottom: 1px solid rgba(17,17,17,.08);
}
.wc-block-mini-cart__drawer .wc-block-cart-items__row:last-child td{ border-bottom: 0; }

/* image — mini-cart outputs a bare <img> AND a linked <a><img>; show only one.
   The gap must out-specify the row rule `…__row td { padding: 24px 0 !important }`
   (0,2,1), so it carries td.<class> = (0,2,2). Matches the concept's 20px column gap. */
.wc-block-mini-cart__drawer .wc-block-cart-items__row td.wc-block-cart-item__image{
	width: 76px;
	padding-right: 20px !important;
}
.wc-block-mini-cart__drawer .wc-block-cart-item__image > img{ display: none; }
.wc-block-mini-cart__drawer .wc-block-cart-item__image a img{
	width: 76px; height: 92px; object-fit: cover; background: var(--jw-warm); display: block;
}

/* product name -> serif, no default underline */
.wc-block-mini-cart__drawer .wc-block-components-product-name{
	font-family: var(--serif);
	font-weight: 500;
	/* !important on size/leading too — WooCommerce's own rule
	   (table.wc-block-cart-items … .wc-block-components-product-name) is more
	   specific (0,3,1) and would otherwise pin the name to 14px. */
	font-size: 20px !important;
	line-height: 1.08 !important;
	letter-spacing: -.005em;
	color: var(--jw-text);
	text-decoration: none;
	display: inline-block;
}
.wc-block-mini-cart__drawer a.wc-block-components-product-name:hover{
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: .5px;
}

/* line total (right column) -> mono, once */
.wc-block-mini-cart__drawer .wc-block-cart-item__total{ text-align: right; padding-left: 14px; }
.wc-block-mini-cart__drawer .wc-block-cart-item__total .wc-block-components-product-price,
.wc-block-mini-cart__drawer .wc-block-cart-item__total .wc-block-formatted-money-amount{
	font-family: var(--mono);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: .03em;
	color: var(--jw-text);
	font-variant-numeric: tabular-nums;
}

/* remove -> refined "Remove" text in place of the bin glyph */
.wc-block-mini-cart__drawer .wc-block-cart-item__remove-link{
	margin-top: 14px !important;
	font-family: var(--mono) !important;
	font-size: 10px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--jw-ghost);
	line-height: 1;
	opacity: 1;
}
.wc-block-mini-cart__drawer .wc-block-cart-item__remove-link svg{ display: none; }
.wc-block-mini-cart__drawer .wc-block-cart-item__remove-link::after{ content: "Remove"; }
.wc-block-mini-cart__drawer .wc-block-cart-item__remove-link:hover{
	color: var(--jw-text);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: .5px;
}

/* ---- suppress the noise: unit price, marketing description, qty stepper, sale/backorder badges ----
   (pieces are one-off / single-stock; quantity is adjusted on the full cart page) */
.wc-block-mini-cart__drawer .wc-block-cart-item__prices,
.wc-block-mini-cart__drawer .wc-block-components-product-metadata__description,
.wc-block-mini-cart__drawer .wc-block-cart-item__quantity .wc-block-components-quantity-selector,
.wc-block-mini-cart__drawer .wc-block-components-sale-badge,
.wc-block-mini-cart__drawer .wc-block-components-product-price__regular{
	display: none !important;
}

/* ---- attribute spec line (metal · gemstone), injected via woocommerce_get_item_data ---- */
.wc-block-mini-cart__drawer .wc-block-components-product-metadata{ margin-top: 8px; }
.wc-block-mini-cart__drawer .wc-block-components-product-details{ margin: 0; padding: 0; }
.wc-block-mini-cart__drawer .wc-block-components-product-details__name{ display: none; }
.wc-block-mini-cart__drawer .wc-block-components-product-details,
.wc-block-mini-cart__drawer .wc-block-components-product-details li,
.wc-block-mini-cart__drawer .wc-block-components-product-details__value{
	font-family: var(--mono);
	font-size: 9px;              /* tightened so metal · stone · stone fits one line */
	font-style: normal;
	font-weight: 400;
	letter-spacing: .03em;
	text-transform: uppercase;
	color: var(--jw-ghost);
	line-height: 1.5;
	list-style: none;
}

/* ---- footer: reassurance preamble, then subtotal + a clear primary CTA ---- */
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer{
	flex-shrink: 0;   /* the items list scrolls; the footer must never compress */
	padding: 0 var(--mc-pad) 30px !important;
	border-top: 0 !important;
}
/* reassurance block fills the space that used to be dead */
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer::before{
	content: "Insured UK delivery \A 14 Day returns";
	white-space: pre-line;
	display: block;
	font-family: var(--mono);
	font-size: 10px;
	line-height: 2.1;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--jw-text-2);
	padding: 22px 0 24px;
	border-top: 1px solid rgba(17,17,17,.08);
	margin-bottom: 4px;
}

/* subtotal row */
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-subtotal{
	padding: 14px 0 0;
	border-top: 1px solid rgba(17,17,17,.12);
}
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-subtotal .wc-block-components-totals-item__label{
	font-family: var(--sans);
	font-weight: 600;
	font-size: 11px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--jw-text);
}
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-subtotal .wc-block-components-totals-item__value{
	font-family: var(--mono);
	font-size: 16px;
	font-weight: 400;
	letter-spacing: .02em;
	color: var(--jw-text);
	font-variant-numeric: tabular-nums;
}
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-subtotal .wc-block-components-totals-item__description{
	font-family: var(--sans);
	font-size: 11.5px;
	line-height: 1.5;
	color: var(--jw-text-2);
	margin-top: 7px;
}

/* ---- actions: solid-black primary, quiet secondary text link ---- */
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-actions{
	display: flex;
	flex-direction: column;
	gap: 13px;
	margin-top: 20px;
}
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-checkout{
	order: 1;
	width: 100%;
	background: var(--jw-text);
	color: var(--jw-paper);
	border: 0;
	border-radius: 0;
	font-family: var(--sans);
	font-weight: 600;
	font-size: 11px;
	letter-spacing: .22em;
	text-transform: uppercase;
	padding: 15px 20px;
	min-height: 0;
	transition: background .2s var(--jw-ease);
}
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-checkout:hover{ background: #000 !important; }
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-cart{
	order: 2;
	width: 100%;
	background: none;
	border: 0;
	color: var(--jw-text-2) !important;
	font-family: var(--mono);
	font-weight: 400;
	font-size: 10.5px;
	letter-spacing: .14em;
	text-transform: uppercase;
	padding: 4px;
	min-height: 0;
	text-decoration: none;
	box-shadow: none !important;
}
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-cart:hover{
	color: var(--jw-text) !important;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: .5px;
	background: none !important;
}

/* ---- empty state: keep it on-brand too ---- */
.wc-block-mini-cart__drawer .wc-block-mini-cart__empty-cart-wrapper{ padding: 0 var(--mc-pad); }
.wc-block-mini-cart__drawer .wc-block-mini-cart__shopping-button{
	background: var(--jw-text) !important;
	color: var(--jw-paper) !important;
	border: 0 !important;
	border-radius: 0 !important;
	font-family: var(--sans) !important;
	font-weight: 600;
	font-size: 11px;
	letter-spacing: .22em;
	text-transform: uppercase;
	padding: 15px 24px !important;
}

@media (max-width: 480px){
	.wc-block-mini-cart__drawer{ --mc-pad: 22px; }
	.wc-block-mini-cart__drawer .wc-block-mini-cart__title{ font-size: 27px; }
}

/* source: assets/css/section-patterns.css */
/* ============================================================
   THE JEWELLERY WORKSHOP — Section patterns (design system v4 · minimal)
   Consolidated stylesheet for ALL section block patterns in
   /patterns (home, bespoke, repairs, valuations, ring-sizing,
   claw-retipping) and the footer template part.

   Everything is scoped under .tjw so it never leaks into the rest
   of the site or the editor. The mega navigation (mega-nav.css) and
   header bar (header.css) inherit the tokens defined here — this is
   the single source of truth for the brand look.

   Brand palette — The Jewellery Workshop (v4 · minimal):
     Workshop Mist   #f9f8f6  page ground (brand primary)
     Light Grey      #eae9e6  media / thumbnail panels
     Onyx Black      #161616  all text
     Goldsmith Garnet #5b1f23 inverted (dark) sections + footer
     Peach Quartz    #cd8f60  single warm accent, used sparingly

   v4 changes (more minimal, more negative space):
     - warm Workshop-Mist ground -> neutral very light grey
       (REVERSED 2026-07-29 at owner's request: the ground is the brand's
        Workshop Mist #f9f8f6 again. The remaining neutrals — --bg-2 panels,
        --line hairlines — are still the de-warmed greys and now sit slightly
        cool against it; re-warming those is a separate decision.)
     - lighter hairlines (.13 -> .09) so rules whisper
     - opened-up spacing: wider gutters, taller sections, bigger gaps
     - shorter hero so the fold sits below the actions

   Typography:
     display / serif -> "Newsreader"
     body / UI       -> "Satoshi"
     mono labels     -> "Overpass Mono"
   These three families load once, site-wide, via a single <link> in <head>
   (greyd_child_font_assets() in functions.php) — preferred over an @import,
   which is parse-blocked behind this stylesheet. One type system now serves
   both the marketing patterns and the WooCommerce surfaces.
   ============================================================ */

/* ---------- shared tokens ----------
   :where(.tjw, .tjw-tokens) so BOTH the marketing patterns (wrapped in .tjw)
   and the WooCommerce/commerce surfaces (which sit outside .tjw's DOM subtree
   entirely — single-product, cart, checkout, mini-cart drawer, wishlist —
   but get .tjw-tokens via body_class(), see greyd_child_body_class() in
   inc/theme-assets.php) resolve the exact same custom properties. :where()
   keeps this at zero specificity so it can't out-rank anything downstream.
   jw-commerce.css / mini-cart.css used to redeclare their own --jw-* copy of
   this whole block (twice, in jw-commerce.css) because they had no other way
   to reach these tokens outside .tjw — that duplication is gone now; they
   reference these directly.
   .editor-styles-wrapper is added so these tokens also resolve inside the
   block-editor canvas (where <body> gets neither .tjw nor .tjw-tokens), letting
   header.css / footer / patterns render token-correct while editing. That class
   only exists in the editor, so this branch is inert on the front end. */
:where(.tjw, .tjw-tokens, .editor-styles-wrapper){
	/* Solid tokens read from the site's GLOBAL palette (theme.json → editor's
	   Styles → Colours), so changing a colour there re-skins every pattern, the
	   header, the mega nav and the footer at once. The hex after each comma is a
	   fallback only if a palette slug is ever removed. */
	--bg:var(--wp--preset--color--background,#f9f8f6);   /* page ground, back to #f9f8f6 (owner, 2026-10-23, after trying #fffefd); not a brand neutral — Workshop Mist #FDF7F1 is the fallback */
	--bg-2:var(--wp--preset--color--secondary,#eae9e6);  /* Light Grey — media/thumbnail panels */
	--ink:var(--wp--preset--color--foreground,#161616);  /* Onyx Black — all text (garnet warm-monochrome trial 2026-07-20 reverted next day) */
	--dark:var(--wp--preset--color--dark,#5b1f23);       /* Goldsmith Garnet — inverted (dark) sections */
	--bronze:var(--wp--preset--color--accent,#cd8f60);   /* Peach Quartz — single warm accent, used sparingly */
	/* Opacity steps are mixed from the tokens above, so they follow any global
	   palette change automatically (no hard-coded rgba to keep in sync). */
	/* Secondary/dim greys nudged up to clear WCAG AA on the Mist-Grey ground.
	   --ink-60 targets 4.5:1 (normal-text AA, were 58% = 4.3:1). --ink-40 was
	   previously restored to 46% (~3:1) on the theory it's only used on large/
	   decorative elements where the AA large-text floor applies — but a real
	   Lighthouse audit (2026-07-05) showed its actual usage is dominated by
	   small text (.meta--dim, .num, and dozens of small mono labels site-wide,
	   all well under the 18pt/14pt-bold large-text threshold), rendering at
	   2.97:1 and failing AA. Bumped to 62% (matching --ink-60, ~4.9:1) so every
	   small-text consumer passes; the two tokens are visually identical again
	   as a result, which is a real, accepted tradeoff for this one — AA
	   compliance on real content wins over the two-tier muted-grey distinction. */
	/* Type pass 2026-10-23 (guide tjw.css): no text token under 7:1. Muted 62% -> 74%
	   (7.7:1 on #fffefd), reading 80% -> 88% (12.7:1), tertiary 72% -> 80%. Field and
	   qty boundaries keep the old 62% as --edge, so darker type does not darken boxes. */
	--ink-60:color-mix(in srgb,var(--ink) 74%,var(--bg));
	--ink-40:color-mix(in srgb,var(--ink) 74%,var(--bg));
	--ink-80:color-mix(in srgb,var(--ink) 88%,var(--bg));  /* article body — softer than pure Onyx */
	--edge:color-mix(in srgb, var(--ink) 62%, transparent);    /* boundaries only: field boxes, qty. 5.0:1 on white */
	--line:color-mix(in srgb, var(--ink) 9%, transparent);   /* light hairlines */
	--line-2:color-mix(in srgb, var(--ink) 16%, transparent);  /* stronger hairline — chip borders */
	--ink-70:color-mix(in srgb,var(--ink) 80%,var(--bg));  /* tertiary text — between ink-80 body and ink-60 */
	--paper-60:color-mix(in srgb,var(--bg) 84%,var(--dark,#5b1f23));
	/* 55% -> 60%: the (03)/dim labels on the Garnet dark sections were 4.49:1. */
	--paper-40:color-mix(in srgb,var(--bg) 60%,var(--dark,#5b1f23));
	--line-d:color-mix(in srgb, var(--bg) 18%, transparent);
	/* Brand palette, all seventeen colours from the April 2026 brand guidelines
	   (00-Branding PDF, p33-36), by brand name. Each reads its theme.json slug, so the
	   editor's Styles > Colours stays the single source. Named for reference and new
	   work; the role tokens above (--bg, --bg-2, --ink, --dark, --bronze) are what the
	   patterns use. The page ground --bg is still #f9f8f6: --mist is the brand's true
	   Workshop Mist, pending a test against the product and portfolio plates.
	   Contrast for text: Peach on Garnet 4.6:1 and on Emerald 5.8:1, but 2.6:1 on
	   Mist; Pumice is 2.4:1 on Mist, so never text. */
	/* primary */
	--garnet:var(--wp--preset--color--dark,#5b1f23);              /* Goldsmith Garnet */
	--peach:var(--wp--preset--color--accent,#cd8f60);             /* Peach Quartz */
	--mist:var(--wp--preset--color--workshop-mist,#fdf7f1);       /* Workshop Mist */
	/* secondary */
	--emerald:var(--wp--preset--color--legacy-emerald,#1b251e);   /* Legacy Emerald */
	--brown:var(--wp--preset--color--andalusite-brown,#3a2722);   /* Andalusite Brown */
	--ochre:var(--wp--preset--color--ochre-red,#8c3e2d);          /* Ochre Red */
	--purple:var(--wp--preset--color--regal-purple,#2e223e);      /* Regal Purple */
	--moss:var(--wp--preset--color--artisan-moss,#71714f);        /* Artisan Moss */
	/* accent */
	--sky:var(--wp--preset--color--tourmaline-sky,#7896ae);       /* Tourmaline Sky */
	--amethyst:var(--wp--preset--color--amethyst-dust,#9372a2);   /* Amethyst Dust */
	--topaz:var(--wp--preset--color--topaz-yellow,#c48d30);       /* Topaz Yellow */
	--hessonite:var(--wp--preset--color--hessonite-orange,#994e16); /* Hessonite Orange */
	/* tertiary neutrals */
	--onyx:var(--wp--preset--color--darkest,#161616);             /* Onyx Black */
	--linen:var(--wp--preset--color--antique-linen,#d3c6b6);      /* Antique Linen */
	--parchment:var(--wp--preset--color--parchment-paper,#eeeae3); /* Parchment Paper */
	--pumice:var(--wp--preset--color--pumice-stone,#af9f93);      /* Pumice Stone */
	--alabaster:var(--wp--preset--color--alabaster-white,#e0dcd5); /* Alabaster White */
	/* Error colour — the only new colours the form spec needed (2026-10-11).
	   ⚠ TWO values, because no single red clears AA on both grounds the enquiry form
	   uses. Measured: #c2413a is 4.81:1 on paper and 2.47:1 on garnet; every lighter
	   red that clears garnet (e.g. #ec8078 at 4.76:1) drops to 2.50:1 on paper. The
	   ground decides, so the ground carries the choice — see --field-alert below.
	   Garnet itself cannot do this job: it is the brand colour. */
	--alert:#c2413a;    /* on paper  #f9f8f6 — 4.81:1, AA for the message text */
	--alert-d:#ec8078;  /* on garnet #5b1f23 — 4.76:1, and 3:1+ for the 2px underline */
	/* Greyd's theme-adaptor (greyd-plugin) hardcodes input padding at :root (1.33em),
	   which shadows the theme.json token. Re-declaring it here wins for Greyd's own
	   inputs by proximity (nearest ancestor), so Woo controls read 0.85em rather than
	   1.33em. ⚠ This no longer reaches the enquiry fields: `.tjw .field input` now
	   declares its own 12px/16px padding per the form spec below, because 0.85em
	   resolved to 13.6px and put every value 13.6px right of its own label. */
	--wp--custom--greyd--input--spacing--padding--left:0.85em;
	--wp--custom--greyd--input--spacing--padding--right:0.85em;
	--serif:var(--wp--preset--font-family--heading,"Newsreader",Georgia,serif);
	/* Brand title face — Newsreader (free · OFL · self-hosted), for primary display
	   headings only. (Was Cormorant Garamond; swapped 2026-07. Earlier Adobe Ming via
	   Typekit kit usv0cks, removed to run a single font service — see functions.php.)
	   Kept as its own token so a future display face can diverge from --serif. */
	--title:"Newsreader",Georgia,serif;
	--sans:"Satoshi","Satoshi Fallback",-apple-system,"Segoe UI",Helvetica,Arial,sans-serif;
	--mono:"Overpass Mono","Courier New",monospace;
	--ease:cubic-bezier(.4,0,.2,1);
	--ease-big:cubic-bezier(.16,1,.3,1);
	--tjw-header-h:80px;  /* sticky header height — single source of truth. Read by
	                         header.css (.jw-header min-height), mega-nav.css (the
	                         top-level trigger row + drawer offsets), the .filter bar,
	                         the sticky meta rails and the hero min-height calcs.
	                         80px on desktop, stepping down to 60px at the nav
	                         breakpoint — see the @media block just below the token
	                         list. Anything that needs to sit clear of the bar should
	                         calc() off this rather than hard-coding a number. */

	/* ---- SCALE TOKENS ----
	   Spacing, type, tracking and radius scales distilled from the literal
	   values already in use across the patterns + commerce CSS. */

	/* spacing — 4px base; these are the px values already most used.
	   --sp-20 added to match jw-commerce.css's own scale (used twice there;
	   its --jw-sp-32 sibling had zero usages anywhere and was dropped).
	   Each step now reads its theme.json preset (settings.spacing.spacingSizes,
	   slugs tjw-*) so theme.json is the single source of truth and the page
	   builder shares the SAME scale; the px after the comma is the fallback. */
	--sp-1:var(--wp--preset--spacing--tjw-1,4px);   --sp-2:var(--wp--preset--spacing--tjw-2,8px);   --sp-3:var(--wp--preset--spacing--tjw-3,12px);  --sp-4:var(--wp--preset--spacing--tjw-4,16px);  --sp-5:var(--wp--preset--spacing--tjw-5,20px);
	--sp-6:var(--wp--preset--spacing--tjw-6,24px);  --sp-8:var(--wp--preset--spacing--tjw-8,32px);  --sp-10:var(--wp--preset--spacing--tjw-10,40px); --sp-12:var(--wp--preset--spacing--tjw-12,48px); --sp-16:var(--wp--preset--spacing--tjw-16,64px); --sp-20:var(--wp--preset--spacing--tjw-20,80px); --sp-24:var(--wp--preset--spacing--tjw-24,96px);
	/* 2026-07-30 — steps 9/11/18/28 added closing F2. 36/44/72 were ALREADY exact
	   4px multiples sitting in the CSS as literals with no token to name them, so
	   these three are pure naming: not one rendered pixel moves. 112 is new — it
	   is where the off-grid 110px snaps to. */
	--sp-7:var(--wp--preset--spacing--tjw-7,28px);  --sp-9:var(--wp--preset--spacing--tjw-9,36px);  --sp-11:var(--wp--preset--spacing--tjw-11,44px); --sp-18:var(--wp--preset--spacing--tjw-18,72px); --sp-28:var(--wp--preset--spacing--tjw-28,112px);
	/* 2026-10-14 — GRID GAPS, stage 6 of the layout simplification (grids.md).
	   Eighteen declarations moved a literal gap onto the step it already equalled
	   (4/12/16/20/24/28/32/40/48/64px), so the step is visible where the number
	   was; by construction not one rendered pixel moves. Three others DO move:
	   the 60px gaps on .chero__grid, .hero-split and .jfeat became --sp-16, 4px
	   wider, because 60px was the one literal with no step to snap to.
	   Nine off-scale values are kept on purpose rather than rounded, and that is
	   the decision, not an oversight: 1px (.nf__links draws a hairline separator
	   as a gap — not rhythm, so a spacing token would be a category error), 6px
	   (a label gap set against the type; 4 and 8 close or open it), 10px (the
	   journal row's collapse gap), 14px (spec and step label gutters, set against
	   an 84px label column), 15px (wishlist phone gutter), 18px and 30px (the
	   shape picker's grid), 34px (.jw-grid rows), 50px (.cgrid rows). Absorbing
	   any of them into a neighbour SHIFTS layout for a naming gain only — the
	   same call the reading measures below record — so a new off-scale value is
	   a decision to make, not a number to round, and `python gap-census.py --check`
	   fails on one that is not recorded here.
	   Evidence: evidence/gaps/gap-census.json and gap-audit.json. */

	/* Two quantities, not one (2026-07-26). --gutter is the MINIMUM breathing
	   room at the viewport edge and rules the page below --content-max;
	   --content-max caps the column above it. The gutter alone cannot make a
	   wide screen feel narrower — it tops out while the content keeps growing.
	   --content-max keeps the shape of theme.json's wide-size idiom, and as of
	   stage 6 theme.json READS this token rather than repeating the formula, so
	   the two cannot drift: fluid, so the page keeps growing with the screen, just
	   slower than the screen does. Both read theme.json custom tokens.
	   theme.json cannot carry a comment, so the one thing it says about widths is
	   recorded here: contentSize is the PARENT theme's value (min(100vw,
	   calc(32vw + 32rem)), greyd-theme/theme.json), forked into the child
	   explicitly at stage 6 rather than left to inheritance. It governs plain
	   children of core's constrained layout, not .wrap — and every constrained
	   child on the fifteen routes sampled at stage 6 is .alignwide, which takes
	   wideSize instead, so the two sizes have never been seen to disagree on
	   screen. Measured in evidence/gaps/layout-widths.json.
	   2026-10-20, large-screen pass: --content-max now stops at 1600px. Viewed on
	   a large desktop the fluid formula kept widening the column (1875px at 2560)
	   while the header and hero ran edge to edge, so nothing read as contained.
	   The 1600px ceiling only bites above ~1950px of viewport. Separately, the
	   header bar and the split hero now follow .wrap's cap wherever it bites
	   (~1540px up) instead of running to the viewport edge; below that nothing
	   moves. */
	--gutter:var(--wp--custom--tjw--gutter,clamp(16px,5vw,64px));
	--content-max:var(--wp--custom--tjw--content-max,min(calc(46vw + 44rem), 1600px));

	/* reading measures (F3, 2026-07-30) — named at the values ALREADY in use, so
	   adopting them moved nothing. These are the six that repeat across the
	   editorial layer; --measure-md is the de-facto standard at 8 consumers.
	   Deliberately NOT a collapse: values used twice (340, 380, 460, 480, 560,
	   680) and the one-offs (320, 360, 620, 780, 920, 1040) keep their literals,
	   because absorbing them into a neighbour SHIFTS layout and is a design
	   call, not a cleanup. Making the six accountable first means that call is
	   later a token edit rather than a hunt. Component widths (the product
	   rail, the modal panel, the search overlay, the account shell) are not
	   reading measures and are left out on purpose. */
	--measure-xs:300px;    /* tight note — footer intro, newsletter, band note */
	--measure-sm:440px;    /* lede — chero, feature-split body, process step   */
	--measure-md:520px;    /* standard body measure — the house default        */
	--measure-lg:640px;    /* long-form prose — journal piece, story pair      */
	--measure-xl:760px;    /* wide text section — legal, feature figure        */
	--measure-quote:1000px;/* centred display quote — wider than prose BY DESIGN */

	/* grid primitive — single source of truth for the editorial 12-column track
	   (à la Klim's --gridColumnCount). FOUR rules read --tjw-cols, and all four
	   are 12-col layouts: .coll__grid and .cgrid in this file, plus the product
	   hero (.single-product .jw-sp-hero) and the product information grid
	   (.single-product .jw-sp-pi-grid) in jw-commerce.css. So the desktop
	   column count changes in ONE place.
	   NOT consumers, though this comment used to name them: .story__grid
	   (editorial.css — it writes minmax(0,4fr) minmax(0,7fr) longhand) and
	   .coll__pc, which is a flex scroller with no grid at all.
	   Per-section GAPS and the per-section MOBILE collapse stay deliberately
	   independent — story→1col, coll/cgrid→2col are intentional editorial
	   choices, not a shared breakpoint to "fix". */
	--tjw-cols:12;

	/* breakpoints — the two house boundaries and the phone step, named once.
	   These name the values; they are NOT substituted into the @media conditions
	   below, because a custom property cannot be read inside a media query
	   prelude. Measured in Chrome, 2026-10-13: at a 400px viewport
	   `@media (max-width: 500px)` matched while `@media (max-width: var(--bp))`
	   did not, in the same document. (@custom-media is no help either — Chrome
	   drops the at-rule and `@media (--bp-md)` never matches.)
	   So the agreement is enforced instead of substituted: run
	   `python projects/website-design-guide/check-breakpoints.py` and it fails if a
	   token loses its consumers or a condition appears at an unrecorded width.
	   The literals below are the operative value; these three are what they must
	   match. */
	--bp-sm:480px;   /* phone — .cgrid, .team, .nf__links and friends        */
	--bp-md:900px;   /* the house component-grid collapse, 21 conditions    */
	--bp-lg:1181px;  /* the min-width side of the 1180px nav boundary. NOT read
	                    in this file, which spells that boundary as
	                    max-width:1180px — the other half of the same pair.
	                    Its consumers are in mega-nav.css; the checker names
	                    them rather than leaving this as a claim.           */

	/* who owns every width in the inventory (grids.md §5), so no width is ever
	   counted as drift again:
	     ours to change   460 480 560 600 700 720 760 767 768 880 1081 1180 1181,
	                      and 900, which is now the whole child theme's tablet
	                      step: editorial.css moved onto it on 2026-10-13 (grids
	                      plan stage 3), so 860/861 is no longer a competing
	                      house boundary — it survives only on the account pages
	                      (jw-commerce.css) and the repairs carousel
	                      (repairs-spokes.css), each recorded rather than moved
	     ours, held to
	     WooCommerce's
	     own boundaries   640 781 782 960 — written in jw-commerce.css, but Woo's
	                      numbers mirrored, not a house decision
	     NOT ours         599  core/query-pagination, in the Greyd parent theme
	                      601  core/media-text, in the parent theme and Greyd blocks
	                      699  WooCommerce's own container query (mini-cart)
	                      1199 Greyd .grid-max-2…8
	   The last four are inherited: forking them is not tidying, so they are
	   recorded rather than adopted. */

	/* large-screen type lift (2026-10-20). 0px up to a 1280px viewport, rising to
	   1px at 1920px and holding there. Every size below adds a multiple of it, so
	   the scale is unchanged at 1280 and under and grows ~15-20% on a large
	   desktop, where 14px body copy read as small. The ramp was 1440→2400 at
	   first; moved earlier because Windows display scaling (125-150%) puts most
	   large monitors at a 1500-2050px CSS viewport, where that barely moved.
	   A length, not a ratio, because calc() cannot divide a length by a length —
	   so each step names its own gain in px at 1920. Sums live in custom
	   properties only (see the WP Rocket `+` note in blocks/hero-split/style.css). */
	--type-lift:var(--wp--custom--tjw--type-lift,clamp(0px, calc((100vw - 1280px) / 640), 1px));

	/* static type — UI / body sizes */
	/* Material-specimen house rule: micro-labels never below 11px. Bumping the
	   --fs-3xs floor 10→11 raises every mono eyebrow/caption/dt at once.
	   Values are the 1280 size + the lift: 11→12.5, 12→14, 13→15, 14→17,
	   16→19, 20→24, 24→29 at 1920. */
	--fs-3xs:calc(11px + var(--type-lift) * 1.5); --fs-2xs:calc(11px + var(--type-lift) * 1.5);
	--fs-xs:calc(12px + var(--type-lift) * 2); --fs-sm:calc(14px + var(--type-lift) * 2);
	--fs-ui:calc(16px + var(--type-lift) * 3); --fs-md:calc(16px + var(--type-lift) * 3);
	--fs-lg:calc(20px + var(--type-lift) * 4); --fs-xl:calc(24px + var(--type-lift) * 5);

	/* Material-specimen house-rules scale (opt-in; --fs-ui/UI stays 14px).
	   Reading copy opts into --fs-body (16→18px) in solid --ink; sections can
	   opt into the generous-air rhythm tokens. Each reads its theme.json preset
	   (fontSizes: body-read/lede; spacingSizes: tjw-section/-sm/-rule-gap) so the
	   page builder + Site Editor share the SAME values; px/clamp after the comma
	   is the fallback. */
	--fs-body:var(--wp--preset--font-size--body-read,calc(clamp(16px, 1vw + 0.6rem, 18px) + var(--type-lift) * 3));
	--fs-lede:var(--wp--preset--font-size--lede,calc(clamp(19px, 1.9vw, 25px) + var(--type-lift) * 5));
	--space-section:var(--wp--preset--spacing--tjw-section,clamp(100px, 9vw, 180px));
	--space-section-sm:var(--wp--preset--spacing--tjw-section-sm,clamp(72px, 6vw, 120px));
	--rule-gap:var(--wp--preset--spacing--tjw-rule-gap,clamp(44px, 6vh, 84px));
	/* the redesign's section rhythm (phase 2, .band in editorial.css) — the
	   successor to --space-section/-sm, which retire with their last .sec */
	--band:var(--wp--custom--tjw--band,clamp(64px, 8vw, 120px));

	/* fluid display — the quiet-luxury ramp (2026-07-26 redesign, phase 1).
	   Ceiling drops 132 -> 48: three real steps (H1/H2/H3) + the editorial
	   voice + the quote tier. Each reads its theme.json preset so the editor
	   shares the SAME ramp; the clamp after the comma is the fallback.
	   The old five-step scale (fd-1 132 / fd-2 100 / fd-3 66 / fd-4 44 /
	   fd-5 28 / fd-lede 40) is gone — fd-4 had zero consumers, fd-5 and
	   fd-lede survive below as @deprecated aliases until their consumers
	   migrate. See projects/jewellery-workshop-website/bespoke-rollout/. */
	--fd-1:var(--wp--preset--font-size--heading-1,calc(clamp(34px,3.05vw,44px) + var(--type-lift) * 6));
	--fd-2:var(--wp--preset--font-size--heading-2,calc(clamp(24px,2.1vw,30px) + var(--type-lift) * 4));
	--fd-3:var(--wp--preset--font-size--heading-3,calc(clamp(19px,1.45vw,21px) + var(--type-lift) * 2));
	/* the page's own voice — statements, story copy, standfirsts. Sits between
	   H2 (30) and H3 (21) without adding a heading step; stays on <p>. */
	--fd-voice:var(--wp--preset--font-size--voice,calc(clamp(20px,1.65vw,24px) + var(--type-lift) * 2));
	--fd-quote:calc(clamp(19px,2.2vw,23px) + var(--type-lift) * 4);
	/* @deprecated — phase-0 tracker. Aliases only; re-point consumers at their
	   band migration, then delete. */
	--fd-5:var(--fd-3);
	--fd-lede:var(--fd-voice);

	/* Newsreader ships as a 200-800 variable face, so 300 is a real axis
	   position, not synthesised. One token because every serif rule reads it.
	   Two documented exceptions stay at a literal 400:
	     - h2, where the weight is what makes a heading read as a heading
	       against the 30px/300 voice directly below it;
	     - four italic/display carve-outs (em.acc, .ph__tag b, the drop cap,
	       .footer__mark), each commented at its own rule.
	   Anything else on --serif or --title reads this token.

	   h1 and h3 carry no font-weight here: theme.json's element styles set
	   both from the same --wp--custom--tjw--serif-weight token, so the CSS
	   declaration was a duplicate of the value it was reading. Verified in
	   the live cascade 2026-08-22 — removing the declaration on all eight
	   serif h1/h3 rules left the computed weight at 300. */
	--serif-w:var(--wp--custom--tjw--serif-weight,400);

	/* Emphasis inside body copy. <strong>/<b> in a marketing paragraph reads
	   this; 500 is Satoshi's medium, enough to lift a phrase out of 400 prose
	   without going bold. The legal pages deliberately do NOT use it — see
	   .legal__body strong. */
	--emph-w:var(--wp--custom--tjw--emph-weight,500);

	/* letter-spacing (tracking) — tight relaxed -.02 -> -.015: reads cramped
	   at the new 48px ceiling (owner 2026-07-25). */
	--tr-tight:-.02em; --tr-snug:-.01em; --tr-0:0;
	--tr-wide:.05em;   --tr-wider:.08em; --tr-widest:.12em;

	/* radius — 0 stays a literal */
	--r-sm:2px; --r-md:5px;
}

/* Header bar height steps 80px -> 60px at the mega-nav breakpoint (1180px), where
   the nav collapses to the burger drawer and the bar only has to hold the wordmark
   + icon cluster. Kept as a hard step rather than a fluid clamp on purpose: the bar
   carries a 1px bottom hairline, and a fractional bar height puts that hairline on a
   fractional device-pixel row where it rasterises unevenly (same class of bug as the
   burger sub-pixel fix). Must come AFTER the token list — :where() is zero
   specificity, so source order is what decides the winner. */
@media (max-width:1180px){
	:where(.tjw, .tjw-tokens, .editor-styles-wrapper){ --tjw-header-h:65px; }   /* 60 -> 65 owner 2026-07-25 */
}

/* ---------- scoped base (marketing patterns only — NOT on .tjw-tokens,
   deliberately: this sets the actual rendered font/colour for the .tjw
   subtree, and commerce surfaces must keep rendering their own explicit
   per-selector font-family/color declarations unchanged) ---------- */
.tjw{
	background:var(--bg);
	color:var(--ink);
	font-family:var(--sans);
	font-size:var(--fs-ui);
	font-weight:400;
	line-height:1.6;
	letter-spacing:-.01em;
}
/* Back to the platform's smoothing (type pass 2026-10-23), site-wide: the parent
   theme's html{-webkit-font-smoothing:antialiased} thins every glyph on macOS and
   iOS, the opposite of the darker type the owner asked for. On html, where the
   parent sets it, so commerce pages (body.tjw-tokens, no .tjw) get it too. */
html{-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto}
.tjw *{box-sizing:border-box}
.tjw :where(p,h1,h2,h3,h4,h5,h6,blockquote,figure,ul,ol,cite){margin:0}
.tjw .wp-block-group{margin:0}
/* neutralise core block-gap margins; design spacing is explicit (grid/flex gap) */
.tjw .wp-block-group > *{margin-block-start:0}
/* Links inherit the surrounding font too: WordPress emits a global
   `a:where(:not(.wp-element-button)){font-family:var(--wp--preset--font-family--body)}`
   (0,0,1) that forces the sans body font on every anchor, so links in serif prose
   silently fell back to sans. This reset (0,2,1) already re-inherits colour and
   removes the underline; add font-family so a link always matches its context. */
.tjw a:not(.wp-block-button__link){color:inherit;text-decoration:none;font-family:inherit}
.tjw img,.tjw svg{display:block;max-width:100%}
.tjw ul,.tjw ol{list-style:none}
.tjw button{font:inherit;color:inherit;background:none;border:none;cursor:pointer}
.tjw ::selection{background:var(--dark);color:var(--bg)}

/* Italic accent holds 400, not --serif-w: 300 italic disappears inline
   against the 400 sans it sits in. Deliberate carve-out. */
.tjw em.acc{font-family:var(--serif);font-style:italic;font-weight:400;letter-spacing:0}

/* Header, every band and the footer all run through .wrap, so capping it here
   moves the whole page inward together and nothing drifts off the shared left
   edge. Below --content-max + 2x gutter the max-width doesn't bite, the auto
   margins resolve to 0 and this is exactly the old gutter-only rule. The old
   767px 18px override is gone — the gutter clamp's floor already lands there. */
.tjw .wrap{max-width:calc(var(--content-max) + var(--gutter)*2);margin-inline:auto;
	padding-left:var(--gutter);padding-right:var(--gutter)}

/* ---------- type roles ---------- */
.tjw .display{font-family:var(--title);font-weight:var(--serif-w);font-synthesis:none;letter-spacing:var(--tr-tight);line-height:1.1;text-wrap:balance}
.tjw .meta{font-family:var(--mono);font-size:var(--fs-3xs);font-weight:400;letter-spacing:var(--tr-wider);text-transform:uppercase}
.tjw .meta--dim{color:var(--ink-40)}
.tjw .num{font-family:var(--serif);font-style:italic;color:var(--ink-40)}
/* family 5, 2026-08-15 — two more shapes .meta/.meta--dim carried besides the
   .sec__head eyebrow: a decorative hero-top pair beside an h1/h2 that already
   says something else (.hero__meta, no numbering, never promotes), and a
   "(0n) Label" pair beside ANOTHER real heading rather than owning the
   section itself (.kicker — home's and contact-us's decision-13 instances,
   deferred whole to family 4; about's team-lead "(03) Meet the Team", which
   also keeps its .team-lead-scoped display/margin override, added
   alongside its own .meta rule above). Values verbatim from .tjw .meta/
   .tjw .meta--dim, zero-delta on every renamed consumer. */
.tjw .hero__meta,
.tjw .kicker{font-family:var(--mono);font-size:var(--fs-3xs);font-weight:400;letter-spacing:var(--tr-wider);text-transform:uppercase}
.tjw .hero__meta--dim,
.tjw .kicker--dim{color:var(--ink-40)}
/* contact-us's six .spec labels ("Address", "Hours", …) — item M's "second
   job" pattern (gotcha 17): a component-internal label, always carrying both
   .meta and .meta--dim together, no subtitle role. Values verbatim from
   both. */
.tjw .spec__label{font-family:var(--mono);font-size:var(--fs-3xs);font-weight:400;letter-spacing:var(--tr-wider);text-transform:uppercase;color:var(--ink-40)}

/* ---------- links & buttons ---------- */
.tjw .lnk{position:relative;display:inline-block}
.tjw .lnk::after{content:"";position:absolute;left:0;bottom:-2px;height:1px;width:100%;background:currentColor;transform:scaleX(1);transform-origin:left;transition:transform 350ms var(--ease-big)}
.tjw .lnk:hover::after{transform:scaleX(0);transform-origin:right}
.tjw .lnk--sm{font-size:14px;font-weight:500}
/* Repairs enquiry-panel lede — was an inline style on a Custom HTML block,
   moved here so the copy can live in a native paragraph block. */
.tjw .panel__lede{font-family:var(--serif);font-size:var(--fd-lede);max-width:560px;margin-bottom:28px}
.tjw .cta{display:inline-flex;align-items:center;gap:10px;font-size:var(--fs-ui);font-weight:500;letter-spacing:var(--tr-snug);background:var(--ink);color:var(--bg);padding:var(--sp-4) var(--sp-6);border-radius:var(--r-sm);transition:background-color 250ms var(--ease)}
.tjw .cta:hover{background:var(--dark)}
/* on garnet (.dark) sections, match the paper CTA already used for the
   surrounding "Request a valuation"-style buttons (is-style-tjw-paper /
   .cta--paper) instead of black→bronze, which reads inconsistently against
   the same panel's other buttons */
.tjw .dark .cta{background:var(--bg);color:var(--ink)}
.tjw .dark .cta:hover{background:#fff;color:var(--ink)}
/* (Greyd's button hover-border that used to grow the box is now neutralised at the
   source via theme.json settings.custom.greyd.button.prim.border.width = 0.) */
.tjw .cta--ghost{background:transparent;color:inherit;border:1px solid var(--ink-40)}
.tjw .cta--ghost:hover{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.tjw .cta--paper{background:var(--bg);color:var(--ink)}
.tjw .cta--paper:hover{background:#fff}
/* When .cta is a plain <a> (header/footer/masthead CTAs), the link reset
   `.tjw a:not(.wp-block-button__link)` (0,2,1) out-specifies `.tjw .cta` (0,2,0)
   and forces color:inherit → on the solid variant that's ink-on-ink (invisible).
   Re-assert each variant's text colour for anchors at matching specificity. */
.tjw a.cta{color:var(--bg)}
.tjw a.cta--ghost{color:inherit}
.tjw a.cta--paper{color:var(--ink)}
/* Force the ↗ / → arrows to render as monochrome TEXT, not a colour emoji
   (Windows Segoe UI Emoji otherwise shows them as a blue box-arrow). */
.tjw .arr,.tjw .cta,.tjw .lnk,.wp-block-button__link{font-variant-emoji:text}
.tjw .cta .arr{font-family:var(--sans);transition:transform 250ms var(--ease)}
.tjw .cta:hover .arr{transform:translate(2px,-2px)}
/* TJW button looks now live as core/button block-style variations in theme.json
   (is-style-tjw-solid / -paper / -ghost / -link) — registered in functions.php.
   The plain .cta/.lnk rules above remain for header/footer/mega-nav <a class="cta"> HTML. */
/* Pin the hover border: Greyd's elements.button:hover applies border-width 2px
   (--…greyd--button--prim--hover--border--width) and beats the theme.json variation
   at equal :where() specificity — which grew the button 4px on hover (page shift).
   These higher-specificity rules keep the border constant between states. */
.wp-block-button.is-style-tjw-solid > .wp-block-button__link:hover{border-width:0;border-style:none;background-color:var(--dark);color:var(--bg)}
.wp-block-button.is-style-tjw-paper > .wp-block-button__link:hover{border-width:0;border-style:none;background-color:#fff;color:var(--ink)}
.wp-block-button.is-style-tjw-ghost > .wp-block-button__link:hover{border-width:1px;border-style:solid;border-color:var(--ink);background-color:var(--ink);color:var(--bg)}
.wp-block-button.is-style-tjw-link > .wp-block-button__link:hover{border-width:0;border-style:none;background-color:transparent;color:inherit}
/* TJW Link: replicate the concept .lnk animated underline bar (theme.json can't do ::after) */
.wp-block-button.is-style-tjw-link > .wp-block-button__link{position:relative}
.wp-block-button.is-style-tjw-link > .wp-block-button__link::after{content:"";position:absolute;left:0;bottom:-2px;height:1px;width:100%;background:currentColor;transform:scaleX(1);transform-origin:left;transition:transform 350ms var(--ease-big)}
.wp-block-button.is-style-tjw-link > .wp-block-button__link:hover::after{transform:scaleX(0);transform-origin:right}
/* dark closing-band tagline (was inline-styled).
   Two selectors like .bespoke__foot-note: the bare class (0,2,0) loses to
   `.tjw .bespoke__foot p` (0,2,1) — which forces italic / --fd-5 / --paper-60 —
   so inside a .bespoke__foot the title needs the (0,3,0) form to win and keep
   the intended non-italic clamp-serif in --bg. */
.tjw .bespoke__foot-title,
.tjw .bespoke__foot .bespoke__foot-title{font-family:var(--serif);font-style:normal;font-size:var(--fd-lede);line-height:1.15;color:var(--bg);max-width:560px}
.tjw .bespoke__foot-title em{font-style:italic}

/* ---------- hero ---------- */
/* Hero fills the screen but leaves ~56px of clearance below the bottom-anchored
   CTA row so it never sits on (or under) the fold. The subtrahend was a literal
   116px (= 60px bar + 56px clearance); now that the bar steps 80/60 it reads the
   token, so the 56px of clearance is preserved at every width instead of being
   eaten by the taller desktop bar. */
.tjw .hero{min-height:calc(100svh - var(--tjw-header-h) - 56px);display:flex;flex-direction:column;margin-top:-16px}
/* when a breadcrumb precedes the hero, drop the -16px snug-up so the hero doesn't
   ride up over the .crumb text (see /anatomy-of-a-commission/) */
.tjw .crumb + .hero{margin-top:0}
/* when the WP admin bar is shown (logged-in), subtract its height too so the
   CTA row stays above the fold while editing */
body.admin-bar .tjw .hero{min-height:calc(100svh - var(--tjw-header-h) - 88px)}   /* 56 clearance + 32 admin bar */
@media screen and (max-width:782px){body.admin-bar .tjw .hero{min-height:calc(100svh - var(--tjw-header-h) - 102px)}}   /* 56 + 46 tall admin bar */
.tjw .hero--short{min-height:auto}
body.admin-bar .tjw .hero--short{min-height:auto}
/* RETIRED 2026-07-27 (band 1, hero): the .hero--facts trim — a min-height
   clawback that pulled the text hero up so the facts strip teased above the
   fold, plus its phone-side climbdown. /bespoke/ was its only consumer and it
   now opens on the over/under photographic hero, where the image reaching the
   fold IS the composition. 0 consumers, verified against the DB. */
.tjw .hero__top{display:flex;justify-content:space-between;gap:var(--sp-8);padding-top:0}
/* item M part 2, 2026-08-10 — successor for the hero eyebrow line that stays
   ("Walk-ins welcome — Diss", "By appointment — Diss", "Sapphire & white gold").
   Strictly additive: eight published pages still store `meta meta--dim` inside
   .hero__top and keep it until item A converts them, so nothing is removed. */
.tjw .hero__label{font-family:var(--mono);font-size:var(--fs-3xs);font-weight:400;
	letter-spacing:var(--tr-wider);text-transform:uppercase;color:var(--ink-40)}
.tjw .hero__title{margin-top:auto;padding-top:var(--sp-6);padding-bottom:var(--sp-5)}
.tjw .hero--short .hero__title{margin-top:0;padding-top:56px}
/* size by the smaller of width/height so a wide, short window can't blow the
   headline up and push the foot below the fold */
.tjw .hero__title h1{font-size:var(--fd-1)}
.tjw .hero__title h1 .ind{padding-left:.8em}
.tjw .hero__foot{display:flex;justify-content:space-between;align-items:flex-end;gap:var(--sp-10);flex-wrap:wrap;padding-bottom:var(--sp-9)}
/* child-page heroes (.hero--short) are sized on width alone — they don't fill
   the viewport, so the height cap above shouldn't shrink them on short windows */
.tjw .hero--short .hero__title h1{font-size:var(--fd-1)}
/* scoped-product landing pages (.hero--lp): their head lives in editorial.css */
/* the grid is a flow sibling immediately after the hero wrapper, so it inherits
   the theme block-gap; replace it with a tighter, deliberate gap. Scoped to the
   .tjw + .jw-sa adjacency, so the shop archive's <main class="jw-sa"> (not
   preceded by a .tjw sibling) is unaffected. */
.tjw + .jw-sa{margin-top:0}
.tjw .hero__lede{max-width:380px;font-size:var(--fs-body);line-height:1.6;color:var(--ink-60)}
.tjw .hero__lede strong{color:var(--ink);font-weight:var(--emph-w)}
.tjw .hero__actions{display:flex;align-items:center;column-gap:28px;row-gap:16px;flex-wrap:wrap}

/* breadcrumb (child pages) */
.tjw .crumb{display:flex;gap:10px;align-items:center;padding-top:var(--sp-8);font-family:var(--sans);font-size:var(--fs-sm);letter-spacing:normal;text-transform:none;color:var(--ink-60)}
.tjw .crumb a{color:var(--ink-60);transition:color 200ms var(--ease)}
.tjw .crumb a:hover{color:var(--ink)}

/* Page head (design guide v2, 2026-10-17; guide/tjw.css "PAGE HEAD"). Breadcrumb,
   title, one lede, actions: the guide's replacement for the full-height text
   .hero and its .hero__meta eyebrows, rolled out a route at a time. First user:
   /scrap-gold-buying-diss/. The breadcrumb inside it is the guide's Satoshi 13
   sentence case; the bare .crumb above stays mono until its own rollout row. */
.tjw .phead{padding-block:clamp(40px,6vw,96px) clamp(32px,4vw,64px);display:grid;gap:var(--sp-5)}
.tjw .phead .crumb{padding-top:0;font-family:var(--sans);font-size:var(--fs-sm);letter-spacing:normal;text-transform:none;color:var(--ink-60)}
.tjw .phead h1{margin:0}
.tjw .phead__lede{margin:0;font-size:var(--fs-body);line-height:1.6;color:var(--ink-80);max-width:52ch}
.tjw .phead__act{display:flex;gap:var(--sp-4);flex-wrap:wrap;align-items:center;margin-top:var(--sp-2)}

/* facts strip → editorial.css (2026-07-27, band 2 migrated on all 8
   consumers at once — first retirement of the rollout). Only the
   .hero--facts hero-trim rules above still key on the class name. */

/* ---------- marquee ---------- */
.tjw .marquee{overflow:hidden;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:var(--sp-4) 0;margin-top:var(--sp-12)}
.tjw .marquee__track{display:flex;gap:56px;width:max-content;animation:tjwMarq 80s linear infinite}
.tjw .marquee__track span{font-family:var(--mono);font-size:var(--fs-2xs);font-weight:400;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;color:var(--ink-60)}
.tjw .marquee__track .dot{color:var(--ink-40)}
@keyframes tjwMarq{to{transform:translateX(-50%)}}

/* ---------- section scaffolding ----------
   .sec / .sec--tight / .sec--tight-b / .sec__head RETIRED 2026-08-15
   (sixth-family sweep): zero consumers anywhere once families 1-5 and the
   #16127 mop-up converted every section to .band/.band--tight/.band--tight-b
   + .shead (editorial.css). Re-verified against the Local DB before
   deletion, all four tokens, not just the three the plan tracked —
   .sec__head turned out already dead too (mega-nav and the two journal
   posts key on bare .meta/.meta--dim, never .sec__head), which the plan's
   own blocker note had bundled in by mistake. patterns/33 was the one live
   emitter left of any of them; re-authored the same pass. */
@media(max-width:600px){.tjw .masthead__meta{flex-wrap:wrap;gap:var(--sp-1) var(--sp-5)}}
.tjw .dark{background:var(--dark);color:var(--bg)}
.tjw .dark .meta--dim{color:var(--paper-40)}
.tjw .dark .num{color:var(--paper-40)}
/* family 5, 2026-08-15 — home's "(03) Bespoke commissions" kicker sits
   inside .dark and needs the same paper-40 correction its .meta--dim
   ancestor got at 436; caught live (computed style read ink-40 on a garnet
   background) rather than assumed from the rename alone. */
.tjw .dark .kicker--dim{color:var(--paper-40)}

/* ---------- story ----------
   RETIRED 2026-07-27 with phase 2 band 3 — the whole family (.story__grid,
   .story__label, .story__body, .story__cols/--tight, .story__more,
   .story__photo, .design-pair) moved to editorial.css on the 4fr/7fr
   grammar, and all 39 sections on all 21 pages were re-authored in the same
   commit. .photo-band went with them: 0 consumers, dead since the /about/
   team shot became its own block.
   Only the standalone-.big fallback stays here — it addresses .sec, not
   .story, and the sections it names have not migrated.
   Carried line, family 3 (2026-08-15): the "come and see us" bands on the two
   bespoke spokes convert .sec > .band in this pass. Two of the five
   standalone .big instances now sit under .band; the other three (home,
   diamond-replacement x2) were still .sec at the time.
   `.tjw .sec > .big` dropped 2026-08-15 (sixth-family sweep): families 4 and
   5 closed the gap the same day, and re-verified live markup shows every
   remaining `.big` instance (home, diamond-replacement's two headings) is
   now a direct child of `.band`, not `.sec`. */
.tjw .band > .big{max-width:var(--measure-xl)}

/* ---------- dark display title ---------- */
.tjw .bespoke__title{font-size:var(--fd-2);margin-bottom:var(--sp-28)}
.tjw .bespoke__title .ind{padding-left:.8em}

/* index rows (.steps/.step) retired phase 2 (process band): all 10 lists on
   all 8 consumer pages re-authored to the editorial.css grammar in one pass —
   bare class names transferred, steps--light and step__link died with zero
   consumers. */
.tjw .bespoke__foot{display:flex;justify-content:space-between;align-items:center;gap:var(--sp-10);flex-wrap:wrap;margin-top:var(--sp-24)}
.tjw .bespoke__foot p{font-family:var(--serif);font-style:italic;font-size:var(--fd-5);color:var(--paper-60);max-width:var(--measure-md)}
/* smaller sans "call ahead" note variant (e.g. /about/ visit CTA). Must out-rank
   `.bespoke__foot p` (0,2,1) — the note lives inside .bespoke__foot, so a bare
   `.bespoke__foot-note` (0,2,0) loses and the note falls back to the serif-italic
   quote style. The `.bespoke__foot .bespoke__foot-note` form (0,3,0) wins; the bare
   form is kept for any standalone use outside a .bespoke__foot. */
.tjw .bespoke__foot-note,
.tjw .bespoke__foot .bespoke__foot-note{font-family:var(--sans);font-style:normal;font-size:var(--fs-md);color:var(--paper-60);max-width:380px}
.tjw .bespoke__foot .bespoke__foot-note strong{color:var(--bg)}
/* carat "worth" data table (scrap-gold /how-we-price-it/) — was an inline-styled
   wp:html <table>, now a native core/table with className "worth" (class lands on
   the .wp-block-table figure). These rules reproduce the old inline styling. */
.tjw .worth{overflow-x:auto;margin:8px 0 0}
.tjw .worth table{width:100%;border-collapse:collapse;font-size:16px}
.tjw .worth th,.tjw .worth td{border:0;padding:12px 16px 12px 0;text-align:left}   /* 16px right: the headers ran together at 390px (2026-10-17) */
.tjw .worth th{border-bottom:1px solid currentColor;font-weight:500}   /* guide: 500 is the heaviest sans weight */
.tjw .worth td{border-bottom:1px solid rgba(0,0,0,.1)}
.tjw .worth tr:last-child td{border-bottom:0}
/* ---------- materials ----------
   .mat / .mat__chip (chip card + hover rule) RETIRED 2026-08-15 (sixth-family
   sweep): zero consumers since 2026-08-06 (item E). `.mats` itself is NOT
   dead — #16127 and patterns/14 and /36 all still use it, always nested
   inside `.band` now (re-verified), so editorial.css's `.mats p` bare
   fallback retires with this block too, per its own comment's stated
   condition. */
.tjw .mats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--sp-12)}
@media(max-width:767px){.tjw .mats{grid-template-columns:1fr;gap:var(--sp-9)}}

/* ---------- team grid (About / Our Story) — four maker cards with a serif
   monogram, reusing the .mat card rhythm + brand tokens ---------- */
.tjw .team{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--sp-12)}
.tjw .team__card{border-top:1px solid var(--line);padding-top:var(--rule-gap)}
.tjw .team__mono{width:64px;height:64px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--bg-2);font-family:var(--serif);font-size:26px;line-height:1;color:var(--dark);margin-bottom:24px}
.tjw .team__name{font-family:var(--serif);font-size:var(--fs-xl);font-weight:var(--serif-w);letter-spacing:var(--tr-snug);margin-bottom:6px}
.tjw .team__role{font-family:var(--mono);font-size:var(--fs-3xs);letter-spacing:.06em;text-transform:uppercase;color:var(--ink-40);margin-bottom:16px}
.tjw .team__line{font-size:var(--fs-md);line-height:1.65;color:var(--ink-60)}
@media(max-width:900px){.tjw .team{grid-template-columns:1fr 1fr;gap:var(--sp-10) var(--sp-12)}}
@media(max-width:480px){.tjw .team{grid-template-columns:1fr;gap:var(--sp-9)}}

/* ---------- pricing rows ----------
   .prices / .prows / .prow / .prow__link RETIRED 2026-08-15 (sixth-family
   sweep): zero consumers since 2026-08-06 (item D) — every page migrated to
   the shared .rows subgrid (editorial.css), and patterns/33, the one
   emitter, re-authored to match. */

/* ---------- FAQ accordion — RETIRED 2026-07-27, band 8 ----------
   Moved to editorial.css on the mockup's terms. All 21 consumers migrated
   in one pass (the markup was already uniform, so it was a CSS-only move
   on 20 of them); zero remaining consumers here. */

/* ---------- enquiry form (dark) ----------
   ONE FIELD SPEC, applied 2026-10-11 from
   projects/website-design-guide/forms-research.md §5. Measured before this block:
   the light band's controls were 42.59px (controls) / 39px (selects), the garnet
   band 43.39px, and only the contact page's solo form hit 48px — a difference that
   existed by accident of which wrapper the shared partial sat in.

   The spec: 48px control (`--sp-12`), 12px/16px padding (`--sp-3`/`--sp-4`), the
   label sharing the control's left inset so the two edges agree, and a focus cue
   that thickens the underline. 48px clears WCAG 2.5.5 (AAA, 44px) as well as 2.5.8.

   ⚠ Three traps in this block, all of them logged in this file before:
     · The focus underline GROWS THE BOX by 1px unless padding gives the space back.
       `padding-bottom:calc(var(--sp-3) - 1px)` on focus is what keeps a control from
       shoving everything below it down as you tab through the form.
     · `transition:border-color 250ms` made the cue arrive a quarter-second after the
       keypress. 90ms, and it is visible on the same frame as the Tab.
     · The label's left padding has to match the control's, or every value sits
       13.6px right of its own label — which is what the light band did, while a
       comment in editorial.css claimed they were aligned.
   ------------------------------------------------------------------------- */
.tjw .form{display:grid;grid-template-columns:1fr 1fr;gap:var(--sp-6);--field-alert:var(--alert)}
.tjw .field{display:flex;flex-direction:column;gap:var(--sp-1);margin-bottom:0}
.tjw .field--full{grid-column:1/-1}
.tjw .field label{font-family:var(--mono);font-size:var(--fs-3xs);text-transform:uppercase;letter-spacing:.06em;color:var(--paper-40);padding-left:var(--sp-4)}
.tjw .field input,.tjw .field textarea,.tjw .field select{background:transparent;border:none;border-bottom:1px solid var(--line-d);border-radius:0;color:var(--bg);font:inherit;font-size:var(--fs-md);line-height:1.4;outline:none;min-height:var(--sp-12);padding:var(--sp-3) var(--sp-4);transition:border-color 90ms var(--ease)}
.tjw .field select{appearance:none;cursor:pointer;padding-right:var(--sp-8)}
.tjw .field input:focus,.tjw .field textarea:focus,.tjw .field select:focus{border-bottom-color:var(--bg) !important;border-bottom-width:2px;padding-bottom:calc(var(--sp-3) - 1px)}
/* underline-only inputs: never let Greyd add a full box border or a fill on
   hover/focus (it makes the placeholder unreadable) — keep just the underline */
.tjw .field input:hover,.tjw .field textarea:hover,.tjw .field select:hover,.tjw .field input:focus,.tjw .field textarea:focus,.tjw .field select:focus{background-color:transparent !important;border-top:0 !important;border-right:0 !important;border-left:0 !important; color: white;}
.tjw .field textarea{resize:vertical;min-height:var(--sp-24);line-height:1.6}
.tjw .field input::placeholder,.tjw .field textarea::placeholder{color:var(--paper-60)}
.tjw .field select option{color:#161616;background:var(--bg)}

/* Per-field error text. Replaces nothing: there was no element here at all, so the
   browser's own bubble was the entire error experience. 4px below the control, the
   clearance Carbon and Spectrum both specify.

   The colour comes from `--field-alert`, which the ground sets: `--alert` on paper,
   `--alert-d` on garnet, because no single red clears AA on both. Everything in the
   error treatment reads it — the message, the summary rule and the underline — so a
   new context only has to set one property.

   ⚠ The invalid underline is drawn with an INSET BOX-SHADOW, not with
   border-bottom-color, and that is deliberate. Both band re-skins in editorial.css
   set the focus colour with `!important` at (0,5,1), and a rule here at (0,3,0)
   cannot beat them however it is written — so an invalid field would have gone back
   to ink the moment it was focused, which is exactly when the user is looking at the
   field the message is about. Nothing in either file sets box-shadow, so the red is
   uncontested at any specificity and it survives focus. The border goes transparent
   rather than 0 so the box height does not change. */
.tjw .field .field__error,
.tjw .dark .field .field__error{margin:0;font-size:var(--fs-sm);line-height:1.5;color:var(--field-alert,var(--alert))}
.tjw .field .field__error[hidden]{display:none}
.tjw .field :where(input,select,textarea)[aria-invalid="true"]{
	border-bottom-color:transparent !important;
	border-bottom-width:2px;
	padding-bottom:calc(var(--sp-3) - 1px);
	box-shadow:inset 0 -2px 0 0 var(--field-alert,var(--alert))}

/* Error summary — GOV.UK's pattern. Role=alert on the container so it is announced
   when it appears; each entry repeats its field's message word for word. */
.tjw .form__errors{grid-column:1/-1;border:2px solid var(--field-alert,var(--alert));padding:var(--sp-4) var(--sp-5);margin-bottom:var(--sp-2)}
.tjw .form__errors[hidden]{display:none}
.tjw .form__errors:focus{outline:2px solid var(--ink);outline-offset:2px}
.tjw .form__errors-title{margin:0 0 var(--sp-2);font-size:var(--fs-ui);font-weight:600}
.tjw .form__errors-list{margin:0;padding-left:var(--sp-5);font-size:var(--fs-sm);line-height:1.6}
.tjw .form__errors-list a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.tjw .form__foot{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:var(--sp-5);flex-wrap:wrap;margin-top:28px}
/* enquiry foot: show the submit button before the reCAPTCHA (button left / captcha
   right on desktop, button above on mobile) — DOM order stays captcha→submit for
   sensible keyboard tab flow */
.tjw .form__foot .cta{order:-1}
.tjw .form__note{font-size:var(--fs-sm);color:var(--paper-60);max-width:340px}
/* success note — hidden until submit reveals it (section-patterns.js demo handler,
   or contact.js for the real Salesforce form) */
.tjw .form__done,.tjw .form__success{display:none;grid-column:1/-1;font-family:var(--serif);font-style:italic;font-size:var(--fd-lede);color:var(--bg);line-height:1.2;max-width:var(--measure-lg)}
/* sub-line under the serif headline: quiet sans body copy */
.tjw .form__success-sub{display:block;margin-top:var(--sp-4);font-family:var(--sans);font-style:normal;font-size:var(--fs-md);line-height:1.6;color:var(--paper-60)}
.tjw .form__success-sub a{color:inherit;text-decoration:underline;text-underline-offset:2px}
/* reCAPTCHA "please verify" hint (contact.js toggles [hidden]) */
.tjw .form__captcha-hint{margin:8px 0 0;font-family:var(--mono);font-size:var(--fs-3xs);letter-spacing:.04em;text-transform:uppercase;color:var(--ink-40)}
/* reCAPTCHA widget (Salesforce enquiry form): a fixed-size 304x78 iframe that
   can't be restyled. It loads async (api.js is deferred), so we RESERVE its box
   up front — without this the iframe pops in on load and shoves the submit button
   down, a layout shift the visitor sees while filling the form. */
.tjw .form .field--captcha{gap:0;min-height:78px}
.tjw .form .g-recaptcha{transform-origin:left top;min-width:304px;min-height:78px}
@media(max-width:360px){.tjw .form .field--captcha{min-height:69px}.tjw .form .g-recaptcha{transform:scale(.88)}}
@media(max-width:767px){.tjw .form{grid-template-columns:1fr}}
/* single-column variant (used by the shared enquiry form): fields default to full
   width, so forms without pairs look unchanged. Only .field--half fields pair up
   (First+Last name, Budget+Timeframe) to shorten the list — best-practice single
   column with tightly-related fields on shared rows. */
.tjw .form.form--single{grid-template-columns:1fr 1fr;gap:var(--sp-6);max-width:var(--measure-md)}
.tjw .form--single > .field{grid-column:1 / -1}
.tjw .form--single > .field--half{grid-column:span 1}
.tjw .form--single .cta{justify-self:start;margin-top:var(--sp-2)}
/* stack pairs on phones, where narrow selects would truncate option text.
   The row gap tightens to 20px at the same point — the spec's mobile step. */
@media(max-width:560px){.tjw .form--single{gap:var(--sp-5)}.tjw .form--single > .field--half{grid-column:1 / -1}}
/* Enquiry-form two-column desktop grid RETIRED 2026-08-15 (sixth-family
   sweep): `.sec.wrap:has(> .form--single)` had zero consumers the moment
   .sec did — bespoke/valuations/scrap-gold/repairs all moved their request
   forms into the dark band-4 CTA (`.dark .band:has(> .band__inner)`,
   further up this file) during their own family passes, a single-column
   layout that never used this rule to begin with. */

/* ---------- enquiry: reuses .story__grid so it matches the studio block above
   (narrow meta label left, statement + form in the body right) ---------- */
.tjw .enq .story__body .big{margin-bottom:var(--sp-6)}
.tjw .enq__note{font-size:var(--fs-body);line-height:1.7;color:var(--ink-60);max-width:var(--measure-md);margin-bottom:var(--sp-10)}

/* contact enquiry section — sits on the plain page ground (no distinct panel
   fill, matching every other .band section site-wide) but still needs a
   dark-on-light form treatment, since the base .field styles assume a
   dark (.dark) section */
.tjw .panel .field label{color:var(--ink-40)}
.tjw .panel .field input,
.tjw .panel .field textarea,
.tjw .panel .field select{color:var(--ink);border-bottom-color:color-mix(in srgb,var(--ink) 20%,transparent)}
.tjw .panel .field input:focus,
.tjw .panel .field textarea:focus,
.tjw .panel .field select:focus{border-bottom-color:var(--ink);background-color:transparent !important}
.tjw .panel .field input::placeholder,
.tjw .panel .field textarea::placeholder{color:var(--ink-60)}

/* ============================================================
   FOOTER (footer template part — core/site-logo + core/navigation)
   ============================================================ */
.tjw .footer{background:var(--dark);color:var(--bg);overflow:hidden}
/* padding-top clears the footer__icon, which is absolutely positioned above this
   row (132px tall + var(--sp-6) gap) plus var(--sp-10) breathing room above that */
.tjw .footer__top{display:grid;grid-template-columns:4fr 2fr 2fr 3fr;gap:var(--sp-10);padding-top:196px;padding-bottom:90px}
.tjw .footer__brand{position:relative}
/* brand icon mark: taken out of flow and pinned above the brand column so the
   intro text — not the icon — is the first flow element. That lines it up with
   the "Shop"/"The Workshop"/"Keep in touch" headings, which all sit at the same
   grid-row start; leaving the icon in flow pushed the column content down. */
.tjw .footer__icon{display:block;position:absolute;left:0;bottom:100%;width:108px;height:auto;margin:0 0 var(--sp-6)}
.tjw .footer__intro{font-size:var(--fs-md);line-height:1.65;color:var(--paper-60);max-width:var(--measure-xs)}
/* Footer column headings are <h2> (was <h4> — fixed a heading-order skip from
   the page's H2s). font-style:normal + the small mono size override the global
   theme.json h2 styling (which is large + italic). */
.tjw .footer h2{font-family:var(--mono);font-size:var(--fs-3xs);font-weight:400;font-style:normal;letter-spacing:.06em;text-transform:uppercase;color:var(--paper-40);margin:0 0 22px}
.tjw .footer ul li{margin-bottom:var(--sp-3)}
.tjw .footer ul a{font-size:var(--fs-ui);color:var(--paper-60);transition:color 200ms var(--ease)}
.tjw .footer ul a:hover{color:var(--bg)}
/* core/navigation menus inside the footer */
.tjw .footer .wp-block-navigation{font-size:var(--fs-ui)}
.tjw .footer .wp-block-navigation ul{gap:var(--sp-3)}
.tjw .footer .wp-block-navigation .wp-block-navigation-item__content{color:var(--paper-60);transition:color 200ms var(--ease)}
.tjw .footer .wp-block-navigation .wp-block-navigation-item__content:hover{color:var(--bg);text-decoration:none}
/* newsletter */
.tjw .newsletter{display:flex;flex-wrap:wrap;border-bottom:1px solid var(--line-d);max-width:var(--measure-xs)}
.tjw .newsletter input[type="email"]{flex:1;background:transparent;border:none;outline:none;color:var(--bg);font:inherit;font-size:var(--fs-ui);padding:10px 0}
.tjw .newsletter input::placeholder{color:var(--paper-40)}
.tjw .newsletter button{font-size:var(--fs-xs);font-weight:500;color:var(--paper-60);transition:color 200ms var(--ease)}
.tjw .newsletter button:hover{color:var(--bg)}
.tjw .newsletter button[disabled]{opacity:.5;cursor:default}
/* honeypot — kept off-screen, never seen by humans */
.tjw .newsletter__hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0;pointer-events:none}
/* success note (replaces the form) + inline error */
.tjw .newsletter__note{margin:0;font-size:var(--fs-ui);color:var(--bg)}
.tjw .newsletter__msg{flex-basis:100%;margin:8px 0 0;font-size:var(--fs-xs);color:var(--ink-60)}
/* social links — sits under the newsletter form, styled like the other footer nav columns.
   Plain <ul> (wp:html) keeps the UA default padding-left:40px, unlike the core/navigation
   lists elsewhere in the footer — reset it so it lines up flush left with everything else.
   Flex + wrap: sits inline where the column is wide enough, drops to new lines otherwise. */
.tjw .footer__social{margin-top:var(--sp-6);padding:0;margin-left:0;display:flex;flex-wrap:wrap;gap:var(--sp-3) var(--sp-6)}
.tjw .footer__social li{margin-bottom:0}
/* big wordmark + legal */
/* Display mark holds 400: at the 150px ceiling the 300 axis position loses
   stem weight against the dark footer ground. Deliberate carve-out. */
.tjw .footer__mark{font-family:var(--title);font-weight:400;font-synthesis:none;letter-spacing:var(--tr-tight);line-height:.9;font-size:clamp(40px,8.4vw,150px);white-space:nowrap;padding-bottom:10px;color:var(--bg)}
.tjw .footer__mark em{font-style:italic;font-weight:400}
/* proper brand logo replacing the text wordmark */
.tjw .footer__logo{display:block;width:clamp(240px,34vw,440px);height:auto;padding-bottom:10px}
.tjw .footer__links{display:flex;gap:22px;flex-wrap:wrap;border-top:1px solid var(--line-d);padding-top:22px;font-family:var(--mono);font-size:var(--fs-3xs);letter-spacing:.04em;text-transform:uppercase}
.tjw .footer__links a{color:var(--paper-60);text-decoration:none;transition:color 200ms var(--ease)}
.tjw .footer__links a:hover{color:var(--bg)}
.tjw .footer__legal{display:flex;justify-content:space-between;gap:var(--sp-4);flex-wrap:wrap;padding-top:22px;padding-bottom:28px;font-family:var(--mono);font-size:var(--fs-3xs);letter-spacing:.04em;color:var(--paper-40)}
/* NAJ membership badge: official black line-art logo shown white on the dark
   footer via invert(). On desktop it sits opposite the workshop wordmark (logo
   left, badge bottom-right), lifted off the baseline for breathing room; on
   narrow screens the pair stacks. Static (no hover state). */
.tjw .footer__base{display:flex;justify-content:space-between;align-items:flex-end;gap:var(--sp-8)}
.tjw .footer__base .footer__logo{padding-bottom:0}
.tjw .footer__najlink{display:inline-block;line-height:0;flex:none;margin-bottom:var(--sp-6);margin-right:var(--sp-2)}
.tjw .footer__najlogo{display:block;width:160px;height:auto;filter:invert(1);opacity:.95}
@media(max-width:600px){.tjw .footer__base{flex-direction:column;align-items:flex-start;gap:var(--sp-6)}.tjw .footer__najlink{margin-bottom:0;margin-right:0}}

/* ---- Ring size guide: ordered lists + conversion chart ----
   The .tjw reset strips list markers; .legal__body restores discs for <ul>
   (above) — restore decimals for the ordered "how to measure" steps too, and
   style the UK/US/EU conversion table (a core/table block, .rsg-chart). */
.tjw .legal__body ol{list-style:decimal;padding-left:1.4em;margin-top:var(--sp-4)}
.tjw .legal__body ol li{margin-top:8px;padding-left:4px}
.tjw .legal__body ol li::marker{color:var(--ink-40);font-variant-numeric:tabular-nums}
.tjw .rsg-chart{margin:var(--sp-8) 0}
.tjw .rsg-chart table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums;font-size:var(--fs-sm)}
.tjw .rsg-chart th,.tjw .rsg-chart td{border:1px solid var(--line);padding:9px 10px;text-align:center}
.tjw .rsg-chart thead th{font-family:var(--mono);font-size:var(--fs-2xs);font-weight:400;letter-spacing:var(--tr-wide);text-transform:uppercase;color:var(--ink);background:var(--bg-2)}
.tjw .rsg-chart tbody tr:nth-child(even){background:color-mix(in srgb,var(--ink) 3%,transparent)}
.tjw .rsg-chart tbody td:first-child{font-weight:600;color:var(--ink)}
.tjw .rsg-chart figcaption,.tjw .rsg-chart .wp-element-caption{margin-top:var(--sp-3);font-size:var(--fs-xs);color:var(--ink-60);text-align:left}

/* Tablet: source order (brand, shop, workshop, contact) would auto-place shop
   beside brand in a 2-col grid, reading as equal rank with the brand block.
   Named areas re-stack it: brand full width, the two nav columns as a row
   underneath, then contact spanning full width below those. */
@media(max-width:900px){
	.tjw .footer__top{
		grid-template-columns:1fr 1fr;
		grid-template-areas:"brand brand" "shop workshop" "contact contact";
	}
	.tjw .footer__brand{grid-area:brand}
	.tjw .footer__top>.footer__col:nth-child(2){grid-area:shop}
	.tjw .footer__top>.footer__col:nth-child(3){grid-area:workshop}
	.tjw .footer__top>.footer__col:nth-child(4){grid-area:contact}
}
@media(max-width:480px){
	.tjw .footer__top{
		grid-template-columns:1fr;
		grid-template-areas:"brand" "shop" "workshop" "contact";
	}
}

/* ============================================================
   PORTFOLIO ARCHIVE  (Phase 3 — new)
   masthead · sticky filter bar + Greyd search · dense grid/card · CTA band.
   The .grid/.tile rules restyle the existing "Query with Live Search"
   wp:query post-template; the .search rules also restyle the Greyd search
   element (greyd/search) that lives inside that query.
   ============================================================ */

/* compact, browsing-first masthead */
/* padding-top is 24px (not 60) because WP's global `:where(.wp-site-blocks) > *`
   already adds 32px above <main>; 24+32 = 56px header→eyebrow, matching the
   homepage hero. 60px here stacked to 92px and read as an odd gap above the
   eyebrow row. */
.tjw .masthead{padding-top:24px;padding-bottom:50px}
.tjw .masthead__meta{display:flex;justify-content:space-between;gap:var(--sp-8);border-bottom:1px solid var(--line);padding-bottom:var(--sp-4)}
/* item M part 2, 2026-08-10 — the masthead's eyebrow row keeps the lines that
   carry a fact and loses the one that only names the page. What stays needs a
   successor to `.meta`/`.meta--dim`, and a component-scoped pair can retire with
   the component where a global utility cannot. Typography verbatim from
   `.tjw .meta` (273), the dim colour from `.tjw .meta--dim` (274). */
.tjw .masthead__label{font-family:var(--mono);font-size:var(--fs-3xs);font-weight:400;
	letter-spacing:var(--tr-wider);text-transform:uppercase}
.tjw .masthead__label--dim{color:var(--ink-40)}
.tjw .masthead__inner{display:flex;justify-content:space-between;align-items:flex-end;gap:var(--sp-12);flex-wrap:wrap;padding-top:54px}
.tjw .masthead h1{font-family:var(--title);font-synthesis:none;letter-spacing:var(--tr-tight);line-height:1.04;font-size:var(--fd-1);max-width:14ch}
.tjw .masthead__aside{max-width:340px}
.tjw .masthead__aside p{font-size:var(--fs-md);line-height:1.6;color:var(--ink-60);margin-bottom:22px}
@media(max-width:767px){.tjw .masthead__inner{gap:var(--sp-8)}}

/* sticky filter bar — SEO category links + live search ("best of both") */
.tjw .filter{position:sticky;top:var(--tjw-header-h);z-index:900;background:var(--bg);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
body.admin-bar .tjw .filter{top:calc(var(--tjw-header-h) + 32px)}
@media screen and (max-width:782px){body.admin-bar .tjw .filter{top:calc(var(--tjw-header-h) + 46px)}}
.tjw .filter__inner{display:flex;align-items:center;gap:var(--sp-6);min-height:56px}
.tjw .filter__cats{display:flex;align-items:center;gap:var(--sp-6);overflow-x:auto;scrollbar-width:none;flex:1 1 auto}
.tjw .filter__cats::-webkit-scrollbar{display:none}
.tjw .filter__cats a{font-family:var(--mono);font-size:var(--fs-2xs);letter-spacing:.04em;text-transform:uppercase;color:var(--ink-40);white-space:nowrap;transition:color 200ms var(--ease);padding:var(--sp-1) 0}
.tjw .filter__cats a:hover{color:var(--ink)}
.tjw .filter__cats a[aria-current],.tjw .filter__cats a.is-active{color:var(--ink);border-bottom:1px solid var(--ink)}
/* quiet left label when the bar carries search only (archive finder — no category filters) */
.tjw .filter__label{flex:1 1 auto;font-family:var(--mono);font-size:var(--fs-2xs);letter-spacing:.04em;text-transform:uppercase;color:var(--ink-40);white-space:nowrap}

/* live search — both the prototype .search markup and the Greyd search element */
.tjw .search,
.tjw .filter .greyd-search-form{flex:none;display:flex;align-items:center;gap:var(--sp-2);width:230px;margin:0;border-bottom:1px solid var(--ink-40);background:none;transition:border-color 250ms var(--ease)}
.tjw .search:focus-within,
.tjw .filter .greyd-search-form:focus-within{border-bottom-color:var(--ink)}
.tjw .search svg{width:14px;height:14px;flex:none;stroke:var(--ink-40)}
.tjw .search input,
.tjw .filter .greyd-search-form input[type="search"],
.tjw .filter .greyd-search-form input[type="text"]{flex:1;background:none;border:none;outline:none;color:var(--ink);font-family:var(--mono);font-size:var(--fs-2xs);letter-spacing:.04em;text-transform:uppercase;padding:9px 0}
.tjw .search input::placeholder,.tjw .filter .greyd-search-form input::placeholder{color:var(--ink-40)}
.tjw .search__clear{flex:none;font-family:var(--sans);font-size:var(--fs-md);line-height:1;color:var(--ink-40);padding:0 2px;display:none}
.tjw .search.has-value .search__clear{display:block}
.tjw .search__clear:hover{color:var(--ink)}
/* visually hide the Greyd field labels — the icon + placeholder carry the meaning.
   Greyd wraps the input in `.input-outer-wrapper > .label_wrap (label) + input`;
   clipping only the <label> left the `.label_wrap` div occupying ~22px above the
   input, dropping the search field below the filter links. Collapse the wrapper
   (and flatten the outer wrapper) so the input aligns with the category row. */
.tjw .filter .greyd-search-form label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.tjw .filter .greyd-search-form .label_wrap{display:none}
.tjw .filter .greyd-search-form .input-outer-wrapper{display:flex;align-items:center;width:100%}

.tjw .grid__empty{display:none;padding:60px 0;font-family:var(--serif);font-style:italic;font-size:var(--fd-3);color:var(--ink-60)}
.tjw .grid__empty.show{display:block}

@media(max-width:767px){
	.tjw .filter__inner{flex-direction:column;align-items:stretch;gap:0;min-height:0}
	.tjw .search,.tjw .filter .greyd-search-form{order:-1;width:auto;padding:var(--sp-3) 0}
	.tjw .filter__cats{height:48px;border-top:1px solid var(--line)}
	.tjw .filter__label{order:1;padding:var(--sp-3) 0;border-top:1px solid var(--line)}
}

/* dense gallery grid (the archive) — also the wp:query post-template grid */
.tjw .gallery{padding-top:var(--sp-10);padding-bottom:60px}
.tjw .grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--sp-8)}
/* The post-template ships layout:default, so WP's flow rule
   `:root :where(.is-layout-flow) > *{margin-block-start:var(--wp--preset--spacing--medium)}`
   lands 32px on every li except the first. Under display:grid that reads as an
   accidental stagger — tile 1 sits 32px above its row-mates, and every row after
   the first gains a doubled gutter. `.cgrid` (:1139) and `.coll__grid` (:523)
   already reset this, which is why only `.grid` shows it. Not a design stagger:
   the deliberate ones are `.coll__grid` even-child and `.cgrid` 6n. */
.tjw .grid > li{margin:0}
@media(max-width:1200px){.tjw .grid{gap:var(--sp-6)}}
@media(max-width:900px){.tjw .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--sp-5)}}
@media(max-width:480px){
	.tjw .grid{gap:var(--sp-4)}
	/* caption row: stack title/meta instead of squeezing title
	   against the fixed-width meta tag on narrow phones */
	.tjw .tile__cap{flex-direction:column;align-items:flex-start;gap:4px}
	.tjw .tile__meta{text-align:left}
}
.tjw .tile{display:block}
.tjw .tile__media{position:relative;aspect-ratio:2/3;background:#fff;border-radius:var(--r-sm);overflow:hidden}
.tjw .tile__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;transition:transform 700ms var(--ease-big)}
.tjw .tile__media svg{position:absolute;inset:0;width:100%;height:100%;padding:18% 22%;object-fit:contain}
.tjw .tile:hover .tile__media img,.tjw .tile:hover .tile__media svg{transform:scale(1.05)}
.tjw .tile__cap{display:flex;justify-content:space-between;align-items:baseline;gap:14px;border-top:1px solid var(--line);margin-top:14px;padding-top:var(--sp-3)}
.tjw .tile__name{font-family:var(--serif);font-size:19px;font-weight:var(--serif-w);letter-spacing:var(--tr-snug);line-height:1.15}
.tjw .tile__meta{font-family:var(--mono);font-size:var(--fs-2xs);letter-spacing:var(--tr-wide);text-transform:uppercase;color:var(--ink-40);text-align:right;white-space:nowrap;flex:none}

/* load-more / pagination */
.tjw .more{display:flex;flex-direction:column;align-items:center;gap:var(--sp-4);padding-top:70px}
.tjw .more__bar{width:100%;border-top:1px solid var(--line)}
.tjw .more button,
.tjw .more .wp-block-query-pagination-next,
.tjw .more .wp-block-query-pagination-previous{font-family:var(--mono);font-size:var(--fs-2xs);letter-spacing:var(--tr-wider);text-transform:uppercase;color:var(--ink);border:1px solid color-mix(in srgb,var(--ink) 16%,transparent);border-radius:var(--r-sm);padding:var(--sp-4) var(--sp-8);transition:background-color 250ms var(--ease),color 250ms var(--ease)}
.tjw .more button:hover,.tjw .more a:hover{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.tjw .more__hint{font-family:var(--mono);font-size:var(--fs-3xs);letter-spacing:.06em;text-transform:uppercase;color:var(--ink-40)}

/* closing CTA band (Garnet) — pair with .dark on the wrapper.
   Re-scoped phase 2 (materials band): the redesign reuses the bare .band
   name as its section-rhythm primitive (editorial.css), and these
   dark-assuming rules were painting the migrated paper bands' h2 in
   page-ground white. Padding keys on the .dark pairing, type on
   .band__inner. Re-keyed again phase 2 (process band): the redesigned
   process band IS .dark > .band now, so the padding additionally keys on
   :has(> .band__inner) — the marker every legacy consumer has (verified:
   14776, 24309, 24452, 24455, 24833) and no new band ever will.
   Retire with their last legacy consumer (phase 3). */
.tjw .dark .band:has(> .band__inner),.tjw .dark.band:has(> .band__inner){padding-top:120px;padding-bottom:120px}
.tjw .band__inner{display:flex;justify-content:space-between;align-items:flex-end;gap:var(--sp-12);flex-wrap:wrap}
.tjw .band__inner h2{font-family:var(--serif);font-weight:400;letter-spacing:var(--tr-tight);line-height:1.05;font-size:var(--fd-2);color:var(--bg)}
.tjw .band__inner h2 em{font-style:italic}
.tjw .band__inner p{max-width:var(--measure-xs);font-size:var(--fs-md);line-height:1.6;color:var(--paper-60);margin-bottom:var(--sp-6)}
@media(max-width:767px){.tjw .dark .band:has(> .band__inner),.tjw .dark.band:has(> .band__inner){padding-top:80px;padding-bottom:80px}}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
/* The uniform .reveal entrance — one of the six "designed by AI" tells (owner
   2026-07-25) — lost its opacity:0 pre-state in phase 1 (36b1bec) and was
   retired outright in phase 3 step 0b (2026-08-06, ticket 07): the class, its
   two remaining rules, the IntersectionObserver, and every emitter. Both rules
   had been setting properties to their own initial values, so nothing moved.
   If entrance motion is ever wanted back, blocks/hero-split/style.css:545-660
   is the compliant precedent — scroll-driven CSS under @supports, degrading to
   no animation rather than to no content. */
@media(prefers-reduced-motion:reduce){
	/* the legacy `.prow` opacity transition was never listed here — a
	   pre-existing gap, carried over as a fix rather than reproduced when the
	   hover dim moved to `.rows:has(.row__link)` on 2026-08-06 (item D). */
	.tjw .rows:has(.row__link) .row{transition:none}
	.tjw .marquee__track{animation:none}
	.tjw .tile__media img,.tjw .tile__media svg{transition:none}
	.tjw .pstep__media img,.tjw .hero-split__media img{transition:none}
}

/* ============================================================
   REDESIGN 2026 — new page components
   home split hero (Option A) · journal page (featured + chips) ·
   journal article (page template w/ content area) · process ·
   404 · shared photo slot. All scoped .tjw; reuse the tokens above.
   ============================================================ */

/* ---------- (2026-07-02) homepage repairs band rows + footer NAP ----------
   The `.prow`/`.prows` hover pair retired 2026-08-15 (sixth-family sweep,
   alongside the rest of the .prow family) — ported to
   `.tjw .rows:has(.row__link)` in editorial.css 2026-08-06 (item D). */
.tjw .footer__nap{font-style:normal;font-size:var(--fs-sm);line-height:1.9;color:var(--paper-60);margin-top:var(--sp-6)}
.tjw .footer__nap a{color:var(--paper-60);border-bottom:1px solid var(--line-d)}
.tjw .footer__nap a:hover{color:var(--bg);border-bottom-color:var(--paper-60)}

/* (2026-07-02) Homepage split hero: stack the intro paragraph + button group in
   one left-aligned column instead of the wrapping space-between row (which floated
   the buttons to the right on >~1450px screens). Scoped to .hero-split__text so the
   .hero--lp landing hero keeps its row. Base rule has align-items:flex-end, which
   would right-align in a column — hence the explicit flex-start. */
.tjw .hero-split__text .hero__foot{flex-direction:column;align-items:flex-start;justify-content:flex-start;flex-wrap:nowrap}

/* (2026-07-02) Homepage split hero: drop the paragraph + button cluster so the
   bottom of the buttons aligns with the bottom of the hero image. Removes the two
   36px bottom paddings (foot + text column) that held it 72px short; the existing
   h1 margin-top:auto keeps the cluster bottom-anchored. Desktop only (the split is
   side-by-side above 900px); excludes the .hero--about landscape hero. */
@media(min-width:901px){
	.tjw .hero-split:not(.hero-split--about) .hero-split__text{padding-bottom:0}
	.tjw .hero-split:not(.hero-split--about) .hero-split__text .hero__foot{padding-bottom:0}
	/* (2026-07-02) more air below the headline on desktop: 24px -> 48px */
	.tjw .hero-split:not(.hero-split--about) h1{margin-bottom:var(--sp-12)}
}

/* ============================================================================
   PHASE-TWO TRIAL v4 — two pages, and the accordion control weight
   ============================================================================
   The rule, stated as what it is rather than as "alternate by level" (that framing
   predicted a sans h4, which this site does not do):

       SERIF NAMES THINGS.  SANS LABELS THEM AND READS THEM.

   So: page titles, section statements, level-2 section labels and level-3 content
   titles are Newsreader; running text, answers, controls-that-read-as-data and all
   small text are Satoshi. The only thing this block changes from the untouched site
   is the level-2 section label, which was serif and is now Satoshi 500.

   THREE ATTEMPTS, all measured with the guide's capture-type-stack.mjs:
     v1 rejected — every heading level converted at once. 16.2% of the page's
        characters serif, 2 of 12 heading blocks; the whole middle of the page was
        100% Satoshi, so it read serif at the top and sans below.
     v2 rejected — h2 back to serif, Satoshi only for the "functional layer". 19%,
        5 of 12. A per-page judgement rather than a rule, and the bottom of the page
        stayed sans, so the original complaint survived.
     v3 kept — only the level-2 label. 24.8%, 9 of 12.
     v4 adds bespoke and the accordion weight, below.

   ⚠ COVERAGE, measured on nine routes by DOM ancestry, not estimated:
     22 `.shead` labels — home 5, bespoke 7, repairs 5, ring-resizing 2, valuations 3.
      1 `.repair-section-title` label on ring-resizing: an older duplicate of the
        pattern that this rule has to name separately. Fold it into `.shead` when
        that page is next touched.
      5 statement h2 — home, ring-resizing, contact-us, valuations x2. Deliberately
        NOT in this rule: a statement is serif. Note the exemption is implicit, not
        declared — the selector simply does not match `.enq__aside`. Wrapping a
        statement in a `.shead` later would silently turn it sans.
      2 journal listing heads sit outside `.entry-content` (a hero and a listing),
        and 2 shop heads are commerce filter UI at Satoshi 12px. Neither is a section
        label; both are correctly untouched.
      about-us has no content h2 at all, and contact-us has one, which is a statement.
      So there is no coverage gap to close — the earlier claim that three routes would
      drift was wrong, and it came from a regex probe that could not see ancestry.

   ⚠ BESPOKE (16127) is the page that tests the risk. It is 46.9% serif over 99 text
   blocks — far more serif-dominant than ring-resizing's 24.8% — because its voice
   paragraphs run to 30px. So here the 24px level-2 label sits above body copy that is
   LARGER than it. That is the case the proposal explicitly allows and it is the one
   place this rule could read as a caption rather than a heading.

   ⚠ ACCORDION CONTROL WEIGHT. `.faqs summary` is an interactive control and it ships
   at Newsreader w300, which is 18px at mobile. The theme already keeps two documented
   carve-outs to 400 where `--serif-w` reads too light at 17px ("the 300 axis position
   goes weedy", section-patterns.css:1483). 400 below 900px, 300 above: the question is
   still a title, it just stops being hairline where it is also a tap target. Scoped to
   the trial pages; the accordion appears on 21 pages, so this is a rollout item.

   Scoped by body class, so reverting is deleting this block. No !important:
   `body.page-id-XXXXX .entry-content .shead h2` outranks both the theme.json element
   styles and `.tjw .visit-section .shead h2` (0,3,2). */
body.page-id-24448 .entry-content .shead h2.wp-block-heading,
body.page-id-24448 .entry-content .repair-section-title h2.wp-block-heading,
body.page-id-16127 .entry-content .shead h2.wp-block-heading{
	font-family:var(--sans);
	font-size:clamp(20px,2vw,24px);
	font-weight:500;
	line-height:1.25;
	letter-spacing:var(--tr-snug);
	text-transform:none;
}
@media(max-width:900px){
	body.page-id-24448 .entry-content .faqs summary,
	body.page-id-16127 .entry-content .faqs summary{font-weight:400}
}
