/* Susan & Son: the WORKING site at /site/ (forked 2026-10-06 from r3.css, which stays frozen with options 9 to 12).
   Locked brand: Indigo & Cheddar palette, Adobe Garamond Pro (display) + Hanken Grotesk (body, labels, UI). */
:root {
  --background: #f1e9d6;   /* muslin */
  --foreground: #17202e;
  --primary: #203a5c;      /* indigo: logo, headlines */
  --secondary: #5a7294;    /* fills, large type only */
  --accent: #d6962a;       /* cheddar: decoration only */
  --action: #8f2b23;       /* Turkey red: clickables only */
  --action-hover: #74221b;
  --action-fg: #ffffff;
  --muted: #e5dac1;
  --border: #cdbf9f;
  --paper: #f8f3e7;
  --ink-on-dark: #f1e9d6;

  --font-display: 'adobe-garamond-pro', 'AGaramond', Georgia, serif;
  --font-body: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;

  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px; --s8: 128px;
  --section-y: clamp(64px, 8vw, 112px);
  --gutter: clamp(16px, 4vw, 48px);
  --container: 1364px;
  --radius: 2px;
  --card-radius: 6px;   /* pattern cards + the Pick Your Colors box (John 2026-10-09: small rounded corners) */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 240ms;

  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--foreground);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;   /* no faux bold or italic */
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--background); }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--action); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; transition: color var(--dur) var(--ease); }
a:hover { color: var(--action-hover); }
button { font: inherit; color: inherit; }
.linen { background-color: var(--background); background-image: url('/tex/linen.png'); background-size: 256px 256px; background-blend-mode: soft-light; }

/* ---- type variants ---- */
/* no widows (John 2026-11-22): body copy never ends on one word; :where() keeps it from out-ranking component rules */
:where(p, li, dd, figcaption, blockquote) { text-wrap: pretty; }
.t-display { font-family: var(--font-display); font-weight: 600; font-size: clamp(44px, 5.4vw, 80px); line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance; color: var(--primary); }
.t-heading { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 3vw, 44px); line-height: 1.1; letter-spacing: -0.01em; text-wrap: balance; color: var(--primary); }
.t-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 1.9vw, 27px); line-height: 1.18; color: var(--primary); }
.t-italic { font-family: var(--font-display); font-style: italic; font-weight: 400; }
.t-lede { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(21px, 1.8vw, 25px); line-height: 1.38; }
.t-body { font-size: 17px; line-height: 1.6; }
.t-label { font-family: var(--font-body); font-weight: 600; font-size: 12px; line-height: 1.3; letter-spacing: 0.14em; text-transform: uppercase; }
.t-caps { font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: 0.2em; text-transform: uppercase; }
.t-caption { font-size: 14px; line-height: 1.45; font-weight: 500; }
.t-num { font-variant-numeric: tabular-nums lining-nums; }

/* ---- layout ---- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section + .section { padding-top: 0; }
.stack > * + * { margin-top: var(--s3); }
.stack-sm > * + * { margin-top: var(--s2); }
.eyebrow { display: block; margin-bottom: var(--s2); }
.head-row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s5); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5) var(--s4); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6) var(--s5); }
/* 4 across down to 1261, 3 across to 961 (John 2026-10-12: at ~1100 the prices did not fit beside the names), then 2.
   The home grids are sized in fours, so at 3 across each drops the cards that would make an orphan: home grid 34 cards
   + 2x2 feature + 2-cell Pick Your Colors box = 40 cells, minus the last card = 39 = 13 rows; beginners 8 to 6; More 4 to 3 */
@media (max-width: 1260px) and (min-width: 961px) {
  .grid-4, .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g-home:not(.g-all) > .qcard:last-child, .g-first > :nth-child(n+7), .g-more > :nth-child(n+4) { display: none; }
  .g-all > .pyc-cta { grid-column: span var(--b3, 2); }   /* launch grid: the box fills what the last row leaves (index.astro boxSpan) */
  .g-all.b3-1 > .pyc-cta { grid-template-columns: 1fr; gap: var(--s3); padding: var(--s4) var(--s4); align-content: center; }   /* one column wide: demo above the text, kept short so the row is the cards' height */
  .g-all.b3-1 .pyc-demo-quilt { width: min(50%, 120px); }
  .g-all.b3-1 .pyc-cta-title { font-size: 30px; }
  .g-all.b3-1 .pyc-cta-text p { font-size: 15px; line-height: 1.5; }
}
@media (max-width: 960px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4) var(--s3); } }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s1); min-height: 48px; padding: 0 var(--s4);
  border-radius: var(--radius); border: 1.5px solid var(--action); background: var(--action); color: var(--action-fg);
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.btn:hover { background: var(--action-hover); border-color: var(--action-hover); color: var(--action-fg); }
.btn-lg { min-height: 56px; padding: 0 var(--s5); font-size: 16px; }
.btn-secondary { background: transparent; color: var(--action); }
.btn-secondary:hover { background: var(--action); color: var(--action-fg); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--action); padding-inline: 0; }
.btn-ghost:hover { background: transparent; border-color: transparent; color: var(--action-hover); text-decoration: underline; text-underline-offset: 0.2em; }
.btn-on-dark { background: var(--ink-on-dark); border-color: var(--ink-on-dark); color: var(--action); }
.btn-on-dark:hover { background: #fff; border-color: #fff; color: var(--action-hover); }

/* ---- header / footer ---- */
.hdr { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding-block: var(--s3); }
.hdr-logo { color: var(--primary); display: block; }
.hdr-logo img, .hdr-logo svg { height: 44px; width: auto; }
.nav { display: flex; gap: var(--s4); align-items: center; }
.nav a { font-weight: 600; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; }
.nav a:hover { text-decoration: underline; text-underline-offset: 0.4em; }
.nav .basket { display: inline-flex; gap: 6px; align-items: center; }
.ftr { border-top: 1px solid var(--border); padding-block: var(--s6) var(--s5); }
.ftr-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--s5); }
.ftr-grid a { overflow-wrap: anywhere; }
.ftr-grid ul > * + * { margin-top: var(--s1); }
.ftr a { text-decoration: none; }
.ftr a:hover { color: var(--action-hover); }   /* hover = colour change only (John 2026-11-19) */
.ftr-badge { width: 112px; color: var(--primary); }
.ftr-fine { margin-top: var(--s6); display: flex; justify-content: space-between; gap: var(--s3); }
@media (max-width: 860px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }

/* ---- the quilt card ---- */
.qcard { display: flex; flex-direction: column; gap: var(--s2); height: 100%; }
.qcard-link { color: inherit; text-decoration: none; display: flex; flex-direction: column; gap: var(--s2); }
.qframe { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--muted); }
/* the quilt continues below the frame: a 14px fade of the dark ink at 20% along the bottom edge hints at it */
.qcard .qframe::after { content: ''; position: absolute; inset: auto 0 0; height: 14px; pointer-events: none;
  background: linear-gradient(to top, rgba(23, 32, 46, 0.2), rgba(23, 32, 46, 0)); }
.qframe.qframe--photo img { object-position: center; }
.qframe img { width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform 600ms var(--ease), opacity var(--dur) var(--ease); }
.qcard-link:hover .qframe img { transform: translateY(-2px) scale(1.012); }
.qcard-text { display: grid; grid-template-columns: 1fr auto; column-gap: var(--s2); row-gap: 2px; }
.qcard-name { font-family: var(--font-display); font-weight: 600; font-size: 28px; letter-spacing: -0.005em; line-height: 1.15; color: var(--primary); grid-column: 1; text-wrap: balance; }
.qcard-link:hover .qcard-name { color: var(--action); }
.qcard-meta { grid-column: 1; font-size: 14px; font-weight: 500; }
.qcard-meta .sep { padding-inline: 6px; }
.qcard-price { grid-column: 2; grid-row: 1; font-family: var(--font-display); font-size: 21px; font-weight: 600; color: var(--primary); align-self: start; }
.chips { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: auto; }   /* anchored to the card bottom */
.chip { width: 28px; height: 28px; padding: 0; border-radius: 50%; border: 1px solid var(--border); background: var(--muted); cursor: pointer; overflow: hidden;
  outline: 1.5px solid transparent; outline-offset: 2px; transition: outline-color var(--dur) var(--ease); }
.chip img { width: 100%; height: 100%; object-fit: cover; }
.chip[aria-pressed='true'] { outline-color: var(--action); }
.chip:hover { outline-color: var(--action-hover); }
.chip:focus-visible { outline-color: var(--action); outline-width: 2px; }
.chips-label { font-size: 13px; font-weight: 500; order: -1; flex-basis: 100%; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }   /* always one line */   /* colourway name on its own line above the circles, so every row of circles lines up */

/* variant: mount (a quilt mounted on paper, like a sample card) */
.qcard--mount { background: var(--paper); padding: var(--s3) var(--s3) var(--s3); box-shadow: 0 1px 0 var(--border), 0 18px 40px -28px rgba(23, 32, 46, 0.45); }
.qcard--mount .qframe { outline: 1px dashed rgba(32, 58, 92, 0.35); outline-offset: 7px; margin: 8px 8px var(--s1); }

