/* source: assets/css/editorial.css */
/* ============================================================
   THE JEWELLERY WORKSHOP — editorial.css
   The quiet-luxury redesign's band/component styles (2026-07 rollout,
   reference: /bespoke/ — projects/…/bespoke-redesign-mockup.html).

   THE STANDING RULE (agreed 2026-07-26): nothing new enters
   section-patterns.css or jw-commerce.css again. New bands and
   components land HERE, consume tokens only — no raw values — and
   the legacy rules they supersede are deleted from the old files in
   the same commit as each band's migration.

   Scope: .tjw, same as section-patterns.css, and every token used
   here resolves from the :where(.tjw, .tjw-tokens,
   .editor-styles-wrapper) block there — this file declares none of
   its own.

   Phase 2 populates this file band by band, cheapest-first:
   enquire → materials → quote → investment → facts → process →
   hero → story → FAQs.
   ============================================================ */

/* ============ THE PAGE'S EDITORIAL VOICE — one treatment, everywhere ============
   The hero statement and every paragraph of story-band copy are the same kind
   of thing: the page speaking in its own voice rather than labelling or
   explaining. One rule, and only LAYOUT differs per use. These paragraphs
   drifted apart twice during the mockup's history and each time the page
   stopped reading as one voice — keep them in one declaration.
   text-wrap is the one thing the rule does NOT share: centred statements
   re-declare `balance`, running prose keeps `pretty`. */
.tjw .statement p,
.tjw .story__voice p{
	font-family:var(--serif);
	font-weight:var(--serif-w);
	font-size:var(--fd-voice);
	line-height:1.32;
	letter-spacing:var(--tr-snug);
	text-wrap:pretty;
	max-width:22em; /* on the <p>, never the wrapper — an em measure on the
	                   wrapper resolves against ITS font-size, not this one */
}
.tjw .statement{text-align:center}
.tjw .statement p{margin-inline:auto;text-wrap:balance}
/* Owner, 2026-08-11: the explaining bands become voice too ("all this text
   should be big, for one large block of text — this is replicated on the
   bespoke page"). Their prose carries <strong> run-ins that the deck-over-prose
   shape used as its sub-headings — "Bright, even and white.", "Clasps that
   hold." Band 3 already removed that treatment's 500-weight/full-ink styling
   and deliberately left the tags in the copy; what it did not reach is the
   inherited 600 those tags still render at, which was unremarkable at 14px and
   is a display-size sub-heading at 30px. The reference has no <strong> in any
   voice paragraph, and "one large block" is the instruction, so the run-ins
   read as the opening sentence they are. Tags stay in the copy — same call band
   3 made, one cascade level further up. Scoped to .story__voice only: .statement
   never carried a run-in, and the 14px .story__body prose keeps its bold. */
.tjw .story__voice p strong{font-weight:inherit;color:inherit}
/* The voice runs at 30px, where .prose's 2px offset and `auto` thickness
   resolve thick enough to cut through descenders. Restated in em so the
   underline tracks the size instead of being re-tuned per band. Set here
   rather than behind the .prose class for the same reason the FAQ answers
   are: a statement is running copy by definition.
   The exclusions: these select EVERY anchor in the container, but a container
   of running copy usually ends in a CTA, and a CTA already carries its own
   underline — .lnk and is-style-tjw-link draw the animated ::after bar, .cta
   is a filled box. Without the :not() they take the prose underline as well
   and the bar reads doubled. Anything that owns its own affordance opts out. */
.tjw .statement a:not(.lnk):not(.cta):not(.wp-block-button__link),
.tjw .story__voice a:not(.lnk):not(.cta):not(.wp-block-button__link){text-decoration:underline;text-underline-offset:.15em;
	text-decoration-thickness:1px;text-decoration-color:var(--line-2);
	transition:text-decoration-color .2s var(--ease)}
.tjw .statement a:not(.lnk):not(.cta):not(.wp-block-button__link):hover,
.tjw .story__voice a:not(.lnk):not(.cta):not(.wp-block-button__link):hover{text-decoration-color:currentColor}

/* ============ BAND PRIMITIVES ============
   .band is the redesign's section rhythm — the successor to .sec +
   --space-section, which retire with their last legacy consumer. .shead is
   the section head grammar: a real h2 and a quiet note on one baseline —
   no eyebrow, no (0n) number, no rule. Both land here with the first
   migrated band (enquire) and every later band reuses them. */
.tjw .band{padding-block:var(--band)}
.tjw .shead{display:flex;justify-content:space-between;align-items:baseline;
	gap:24px;flex-wrap:wrap;margin-bottom:clamp(28px,4vw,48px)}
.tjw .shead__note{font-size:var(--fs-sm);color:var(--ink-60)}
/* the head's quiet slot can also be an action rather than a note (band 8's
   "Ask us anything"). It reads at the same weight as a note — ink-60, base
   size — and comes up to full ink on hover, which a note never does. The
   500 is the mockup's .lnk weight; the theme's shared .lnk is 400 and is
   left alone, since the header, footer and mega-nav use it too. */
.tjw .shead .lnk{color:var(--ink-60);font-weight:500;
	transition:color .2s var(--ease)}
.tjw .shead .lnk:hover{color:var(--ink)}

/* .prose is the running-copy link treatment: the theme's inline underline,
   hairline until hover. Set for body-size copy — a band that scales its
   prose up (the story band's 30px voice) restates offset/thickness in em,
   per the mockup's own note.
   An accordion ANSWER is running copy by definition, so it takes the
   treatment without the opt-in class. The mockup writes `class="faqs prose"`;
   we diverge deliberately — 21 pages carry this accordion and a class every
   consumer must remember is a class some consumer eventually forgets. Only
   answers, never the <summary>: a question is a control, not prose.
   Same CTA exclusions as .statement/.story__voice above, and for the same
   reason: a link that already draws its own bar must not take a second. */
.tjw .prose a:not(.lnk):not(.cta):not(.wp-block-button__link),
.tjw .faqs .wp-block-details > :not(summary) a:not(.lnk):not(.cta):not(.wp-block-button__link){text-decoration:underline;text-underline-offset:2px;
	text-decoration-color:var(--line-2);transition:text-decoration-color .2s var(--ease)}
.tjw .prose a:not(.lnk):not(.cta):not(.wp-block-button__link):hover,
.tjw .faqs .wp-block-details > :not(summary) a:not(.lnk):not(.cta):not(.wp-block-button__link):hover{text-decoration-color:currentColor}

/* ============ ENQUIRE — on paper, not garnet (band 9, migrated first) ============
   Scoped `.band .enq`, NOT bare `.enq`: the contact page's live markup
   already carries `story__grid enq` inside a legacy .sec, and a bare .enq
   grid rule would re-track it. Reclaim the bare name when /contact-us/
   migrates.
   The form inside is the shared parts/enquiry-form.php partial. Its base
   styles in section-patterns.css assume a dark section, so everything
   below the grid is the light-ground re-skin — deletable once the dark
   consumers (valuations, scrap-gold, contact, product modal) migrate and
   the base itself flips light.
   Kept from the live form ON PURPOSE, diverging from the mockup: input
   font-size stays --fs-md (16px — anything smaller triggers iOS
   focus-zoom) and the Title + Subject fields stay (live Salesforce set;
   Subject is posted hidden here because lockSubject fixes it). */
.tjw .band .enq{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);
	gap:clamp(var(--sp-8),5vw,var(--sp-18));align-items:start}
.tjw .enq__aside p{color:var(--ink-60);margin-top:16px;max-width:34ch}
.tjw .enq__aside a{text-decoration:underline;text-underline-offset:2px}

.tjw .band .enq .form.form--single{max-width:none;gap:var(--sp-6)}
.tjw .band .enq .field label{font-family:var(--sans);font-size:var(--fs-ui);
	text-transform:none;letter-spacing:var(--tr-snug);color:var(--ink-40);
	padding-left:var(--sp-4)}
.tjw .band .enq .field input,
.tjw .band .enq .field textarea,
.tjw .band .enq .field select{color:var(--ink);border-bottom-color:var(--line-2)}
.tjw .band .enq .field select{appearance:auto;padding-right:var(--sp-8)}
.tjw .band .enq .field input:hover,
.tjw .band .enq .field textarea:hover,
.tjw .band .enq .field select:hover{color:var(--ink)}
/* !important matches the base focus rule's own !important — without it the
   dark base wins and the focused underline goes paper-white on paper */
.tjw .band .enq .field input:focus,
.tjw .band .enq .field textarea:focus,
.tjw .band .enq .field select:focus{border-bottom-color:var(--ink) !important}
.tjw .band .enq .field input::placeholder,
.tjw .band .enq .field textarea::placeholder{color:var(--ink-40)}
.tjw .band .enq .form__success{color:var(--ink)}
.tjw .band .enq .form__success-sub{color:var(--ink-60)}

@media(max-width:900px){
	.tjw .band .enq{grid-template-columns:1fr;gap:var(--sp-8)}
}

/* Scrap gold, second pass (2026-10-17, owner review: "the form looks lost",
   "more space around the pricing table"). Both are route-only. .enq--panel is a
   modifier, so /bespoke/, /contact-us/ and the repairs pages keep their open
   form; .worth exists only on /scrap-gold-buying-diss/. The panel is Parchment
   Paper, the brand neutral for panels; fields lose their 16px inset so label,
   value and underline share one edge. (0,5,1) so it outranks the .band .enq
   re-skin above whatever the load order.
   2026-10-20: the panel itself (fill, padding, zero field inset) is now every
   band form's, white rather than Parchment — see THE FORM CARD at the foot of
   this file. What stays here is scrap gold's own gap, textarea and aside. */
.tjw .band .enq.enq--panel > .form{gap:var(--sp-5)}
.tjw .band .enq.enq--panel .field textarea{min-height:120px}
.tjw .band .enq.enq--panel .enq__aside{padding-top:clamp(24px,4vw,48px)}
.tjw .worth-block{margin-top:clamp(56px,7vw,104px)}
.tjw .worth-block__lead p{color:var(--ink-60);margin-top:var(--sp-3);max-width:34ch}
.tjw .worth-block__lead .wp-block-buttons{margin-top:var(--sp-6)}
.tjw .worth-block .worth{margin:0}
@media(max-width:900px){
	.tjw .band .enq.enq--panel .enq__aside{padding-top:0}
	.tjw .worth-block{row-gap:var(--sp-6)}
}

/* ============ MATERIALS — three plain columns (band 5) ============
   The gradient chips are deleted outright (mockup: painted swatches
   standing in for materials the page photographs properly — decoration
   pretending to be information), and with them the .mat card treatment:
   no border-top, no hover lift. The h3s ride the theme.json ramp (20px,
   300) and carry the columns themselves.
   Scoped `.band .mats`, NOT bare `.mats`: five legacy pages still carried
   the chip markup on bare .mats (about, anatomy-of-a-commission,
   engagement-rings #24455, remodelling, #24833) — they kept the old look
   until each migrated in phase 3.

   ⚠ 2026-08-06, phase 3 item E: the chips and the .mat class are now gone
   from all four (#24833 was trashed), but their SECTIONS were still .sec at
   the time — the shell pass had not run, so `.band .mats p` did not reach
   them. A bare `.mats p` fallback covered the gap until every consumer was
   a `.band`.
   RETIRED 2026-08-15 (sixth-family sweep): families 3-5 converted all four
   pages to `.band` and #16127/patterns 14/36 were already `.band .mats` —
   re-verified every live `.mats` consumer is nested under `.band`, so the
   scoped rule reaches them all on its own now. */
.tjw .band .mats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
	gap:clamp(24px,4vw,56px)}
.tjw .band .mats p{color:var(--ink-60);margin-top:10px;max-width:38ch}
@media(max-width:760px){
	.tjw .band .mats{grid-template-columns:1fr;gap:var(--sp-6)}
}

/* ============ FACTS — three plain data points (band 2) ============
   Not a decorated band of its own: qualifying information on a hairline,
   folded tight (22px) instead of holding section-scale padding. Labels
   drop the .meta mono look for quiet 13px sans; values stay the small
   serif. A flex row with a min-width floor replaces the rigid 3-col grid,
   so the strip wraps naturally instead of snapping to 1-col at 767.
   Scope is BARE `.facts` — the exception to the .band convention, and
   deliberate: all 8 consumers (bespoke, valuations, wedding-rings,
   engagement-rings #24455, about, remodelling, scrap-gold, repairs)
   were re-authored to the new classless-children grammar in one pass,
   and the legacy .facts/.fact rules left section-patterns.css in the
   same commit — the first actual retirement of the rollout. The strip
   also can't require .band: on most pages it sits inside legacy .sec /
   plain .wrap sections that haven't migrated yet.
   The dark variant survives — wedding-rings' strip lives inside the
   garnet "making" band. */
.tjw .facts{display:flex;flex-wrap:wrap;gap:8px clamp(var(--sp-8),6vw,80px);
	border-top:1px solid var(--line);padding-block:22px}
.tjw .facts > div{min-width:130px}
.tjw .facts > div p:first-child{font-size:var(--fs-sm);color:var(--ink-40);
	margin:0 0 2px}
.tjw .facts > div p:last-child{margin:0;font-family:var(--serif);
	font-weight:var(--serif-w);font-size:var(--fd-3)}
.tjw .dark .facts{border-top-color:var(--line-d)}
.tjw .dark .facts > div p:first-child{color:var(--paper-40)}

/* ============ INVESTMENT — the price rows (band 6) ============
   Shared row-list grammar — the homepage repairs band adopts the same
   component when it migrates, which is the point of doing tokens first.
   The tracks live on .rows, not .row, and each row re-uses them via
   `grid-template-columns:subgrid`. One shared grid resolves the price
   track once, against the widest price, so the two inner columns line
   up down the whole list. That vertical rule is what makes five rows
   read as a table rather than five stacked paragraphs.

   ⚠ Corrected 2026-08-06 (item D), measured against the legacy list
   before it was retired. This comment used to say the subgrid fixed a
   COLUMN DRIFT in `.prow` — that each row's `auto` price track sized to
   its own price and handed a different remainder to the 3fr/5fr split,
   so every description started at a slightly different x. That is not
   what `.prow` did. Its tracks are `3fr 6fr 2fr` — three fractions, no
   `auto` — so every row resolved identically against the same container
   width and the descriptions did line up. Measured on three pages at two
   widths: one distinct description x and one price x per list, same as
   here. There was no drift to fix.

   What the subgrid actually buys is the third track. `2fr` reserved
   ~240px of a 1397px list for a price that needs 53–114px; `auto` sizes
   it to the content and hands the ~190px back to the description. The
   component is right; the reason recorded for it was not. */
/* Descriptions run 750–790px at 1540 with no max-width, on all seven
   consumers — the two that shipped on this component and the five item D
   brought over. That is one long measure at 14px, and it is a property of
   `.rows` itself rather than anything the migration introduced. If it
   wants a cap it wants one for all seven at once: a design call for the
   shell pass, not a per-page patch.
   Scope is BARE `.rows`/`.row` — the .steps convention, not the
   .enq/.mats one. It was `.tjw .band .rows` until 2026-08-06, when
   item D migrated the last five `.prow` pages in one pass. Three of
   those five (#22842 home, #24447 valuations, #24499 scrap-gold) hold
   their list inside a section that is still `.sec`, because the shell
   pass (item A) has not run — so a `.band`-scoped component reached
   none of them and the rename alone would have left three unstyled
   lists. Widening the selector is additive: every consumer it matched
   before, it still matches, so map rule 2 holds. `.prow` now has zero
   consumers and `.rows` is the only row-list grammar on the site,
   which is what makes the narrower scope pointless rather than safe.
   Descriptions inherit the 14px theme.json base — no font-size here,
   same as .mats; h3s ride the ramp (20px/300) untouched. */
.tjw .rows{border-top:1px solid var(--line);
	display:grid;grid-template-columns:minmax(0,3fr) minmax(0,5fr) auto;
	column-gap:clamp(16px,3vw,40px)}
.tjw .row{display:grid;grid-column:1/-1;grid-template-columns:subgrid;
	align-items:baseline;
	border-bottom:1px solid var(--line);padding-block:24px}
.tjw .row p:not(.row__from){color:var(--ink-60)}
.tjw .row__from{font-size:var(--fs-sm);color:var(--ink-60);
	white-space:nowrap;text-align:right}

@media(max-width:720px){
	/* the description wraps under, so only two tracks survive —
	   retargeted at .rows, since that is where the tracks are.
	   The price is pinned to r1c2 EXPLICITLY: sparse auto-placement
	   never backfills the hole beside the h3 once the full-span
	   description has moved the cursor past row 1, so without the pin
	   the auto track resolves to 0 and the price lands full-width
	   under the description — the mockup itself renders that way,
	   against its own comment's intent. (Running grid-auto-placement
	   gotcha; carry this pin to the homepage repairs band.) */
	.tjw .rows{grid-template-columns:1fr auto;column-gap:var(--sp-4)}
	.tjw .row{row-gap:var(--sp-1);padding-block:20px}
	.tjw .row p:not(.row__from){grid-column:1/-1}
	.tjw .row__from{grid-row:1;grid-column:2}
}

/* ============ STEPS — the shared index-row list (band 4) ============
   Same shared-track subgrid treatment as .rows, and for the same
   reason: "Week 1" and "Weeks 2–3" are different widths, so the old
   per-step grid walked the description column left and right down
   the list. Tracks resolve once on .steps: numeral | h3 name |
   description | time. Lists with no time cells (diamond-replacement)
   just leave the auto track at 0.
   Scope is BARE .steps/.step — the facts rule, not the .band one:
   all 10 lists on all 8 consumers (bespoke, home, valuations,
   engagement-rings #24455, remodelling, scrap-gold, repairs ×2,
   diamond-replacement ×2) re-authored in one pass and the legacy
   rules deleted in the same commit. Light is the default; the .dark
   ancestor (present on all six garnet consumers) carries the
   inversion, so the old steps--light modifier dies with the rest.
   h3 names ride the theme.json ramp (20px/300) with no rule here;
   repairs' linked names inherit that voice explicitly because the
   global-styles a:where(:not(.wp-element-button)) rule would
   otherwise reset them to the body font. */
.tjw .steps{border-top:1px solid var(--line);
	display:grid;grid-template-columns:2.5rem minmax(0,3fr) minmax(0,5fr) auto;
	column-gap:clamp(16px,3vw,40px)}
.tjw .step{display:grid;grid-column:1/-1;grid-template-columns:subgrid;
	align-items:baseline;border-bottom:1px solid var(--line);padding-block:var(--sp-6)}
.tjw .step__no{font-size:var(--fs-sm);color:var(--ink-60);font-variant-numeric:tabular-nums}
.tjw .step p:not(.step__no):not(.step__time){color:var(--ink-60)}
.tjw .step__time{font-size:var(--fs-sm);color:var(--ink-60);white-space:nowrap;text-align:right}
.tjw .steps h3 a{color:inherit;text-decoration:none;font-family:inherit}
.tjw .step:hover h3 a,.tjw .steps h3 a:hover{text-decoration:underline;
	text-underline-offset:4px;text-decoration-thickness:1px}
.tjw .steps__foot{margin-top:clamp(32px,4vw,48px)}
/* .steps__note: a quiet prose note after a list (the homepage band's
   cluster-links paragraph — a slot the mockup doesn't draw; re-judge
   it when the homepage band migrates properly). */
.tjw .steps__note{margin-top:24px;color:var(--ink-60);max-width:60ch}

/* dark context — six of the eight consumers sit on garnet. Type on
   dark reads lighter, so running copy gains +0.05 line-height (the
   mockup carries this on .dark itself; scoped here so the 22 legacy
   dark sections keep their own leading until they migrate). */