/* variant: label (museum wall label under the quilt) */
.qcard--label .qframe { box-shadow: 0 24px 40px -30px rgba(23, 32, 46, 0.55); }
.qcard--label .qcard-name { font-style: italic; font-weight: 400; font-size: 27px; }
.qcard--label .qcard-text { border-top: 1px solid var(--border); padding-top: var(--s2); }

/* variant: index (no chips, tight) */
.qcard--index .qcard-name { font-size: 20px; }

/* ================= Option 9 · The Pattern Shop ================= */
.o9-hero { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s6); align-items: end; padding-block: var(--s6) var(--s4); }
.o9-hero-text { padding-bottom: var(--s5); }
.o9-hero-text .t-lede { margin-top: var(--s3); }
.o9-hero-actions { display: flex; gap: var(--s3); align-items: center; margin-top: var(--s5); }
.o9-hero-quilts { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--s2); align-items: end; }
.o9-hero-quilts .qframe:nth-child(2) { margin-bottom: var(--s6); }
.o9-filters { display: flex; gap: var(--s1); flex-wrap: wrap; }
.o9-filter { min-height: 40px; padding: 0 var(--s2); border-radius: 999px; border: 1px solid var(--border); background: transparent; font-size: 14px; font-weight: 600; color: var(--action); cursor: pointer; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.o9-filter[aria-pressed='true'] { background: var(--action); border-color: var(--action); color: var(--action-fg); }
.o9-promise { background: var(--primary); color: var(--ink-on-dark); }
.o9-promise .t-heading, .o9-promise .t-title { color: var(--ink-on-dark); }
.o9-promise-grid { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s7); align-items: center; }
.o9-fablist { background: var(--paper); color: var(--foreground); padding: var(--s4); display: grid; grid-template-columns: 220px 1fr; gap: var(--s4); }
.o9-fablist .qframe { aspect-ratio: 4 / 5; }
.fab-rows > li { display: grid; grid-template-columns: 36px 1fr; gap: var(--s2); align-items: center; padding-block: 10px; border-bottom: 1px solid var(--border); }
.fab-rows > li:last-child { border-bottom: 0; }
.fab-sw { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border); }
.fab-name { font-weight: 600; font-size: 15px; line-height: 1.3; }
.fab-line { font-size: 13px; font-weight: 500; }
@media (max-width: 960px) { .o9-hero, .o9-promise-grid, .o9-fablist { grid-template-columns: 1fr; } }

/* ================= Option 10 · The Gallery ================= */
.o10-hero { padding-block: var(--s6) var(--s5); display: grid; grid-template-columns: 1fr auto; gap: var(--s5); align-items: end; }
.o10-hero .t-display { font-weight: 400; font-style: italic; font-size: clamp(48px, 6.4vw, 96px); }
.o10-wall { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: var(--s3); overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) var(--s5); contain: paint; scrollbar-width: none; scroll-padding-inline: var(--gutter); }
.o10-wall::-webkit-scrollbar { display: none; }
.o10-wall > * { scroll-snap-align: start; }
.o10-wall .qframe { box-shadow: 0 30px 50px -36px rgba(23, 32, 46, 0.6); }
.o10-wall-cap { display: flex; justify-content: space-between; gap: var(--s2); margin-top: var(--s2); }
.o10-wall a { text-decoration: none; color: inherit; }
.o10-wall .cap-name { font-family: var(--font-display); font-style: italic; font-size: 21px; color: var(--primary); }
.o10-wall a:hover .cap-name { color: var(--action); }
.o10-statement { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); align-items: start; border-top: 1px solid var(--border); padding-top: var(--s5); }
.o10-illo { width: 160px; color: var(--primary); }
@media (max-width: 860px) { .o10-hero, .o10-statement { grid-template-columns: 1fr; gap: var(--s4); } }

/* ================= Option 11 · The Sample Book ================= */
/* John's cream fabric texture (Drive Website/Images/CreamBackgroundTexture-v2.jpg, lighter, 2026-10-06): full width, tiles down the page */
.cream { background-color: #ece4cf;
  /* the brand cream at 50% over the texture tones it down so small text reads (John 2026-10-06) */
  background-image: linear-gradient(rgba(241, 233, 214, 0.5), rgba(241, 233, 214, 0.5)), url('/tex/cream-v2.jpg');
  background-size: auto, 100% auto; background-repeat: repeat, repeat-y; background-position: top left, top center; }
.o11-mast { background: var(--primary) url('/tex/hero-blue.jpg') center / cover no-repeat; color: var(--ink-on-dark); }   /* John's woven indigo fabric (Drive Website/Images, 2026-10-06) */
.o11-mast .hdr-logo { color: var(--ink-on-dark); }
.o11-mast .nav a { color: var(--ink-on-dark); }
.o11-mast .nav a:hover { color: #fff; }
.o11-cover { padding-block: 104px 56px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(64px, 9vw, 160px); align-items: center; }   /* John 2026-10-12: more gutter; the photo column sizes to the photo (the old 420px cap squeezed it) */
.o11-cover .t-display { color: var(--ink-on-dark); }
/* John 2026-10-12: the double-line frame came off; the text now lines up with the logo and the page edge */
.o11-frame { padding: 0; }
.o11-frame .t-caps { color: var(--accent); }
/* two lines, always: each half holds together (John 2026-10-06) */
.o11-h1 { font-size: clamp(40px, 4.6vw, 68px); }
.o11-h1 span { display: block; }
@media (min-width: 640px) { .o11-h1 span { white-space: nowrap; } }
@media (min-width: 961px) and (max-width: 1260px) { .o11-h1 { font-size: 4vw; } }   /* the wider hero gutter (2026-10-12) leaves the frame narrower here */   /* two set lines on desktop; free to wrap on phones */
.o11-frame .t-lede { color: var(--ink-on-dark); margin-top: var(--s3); }
.o11-frame .rule { border: 0; border-top: 1px solid var(--accent); margin-block: var(--s3); }
.o11-cover-quilt { position: relative; justify-self: end; }
/* the hero quilt is shown WHOLE (only cards crop): it scales to a fixed height, so a tall quilt just gets narrower */
.o11-hero-quilt { display: block; }
.o11-hero-quilt img { height: min(560px, 42vw); width: auto; max-width: 100%; object-fit: contain; border: 6px solid var(--paper);   /* John 2026-10-12: frame the photo in the tag colour */
  box-shadow: 0 1px 2px rgba(10, 16, 26, 0.25), 0 12px 24px -16px rgba(10, 16, 26, 0.45); }
.o11-cover-quilt .qframe { display: block; aspect-ratio: 4 / 5; box-shadow: 0 40px 60px -36px rgba(0, 0, 0, 0.7); }
/* fabric-shelf divider under the hero (John's photos, 2026-10-06): the opening image sits left, the tile repeats on to the right */
.o11-shelf { --h: 180px; height: var(--h); background-color: #6f8aa6;
  background-image: url('/tex/fabric-divider-2.jpg'), url('/tex/fabric-divider-tile.jpg');
  background-size: auto var(--h), auto var(--h);
  background-repeat: no-repeat, repeat-x;
  background-position: left top, calc(var(--h) * 2195 / 325 - 1px) top; }
.o11-tag { position: absolute; left: calc(-1 * var(--s5)); bottom: var(--s5); background: var(--paper); color: var(--foreground); padding: var(--s2) var(--s3); box-shadow: 0 12px 30px -16px rgba(0, 0, 0, 0.5); }
.o11-tag .t-title { font-size: 26px; }
.o11-tag a { font-size: 14px; font-weight: 600; }
.o11-section-head { text-align: left; display: grid; grid-template-columns: auto auto 1fr auto; gap: var(--s3); align-items: center; margin-bottom: var(--s5); }
.o11-head-text { display: flex; flex-direction: column; gap: var(--s1); max-width: 760px; }
.o11-white.section { background-color: #f6f4f4;
  /* white at 50% over the paper softens the grain (John 2026-10-06, same as the cream) */
  background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('/tex/white-paper.jpg');
  background-size: auto, max(100%, 2000px) auto; background-repeat: repeat, repeat-y; background-position: top left, top center;   /* John's white paper texture (Drive Website/Images/WhitePaperTexture.jpg), full width, tiles down; never shrunk below its own 2000px or the grain disappears */
   border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding-top: var(--section-y); }
.cream .ftr { border-top: 0; }
.o11-show-head { display: flex; flex-direction: column; gap: var(--s2); margin-bottom: var(--s6); max-width: 820px; }
.o11-show-head .t-label { color: var(--primary); }
.o11-show-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(48px, 6vw, 88px); line-height: 1; letter-spacing: -0.02em; text-wrap: balance; }
.o11-show-title a { color: var(--primary); text-decoration: none; }
/* says what the name is: italic, lighter, on the same baseline (John 2026-10-06) */
.o11-show-kind { font-style: italic; font-weight: 400; font-size: 0.42em; letter-spacing: 0; color: var(--primary); white-space: nowrap; margin-left: 0.2em; }
.o11-show-title a:hover { color: var(--action); }
.o11-show { display: grid; grid-template-columns: repeat(var(--cw-cols, 5), minmax(0, 1fr));   /* one column per colourway, max 5 (John 2026-11-22: 4 colourways = 4 columns) */ gap: var(--s3); align-items: end; }
.o11-show-link { display: flex; flex-direction: column; gap: var(--s2); color: inherit; text-decoration: none; }
.o11-show-link img { width: 100%; height: auto; box-shadow: 0 1px 0 var(--border), 0 18px 34px -26px rgba(23, 32, 46, 0.55); transition: transform var(--dur) var(--ease); }
.o11-show-link:hover img { transform: translateY(-2px); }
.o11-show-link:hover .t-title { color: var(--action); }
.o11-show-cap { display: flex; flex-direction: column; gap: 2px; }
.o11-show-cap .t-title { font-size: 21px; }
.o11-show-cta { display: flex; align-items: center; gap: var(--s4); margin-top: var(--s5); flex-wrap: wrap; }
@media (max-width: 960px) { .o11-show { grid-template-columns: repeat(2, 1fr); } .o11-section-head { grid-template-columns: auto 1fr; } .o11-section-head .line { display: none; } }
.o11-section-head .line { border-top: 1px solid var(--border); }
.o11-illo { width: 56px; color: var(--primary); }
@media (max-width: 960px) { .o11-cover { grid-template-columns: 1fr; } .o11-tag { left: var(--s2); } .o11-hero-quilt img { height: 525px; } }

/* ================= Option 12 · The Index ================= */
.o12-mast { padding-block: var(--s5) var(--s4); border-bottom: 2px solid var(--primary); display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: var(--s3); }
.o12-mast .hdr-logo img { height: 64px; }
.o12-mast .nav:last-child { justify-content: flex-end; }
.o12-dateline { display: flex; justify-content: space-between; gap: var(--s3); padding-block: 10px; border-bottom: 1px solid var(--primary); }
.o12-split { display: grid; grid-template-columns: 7fr 5fr; gap: var(--s6); padding-top: var(--s5); align-items: start; }
.o12-list { border-top: 1px solid var(--border); }
.o12-row { display: grid; grid-template-columns: 48px 1fr 160px 230px 56px; gap: var(--s2); align-items: baseline; padding-block: 14px; border-bottom: 1px solid var(--border); text-decoration: none; color: inherit; transition: background-color var(--dur) var(--ease), padding var(--dur) var(--ease); }
.o12-row .n { font-family: var(--font-display); font-size: 16px; }
.o12-row .name { font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1.15; color: var(--primary); }
.o12-row .meta { font-size: 14px; font-weight: 500; }
.o12-row .price { font-family: var(--font-display); font-size: 19px; font-weight: 600; text-align: right; color: var(--primary); }
.o12-row:hover .name, .o12-row.is-on .name { color: var(--action); }
.o12-row.is-on { background: var(--muted); padding-inline: var(--s1); }
.o12-preview { position: sticky; top: var(--s4); }
.o12-preview .qframe { aspect-ratio: 4 / 5; box-shadow: 0 30px 50px -36px rgba(23, 32, 46, 0.6); }
.o12-preview-cap { margin-top: var(--s2); display: flex; justify-content: space-between; gap: var(--s2); align-items: baseline; }
.o12-colhead { display: grid; grid-template-columns: 48px 1fr 160px 230px 56px; gap: var(--s2); padding-bottom: 10px; }
.o12-colhead .r { text-align: right; }
@media (max-width: 1000px) { .o12-split { grid-template-columns: 1fr; } .o12-preview { display: none; } .o12-row, .o12-colhead { grid-template-columns: 40px 1fr 56px; } .o12-row .meta, .o12-colhead .meta { display: none; } .o12-mast { grid-template-columns: 1fr; } }

/* ================= Pattern page (shared) ================= */
.pp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s6); padding-block: var(--s4) var(--section-y); align-items: start; }
.pp-crumb { padding-top: var(--s2); font-size: 14px; font-weight: 500; }
.pp-crumb a { text-decoration: none; }
.pp-crumb a:hover { text-decoration: underline; }
.pp-stage { position: relative; }
.pp-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; contain: paint; scrollbar-width: none; background: #ffffff; }   /* white behind the gallery (John 2026-10-13) */
.pp-track::-webkit-scrollbar { display: none; }
.pp-slide { scroll-snap-align: start; display: flex; align-items: center; justify-content: center; padding: var(--s6); height: min(86svh, 980px); }
.pp-slide img { max-height: 100%; width: auto; object-fit: contain; box-shadow: 0 34px 60px -36px rgba(23, 32, 46, 0.65); }
.pp-arrow { position: absolute; top: 50%; translate: 0 -50%; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--paper); color: var(--action); cursor: pointer; display: grid; place-items: center; box-shadow: 0 8px 20px -12px rgba(23, 32, 46, 0.5); transition: background-color var(--dur) var(--ease); }
.pp-arrow:hover { background: #fff; }
.pp-arrow[data-dir='-1'] { left: var(--s2); }
.pp-arrow[data-dir='1'] { right: var(--s2); }
.pp-thumbs { display: flex; gap: var(--s2); margin-top: var(--s2); flex-wrap: wrap; }
.pp-thumb { padding: 0; border: 0; background: none; cursor: pointer; display: block; }
/* thumbnails show the WHOLE quilt (only home/archive cards crop): fixed height, width follows the quilt */
.pp-thumb img { height: 96px; width: auto; outline: 1.5px solid transparent; outline-offset: 3px; transition: outline-color var(--dur) var(--ease); }
.pp-thumb[aria-current='true'] img { outline-color: var(--action); }
.pp-thumb:hover img { outline-color: var(--action-hover); }
.pp-thumbs { align-items: flex-end; }
.pp-thumb .qframe { aspect-ratio: 4 / 5; outline: 1.5px solid transparent; outline-offset: 3px; transition: outline-color var(--dur) var(--ease); }
.pp-thumb[aria-current='true'] .qframe { outline-color: var(--action); }
.pp-thumb:hover .qframe { outline-color: var(--action-hover); }
.pp-buy { position: sticky; top: var(--s4); display: flex; flex-direction: column; gap: var(--s4); }
.pp-title-row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); }
.pp-price { font-family: var(--font-display); font-weight: 600; font-size: 34px; color: var(--primary); }
/* John 2026-10-17: Buy must lead. Taller, heavier, price inside, a little lift; colours stay a quiet secondary under it */
.pp-ctas { display: flex; flex-direction: column; gap: var(--s2); }
.pp-cta { min-height: 64px; padding: 0 var(--s5); justify-content: space-between; font-size: 18px; font-weight: 700;
  box-shadow: 0 1px 0 rgb(0 0 0 / 0.12), 0 10px 22px -10px rgb(0 0 0 / 0.45); }