.tjw .dark .steps{border-top-color:var(--line-d)}
.tjw .dark .step{border-bottom-color:var(--line-d)}
.tjw .dark .step__no,.tjw .dark .step__time{color:var(--paper-60)}
/* line-height sits on the p itself — the base paragraph rule out-ranks
   anything inherited from the container */
.tjw .dark .step p:not(.step__no):not(.step__time){color:var(--paper-60);line-height:1.65}
.tjw .dark .steps__note{color:var(--paper-60)}
.tjw .dark .band{line-height:1.65}
.tjw .dark .shead h2{line-height:1.2}
.tjw .dark .shead__note{color:var(--paper-60)}

@media(max-width:760px){
	/* Every cell is placed explicitly: left to auto-placement, the
	   description's full-span push moves the cursor past row 1 and
	   the time lands in r3c1 instead of beside the name. The time
	   track is max-content, not auto — the 1fr name track would
	   otherwise absorb the row and resolve it to 0px. (Same family
	   as the .rows pin above.) */
	.tjw .steps{grid-template-columns:2rem minmax(0,1fr) max-content;column-gap:14px}
	.tjw .step{row-gap:var(--sp-1);padding-block:22px}
	.tjw .step__no{grid-area:1/1}
	.tjw .step h3{grid-area:1/2}
	.tjw .step__time{grid-area:1/3}
	.tjw .step p:not(.step__no):not(.step__time){grid-area:2/2/auto/-1}
}

/* ============ QUESTIONS — the accordion (band 8) ============
   Migrated pattern-wide on all 21 consumers at once, so the bare `.faqs`
   name transfers here and the legacy rules die with it (third retirement).
   No `.band` scoping is needed — or possible: 20 of the 21 accordions still
   sit inside legacy `.sec` shells whose heads migrate in phase 3.

   The surface was already uniform before this band touched it: every
   wrapper is exactly `wp-block-group faqs`, every question is a native
   core/details with exactly one paragraph inside, none open by default,
   no links in any <summary>. So the restyle is CSS-only on 20 pages —
   /bespoke/ alone changes markup, and only above the accordion (its head
   becomes a .shead and its section a .band).

   ⚠ Keep the core/details structure. inc/schema.php derives each page's
   FAQPage node from these blocks via parse_blocks() — summary = question,
   inner blocks = answer — deliberately so extraction never depends on a
   presentational class. Restyling is free; restructuring is not.

   What changed from the legacy rules, all of it the mockup's:
   the question row tightens (32px padding-block → 20px) and aligns on the
   baseline rather than the box centre; the marker drops from 24px to body
   size; the answer gives up its 16–18px --fs-body for the 14px base, the
   same move materials/rows/steps made, with a 70ch measure in place of a
   660px one. The legacy `letter-spacing:var(--tr-snug)` on the summary is
   simply gone: .tjw already sets -.01em globally, so it never did
   anything.

   ⚠ FALSE FRIEND, and it will bite every remaining band: the mockup
   declares `--fs-body:14px`, the theme's `--fs-body` is the un-retuned
   16–18px reading-copy token. They are not the same size. Where the
   mockup says var(--fs-body) and means "base body", the translation here
   is either to drop the declaration (the answer paragraph, as
   materials/rows/steps all did) or to name the 14px token outright —
   --fs-ui, as the marker below does. Copying the token name across is
   the one move that is always wrong. */
.tjw .faqs{border-top:1px solid var(--line)}
.tjw .faqs .wp-block-details{border-bottom:1px solid var(--line)}
.tjw .faqs summary{display:flex;justify-content:space-between;align-items:baseline;
	gap:24px;cursor:pointer;list-style:none;padding-block:20px;
	font-family:var(--serif);font-weight:var(--serif-w);font-size:var(--fd-3);line-height:1.3}
.tjw .faqs summary::-webkit-details-marker{display:none}
/* "+" becomes "–" rather than rotating 45° into an "×" — a cross reads as
   dismiss, a minus as collapse. The legacy rule's transition went with the
   rotation: a content swap can't tween, and a transition that animates
   nothing is worse than none — it reads as intent to anyone editing later. */
.tjw .faqs summary::after{content:"+";font-family:var(--sans);font-size:var(--fs-ui);
	font-weight:400;color:var(--ink-60);flex:0 0 auto}
.tjw .faqs .wp-block-details[open] summary::after{content:"–"}
/* the measure sits on the answer itself — a ch on the wrapper would resolve
   against the wrapper's font-size, not this one */
.tjw .faqs .wp-block-details > :not(summary){color:var(--ink-60);
	margin-top:-4px;padding-bottom:22px;max-width:70ch}

/* ============ HERO — one component after all (band 1) ============
   Band 1 shipped 2026-07-27 as TWO components, on the ruling that the
   homepage would never put type over photography. The owner reversed
   that on 2026-07-28 and the homepage moved onto the over/under scroll
   caption as well, so both image heroes are now the same block
   (blocks/hero-over-under/) and there is nothing left for this file to
   style — the block carries its own stylesheet and reads the same
   tokens. `.hero-still` / `.hero-still__text` are deleted here with
   their last and only consumer = SIXTH RETIREMENT.

   Still NOT retiring: the .hero__* / .hero--* legacy family. Those are
   the text-led pages' hero (30-40 consumers each, six patterns building
   them through greyd_child_render_hero) and they keep it until a
   text-focus hero is designed. "Image hero only where there is a
   photograph worth the fold" survives the reversal — what changed is
   only which image hero the homepage runs.

   What this file still owns for band 1 is the statement voice above:
   the hero lede on both pages is promoted out of 14px grey body copy
   into the page's own 30px voice, and the action row below. */

/* the statement's action row. NOT .hero__actions: that legacy class is
   left-aligned and has 38 live consumers, and the statement is centred. */
.tjw .statement__act{display:flex;justify-content:center;align-items:center;
	gap:var(--sp-6);flex-wrap:wrap;margin-top:clamp(28px,3.4vw,40px)}
/* An action is a control, not voice. The row's CTA is marked up as a
   paragraph, so without this it inherits the 30px serif from
   `.tjw .statement p` at the top of this file — the CTA then reads at the
   same size as the sentence it follows, in a serif no other link on the
   site uses, which is why it looks like a third button style rather than
   the house one. These are the is-style-tjw-link values verbatim (--fs-ui
   is 14px, --tr-snug is -.01em), so band 1's CTA and band 3's "Read about
   the craft" are the same object seen twice.
   (0,3,1) to beat `.tjw .statement p` (0,2,1); max-width undoes the 22em
   measure, which is a rule for prose and would wrap a long CTA. */
.tjw .statement .statement__act p,
.tjw .statement .statement__act .lnk{font-family:var(--sans);
	font-size:var(--fs-ui);font-weight:400;line-height:1.5;
	letter-spacing:var(--tr-snug);max-width:none}

/* ============ STORY — the indented editorial column (band 3) ============
   The rollout's largest surface: 39 sections on 21 pages, migrated in one
   pass, so the bare .story__* names transfer here and the legacy rules die
   with them (fourth… fifth retirement — the hero retired nothing of its
   own family, this one retires most of one).

   THE SHAPE. A 4fr/7fr grid whose LEFT COLUMN IS DELIBERATELY EMPTY. That
   is the whole band: the indent is inherited from the band's own structure
   rather than invented as a margin, and the whitespace beside the copy is
   the same whitespace the sticky-label column always occupied. Dropping the
   grid instead would push the prose out to the page edge and flatten it.
   .story__body needs an explicit grid-column:2 — it is now the grid's only
   child on 38 of the 39 sections and would otherwise auto-place into
   column 1 and lose the indent entirely.

   WHAT LEAVES.
   · .story__label — the sticky 11px mono eyebrow. On 29 sections it was the
     only thing naming the band and it was smaller than its own body copy; a
     heading that vanishes under its prose is a fault, not a choice. Its
     text is promoted into a real .shead h2 (SEO-material and deliberate:
     29 sections gain a heading they never had). Where the section already
     carried a real h2 — diamond-replacement ×4, ring-resizing ×2, where
     .big was a heading, and the four "come and see us" bands, where the
     section's own .sec__head says it — the eyebrow was a second label for
     the same thing and simply goes.
   · .story__cols — a NESTED two-column grid of grey 14px prose inside the
     column. The left run-in wrapped to two lines and the right one didn't,
     so the two columns started on different baselines and read as a fault
     rather than a layout. Unwrapped into one stack.
   · the bold run-ins' 500-weight/full-ink treatment, which was a third
     weight and a fourth colour doing work the paragraph breaks already do.
     The <strong> tags stay in the copy; they just stop being styled.
   · ink-60 on the prose. This is the band's primary copy — it reads at full
     ink now, unlike .mats/.rows/.step descriptions, which are secondary.

   TWO TIERS, AND THE OWNER DREW THE LINE (2026-07-27). The mockup runs
   EVERY paragraph of the band at the shared 30px voice. That is right where
   the band is the page speaking (/bespoke/, /about/, the homepage) and
   wrong where it is explaining: /diamond-replacement/ and /jewellery-repairs/
   carry 180–240 words per band, which at 30px in a 22em measure is a
   ~2,000px column. So:
     .story__voice  → opt in to the shared voice; every paragraph at 30px,
                      one line of leading between them, no deck.
     .story__body   → the default; a 30px .big deck over base-size prose.
   The voice declaration itself is NOT duplicated here — .story__voice p
   rides the shared .statement/.story__voice rule at the top of this file,
   which is the whole point of that rule existing. */
.tjw .story__grid{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);
	gap:clamp(24px,4vw,64px)}
.tjw .story__body{grid-column:2}

/* diamond-replacement's two "steps" bands (2026-08-16 eyebrow/hero fix): the
   band's own h2.big isn't wrapped in a .shead, so there is no .shead
   margin-bottom to open the gap before the .story__voice intro paragraph
   that replaced the old plain-paragraph/kicker-eyebrow shape — the group's
   own flow gives it none either (block layout has no `gap`, and margin
   collapse into a nested group doesn't fire here). Same rhythm as .shead's
   own margin-bottom, since this is standing in for it. Page-scoped:
   body.page-id-24841 only, so it can't catch home's own standalone .big. */
body.page-id-24841 .tjw h2.big + .story__voice{margin-top:clamp(28px,4vw,48px)}

/* the deck — the opening paragraph on the explaining bands. Same type as
   the voice; what makes it a deck is that it is the only paragraph wearing
   it. The old rule's flat margin-bottom:72px was set when the prose beneath
   was a two-column block; against a plain stack it reads as a hole. */
.tjw .story__body .big{font-family:var(--serif);font-size:var(--fd-voice);
	font-weight:var(--serif-w);letter-spacing:var(--tr-snug);line-height:1.32;
	text-wrap:pretty;max-width:22em;margin-bottom:clamp(28px,3.4vw,var(--sp-11))}
/* the prose under the deck needs its own measure, and this is the one thing
   the unwrap TAKES AWAY: .story__cols capped the pair at 780px, so each of its
   two columns ran at ~366px and nobody had to think about it. One column in a
   7/11 track is 847px at 1536 — around 140 characters a line, which is a wall.
   ⚠ `ch` is the width of "0", NOT of an average character: measured in this
   font a `ch` is 9.55px against a ~6px mean, so 70ch renders 111 characters,
   not 70. Every ch measure in this file is ~1.6× the number it reads as.
   50ch measures 79 characters here, which is the top of the readable range
   and a visible step in from the deck's 660px.
   Not on .big: the deck is display type with its own 22em. And NOT on the
   voice — a 0-3-1 selector here would out-rank the shared 0-2-1 voice rule and
   silently replace its 22em, which is the exact failure the mockup's own
   `.story__body p{max-width:32em}` caused. */
.tjw .story__body:not(.story__voice) p:not(.big){max-width:50ch}
/* One line of leading between voice paragraphs. At 30px/1.32 that is ~40px,
   which reads as a paragraph break at this size. Stated as a ratio of the
   leading so it stays right if the clamp is retuned. */
.tjw .story__voice p + p{margin-top:1.32em}
/* and the same rule for the default tier — the OTHER thing the unwrap takes
   away. Inside .story__cols the two paragraphs were grid items with a 48px
   column gap and never needed vertical spacing; stacked, they ran together
   with nothing between them at all. One line of leading again, which at
   14px/1.5 is 21px. Direct children only: .story__pair's paragraphs are
   siblings too, and they set their own margin:0. */
.tjw .story__body:not(.story__voice) > p + p{margin-top:1.5em}

/* .story__pair — the successor to .story__cols--tight, and the one place
   two columns SURVIVE the collapse. Its four consumers (about, remodelling,
   repairs, scrap-gold "come and see us") hold an address and an opening-hours
   block, not prose: two short <br>-broken lists that are meant to be read
   side by side. Unwrapping them the way the prose columns unwrap would turn
   a pair of data blocks into one run-on stack. Renamed rather than kept,
   because a --tight modifier of a class that no longer exists is a trap. */
.tjw .story__pair{display:grid;grid-template-columns:1fr 1fr;
	gap:var(--sp-12);max-width:var(--measure-lg);margin-top:clamp(28px,3.4vw,var(--sp-11))}
.tjw .story__pair p{margin:0}

/* the band's closing action, where it stays under the copy rather than
   moving into the .shead. /bespoke/ follows the mockup and promotes its
   link to the head's second slot; the other 12 keep it here, because four
   of them carry TWO links and the head has one slot. */
.tjw .story__more{margin-top:var(--sp-16)}

/* dark contexts (the four visit bands + wedding-rings' garnet "make your
   own" band). The +0.05 leading has to sit ON the paragraph — the base
   :where(p) rule out-ranks anything inherited from .dark .band, the same
   trap the steps band documents. Excluded from .story__voice, whose 1.32
   is the voice's own and must not be overridden by a more specific
   selector — and from the .big deck, which is 30px display type, not running
   copy: 1.65 on a 30px line is a 49px leading that pulls the deck apart. */
.tjw .dark .story__body:not(.story__voice) p:not(.big){line-height:1.65}

@media(max-width:900px){
	/* one column, so the indent goes and the body has to be released from
	   column 2 — it no longer exists */
	.tjw .story__grid{grid-template-columns:1fr;gap:var(--sp-4)}
	.tjw .story__body{grid-column:1}
}
@media(max-width:600px){
	.tjw .story__pair{grid-template-columns:1fr;gap:var(--sp-6)}
}

/* the staggered design pair — /bespoke/ only, folded into the story band
   the mockup draws it in. Its eyebrow paragraph becomes two real captions,
   which is what the eyebrow was describing anyway.
   The second image's drop is a PERCENTAGE, not a px offset: percentage
   margins resolve against the grid area's width, the same quantity the
   live ratio (92px against a 451px column) was taken from, so the stagger
   stays proportional at every viewport instead of collapsing at one. */
.tjw .design-pair{display:grid;grid-template-columns:1fr 1fr;
	gap:clamp(20px,3vw,48px);align-items:start;margin-top:clamp(48px,7vw,96px)}
.tjw .design-pair figure{margin:0}
.tjw .design-pair figure img{width:100%;height:auto;display:block;border-radius:var(--r-sm)}
.tjw .design-pair figure:nth-child(2){margin-top:min(20%,132px)}
.tjw .design-pair figcaption{margin-top:14px;font-size:var(--fs-sm);color:var(--ink-60)}
@media(max-width:700px){
	.tjw .design-pair{grid-template-columns:1fr;gap:var(--sp-6)}
	.tjw .design-pair figure:nth-child(2){margin-top:0}
}

/* the homepage's bench photograph, which is the one thing standing in the
   4fr column on any of the 39 sections. It is not an orphan the way a
   one-line label was, so it stays. (The homepage redesign mockup deletes
   this band outright — see the log; this migration may be temporary.) */
.tjw .story__photo{margin:0}
.tjw .story__photo img{width:100%;height:auto;display:block;border-radius:var(--r-sm)}
.tjw .story__photo figcaption{margin-top:14px;font-size:var(--fs-sm);color:var(--ink-60)}

/* .band--tight — the successor to .sec--tight, needed the moment the story
   sections became bands: eight of them (the four category pages, both
   spokes) sit directly under a gallery that has already paid for the gap,
   and .band's symmetric padding-block would put 120px back on top. */
.tjw .band--tight{padding-top:0}
/* .band--tight-b — the successor to .sec--tight-b, #16127 mop-up
   2026-08-15: zeroes the bottom instead of the top, for a section that
   dead-ends into a full-bleed image with no gallery gap to protect. Single
   consumer (the /bespoke/ photo band). Old .sec--tight-b rule
   (section-patterns.css) stays until the sixth-family sweep retires it. */
.tjw .band--tight-b{padding-bottom:0}

/* ============ CONTACT — the editorial page (2026-09) ============
   The contact page moves off the eight-row .specs table and the 40%-tall
   Google Maps <iframe> onto three spreads: a photographic hero, the direct
   contact strip, and the enquiry on a garnet ground.

   Why `--fd-display` exists at all. The site's ramp tops out at
   `--fd-1` (34–48px) for a real h1 and 76px flat for the `display` preset.
   The prototype's opening headline is 72–96px and is the one piece of type
   on the site that needs to beat the `display` preset while still being
   fluid — a static 76px does not step down between 1440 and 400 the way
   every other size here does. It is a custom property rather than a
   theme.json preset on purpose: it has exactly one consumer, and the preset
   list is a design-system surface that should not grow by one for a band.
   Same idiom as --fd-voice, which was the same argument one band earlier.

   This is a TIER, not one size. Measured against the prototype at 1440 the
   four display headings are 96 / 84 / 72 / 55px — the site's ramp tops out at
   `--fd-1` 48px, so every one of them was falling back to either the 48px
   h1 or the 32px h2 and reading as body-adjacent type. Declared on the scope
   root rather than inside the first consumer: all three variants open on the
   same scale and only one of them is .chero.

   ⚠ These were written as RATIOS of --fd-display (×.87 / ×.75 / ×.57) and
   that was wrong — it only held at 1440, because the prototype's five sizes
   are five INDEPENDENT clamps, not one scale factor. The prototype's spans
   are 96→56 (×1.71) for the h1 but 28→24 (×1.17) for the reading line, so a
   single ratio cannot track both: at 1440 the visit heading came out 66px
   against the prototype's 55, and at 390 the reading line came out 32px
   against its 26. Each step is now the prototype's own clamp. Verified
   against the prototype's stylesheet, not eyeballed.
   `--tr-display` is the second thing a ratio could not carry: the prototype
   tracks every display heading at -.025em, and the site's tightest token
   (--tr-tight) is -.015em — measurably looser, and the single most visible
   difference in the type. One tier, one consumer set, same argument as
   --fd-voice one band earlier. */
.tjw{
	--fd-display:clamp(56px, 6.65vw, 96px);    /* the page opening — h1            */
	--fd-display-2:clamp(46px, 5.8vw, 84px);   /* the band voice — enquiry h3      */
	--fd-display-3:clamp(40px, 3.8vw, 56px);   /* the band name — visit h2         */
	--fd-display-4:clamp(24px, 1.9vw, 26px);   /* the sub-head — visit h3          */
	--fd-display-5:clamp(24px, 1.95vw, 28px);  /* the reading line — hero caption  */
	--tr-display:-.025em;
}