.pp-cta:hover { box-shadow: 0 1px 0 rgb(0 0 0 / 0.12), 0 14px 26px -10px rgb(0 0 0 / 0.5); }
.pp-pyc { gap: var(--s2); }
.pp-pyc-ic { width: 22px; height: 22px; flex: none; border-radius: 3px; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.12); }
.pp-pyc-ic path, .pp-pyc-ic rect { transition: fill 280ms var(--ease); }
.pp-pyc-ic .bg { fill: var(--pw-bg, #f3ecdc); }
.pp-pyc-ic .b1 { fill: var(--pw-1, #2b3a5c); }
.pp-pyc-ic .b2 { fill: var(--pw-2, #8f2b23); }
.pp-cta-price { font-family: var(--font-display); font-size: 22px; font-weight: 600; padding-left: var(--s3); border-left: 1px solid rgb(255 255 255 / 0.35); }
.pp-facts { display: flex; gap: var(--s4); flex-wrap: wrap; }
.pp-facts > div { display: flex; flex-direction: column; gap: 4px; }
.pp-sizes { display: grid; gap: var(--s1); }
.pp-size { display: grid; grid-template-columns: auto 1fr auto; gap: var(--s2); align-items: center; padding: 12px var(--s2); border: 1px solid var(--border); background: var(--paper); cursor: pointer; transition: border-color var(--dur) var(--ease); }
.pp-size:hover { border-color: var(--action); }
.pp-size input { accent-color: var(--action); margin: 0; }
.pp-size .nm { font-weight: 600; }
.pp-size .dm { font-size: 14px; font-weight: 500; }
.pp-size:has(input:checked) { border-color: var(--action); box-shadow: inset 0 0 0 1px var(--action); }
.pp-cw-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s2); }
.pp-panel { border-top: 1px solid var(--border); padding-top: var(--s3); }
.pp-includes > li { padding-block: 6px; padding-left: calc(6px + var(--s2)); position: relative; }   /* not flex: a link inside the line stays in the sentence (2026-11-19) */
.pp-includes > li::before { content: ''; position: absolute; left: 0; top: 16px; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
@media (max-width: 960px) { .pp { grid-template-columns: minmax(0, 1fr); } .pp-buy { position: static; } .pp-slide { height: 70svh; padding: var(--s3); } }

/* logo marks: the currentColor SVGs used as masks, so they take any colour without inlining 160 to 500 KB */
.mark { display: block; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.mark-horizontal { --m: url('/logo/susan-and-son-horizontal-currentcolor.svg'); height: 46px; aspect-ratio: 480.8 / 97.04; }
.mark-badge { --m: url("/logo/susan-and-son-badge-currentcolor.svg"); width: 100%; aspect-ratio: 392.24 / 592.16; }
.mark-stacked { --m: url('/logo/susan-and-son-stacked-currentcolor.svg'); height: 84px; aspect-ratio: 437.12 / 308.48; }
.hdr--stacked { padding-block: var(--s3); }
/* woven label logo (John's PNG v2, 2026-10-06): straight, top hem cropped off so it runs off the top of the page;
   the crop centres the artwork between the page top and the label's bottom edge. Hangs across the cream/blue seam. */
.hdr--label { position: relative; z-index: 2; min-height: 64px; padding-block: var(--s2); justify-content: flex-end; }
.hdr-label { position: absolute; left: var(--gutter); top: 0; width: 220px;
  filter: drop-shadow(0 1px 1px rgba(10, 16, 26, 0.2)) drop-shadow(0 6px 8px rgba(10, 16, 26, 0.18)); transition: filter var(--dur) var(--ease); }
.hdr-label:hover { filter: drop-shadow(0 1px 1px rgba(10, 16, 26, 0.24)) drop-shadow(0 9px 12px rgba(10, 16, 26, 0.26)); }   /* stays pinned to the top edge (John 2026-10-09: the 2px drop opened a gap) */
.hdr-label img { width: 100%; height: auto; }

.illo { display: block; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.illo-spool { --m: url('/illos/02-spool.svg'); aspect-ratio: 1470 / 1803; }
.illo-thimble { --m: url('/illos/04-thimble.svg'); aspect-ratio: 1425 / 1770; }
.illo-quilt-line { --m: url('/illos/10-quilt-on-line-v2.svg'); aspect-ratio: 2452 / 1761; }
.o12-mast .mark-horizontal { height: 64px; }
.pp-sizes { border: 0; padding: 0; margin: 0; min-width: 0; }

/* swallow decorations (John's engravings, Drive Quilt Illustrations/Birds, paper knocked out to alpha 2026-10-06).
   Used as masks so they take any colour: indigo on cream, cream on the blue. Decoration only, aria-hidden. */
.bird { display: block; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; pointer-events: none; }
/* colour burn (John 2026-10-06: "looks like it's part of the fabric"). Burn darkens the backdrop BY the bird colour, so the
   colour is solved backwards per surface to land on brand indigo #203a5c: c = 1 - (1 - backdrop) / ... see CLAUDE.md */
.bird { mix-blend-mode: color-burn; }
.bird-pair { --m: url('/birds/pair-side-by-side.png'); aspect-ratio: 796 / 486; }
.bird-diving { --m: url('/birds/mother-diving.png'); aspect-ratio: 520 / 940; }
.bird-hovering { --m: url('/birds/mother-hovering.png'); aspect-ratio: 384 / 964; }
.bird-banking { --m: url('/birds/son-banking.png'); aspect-ratio: 704 / 794; }
.bird-toward { --m: url('/birds/son-toward-viewer.png'); aspect-ratio: 856 / 819; }
.o11-mast { position: relative; }
.o11-bird-head { width: 128px; color: #17244c; }   /* burns to indigo on the toned cream (235,227,206) */
.o11-bird-head.bird-diving { width: 84px; }
.o11-show-wrap { position: relative; }
.o11-bird-show { position: absolute; right: var(--gutter); top: calc(-1 * var(--s4)); width: 260px; color: #0e1316; }   /* burns to indigo on the toned white paper (242,240,241) */
@media (max-width: 1100px) { .o11-bird-show { display: none; } }
@media (max-width: 960px) { .o11-bird-head { display: none; } }
.o11-head-text--narrow p { max-width: 540px; text-wrap: pretty; }
.nowrap { white-space: nowrap; }

/* ================= Pattern archive (/site/patterns/) ================= */
.arch-head { margin-bottom: var(--s5); }
.arch-h1 { font-size: clamp(44px, 5vw, 72px); }
.arch-head .t-lede { margin-top: var(--s3); max-width: 720px; }
.arch-filters { display: flex; flex-direction: column; gap: var(--s3); padding-bottom: var(--s4); margin-bottom: var(--s5); border-bottom: 1px solid var(--border); }
.arch-row { display: flex; align-items: center; gap: var(--s1) var(--s2); flex-wrap: wrap; }
.arch-lbl { margin-right: var(--s1); color: var(--primary); }
.arch-select { display: inline-flex; align-items: center; gap: var(--s1); }
.arch-select select { min-height: 40px; padding: 0 36px 0 var(--s2); border: 1px solid var(--border); border-radius: 999px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%238f2b23' d='M1.4 0 6 4.6 10.6 0 12 1.4l-6 6-6-6z'/%3E%3C/svg%3E") right 14px center / 12px 8px no-repeat;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--action); appearance: none; cursor: pointer; transition: border-color var(--dur) var(--ease); }
.arch-select select:hover, .arch-select select:focus-visible { border-color: var(--action); outline: none; }
.arch-count { margin-left: auto; }
.arch-clear { min-height: 40px; }
.arch-grid [hidden] { display: none; }
.arch-empty { padding-block: var(--s6); }
.o9-filter:hover { border-color: var(--action); }
.arch-more { margin-top: var(--s5); }
.mast-thin + .arch-main.section { padding-top: 152px; }   /* clears the hanging label */

/* internal pages (2026-10-06): the homepage header on a slim blue fabric band, equal space above and below the menu;
   the label hangs from the page top through the band into the cream, so the first content clears it */
.mast-thin .hdr--label { min-height: 0; padding-block: var(--s3); }
.mast-thin + main { padding-top: 96px; }

/* three-fabric swatch circle: vertical thirds of the colourway's most telling fabrics */
.chip-split { display: flex; width: 100%; height: 100%; }
.chip-split img { flex: 1 1 0; min-width: 0; height: 100%; object-fit: cover; }
.pp-more .qcard--mount { background: #ffffff; }   /* white card on the white paper band: subtle, but it lifts off (John 2026-10-06) */

/* featured card (newest pattern, home grid): spans 2 x 2. The frame takes the QUILT's own proportions (full width, never
   cropped at the sides; John 2026-10-09: the fill-the-cell frame cut Reflections' left and right edges); spare height falls
   below the text */
.qcard--feature { grid-column: span 2; grid-row: span 2; }
.qcard--feature .qframe { aspect-ratio: auto; }
.qcard--feature .qframe img { height: auto; display: block; }
.qcard--feature .qcard-name { font-size: clamp(32px, 3vw, 44px); }
.qcard--feature .qcard-price { font-size: 30px; }
.qcard-new { grid-column: 1; grid-row: 1; color: var(--primary); margin-bottom: 2px; }
.qcard--feature .qcard-name { grid-row: 2; }
.qcard--feature .qcard-price { grid-row: 2; align-self: center; }
@media (max-width: 860px) { .qcard--feature { grid-row: span 1; } .qcard--feature .qframe { aspect-ratio: 4 / 5; flex: none; } }

/* ================= Navigation: mega menus (desktop) + menu panel (phones, small tablets) — 2026-10-06 ================= */
.nav-item { position: static; }
.nav-btn, .nav-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-weight: 600; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--action); text-decoration: none; }
.o11-mast .nav-btn, .o11-mast .nav-link { color: var(--ink-on-dark); }
.nav-btn:hover, .nav-link:hover, .nav-btn[aria-expanded='true'] { text-decoration: underline; text-underline-offset: 0.4em; }
.nav-btn .chev { transition: transform var(--dur) var(--ease); }
.nav-btn[aria-expanded='true'] .chev { transform: rotate(180deg); }
.hdr { position: relative; }
.mega { position: absolute; left: var(--gutter); right: var(--gutter); top: 100%; z-index: 30; margin-top: 8px;
  background: var(--paper); color: var(--foreground); padding: var(--s5); box-shadow: 0 1px 0 var(--border), 0 30px 60px -30px rgba(10, 16, 26, 0.55);
  opacity: 0; transform: translateY(-4px); transition: opacity 180ms var(--ease), transform 180ms var(--ease); }
.mega.is-open { opacity: 1; transform: none; }
.mega a { color: var(--action); text-decoration: none; }
.mega a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.mega-cols { display: grid; gap: var(--s5); }
.mega-cols--patterns { grid-template-columns: 1fr 1fr 1.6fr 220px; }
.mega-h { color: var(--primary); margin-bottom: var(--s2); }
.mega-col li + li { margin-top: 10px; }
.mega-col a { font-size: 16px; font-weight: 500; }
.mega-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px var(--s4); }
.mega-col .mega-two li + li { margin-top: 0; }
.mega-fq { margin-bottom: var(--s2); padding-bottom: var(--s2); border-bottom: 1px solid var(--border); }   /* Fat Quarter Friendly, above the makers (2026-10-13) */
.mega-feature { display: flex; flex-direction: column; gap: 6px; }
.mega-feature-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: var(--s1); }
.mega-feature-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 600ms var(--ease); }
.mega-feature:hover .mega-feature-img img { transform: scale(1.02); }
.mega-feature .t-label { color: var(--primary); }
.mega .mega-feature-name { font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1.15; color: var(--primary); }
.mega-feature:hover .mega-feature-name { color: var(--action); }
.mega-all { margin-top: var(--s4); }
.mega .btn { color: var(--action-fg); }
.mega .btn:hover { text-decoration: none; }
.mega--tools { left: auto; width: min(880px, calc(100% - 2 * var(--gutter))); }
.mega-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.mega-tool { display: flex; flex-direction: column; gap: 6px; }
.mega-illo { width: 72px; height: 72px; color: var(--primary); margin-bottom: var(--s1); }
.illo-fat-quarters { --m: url('/illos/12-fat-quarters.svg'); }
.illo-quilt-stack { --m: url('/illos/08-quilt-stack.svg'); }
.mega .mega-tool-name { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--primary); }
.mega-tool:hover .mega-tool-name { color: var(--action); }
.mega .mega-tool-line, .mnav .mega-tool-line { font-size: 15px; color: var(--foreground); }

.menu-btn { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--ink-on-dark); font: inherit; font-weight: 600; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.menu-icon { position: relative; width: 22px; height: 12px; }
.menu-icon span { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform var(--dur) var(--ease), top var(--dur) var(--ease); }
.menu-icon span:first-child { top: 0; }
.menu-icon span:last-child { top: 10px; }
.menu-btn[aria-expanded='true'] .menu-icon span:first-child { top: 5px; transform: rotate(45deg); }
.menu-btn[aria-expanded='true'] .menu-icon span:last-child { top: 5px; transform: rotate(-45deg); }

.mnav { position: fixed; inset: 0; z-index: 40; overflow-y: auto; overscroll-behavior: contain;
  background: var(--primary) url('/tex/hero-blue.jpg') center / cover; color: var(--ink-on-dark); padding-top: 140px; padding-bottom: var(--s6); }
.mnav-inner { display: flex; flex-direction: column; }
.mnav-group { border-bottom: 1px solid rgba(241, 233, 214, 0.25); }
.mnav-group summary, .mnav-link { display: flex; align-items: center; justify-content: space-between; min-height: 64px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: 30px; color: var(--ink-on-dark); text-decoration: none; }
.mnav-link { border-bottom: 1px solid rgba(241, 233, 214, 0.25); }
.mnav-group summary::-webkit-details-marker { display: none; }
.mnav-group summary .chev { width: 14px; height: 9px; transition: transform var(--dur) var(--ease); }
.mnav-group[open] summary .chev { transform: rotate(180deg); }
.mnav-body { padding-bottom: var(--s4); }
.mnav-body .mega-h { color: var(--accent); margin: var(--s3) 0 var(--s1); }
.mnav-body li a { display: flex; align-items: center; min-height: 44px; color: var(--ink-on-dark); text-decoration: none; font-size: 17px; font-weight: 500; }
.mnav-body .mega-two { gap: 0 var(--s3); }
.mnav-all { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-on-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 0.2em; }
.mnav-tool { flex-direction: column; align-items: flex-start !important; padding-block: 10px; gap: 2px; }
.mnav .mega-tool-name { font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.mnav .mega-tool-line { color: var(--ink-on-dark); }
body.menu-open { overflow: hidden; }
body.menu-open .hdr { z-index: 50; }

@media (max-width: 1180px) { .mega-cols--patterns { grid-template-columns: 1fr 1fr 1.6fr; } .mega-feature { display: none; } }
/* tighter menu spacing on tablets lets the full menu fit beside the label down to ~760px (measured), so the Menu
   button only takes over on phones (John: don't switch to the mobile menu sooner than needed) */
@media (max-width: 1100px) { .nav { gap: var(--s3); } }
@media (max-width: 760px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 700px) {
  .hdr-label { width: 152px; }
  .mnav { padding-top: 120px; }
}
/* the panels live inside .nav: undo the nav's small tracked capitals and the cream link colour of the blue header */
.nav .mega a, .o11-mast .nav .mega a { text-transform: none; letter-spacing: 0; font-size: 16px; font-weight: 500; color: var(--action); }
.o11-mast .nav .mega a:hover { color: var(--action-hover); }
.nav .mega .mega-feature-name { font-size: 24px; color: var(--primary); }
.nav .mega .mega-tool-name { font-size: 22px; font-weight: 600; color: var(--primary); }
.nav .mega .mega-tool-line { font-size: 15px; font-weight: 400; color: var(--foreground); }
.nav .mega .mega-feature .t-label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--primary); }
.nav .mega .btn { font-size: 15px; font-weight: 600; color: var(--action-fg); }
.nav .mega a:hover .mega-feature-name, .nav .mega a:hover .mega-tool-name { color: var(--action); }
.nav .mega a.btn, .o11-mast .nav .mega a.btn, .o11-mast .nav .mega a.btn:hover { color: var(--action-fg); text-decoration: none; }
.hdr-label { z-index: 29; }   /* an open mega panel (z 30) sits in front of the label (John 2026-10-28: the menu was behind the logo) */

/* ================= Phones (2026-10-06 responsive pass) ================= */
.qcard { min-width: 0; }
@media (max-width: 960px) {
  .o11-cover { grid-template-columns: 1fr; gap: var(--s5); }
  .o11-cover-quilt { justify-self: center; }
  .o11-hero-quilt img { height: auto; width: min(100%, 420px); }   /* whole photo at its own 4:5, never letterboxed */
  .o11-show { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory;
    contain: paint; padding-bottom: var(--s2); scrollbar-width: none; }
  .o11-show::-webkit-scrollbar { display: none; }
  .o11-show > li { scroll-snap-align: start; }
  .qcard--feature { grid-column: 1 / -1; grid-row: span 1; }
  .qcard--feature .qframe { aspect-ratio: 4 / 5; flex: none; }
}
@media (max-width: 700px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .o11-cover { padding-block: 88px var(--s5); }
  .o11-frame { padding: 0; }
  .o11-frame .rule { margin-block: var(--s2); }
  .o11-h1 { font-size: clamp(34px, 9.6vw, 44px); }
  .o11-frame .t-lede { font-size: 19px; }
  .o11-frame .btn-lg { width: 100%; }
  .o11-tag { left: calc(-1 * var(--s2)); bottom: var(--s3); padding: var(--s2); }
  .o11-tag .t-title { font-size: 22px; }
  .o11-shelf { --h: 112px; }
  .section { padding-block: var(--s6); }
  .o11-section-head { gap: var(--s2); margin-bottom: var(--s4); }
  .o11-illo { width: 40px; }
  /* phone cards: 2 across, tighter mount, name above price */
  .grid-4 { gap: var(--s3) 12px; }
  .qcard--mount { padding: 10px 10px 14px; }
  .qcard--mount .qframe { margin: 6px 6px 4px; outline-offset: 4px; }
  .qcard-text { grid-template-columns: 1fr; }
  .qcard-name { font-size: 19px; }
  .qcard-price { grid-column: 1; grid-row: auto; font-size: 17px; }
  .qcard-meta { font-size: 13px; }
  .qcard-meta .sep { padding-inline: 4px; }
  .chip { width: 24px; height: 24px; }
  .chips { gap: 5px; }
  .chips-label { font-size: 12px; }
  .qcard--feature .qcard-name { font-size: 28px; }
  .qcard--feature .qcard-text { grid-template-columns: 1fr auto; }
  .qcard--feature .qcard-price { grid-column: 2; grid-row: 2; font-size: 22px; }
  .o11-show { grid-auto-columns: 64%; }
  .o11-show-title { font-size: clamp(40px, 12vw, 56px); }
  .o11-show-kind { display: block; margin: 4px 0 0; font-size: 0.5em; }
  .o11-show-cta { gap: var(--s2); }
  .o11-show-cta .btn { width: 100%; }
  .arch-more .btn { width: 100%; }
  /* archive filters: selects full width, count + clear on their own line */
  .arch-row { gap: var(--s1); }
  .arch-select { flex: 1 1 100%; justify-content: space-between; }
  .arch-select select { flex: 1; }   /* fields go full width on phones */
  .arch-count { margin-left: 0; }
  /* pattern page */
  .mast-thin + main { padding-top: 80px; }
  .pp { gap: var(--s4); }
  /* a DEFINITE height from the gallery's own width (2026-10-24, John's iPhone: some quilts showed very small): with only
     aspect-ratio, iPhone Safari could not resolve the image's max-height: 100% while swiping and drew it small */
  .pp-stage { container-type: inline-size; }
  .pp-slide { height: 110cqw; aspect-ratio: auto; padding: var(--s3); }
  .pp-slide img { max-height: 100%; max-width: 100%; }
  .pp-arrow { width: 40px; height: 40px; }
  .pp-thumb img { height: 72px; }
  .pp-price { font-size: 28px; }
  .mast-thin + .arch-main.section { padding-top: 112px; }
  .ftr-grid { grid-template-columns: auto minmax(0, 1fr); gap: var(--s4) var(--s4); }   /* Help column takes the room the email address needs */
  .ftr-badge { grid-column: 1 / -1; width: 88px; }
  .ftr-fine { flex-direction: column; gap: var(--s1); }
}
/* the Patterns panel starts to the RIGHT of the label, never behind it (John 2026-10-06) */
.mega:not(.mega--tools) { left: calc(var(--gutter) + 220px + var(--s4)); }
.mega-cols--patterns { grid-template-columns: 1fr 1fr 1.7fr 180px; gap: var(--s4); }
@media (max-width: 1280px) { .mega-cols--patterns { grid-template-columns: 1fr 1fr 1.7fr; } .mega-feature { display: none; } }
@media (max-width: 1040px) { .mega-cols--patterns { grid-template-columns: 1fr 1fr; } .mega-cols--patterns .mega-col:nth-child(3) { grid-column: 1 / -1; } .mega { padding: var(--s4); } }
/* footer (John 2026-10-06): both fine-print lines sit together on the right; the badge is bigger and colour-burned into
   the cream like the birds (#17244c burns to indigo #203a5c on the toned cream, see CLAUDE.md) */
.ftr-fine { justify-content: flex-end; gap: var(--s1) var(--s4); flex-wrap: wrap; }
.ftr-badge { width: 240px; color: #17244c; }   /* 2026-10-07 John: even bigger (was 168) */
.ftr-badge .mark { mix-blend-mode: color-burn; }
@media (max-width: 700px) { .ftr-badge { width: 160px; } .ftr-fine { align-items: flex-start; } }
/* open menu item = a paper TAB joined to its panel, so the panel hangs from the header instead of floating (John 2026-10-06) */
.mega { margin-top: 0; }
.nav-btn { position: relative; padding: 0 14px; margin: 0 -14px; border-radius: 2px 2px 0 0; transition: background-color 150ms var(--ease), color 150ms var(--ease); }
.nav-btn[aria-expanded='true'], .o11-mast .nav-btn[aria-expanded='true'] { background: var(--paper); color: var(--action); text-decoration: none; z-index: 31; }
.nav-btn[aria-expanded='true']::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 48px; background: var(--paper); }

/* fabric makers: two independent lists side by side (no shared rows, so no gaps under a wrapped name) */
.mega-two { display: flex; gap: var(--s4); align-items: flex-start; }
.mega-two > ul { flex: 1 1 0; min-width: 0; }
.mega-two > ul > li + li { margin-top: 10px; }
.mnav-body .mega-two { gap: var(--s3); }
.mnav-body .mega-two > ul > li + li { margin-top: 0; }
.pp-ex-label { margin-top: var(--s2); }   /* alphabet: the example words under the full-alphabet choice */
/* Pick Your Colors call to action on the home grid (2026-10-09): two columns, indigo weave like the masthead */
.pyc-cta { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); align-items: center; padding: var(--s5) var(--s4);
  background: var(--primary) url('/tex/hero-blue.jpg') center / cover; color: var(--ink-on-dark); box-shadow: 0 18px 40px -28px rgba(23, 32, 46, 0.6); overflow: hidden; }
.pyc-demo { position: relative; display: grid; gap: var(--s2); justify-items: center; padding: var(--s1); }
.pyc-demo-quilt { width: min(100%, 300px); }
.pyc-demo-quilt svg { display: block; width: 100%; height: auto; box-shadow: 0 18px 34px -16px rgba(0, 0, 0, 0.6); }
.pyc-demo-quilt polygon { transition: fill 0.45s var(--ease), opacity 0.25s var(--ease); }
.pyc-demo-quilt polygon.sel { opacity: 0.55; }
.pyc-demo-chips { display: flex; gap: 8px; }
.pyc-demo-chip { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--ink-on-dark); transition: background-color 0.3s var(--ease), transform 0.3s var(--ease); }
.pyc-demo-chip.done { transform: scale(0.82); }
.pyc-demo-cursor { position: absolute; top: 0; left: 0; transition: transform 0.75s cubic-bezier(0.45, 0, 0.2, 1); filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.45)); pointer-events: none; }
.pyc-demo-ring { position: absolute; top: 0; left: 0; width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; opacity: 0; pointer-events: none; }
.pyc-demo-ring.go { animation: pyc-ring 0.5s ease-out; }
@keyframes pyc-ring { from { opacity: 0.9; scale: 0.4; } to { opacity: 0; scale: 1.4; } }
@media (prefers-reduced-motion: reduce) { .pyc-demo-cursor, .pyc-demo-ring { display: none; } }
.pyc-cta-text { display: grid; gap: var(--s3); justify-items: start; }
.pyc-cta-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 2.8vw, 42px); line-height: 1.1; letter-spacing: -0.01em; text-wrap: balance; color: var(--ink-on-dark); margin: 0; }
.pyc-cta-text p { margin: 0; font-size: 17px; line-height: 1.55; }
/* stacked only on phones: from 961 to 1260 the box spans 2 of 3 columns, wide enough to sit side by side */
@media (max-width: 700px) { .pyc-cta { grid-template-columns: 1fr; } .pyc-demo-quilt { width: min(70%, 280px); } }
@media (max-width: 700px) { .pyc-cta { grid-column: 1 / -1; } }
.g-all > .pyc-cta { grid-column: span var(--b4, 2); }   /* launch grid at 4 across (3 across and 2 across below) */
@media (min-width: 961px) and (max-width: 1260px) { .g-all > .pyc-cta { grid-column: span var(--b3, 2); } }
@media (max-width: 960px) { .g-all > .pyc-cta { grid-column: span var(--b2, 2); } }

.qcard--mount, .pyc-cta { border-radius: var(--card-radius); }
/* 2026-10-12: the AI photos (one on a bed, one hanging) follow the colourways in the pattern page carousel; a photo fills the stage */
.pp-slide.pp-slide--photo { padding: 0; }
/* the whole photo, never cropped (John 2026-10-13: cover cut the rod and the bottom off the 4:5 photos in the wide stage) */
.pp-slide.pp-slide--photo img { width: auto; height: 100%; max-width: 100%; max-height: none; object-fit: contain; box-shadow: none; }

/* ---- email list (2026-10-14): footer block + one-time panel; the form is shared (NewsForm.astro, /js/news.js) ---- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.news-row { display: flex; gap: var(--s1); }
.news-row input { flex: 1 1 auto; min-width: 0; min-height: 48px; padding: 0 var(--s2); font: inherit; font-size: 16px; color: var(--foreground);
  background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); }
.news-row input::placeholder { color: var(--foreground); opacity: 0.75; }
.news-row input:focus-visible { outline: 2px solid var(--action); outline-offset: 1px; border-color: var(--action); }
.news-row .btn { flex: 0 0 auto; }
.news-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.news-msg { margin-top: var(--s1); min-height: 1.45em; }
.news-msg:empty { min-height: 0; margin: 0; }
.news-form.is-done .news-row { display: none; }
.news-form.is-done .news-msg { margin-top: 0; font-family: var(--font-display); font-style: italic; font-size: 19px; color: var(--primary); }

.ftr-news { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s3) var(--s5); align-items: center;
  padding-bottom: var(--s5); margin-bottom: var(--s5); border-bottom: 1px solid var(--border); }
@media (max-width: 860px) { .ftr-news { grid-template-columns: minmax(0, 1fr); } }

.news-panel { position: fixed; z-index: 60; right: var(--gutter); bottom: var(--gutter); width: min(400px, calc(100vw - 2 * var(--gutter)));
  padding: var(--s4) var(--s4) var(--s3); background: var(--paper); border: 1px solid var(--border); border-radius: var(--card-radius);
  box-shadow: 0 12px 32px rgba(23, 32, 46, 0.18); transform: translateY(16px); opacity: 0;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.news-panel.is-in { transform: none; opacity: 1; }
.news-panel .t-title { padding-right: var(--s4); }
.news-copy { margin: var(--s1) 0 var(--s3); font-size: 16px; line-height: 1.5; }
.news-close { position: absolute; top: var(--s1); right: var(--s1); width: 44px; height: 44px; display: grid; place-items: center;
  background: none; border: 0; border-radius: var(--radius); color: var(--action); cursor: pointer; }
.news-close:hover { color: var(--action-hover); }
.news-close:focus-visible { outline: 2px solid var(--action); }
@media (max-width: 520px) {
  .news-panel { left: 16px; right: 16px; bottom: 16px; width: auto; padding: var(--s3); }
  .news-row { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .news-panel { transition: none; transform: none; } }

/* ===== Article text (.prose), John 2026-10-22: the shared style for any long-form text (block guides, future guides,
   free-pattern pages, journal). Drop plain HTML inside .prose: h2 sections, h3 subheads, p, ul/ol, table, a, blockquote.
   Scale: 16px body at 1.6; h2 = the .t-title size, 32px above / 8px below so a heading belongs to its text; h3 = small
   bold sans, a clear step below h2; no default max-width (John's rule: measure is set per page). */