/* ---------- the NAP row: telephone, email, address ----------
   Three ways to reach the workshop, closing the opening band's copy column.

   ⚠ This was a band of its own BELOW the hero, and it was above the fold at
   exactly one viewport — a 1440x900 one, which is the size it had been looked
   at. Measured: at 1440x780 the hero's copy column already ended at 680 and
   the strip needed 113px of its own below that; at 360x640 the hero alone is
   845px. No amount of trimming under the hero was going to bring the details
   into the first screen, so the fix is position, not spacing: the band is gone
   and the same three items now end the copy column of whichever band opens the
   page. See fold-candidates.mjs, which is what measured it.

   The name is .nap, not the prototype's .direct-contact — close enough to
   core's address/contact vocabulary to collide later, and NAP is the term the
   local-SEO side of this site already uses.

   ⚠ The two shapes are load-bearing, not decoration. Three-up is 43px tall;
   the stacked form is 89px. On a 1280x720 laptop only ~73px is left below the
   hero CTA, so ONLY the three-up fits — which is why three-up is the
   wide-screen form rather than something switched on at a breakpoint. Below
   1081px the copy column is 380–470px and the two side labels wrap, so the row
   stacks to one item per line: label left, value right, on a hairline. That
   taller form is affordable there because the display clamp has brought the h1
   down by then and the column has 80–120px to spare. */
.tjw .nap{display:block;border-top:1px solid var(--line);
	margin-top:var(--sp-6);padding-top:0}
.tjw .nap > .wp-block-group{display:flex;justify-content:space-between;
	align-items:baseline;gap:var(--sp-4);padding-block:6px;
	border-bottom:1px solid var(--line)}
.tjw .nap > .wp-block-group:last-child{border-bottom:0}
.tjw .nap p{margin:0}
.tjw .nap a{color:inherit;text-decoration:none}
/* On garnet — variant B's opening band — the labels invert with the ground.
   ⚠ --line is mixed from --ink, which stays Onyx inside .dark, so the
   hairline has to be swapped for --line-d rather than inherited; the base
   .contact-strip never had to care because it only ever sat on paper. */
.tjw .dark .nap{border-top-color:var(--line-d)}
.tjw .dark .nap > .wp-block-group{border-bottom-color:var(--line-d)}
/* ⚠ 1081 is measured, not chosen. The middle cell carries
   info@thejewelleryworkshop.co.uk, the one value that needs its full width;
   at 1080 the copy column is 463px and 1.3fr leaves that cell about 4px short,
   so the track is 1.35fr and the row stays stacked below. The prototype's own
   track is 1/1.3/1. */
@media(min-width:1081px){
	.tjw .nap{display:grid;
		grid-template-columns:minmax(0,1fr) minmax(0,1.35fr) minmax(0,1fr);
		gap:var(--sp-3) clamp(16px,2vw,28px);padding-top:var(--sp-2)}
	.tjw .nap > .wp-block-group{display:block;padding-block:0;
		border-bottom:0}
}

/* ---------- the enquiry, on garnet ----------
   The second half of band 9's light re-skin, and the inversion the comment
   above it is waiting for: `.band .enq` was written paper-first because
   every dark consumer had yet to migrate. The contact page is the first
   band to keep the garnet the base markup was built for, so the form needs
   a dark treatment — scoped to `.dark`, so the paper bands are untouched.
   -----
   These are NOT the `.panel .field` rules reinstated. Those sit in
   section-patterns.css and exist because /contact-us/ has not migrated yet;
   the moment it does they lose their only consumer. Nothing here duplicates
   them — every value resolves from a token, and the ground is `.dark`'s. */
.tjw .dark .enq .field label{color:var(--bg);padding-left:var(--sp-4)}
/* The garnet ground needs its own error red: --alert is 2.47:1 here. Set on the form,
   because the error summary is a sibling of the fields rather than a field itself. */
.tjw .dark .enq .form{--field-alert:var(--alert-d)}
.tjw .dark .enq .field input,
.tjw .dark .enq .field textarea,
.tjw .dark .enq .field select{color:var(--bg);border-bottom-color:var(--line-d)}
/* ⚠ The states. The paper block above (:136-143) declares hover and focus,
   this dark one only declared the base — and hover/focus each carry an extra
   state pseudo-class, so `.tjw .band .enq .field input:hover` (0,5,1) beat the
   (0,4,1) rule three lines up. A pointer over a field therefore flipped the
   typed value to Onyx on garnet: measured rgb(22,22,22) on #5b1f23, contrast
   1.43:1 against the 4.5:1 a body-copy string needs, i.e. effectively
   invisible. Focus did the same to the underline. The paper block is not wrong
   on paper; its garnet counterpart simply never declared a state. These put the
   value back on --bg, 11.88:1.
   ⚠ These resolve by SOURCE ORDER on the (0,5,1) tie, exactly as the base
   (0,4,1) pair above already does, so they have to stay below :136-143.
   Nothing else in either sheet repaints ink inside .dark here — checked rule
   by rule across both sheets, not sampled. */
.tjw .dark .enq .field input:hover,
.tjw .dark .enq .field textarea:hover,
.tjw .dark .enq .field select:hover{color:var(--bg)}
/* !important matches :143's own !important; among important declarations
   specificity rules first and these tie, so order is again the mechanism */
.tjw .dark .enq .field input:focus,
.tjw .dark .enq .field textarea:focus,
.tjw .dark .enq .field select:focus{color:var(--bg);
	border-bottom-color:var(--bg) !important}
.tjw .dark .enq .field input::placeholder,
.tjw .dark .enq .field textarea::placeholder{color:var(--paper-40)}
/* select falls back to --bg on some platforms for its closed value, so only
   the POPUP is inverted — the option list has to stay dark-on-light or it is
   unreadable against the native menu surface */
.tjw .dark .enq .field select option{color:var(--ink);background:var(--bg)}
/* the aside carries the display heading. h3 is deliberate: "Tell us the
   story." is the band's voice, not its name.
   ⚠ The earlier note here claimed the band's h2 was the .shead above it.
   There is no h2 in this band — tjw_shead() emits two <p class="kicker"> —
   so the heading order on the page is h1 → h3 → h2 → h3 and the h3 in the
   enquiry band skips a level. Recorded, not fixed here: raising it to h2 is a
   schema/outline decision, not a styling one. */
.tjw .dark .enq__aside h3{font-family:var(--serif);font-weight:var(--serif-w);
	font-size:var(--fd-display-2);line-height:1.04;
	letter-spacing:var(--tr-display)}
.tjw .dark .enq__aside p{color:var(--paper-60);margin-top:var(--sp-6);
	max-width:none;font-size:var(--fs-body)}
/* reply note + privacy line, which the base markup has nowhere to put: the
   partial ends at the captcha. Slot it above the submit row, not inside
   .form__foot, which is a space-between flex row and would push it off-axis.
   ⚠ grid-column:1/-1 is load-bearing. `.form--single > .field` gets the
   full-width span and nothing else does, so a <p> that is not a .field lands
   in ONE of the two form columns — 155px at 390 — and the two-line note
   rendered as eight lines in a slot a third the width of the form. */
.tjw .dark .enq .form__note{color:var(--paper-60);font-size:var(--fs-xs);
	line-height:1.8;max-width:32ch;margin-top:0;grid-column:1/-1}
.tjw .dark .enq .form__note a{color:inherit;text-decoration:underline;
	text-underline-offset:2px}
/* The submit is a bare .cta, not a wp-block-button, so it gets none of the
   button-style classes. Base .cta is ink-on-paper (section-patterns.css) and
   .dark .cta is paper-on-ink — correct on the garnet bands that use .dark as
   a light-ground ancestor, wrong here where the whole band IS garnet and the
   button has to read as a lifted paper chip. Matches .cta--paper.
   The prototype's button is a WIDE chip: min-height 56, 14/24 padding, the
   label left and a ↗ pushed to the far edge by a 40px gap, at the 400 weight
   it shares with body copy. Base .cta is a 10px-gap, 500-weight, centring
   inline-flex, which rendered 130px wide and read as an afterthought under
   the fields. */
.tjw .dark .enq .cta{background:var(--bg);color:var(--dark);
	min-height:56px;justify-content:space-between;gap:var(--sp-10);
	padding:var(--sp-4) var(--sp-6);font-weight:400;margin-top:0}
.tjw .dark .enq .cta:hover{background:#fff;color:var(--dark)}
.tjw .dark .enq .cta::after{content:'↗' / '';font-family:var(--sans);
	font-variant-emoji:text;transition:transform 250ms var(--ease)}
.tjw .dark .enq .cta:hover::after{transform:translate(2px,-2px)}

/* ---------- the form's own rhythm ----------
   ⚠ SUPERSEDED 2026-10-11 by the one-field spec in section-patterns.css
   (`.tjw .field` / `.tjw .form--single`). What remains here is the part that is
   genuinely page-specific: the label steps up to --fs-ui, and the row gap is the
   house 28px rather than the form default. Height, padding and the label's left
   inset now come from the base spec, so this page and the light band render the
   same control — the difference that used to exist here (48px) versus there
   (42.59px) was an accident of which wrapper the shared partial sat in, not a
   decision, and it is now written down instead of being implicit.
   `.field{margin-bottom:0}` is no longer needed: the base spec sets it. */
.tjw--contact .band .enq .form.form--single{gap:var(--sp-7) var(--sp-6)}
.tjw--contact .enq .form--single .field label{font-size:var(--fs-ui)}
.tjw--contact .enq .form--single .field select{padding-right:var(--sp-8)}
.tjw--contact .enq .form--single .field textarea{min-height:100px;line-height:1.5}
.tjw--contact .enq .form--single .cta{margin-top:0}

/* The Budget / Timeframe pair used to be folded into a <details> here. It is
   not any more: the widened form has room, and a disclosure hid the one field
   the page most wants filled. They are now ordinary .field--half siblings of
   First/Last name and sit side by side in the form's own grid — no wrapper, so
   nothing to style. */

/* the prototype's own grid ratios, taken from its stylesheet rather than
   eyeballed: the enquiry spread is 1fr/1.2fr with a 48–140px gutter. .enq's
   own default is 4fr/7fr (≈1/1.75), which gave the form a 780px track — close
   to the prototype's ~808px — but starved the aside of the room its 84px
   heading needs. Overriding the track here rather than editing .enq: the
   bespoke, valuations and repairs bands keep 4fr/7fr.
   -----
   ⚠ This is scoped to the contact page AND wrapped in the min-width side of
   the house boundary — `--bp-md` (900px), written here as 901 — and both are
   load-bearing. The rule was previously `.tjw .dark .enq` outside
   any media query — same specificity as the `.band .enq` collapse at
   editorial.css:149 and later in the file, so it silently OUT-RANKED it and
   the enquiry spread
   never went to one column. At 390 the aside was 139px and the form 167px
   with two 75px input columns inside it: the page ran to 4,941px against the
   prototype's 3,396 and the form was unusable. Source order deciding a
   responsive collapse is the third time this file has hit that trap (see
   .compact-head h1 and .visit-section .shead h2); putting the desktop track
   inside its own min-width query removes the dependency instead of relying on
   which rule is written last.

   ⚠ Every 860/861px condition in this file moved to the house boundary
   (900/901) on 2026-10-13, grids plan stage 3. This file previously picked its
   own tablet step 40px below section-patterns.css, so at 880px a story grid was
   one column while the card grid beside it was still three. Only the numbers
   moved: the collapse targets, the ratios and the source order above are
   unchanged, and the one line number this comment named was re-pointed. The
   860/861 pair survives in jw-commerce.css (account pages, out of scope) and in
   repairs-spokes.css (the repairs carousel), each recorded rather than left as
   drift. Two of the moved conditions are not live on any sampled route:
   `.dark .cover-split` and `.tjw--contact .visit-section` match no element the
   site renders — moved anyway, because a rule left on the old boundary while
   its neighbours move is the drift this stage exists to end. */
@media(min-width:901px){
	.tjw--contact .dark .enq{grid-template-columns:1fr 1fr;
		gap:clamp(48px,9vw,140px)}
}

/* ---------- the contact page's own band rhythm ----------
   The prototype opens the garnet band on 88px of ground above the enquiry and
   closes it on 80, and runs the visit spread on 88/100. `.band`'s own
   padding-block is --band (64–120px), which at 1440 is 114 both ways and put
   68px of extra garnet above the form.
   ⚠ `.enq-band`, not `.dark.band`. Variant B's HERO is also a `.dark.band`,
   and a bare `.dark.band` rule here would have reset the opening band of that
   variant too — visible only as a slightly different page, which is the kind
   of change that ships unnoticed. The enquiry band carries its own class for
   exactly this reason. */
@media(min-width:901px){
	.tjw--contact .enq-band{padding-block:var(--sp-20)}
}

@media(max-width:900px){
	/* the concept's stacked enquiry spread opens on a 44px fold, not the base
	   grid's 32 — the aside's heading and the first field label otherwise read
	   as one block */
	.tjw--contact .band .enq{gap:var(--sp-11)}
}

/* the prototype's own 480px step, where the composition tightens again:
   the submit goes full width so the form ends on a rule rather than a small
   chip in the left-hand corner. */
@media(max-width:480px){
	.tjw--contact .band .enq .form.form--single{gap:var(--sp-6) var(--sp-4)}
	.tjw--contact .enq-band{padding-block:var(--sp-12)}
	.tjw--contact .enq .cta{width:100%;justify-self:stretch}
}
/* The aside opens on a photograph rather than a heading, so without this it
   sits ~14px above the form's first row — the labels and the image edge read
   as two different starting lines. .enq's own align-items is start; nudging
   the aside's first child onto the form's baseline is what fixes it. */
.tjw .enq .enq__aside > .wp-block-image:first-child{margin-top:2px}

/* ============ CONTACT — the factual page (variant D, 2026-09) ============
   tagline → details → form.

   The note that asked for this was "there is quite a lot of repeated content
   on the page. I think we should have the key information nicely presented.
   less editorial more factual. tagline > details > form." Measured, they were
   right twice over. The address appeared THREE times (the hero's NAP row, the
   visit spread and the site footer), the opening hours twice, and the page
   wrapped a phone number in five pieces of editorial: "Good things begin with
   a conversation.", "Tell us the story.", "A place for your next chapter.",
   "Your story. Our hands." and "At the bench. In Diss."

   So this composition states each fact exactly once and drops the display tier
   entirely — the h1 is the site's own --fd-1 ramp (34–48px), not --fd-display
   (56–96px). What was "editorial" here was mostly SCALE plus six poetic lines;
   removing both is most of the change.

   Every fact below is copy already approved on /contact-us/ (post 17324):
   Telephone, Email, Address, Hours, Consultations, Remote. Nothing is a new
   claim, which matters because that page's copy has been through review and
   this one's has not.
   ---------------------------------------------------------------------- */
/* ⚠ Every number here is a fold budget, not taste. The h1 at --fd-1 is 96px for
   two lines, the lede three, the actions 48. At 1280×720 the viewport leaves
   640px under the 80px header and there are six facts below this — so the
   tagline gets ~250px of content and no more. The first pass at --sp-16/--sp-12
   with --sp-9 above the actions spent 383px and pushed every fact value 16px
   BELOW the fold, which is the exact failure this variant was built to fix.
   Now the band is the h1 and nothing else — no actions, no intro — which is
   ~140px and leaves the facts starting at 468 with room to spare.
   ⚠ --tr-tight, not --tr-snug: every other h1 on the site tracks at
   --tr-tight (-.015em) — .tjw .chero h1, .compact-head h1 — and this one was
   the only h1 set looser than the rest. */
.tjw .tagline{padding-block:var(--sp-10) var(--sp-8)}
.tjw .tagline h1{font-size:var(--fd-1);line-height:1.06;
	letter-spacing:var(--tr-tight);margin-bottom:0}

/* ---------- the facts ----------
   One grid, six cells, one fact each. The hairline is on the CELL (border-top),
   NOT on the band: a full-bleed rule directly under the title read as a second
   section divider and, with the cell rules below it, made three rules in the
   space of one. Two rule rows is a table; three is a fence.
   -----
   The type is .ledger__grid's, deliberately. That component is the site's own
   "mono label over a serif value over a sans note" treatment for factual data
   (section-patterns.css:1324, written for the bespoke commission notes), and it
   is unused on any page — so this is that scale, not a fifth one invented for
   the contact page.
   ⚠ The first pass set the values in the sans at --fs-body, i.e. the SAME SIZE
   AS THE LEDE. Measured against the band, the numbers then had no rank over
   body copy and the cells read as form fields, because the values also carry
   `.lnk` underlines. Serif at --fd-3 (18–20px) is still modest type, but it
   belongs to the page's display voice rather than to the prose, and it is the
   one scale step that separates "what you are reading" from "what you type".
   ⚠ Size check before changing this: at 20px Newsreader
   info@thejewelleryworkshop.co.uk is ~270px against a 292px track at 1440. It
   is the widest value on the page and it is what fixes the ceiling. */
.tjw .details{padding-block:var(--sp-8) var(--sp-12)}
.tjw .details__grid{display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	column-gap:clamp(24px,3vw,48px)}
/* ⚠ `.tjw .detail p{margin:0}` is (0,2,1) — two classes AND an element — and it
   out-ranks a bare `.tjw .detail__v` (0,2,0) whatever the source order. Every
   `margin-top` in this block was silently 0: the gap between a label and its
   value was nothing but the label's line-height leading, which is why the cells
   read as cramped however much padding they were given. The child selectors
   below are three classes (0,3,0) so they win on class count, not order.
   -----
   ⚠ The vertical rhythm is a fold budget. Six cells stack to one column below
   480px, so every px added here is multiplied by six on a phone. Measured, not
   estimated: run measure-fold.mjs after touching these. */
.tjw .detail{padding-block:var(--sp-6);border-top:1px solid var(--line)}
.tjw .detail p{margin:0}
.tjw .detail .detail__k{font-family:var(--mono);font-size:var(--fs-3xs);
	letter-spacing:.06em;text-transform:uppercase;color:var(--ink-40)}
.tjw .detail .detail__v{font-family:var(--serif);font-weight:var(--serif-w);
	font-size:var(--fd-3);line-height:1.2;letter-spacing:var(--tr-snug);
	color:var(--ink);margin-top:var(--sp-4);
	/* the address is the one value that wraps at 1024 and below, and without
	   this it broke as "...Norfolk IP22 / 4JT" — a two-character widow under a
	   three-line cell. balance splits it into two even lines instead. */
	text-wrap:balance}
.tjw .detail .detail__n{font-size:var(--fs-sm);line-height:1.6;
	color:var(--ink-60);margin-top:var(--sp-3)}
.tjw .detail__n a{color:inherit}

/* ---------- variant D's form, with no aside ----------
   ⚠ .enq--solo must match .enq's own specificity to win, and win on SOURCE
   ORDER — the same trap this file has hit four times now. `.tjw .band .enq`
   (editorial.css:123) and `.tjw--contact .dark .enq` (:975) are both (0,3,0),
   and a two-class `.tjw--contact .enq--solo` would lose to both at (0,2,0):
   the form would sit in column 1 of a 4fr/7fr grid and the band would carry an
   empty right-hand column. Three classes, written last. */
.tjw--contact .dark .enq--solo{grid-template-columns:minmax(0,1fr)}
/* ⚠ SIX classes on purpose, and the two traps are different ones.
   (1) width:100%, not just max-width: `margin-inline:auto` on a grid item
       overrides the default `justify-self:stretch`, so the form sizes to
       fit-content and the cap never binds — measured at 503px against a 640px
       max-width, i.e. the width was being set by the longest placeholder
       rather than by the rule.
   (2) `.tjw .band .enq .form.form--single` is (0,5,0) and declares
       `max-width:none`; `.tjw--contact .band .enq .form.form--single` is also
       (0,5,0) and declares `gap`. A four-class rule loses to BOTH — and loses
       only on those two properties, while its grid-template-columns lands, so
       the symptom is a form that is tri-column but full-bleed with the wrong
       gutter. `.enq.enq--solo` makes it (0,6,0) so source order cannot decide
       it. Checked against the CSSOM with `RULES=1 node probe-form.mjs`. */
.tjw--contact .band .enq.enq--solo .form.form--single{width:100%;
	max-width:var(--measure-lg);margin-inline:auto}

/* ---------- the form's two panels ----------
   "can the form be wider on desktop/laptop perhaps wrap the message us section
   to the right hand side."

   The shared partial is a FLAT list of .field children — there is no wrapper
   per column — so the panels are made by placing the message explicitly and
   letting the rest auto-flow into the left two tracks. Widening to ~1080px and
   spending the extra width on a third track, rather than on 700px-wide text
   inputs, is the whole point: the message becomes a ~420px column running the
   full height of the field stack beside it instead of a shallow full-width box
   at the bottom.

   Row accounting on this page (measured by probe-form.mjs, not assumed):
     1  first name | last name | message
     2  title                  | message
     3  email                  | message
     4  subject                | message
     5  budget/timeframe (folded)
     6  form__note              | form__foot
   so the message spans 1–5 and the submit sits under it in row 6, opposite the
   note. ⚠ Span 5 is a hard-coded number tied to the field list; adding a field
   above Message silently pushes the submit out of the grid. probe-form.mjs
   prints the real rows — run it after touching parts/enquiry-form.php. */
@media(min-width:901px){
	.tjw--contact .band .enq.enq--solo .form.form--single{
		max-width:min(100%,1080px);
		grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.45fr);
		column-gap:var(--sp-6);row-gap:var(--sp-7);
		align-items:start}
	/* the short fields keep the left two tracks; a half-width field takes one */
	.tjw--contact .enq--solo .form--single > .field{grid-column:1 / 3}
	.tjw--contact .enq--solo .form--single > .field--half{grid-column:span 1}
	.tjw--contact .enq--solo .form--single > .field:has(textarea){
		grid-column:3;grid-row:1 / span 5;align-self:stretch}
	.tjw--contact .enq--solo .form--single > .field:has(textarea) textarea{
		flex:1;height:auto;min-height:180px}
	/* ⚠ The foot spans the full width and sits on its own row, NOT in the
	   message column. `.form__foot` is a space-between flex row holding the
	   captcha (304px minimum) and the submit (~179px); in a 423px column those
	   two cannot share a line, so flex-wrap pushed the captcha BELOW the
	   submit — a form that asks you to send before it asks you to prove you are
	   not a robot.
	   ⚠ And `space-between` on a 1080px row put the two 600px apart, which is
	   not a group: "can we group the send button and the recapture." At
	   flex-start they sit adjacent, button first. `order:-1` is kept from
	   section-patterns.css rather than corrected, because the captcha box
	   reserves 304px whether or not the widget has painted — reCAPTCHA does not
	   render on the .local domain, so captcha-first would indent the button by
	   an invisible 304px here while looking right in production. The site's own
	   comment accepts the resulting visual/DOM order swap for the tab flow. */
	.tjw--contact .enq--solo .form__foot{grid-column:1 / -1;grid-row:7;
		justify-content:flex-start;gap:var(--sp-6)}
	/* the reply/privacy line goes UNDER the message rather than under the
	   fields: it is about the message being sent, and it fills row 6's third
	   track instead of leaving a hole beside it. */
	.tjw--contact .dark .enq--solo .form__note{grid-column:3;grid-row:6}

	/* ⚠ Row shift when the form has errors. The error summary is a full-width row
	   above the field stack, and the message panel is pinned to `grid-row:1 / span
	   5`, so the two would overlap. Rather than reserve row 1 permanently — which
	   would leave an empty track and charge the form a 28px row gap for a state it
	   is not in — the shift is scoped to `is-invalid`, which contact.js sets only
	   while the summary is on screen. Every number below is the number above plus
	   one; change one and change the other. */
	.tjw--contact .enq--solo .form--single.is-invalid > .form__errors{grid-row:1;grid-column:1 / -1}
	.tjw--contact .enq--solo .form--single.is-invalid > .field:has(textarea){grid-row:2 / span 5}
	.tjw--contact .enq--solo .form--single.is-invalid > .form__foot{grid-row:8}
	.tjw--contact .dark .enq--solo .form--single.is-invalid > .form__note{grid-row:7}
	/* ⚠ The summary is already inside the form's own 1080px box, so it needs no
	   width of its own. `margin-inline:auto` looked like the tidy way to line it up;
	   on a grid item it overrides `justify-self:stretch`, so the box shrank to the
	   width of its longest error link and sat centred above the stack — a 200px
	   summary over a 1080px form. Stretch is what is wanted here. */
}