.prose { font-size: 16px; line-height: 1.6; color: var(--foreground); }
.prose > :first-child { margin-top: 0; }
.prose h2, .h-section { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 1.9vw, 26px); line-height: 1.18;
  color: var(--primary); text-wrap: pretty; margin: var(--s4) 0 var(--s1); }
.prose h3 { font-family: var(--font-body); font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--foreground); margin: var(--s3) 0 2px; }
.prose p { margin: 0 0 var(--s1); text-wrap: pretty; }
.prose ul, .prose ol { margin: 0 0 var(--s2); padding-left: 1.2em; display: grid; gap: var(--s1); }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li { text-wrap: pretty; } .prose li::marker { color: var(--primary); }
.prose a { color: var(--action); text-underline-offset: 2px; } .prose a:hover { color: var(--action-hover); }
.prose a.btn { color: var(--action-fg); text-decoration: none; }
.prose blockquote { margin: var(--s3) 0; padding-left: var(--s2); border-left: 3px solid var(--accent); font-family: var(--font-display); font-style: italic; font-size: 19px; line-height: 1.45; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: var(--s2) 0; }
.prose th { text-align: left; font: 600 12px var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary);
  padding: 0 var(--s2) var(--s1) 0; border-bottom: 2px solid var(--primary); }