/* the enquiry heading is a plain band heading, not the --fd-display-2 (84px)
   the editorial variants give "Tell us the story."
   ⚠ Centred, and it is not a style preference. The form was 640px against a
   1297px wrap. Left-aligned it left ~600px of empty garnet beside it for the
   band's full height — the largest void on the page, and exactly the
   "editorial whitespace" this variant exists to remove. */
.tjw .enq-band > .wrap > h2{font-family:var(--serif);
	font-weight:var(--serif-w);font-size:var(--fd-2);line-height:1.1;
	letter-spacing:var(--tr-snug);margin-bottom:var(--sp-8);text-align:center}

@media(max-width:900px){
	.tjw .tagline{padding-block:var(--sp-10)}
	.tjw .details{padding-block:var(--sp-10) var(--sp-12)}
	.tjw .details .shead{padding-bottom:var(--sp-6)}
	/* two across, not one: at 390 the address wraps to three lines and a
	   single column of six makes a very long scroll of very short cells. */
	.tjw .details__grid{grid-template-columns:1fr 1fr;column-gap:var(--sp-6)}
}
@media(max-width:480px){
	.tjw .tagline{padding-block:var(--sp-8) var(--sp-10)}
	.tjw .details__grid{grid-template-columns:1fr}
}

/* ============ REPAIRS HUB — the opening spread and the process band ============
   Owner, reviewing the three prototypes, 2026-09-25: "the first section of the
   page could breath a bit more with more white space. the lower sections with the
   Simple, honest, needs it's spacing addressed there is two much negative space
   in the wrong locations."

   Both complaints are one measurement, taken at 1440 the same day. The band note
   below is worth reading before reusing `.shead` on a display title anywhere.

   INSIDE a section the children are flush. `.hero--short` and `.band` do not put
   margin between their children, so the measured gaps were `hero__title →
   story__grid` **0px** and `story__grid → facts` **0px**, while the section's own
   padding-block is 114px. All the air sat OUTSIDE the groups and none of it
   between them: the page alternated crammed and cavernous. That is what
   "breathing in the wrong place" is.

   THE PROCESS BAND was worse, and it is a bug this change introduced.
   `.bespoke__title` carries `margin-bottom:var(--sp-28)` — 112px, from
   section-patterns.css:696 — because it was written to stand alone above a steps
   list. Promoting it into a `.shead` left that margin INSIDE the flex head:
   measured head height **150px for a 38px title**, then the head's own 48px on
   top, so the band carried 160px between its title and its first step and read as
   a hole. The head owns that gap; the title must not also.

   ⚠ The `.shead` rule is deliberately NOT opt-in. Any band that promotes a
   display title into a section head has the same fault, so this is the general
   fix rather than a patch for one page. `.repairs-open` IS opt-in, because the
   opening rhythm is a composition choice and re-tuning every other band's
   internal spacing is not wanted. */

.tjw .shead .bespoke__title{margin-bottom:0}

.tjw .repairs-open > * + *{margin-top:clamp(32px,4vw,56px)}
/* The breadcrumb, the label and the headline are one head, not three blocks: the
   headline already opens 56px above itself (`.hero--short .hero__title`), so a
   gap here counts that space twice. Resetting the pair also keeps the label
   tucked under the breadcrumb, which is how every other short hero reads. */
.tjw .repairs-open > .crumb + *,
.tjw .repairs-open > .hero__top + *{margin-top:0}
/* Padding ONLY when the opening is the hero. In the band variants the section's
   own padding-block already pays for the gap below, which is why their following
   `.band--tight` services band is right and the hero's was not: `--tight` zeroes
   its top padding on the assumption that the previous section paid, and a `.hero`
   pays nothing. Measured 32px between the proof strip and "What we repair"
   before this line, against 114px everywhere else on the page. */
.tjw .hero.hero--short.repairs-open{padding-bottom:var(--band)}

/* Photo pair (2026-10-17, /stone-replacement/). Two portrait shots side by side
   in place of a single .ph--feature, whose caption was mono. Captions use the
   figure's own Satoshi caption. Stays two-up on a phone so the band stays short. */
.tjw .ph-pair{display:grid;grid-template-columns:1fr 1fr;gap:var(--sp-6);max-width:var(--measure-xl);margin-inline:auto}
.tjw .ph-pair figure.wp-block-image{margin:0}
.tjw .ph-pair img{width:100%;height:auto;aspect-ratio:2/3;object-fit:cover;display:block;border-radius:var(--r-sm,2px)}
@media(max-width:600px){ .tjw .ph-pair{gap:var(--sp-3)} }

/* Small text is a note (design guide v2, 2026-10-17; rollout to the bespoke and
   repair pages). The guide's rule: every caption, cite, date and step label is
   Satoshi 13 in the muted ink, sentence case; a form label is Satoshi at the UI
   size. These were mono capitals in section-patterns.css. Each selector repeats
   the one it overrides, and this file loads after it, so the tie goes here.
   Shared components: home's quote slider and the /contact-us/ form get the same. */
.tjw .quote cite,
.tjw .quote--slider .quote__cite{font-family:var(--sans);font-size:var(--fs-sm);letter-spacing:normal;text-transform:none;color:var(--ink-60)}
.tjw .tile__meta,
.tjw .step3__label,
.tjw .pstep__no,
.tjw .pstep__time{font-family:var(--sans);font-style:normal;font-size:var(--fs-sm);letter-spacing:normal;text-transform:none;color:var(--ink-60)}
.tjw .cgrid__foot .wp-block-button.is-style-tjw-link .wp-block-button__link{font-family:var(--sans);font-size:var(--fs-ui);letter-spacing:normal;text-transform:none}
.tjw .field label{font-family:var(--sans);font-size:var(--fs-ui);letter-spacing:normal;text-transform:none}
/* Quotes upright: the guide has no italic, and no italic face is loaded, so
   these were synthetic obliques. */
.tjw .quote p,
.tjw .quote--slider .quote__text{font-style:normal}
/* One dark band per page: the category "How it's made" steps and the
   remodelling foot now sit on the light ground, so their paper inks flip. */
.tjw .steps3--light .step3{border-top-color:var(--line)}
.tjw .steps3--light .step3 p{color:var(--ink-60)}
.tjw .steps3--light + .steps3__foot{margin-top:var(--sp-8)}
.tjw .bespoke__foot--light p{color:var(--ink-80);font-style:normal}
/* /about/ and /contact-us/ (2026-10-17): the team roles and labels and the
   contact detail labels are notes too (guide rollout rows .tmember__role and
   .detail__k). The dark CTA card's paper label keeps its colour rule, which
   is more specific. .detail__k repeats its own (0,3,0) selector above. */
.tjw .tmember__role,
.tjw .tmember__label,
.tjw .tmember__badge{font-family:var(--sans);font-size:var(--fs-sm);letter-spacing:normal;text-transform:none}
.tjw .tmember__role{color:var(--ink-60)}
.tjw .detail .detail__k{font-family:var(--sans);font-size:var(--fs-ui);letter-spacing:normal;text-transform:none;color:var(--ink-60)}

/* "Meet the team" is a section title like the rest of /about/, not a 78px display. */
.tjw .team-lead h2{font-size:var(--wp--preset--font-size--heading-2);line-height:1.15;letter-spacing:-0.015em}
.tjw .hero-split--about h1 + .hero__foot{margin-top:var(--sp-5)}
/* Category, attribute and landing-page heads: tight (owner, 2026-10-17, "less
   space between the menu and breadcrums and within the header section to
   bring the products up"; "no commission call to action on all these pages").
   Archives were 590px from the header to the first card at 1440: <main>'s
   32px padding plus the flow gap above the crumb, a mono "(The collection)"
   line, a 99px/500 title and 72px round the toolbar. Now the crumb sits 16px
   under the header, the breadcrumb is the only line above the title (guide
   .phead), the title is the page title (fd-1 / 300) with the description
   beside it, and the toolbar and grid follow close. The archives lose the
   bespoke CTA and the /shop/ intro line; /shop/ itself is untouched.
   The 14 scoped landing Pages (.hero--lp: the engagement and wedding shape
   pages, /vintage-gold-charms/) get the same head; their hero links stay as
   text links. This block replaces the .hero--lp rules in section-patterns.css.
   !important beats the archive block's inline padding, which also sits in
   live's stored archive-product template. */
.tjw-tokens:is(.tax-product_cat,[class*="tax-pa_"]) main.jw-sa{padding-top:0!important}
.tjw-tokens:is(.tax-product_cat,[class*="tax-pa_"]) .jw-sa > .jw-sa-head{margin-block-start:0}
.tjw-tokens:is(.tax-product_cat,[class*="tax-pa_"]) .jw-sa > .wc-block-store-notices:has(.wc-block-components-notice-banner,.woocommerce-message,.woocommerce-error,.woocommerce-info){margin-block:var(--sp-4) 0}
.tjw-tokens:is(.tax-product_cat,[class*="tax-pa_"]) .jw-sa .jw-sa-crumbs :is(.wp-block-woocommerce-breadcrumbs,.woocommerce-breadcrumb){font-family:var(--sans);font-size:var(--fs-sm);letter-spacing:normal;text-transform:none;color:var(--ink-60);margin:0}
.tjw-tokens:is(.tax-product_cat,[class*="tax-pa_"]) .jw-sa .jw-sa-crumbs .woocommerce-breadcrumb{padding:var(--sp-4) 0 0;margin:0 0 var(--sp-4)}
.tjw-tokens:is(.tax-product_cat,[class*="tax-pa_"]) .jw-sa .jw-sa-crumbs a{color:var(--ink-60)}
.tjw-tokens:is(.tax-product_cat,[class*="tax-pa_"]) .jw-sa .jw-sa-crumbs a:hover{color:var(--ink)}
.tjw-tokens:is(.tax-product_cat,[class*="tax-pa_"]) .jw-sa :is(.jw-sa-meta,.jw-sa-shopintro,.jw-sa-cta){display:none}
.tjw-tokens:is(.tax-product_cat,[class*="tax-pa_"]) .jw-sa h1.jw-sa-title{font-size:var(--fd-1);font-weight:var(--serif-w);line-height:1.1;padding-top:0}
.tjw-tokens:is(.tax-product_cat,[class*="tax-pa_"]) .jw-sa .jw-sa-foot{margin-top:var(--sp-3)}
.tjw-tokens:is(.tax-product_cat,[class*="tax-pa_"]) .jw-sa :is(.jw-sa-desc,.jw-sa-desc p){font-size:var(--fs-ui);font-weight:400;color:var(--ink-80);max-width:62ch}

.tjw-tokens .wp-site-blocks > main:has(.hero--lp),
.tjw-tokens .tjw .hero--lp{margin-block-start:0;padding-bottom:0}
.tjw-tokens .tjw .hero--lp .crumb{padding-top:var(--sp-4);margin:0 0 var(--sp-4)}
/* the grid below runs full width on 44px / 16px gutters; match them */
.tjw-tokens .tjw .hero--lp.wrap{max-width:none;padding-inline:var(--sp-11)}
@media (max-width:767px){.tjw-tokens .tjw .hero--lp.wrap{padding-inline:var(--sp-4)}}
.tjw-tokens .tjw .hero--lp .hero__title{padding:0}
.tjw-tokens .tjw .hero--lp .hero__title h1{font-size:var(--fd-1);font-weight:var(--serif-w);line-height:1.1}
.tjw-tokens .tjw .hero--lp .hero__foot{display:block;padding:var(--sp-3) 0 0}
.tjw-tokens .tjw .hero--lp .hero__lede{font-size:var(--fs-ui);color:var(--ink-80);max-width:62ch;margin:0}
.tjw-tokens .tjw .hero--lp .hero__lede strong{font-weight:500;color:var(--ink)}
.tjw-tokens .tjw .hero--lp .hero__actions{display:flex;flex-wrap:wrap;gap:var(--sp-2) var(--sp-6);margin-top:var(--sp-3)}
.tjw-tokens .tjw .hero--lp .hero__actions .wp-block-button__link{padding:0;background:none;border:0;color:var(--ink);font-size:var(--fs-ui);font-weight:500;text-decoration:underline;text-underline-offset:.25em}
/* one line only: the hero underlines its links as text, so drop the TJW Link ::after bar here */
.tjw-tokens .tjw .hero--lp .hero__actions .is-style-tjw-link > .wp-block-button__link::after{content:none}
.tjw-tokens .tjw .hero--lp .hero__actions .wp-block-button__link:hover{color:var(--ink-60)}

/* the toolbar, the label over the grid and the grid itself, on both */
:is(.tjw-tokens:is(.tax-product_cat,[class*="tax-pa_"]) .jw-sa,.tjw-tokens .tjw:has(> .hero--lp) + .jw-sa){padding-top:0}
:is(.tjw-tokens:is(.tax-product_cat,[class*="tax-pa_"]) .jw-sa,.tjw-tokens .tjw:has(> .hero--lp) + .jw-sa) .jw-sa-toolbar{margin:var(--sp-6) 0 0;padding:var(--sp-2) 0}
:is(.tjw-tokens:is(.tax-product_cat,[class*="tax-pa_"]) .jw-sa,.tjw-tokens .tjw:has(> .hero--lp) + .jw-sa) .wc-block-product-filters__open-overlay{padding:var(--sp-2) var(--sp-4);font-size:var(--fs-ui);font-weight:500;letter-spacing:normal;text-transform:none}
:is(.tjw-tokens:is(.tax-product_cat,[class*="tax-pa_"]) .jw-sa,.tjw-tokens .tjw:has(> .hero--lp) + .jw-sa) :is(.jw-sa-count,.jw-sa-count .wc-block-product-results-count,.woocommerce-result-count){font-family:var(--sans);font-size:var(--fs-sm);letter-spacing:normal;color:var(--ink-60)}
:is(.tjw-tokens:is(.tax-product_cat,[class*="tax-pa_"]) .jw-sa,.tjw-tokens .tjw:has(> .hero--lp) + .jw-sa) :is(.jw-sa-sort select,.wc-block-catalog-sorting select){letter-spacing:normal;text-transform:none}
:is(.tjw-tokens:is(.tax-product_cat,[class*="tax-pa_"]) .jw-sa,.tjw-tokens .tjw:has(> .hero--lp) + .jw-sa) h2.jw-label{font-family:var(--sans);font-size:var(--fs-ui);font-weight:500;letter-spacing:normal;text-transform:none;color:var(--ink);margin:var(--sp-6) 0 var(--sp-4)}
.tjw-tokens:is(.tax-product_cat,[class*="tax-pa_"]) .jw-sa > .jw-sa-grid{margin-block-start:0}