.prose td { padding: var(--s1) var(--s2) var(--s1) 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose section + section { margin-top: var(--s4); }
.prose section > h2:first-child { margin-top: 0; }
.prose .t-label { font-family: var(--font-body); font-weight: 600; font-size: 12px; line-height: 1.3; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary); margin: 0 0 var(--s2); }
.prose .t-label + ul { font-size: 15px; }

/* Fabric requirements chart, the gallery's second picture (Mom 2026-11-17: the back cover of a printed pattern) */
.pp-slide--req { padding: var(--s4); }
.req { background: var(--paper); width: 100%; max-width: 640px; max-height: 100%; overflow-y: auto; padding: var(--s4); box-shadow: 0 34px 60px -36px rgba(23, 32, 46, 0.65); }
.req .t-label { color: var(--primary); }
.req-name { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; color: var(--primary); margin: 4px 0 var(--s3); }
.req-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.req-table th, .req-table td { padding: 7px 8px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
.req-table thead th { border-bottom: 1.5px solid var(--primary); vertical-align: bottom; }
.req-table thead th:first-child { width: 46%; }
.req-sz { display: block; font-weight: 600; font-size: 13px; color: var(--primary); }
.req-dm { display: block; font-size: 12px; font-weight: 500; white-space: nowrap; }
.req-table tbody th { font-weight: 500; display: grid; grid-template-columns: 18px 1fr; column-gap: 10px; align-items: center; border-bottom: 0; }
.req-table tbody tr { border-bottom: 1px solid var(--border); }
.req-chip { grid-row: 1 / span 2; width: 18px; height: 18px; border: 1px solid rgba(23, 32, 46, 0.35); }
.req-k { font-weight: 600; grid-column: 2; }
.req-role { grid-column: 2; font-size: 12px; line-height: 1.3; }
.req-fin th { padding-top: 12px; }
.req-table td { white-space: nowrap; }
.req-table .on { background: var(--muted); }
.req-table thead .on { box-shadow: inset 0 -3px 0 var(--accent); }
.req-note { font-size: 12px; line-height: 1.45; margin-top: var(--s2); }
.pp-thumb--req { height: 96px; width: 77px; background: var(--paper); outline: 1.5px solid transparent; outline-offset: 3px; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 10px; transition: outline-color var(--dur) var(--ease); box-shadow: inset 0 0 0 1px var(--border); }
.pp-thumb--req[aria-current='true'] { outline-color: var(--action); }
.pp-thumb--req:hover { outline-color: var(--action-hover); }
.req-mini { display: grid; gap: 4px; }
.req-mini span { height: 5px; }
.req-mini-lb { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); }
@media (max-width: 700px) { .pp-thumb--req { height: 72px; width: 58px; padding: 7px; gap: 5px; } .req-mini span { height: 4px; } .req-mini-lb { font-size: 9px; } }   /* thumbs are 72px tall below 700px */
@media (max-width: 600px) { .req { padding: var(--s3) var(--s2); } .req-table { font-size: 13px; } .req-table th, .req-table td { padding: 6px 4px; } .req-role { display: none; } }
@media (max-width: 400px) { .req-dm { white-space: normal; } .req-table th, .req-table td { padding: 6px 3px; } .req-table thead th:first-child { width: auto; } .req-table tbody th { column-gap: 6px; } }   /* small phones: size dimensions wrap, tighter cells; a 4-size chart still scrolls a few px inside .req--inline (never shrink the type) */
/* phones: the chart sits under the buy button instead of in the gallery */
.pp-req-inline { display: none; }
.req--inline { background: none; box-shadow: none; padding: 0; max-width: none; max-height: none; overflow: visible; overflow-x: auto; }   /* 4-size charts are wider than a small phone: scroll inside, never widen the page (2026-11-19) */
.req--inline .req-name { display: none; }
@media (max-width: 700px) { .pp-slide--req, .pp-thumb--req { display: none; } .pp-req-inline { display: block; } }

/* ---- contact (2026-11-19) ---- */
.ct-main { display: grid; gap: var(--s5); }
.ct-head a { color: var(--action); }
.ct-form { display: grid; gap: var(--s3); max-width: 720px; }
.ct-field { display: grid; gap: var(--s1); }
.ct-field input, .ct-field textarea { font: inherit; font-size: 17px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 2px; background: #fff; color: var(--foreground); width: 100%; }
.ct-field textarea { resize: vertical; min-height: 10rem; }
.ct-field input:focus-visible, .ct-field textarea:focus-visible { outline: 2px solid var(--action); outline-offset: 1px; }
.ct-msg { min-height: 1.5em; }
.btn[hidden], .pp-cta[hidden] { display: none; }

/* ---- checkout (2026-11-19) ---- */
.co-main { display: grid; gap: var(--s5); }
.co-h1 { margin: 0; }
.co-empty a, .co-name a, .co-main .t-lede a, .co-main .t-caption a { color: var(--action); }
.co-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s6); align-items: start; }
.co-grid[hidden], .co-empty[hidden], [data-done][hidden], [data-fail][hidden], [data-wait][hidden] { display: none; }
.co-basket, .co-pay { display: grid; gap: var(--s3); }
.co-items { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.co-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: var(--s2); align-items: center; padding-bottom: var(--s2); border-bottom: 1px solid var(--border); }
.co-thumb { grid-row: 1 / 3; display: block; }
.co-thumb img { width: 72px; height: 96px; object-fit: cover; object-position: top; display: block; }
.co-name { display: grid; gap: 2px; }
.co-name a { font-family: var(--font-display); font-size: 22px; font-weight: 600; text-decoration: none; }
.co-name a:hover { color: var(--action-hover); }   /* colour change only, no hover underline */
.co-price { font-family: var(--font-display); font-size: 21px; font-weight: 600; color: var(--primary); }
.co-rm { grid-column: 2 / 4; justify-self: start; min-height: 44px; padding-left: 0; }
.co-total { display: flex; justify-content: space-between; font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--primary); margin: 0; }
.co-pay form { display: grid; gap: var(--s3); }
.co-btn { width: 100%; min-height: 56px; font-size: 18px; }
.co-btn:disabled { cursor: default; }
/* 2026-11-22 (John: "I clicked pay and nothing happened for a bit"): while Stripe takes the payment the button reads
   "Paying…" with a turning ring, so the click shows at once */
.co-btn.is-busy { cursor: progress; gap: 12px; }
.co-btn.is-busy::after { content: ""; width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: co-spin 0.8s linear infinite; }
@keyframes co-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .co-btn.is-busy::after { animation-duration: 2.4s; } }
.co-email .t-caption { margin-top: calc(var(--s1) * -0.5); }
.co-msg { min-height: 1.5em; margin: 0; font-weight: 600; }
.co-msg:empty { display: none; }
.co-dl { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); justify-items: start; }
@media (max-width: 860px) { .co-grid { grid-template-columns: 1fr; gap: var(--s5); } }

/* Terms + Privacy (2026-11-19) */
.lg-main { display: grid; gap: var(--s5); }
.lg-body h2 { margin-top: var(--s4); }
.ftr-fine a { color: var(--action); text-decoration: none; }
.ftr-fine a:hover { color: var(--action-hover); }