@media (min-width:900px){
	.tjw-tokens:is(.tax-product_cat,[class*="tax-pa_"]) .jw-sa .jw-sa-head,
	.tjw-tokens .tjw .hero--lp{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);column-gap:var(--sp-11);align-items:end}
	.tjw-tokens:is(.tax-product_cat,[class*="tax-pa_"]) .jw-sa .jw-sa-crumbs,
	.tjw-tokens .tjw .hero--lp .crumb{grid-column:1 / -1}
	.tjw-tokens:is(.tax-product_cat,[class*="tax-pa_"]) .jw-sa .jw-sa-foot,
	.tjw-tokens .tjw .hero--lp .hero__foot{margin-top:0;padding-top:0}
}
@media (max-width:781px){
	/* Phones: the crumb keeps one line and the results count drops, so the
	   filter and sort share one row. */
	.tjw-tokens:is(.tax-product_cat,[class*="tax-pa_"]) .jw-sa .jw-sa-crumbs .woocommerce-breadcrumb,
	.tjw-tokens .tjw .hero--lp .crumb{padding-top:var(--sp-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
	:is(.tjw-tokens:is(.tax-product_cat,[class*="tax-pa_"]) .jw-sa,.tjw-tokens .tjw:has(> .hero--lp) + .jw-sa) :is(.jw-sa-count,.woocommerce-result-count){display:none}
	:is(.tjw-tokens:is(.tax-product_cat,[class*="tax-pa_"]) .jw-sa,.tjw-tokens .tjw:has(> .hero--lp) + .jw-sa) .jw-sa-toolbar{flex-wrap:nowrap}
}

/* HOME (2026-10-17, plan: projects/website-design-guide/home-plan-2026-10-17.md).
   A short page: hero, six collection doors, new in, three bespoke pieces, the
   workshop, visit. The doors and the made-here row share one tile. */
.tjw-tokens .tjw .hero-line{padding-block:var(--sp-5) 0}
.tjw-tokens .tjw .hero-line p{margin:0;font-family:var(--sans);font-size:var(--fs-ui);color:var(--ink-60)}
.tjw-tokens .tjw .doors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--sp-8) var(--sp-4)}
.tjw-tokens .tjw .door{position:relative;margin:0}
.tjw-tokens .tjw .door .wp-block-image{margin:0;aspect-ratio:4 / 5;overflow:hidden;background:var(--bg-2);border-radius:var(--r-sm)}
.tjw-tokens .tjw .door .wp-block-image a{display:block;width:100%;height:100%}
.tjw-tokens .tjw .door .wp-block-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform 800ms var(--ease-big)}
.tjw-tokens .tjw .door:hover .wp-block-image img{transform:scale(1.04)}
.tjw-tokens .tjw .door h3{margin:var(--sp-3) 0 var(--sp-1);font-family:var(--serif);font-size:20px;font-weight:var(--serif-w);line-height:1.2}
.tjw-tokens .tjw .door h3 a{color:var(--ink);text-decoration:none}
.tjw-tokens .tjw .door h3 a::after{content:"";position:absolute;inset:0}
.tjw-tokens .tjw .door p{margin:0;font-family:var(--sans);font-size:var(--fs-ui);line-height:1.45;color:var(--ink-60)}
.tjw-tokens .tjw .doors + .wp-block-buttons{margin-top:var(--sp-12)}
.tjw-tokens .tjw .visit{display:grid;grid-template-columns:1fr;gap:var(--sp-8)}
.tjw-tokens .tjw .visit h3{margin:0 0 var(--sp-2);font-family:var(--serif);font-size:20px;font-weight:var(--serif-w)}
.tjw-tokens .tjw .visit p{margin:0;font-family:var(--sans);font-size:var(--fs-ui);line-height:1.6;color:var(--ink-80)}
.tjw-tokens .tjw .bench-links{margin:var(--sp-12) 0 0;font-family:var(--sans);font-size:var(--fs-ui);color:var(--ink-60)}
/* the commissions gallery: one scrolling strip, snapped, with the next piece peeking */
.tjw-tokens .tjw .doors--gallery{display:flex;gap:var(--sp-4);overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;margin-inline:calc(var(--gutter,24px)*-1);padding-inline:var(--gutter,24px);scroll-padding-inline:var(--gutter,24px)}
.tjw-tokens .tjw .doors--gallery::-webkit-scrollbar{display:none}
.tjw-tokens .tjw .doors--gallery .door{flex:0 0 72%;scroll-snap-align:start}
@media (min-width:640px){.tjw-tokens .tjw .doors--gallery .door{flex-basis:40%}}
@media (min-width:1100px){.tjw-tokens .tjw .doors--gallery .door{flex-basis:calc((100% - var(--sp-4)*3)/3.6)}}
.tjw-tokens .tjw .doors--gallery + .wp-block-buttons{margin-top:var(--sp-8)}
.tjw-tokens .tjw .coll__foot + .coll__foot{margin-top:var(--sp-4)}
@media (min-width:640px){
	.tjw-tokens .tjw .doors{grid-template-columns:repeat(3,minmax(0,1fr))}
	.tjw-tokens .tjw .visit{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (min-width:1100px){
	.tjw-tokens .tjw .doors:not(.doors--gallery){grid-template-columns:repeat(6,minmax(0,1fr))}
	.tjw-tokens .tjw .door h3{font-size:18px}
}

/* home: tighter rhythm than the site default (the page is a directory, not a read) */
.tjw-tokens.home .tjw .band{padding-block:clamp(32px,4vw,56px)}
.tjw-tokens.home .tjw .hero-line{padding-block:var(--sp-4) 0}
.tjw-tokens.home .tjw .shead{margin-bottom:clamp(20px,2.4vw,32px)}
.tjw-tokens.home .tjw .coll__foot{margin-top:var(--sp-8)}
.tjw-tokens.home .tjw .coll__pc .coll__nav{margin-bottom:var(--sp-2)}
.tjw-tokens.home .tjw .bench-links{margin-top:var(--sp-8)}

/* service tiles, a word-only menu: home after the collections, /bespoke/ after the carousel */
.tjw-tokens .tjw .svc{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
.tjw-tokens .tjw .svc__tile{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:var(--sp-2);padding:var(--sp-8) var(--sp-4);text-align:center;background:none;border:0;color:var(--ink)}
.tjw-tokens .tjw .svc__tile h3,.tjw-tokens .tjw .svc__tile p{transition:transform 350ms var(--ease-big)}
.tjw-tokens .tjw .svc__tile:hover h3,.tjw-tokens .tjw .svc__tile:hover p{transform:translateY(-3px)}
.tjw-tokens .tjw .svc__tile:hover p{transition-delay:40ms}
.tjw-tokens .tjw .svc__tile h3{margin:0;font-family:var(--serif);font-size:20px;font-weight:var(--serif-w);line-height:1.2;color:inherit}
.tjw-tokens .tjw .svc__tile h3 a{color:inherit;text-decoration:none}
.tjw-tokens .tjw .svc__tile h3 a::after{content:"";position:absolute;inset:0}
.tjw-tokens .tjw .svc__tile p{margin:0;font-family:var(--sans);font-size:var(--fs-ui);font-weight:400;line-height:1.45;color:var(--ink-60)}
@media (min-width:900px){.tjw-tokens .tjw .svc{grid-template-columns:repeat(4,minmax(0,1fr))}.tjw-tokens .tjw .svc__tile{padding-block:var(--sp-10)}}
.tjw-tokens .tjw .band.band--svc{padding-block:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}

/* ============ THE FORM CARD — every enquiry form on a band (2026-10-20) ============
   Owner, viewing on a large desktop: "the forms all looked slightly lost on full
   screen and uncontained. the forms need to have a white background to be more
   legible and the width needs a maximum." Scrap gold's Parchment panel (above,
   2026-10-17, "the form looks lost") was the same note on one page; this makes
   it the rule for all of them, on white.

   One treatment on every ground, so the field colours are set here outright
   rather than per ground: the card is white whether the band is paper or
   garnet, so the fields are always ink. That retires the garnet field skin
   (`.dark .enq .field`, ~:730) and the base paper-on-dark one wherever a form
   sits on a band; both stay for the product modal, which is not on a band.

   Fields lose their 16px inset so label, value and underline share one edge
   inside the card's own padding (the scrap-gold panel's call, kept).

   ⚠ Specificity, deliberately matched rather than escalated. Every selector
   here ties the rule it replaces and wins on SOURCE ORDER, so this block must
   stay last in the file:
     box     `.tjw .band .enq .form.form--single` (0,5,0) ties :128 (max-width:none)
             and the panel rule; the contact page's `.enq.enq--solo` (0,6,0) still
             out-ranks it, which is wanted — it keeps its own 1080px three-track grid.
     fields  (0,4,1) ties `.dark .enq .field input` and `.band .enq .field input`;
             :hover/:focus (0,5,1) tie theirs, and focus keeps the !important the
             rule it replaces carries.
     cta     (0,4,0)/(0,5,0) tie `.dark .enq .cta` and its :hover. */
.tjw .band .form.form--single,
.tjw .band .enq .form.form--single{
	--field-alert:var(--alert);
	width:100%;max-width:var(--measure-xl);
	padding:clamp(24px,3vw,48px);
	background:var(--wp--preset--color--lightest,#fff);
	border:1px solid var(--line);border-radius:var(--r-sm,2px);
	color:var(--ink)}
.tjw .band .form--single .field label{padding-left:0;color:var(--ink-60)}
.tjw .band .form--single .field input,
.tjw .band .form--single .field textarea,
.tjw .band .form--single .field select{padding-left:0;color:var(--ink);border-bottom-color:var(--line-2)}
.tjw .band .form--single .field input:hover,
.tjw .band .form--single .field textarea:hover,
.tjw .band .form--single .field select:hover{color:var(--ink)}
.tjw .band .form--single .field input:focus,
.tjw .band .form--single .field textarea:focus,
.tjw .band .form--single .field select:focus{color:var(--ink);border-bottom-color:var(--ink) !important}
/* the native arrow on every card, as `.band .enq` already had: on the bespoke
   category forms the base `appearance:none` left a select indistinguishable
   from a text field */
.tjw .band .form--single .field select{appearance:auto}
.tjw .band .form--single .field input::placeholder,
.tjw .band .form--single .field textarea::placeholder{color:var(--ink-40)}
.tjw .band .form--single .field select option{color:var(--ink);background:var(--wp--preset--color--lightest,#fff)}
.tjw .band .form--single .form__note{color:var(--ink-60)}
.tjw .band .form--single .form__success{color:var(--ink)}
.tjw .band .form--single .form__success-sub{color:var(--ink-60)}
/* the submit is the house solid: ink, garnet on hover (theme.json tjw-solid) */
.tjw .band .form--single .cta{background:var(--ink);color:var(--wp--preset--color--lightest,#fff)}
.tjw .band .form--single .cta:hover{background:var(--dark);color:var(--wp--preset--color--lightest,#fff)}

/* source: assets/css/wishlist.css */
/**
 * TJW wishlist styling.
 *
 * The `.jw-wish` heart appears on product cards (loop), single products and the
 * /wishlist/ page. Card hearts and the header count must work on WooCommerce
 * surfaces that are NOT inside the `.tjw` scope (shop/single use the `--jw-*`
 * system), so those rules use the global `--wp--preset--color--*` custom
 * properties with literal fallbacks. The /wishlist/ page IS wrapped in `.tjw`,
 * so its grid reuses the `.tjw` tokens.
 *
 * Behaviour: assets/js/wishlist.js. Confirmed design: card heart fades in on
 * hover (always visible on touch); saved heart fills Peach.
 */

/* ============================ shared heart glyph ============================ */
.jw-wish svg { width: 16px; height: 16px; display: block; }
.jw-wish .heart-fill { display: none; }
.jw-wish[aria-pressed="true"] .heart-line { display: none; }
.jw-wish[aria-pressed="true"] .heart-fill { display: block; }

/* ============================ product-card overlay ========================= */
/* the heart is injected as a sibling of the image link inside this wrapper */
.wp-block-woocommerce-product-image { position: relative; }

.jw-wish {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 2;
	width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	background: rgba( 255, 255, 255, 0.82 );
	-webkit-backdrop-filter: blur( 2px );
	backdrop-filter: blur( 2px );
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	color: rgba( 22, 22, 22, 0.58 );
	opacity: 0;
	transition: color 200ms cubic-bezier( .4, 0, .2, 1 ),
		transform 200ms cubic-bezier( .4, 0, .2, 1 ),
		opacity 200ms cubic-bezier( .4, 0, .2, 1 );
}
.jw-wish:hover { color: var( --wp--preset--color--foreground, #161616 ); transform: scale( 1.06 ); }
.jw-wish[aria-pressed="true"] { color: var( --wp--preset--color--accent, #cd8f60 ); }

/* fade in on hover (desktop); always visible on touch + when saved + focused */
.wp-block-woocommerce-product-image:hover .jw-wish,
.jw-wish:focus-visible,
.jw-wish[aria-pressed="true"] { opacity: 1; }
@media ( hover: none ) {
	.jw-wish { opacity: 1; }
}

/* ====================== single-product text toggle ======================== */
.jw-wish--text {
	position: static;
	width: auto;
	height: auto;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-top: 14px;
	padding: 6px 0;
	background: none;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	border: 0;
	border-radius: 0;
	opacity: 1;
	cursor: pointer;
	font-family: var(--sans);
	font-size: 14px;
	letter-spacing: .01em;
	color: rgba( 22, 22, 22, 0.58 );
	transition: color 200ms cubic-bezier( .4, 0, .2, 1 );
}
.jw-wish--text:hover { color: var( --wp--preset--color--foreground, #161616 ); transform: none; }
.jw-wish--text[aria-pressed="true"] { color: var( --wp--preset--color--foreground, #161616 ); }
.jw-wish--text[aria-pressed="true"] .heart-fill { color: var( --wp--preset--color--accent, #cd8f60 ); }
.jw-wish--text .lbl-saved { display: none; }
.jw-wish--text[aria-pressed="true"] .lbl-save { display: none; }
.jw-wish--text[aria-pressed="true"] .lbl-saved { display: inline; }

/* ============================== header count ============================== */
.jw-header__right .jw-util .jw-wish-count {
	position: absolute;
	top: -6px;
	right: -8px;
	min-width: 15px;
	height: 15px;
	padding: 0 4px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 1em;
	background: var( --wp--preset--color--accent, #cd8f60 );
	color: var( --wp--preset--color--background, #f9f8f6 );
	font-family: var(--mono);
	font-size: 9px;
	line-height: 1;
}
/* Respect the [hidden] attribute the JS sets when the wishlist is empty — the
   display:flex above outranks the UA [hidden] rule, which left a "0" badge
   showing (a visual bug, and an a11y label-name mismatch on the icon link). */
.jw-header__right .jw-util .jw-wish-count[hidden] { display: none; }
.jw-header__right .jw-util { position: relative; }

/* ============================== /wishlist/ page =========================== */
.tjw .jw-wishlist-grid {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: var( --sp-10, 40px ) 30px;
	margin-top: var( --sp-12, 48px );
}
@media ( max-width: 900px ) { .tjw .jw-wishlist-grid { grid-template-columns: repeat( 2, 1fr ); gap: var( --sp-8, 32px ) var( --sp-6, 24px ); } }
@media ( max-width: 480px ) { .tjw .jw-wishlist-grid { gap: var( --sp-8, 32px ) 15px; } }

.tjw .jw-wl-card { position: relative; }
.tjw .jw-wl-card__media { display: block; position: relative; overflow: hidden; border-radius: 2px; background: #fff; }
.tjw .jw-wl-card__media img,
.tjw .jw-wl-card__noimg {
	display: block;
	width: 100%;
	aspect-ratio: 849 / 1000;
	object-fit: cover;
	background: #fff;
	transition: transform 700ms cubic-bezier( .16, 1, .3, 1 );
}
.tjw .jw-wl-card__noimg { background: var( --bg-2, #eae9e6 ); }
.tjw .jw-wl-card:hover .jw-wl-card__media img { transform: scale( 1.05 ); }

/* on the page the heart is always visible and sits on the media */
.tjw .jw-wl-card .jw-wish { opacity: 1; }

.tjw .jw-wl-card__cap {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 14px;
	border-top: 1px solid var( --line, rgba( 22, 22, 22, .09 ) );
	margin-top: 14px;
	padding-top: var( --sp-3, 12px );
	text-decoration: none;
}
.tjw .jw-wl-card__name {
	font-family: var( --serif, "Newsreader", Georgia, serif );
	font-size: 19px;
	font-weight: 500;
	line-height: 1.15;
	color: var( --ink, #161616 );
}
.tjw .jw-wl-card__price {
	font-family: var( --mono, "Overpass Mono", monospace );
	font-size: 13px;
	letter-spacing: .05em;
	color: var( --ink-60, rgba( 22, 22, 22, .58 ) );
	white-space: nowrap;
	flex: none;
}

/* empty state — mirrors the search empty state */
.tjw .jw-wishlist-grid.is-empty { display: block; }
.tjw .jw-wishlist-empty {
	border-top: 1px solid var( --line, rgba( 22, 22, 22, .09 ) );
	margin: var( --sp-12, 48px ) 0 0;
	padding: 80px 0;
	text-align: center;
	font-family: var( --serif, "Newsreader", Georgia, serif );
	font-style: italic;
	font-size: clamp( 22px, 3vw, 32px );
	color: var( --ink-60, rgba( 22, 22, 22, .58 ) );
}
.tjw .jw-wishlist-empty__link {
	display: inline-block;
	margin-top: 14px;
	font-style: normal;
	font-family: var( --mono, "Overpass Mono", monospace );
	font-size: 12px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var( --ink, #161616 );
	text-decoration: none;
	border-bottom: 1px solid var( --ink-40, rgba( 22, 22, 22, .4 ) );
	padding-bottom: 3px;
}
.tjw .jw-wishlist-empty__link:hover { border-color: var( --ink, #161616 ); }

/* source: assets/css/mega-nav.css */
/* ============================================================
   THE JEWELLERY WORKSHOP — Mega navigation
   Layout layer for the core/navigation block, restyled into the
   nav-prototype.html mega menu. See PLUGIN_PLAN.md.

   Tokens, fonts and base utilities (.meta/.num/.wrap/.cta/em.acc)
   come from the .tjw scope in section-patterns.css — the render
   filter adds `tjw` to this nav, so everything here may use
   var(--bg), var(--dark), var(--bronze), var(--serif) … directly.

   Everything is scoped under .tjw-mega-nav (added by the render
   filter only to a nav that has mega panels) so it never touches
   the footer nav, the editor, or any other navigation block.

   Build order:
     Phase 1 ✓ this scaffold + nav inherits .tjw tokens
     Phase 2   mega grid / dropdown / mobile drawer (desktop panels)
     Phase 3   handled in mega-nav.js (hover, a11y, drawer)
     Phase 4   feature tiles
   ============================================================ */

/* Alpine hasn't run yet on first paint (its script is deferred, same as
   mega-nav.js); anything with x-show that would otherwise be visible by
   default — the scrim overlay is the one real case here — needs hiding until
   Alpine's init walk removes this attribute. */
[x-cloak] { display: none !important; }

/* Placeholder nav items (functions.php's greyd_child_mega_nav_neutralize_
   placeholder_links(), tagged `no-link` by the content editor) are demoted
   to a <span> server-side; this just strips the hover feedback a real link
   would get, since it isn't one. */
.tjw-mega-nav .wp-block-navigation-item__content.is-no-link {
	cursor: default;
	pointer-events: none;
}

/* ---------- Phase 1: scope baseline ----------
   The nav now carries `.tjw`, which sets the light-grey brand ground and
   Instrument Sans on the element. Keep the bar transparent so it sits on
   the header's own ground rather than painting a second panel, and let the
   header's flex layout (header.css / .jw-header) own positioning. */
.tjw-mega-nav {
	background: transparent;
}

/* ============================================================
   PHASE 2 — desktop mega panels, simple dropdown, mobile shell.

   Maps the nav-prototype.html mega layer onto core's Navigation
   markup. Selectors out-specify core's .wp-block-navigation rules,
   so order vs core's style.css doesn't matter. Colour/type/spacing
   all reference the inherited .tjw tokens.

   Panel anchoring: a top-level .is-mega item is made position:static
   so its panel escapes to the full-width header group (.jw-header,
   made the positioning context only when it contains this nav).
   ============================================================ */

/* establish the full-width positioning context for mega panels */
.jw-header:has(.tjw-mega-nav) { position: relative; }
/* core sets .wp-block-navigation{position:relative}; neutralise it so the panel
   anchors to .jw-header (full width), not the narrow nav. NOTE: core puts the
   `wp-block-navigation` class on BOTH the outer <nav> AND the inner
   `.wp-block-navigation__container`, so the container must be neutralised too —
   otherwise it stays position:relative and becomes the panel's offset parent
   (the panel then pins to the narrow nav, ~546px, not the full header). */
.tjw.tjw-mega-nav { position: static; }

/* keep the top-level items on one line (core defaults to flex-wrap:wrap, which
   was letting "About" wrap above the row) */
.tjw-mega-nav .wp-block-navigation__container {
	position: static;
	flex-wrap: nowrap;
	align-items: center;
}

/* ---------- top-level trigger row ---------- */
.tjw-mega-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	/* Fill the bar's full height so the whole strip above/below the label is a live
	   hover/click target (desktop opens panels on item hover — a shorter trigger row
	   leaves dead bands top and bottom where the pointer silently closes the panel).
	   Reads the same token as .jw-header's min-height, so the two can't drift. */
	height: var(--tjw-header-h);
	padding: 0;
	/* Type pass 2026-10-23 (guide #header): 16/500 in ink, the body size (was
	   13/500 in --ink-60). With the label already ink, colour can no longer be the
	   hover cue, so a 1px underline does that job. text-decoration, not an ::after
	   rule: the link is the bar's full height, so a box edge would land 30px below
	   the word. Its colour fades in, so it reads as the old colour change did. */
	font-size: 15px;
	font-weight: 500;
	letter-spacing: var(--tr-snug);
	color: var(--ink);
	transition: color 200ms var(--ease);
}
.tjw-mega-nav .wp-block-navigation-item > .wp-block-navigation-item__content:hover,
.tjw-mega-nav .wp-block-navigation-item:focus-within > .wp-block-navigation-item__content,
.tjw-mega-nav .wp-block-navigation-item > .wp-block-navigation-item__content[aria-current] {
	color: var(--ink-60);
}

/* core's submenu caret button -> prototype caret; rotates when open.
   NOTE: hidden outright on desktop (see the min-width:1181px block) — these base
   rules now only reach the <=1180px drawer, where the same button is restyled as
   a right-pointing drill-in chevron. */
.tjw-mega-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation__submenu-icon {
	margin: 0 0 0 2px;
	padding: 0;
	background: transparent;
	color: var(--ink-60);
	transition: transform 300ms var(--ease-big);
}
.tjw-mega-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation__submenu-icon svg {
	width: 9px;
	height: 9px;
}
/* the caret flips when the panel is open: mega-nav.js sets aria-expanded on the
   toggle button (click + keyboard, all viewports). Desktop hover is added in the
   min-width:1181px block below so the caret also flips while the item is hovered. */
.tjw-mega-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation__submenu-icon[aria-expanded="true"] {
	transform: rotate(180deg);
}

/* ---------- the mega panel (top-level .is-mega) ---------- */
.tjw-mega-nav .wp-block-navigation-submenu.is-mega { position: static; }

/* kill core's decorative submenu pointer arrow (a CSS-border triangle on the
   container's ::before/::after) — it shows as a stray triangle top-left of each
   drawer item on mobile. */
.tjw-mega-nav .wp-block-navigation__submenu-container::before,
.tjw-mega-nav .wp-block-navigation__submenu-container::after {
	content: none;
	display: none;
}

.tjw-mega-nav .is-mega > .wp-block-navigation__submenu-container {
	position: absolute;
	/* full-bleed: the panel's containing block (.jw-header) starts at the viewport
	   left edge, so left:0 + width:100vw spans the whole screen edge-to-edge. */
	left: 0;
	right: auto;
	top: 100%;
	width: 100vw !important; /* beat a theme/core submenu-width rule (shrink-fit) */
	min-width: 0;
	/* core collapses submenu containers to height:0;overflow:hidden (animated
	   open by the nav view script we dequeue). The panel must take its natural
	   height or the grid row overflows the 0-height box and the background only
	   covers the padding — the page then shows through below the headings. */
	height: auto;
	overflow: visible;
	margin: 0 !important; /* a theme rule adds margin-top:6px -> gap below the bar */
	display: grid;
	gap: clamp(24px, 3vw, 56px);
	grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); /* default; per-panel slugs below */
	background: var(--bg);
	border: 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	border-radius: 0;
	box-shadow: 0 30px 50px -40px rgba(22, 22, 22, .32);
	/* internal padding mirrors .wrap + the prototype's vertical rhythm. The inline
	   side is .wrap's content edge, not just the gutter (2026-10-20): once
	   --content-max caps the page, a gutter-only inset ran the panel's columns to
	   the viewport edges under a header that no longer does. The panel is 100vw,
	   so (100vw − content-max) / 2 is that edge; max() keeps the gutter below it. */
	padding: var(--sp-12) max(var(--gutter), calc((100vw - var(--content-max)) / 2)) 56px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity 280ms var(--ease-big), transform 280ms var(--ease-big), visibility 0s linear 280ms;
	z-index: 90;
}
/* click-only: panels open solely via [data-open] (set by mega-nav.js on click).
   No :hover / :focus-within trigger, so mousing over the bar does nothing. */
.tjw-mega-nav .is-mega > .wp-block-navigation__submenu-container[data-open="true"] {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition: opacity 280ms var(--ease-big), transform 280ms var(--ease-big), visibility 0s;
}
/* Desktop: hide closed panels with display:none, not just opacity/visibility.
   Stacked absolute panels with opacity:0 + transform still paint a faint ghost
   of the other panels' links over the open one (a compositing quirk); display
   reliably removes them. Scoped to desktop so the mobile max-height accordion
   (in the <=1180px block, which keeps display:block) is untouched. */
@media (min-width: 1181px) {
	/* Desktop: hovering (or keyboard-focusing) anywhere on a top-level item opens
	   its panel — the whole link is the trigger, not just the caret. The JS
	   click/keyboard toggle (data-open) still works alongside this. The panel is a
	   DOM descendant of its <li>, so moving the pointer down onto the panel keeps
	   the <li> :hover active and the panel stays open. */
	.tjw-mega-nav .is-mega > .wp-block-navigation__submenu-container { display: none; }
	.tjw-mega-nav .is-mega > .wp-block-navigation__submenu-container[data-open="true"],
	.tjw-mega-nav .is-mega:hover > .wp-block-navigation__submenu-container,
	.tjw-mega-nav .is-mega:focus-within > .wp-block-navigation__submenu-container { display: grid; }

	/* hover/focus reveal: mirror the [data-open] visible state so the panel that
	   display:grid just laid out also fades/slides in. */
	.tjw-mega-nav .is-mega:hover > .wp-block-navigation__submenu-container,
	.tjw-mega-nav .is-mega:focus-within > .wp-block-navigation__submenu-container {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
		transition: opacity 280ms var(--ease-big), transform 280ms var(--ease-big), visibility 0s;
	}

	/* simple dropdown (About): same whole-item hover/focus trigger. */
	.tjw-mega-nav .wp-block-navigation__container > .wp-block-navigation-submenu:not(.is-mega) > .wp-block-navigation__submenu-container { display: none; }
	.tjw-mega-nav .wp-block-navigation__container > .wp-block-navigation-submenu:not(.is-mega) > .wp-block-navigation__submenu-container[data-open="true"],
	.tjw-mega-nav .wp-block-navigation__container > .wp-block-navigation-submenu:not(.is-mega):hover > .wp-block-navigation__submenu-container,
	.tjw-mega-nav .wp-block-navigation__container > .wp-block-navigation-submenu:not(.is-mega):focus-within > .wp-block-navigation__submenu-container { display: block; }
	.tjw-mega-nav .wp-block-navigation__container > .wp-block-navigation-submenu:not(.is-mega):hover > .wp-block-navigation__submenu-container,
	.tjw-mega-nav .wp-block-navigation__container > .wp-block-navigation-submenu:not(.is-mega):focus-within > .wp-block-navigation__submenu-container {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
		transition: opacity 280ms var(--ease-big), transform 280ms var(--ease-big), visibility 0s;
	}

	/* No carets on the desktop bar (2026-07-25) — cleaner wordmark-to-wordmark
	   rhythm across the row. Nothing is lost functionally: the caret <button> was
	   never the desktop trigger (the whole top-level item opens its panel on
	   hover/focus-within, above) and it carries no label, so it was decoration
	   plus a redundant tab stop. display:none also drops it from the tab order,
	   which is the wanted behaviour — keyboard users still open panels with
	   focus-within or ArrowDown (mega-nav.js). The mobile drill-in chevron is
	   untouched: it's styled in the <=1180px block below.
	   `display` (not visibility/opacity) so the row closes up rather than keeping
	   a 9px gap; Alpine's x-show on this button only ever REMOVES its inline
	   display property when shown, so it can't override this. Was: a pair of
	   :hover/:focus-within rules flipping the caret 180deg — dead now. */
	.tjw-mega-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation__submenu-icon {
		display: none;
	}
}

/* per-panel column counts (client adds is-mega-shop / -bridal / -repairs) */
/* Shop has no feature tile (removed 2026-06-15), so it lays out as four even
   category columns — no reserved feature slot, or the 5th column sits empty. */
.tjw-mega-nav .is-mega-shop    > .wp-block-navigation__submenu-container { grid-template-columns: repeat(4, 1fr); }
.tjw-mega-nav .is-mega-bridal  > .wp-block-navigation__submenu-container { grid-template-columns: repeat(3, 1fr) 1.5fr; }
.tjw-mega-nav .is-mega-repairs > .wp-block-navigation__submenu-container { grid-template-columns: repeat(2, 1fr) 1.7fr; }
.tjw-mega-nav .is-mega-bespoke > .wp-block-navigation__submenu-container { grid-template-columns: repeat(2, 1fr) 1.7fr; }

/* ---------- a column = a 2nd-level submenu item ---------- */
/* core makes items display:flex (a row); force block so the heading stacks
   ABOVE its link list instead of sitting beside it (the links were squeezed
   to zero width). */
.tjw-mega-nav .is-mega > .wp-block-navigation__submenu-container > .wp-block-navigation-item {
	display: block;
	position: static;
	background: transparent;
}
/* column heading: the 2nd-level link. Type pass 2026-10-23, after Dedar: one
   sans face in ink, a size step under the links (14 over 16) carries the
   hierarchy. Was mono --fs-3xs capitals, --tr-wider, --ink-40. */
.tjw-mega-nav .is-mega > .wp-block-navigation__submenu-container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	display: block;
	margin-bottom: var(--sp-3);
	padding: 0;
	font-size: var(--fs-sm);
	font-weight: 400;
	letter-spacing: var(--tr-snug);
	color: var(--ink);
}
/* hide the caret on column headings (only top-level triggers keep it) */
.tjw-mega-nav .is-mega > .wp-block-navigation__submenu-container .wp-block-navigation__submenu-icon { display: none; }

/* ---------- the link list = 3rd-level submenu, shown inline ---------- */
.tjw-mega-nav .is-mega > .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container {
	position: static;
	opacity: 1;
	/* inherit (not `visible`) so the links follow the parent panel's open/closed
	   visibility — `visible` here would override a closed panel's hidden state
	   and the links of closed panels would ghost through the open one. */
	visibility: inherit;
	transform: none;
	display: block;
	/* core collapses submenu containers to height:0;overflow:hidden and animates
	   them open via the nav view script — which we dequeue. As always-open mega
	   columns, force them back to natural height. */
	height: auto;
	overflow: visible;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
	transition: none;
}
/* the 3rd-level link <li>s: core renders them as display:flex submenu items,
   which take no block height, so the list collapsed onto the heading line.
   Force plain block list items (the prototype's `.mega__list li`) so they
   stack and build the column's height. */
.tjw-mega-nav .is-mega > .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container > .wp-block-navigation-item {
	display: block;
	position: static;
	width: 100%;
	margin: 0;
}
/* Type pass 2026-10-23 (after Dedar): ink, not --ink-60, on 29px rows (were
   39px); hover is the bar's 1px underline, because grey-to-ink is no longer
   available as a cue. The 4px slide is gone. */
.tjw-mega-nav .is-mega .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	display: inline-block;
	padding: 3px 0;
	font-size: var(--fs-ui);
	line-height: 1.4;
	color: var(--ink);
	transition: color 200ms var(--ease), transform 250ms var(--ease-big);
}
.tjw-mega-nav .is-mega .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	color: var(--ink-60);
	transform: translateX(4px);
}
/* mobile drawer: enlarge the 3rd-level link tap targets to >=44px — they render
   ~35px from the `padding:7px 0` above, under the 44px touch minimum. Mobile-only
   so the desktop mega columns keep their tighter vertical rhythm. Flex + centred
   min-height gives a full-width, thumb-friendly row without changing the type.
   (0,5,0) matches the base rule and wins on source order. */
@media (max-width: 1180px) {
	.tjw-mega-nav .is-mega .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		display: flex;
		align-items: center;
		/* share the top-level row height + weight so the drilled-in list reads as
		   the same nav-link tier, not a lighter secondary one (was 44px / weight 400). */
		min-height: var(--tjw-nav-row);
		/* gutter on the row (not the panel) so every drilled-in row shares one left
		   edge with the top-level list — text inset 30px. */
		padding: 0 var(--tjw-nav-gutter);
		font-weight: 400;
		letter-spacing: var(--tr-snug);
	}
}

/* ---------- simple dropdown: a top-level submenu WITHOUT .is-mega (About) ---------- */
.tjw-mega-nav .wp-block-navigation__container > .wp-block-navigation-submenu:not(.is-mega) > .wp-block-navigation__submenu-container {
	min-width: 210px;
	padding: var(--sp-3) 0;
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
	box-shadow: 0 30px 50px -38px rgba(22, 22, 22, .4);
}
/* only the dropdown's own links — NOT About's top-level label (the `>` keeps
   the label flex-centred like the other top items instead of block/top-aligned). */
.tjw-mega-nav .wp-block-navigation__container > .wp-block-navigation-submenu:not(.is-mega) > .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	display: block;
	padding: 9px var(--sp-6);
	font-size: var(--fs-ui);
	color: var(--ink);
	white-space: nowrap;
	transition: color 200ms var(--ease), background 200ms var(--ease);
}
/* type pass 2026-10-23: underline like the mega links (was --ink-60 to ink plus a --bg-2 fill) */
.tjw-mega-nav .wp-block-navigation__container > .wp-block-navigation-submenu:not(.is-mega) > .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	color: var(--ink-60);
	background: var(--bg-2);
}

/* ---------- burger + scrim (injected by mega-nav.js) ---------- */
.tjw-burger { display: none; }
.tjw-scrim { display: none; }
/* shared Back + Close row (server-rendered once by
   greyd_child_mega_nav_wire_nav_chrome()) — only shown inside the mobile drawer.
   The row itself is permanent there; only the Back button inside it is
   conditional (x-show on the drilled-in state). */
.tjw-nav-head { display: none; }
/* drawer footer (injected by mega-nav.js) — only shown inside the mobile drawer */
.tjw-nav-footer { display: none; }

@media (max-width: 1180px) {
	/* burger sits in the header bar, sized to match the utility icons
	   (search/account/wishlist/bag — see header.css's own mobile block).
	   2026-07-06: button box stays 24x24 (the Lighthouse target-size minimum),
	   but the bars are inset 3px on each side so the VISUAL glyph reads at 18px
	   — matching the other utility icons and the wordmark's own visual weight
	   — instead of a 24px glyph dominating the header. Bars re-spaced
	   proportionally for an 18px box (scale factor 18/15=1.2 from the original
	   15px baseline): 0/6.5/13 -> 0/7.8/15.6, ±6.5px morph -> ±7.8px.
	   2026-07-19: bar tops snapped to INTEGER, equal-gap positions (3/11/19,
	   gap 8, morph ±8). The ×1.2 rescale had left fractional tops (3/10.8/18.6)
	   whose differing sub-pixel phases (.0/.8/.6) made each 1.4px bar anti-alias
	   differently — the middle bar smeared across two pixel rows and read thinner
	   than the top/bottom. Equal integer phase makes all three rasterize alike. */
	.tjw-burger {
		display: block;
		position: relative;
		width: 24px;
		height: 24px;
		flex: none;
		background: transparent;
		border: 0;
		padding: 0;
		z-index: 96;
	}
	.tjw-burger span {
		position: absolute;
		left: 3px;
		right: 3px;
		/* 1.8px -> 1.4px (2026-07-06): matches the utility icons' own stroke-width
		   (search/account/wishlist SVGs use stroke-width="1.4"). Three solid bars
		   read visually heavier than a single outline stroke at the same
		   thickness, so equalising the stroke value (not just the box) is what
		   actually makes the burger stop reading larger than its neighbours.
		   1.4px -> 1.5px (2026-07-19): 1.4px is 2.8 device-px on a 2x display, so
		   it rasterises as one solid row + a faint one (soft). 1.5px is exactly
		   3 device-px on 2x -> crisp. The +0.1px over the icon stroke is
		   imperceptible against the crispness win. */
		height: 1.5px;
		background: var(--ink);
		transition: transform 300ms var(--ease-big), opacity 200ms var(--ease);
	}
	.tjw-burger span:nth-child(1) { top: 3px; }
	.tjw-burger span:nth-child(2) { top: 11px; }
	.tjw-burger span:nth-child(3) { top: 19px; }
	.tjw-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
	.tjw-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
	.tjw-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

	/* `display:block` overrides the desktop default (display:none, above); the
	   fade itself is entirely Alpine's (x-show + x-transition:enter/
	   leave.opacity in mega-nav.js) — this just sets the box, not its motion. */
	/* inset:0 — the scrim covers the WHOLE viewport including the header (owner,
	   2026-07-25; it used to inset itself below the bar by --tjw-header-h).

	   z-index 500 looks low for a full-screen scrim, and that's the point: this
	   element is appended INSIDE the header template part (mega-nav.js), not to
	   <body>, so 500 is resolved within the header's stacking context — which as a
	   whole paints at z-index 1000, above every piece of page content (the highest
	   is .filter at 900). So the scrim still dims the entire page, and crucially it
	   sits in the SAME context as the drawer, which is the only way the drawer can
	   be layered above it.

	   Why it has to work this way: `header.wp-block-template-part` is
	   position:sticky, and sticky ALWAYS creates a stacking context — z-index:auto
	   doesn't opt out, unlike relative/absolute. The nav is a DOM child of that
	   header, so its z-index is permanently sealed inside the header's context and
	   can never out-rank a <body>-level element however high it goes. With the scrim
	   on <body> at 1090 the measured hit-test stack at the top of the screen was
	   scrim-over-drawer no matter what. Co-locating them fixes it structurally.

	   Above 96 so it also covers the burger (mega-nav.css gives it z-index 96) and
	   the header's search panel (60), which would otherwise punch through. */
	/* Garnet wash, not neutral ink (owner, 2026-07-25). Pairs with the drawer's
	   white ground below: the page reads as tinted by the brand's one inversion
	   colour while the drawer sits clean and bright on top of it — a warmer,
	   more deliberate relationship than white-on-grey-dimmed-with-black.
	   Mixed from --dark rather than a hard-coded rgba so it follows the global
	   palette (theme.json → Styles → Colours) like every other token; the hex
	   fallback covers the case where the scrim is somehow outside a .tjw
	   subtree, since this element is created in JS and appended to the header. */
	.tjw-scrim {
		display: block;
		position: fixed;
		inset: 0;
		/* 70%, up from the old ink scrim's 28% (and a first pass at 45%). Garnet
		   over the Mist-Grey page mixes toward a pale dusty rose, so a light wash
		   reads as washed pink rather than as the brand colour — it takes this
		   much of the token to land as a deep red. Kept below ~80%, where the
		   page stops showing through at all and the scrim reads as a solid Garnet
		   panel instead of a tinted page. */
		background: color-mix(in srgb, var(--dark, #5b1f23) 70%, transparent);
		z-index: 500;
	}

	/* ---------- Concept-1 visual language (tested static mockup, user-approved
	   2026-07-04; background reverted 2026-07-05 to match the rest of the site
	   instead of white) — full-contrast ink text, no serif. Mobile-drawer
	   only: redeclaring these custom properties on `.tjw.tjw-mega-nav` remaps
	   every existing var(--ink-60)/var(--ink-40) reference inside the drawer
	   automatically, while the desktop mega panel (which reads the same var
	   names but is never inside this media query's scope) is untouched —
	   mist-grey ground, muted ink tones, serif tile titles all stay exactly as
	   they are above 1180px.
	   --bg: white (owner, 2026-07-25) — this reverses the 2026-07-05 decision to
	   match the site's Mist Grey ground. It only reads as "bespoke white" against
	   a neutral dim; against the Garnet scrim above, the drawer needs to be the
	   bright plane the tint is lifting off, and Mist Grey muddies into the wash.
	   Redeclared as the TOKEN rather than as `background` on the two elements that
	   ground the drawer (the panel itself and the sticky .tjw-nav-head) so they
	   can't drift apart, and so every --bg-derived value inside the drawer
	   (--paper-60/--paper-40, feature-tile text) rebases with it. Desktop is
	   untouched: this media query never applies above 1180px. */
	.tjw.tjw-mega-nav {
		--bg: #fff;
		--ink-60: var(--ink);
		--ink-40: var(--ink);
		/* Nav layout grid: ONE horizontal gutter + ONE row height, referenced by
		   every tappable drawer row (top-level rows, the Back bar, "View All", and
		   the drilled-in links) so they share a single left edge and a regular
		   vertical rhythm — replacing the per-rule magic numbers (14/19px padding,
		   30px gutters, 44/54px heights) that made the grid drift level to level. */
		--tjw-nav-gutter: var(--sp-8);
		--tjw-nav-row: 52px;
	}

	/* ---------- nav becomes a slide-in drawer ---------- */
	/* `.tjw.tjw-mega-nav` matches the desktop position:static rule's specificity,
	   and being later + in this media query it wins when the query applies. */
	/* Full-height overlay (owner, 2026-07-25): the drawer used to start below the
	   bar (top:--tjw-header-h, height:100svh minus the same) so the header stayed
	   visible and its burger doubled as the close control. It now slides over the
	   whole screen, header included — hence top:0/100svh, z-index above the header
	   template part's 1000, and the drawer's own close button in .tjw-nav-head. */
	.tjw.tjw-mega-nav {
		position: fixed;
		top: 0;
		right: 0;
		width: min(440px, 100%);
		height: 100svh;
		background: var(--bg);
		border-left: 1px solid var(--line);
		/* padding-top lives on the top-level list below, not here: this element
		   is the scrolling container `.tjw-nav-head` sticks (top:0) within, so
		   any top padding on IT stays permanently visible above the stuck
		   header — an un-scrollable 8px gap the sibling list's own links keep
		   peeking through as the drawer scrolls. Bottom padding is fine here
		   since nothing sticks to the bottom edge. */
		padding: 0 0 40px;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		/* keep the drawer's own scroll from chaining into the page behind it */
		overscroll-behavior: contain;
		transform: translateX(100%);
		/* 380ms -> 600ms (2026-07-06): measured against a competitor's mobile
		   drawer (600ms, cubic-bezier(0.4,0,0.2,1)) — ours felt rushed by
		   comparison; matched their pace. */
		transition: transform 600ms var(--ease-big);
		z-index: 1100;
		/* top-anchor the drawer contents: the desktop horizontal rule leaves the nav
		   `flex-direction:row; align-items:center`, which vertically centres the single
		   child (the link list) and leaves large dead bands top + bottom. Lay the drawer
		   out as a top-aligned column so the links start under the header and flow down;
		   the footer block (margin-top:auto) then fills the space below purposefully. */
		display: flex;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		/* core's own nav layout sets flex-wrap:wrap (for the desktop horizontal
		   row, so many top-level items can wrap onto a second row). Left as-is
		   here, once total content height (link list + an open accordion panel)
		   exceeds the drawer's fixed height, flexbox started a SECOND COLUMN
		   instead of just letting the drawer scroll vertically — which is what
		   caused the drawer to also scroll sideways, and dragged the sticky
		   close button and footer CTA out of place along with it. */
		flex-wrap: nowrap;
	}
	.tjw-mega-nav.is-open { transform: translateX(0); }


	/* Logged-in only: the WP admin bar is position:fixed at z-index 99999, so a
	   top:0 overlay slides UNDER it and the admin bar covers the drawer's close
	   button. Inset both drawer and scrim by its height so the ✕ stays tappable
	   while the owner is testing. Invisible to real visitors — body.admin-bar
	   never renders for them. */
	body.admin-bar .tjw.tjw-mega-nav { top: 32px; height: calc(100svh - 32px); }
	body.admin-bar .tjw-scrim { top: 32px; }
	@media screen and (max-width: 782px) {
		body.admin-bar .tjw.tjw-mega-nav { top: 46px; height: calc(100svh - 46px); }
		body.admin-bar .tjw-scrim { top: 46px; }
	}

	/* ---------- drawer head row: Back (conditional) + Close (always) ---------- */
	/* Server-rendered once (greyd_child_mega_nav_wire_nav_chrome()). Sticky so both
	   controls stay reachable at the top of the drawer's own scroll area however
	   long the panel gets.

	   Height is pinned to --tjw-header-h — the same token the header bar uses — for
	   two reasons: the Close glyph then sits on exactly the sight-line the burger
	   occupied a moment earlier (the drawer covers the bar, so it reads as the
	   burger becoming the ✕ rather than a new control appearing somewhere else),
	   and the row is the SAME height whether or not Back is showing, so drilling
	   into a panel can't shift anything below it.

	   That fixed height also retires the old `padding-top:8px` hack: Back used to
	   need to line up with the top-level row you'd just tapped (see 2026-07-19
	   note), but both the top-level list and the child panel now start below this
	   permanent row, so the alignment is structural. */
	.tjw-nav-head {
		display: flex;
		align-items: center;
		min-height: var(--tjw-header-h);
		position: sticky;
		top: 0;
		z-index: 5;
		background: var(--bg);
		/* optical alignment with the header bar's own right gutter: the burger is a
		   24px box 24px in from the edge, so its centre sits 36px from the right.
		   This row's 44px tap target needs 36 - 22 = 14px to put the ✕ on the same
		   centreline. */
		padding-right: 14px;
	}
	/* the drawer's own close control — see .tjw-nav-head above for why it's here
	   rather than relying on the burger underneath. 44x44 tap target (comfortably
	   past the 24px Lighthouse minimum) around an 18px glyph matching the header's
	   utility icons (viewBox 20, stroke-width 1.4). */
	.tjw-nav-close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		flex: none;
		margin-left: auto;   /* holds the ✕ right even when Back isn't rendered */
		padding: 0;
		background: transparent;
		border: 0;
		color: var(--ink);
		cursor: pointer;
	}
	.tjw-child-back {
		display: inline-flex;
		align-items: center;
		gap: var(--sp-2);
		min-height: var(--tjw-nav-row);
		padding: 0 var(--tjw-nav-gutter);
		background: transparent;
		border: 0;
		font-family: inherit;
		font-size: var(--fs-ui);
		font-weight: 400;
		letter-spacing: var(--tr-snug);
		color: var(--ink);
		cursor: pointer;
	}
	.tjw-child-back__icon {
		/* the ‹ glyph sits high in its em box; nudge it back onto the text baseline */
		font-size: 20px;
		line-height: 1;
		margin-top: -2px;
	}

	/* ---------- drawer footer: account link + contact ---------- */
	/* fills the space below the top-anchored link list; margin-top:auto pins it to
	   the bottom of the flex-column drawer. `.tjw.tjw-mega-nav` prefix (0,3,0) beats
	   a theme/core nav-child margin reset that was zeroing margin-top at 0,1,0. */
	.tjw.tjw-mega-nav .tjw-nav-footer {
		display: flex;
		flex-direction: column;
		gap: var(--sp-5);
		margin-top: auto;
		padding: var(--sp-6) var(--tjw-nav-gutter) var(--sp-1);
		border-top: 1px solid var(--line);
	}
	/* My Account + Favourites share one row: the drawer's two utility links, both
	   displaced here from the header bar (the account icon 2026-07-06, the wishlist
	   heart 2026-07-25) so the wordmark can have that width. space-between rather
	   than a plain gap so they anchor to the drawer's own gutters — the pair reads
	   as two endpoints of a rule, not a left-stacked list competing with the nav
	   rows above. Wraps on very narrow phones instead of letting a long
	   "Favourites (12)" squeeze "My Account". */
	.tjw-nav-links {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: baseline;
		gap: var(--sp-2) var(--sp-4);
	}
	/* plain text link (2026-07-06, replaces the old "Begin a commission" .cta
	   button now that the footer's job is just to surface account access). */
	.tjw-nav-footer .tjw-nav-account {
		font-size: var(--fs-ui);
		font-weight: 600;
		color: var(--ink);
		text-decoration: none;
	}
	.tjw-nav-footer .tjw-nav-account:hover { text-decoration: underline; }
	/* Saved-items count, kept in sync by wishlist.js's updateCount(). The brackets
	   are pseudo-elements, not literal text, so at 0 items wishlist.js's `hidden`
	   attribute takes the whole thing away — brackets included — and the link reads
	   as a plain "Favourites". Mono + lighter so the number annotates the word
	   rather than joining it. */
	.tjw-nav-fav .jw-wish-count {
		margin-left: 6px;
		font-family: var(--mono);
		font-size: var(--fs-3xs);
		font-weight: 400;
		letter-spacing: var(--tr-wide);
		color: var(--ink-40);
	}
	.tjw-nav-fav .jw-wish-count::before { content: "("; }
	.tjw-nav-fav .jw-wish-count::after  { content: ")"; }
	.tjw-nav-contact {
		display: flex;
		flex-direction: column;
		gap: 5px;
		font-family: var(--mono);
		font-size: 11px;
		letter-spacing: .04em;
		text-transform: uppercase;
		color: var(--ink-60);
	}
	.tjw-nav-contact a { color: var(--ink); text-decoration: none; }
	.tjw-nav-contact a:hover { text-decoration: underline; }

	.tjw-mega-nav .wp-block-navigation__container {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		/* the drawer's own top padding moved here (see `.tjw.tjw-mega-nav`
		   above) — this list is hidden whenever a child panel is active, so
		   the gap only ever shows above the top-level rows, never behind the
		   sticky child-head. */
		padding-top: 8px;
		/* line-free spaced list (user 2026-07-19: hairlines removed from top-level
		   AND drilled-in). The 52px row height carries the separation; gap:0 keeps
		   the rows a continuous, evenly-paced column. */
		gap: 0;
	}
	/* top-level rows: full-width, tappable */
	.tjw-mega-nav .wp-block-navigation__container > .wp-block-navigation-item {
		display: block;
		height: auto;
	}
	.tjw-mega-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
		display: flex;
		align-items: center;
		width: 100%;
		min-height: var(--tjw-nav-row);
		height: auto;
		padding: 0 var(--tjw-nav-gutter);
		font-size: var(--fs-ui);
		/* ONE weight for every navigable row across every level (top-level rows,
		   the drilled-in links, "View All", Back) — 500. Drilling down should read
		   as the same list moving forward, not a new type system; the mono uppercase
		   section labels stay the single deliberate accent tier. Was 600 here / 400
		   in the panels, which is the weight jump that read as inconsistent. */
		font-weight: 400;
		letter-spacing: var(--tr-snug);
		color: var(--ink);
	}
	/* Decorative only — the whole row (this <a>, spanning full width above) is
	   the actual tap target, including the area under the caret. The caret is
	   a separate sibling element sitting on top of it (position:absolute), so
	   without pointer-events:none it would silently swallow taps in its own
	   corner, leaving only the text portion of the row responsive. */
	.tjw-mega-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation__submenu-icon {
		position: absolute;
		top: 0;
		right: 0;
		width: 56px;
		height: var(--tjw-nav-row);
		margin: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		pointer-events: none;
	}
	/* rotated to point right, not down — this is a drill-into-a-screen
	   affordance now (like the back row's own `‹`), not an in-place accordion
	   expand/collapse, so a downward chevron reads wrong here. */
	.tjw-mega-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation__submenu-icon svg {
		width: 12px;
		height: 12px;
		transform: rotate(-90deg);
	}
	.tjw-mega-nav .wp-block-navigation__container > .wp-block-navigation-submenu { position: relative; }

	/* Top-level panels (mega + About) are no longer an in-place accordion —
	   greyd_child_mega_nav_wire_submenu_item()/wire_link_item() bake x-show onto each one, so Alpine
	   alone gates display:none <-> block via activeChild; no max-height clip or
	   [data-open] state is needed here any more (data-open now only exists on
	   desktop, driven by openDesktopPanel()/closeDesktopPanel() in mega-nav.js).
	   position:absolute (against the owning <li>'s position:relative, set
	   above) rather than in-flow: closing a child reveals every sibling <li>
	   instantly (their x-show has no transition), and with the panel itself
	   still in normal flow for the ~250ms of its own leave transition, that
	   sibling reflow and the panel's leave were measured (Performance panel
	   trace, back-navigation) fighting over layout on the same frames — a
	   CLS of 0.65 and a forced reflow inside Alpine's transition code, which
	   is what read as clunky/un-smooth paint. Taking the panel out of flow
	   means the sibling reveal can't shove it around; its enter/leave motion
	   becomes a pure opacity+transform composite over whatever is beneath. */
	.tjw-mega-nav .is-mega > .wp-block-navigation__submenu-container,
	.tjw-mega-nav .wp-block-navigation-submenu:not(.is-mega) > .wp-block-navigation__submenu-container {
		position: absolute;
		top: 0;
		left: 0;
		/* beat the desktop full-bleed rule's `width: 100vw !important` (this panel
		   is positioned against its own <li> here, not escaped to the full-width
		   header) — left unset it was forcing the accordion wider than the
		   drawer, which triggered a horizontal scrollbar on the whole panel and
		   dragged everything (including the sticky close button) sideways with it. */
		width: 100% !important;
		/* core collapses submenu containers to height:0 (expects its own
		   dequeued view-script to animate it open) — the is-mega panel has
		   always carried its own `height:auto` override further up for this
		   exact reason (see that rule's comment), but the plain-dropdown
		   (About) branch never did, because while `position:static` its
		   height simply came along for free from being in normal flow. Now
		   that the panel is absolute (see above), core's height:0 wins
		   outright for About and clips its links to nothing — hence the
		   `height:auto` here too. */
		height: auto;
		transform: none;
		box-shadow: none;
		border: 0;
		background: transparent;
		min-width: 0;
		max-height: none;
		/* no top padding (View All sits flush under the sticky Back bar) and no
		   horizontal padding — each row owns the gutter now, so every row shares
		   one left edge with the top-level list. */
		padding: 0 0 var(--sp-6);
		overflow: visible;
		visibility: visible;
		opacity: 1;
	}
	.tjw-mega-nav .is-mega > .wp-block-navigation__submenu-container { grid-template-columns: 1fr; }

	/* About is a simple (:not(.is-mega)) dropdown, so its drilled-in links are
	   styled by their own base rule (padding:9px sp-6, weight 400) rather than the
	   is-mega link rules above. Pull them onto the shared nav-link row here too so
	   the type/height doesn't shift when you drill into About vs a mega panel.
	   Extra `.tjw` (compound, same nav element) makes this 0,7,0 — out-ranks the
	   0,6,0 base rule and lands later in the cascade. */
	.tjw-mega-nav.tjw .wp-block-navigation__container > .wp-block-navigation-submenu:not(.is-mega) > .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		display: flex;
		align-items: center;
		min-height: var(--tjw-nav-row);
		padding: 0 var(--tjw-nav-gutter);
		font-size: var(--fs-ui);
		font-weight: 400;
		letter-spacing: var(--tr-snug);
		color: var(--ink);
	}

	/* roomier vertical rhythm in the drawer: more air between the grey section
	   labels (BY CATEGORY / ENGAGEMENT / WEDDING …) and their link lists, and more
	   separation between one section's links and the next label. The panel is
	   display:block here (not grid), so section spacing is margin, not gap. */
	.tjw-mega-nav .is-mega > .wp-block-navigation__submenu-container > .wp-block-navigation-item > .wp-block-navigation-item__content { padding-left: var(--tjw-nav-gutter); padding-right: var(--tjw-nav-gutter); margin-bottom: var(--sp-2); }
	.tjw-mega-nav .is-mega > .wp-block-navigation__submenu-container > .wp-block-navigation-submenu { margin-bottom: var(--sp-5); }
	.tjw-mega-nav .is-mega > .wp-block-navigation__submenu-container > .wp-block-navigation-submenu:last-of-type { margin-bottom: 0; }
	/* the 3rd-level link lists are NOT a second accordion level — when a panel is
	   open its columns + links show together (prototype parity). The :not(.is-mega)
	   accordion rule above also matches these nested lists and collapses them to
	   max-height:0; reset them so the links render.
	   position:static: core has these nested lists `position:absolute;top:0`
	   against their own (position:static) group <li> by default, so the
	   containing-block search walks up to the nearest positioned ancestor —
	   which used to be harmless further up the tree, but is now the panel
	   itself (position:absolute, see above), pinning every group's link list
	   to the panel's own top edge instead of flowing under its own header. */
	.tjw-mega-nav .is-mega > .wp-block-navigation__submenu-container > .wp-block-navigation-item > .wp-block-navigation__submenu-container {
		position: static;
		max-height: none;
		overflow: visible;
		padding: 0;
	}

	/* Greyd's theme.css gives EVERY submenu-container an elevated box-shadow, a
	   4px border-radius and margin-top:6px via a 0,5,0 selector
	   (.wp-block-navigation .wp-block-navigation__container
	    .wp-block-navigation-submenu.has-child .wp-block-navigation__submenu-container),
	   and on mobile it also re-asserts the shadow inside a max-width query. Our
	   flatten rules above are only 0,3,0/0,4,0, so that chrome leaked through as a
	   floating "card" (shadow + rounded outline + 6px gap) around each panel
	   and each column's link list. Strip it flat with a 0,6,0 selector (extra
	   `.tjw`) that also loads after theme.css, so it wins outright.

	   `overflow: hidden` here is harmless, not load-bearing: now that visibility
	   is x-show/display-driven rather than a max-height clip, an unconstrained
	   (max-height:none) box never has anything to overflow regardless of this
	   property — kept only because it's part of the same flatten pass that
	   zeroes Greyd's shadow/border/radius. */
	.tjw-mega-nav.tjw .wp-block-navigation__container .wp-block-navigation-submenu.has-child .wp-block-navigation__submenu-container {
		margin: 0;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		background: transparent;
		overflow: hidden;
	}
}

/* ============================================================
   Phase 4 — feature tiles (one <li.tjw-mega-feature> injected by the render
   filter into each panel's last grid slot: repeat(N,1fr) 1.3/1.5/1.7fr).
   Colour/type come from the .tjw system; this is the prototype's .feature layer.
   ============================================================ */
/* the injected <li> is the grid item; flex so its <a> fills the cell height */
.tjw-mega-nav .is-mega > .wp-block-navigation__submenu-container > .tjw-mega-feature {
	display: flex;
	margin: 0;
	padding: 0;
}
.tjw-mega-nav .feature {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: flex-end;
	gap: var(--sp-4);
	min-height: 280px;
	padding: var(--sp-6);
	border-radius: var(--r-sm);
	background: var(--bg-2);
	text-decoration: none;
}
/* `.feature` is an <a>, so section-patterns' `.tjw a:not(.wp-block-button__link)
   {color:inherit}` reset (0,2,1) out-specifies a plain `.feature--dark` (0,2,0)
   and the card title inherits ink (black) from the nav. Pin the colour on the
   anchor AND the title with an extra class (0,3,1) so the light text wins. */
.tjw-mega-nav a.feature.feature--dark { background: var(--dark); color: var(--bg); }
.tjw-mega-nav a.feature.feature--dark .feature__title { color: var(--bg); }
/* type pass 2026-10-23: the tile's label leaves mono for a sans note
   (was .meta's mono capitals in --ink-40 / --paper-40), and the serif is 400. */
.tjw-mega-nav .feature .meta {
	margin: 0;
	font-family: inherit;
	font-size: var(--fs-sm);
	letter-spacing: var(--tr-snug);
	text-transform: none;
	color: var(--ink-60);
}
.tjw-mega-nav a.feature.feature--dark .meta { color: var(--paper-60); }
.tjw-mega-nav .feature__title {
	font-family: var(--serif);
	font-weight: var(--serif-w, 400);
	letter-spacing: var(--tr-snug);
	line-height: 1.1;
	font-size: clamp(24px, 2.3vw, 32px);
}
.tjw-mega-nav .feature__cta { align-self: flex-start; }

/* mid-desktop: drop Shop to 4 columns and lay its tile across the full width */
@media (min-width: 1181px) and (max-width: 1320px) {
	.tjw-mega-nav .is-mega-shop > .wp-block-navigation__submenu-container { grid-template-columns: repeat(4, 1fr); }
	.tjw-mega-nav .is-mega-shop > .wp-block-navigation__submenu-container > .tjw-mega-feature { grid-column: 1 / -1; }
	.tjw-mega-nav .is-mega-shop .feature { flex-direction: row; align-items: center; min-height: 0; }
	.tjw-mega-nav .is-mega-shop .feature__title { font-size: var(--fs-xl); }
}

/* mobile drawer: drop the tile to keep the accordion lean (prototype parity).
   Must match the base tile rule's specificity (4 classes) to win in-query. */
@media (max-width: 1180px) {
	.tjw-mega-nav .is-mega > .wp-block-navigation__submenu-container > .tjw-mega-feature { display: none; }
}

/* ---------- View All {X} link (greyd_child_mega_nav_prepare_inner_blocks()) ----------
   Mobile-drawer-only: it's the drill-down's stand-in for the top-level item's
   own href, which the drawer intercepts with @click for openChild(). Hidden by
   default so it doesn't show up as a stray grid cell in the desktop mega panel,
   which never had this problem (its top-level link still just navigates).
   Needs (0,4,0) specificity to beat the column-item rule's own
   `display:block` (line ~211), which also matches — .tjw-view-all carries
   `wp-block-navigation-item` too so it qualifies as a "column" to that rule. */
.tjw-mega-nav .is-mega > .wp-block-navigation__submenu-container > .tjw-view-all,
.tjw-mega-nav .wp-block-navigation-submenu:not(.is-mega) > .wp-block-navigation__submenu-container > .tjw-view-all {
	display: none;
}
@media (max-width: 1180px) {
	.tjw-mega-nav .is-mega > .wp-block-navigation__submenu-container > .tjw-view-all,
	.tjw-mega-nav .wp-block-navigation-submenu:not(.is-mega) > .wp-block-navigation__submenu-container > .tjw-view-all {
		display: block;
		/* a small gap sets the section's own page-link apart from the category
		   list below (line-free, like every other row). */
		margin-bottom: var(--sp-3);
	}
	/* "View All {X}" is the only route to the section's own landing page (the
	   drawer intercepts the top-level tap for drill-down via openChild()). Style
	   it to MATCH the 3rd-level page links below — same size/weight/colour/hover,
	   no button chrome — just undoing the faint 10px uppercase-mono caption it
	   inherits from the column-heading rule (~line 232).
	   (0,5,0)/(0,6,0) to out-rank the column-heading rule; earlier (0,2,0) lost. */
	.tjw-mega-nav .is-mega > .wp-block-navigation__submenu-container > .tjw-view-all > .wp-block-navigation-item__content,
	.tjw-mega-nav .wp-block-navigation-submenu:not(.is-mega) > .wp-block-navigation__submenu-container > .tjw-view-all > .wp-block-navigation-item__content {
		display: flex;
		align-items: center;
		min-height: var(--tjw-nav-row);
		margin-bottom: 0;
		padding: 0 var(--tjw-nav-gutter);
		border: 0;
		font-family: inherit;
		font-size: var(--fs-ui);
		font-weight: 400;
		letter-spacing: var(--tr-snug);
		text-transform: none;
		line-height: 1.5;
		color: var(--ink);
		transition: color 200ms var(--ease), transform 250ms var(--ease-big);
	}
	.tjw-view-all > .wp-block-navigation-item__content:hover {
		color: var(--ink);
		transform: translateX(4px);
	}
	/* `tjw-hub-link` (editor class) repeats the panel's own page as a column's
	   first row on desktop, where the top-level link isn't obvious as a link.
	   In the drawer "View All {X}" already does that job, directly above it.
	   (0,5,0) to beat the (0,4,0) column-item `display:block`. */
	.tjw-mega-nav .is-mega .wp-block-navigation__submenu-container > .wp-block-navigation-item.tjw-hub-link { display: none; }
}

/* ============================================================
   MOTION — drill-in/out transition classes (Alpine x-transition, wired in
   greyd_child_mega_nav_wire_submenu_item()) + staggered top-level row reveal on
   drawer open (:class binding in greyd_child_mega_nav_wire_nav_chrome()).
   Both mobile-only; prefers-reduced-motion neutralises everything below in
   one place rather than duplicating a reduced-motion variant per rule.
   ============================================================ */
@media (max-width: 1180px) {
	/* panel enter/leave: content slides in from the right + fades, matching
	   the drill-down's implied "push forward" direction; leave is the mirror,
	   shorter (250ms vs 350ms) so back-navigation feels snappier than forward. */
	/* !important: these classes toggle on the same element as the
	   `.tjw-mega-nav .is-mega > .wp-block-navigation__submenu-container` panel
	   reset above, whose 3-4 class selectors otherwise out-specify these
	   1-2 class ones — silently pinning opacity:1/transform:none throughout
	   and making the whole enter/leave motion a no-op (confirmed via a
	   computed-style trace: opacity/transform never left their resting
	   values while these classes were applied). */
	.tjw-panel-enter { transition: opacity 350ms var(--ease-big), transform 350ms var(--ease-big); }
	.tjw-panel-enter-start { opacity: 0 !important; transform: translateX(24px) !important; }
	.tjw-panel-enter-end { opacity: 1 !important; transform: translateX(0) !important; }
	.tjw-panel-leave { transition: opacity 250ms var(--ease), transform 250ms var(--ease); }
	.tjw-panel-leave-start { opacity: 1 !important; transform: translateX(0) !important; }
	.tjw-panel-leave-end { opacity: 0 !important; transform: translateX(-24px) !important; }

	/* staggered top-level row reveal: each row starts offset+transparent,
	   `.tjw-stagger-in` (toggled on drawerOpen) reveals them with a per-row
	   delay. Six top-level items exist today (Shop/Engagement & Wedding/
	   Bespoke/Repairs/Valuations/About); nth-child covers a few spares. */
	.tjw-mega-nav .wp-block-navigation__container > .wp-block-navigation-item {
		opacity: 0;
		transform: translateY(10px);
		transition: opacity 320ms var(--ease), transform 320ms var(--ease);
	}
	.tjw-mega-nav .wp-block-navigation__container.tjw-stagger-in > .wp-block-navigation-item {
		opacity: 1;
		transform: translateY(0);
	}
	.tjw-mega-nav .wp-block-navigation__container > .wp-block-navigation-item:nth-child(1) { transition-delay: 30ms; }
	.tjw-mega-nav .wp-block-navigation__container > .wp-block-navigation-item:nth-child(2) { transition-delay: 65ms; }
	.tjw-mega-nav .wp-block-navigation__container > .wp-block-navigation-item:nth-child(3) { transition-delay: 100ms; }
	.tjw-mega-nav .wp-block-navigation__container > .wp-block-navigation-item:nth-child(4) { transition-delay: 135ms; }
	.tjw-mega-nav .wp-block-navigation__container > .wp-block-navigation-item:nth-child(5) { transition-delay: 170ms; }
	.tjw-mega-nav .wp-block-navigation__container > .wp-block-navigation-item:nth-child(6) { transition-delay: 205ms; }
	.tjw-mega-nav .wp-block-navigation__container > .wp-block-navigation-item:nth-child(n+7) { transition-delay: 240ms; }
}

/* Zero the DURATION only — every element still reaches the exact same end
   state (open drawer, formed X, revealed row) instantly instead of animated.
   Deliberately does NOT touch `transform` itself: several of these transforms
   are functional end-states, not decoration — the burger's bars->X morph and
   the drawer's translateX(0) open position both depend on their transform
   actually applying, just without the animated journey there. */
@media (max-width: 1180px) and (prefers-reduced-motion: reduce) {
	.tjw-mega-nav,
	.tjw-mega-nav *,
	.tjw-scrim,
	.tjw-burger,
	.tjw-burger * {
		transition-duration: 0.001ms !important;
		animation-duration: 0.001ms !important;
	}
}

/* source: assets/css/anim-cls-fix.css */
/**
 * Layout-shift (CLS) hardening: stop `transition: all` rules from animating
 * layout properties.
 *
 * A mobile performance trace of the homepage found a layout-shift cluster whose
 * root cause was non-composited animations of padding / font-size /
 * letter-spacing / border on buttons + nav links: when those elements reflow
 * during load, a blanket `transition: all` animates their geometry over 200ms,
 * generating a per-frame shift burst. web.dev's guidance is to never transition
 * layout properties — so we scope every offending `transition: all` down to
 * compositor/paint-safe properties (transform, opacity, colours, shadow).
 *
 * The source is the parent theme (update-unsafe), so the fix lives in the child
 * theme. This sheet is enqueued AFTER the `greyd-theme` handle (see
 * greyd_child_anim_cls_fix() in inc/theme-assets.php); the overrides match the
 * original selectors' specificity and win on source order.
 *
 * Section 2 is not CLS work: it holds the two live rules from Greyd's dequeued
 * blocks.css, here because this sheet prints in the same position.
 */

/* ============================================================
 * 1. Core / Greyd buttons + nav button-links
 *    Source: greyd-theme/assets/css/theme.css (`transition: all .2s ease`).
 *    Buttons animate padding/font-size/letter-spacing/border on load reflow.
 *    Restrict to what buttons actually transition on hover.
 * ============================================================ */
.wp-block-button__link,
button[type="submit"],
input[type="submit"],
.button,
.wp-block-search .wp-block-search__button,
.wp-block-file .wp-block-file__button,
.wp-block-navigation[class*="is-style-button"] .wp-block-navigation-item .wp-block-navigation-item__content,
.wp-block-navigation .wp-block-navigation-item[class*="is-style-button"] .wp-block-navigation-item__content,
.wp-block-navigation .wp-block-navigation-item.is-style-button-fill.is-style-button-fill .wp-block-navigation-item__content,
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item.is-style-button-fill .wp-block-navigation-item__content {
	transition-property: background-color, background, color, border-color, box-shadow, transform, opacity;
}

/* ============================================================
 * 2. Rules re-homed from Greyd's blocks.css
 *    Source: greyd-plugin/src/features/blocks/assets/css/blocks.css
 *    That sheet is dequeued in inc/greyd-assets.php (2026-10-18); these are
 *    the only two of its rules any page used. Copied verbatim, less the dead
 *    `.hidden-trigger-link` selector. This sheet prints where blocks.css
 *    did, so cascade order is unchanged.
 * ============================================================ */
p:empty {
	display: none;
}

button:focus-visible,
[tabindex="1"]:focus-visible,
[role=button]:focus-visible,
[role=link]:focus-visible {
	outline: 2px dotted var(--text-color, var(--wp--preset--color--foreground, currentColor));
	outline-offset: 2px;
}

/* source: assets/css/cookie-consent.css */
/* ============================================================
   COOKIE CONSENT  —  Complianz banner restyle (.tjw brand)
   ------------------------------------------------------------
   Complianz v7 reads all of its colours/sizes from a set of
   `--cmplz_*` custom properties declared on :root. We re-declare
   them here on `:root:root` (specificity 0,2,0) so we always beat
   the plugin's own :root block AND the inline :root{} that the
   admin "Look & Feel" tab would emit — regardless of load order.

   The handful of things the variables don't cover (font-family,
   button hover states, the banner shadow) are written as normal
   rules prefixed with `html ` so they out-specify the plugin's
   `.cmplz-cookiebanner ...` element rules without !important.

   Palette (mirrors section-patterns.css):
     page ground   #f9f8f6  banner ground
     Light Grey #eae9e6   panels
     Onyx Black #161616   text + primary button
     Garnet     #5b1f23   links + accept-hover
     hairline   #d8d7d3 / #c9c8c4
   Fonts: Newsreader (title) / Satoshi (body+UI).
   These load site-wide via the single <link> in <head> (see
   greyd_child_font_assets() in functions.php), so the banner —
   which can appear on any page — always has them. The former
   per-file @import was removed in the 2026-06 font unify.
   ============================================================ */

:root:root {
	/* shell */
	--cmplz_banner_width: 600px;
	--cmplz_banner_background_color: #f9f8f6;   /* page ground */
	--cmplz_banner_border_color: #d8d7d3;
	--cmplz_banner_border_width: 1px;
	--cmplz_banner_border_radius: 2px;
	--cmplz_banner_margin: 16px;

	/* text */
	--cmplz_text_color: #161616;                /* Onyx */
	--cmplz_hyperlink_color: #5b1f23;           /* Garnet links */
	--cmplz_title_font_size: 22px;
	--cmplz_text_font_size: 13px;
	--cmplz_link_font_size: 12px;
	--cmplz_category_body_font_size: 12px;
	--cmplz_category_header_title_font_size: 14px;
	--cmplz_category_header_active_font_size: 12px;
	--cmplz_category_header_always_active_color: #5b1f23;

	/* buttons — accept (solid ink) and deny given equal visual
	   weight per GDPR no-nudging guidance; preferences is quieter */
	--cmplz_button_border_radius: 2px;
	--cmplz_button_font_size: 13px;

	--cmplz_button_accept_background_color: #161616;
	--cmplz_button_accept_border_color: #161616;
	--cmplz_button_accept_text_color: #f9f8f6;

	--cmplz_button_deny_background_color: transparent;
	--cmplz_button_deny_border_color: #161616;
	--cmplz_button_deny_text_color: #161616;

	--cmplz_button_settings_background_color: transparent;
	--cmplz_button_settings_border_color: #c9c8c4;
	--cmplz_button_settings_text_color: #4a4a48;

	/* preference toggles */
	--cmplz_slider_active_color: #161616;
	--cmplz_slider_inactive_color: #c9c8c4;
	--cmplz_slider_bullet_color: #f9f8f6;

	/* local font stacks (banner sits outside the .tjw scope) */
	--tjw-cc-serif: "Newsreader", Georgia, serif;
	--tjw-cc-sans: "Satoshi", "Satoshi Fallback", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

/* ---- typography -------------------------------------------- */
html .cmplz-cookiebanner,
html .cmplz-cookiebanner .cmplz-message,
html .cmplz-cookiebanner .cmplz-categories,
html .cmplz-cookiebanner .cmplz-links,
html #cmplz-manage-consent .cmplz-manage-consent {
	font-family: var(--tjw-cc-sans);
}

html .cmplz-cookiebanner .cmplz-header .cmplz-title {
	font-family: var(--tjw-cc-serif);
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.15;
}

html .cmplz-cookiebanner .cmplz-message {
	line-height: 1.6;
}

/* ---- shell polish ------------------------------------------ */
html .cmplz-cookiebanner {
	box-shadow: 0 6px 28px rgba(22, 22, 22, 0.12);
}

/* ---- buttons ----------------------------------------------- */
html .cmplz-cookiebanner .cmplz-buttons .cmplz-btn {
	font-family: var(--tjw-cc-sans);
	font-weight: 500;
	letter-spacing: 0.02em;
	text-transform: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* accept: ink -> garnet on hover */
html .cmplz-cookiebanner .cmplz-btn.cmplz-accept:hover,
html .cmplz-cookiebanner .cmplz-btn.cmplz-accept:focus-visible {
	background-color: #5b1f23;
	border-color: #5b1f23;
	color: #f9f8f6;
}

/* deny: outline -> filled ink on hover (equal weight to accept) */
html .cmplz-cookiebanner .cmplz-btn.cmplz-deny:hover,
html .cmplz-cookiebanner .cmplz-btn.cmplz-deny:focus-visible {
	background-color: #161616;
	border-color: #161616;
	color: #f9f8f6;
}

/* preferences (view / save): quiet outline that firms up on hover */
html .cmplz-cookiebanner .cmplz-btn.cmplz-view-preferences:hover,
html .cmplz-cookiebanner .cmplz-btn.cmplz-view-preferences:focus-visible,
html .cmplz-cookiebanner .cmplz-btn.cmplz-save-preferences:hover,
html .cmplz-cookiebanner .cmplz-btn.cmplz-save-preferences:focus-visible {
	border-color: #161616;
	color: #161616;
}

/* ---- close icon -------------------------------------------- */
html .cmplz-cookiebanner .cmplz-close {
	color: #161616;
}

/* ---- CLS fix: replace Complianz's default entrance animation ----
   Complianz's own CSS (banner-1-optin.css) animates the `bottom`
   property from -50vh to its resting position over 1s
   (`#cmplz-cookiebanner-container .cmplz-cookiebanner{bottom:-50vh;
   animation:...slideIn}`). Since the banner is `position:fixed`,
   animating `bottom` still forces a real layout recalculation on
   every frame — measured as ~0.03-0.19 CLS (worse on narrow mobile
   viewports, where the same pixel shift is a bigger fraction of the
   screen). Cancel that animation and reproduce the same "slide up +
   fade in" look with `transform`/`opacity` only, which are
   compositor-only and contribute zero layout shift. 2026-07-06. */
#cmplz-cookiebanner-container .cmplz-cookiebanner {
	bottom: 10px !important;
	animation: none !important;
	transform: translateY(16px);
	opacity: 0;
	transition: transform 400ms ease, opacity 400ms ease;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner.cmplz-show {
	transform: translateY(0);
	opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
	#cmplz-cookiebanner-container .cmplz-cookiebanner {
		transition-duration: 0.001ms !important;
	}
}