/* My Patterns (2026-11-19) */
.mp-main { display: grid; gap: var(--s5); }
.mp-main [hidden] { display: none; }
.mp-ask, .mp-lib { display: grid; gap: var(--s4); }
.mp-main .t-lede a, .mp-main .ct-msg a { color: var(--action); }
.mp-who { display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; margin: 0; }
.mp-out { min-height: 44px; padding-inline: 0; }
.mp-items { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); max-width: 1080px; }
.mp-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; column-gap: var(--s3); align-items: center; padding-bottom: var(--s3); border-bottom: 1px solid var(--border); }
.mp-thumb img { width: 96px; height: 128px; object-fit: cover; object-position: top; display: block; }
.mp-name { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--primary); }
.mp-dl { min-height: 48px; }
@media (max-width: 560px) {
  .mp-item { grid-template-columns: 72px minmax(0, 1fr); row-gap: var(--s2); }
  .mp-thumb { grid-row: 1 / 3; }
  .mp-thumb img { width: 72px; height: 96px; }
  .mp-dl { grid-column: 2; justify-self: start; }
}
.co-email .co-label { font-weight: 600; }   /* matches the Stripe field labels below it */
.co-field-err { font-weight: 600; color: var(--foreground); }   /* ink, bold: red is for clickables only */
.co-field-err:empty { display: none; }
.co-email input[aria-invalid='true'] { border-color: var(--action); box-shadow: 0 0 0 1px var(--action); }
.co-agree { display: flex; align-items: center; gap: var(--s2); min-height: 44px; cursor: pointer; }
.co-agree input { width: 22px; height: 22px; margin: 0; flex: 0 0 auto; accent-color: var(--action); cursor: pointer; }
.co-agree a { color: var(--action); }
.co-pay .co-field-err:empty { display: none; }

/* Thank You page (2026-11-22, John: "needs styling. No padding. Poor type hierarchy."): headline + lede, then the
   My Account rows, the total, and the notes as body text. One reading column. */
.ty-main { max-width: 820px; }
.ty-main [hidden] { display: none; }
.ty-head { display: grid; gap: var(--s2); }
.ty-head .t-lede { margin: 0; }
.ty-done { display: grid; gap: var(--s4); }
.ty-items { border-top: 1px solid var(--border); padding-top: var(--s3); }
.ty-total { padding-bottom: var(--s3); border-bottom: 1px solid var(--border); margin-top: calc(var(--s2) * -1); }
.ty-notes { display: grid; gap: var(--s1); font-size: 17px; line-height: 1.6; }
.ty-notes p { margin: 0; }
.ty-notes a { color: var(--action); }

/* Pattern page sizes (2026-11-22, Mom + John: the boxed size choice by Add to Basket looked like buying one size).
   Buy area: a plain list, every size in the pattern. Picture: a small "Shown" switch that changes the drawing. */
.pp-incl { display: grid; gap: var(--s1); }
.pp-incl .eyebrow { margin: 0; }
.pp-incl-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.pp-incl-list li { display: flex; justify-content: space-between; gap: var(--s2); padding: 10px 0; border-bottom: 1px solid var(--border); }
.pp-incl-list .nm { font-weight: 600; }
.pp-incl-list .dm { font-weight: 500; }
.pp-view { border: 0; padding: 0; margin: var(--s2) 0 0; min-width: 0; display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; }
.pp-view legend { float: left; margin: 0; padding: 0; }
.pp-view-opts { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--border); background: var(--paper); }
.pp-view-opt { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s2); cursor: pointer; font-weight: 600; color: var(--action); }
.pp-view-opt + .pp-view-opt { border-left: 1px solid var(--border); }
.pp-view-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pp-view-opt:hover { color: var(--action-hover); }
.pp-view-opt:has(input:checked), .pp-view-opt:has(input:checked):hover { background: var(--action); color: var(--action-fg); }
.pp-view-opt:has(input:focus-visible) { outline: 2px solid var(--action); outline-offset: 2px; }

/* Patterns mega menu, 2026-11-22 (John: "too sparse, too much blank space"): six newest quilts in one row, then the
   filters as a single strip with See All at its end. Hover = colour change only. */
.mega-quilts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s3); }
.mega-q { display: grid; gap: 2px; }
.mega-q-img { display: block; aspect-ratio: 3 / 4; overflow: hidden; margin-bottom: var(--s1); background: var(--muted); }
.mega-q-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.nav .mega .mega-q-name { font-family: var(--font-display); font-size: 19px; font-weight: 600; line-height: 1.2; color: var(--primary); }
.nav .mega .mega-q:hover .mega-q-name { color: var(--action); }
.nav .mega .mega-q-meta { font-size: 13px; font-weight: 500; color: var(--foreground); }
.mega-strip { display: flex; align-items: flex-end; gap: var(--s3) var(--s5); flex-wrap: wrap; margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--border); }
.mega-grp .mega-h { margin: 0 0 6px; }
.mega-grp ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px var(--s3); }
.nav .mega .mega-grp a:hover, .nav .mega .mega-q:hover { text-decoration: none; }
.mega-strip .mega-all { margin: 0 0 0 auto; }
.mega-q-top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s1); }
.nav .mega .mega-q-price { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--primary); }
.nav .mega .mega-q-meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1279px) { .mega-quilts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3) var(--s4); } .mega-q { grid-template-columns: 72px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: var(--s2); } .mega-q-img { grid-row: 1 / 4; margin: 0; } }

.pyc-grid .qcard-name { font-size: 24px; }
@media (min-width: 900px) { .pyc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }   /* 6 patterns = 3 x 2, no orphans (2026-11-22) */
.ftr-fabrics { margin-right: auto; }   /* fabric-names line, left of Terms / Privacy / copyright (John 2026-11-22) */
.pp-dl-note { margin: calc(var(--s1) * -0.5) 0 var(--s1); font-size: 15px; font-weight: 600; line-height: 1.45; text-wrap: pretty; }   /* under Add to Basket: PDF download (John 2026-11-22) */

/* Footer, 2026-11-22 (John): the email sign-up moved into the link row as its right column */
.ftr-grid { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.7fr); align-items: start; }
.ftr-grid .ftr-news { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); align-items: start; padding: 0; margin: 0; border: 0; }
@media (max-width: 1100px) { .ftr-grid { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); } .ftr-grid .ftr-news { grid-column: 1 / -1; } }
@media (max-width: 860px) { .ftr-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 560px) { .ftr-grid { grid-template-columns: auto minmax(0, 1fr); gap: var(--s4) var(--s4); } }   /* phones: Help takes the room the email address needs (restated after the 2026-11-22 footer grid) */

/* Footer balance, 2026-11-22 (John: "the balance is off, too much blank space"): a smaller badge, every column centred on
   it instead of hanging from the top, and the fine print closer. */
@media (min-width: 1101px) {
  .ftr-grid { grid-template-columns: auto minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.6fr); align-items: center; gap: var(--s5); }
  .ftr-badge { width: 190px; }
  .ftr-fine { margin-top: var(--s5); }
}
@media (min-width: 1101px) { .ftr-grid > :not(.ftr-badge) { min-height: 11rem; } }   /* same box for Shop, Help, sign-up: headings line up, the group stays centred on the badge */
/* Patterns menu filters as vertical lists (John 2026-11-22: "I don't like the horizontal menu for by level and by size") */
.mega-strip { align-items: flex-start; gap: var(--s3) var(--s6); }
.mega-grp ul { display: grid; gap: 8px; }
.mega-strip .mega-all { align-self: flex-end; }

/* ---- The Quilt Designer band, homepage (2026-11-22): words left, the tool's loop right, on the hero's woven indigo ---- */
.qd-band { background: var(--primary) url('/tex/hero-blue.jpg') center / cover no-repeat; color: var(--ink-on-dark); padding-block: var(--section-y); }
.qd-band .t-heading { color: var(--ink-on-dark); }
.qd-band .qd-facts { color: var(--ink-on-dark); }
.qd { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s6); align-items: center; }
.qd-text { display: flex; flex-direction: column; gap: var(--s3); align-items: flex-start; }
.qd-logo { width: 168px; height: auto; margin-bottom: var(--s1); }
.qd-facts { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); color: var(--primary); font-weight: 600; }
.qd-facts li + li { position: relative; }
.qd-facts li + li::before { content: ''; position: absolute; left: calc(var(--s3) / -2 - 2px); top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: var(--accent); }
.qd-text .t-body { text-wrap: pretty; }
.qd-btns { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s1); }
.qd-plate { padding: var(--s2); background: var(--paper); border-radius: var(--card-radius); box-shadow: 0 1px 2px rgba(10, 16, 26, 0.25), 0 40px 60px -36px rgba(0, 0, 0, 0.7); }
.qd-plate video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--radius); background: var(--muted); }
@media (max-width: 960px) { .qd { grid-template-columns: 1fr; gap: var(--s5); } }
@media (max-width: 560px) { .qd-btns { width: 100%; } .qd-btns .btn { width: 100%; } .qd-plate { padding: var(--s1); } }
