

:root {
  /* light only, deliberately. The dark block below is disabled (see the note
     above it); declaring "light dark" here would still hand form controls,
     scrollbars and the default canvas to the OS dark theme while our own tokens
     stayed light, which is a worse mix than either mode. */
  color-scheme: only light;

  /* PLUM & BLUSH — chosen 2026-08-05. Replaces the antique-gold/dusty-rose set.
     Every value here is measured; see the ratios beside each derived token. */
  --brand-primary:    #6d2f47;   /* deep plum  — 9.36:1 on the blush cream */
  --brand-accent:     #8a5a2b;   /* antique brass — 5.62:1 on the blush cream */
  --brand-neutral:    #2b2124;
  --brand-bg:         #fdf9f9;
  --brand-on-primary: #ffffff;   /* 9.78:1 on the plum */

  /* The jewellery gold, kept for decoration only — hairlines and the rule under
     an eyebrow. Not a text colour at any size. */
  --brand-gold: #c9a227;

  --color-primary:       var(--brand-primary);
  --color-primary-hover: color-mix(in oklch, var(--brand-primary) 85%, black);
  --color-primary-soft:  color-mix(in oklch, var(--brand-primary) 8%, white);
  --color-accent:        var(--brand-accent);

  /* --------------------------------------------------------------------------
     ACCESSIBILITY TOKENS — measured, not eyeballed.

       --color-accent-text  the token allowed to carry TEXT and to sit under a
                            white button label. It owes 4.5:1.
       --color-accent       (raw orange) NON-TEXT only: flags, rules, bars. 3:1.

     Measured against the blush cream #fdf9f9:
       #6d2f47 (primary)  →  9.36:1   ✓ AA text; white label on it 9.78:1 ✓
       #8a5a2b (accent)   →  5.62:1   ✓ AA text; white label on it 5.87:1 ✓
       #c9a227 (gold)     →  2.31:1   ✗ decorative only, never type

     Charm Haven differs from the stock template here: BOTH seeds are deep enough
     to carry text and to sit under a white label, because the brass is a real
     brand colour rather than a flag colour. The bright gold that fails is kept
     out of the token system entirely except as --brand-gold for hairlines.
     -------------------------------------------------------------------------- */
  --color-accent-text: var(--brand-accent);    /* 5.62:1 on the blush cream */
  --color-on-accent:   #ffffff;                /* 5.87:1 on the brass */
  --focus-ring:        var(--brand-primary);   /* 9.36:1 — the plum rings loudest */

  /* Accent text that sits on a TINTED surface rather than on the page cream.
     Contrast is a relationship, so the tint gets its own measured value. The
     palette is warm and the sunk surface is the darkest of the three, so that is
     the one the tint token has to clear. The brass clears it unaided, so unlike
     the previous palette this token does not need to diverge:
       #8a5a2b on #efe1e5 (bg-sunk)       4.63:1 ✓
       #8a5a2b on #f7eef0 (bg-alt)        5.19:1 ✓
       #8a5a2b on #fdf9f9                 5.62:1 ✓  (safe to use anywhere)
     Keep it as its own token anyway: if the brass is ever lightened, bg-sunk is
     where it breaks first and this is the line that has to move. */
  --color-accent-text-tint: var(--brand-accent);

  /* Primary-button SURFACE + LABEL as their own tokens, decoupled from
     --color-accent-text (which is a TEXT colour). The button is a surface under
     a label, and a surface has different contrast needs than text — keeping them
     separate is what lets dark mode fix the button without disturbing links.
     Light: deep-plum surface, white label → 9.78:1. */
  --btn-primary-bg: var(--brand-primary);
  --btn-primary-fg: var(--brand-on-primary);

  /* Headings are the PLUM, not the body ink. Applies to h1 and h2 only — the
     big ones. h3 stays --color-text because it does duty as a product-card
     title and a small card heading, where plum against a photograph and a price
     starts competing rather than leading.
     Measured on every surface a heading lands on, worst case being the sunk
     surface with the pattern over it: 7.07:1. Headings are large text, which
     only owes 3:1, so there is a lot of room here. */
  --color-heading:       var(--brand-primary);
  --color-text:          var(--brand-neutral); /* 14.93:1 on the blush cream ✓ */
  --color-text-muted:    #6b5a5f;              /* 6.18:1 on bg, 5.09:1 on sunk ✓ */
  --color-bg:            var(--brand-bg);
  --color-bg-alt:        #f7eef0;
  --color-bg-sunk:       #efe1e5;
  /* --color-border is a decorative divider. --color-border-strong is what a form
     control outlines itself with, so it is the one that owes 1.4.11 its 3:1:
       #a0858d on #fdf9f9  →  3.22:1 ✓ */
  --color-border:        #e6d5da;
  --color-border-strong: #a0858d;

  --color-sale:    var(--brand-accent);
  --color-success: #0c6b37;                    /* 6.36:1 on bg ✓ */
  --color-danger:  #b03040;                    /* 6.03:1 on bg ✓ */

  --font-sans:    "Karla", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;

  --sp-1: .25rem;  --sp-2: .5rem;  --sp-3: .75rem; --sp-4: 1rem;
  --sp-5: 1.25rem; --sp-6: 1.5rem; --sp-8: 2rem;   --sp-10: 2.5rem;
  --sp-12: 3rem;   --sp-16: 4rem;  --sp-20: 5rem;

  --content-max: 78rem;
  --reading-max: 42rem;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  /* -----------------------------------------------------------------------
     THE ARCH — the site's image frame. Chosen 2026-08-05 from five options.

     Horizontal radius stays 50% so the dome always spans the full width of
     whatever it is on. The VERTICAL radius sets how tall the dome is, and the
     three below are the same curve expressed for three different boxes. Adjust
     one and adjust the others — they are a set, not independent numbers.

     There was briefly a fourth, --arch-tile, for the square photos in the home
     page gallery. It is gone: the gallery does not use the arch at all now, and
     an unused token in this block would read as a shape the site still owns.

     --arch-hero  a 4:3 image. % is fine: the box has a fixed aspect ratio, so
                  22% of its height is a predictable fraction of its width.

     --arch-card  a product/category CARD, which is image + text and therefore
                  a different height depending on how long the blurb runs. A
                  percentage here would give every row a different arch, so the
                  vertical radius is in PIXELS, tuned to the ~280px card the
                  grid produces at full container width.

     --arch-card-wide  the same curve for a card that has gone full width on a
                  phone, where the fixed 72px would flatten out.
     ----------------------------------------------------------------------- */
  --hero-glow: radial-gradient(60rem 30rem at 80% -10%, var(--color-primary-soft), transparent 70%);

  --arch-hero:      50% 50% var(--radius-lg) var(--radius-lg) / 22% 22% 2% 2%;
  --arch-card:      50% 50% var(--radius-md) var(--radius-md) / 72px 72px 3px 3px;
  --arch-card-wide: 50% 50% var(--radius-md) var(--radius-md) / 92px 92px 3px 3px;


  /* -----------------------------------------------------------------------
     BACKGROUND PATTERN

     Three motifs, defined here so switching the site's texture is one line
     (--pattern) rather than a find-and-replace. Inline SVG data URIs: no extra
     request, nothing to cache-bust, sharp on any display.

     ⚠ WHERE IT MAY GO. The pattern darkens whatever is under it, which eats
     contrast. Measured with the ink at 5.5% over each surface:

        on --color-bg       brass label 5.62 -> 5.13  ok
        on --color-bg-alt   brass label 5.15 -> 4.70  ok
        on --color-bg-sunk  brass label 4.63 -> 4.24  FAILS AA

     So it goes on the page background and the alternate bands, and it must NOT
     go on the sunk surfaces — the announcement strip and the cookie notice.
     Brass on sunk is already the tightest pair in the palette (4.63) and has no
     room to give any away. If the pattern is ever wanted there, the brass has to
     be darkened first.
     ----------------------------------------------------------------------- */
  --pattern-pearls:  url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2234%22%20height%3D%2234%22%20viewBox%3D%220%200%2034%2034%22%3E%20%3Cg%20fill%3D%22%236d2f47%22%20fill-opacity%3D%220.055%22%3E%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%222.1%22/%3E%20%3Ccircle%20cx%3D%2223%22%20cy%3D%2214%22%20r%3D%222.1%22/%3E%20%3Ccircle%20cx%3D%2212%22%20cy%3D%2225%22%20r%3D%222.1%22/%3E%20%3Ccircle%20cx%3D%2229%22%20cy%3D%2230%22%20r%3D%222.1%22/%3E%20%3C/g%3E%3C/svg%3E");
  --pattern-charms:  url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%22132%22%20height%3D%22132%22%20viewBox%3D%220%200%20132%20132%22%3E%20%3Cg%20fill%3D%22%236d2f47%22%20fill-opacity%3D%220.055%22%3E%20%3Cpath%20d%3D%22M20%2030c-4-4-4-9%200-12s8-1%209%201c1-2%205-4%209-1s4%208%200%2012l-9%208z%22/%3E%20%3Cpath%20d%3D%22M92%2020l2.6%205.6%206.1.8-4.5%204.2%201.2%206-5.4-2.9-5.4%202.9%201.2-6-4.5-4.2%206.1-.8z%22/%3E%20%3Cpath%20d%3D%22M56%2074c0-6%207-13%207-13s7%207%207%2013a7%207%200%200%201-14%200z%22/%3E%20%3Cpath%20d%3D%22M112%2092c0-6%207-13%207-13s7%207%207%2013a7%207%200%200%201-14%200z%22/%3E%20%3Cpath%20d%3D%22M30%2096l2.2%204.7%205.1.7-3.7%203.5%201%205-4.6-2.4-4.6%202.4%201-5-3.7-3.5%205.1-.7z%22/%3E%20%3C/g%3E%20%3Cg%20fill%3D%22none%22%20stroke%3D%22%236d2f47%22%20stroke-opacity%3D%220.055%22%20stroke-width%3D%222.4%22%3E%20%3Ccircle%20cx%3D%2280%22%20cy%3D%2256%22%20r%3D%226.5%22/%3E%20%3Ccircle%20cx%3D%2216%22%20cy%3D%2262%22%20r%3D%224.5%22/%3E%20%3Ccircle%20cx%3D%22104%22%20cy%3D%22120%22%20r%3D%225.5%22/%3E%20%3C/g%3E%3C/svg%3E");
  --pattern-mixed:   url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%22108%22%20height%3D%22108%22%20viewBox%3D%220%200%20108%20108%22%3E%20%3Cg%20fill%3D%22%236d2f47%22%20fill-opacity%3D%220.055%22%3E%20%3Ccircle%20cx%3D%229%22%20cy%3D%229%22%20r%3D%222%22/%3E%3Ccircle%20cx%3D%2245%22%20cy%3D%229%22%20r%3D%222%22/%3E%3Ccircle%20cx%3D%2281%22%20cy%3D%229%22%20r%3D%222%22/%3E%20%3Ccircle%20cx%3D%2227%22%20cy%3D%2227%22%20r%3D%222%22/%3E%3Ccircle%20cx%3D%2263%22%20cy%3D%2227%22%20r%3D%222%22/%3E%3Ccircle%20cx%3D%2299%22%20cy%3D%2227%22%20r%3D%222%22/%3E%20%3Ccircle%20cx%3D%229%22%20cy%3D%2245%22%20r%3D%222%22/%3E%3Ccircle%20cx%3D%2281%22%20cy%3D%2245%22%20r%3D%222%22/%3E%20%3Ccircle%20cx%3D%2227%22%20cy%3D%2263%22%20r%3D%222%22/%3E%3Ccircle%20cx%3D%2263%22%20cy%3D%2263%22%20r%3D%222%22/%3E%3Ccircle%20cx%3D%2299%22%20cy%3D%2263%22%20r%3D%222%22/%3E%20%3Ccircle%20cx%3D%229%22%20cy%3D%2281%22%20r%3D%222%22/%3E%3Ccircle%20cx%3D%2245%22%20cy%3D%2281%22%20r%3D%222%22/%3E%20%3Ccircle%20cx%3D%2227%22%20cy%3D%2299%22%20r%3D%222%22/%3E%3Ccircle%20cx%3D%2263%22%20cy%3D%2299%22%20r%3D%222%22/%3E%3Ccircle%20cx%3D%2299%22%20cy%3D%2299%22%20r%3D%222%22/%3E%20%3Cpath%20d%3D%22M41%2041c-2.6-2.6-2.6-5.9%200-7.8%202.6-1.9%205.2-.6%205.9.6.7-1.3%203.3-2.6%205.9-.6%202.6%201.9%202.6%205.2%200%207.8L46.9%2046z%22/%3E%20%3Cpath%20d%3D%22M84%2078l1.8%203.9%204.2.6-3%202.9.8%204.2-3.8-2-3.8%202%20.8-4.2-3-2.9%204.2-.6z%22/%3E%20%3C/g%3E%20%3Cg%20fill%3D%22none%22%20stroke%3D%22%236d2f47%22%20stroke-opacity%3D%220.055%22%20stroke-width%3D%222%22%3E%20%3Ccircle%20cx%3D%2245%22%20cy%3D%2245%22%20r%3D%2210.5%22/%3E%20%3C/g%3E%3C/svg%3E");

  --pattern: var(--pattern-pearls);

  --shadow-sm: 0 1px 2px rgba(16, 22, 34, .06), 0 1px 3px rgba(16, 22, 34, .04);
  --shadow-md: 0 4px 12px rgba(16, 22, 34, .08), 0 2px 4px rgba(16, 22, 34, .04);
  --shadow-lg: 0 12px 32px rgba(16, 22, 34, .12);

  --dur-fast: 150ms;
  --dur-base: 250ms;
  --ease:     cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* --------------------------------------------------------------------------
   DARK MODE

   bootstrap.php emits the site-config 'theme_dark' seeds AFTER this file, so
   those win for the seeds. What we do here is re-point the DERIVED tokens,
   because a token that is correct on white is usually wrong on near-black.

   The one that bites: --color-accent-text. On white it must go DARKER to reach
   4.5:1. On a dark surface that same darkening makes it invisible — it has to go
   LIGHTER instead. Contrast is a relationship, not a property of a colour.
   -------------------------------------------------------------------------- */
/* DISABLED 2026-08-06, before the first deploy. This block re-points the DERIVED
   tokens for a dark surface but never re-points the SEEDS it depends on
   (--color-bg, --color-text, --brand-primary), so it composed light-mode
   backgrounds with dark-mode inks and measured as low as 1.67:1 site-wide — a
   1.4.3 failure on every page for anyone whose phone is set to dark.

   Disabled by an impossible min-width rather than by wrapping it in a comment:
   the ratio notes below are themselves comments, and CSS has no nesting, so a
   wrapper would terminate at the first inner comment close and emit garbage.

   TO RE-ENABLE: delete the "and (min-width: 99999px)" — but only after the seed
   tokens above are given real dark values and every ratio is re-measured.
   -------------------------------------------------------------------------- */
@media (prefers-color-scheme: dark) and (min-width: 99999px) {
  :root {
    --color-heading:       #e0a3ba;            /* 8.70:1 on #1a1517 ✓ — the light
                                                  plum; #6d2f47 would vanish here */
    --color-text-muted:    #b3a3a8;            /* 7.50:1 on #1a1517 ✓ */

    /* The motif has to be redrawn in a LIGHT ink for dark mode; the plum version
       is invisible against a near-black surface. */
    --pattern-pearls:  url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2234%22%20height%3D%2234%22%20viewBox%3D%220%200%2034%2034%22%3E%20%3Cg%20fill%3D%22%23e0a3ba%22%20fill-opacity%3D%220.05%22%3E%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%222.1%22/%3E%20%3Ccircle%20cx%3D%2223%22%20cy%3D%2214%22%20r%3D%222.1%22/%3E%20%3Ccircle%20cx%3D%2212%22%20cy%3D%2225%22%20r%3D%222.1%22/%3E%20%3Ccircle%20cx%3D%2229%22%20cy%3D%2230%22%20r%3D%222.1%22/%3E%20%3C/g%3E%3C/svg%3E");
    --pattern-charms:  url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%22132%22%20height%3D%22132%22%20viewBox%3D%220%200%20132%20132%22%3E%20%3Cg%20fill%3D%22%23e0a3ba%22%20fill-opacity%3D%220.05%22%3E%20%3Cpath%20d%3D%22M20%2030c-4-4-4-9%200-12s8-1%209%201c1-2%205-4%209-1s4%208%200%2012l-9%208z%22/%3E%20%3Cpath%20d%3D%22M92%2020l2.6%205.6%206.1.8-4.5%204.2%201.2%206-5.4-2.9-5.4%202.9%201.2-6-4.5-4.2%206.1-.8z%22/%3E%20%3Cpath%20d%3D%22M56%2074c0-6%207-13%207-13s7%207%207%2013a7%207%200%200%201-14%200z%22/%3E%20%3Cpath%20d%3D%22M112%2092c0-6%207-13%207-13s7%207%207%2013a7%207%200%200%201-14%200z%22/%3E%20%3Cpath%20d%3D%22M30%2096l2.2%204.7%205.1.7-3.7%203.5%201%205-4.6-2.4-4.6%202.4%201-5-3.7-3.5%205.1-.7z%22/%3E%20%3C/g%3E%20%3Cg%20fill%3D%22none%22%20stroke%3D%22%23e0a3ba%22%20stroke-opacity%3D%220.05%22%20stroke-width%3D%222.4%22%3E%20%3Ccircle%20cx%3D%2280%22%20cy%3D%2256%22%20r%3D%226.5%22/%3E%20%3Ccircle%20cx%3D%2216%22%20cy%3D%2262%22%20r%3D%224.5%22/%3E%20%3Ccircle%20cx%3D%22104%22%20cy%3D%22120%22%20r%3D%225.5%22/%3E%20%3C/g%3E%3C/svg%3E");
    --pattern-mixed:   url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%22108%22%20height%3D%22108%22%20viewBox%3D%220%200%20108%20108%22%3E%20%3Cg%20fill%3D%22%23e0a3ba%22%20fill-opacity%3D%220.05%22%3E%20%3Ccircle%20cx%3D%229%22%20cy%3D%229%22%20r%3D%222%22/%3E%3Ccircle%20cx%3D%2245%22%20cy%3D%229%22%20r%3D%222%22/%3E%3Ccircle%20cx%3D%2281%22%20cy%3D%229%22%20r%3D%222%22/%3E%20%3Ccircle%20cx%3D%2227%22%20cy%3D%2227%22%20r%3D%222%22/%3E%3Ccircle%20cx%3D%2263%22%20cy%3D%2227%22%20r%3D%222%22/%3E%3Ccircle%20cx%3D%2299%22%20cy%3D%2227%22%20r%3D%222%22/%3E%20%3Ccircle%20cx%3D%229%22%20cy%3D%2245%22%20r%3D%222%22/%3E%3Ccircle%20cx%3D%2281%22%20cy%3D%2245%22%20r%3D%222%22/%3E%20%3Ccircle%20cx%3D%2227%22%20cy%3D%2263%22%20r%3D%222%22/%3E%3Ccircle%20cx%3D%2263%22%20cy%3D%2263%22%20r%3D%222%22/%3E%3Ccircle%20cx%3D%2299%22%20cy%3D%2263%22%20r%3D%222%22/%3E%20%3Ccircle%20cx%3D%229%22%20cy%3D%2281%22%20r%3D%222%22/%3E%3Ccircle%20cx%3D%2245%22%20cy%3D%2281%22%20r%3D%222%22/%3E%20%3Ccircle%20cx%3D%2227%22%20cy%3D%2299%22%20r%3D%222%22/%3E%3Ccircle%20cx%3D%2263%22%20cy%3D%2299%22%20r%3D%222%22/%3E%3Ccircle%20cx%3D%2299%22%20cy%3D%2299%22%20r%3D%222%22/%3E%20%3Cpath%20d%3D%22M41%2041c-2.6-2.6-2.6-5.9%200-7.8%202.6-1.9%205.2-.6%205.9.6.7-1.3%203.3-2.6%205.9-.6%202.6%201.9%202.6%205.2%200%207.8L46.9%2046z%22/%3E%20%3Cpath%20d%3D%22M84%2078l1.8%203.9%204.2.6-3%202.9.8%204.2-3.8-2-3.8%202%20.8-4.2-3-2.9%204.2-.6z%22/%3E%20%3C/g%3E%20%3Cg%20fill%3D%22none%22%20stroke%3D%22%23e0a3ba%22%20stroke-opacity%3D%220.05%22%20stroke-width%3D%222%22%3E%20%3Ccircle%20cx%3D%2245%22%20cy%3D%2245%22%20r%3D%2210.5%22/%3E%20%3C/g%3E%3C/svg%3E");
    --pattern: var(--pattern-pearls);

    --color-bg-alt:        #221b1e;
    --color-bg-sunk:       #2a2126;
    --color-border:        #3a2f33;
    --color-border-strong: #7d6b71;            /* 3.62:1 on #1a1517 ✓ (1.4.11) */

    --color-accent-text:   #e2ab6e;            /* LIGHTER, not darker: 8.84:1 ✓ */
    /* Dark tints are dark, so the light-mode darkening would disappear into
       them — the tinted variant folds back into the main token here. */
    --color-accent-text-tint: #e2ab6e;
    --color-on-accent:     #241f1c;            /* 7.99:1 on the light brass ✓ */
    --color-primary-soft:  color-mix(in oklch, var(--brand-primary) 18%, #0e1116);
    --color-primary-hover: color-mix(in oklch, var(--brand-primary) 85%, white);

    --color-success: #3ddc84;
    --color-danger:  #ff7b8f;

    /* THE DARK-MODE BUTTON TRAP, fixed via the token (not a rule that would lose
       to the later unconditional .btn-primary on source order). In dark mode the
       primary seed #e0a3ba is a LIGHT plum-pink surface, so its label must go
       DARK — white on #e0a3ba is 2.12:1, dark on it is 7.86:1. */
    --btn-primary-bg: var(--brand-primary);
    --btn-primary-fg: #241f1c;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, .45);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, .55);
  }
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

/* Fraunces is a serif, so the template's -.02em tracking (tuned for Inter) closes
   it up too far and the weight can drop to 600 without losing any authority. */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.18; font-weight: 600; letter-spacing: -.005em; }
h1, h2 { color: var(--color-heading); }
h1 { font-size: clamp(1.875rem, 3vw + 1rem, 2.75rem); }
h2 { font-size: clamp(1.375rem, 1.6vw + 1rem, 2rem); }
h3 { font-size: 1.125rem; }

p { max-width: var(--reading-max); }
a { color: var(--color-accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }

.prose a, p a { text-decoration: underline; text-underline-offset: 3px; }

/* -----------------------------------------------------------------------------
   .prose vertical rhythm.

   The template marks up five pages with .prose — about, terms, privacy policy,
   shipping & returns, and this fork's charm-bar page — but never gives the class
   any rules, and base.css opens with `* { margin: 0 }`. So every heading sat
   flush against the paragraph under it and paragraphs ran together in one block.
   It is most visible on the legal pages, which are nothing but prose.

   The lobotomised-owl selector spaces siblings without putting a trailing margin
   on the last child, so a .prose block still ends flush with its section
   padding. Headings get more space above than below, which is what makes a
   heading read as belonging to the text that follows it.
   ----------------------------------------------------------------------------- */
.prose > * + *          { margin-top: var(--sp-4); }
.prose > * + h2         { margin-top: var(--sp-10); }
.prose > * + h3         { margin-top: var(--sp-8); }
.prose > h2 + *,
.prose > h3 + *         { margin-top: var(--sp-3); }
.prose > ul,
.prose > ol             { padding-left: var(--sp-6); }
.prose > ul > li + li,
.prose > ol > li + li   { margin-top: var(--sp-2); }

.container { max-width: var(--content-max); margin-inline: auto; padding-inline: var(--sp-5); }
.lead { font-size: 1.125rem; color: var(--color-text-muted); }
section { padding-block: var(--sp-12); }

/* A section that steps away from the page colour. Carries the pattern; the
   inline `style="background: var(--color-bg-alt)"` these replaced could not. */
.band { background-color: var(--color-bg-alt); background-image: var(--pattern); }


img { max-width: 100%; height: auto; }

/* -----------------------------------------------------------------------------
   The announcement strip and the cookie notice both ship painted with
   --color-text, i.e. near-black. On a site made of blush cream and daylight that
   put the single heaviest element on the page across the top of every screen,
   and a matching black slab across the bottom. Both now use the sunk surface,
   which is a tint of the page rather than its inverse.

   Keep these two in agreement. They are the only full-bleed bars on the site and
   they read as a pair; changing one alone looks like a mistake.
   ----------------------------------------------------------------------------- */
.shop-announce {
  background: var(--color-bg-sunk);
  color: var(--color-text);              /* 12.31:1 on the sunk surface ✓ */
  border-bottom: 1px solid var(--color-border);
  font-size: .875rem;
}
.shop-announce__inner {
  max-width: var(--content-max); margin-inline: auto;
  padding: var(--sp-2) var(--sp-5);
  display: flex; align-items: center; justify-content: center; gap: var(--sp-3);
  flex-wrap: wrap; text-align: center;
}

.shop-announce a { color: var(--color-text); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* -----------------------------------------------------------------------------
   THE HEADER — roomy at the top of a page, condensed once you start scrolling.

   Driven by a CSS scroll-driven animation, NOT by a scroll listener in JS. Two
   reasons: the Spark chassis keeps its JS to a minimum and a scroll handler runs
   on every frame of every scroll on every page, and a CSS timeline is handed to
   the compositor instead. It also means the effect survives with JS off.

   Browsers without animation-timeline (Safari at time of writing) simply get the
   condensed state permanently, which is the safe end of the range — a header
   that is always compact, never one that is always oversized and covering
   content. That is why the condensed values are the DECLARED ones and the roomy
   state is the animation's 0% keyframe rather than the other way round.
   ----------------------------------------------------------------------------- */
.site-header {
  border-bottom: 1px solid var(--color-border);
  background: color-mix(in srgb, var(--color-bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 6px 20px -14px rgba(43, 33, 36, .55);
}
/* The nav is a row of tabs that must SIT ON the header's bottom rule, so the
   inner has no bottom padding and everything aligns to the baseline. The brand
   and the actions get their own bottom padding to sit level with the tab labels
   rather than dropping to the rule with them. */
.site-header__inner {
  max-width: var(--content-max); margin-inline: auto;
  padding: var(--sp-3) var(--sp-5) 0;
  display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-6);
}
.site-header__inner > .brand,
.site-header__inner > .site-header__actions { padding-bottom: 11px; }

/* Below the nav breakpoint there are no tabs — the toggle and the cart are the
   whole bar — so the header goes back to a normal centred row. */
@media (max-width: 899.98px) {
  .site-header__inner { align-items: center; padding-bottom: var(--sp-3); }
  .site-header__inner > .brand,
  .site-header__inner > .site-header__actions { padding-bottom: 0; }
}

@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .site-header {
      animation: ch-header-settle linear both;
      animation-timeline: scroll(root block);
      animation-range: 0 140px;
    }
    .site-header__inner {
      animation: ch-header-pad linear both;
      animation-timeline: scroll(root block);
      animation-range: 0 140px;
    }
  }
}
@keyframes ch-header-settle {
  from { background: color-mix(in srgb, var(--color-bg) 72%, transparent);
         border-bottom-color: transparent;
         box-shadow: 0 6px 20px -14px rgba(43, 33, 36, 0); }
}
/* padding-TOP only. The inner's bottom padding is 0 so the arch tabs meet the
   header rule; animating padding-block would lift them off it as you scroll.
   Because only one side moves now, the start value has to be larger than the
   old padding-block figure to give the same sense of settling — sp-8 against
   the resting sp-3 is a 20px travel. */
@keyframes ch-header-pad {
  from { padding-top: var(--sp-8); }
}
.brand { display: inline-flex; align-items: center; gap: var(--sp-3); color: var(--color-text); font-weight: 800; }
.brand:hover { text-decoration: none; }
.brand__mark { display: inline-flex; }
.brand__name { font-family: var(--font-display); font-size: 1.125rem; letter-spacing: -.02em; }
.brand__logo { display: block; width: auto; height: 72px; }
@media (max-width: 899.98px) { .brand__logo { height: 56px; } }

/* -----------------------------------------------------------------------------
   ARCH TABS — chosen 2026-08-05.

   Each link is a tab whose top is the same dome as the photographs, sitting
   directly on the header's bottom rule. The current page is a filled tab;
   hovering fills the others more softly.

   The arch here is DEEPER than the one on the images (52% against 26%) and that
   is not an inconsistency. A dome's curve comes from its vertical radius as a
   fraction of the box, and a tab is short and wide where a product card is tall
   — at 26% a tab reads as a mildly rounded corner, not an arch. 52% of a ~44px
   tab is roughly the curve the eye reads on a 280px card.

   Colour is never the only signal: the current page carries aria-current in the
   markup, a filled background, a colour change AND extra weight.
     plum on the filled tab   7.72:1
     ink on the hover fill   13.70:1
   ----------------------------------------------------------------------------- */
.nav-desktop ul { display: flex; align-items: flex-end; gap: 3px; list-style: none; margin: 0; padding: 0; }

.nav-desktop a { color: var(--color-text); font-weight: 500; position: relative; }
.nav-desktop > ul > li > a {
  display: block;
  padding: 13px 17px 12px;
  line-height: 1.1;
  border-radius: 50% 50% 0 0 / 52% 52% 0 0;
  transition: background var(--dur-base) var(--ease), color var(--dur-base) var(--ease);
}
.nav-desktop > ul > li > a:hover { background: var(--color-bg-alt); }
.nav-desktop > ul > li > a:focus-visible { background: var(--color-bg-alt); }
.nav-desktop > ul > li > a[aria-current="page"] {
  background: var(--color-bg-sunk);
  color: var(--color-primary);
  font-weight: 600;
}
.nav-desktop a:hover { text-decoration: none; }
@media (prefers-reduced-motion: reduce) {
  .nav-desktop > ul > li > a { transition: none; }
}
.nav-desktop .has-dropdown { position: relative; }
.nav-desktop .dropdown {
  position: absolute; top: 100%; left: 0; min-width: 12rem;
  display: none; flex-direction: column; gap: 0;
  padding: var(--sp-2); margin-top: var(--sp-2);
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-md);
}
.nav-desktop .has-dropdown:hover .dropdown,
.nav-desktop .has-dropdown:focus-within .dropdown { display: flex; }
.nav-desktop .dropdown a { display: block; padding: var(--sp-2) var(--sp-3); border-radius: var(--radius-sm); }
.nav-desktop .dropdown a:hover { background: var(--color-bg-alt); text-decoration: none; }

/* Shop panel: category photos under the Shop tab. Centred under the tab and
   held open across the gap by its own top padding, so moving the mouse down
   from "Shop" never drops it.
   Smooth (Chance, 2026-10-27): it fades and rises into place instead of
   snapping. Closing waits 150ms first, so a mouse that slips off the edge for
   a moment does not make it flicker. visibility (not display) is what is
   switched, because display cannot be transitioned; hidden still takes the
   links out of the tab order. */
.nav-desktop .has-mega { position: relative; }
.shop-mega {
  position: absolute; top: 100%; left: 50%; z-index: 60;
  padding-top: var(--sp-2);
  visibility: hidden; opacity: 0; pointer-events: none;
  transform: translate(-50%, 10px);
  transition:
    opacity 180ms var(--ease) 150ms,
    transform 220ms var(--ease) 150ms,
    visibility 0s linear 330ms;
}
.nav-desktop .has-mega:hover .shop-mega,
.nav-desktop .has-mega:focus-within .shop-mega {
  visibility: visible; opacity: 1; pointer-events: auto;
  transform: translate(-50%, 0);
  transition:
    opacity 220ms var(--ease-out) 60ms,
    transform 320ms var(--ease-out) 60ms,
    visibility 0s linear 60ms;
}
/* Keyboard: no wait at all, or a quick Tab from "Shop" would skip a panel
   that is not visible yet. */
.nav-desktop .has-mega:focus-within .shop-mega { transition-delay: 0s; }
/* The photos follow the panel in, one after another, and leave with it (same
   150ms wait), so a mouse slip never blinks them. */
.shop-mega__grid > li { opacity: 0; transform: translateY(6px); transition: opacity 180ms var(--ease) 150ms, transform 180ms var(--ease) 150ms; }
.has-mega:hover .shop-mega__grid > li,
.has-mega:focus-within .shop-mega__grid > li {
  opacity: 1; transform: none;
  transition: opacity 300ms var(--ease-out), transform 360ms var(--ease-out);
  transition-delay: calc(100ms + var(--i, 0) * 35ms);
}
/* Reduced motion: no movement, no stagger. It still waits a beat before
   closing so it does not flicker. */
@media (prefers-reduced-motion: reduce) {
  .shop-mega { transform: translate(-50%, 0); transition: visibility 0s linear 150ms, opacity 0s linear 150ms; }
  .nav-desktop .has-mega:hover .shop-mega,
  .nav-desktop .has-mega:focus-within .shop-mega { transition: none; }
  .shop-mega__grid > li { opacity: 1; transform: none; transition: none !important; }
}
.shop-mega__grid {
  display: grid !important; grid-template-columns: repeat(var(--cols, 4), 7.5rem); gap: var(--sp-4) !important;
  padding: var(--sp-5) !important; align-items: start !important;
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0; box-shadow: var(--shadow-md);
}
.nav-desktop .shop-mega__item {
  display: grid; gap: var(--sp-2); justify-items: center; text-align: center;
  font-size: .875rem; font-weight: 600; line-height: 1.25;
}
.shop-mega__item img {
  width: 96px; height: 96px; object-fit: cover; display: block;
  border-radius: var(--arch-card); border: 1px solid var(--color-border); background: #fff;
  transition: transform var(--dur-fast) var(--ease);
}
.shop-mega__item:hover img { transform: translateY(-2px); }
.nav-desktop .shop-mega__item:hover span { color: var(--color-primary); text-decoration: underline; }
.nav-desktop .shop-mega__all {
  display: block; padding: var(--sp-3); text-align: center; font-weight: 600; color: #fff;
  background: var(--color-primary); border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.nav-desktop .shop-mega__all:hover { background: var(--color-primary-hover); }
@media (prefers-reduced-motion: reduce) { .shop-mega__item img { transition: none; } }

/* Phone menu: the same categories with a small photo each. The section
   slides open and shut (footer.php animates its height) with a chevron that
   turns, instead of the browser's instant jump and its triangle marker. */
.nav-mobile summary { list-style: none; display: flex; align-items: center; justify-content: space-between; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary::after {
  content: ""; width: 9px; height: 9px; margin-right: 4px;
  border: solid currentColor; border-width: 0 2px 2px 0;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 260ms var(--ease-out);
}
.nav-mobile details[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.nav-mobile details > ul { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .nav-mobile summary::after { transition: none; } }
.nav-mobile__cats a { display: flex !important; align-items: center; gap: var(--sp-3); }
.nav-mobile__cats img { width: 40px; height: 40px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--color-border); background: #fff; flex: none; }

.site-header__actions { display: flex; align-items: center; gap: var(--sp-3); }

.shop-cartbtn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  border: 1px solid transparent;
}
.shop-cartbtn:hover { background: var(--color-bg-alt); border-color: var(--color-border); text-decoration: none; }
.shop-cartbtn svg { width: 22px; height: 22px; }
.shop-cartbtn__count {
  position: absolute; top: 2px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 4px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--color-on-accent);
  font-size: .6875rem; font-weight: 700; line-height: 1;
}

.shop-cartbtn__count.is-empty { display: none; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); cursor: pointer; color: var(--color-text);
}
/* 899.98, NOT 900. Every desktop layout in this build turns on at
   min-width:900px, and `max-width:900px` ALSO matches at exactly 900 — so at
   that width the page rendered the hamburger nav on top of the two-column
   desktop layout. A window sitting on that boundary flips to the mobile nav
   as soon as a page grows long enough to add a vertical scrollbar, which
   reads as 'clicking a link switched me to mobile'. The .98 also covers
   fractional viewport widths on scaled displays, where a plain 899 would
   leave 899.5px matching neither rule. */
@media (max-width: 899.98px) {
  .nav-desktop { display: none; }
  .nav-toggle  { display: inline-flex; }
  .site-header__cta { display: none; }
}

.nav-mobile {
  padding: var(--sp-16) var(--sp-6) var(--sp-6);
  background: var(--color-bg);
  border-left: 1px solid var(--color-border);
  color: var(--color-text);
}
.nav-mobile__close {
  position: absolute; top: var(--sp-3); right: var(--sp-3);
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); font-size: 1.5rem; line-height: 1; cursor: pointer;
  color: var(--color-text);
}
.nav-mobile ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--sp-1); }
.nav-mobile a { display: block; padding: var(--sp-3) var(--sp-4); color: var(--color-text); font-weight: 500; }
.nav-mobile a[aria-current="page"] { color: var(--color-accent-text); }
.nav-mobile__cta { margin-top: var(--sp-5); width: 100%; }
.nav-mobile summary { padding: var(--sp-3) var(--sp-4); font-weight: 500; cursor: pointer; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-5);
  min-height: 44px;
  font: inherit; font-weight: 600;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
  cursor: pointer; text-decoration: none;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.btn:hover { background: var(--color-bg-alt); text-decoration: none; }

/* Outline buttons carry the brass — the same colour as the "Benton, Arkansas"
   eyebrow (--color-accent-text, #8a5a2b, 5.62:1 on the cream).

   Two things are load-bearing in this selector:

   :where() contributes ZERO specificity, which is the whole point. Written the
   obvious way, `body:not(.admin-body) .btn:not(...)` computes (0,4,1) and would
   outrank the `.consent-banner .btn:not(...)` rule further down at (0,4,0) —
   silently undoing a documented fix for buttons that inverted against that bar.
   Wrapped in :where() this is (0,3,0): it beats the plain .btn (0,1,0) and
   loses to the banner, which is exactly the order we want.

   .admin-body scopes it OFF the admin panel, which loads this same stylesheet
   (admin-layout.php) and uses bare class="btn" in about fifteen files. Without
   it, Candace's whole admin UI turns brass. */
:where(body:not(.admin-body)) .btn:not(.btn-primary):not(.btn-accent) {
  border-color: var(--color-accent-text);
  /* Label matches the border. Safe because these buttons keep their own OPAQUE
     --color-bg, so the brass sits on the button, not on whatever section is
     behind it: 5.62:1 at rest, 5.15:1 on the --color-bg-alt hover. Both clear
     AA. This would NOT hold for a transparent .btn-ghost over a sunk surface,
     where brass is only 4.63:1 before the pattern takes it to 4.24 — see the
     pattern warning near the top of this file. */
  color: var(--color-accent-text);
}

/* A primary button is a SURFACE UNDER A WHITE LABEL, so it owes 4.5:1 — which is
   why it uses --color-accent-text (the primary blue), never the raw orange. */
.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  border-color: var(--btn-primary-bg);
}
.btn-primary:hover { background: var(--color-primary-hover); border-color: var(--color-primary-hover); }

.btn-accent {
  background: var(--color-accent);
  color: var(--color-on-accent);              /* dark text on orange: 6.94:1 */
  border-color: var(--color-accent);
}
.btn-accent:hover { background: color-mix(in oklch, var(--color-accent) 88%, black); }

.btn-ghost { background: transparent; }
.btn-lg { padding: var(--sp-4) var(--sp-8); font-size: 1.0625rem; }

.btn:disabled, .btn[disabled] { opacity: .5; cursor: not-allowed; }

@media (max-width: 400px) {
  .btn { white-space: normal; max-width: 100%; text-align: center; }
}

.hero {
  padding-block: var(--sp-20);
  background: var(--hero-glow), var(--color-bg);
}

/* Home page only. The pattern layers OVER the glow — first background-image in
   the list paints on top — so the densest corner of the glow carries dots too.
   That stack is the worst case for contrast on this page and it was measured
   before shipping: brass eyebrow 4.67:1 on glow + dots, the tightest pair on the
   site. It clears AA, but there is only .17 of headroom, so if the glow is ever
   made denser or the pattern stronger, re-measure this exact combination. */
.hero--pattern { background: var(--pattern), var(--hero-glow), var(--color-bg); }
.hero__inner { display: grid; gap: var(--sp-10); align-items: center; }
@media (min-width: 900px) { .hero__inner { grid-template-columns: 1.1fr 1fr; } }
.hero h1 { margin-bottom: var(--sp-4); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }

/* ----------------------------------------------------------------------------
   .hero--page — the shared header for the three interior pages (Charm Bar &
   Parties, About, Contact).

   It exists to be VISIBLY NOT THE HOME PAGE. The home hero is copy beside an
   arched photo, so this one is centred type on the pattern with no photograph at
   all: a reader can tell at a glance which page is the front door. That also
   fixed an inconsistency — Charm Bar and About had arched hero photos while
   Contact had none, so the three never matched each other either.

   Four things have to be re-centred by hand rather than inherited, because each
   is left-aligned by default elsewhere:
     .eyebrow::after   a 2rem gold rule, display:block, so it needs margin-inline
     .breadcrumbs ol   a flex row
     .hero__actions    a flex row
     the copy column   capped at --reading-max, or the h1 runs the full 78rem

   The ornament only appears at 1024px and up. Below that the copy fills the
   column and there is no free corner for it to sit in — it landed on top of the
   lead paragraph. This is decoration, so hiding it is the right trade.
   -------------------------------------------------------------------------- */
.hero--page { padding-block: var(--sp-12); position: relative; }
.hero--page .hero__inner { display: block; }   /* not the two-column home grid */
.hero--page__copy {
  max-width: var(--reading-max);
  margin-inline: auto;
  text-align: center;
}
.hero--page__copy .eyebrow::after { margin-inline: auto; }
.hero--page .breadcrumbs ol      { justify-content: center; }
.hero--page .hero__actions       { justify-content: center; }
.hero--page .lead                { margin-inline: auto; }

.ornament--page { display: none; }
@media (min-width: 1024px) {
  .ornament--page {
    display: block;
    right: max(var(--sp-5), calc((100% - var(--content-max)) / 2 + var(--sp-5)));
    bottom: var(--sp-6);
  }
}
/* The hero image carries the arch but no hover behaviour: it is not a link, and
   motion on something you cannot click is noise. The movement in this treatment
   lives on the product and category cards, which are interactive.

   THE ARCH SITS ON THE TRACK, NOT ON EACH SLIDE. Put the radius on the slides
   and every photo carries its own dome, so the arch visibly slides past as the
   carousel advances instead of staying put as a frame. On the track it is one
   fixed shape the photos move behind, which is what a framed carousel should
   look like. overflow-x:auto is also what makes the radius clip.

   The three slides are all 1400x1050. That is not a coincidence to preserve
   casually: --arch-hero expresses its vertical radius as a PERCENTAGE, so a
   slide with a different aspect ratio gets a different dome depth and the frame
   changes shape mid-rotation. Any photo added here must be 4:3. */
/* The OTHER heroes — About and Charm Bar & Parties — are a single plain <img>
   and still carry the arch on the image itself. Direct-child selector on
   purpose: it must not reach the home page's carousel slides, which are nested
   two levels deeper and take the arch from the track instead. Losing this rule
   silently un-arched both those pages once already. */
.hero__media > img {
  border-radius: var(--arch-hero);
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--brand-primary);   /* traces the arch — border follows border-radius */
}

.hero__carousel { position: relative; }
.hero__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  border-radius: var(--arch-hero);
  box-shadow: var(--shadow-lg);
  /* The dots are the control. A scrollbar sitting under an arched frame reads
     as a rendering fault rather than an affordance. */
  scrollbar-width: none;
  /* Matches the plain heroes on About and Charm Bar & Parties. NOTE: box-sizing
     is border-box globally, so this takes 10px off the CONTENT width — which is
     the width a slide is 100% of. The carousel's offsets() therefore measures a
     SLIDE, not this element; measuring the track would be 10px per slide out,
     and that error scales with whatever this border is set to. */
  border: 5px solid var(--brand-primary);
  /* SEAM FIX — do not remove. The hero is a grid column, so this box lands on a
     fractional width (556.2px at 1280px wide). Each slide is 100% of that, so
     slide 2 starts at 556.2 while the scroll position can only reach 556, and
     the missing 0.2px renders as a one-pixel column of the PREVIOUS photo down
     the left edge — bright sky against a dark photo, very visible. Rounding the
     track down to a whole pixel makes every slide offset an integer and the
     seam disappears. Browsers without round() simply keep the old behaviour. */
  width: round(down, 100%, 1px);
}
.hero__track::-webkit-scrollbar { display: none; }
.hero__slide { flex: 0 0 100%; scroll-snap-align: center; }
.hero__slide img { display: block; width: 100%; height: auto; }

.hero__dots { display: flex; justify-content: center; gap: var(--sp-2); margin-top: var(--sp-4); }
/* 24x24 hit target carrying a 10px dot (WCAG 2.5.8). The visible dot is the
   ::before, so shrinking the mark never shrinks the thing you have to tap. */
.hero__dot {
  width: 24px; height: 24px; padding: 0; border: 0; background: transparent;
  cursor: pointer; display: grid; place-items: center;
}
.hero__dot::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  border: 1px solid var(--color-border-strong);
}
.hero__dot[aria-current="true"]::before {
  background: var(--brand-primary); border-color: var(--brand-primary);
}
.hero__dot:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
/* With JS off there is nothing to drive the dots, so they would be three inert
   circles claiming to be controls. The track stays swipeable either way. */
html:not(.js) .hero__dots { display: none; }

.section-head { margin-bottom: var(--sp-8); display: flex; align-items: end; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; }
.section-head p { margin-top: var(--sp-2); color: var(--color-text-muted); }
.eyebrow { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--color-accent-text); font-weight: 700; }

/* The one place the bright jewellery gold appears: a short rule under an eyebrow.
   Decorative, carries no meaning, so its 2.31:1 is fine here and nowhere else. */
.eyebrow::after {
  content: ""; display: block; width: 2rem; height: 2px; margin-top: var(--sp-2);
  background: var(--brand-gold); border-radius: 2px;
}
.section-head .eyebrow::after { margin-bottom: var(--sp-1); }

/* ----------------------------------------------------------------------------
   FEATURE CARDS — the boxes in "How it works", "Why Charm Haven" and
   "What we bring it to".

   These used .admin-card, which is the ADMIN PANEL's class (shop.css, 67 uses
   across 19 files, sixteen of them under admin/). Restyling that would have
   repainted the client's whole admin UI, so these got their own class and
   .admin-card was left alone. Do not merge them back together.

   THE PLUM IS ON THE HEADING, NOT THE BOX. These shipped briefly as solid plum
   cards with white text; James asked for the reverse on 2026-08-05 — a neutral
   card carrying a plum heading. The surface below is the same cream-plus-hairline
   .admin-card was giving them.
   ---------------------------------------------------------------------------- */
.feature-grid {
  display: grid;
  gap: var(--sp-6);
  /* EXPLICITLY THREE, not auto-fit. auto-fit packs in as many columns as will
     fit, which put the six-box Parties section on a 4 + 2 grid with a visibly
     orphaned second row. These sections are written as sets of three (1-2-3 on
     the home page), so the column count is content, not available space. */
  grid-template-columns: 1fr;
  /* 1fr, not auto: without it each ROW sizes to its own tallest card, so the
     six-box Parties section came out as two rows of different heights. This is
     what makes every box on a page identical rather than merely row-matched. */
  grid-auto-rows: 1fr;
}
@media (min-width: 40rem) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
/* 60rem, deliberately clear of 900px: the nav and .hero__inner both switch at
   exactly 900, and a third rule landing on the same edge is how the mobile-nav-
   over-desktop-layout collision happened on 2026-08-05. */
@media (min-width: 60rem) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--sp-6);
  /* Stretch to the row height but keep the text at the top, so short and long
     blurbs start on the same line rather than floating to the middle. */
  display: flex;
  flex-direction: column;
}
/* DELIBERATE, SCOPED EXCEPTION. The 2026-08-05 21:15 decision was that h3 stays
   the body ink, because h3 also does duty as a product-card title where plum
   competes with the photograph and the price. That still holds — this override
   is .feature-card h3 ONLY. .shop-card__title is untouched. */
.feature-card h3 {
  color: var(--color-heading);
  font-size: 1.375rem;
  padding-bottom: 5px;      /* space between the heading and its paragraph */
}
/* p is capped at --reading-max globally, which inside a ~20rem card leaves the
   last line ragged and the card looking half-empty. */
.feature-card p { max-width: none; }
/* Event-card icons on /charm-bar-parties (2026-11-13): plum line icon on a soft
   plum circle, above the heading. align-self keeps the flex column from
   stretching the circle to the card width. */
.feature-card__icon {
  align-self: flex-start;
  display: inline-grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: var(--sp-4);
  border-radius: 50%;
  color: var(--color-heading);
  background: color-mix(in srgb, var(--brand-primary) 9%, transparent);
}
.feature-card__icon svg { width: 1.75rem; height: 1.75rem; }
.feature-card :last-child { margin-bottom: 0; }

.breadcrumbs { font-size: .875rem; color: var(--color-text-muted); padding-block: var(--sp-4); }
.breadcrumbs a { color: var(--color-text-muted); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-2); }

.form { display: grid; gap: var(--sp-4); max-width: 40rem; }
/* minmax(0, 1fr), not 1fr (2026-11-13): a plain 1fr column will not shrink
   below its widest child, and a <select> sizes itself to its longest option
   ("Question about a charm or a chain"), which pushed the right column past
   the screen edge on a narrow phone. */
.form-row { display: grid; gap: var(--sp-4); grid-template-columns: minmax(0, 1fr); }
.form-row > * { min-width: 0; }
@media (min-width: 640px) { .form-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.form select { text-overflow: ellipsis; }

.form label { font-weight: 600; }
/* EXCLUSION LIST, NOT AN ALLOW-LIST. This used to enumerate the types it
   styled (text, email, tel, search, number, password, url) and so silently
   skipped every type nobody thought of: date, time, datetime-local, month,
   week, file. A skipped input keeps the browser's default box — 31px tall
   next to a 51px text field, and on a dark theme it also keeps the default
   text colour, which is the "upload is broken" white-on-white bug.

   Listing what must NOT be styled cannot go stale: a type we have never heard
   of gets the field treatment by default, which is the right guess. The
   excluded ones are controls whose whole appearance is the browser's job
   (checkbox, radio, range, color) or that are buttons in disguise. An <input>
   with no type at all is a text field and is correctly matched here. */
input:not([type="checkbox"], [type="radio"], [type="hidden"], [type="range"],
          [type="color"], [type="submit"], [type="button"], [type="reset"],
          [type="image"]),
textarea, select {
  width: 100%;
  padding: var(--sp-3);
  min-height: 44px;
  /* Explicit line-height, not `font`'s. A <select> resolves `normal` against
     its own option metrics and lands ~2px shorter than a text input with
     identical padding — small, but visible when they sit side by side in a
     grid row. */
  font: inherit;
  line-height: 1.5;
  border: 1px solid var(--color-border);      /* a UI boundary: owes 3:1 (1.4.11) */
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
}

/* One explicit height for every single-line control, so a row of them lines up
   on BOTH edges. Identical padding is not enough: a <select> sizes its line box
   from its option metrics and comes out ~1px short, and a date input reserves
   room for the calendar picker and comes out ~2px tall. Measured on the
   Discount codes form, where five controls sat at three different heights.

   1.5em (not rem) matches the line-height above and tracks the control's own
   font, so bumping a field's font size grows the box with it. textarea is
   excluded on purpose — it must stay resizable. */
input:not([type="checkbox"], [type="radio"], [type="hidden"], [type="range"],
          [type="color"], [type="submit"], [type="button"], [type="reset"],
          [type="image"]),
select {
  block-size: calc(1.5em + (var(--sp-3) * 2) + 2px);
}

:is(input, textarea, select):focus { border-color: var(--color-primary); }
textarea { min-height: 9rem; resize: vertical; }
.form-help { font-size: .875rem; color: var(--color-text-muted); }
.form-status { font-weight: 600; }
/* Form status as a visible box (2026-11-13). The scripts set data-state to
   sending / ok / error; an empty status takes no space. */
.form-status:empty { display: none; }
.form-status[data-state] {
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-md, 10px);
  border: 1px solid var(--color-border);
  background: var(--color-surface, #fff);
  line-height: 1.45;
}
.form-status[data-state="error"] {
  color: var(--color-danger);
  border-color: color-mix(in srgb, var(--color-danger) 45%, transparent);
  background: color-mix(in srgb, var(--color-danger) 7%, transparent);
}
.form-status[data-state="ok"] {
  color: var(--color-success);
  border-color: color-mix(in srgb, var(--color-success) 45%, transparent);
  background: color-mix(in srgb, var(--color-success) 7%, transparent);
}
.form-status[data-state="sending"] { color: var(--color-text-muted); font-weight: 500; }
.hp { position: absolute; left: -10000px; opacity: 0; pointer-events: none; }

.site-footer { border-top: 1px solid var(--color-border); padding-block: var(--sp-12);
               background-color: var(--color-bg-alt); background-image: var(--pattern); }
.site-footer__grid {
  max-width: var(--content-max); margin-inline: auto; padding-inline: var(--sp-5);
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--sp-8);
}
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-footer__grid { grid-template-columns: 1fr; } }

.site-footer h4 {
  font-size: .75rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--color-text-muted); margin-bottom: var(--sp-4); font-weight: 700;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--sp-2); }
.site-footer a { color: var(--color-text); }
.site-footer__tagline, .site-footer__address { color: var(--color-text-muted); margin-top: var(--sp-3); font-style: normal; }
.site-footer__pay { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-5); }
.site-footer__pay span {
  font-size: .6875rem; font-weight: 700; letter-spacing: .04em;
  padding: var(--sp-1) var(--sp-2);
  border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  color: var(--color-text-muted);
}
.site-footer__bottom {
  max-width: var(--content-max); margin: var(--sp-8) auto 0; padding: var(--sp-6) var(--sp-5) 0;
  border-top: 1px solid var(--color-border);
  display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: space-between;
  font-size: .875rem; color: var(--color-text-muted);
}

.site-footer__bottom a { text-decoration: underline; text-underline-offset: 3px; color: var(--color-text-muted); }
/* Canonical Spark mark sizing — matches the flagship (lingoit.net/spark) and the
   rest of the fleet. Sized in em so it tracks the credit line, not in px.
   The box looks larger than the mark because the polygon fills only its own
   tightened viewBox (115 87 235 222); the original 0 0 436.04 396 box was ~49%
   empty padding, which is what made every earlier "make it bigger" bump fail. */
.spark-mark { display: inline-block; width: 1.75em; height: 1.75em; margin-left: 0.15em; vertical-align: -0.42em; }

.consent-banner {
  position: fixed; inset: auto 0 0 0; z-index: 900;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: var(--sp-4) var(--sp-6);
  padding: var(--sp-4) var(--sp-5);
  /* Matches the announcement strip — see the note there. The plum top rule is
     what keeps the bar readable as a separate layer now that it is no longer a
     black slab against the page. */
  background: var(--color-bg-sunk); color: var(--color-text);
  border-top: 2px solid var(--color-primary);
  box-shadow: 0 -8px 24px -12px rgba(43, 33, 36, .35);
  /* entrance state — the chassis JS toggles .is-visible on reveal/dismiss */
  transform: translateY(100%);
  opacity: 0;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out);
}
.consent-banner[hidden] { display: none; }
.consent-banner.is-visible { transform: none; opacity: 1; }
.consent-banner__text { max-width: 60ch; font-size: .9rem; margin: 0; }
.consent-banner__text a { color: inherit; text-decoration: underline; }
.consent-banner__actions { display: flex; gap: var(--sp-3); }

/* These three rules inverted themselves against the old near-black bar. With the
   bar now a tint of the page, they have to read the normal way round or the
   buttons vanish into it. */
.consent-banner .btn-ghost,
.consent-banner .btn:not(.btn-primary):not(.btn-accent) {
  color: var(--color-text);
  border-color: var(--color-border-strong);
  background: transparent;
}
.consent-banner .btn-ghost:hover { background: color-mix(in srgb, var(--color-text) 8%, transparent); }
/* "Got it" was a cream button on a black bar. On the tinted bar that would be a
   near-invisible cream-on-cream, so it becomes the ordinary plum button. */
.consent-banner .btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  border-color: var(--btn-primary-bg);
}

/* ----------------------------------------------------------------------------
   SELECTED CATEGORY — solid plum with white text.

   shop.css marks the active category with a soft plum tint, dark text, bold, and
   an inset LEFT rule. This inverts it instead: the whole pill goes plum and the
   label goes white.

   THREE CLASSES, NOT TWO. shop.css's own selector is
   `.shop-side__list a.is-active`, which is two classes and an element, and
   header.php loads theme.css BEFORE shop.css — so a matching selector here would
   tie and lose. Adding the `.shop-side` ancestor outranks it whatever the order.
   This has caught me four times on this site now.

   FONT-WEIGHT 700 IS KEPT ON PURPOSE. The comment on that rule in shop.css says
   the active state must not be carried by colour alone (WCAG 1.4.1) — it leans on
   weight plus a rule plus aria-current. The rule is gone, so the weight has to
   stay, and aria-current="true" is still emitted by render_category_sidebar().
   The inversion is also a luminance change, not just a hue change.

   White on this plum is 9.78:1, the figure site-config.php records. The count
   badge needs nothing: shop.css already sets `color: inherit` on it inside an
   active link, so it follows the label to white.
   -------------------------------------------------------------------------- */
.shop-side .shop-side__list a.is-active {
  background: var(--brand-primary);
  color: var(--brand-on-primary);
  font-weight: 700;
  box-shadow: none;             /* the inset left rule is replaced, not layered */
}
/* the generic hover tint would otherwise fight the plum on the selected item */
.shop-side .shop-side__list a.is-active:hover { background: var(--brand-primary); }

/* ----------------------------------------------------------------------------
   .story-split — copy beside a photo mosaic. Used on About for "Who is Candace".

   Stacks below 900px, copy first. 1fr 1.1fr above it, tipped towards the gallery
   because a mosaic needs width more than a paragraph does — at 1248px that is
   about 575px of column for the photos and 520px for the text, which is still
   inside a comfortable measure.

   THE COLUMN IS THE SAME HEIGHT AS THE MOSAIC — align-items is `stretch`, not
   `center` — but the text no longer stretches to fill it, and that was measured
   rather than chosen.

   It ran on `space-between` first, which did line the last paragraph up with the
   bottom of the last tile. The cost was 75px between every paragraph. The numbers:
   at 1440px the column is 612px tall and three short paragraphs are 388px, so
   224px has to go somewhere, and space-between puts it in the three gaps. Getting
   down to a normal ~24px gap while still spanning would need the copy to be about
   540px, which is roughly five more lines than exist.

   So the two goals are mutually exclusive AT THIS COPY LENGTH, and the gaps lose.
   The block is centred with a normal rhythm instead.

   WHEN CANDACE'S REAL BIOGRAPHY ARRIVES this is worth revisiting: the copy here is
   placeholder and deliberately thin (see about.php). Another paragraph or two and
   `justify-content: space-between` would span the column with ordinary spacing,
   which is the better look. The gap value below is then the floor rather than the
   whole story.
   -------------------------------------------------------------------------- */
.story-split { display: grid; gap: var(--sp-10); align-items: stretch; }
@media (min-width: 900px) { .story-split { grid-template-columns: 1fr 1.1fr; } }
.story-split__copy {
  display: flex; flex-direction: column;
  gap: var(--sp-5);
  justify-content: center;
}
/* 1.125rem is not a new size — it is what .lead already uses, the site's existing
   "larger body" step. Bigger type here does double duty: it reads better in a wide
   column, and because space-between only distributes what is LEFT OVER, taller
   copy directly shrinks the gaps between the paragraphs. The two requests pull the
   same way. */
.story-split__copy > p { font-size: 1.125rem; line-height: 1.65; }
/* the eyebrow and the h2 are one item to the space-between, not two, or the gold
   rule drifts away from the heading it belongs to */
.story-split__head h2 { margin-top: var(--sp-1); }

/* ----------------------------------------------------------------------------
   .photo-grid--compact — the same mosaic idea as the home page, sized for a
   column instead of the full width of the screen.

   TWO CLASSES ON EVERY OVERRIDE, and it is not decoration. The base .photo-grid
   goes to FIVE columns at 560px, which is right for a full-bleed block and wrong
   for one sitting in half a container: six photos in five columns leaves an
   orphan. A single-class .photo-grid--compact ties with .photo-grid on
   specificity and would then win or lose on source order alone. The same trap
   already bit .shop-checkout__grid--form, where shop.css loading after theme.css
   silently reverted a column ratio.

   COUNTS, as ever, are arithmetic:
     2 cols, no lead      6 / 2 = 3 rows                 exact  (stacked, < 900px)
     3 cols + 2x2 lead    4 + 5 = 9 cells = 3 x 3        exact  (beside the copy)
   Six photos is the only small count that tiles both, which is why it is six.
   Also worth knowing: the media queries are VIEWPORT based, not container based,
   so they are tuned for this one placement. Dropping this grid into a narrower
   box would need its own breakpoints.
   -------------------------------------------------------------------------- */
.photo-grid.photo-grid--compact {
  padding-inline: 0;             /* the full-bleed gutter is wrong inside a column */
  gap: var(--sp-3);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 900px) {
  .photo-grid.photo-grid--compact {
    gap: var(--sp-4);
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-auto-flow: dense;
  }
  .photo-grid--compact .photo-grid__item:nth-child(1) {
    grid-area: 1 / 1 / span 2 / span 2;
    aspect-ratio: auto;          /* the two rows it spans set its height */
  }
}

/* ----------------------------------------------------------------------------
   FAQ ACCORDION — the About page's story, one panel per heading.

   Built on native <details>/<summary>, NOT a JS widget. That is deliberate: the
   disclosure behaviour, the keyboard operation and the screen-reader semantics
   all come free and correct, it works with JS off, and base.css's whole reason
   for existing is that accessibility guarantees are not ours to re-implement
   badly. The only work here is hiding the default marker and drawing our own.

   The <h2> stays INSIDE the <summary>. Wrapping a heading in the summary keeps
   the page's heading outline intact — five h2s before, five after — while the
   summary supplies the button role. Dropping the h2 to style the summary
   directly would have flattened the outline for anyone navigating by heading.

   ALL PANELS START CLOSED. They briefly opened the first one; James asked for
   every tab shut on arrival, so the `open` attribute is gone from about.php. The
   trade is real and worth knowing rather than rediscovering: the section now
   presents as five plum bars and none of her story is visible until something is
   clicked. <details> content is still in the HTML and still indexed, so this
   costs discoverability by a reader, not by a crawler.

   SOLID PLUM, WHITE TEXT — and like .contact-aside, that means every inherited
   colour in here has to be re-pointed, not just the background:
     the h2            --color-heading is the plum itself, so invisible on plum
     the chevron       was --color-primary, same problem
     the links         "Where to find us" carries two of them
     the focus ring    --focus-ring is the plum too; base.css guarantees a visible
                       ring and it is not ours to quietly break
   White on this plum is 9.78:1, the figure site-config.php records, so body copy
   and 15px notes both clear AA with room to spare.

   Chevron is a rotated CSS square, not an icon font or an SVG — two lines of CSS
   for a shape this simple.
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: var(--sp-4); }

.faq__item {
  border-radius: var(--radius-md);
  background: var(--brand-primary);
  color: var(--brand-on-primary);
  transition: box-shadow var(--dur-base) var(--ease);
}
.faq__item[open] { box-shadow: var(--shadow-md); }

.faq__q {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5);
  cursor: pointer;
  list-style: none;             /* Firefox marker */
}
.faq__q::-webkit-details-marker { display: none; }   /* Safari/Chrome marker */
.faq__q h2 {
  font-size: 1.25rem;
  margin: 0;
  color: var(--brand-on-primary);   /* --color-heading is the plum: invisible here */
}
.faq__q::after {
  content: ""; flex: none;
  width: 9px; height: 9px;
  border-right: 2px solid var(--brand-on-primary);
  border-bottom: 2px solid var(--brand-on-primary);
  rotate: 45deg;                /* points down = closed */
  translate: 0 -2px;
  transition: rotate var(--dur-base) var(--ease);
}
.faq__item[open] .faq__q::after { rotate: 225deg; translate: 0 2px; }
@media (prefers-reduced-motion: reduce) {
  .faq__q::after, .faq__item { transition: none; }
}
/* white, not --focus-ring: that token IS this background colour */
.faq__q:focus-visible { outline: 2px solid var(--brand-on-primary); outline-offset: 2px; border-radius: var(--radius-md); }

.faq__a { padding: 0 var(--sp-5) var(--sp-5); }
.faq__a > * + * { margin-top: var(--sp-4); }
.faq__a ul { padding-left: var(--sp-6); }
.faq__a ul > li + li { margin-top: var(--sp-2); }
.faq__a a { color: var(--brand-on-primary); text-decoration: underline; text-underline-offset: 3px; }
.faq__a a:hover { text-decoration-thickness: 2px; }
.faq__a a:focus-visible { outline: 2px solid var(--brand-on-primary); outline-offset: 2px; }

/* ----------------------------------------------------------------------------
   .contact-aside — the "Other ways to reach us" panel, in solid plum.

   IT HAS ITS OWN CLASS FOR A REASON. This box used .admin-card, which is the
   ADMIN PANEL's class: shop.css uses it across 15 admin screens, and theme.css
   and shop.css are one stylesheet served to both. Painting .admin-card plum
   would have turned every card in Candace's dashboard plum too. The same trap
   already caught the home page's feature cards once.

   White on this plum is 9.78:1, which is the figure site-config.php records for
   --brand-on-primary, so every line in here can be plain white and still clear
   AA comfortably. Secondary lines are distinguished by SIZE, not by a muted
   colour — --color-text-muted is a dark grey chosen against cream and is close
   to unreadable on plum, so those inline colours were stripped out of the markup
   rather than overridden here.

   The focus ring is re-declared: --focus-ring is the plum itself, which is
   invisible against a plum panel. base.css guarantees a visible ring and it is
   not ours to quietly break, so links in here get a white one.
   -------------------------------------------------------------------------- */
.contact-aside {
  background: var(--brand-primary);
  color: var(--brand-on-primary);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  box-shadow: var(--shadow-md);
}
.contact-aside h2 {
  color: var(--brand-on-primary);
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  margin-bottom: var(--sp-5);
}
.contact-aside strong { color: var(--brand-on-primary); }
.contact-aside a { color: var(--brand-on-primary); text-decoration: underline; text-underline-offset: 3px; }
.contact-aside a:hover { text-decoration-thickness: 2px; }
.contact-aside a:focus-visible { outline: 2px solid var(--brand-on-primary); outline-offset: 2px; }
/* the quieter lines: same white, smaller, and slightly open-tracked so a run of
   small text on a saturated ground stays readable */
.contact-aside .contact-aside__note { font-size: .9375rem; letter-spacing: .005em; }

/* ----------------------------------------------------------------------------
   PHOTO GRID — the gallery at the foot of the home page. A soft mosaic: one
   photo given the room it deserves, the rest around it.

   NO ARCH HERE, deliberately. The arch is the site's photo frame and it is on
   every hero and every card, but six arches in one block read as a row of
   tombstones — James rejected it on sight. These corners are var(--radius-md),
   the same 10px already on the cards and the buttons, so the block still belongs
   to the design without repeating its signature shape. The layout does the work
   a frame would otherwise have to.

   Also NOT .shop-grid with the text stripped out. That grid is cards: border,
   body, blurb, hover lift, a stretched link over the whole thing.

   NO HOVER TREATMENT, on purpose. theme.css sets the rule up at the hero: "the
   hero image carries the arch but no hover behaviour: it is not a link, and
   motion on something you cannot click is noise." These tiles are not links
   either. If they ever become links — click to enlarge, or through to a product —
   .shop-card's lift plus its 1.03 image scale is the house pattern to copy.

   FULL BLEED, WITH A GUTTER. The grid is NOT inside .container — it is a direct
   child of the <section>, which has padding-block only, so it spans the full width
   of the page. Only the heading above it stays in the content column. There is no
   horizontal overflow risk in that because the grid is exactly 100% of the section;
   the thing to avoid is 100vw, which includes the scrollbar and would push the page
   sideways.

   The tiles are inset by padding-inline: var(--sp-5) rather than sitting flush
   against the glass, which read as an accident rather than a decision. That value
   is not arbitrary — it is exactly .container's own padding-inline, so below
   var(--content-max), where the container is full width, the first and last tiles
   line up precisely with the heading text above them. Above that width the gallery
   is deliberately wider than the text column and the alignment no longer applies,
   which is the point of the block.

   NOTE FOR ANYONE MEASURING THIS GRID: the padding is on the grid itself, so
   getBoundingClientRect() still returns the full page width and the first column
   starts at box.left + paddingLeft, not box.left. A cell-position check that
   forgets that reports phantom holes.

   THE COLUMN COUNTS ARE ARITHMETIC, NOT TASTE. Ten photos only tile a rectangle
   cleanly at certain widths, and a count that does not divide leaves a visible
   hole in the last row of a full-bleed block:

     2 cols  10 / 2 = 5 rows              exact
     5 cols  10 / 5 = 2 rows              exact
     3, 4, 6 cols even                    all leave a hole
     6 cols with 2 big + 2 tall + 6 small
       = 8 + 4 + 6 = 18 cells = 6 x 3     exact  <- the desktop mosaic

   So: 2 across on a phone, 5 across on a tablet, and the mosaic from 1024px. A
   4 x 4 mosaic (two big tiles, sixteen cells) also tiles exactly, but full bleed
   at four columns makes the section about as tall as the viewport is wide — 6 x 3
   is roughly half that.

   PHOTO COUNT IS LOAD-BEARING. The desktop mosaic places four specific children
   by nth-child, so it only works at exactly ten. index.php adds --mosaic only on
   a count of ten; at any other count every tile stays square and the block falls
   back to the even grids, which is tidy rather than broken.

   NO ARCH HERE, deliberately. The arch is the site's photo frame and it is on
   every hero and every card, but six of them in one block read as a row of
   tombstones. These corners are var(--radius-md), the same 10px already on the
   cards and the buttons, so the block still belongs without repeating the
   signature shape. The layout does the work a frame would otherwise have to.

   NO HOVER TREATMENT, on purpose. theme.css sets the rule up at the hero: "the
   hero image carries the arch but no hover behaviour: it is not a link, and
   motion on something you cannot click is noise." These tiles are not links
   either. If they ever become links — click to enlarge, or through to a product —
   .shop-card's lift plus its 1.03 image scale is the house pattern to copy.

   The tiles are square and the images are object-fit: cover, so the grid holds
   its shape whatever Candace swaps in, portrait or landscape.
   -------------------------------------------------------------------------- */
.photo-grid {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: repeat(2, 1fr);
  padding-inline: var(--sp-5);   /* matches .container — see the note above */
}

.photo-grid__item {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  /* A tint rather than white, so a photo that has not arrived yet reads as a
     frame waiting for it instead of a hole in the page. Same trick as
     .shop-card__media. */
  background: var(--color-bg-sunk);
  overflow: hidden;
}
.photo-grid__item img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (min-width: 560px) {
  .photo-grid { grid-template-columns: repeat(5, 1fr); }
}

/* THE MOSAIC. Six columns, three rows, ten photos:

     row 1   [ 1 1 ][ 2 ][ 3 ][ 4 ][ 5 ]
     row 2   [ 1 1 ][ 6 6 ][ 4 ][ 5 ]
     row 3   [ 7 ][ 8 ][ 6 6 ][ 9 ][10 ]

   Children 1 and 6 are the big squares, offset diagonally so the block does not
   read as two columns; 4 and 5 are tall portraits, which suits a necklace on a
   bust far better than a landscape crop would. The remaining six place themselves
   into what is left — `dense` is what lets 7 and 8 backfill row 3 to the LEFT of
   child 6, which sparse packing would refuse to do, leaving two holes.

   grid-template-rows is 1fr x 3 rather than auto: the square 1x1 children set the
   row height, the fr keeps all three equal, and that is what makes the big tiles
   land actually square across two of them. The four spanning children need
   aspect-ratio: auto or their own 1/1 would fight the rows they are spanning. */
@media (min-width: 1024px) {
  .photo-grid--mosaic {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-auto-flow: dense;
  }
  .photo-grid--mosaic .photo-grid__item:nth-child(1) { grid-area: 1 / 1 / span 2 / span 2; }
  .photo-grid--mosaic .photo-grid__item:nth-child(4) { grid-area: 1 / 5 / span 2 / span 1; }
  .photo-grid--mosaic .photo-grid__item:nth-child(5) { grid-area: 1 / 6 / span 2 / span 1; }
  .photo-grid--mosaic .photo-grid__item:nth-child(6) { grid-area: 2 / 3 / span 2 / span 2; }
  .photo-grid--mosaic .photo-grid__item:nth-child(1),
  .photo-grid--mosaic .photo-grid__item:nth-child(4),
  .photo-grid--mosaic .photo-grid__item:nth-child(5),
  .photo-grid--mosaic .photo-grid__item:nth-child(6) { aspect-ratio: auto; }
}

/* ----------------------------------------------------------------------------
   ORNAMENTS — the plum charm illustrations in /images/illustrations/.

   The first absolutely positioned decoration on this site. Everything else
   decorative is a background layer, a border-radius or an ::after on something
   in the flow, so there was no containing block to hang these off.

   .ornament-anchor is that containing block, and it goes ONLY on the specific
   boxes that carry an ornament. It is deliberately not `position: relative` on
   .container: that class is on every page including the whole admin panel, and
   a new containing block there would reposition anything absolute inside it.

   These are decoration and nothing else, so every one of them ships alt="" and
   aria-hidden="true", and pointer-events: none here means an ornament can never
   eat a click on the card, link or button it overlaps.

   HORIZONTAL OVERFLOW IS THE THING TO WATCH. A negative `right` is only safe up
   to the gutter it is bleeding into — .container has padding-inline: var(--sp-5),
   i.e. 20px, so -1rem (16px) still lands inside the page and -1.5rem would push
   a scrollbar onto every phone. Negative `bottom` is free: section padding is
   var(--sp-12) and vertical overflow does not scroll the body sideways.
   -------------------------------------------------------------------------- */
.ornament-anchor { position: relative; }

.ornament {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  width: var(--ornament-size, 7.8125rem);   /* 125px */
  height: auto;
  margin: 0;              /* .prose > * + * would otherwise add rhythm to it */

  /* Rocking on its base, not swinging from a hook: the necklace illustrations
     stand on a plinth, so the bottom edge is where they would actually pivot.
     ease-in-out is what makes it read as steady — a pendulum slows at the top of
     each swing, and `linear` here looks like a machine.

     THE AMPLITUDE IS CAPPED BY OVERFLOW, not by taste. Rotating a box that
     already overhangs its container pushes its top corners further out: at 4deg
     about the bottom edge, a 125px ornament reaches ~8.6px past its own right
     edge. That has to stay inside the gutter it is bleeding into, which is
     .container's var(--sp-5) = 20px. Raising this figure means lowering the
     negative `right` on .ornament--hero to match, or the page gets a horizontal
     scrollbar on every viewport narrower than var(--content-max). */
  transform-origin: 50% 100%;
  animation: ornament-rock 4.5s ease-in-out infinite;
}

@keyframes ornament-rock {
  from, to { transform: rotate(-4deg); }
  50%      { transform: rotate(4deg); }
}

/* An infinite animation is exactly what this media query exists for. The site
   already parks .reveal and the consent banner here; the ornaments join them. */
@media (prefers-reduced-motion: reduce) {
  .ornament { animation: none; }
}

/* .hero__media > img paints the hero photograph: the arch radius, a 5px plum
   border tracing it, and shadow-lg. An ornament sitting in that same box is not
   the photograph. Two classes beats that one-class-one-element selector, so
   this does not depend on which rule comes first in the file. */
.hero__media > .ornament { border: 0; border-radius: 0; box-shadow: none; }
.prose > .ornament { margin: 0; }

/* Breaking the bottom-right corner of a hero image, the way the strawberry
   breaks the photo edge in the reference Flora Cafe shot.

   THE CREAM HALO IS BACK. Three stacked cream drop-shadows faking an outline
   around the strokes: invisible where the ornament sits on the cream page, and
   doing all its work where it crosses the photograph. About two thirds of this
   ornament lands on the market shot, which has a blue sky and a red car in it, and
   a bare 2px plum line over that competes with the photo instead of reading on top
   of it.

   It was removed on request 2026-08-11 and restored the same day. The removal is
   what proved it earns its place, so leave it unless someone asks again.

   Three passes on purpose: two tight ones for density, one soft one to carry the
   line over a light patch. Do NOT swap this for a solid background — that would
   put a cream block over the photograph.

   This is the ONLY ornament that carries it. The interior pages use
   .ornament--page, which sits on the pattern and never needed one. */
.ornament--hero {
  /* -0.5rem, not the -1rem this started at. The rock sweeps the top corners
     ~8.6px past the ornament's own right edge, and 16px of overhang plus that
     sweep does not fit in the 20px gutter. Measured over CDP at ten viewport
     widths after the change: no overflow at any of them. */
  right: -0.5rem;
  bottom: -2.5rem;
  filter:
    drop-shadow(0 0 1.5px var(--brand-bg))
    drop-shadow(0 0 1.5px var(--brand-bg))
    drop-shadow(0 0 4px var(--brand-bg));
}

/* Sitting ON the bottom edge of a .band section, at the right-hand end of the
   content column. It STRADDLES that edge rather than sitting inside the band,
   and that is what keeps it off the content. Both places this is used proved the
   point: inside the container on the home page it overlapped the fourth category
   card the moment a fourth category had products (that grid is built from the
   database, so its height is not ours to predict), and on the charm-bar page it
   landed squarely on the Booking paragraph.

   `bottom` is always half the ornament, so its centre lands exactly on the seam.
   Expressed as a calc rather than a number so the two cannot drift apart when the
   size changes — which they already nearly did once.

   THE BOX IS NOW BIGGER THAN THE GAP IT SITS IN, and that is fine. Centred on the
   seam, a 125px box reaches 62.5px each way, while the two sections only offer
   var(--sp-12) = 48px of padding each. What saves it is that these illustrations
   do not fill their own frame: the ink in charm-bracelet-1 and -3 runs from about
   y19 to y109 of the 125, so the drawn part reaches ~43px above the seam and
   ~47px below and still clears the content on both sides. Swap in an illustration
   that is drawn closer to its edges and that stops being true — check it, or give
   these two sections more bottom padding.

   The `right` is the standard full-bleed-to-container alignment: this ornament
   hangs off the SECTION, which runs edge to edge, but has to line up with the
   78rem content column inside it. max() collapses to the plain gutter once the
   viewport is narrower than the container, where that calc would go negative. */
.ornament--band {
  right: max(var(--sp-5), calc((100% - var(--content-max)) / 2 + var(--sp-5)));
  bottom: calc(var(--ornament-size) / -2);
  /* Negative delay starts it part-way in, so the two ornaments on the home page
     are not rocking in lockstep, with no pause before the first swing. */
  animation-delay: -1.4s;
}

/* The illustrations stop reading below ~64px (the bracelets) and ~80px (the
   necklaces, which carry the display bust). Rather than shrink them past that,
   the phone size only comes down to 5.3125rem — 85px — and the offsets stay put.
   .ornament--band's `bottom` follows automatically: it is half of this. */
@media (max-width: 700px) {
  .ornament { --ornament-size: 5.3125rem; }   /* 85px */
  .ornament--hero { bottom: -1.25rem; }
}

/* ----------------------------------------------------------------------------
   A WIDER FORM COLUMN, done in a media query instead of inline.

   shop.css:301-302 makes .shop-checkout__grid a single column and only splits it
   in two at 900px, which is correct. The charm-bar enquiry section wanted a wider
   form column than the template's `1fr 22rem` and asked for it with an inline
   `style="grid-template-columns:1.4fr 1fr"`. An inline style outranks a media
   query, so that grid stayed two columns all the way down: at a 320px viewport
   the sidebar could not fit its own padding and pushed the document 21px wider
   than the screen, giving the whole page a horizontal scrollbar.

   Same proportions, but only once there is room for them.

   TWO CLASSES, NOT ONE, and that is load order rather than style. header.php
   loads base.css, then theme.css, then shop.css. shop.css:302 sets
   `1fr 22rem` on .shop-checkout__grid inside this same breakpoint, so a
   single-class rule here ties on specificity and LOSES to it. Measured with one
   class: the sidebar came out 352px, which is 22rem exactly — shop.css winning
   and the 1.4fr 1fr ratio quietly gone from every desktop view. Two classes
   outrank it without !important.

   contact.php:36 carries the identical inline override and therefore the identical
   bug. It is left as-is because it was outside what was asked for; swapping it to
   this class is the whole fix.
   -------------------------------------------------------------------------- */
@media (min-width: 900px) {
  .shop-checkout__grid.shop-checkout__grid--form { grid-template-columns: 1.4fr 1fr; }
}

.reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

html:not(.js) .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .consent-banner { transform: none; opacity: 1; transition: none; }
}


/* ============================================================================
   BUILD YOUR OWN (home) + WHOLESALE INVITE. Added 2026-10-15 for the
   three-step builder Candace asked for. Gold step numbers because she liked
   the yellow; --brand-gold is decorative, so the digit is dark ink on it.
   ============================================================================ */
.build-steps { display: grid; gap: var(--sp-12); counter-reset: step; }
.build-step { display: grid; gap: var(--sp-5); }
.build-step__head { display: flex; gap: var(--sp-4); align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
.build-step__title { display: flex; gap: var(--sp-4); align-items: center; }
.build-step__num {
  flex: none; width: 3rem; height: 3rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand-gold); color: var(--brand-neutral);
  font-family: var(--font-display); font-weight: 700; font-size: 1.375rem;
}
.build-step__title h3 { margin: 0; }
.build-step__title p { margin: var(--sp-1) 0 0; color: var(--color-text-muted); max-width: 46ch; }

/* Build rows. Were sideways scrollers; Candace asked for two across on phones
   and scrolling down instead (2026-10-27). Now a wrapping grid: two columns on
   a phone, as many as fit above that. The class name stayed .swipe so the
   markup did not have to change. */
.swipe {
  display: grid; gap: var(--sp-5) var(--sp-4);
  grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
}
.swipe--charms { grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); }
@media (max-width: 600px) {
  .swipe, .swipe--charms { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4) var(--sp-3); }
}
.swipe-card {
  display: grid; gap: var(--sp-2); align-content: start; text-decoration: none; color: var(--color-text);
}
/* Last tile in each row: same arch as a photo, plum, an arrow, and the link
   text under it like every other name (Candace, 2026-10-27). */
.swipe-card__more {
  display: grid; place-items: center; aspect-ratio: 1;
  border-radius: var(--arch-card); background: var(--color-primary); color: #fff;
  transition: background var(--dur-fast) var(--ease);
}
.swipe-card--more span:last-child { color: var(--color-primary); }
.swipe-card--more:hover .swipe-card__more { background: var(--color-primary-hover); color: #fff; text-decoration: none; }
.swipe-card img {
  width: 100%; aspect-ratio: 1; object-fit: cover; display: block;
  border-radius: var(--arch-card); border: 1px solid var(--color-border); background: #fff;
}
.swipe-card span { font-weight: 600; font-size: .9375rem; }
.swipe-card:hover span { color: var(--color-primary); text-decoration: underline; }

.personal-grid { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fill, minmax(10.5rem, 15rem)); }

/* Wholesale invite (home) */
.wholesale-invite {
  display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; justify-content: space-between;
  padding: var(--sp-8); border-radius: var(--radius-lg);
  background: var(--color-primary); color: var(--brand-on-primary);
}
.wholesale-invite h2 { color: var(--brand-on-primary); margin: 0 0 var(--sp-2); }
.wholesale-invite p { margin: 0; max-width: 52ch; }
.wholesale-invite .btn { background: var(--brand-bg); color: var(--color-primary); border-color: var(--brand-bg); }

/* ============================================================================
   NIGHT HERO — home page (2026-10-27). Replaces the arched carousel.
   Markup and the reasoning for the photo handling are in index.php.

   Text sits over a photograph, so its contrast leans on the shade in
   .hero-night__photo::after plus the text-shadow. axe reports that as "needs
   review", not a failure: it cannot measure text over an image.
   ============================================================================ */
.hero-night {
  --night: #1f1418;
  --night-gold: #f2d98f;
  position: relative;
  background: var(--night);
  overflow: hidden;
  padding-block: 0;   /* the global section padding would show as a dark strip over the phone photo */
}
.hero-night__photo { position: absolute; inset: 0; overflow: hidden; }
.hero-night__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 0% 100%; }
.hero-night__photo img[data-k="0"] { object-position: 0% 0%; }   /* Auntie: keep the chain at the top */
.hero-night__main { position: relative; transition: opacity .5s ease; }
.hero-night__bg {
  position: absolute; inset: -40px;
  width: calc(100% + 80px) !important; height: calc(100% + 80px) !important;
  filter: blur(64px) brightness(.72) saturate(.9);   /* close to the photo's own brightness so its edge has no step; the left shade below keeps the text dark */
}
@media (min-width: 761px) {
  .hero-night__main {
    position: absolute; top: 0; right: 0;
    width: auto !important; max-width: 100%; height: 100%;
    /* 2026-11-03: eased curve, mostly solid by 16% so charms near the photo's
       left edge stay sharp (a 60% fade blurred them out; 22% linear left a seam). */
    --fade: linear-gradient(90deg,
      rgba(0,0,0,0) 0%, rgba(0,0,0,.14) 3%, rgba(0,0,0,.34) 6%, rgba(0,0,0,.55) 9%,
      rgba(0,0,0,.73) 12%, rgba(0,0,0,.86) 15%, rgba(0,0,0,.95) 19%, #000 24%);
    -webkit-mask-image: var(--fade);
            mask-image: var(--fade);
  }
}
.hero-night__photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(31,20,24,.55) 0%, rgba(31,20,24,.3) 18%, rgba(31,20,24,.1) 34%, rgba(31,20,24,0) 50%),
    linear-gradient(90deg, rgba(31,20,24,.86) 0%, rgba(31,20,24,.74) 20%, rgba(31,20,24,.55) 34%,
      rgba(31,20,24,.32) 46%, rgba(31,20,24,.14) 58%, rgba(31,20,24,.04) 68%, rgba(31,20,24,0) 76%);
}
.hero-night__inner {
  position: relative;
  display: grid; align-content: end; gap: 22px;
  min-height: max(540px, min(calc(100vw * 9 / 16), 80vh));
  padding-block: 64px 72px;
}
.hero-night h1 { color: #fff; font-size: clamp(2.4rem, 4.6vw + 1rem, 4.4rem); margin: 0; }
@media (min-width: 1000px) { .hero-night h1 { white-space: nowrap; } }
.hero-night .eyebrow { color: var(--night-gold); margin: 0; }
.hero-night .lead { color: #f3e8ec; max-width: 72ch; margin: 0; }
@media (max-width: 1100px) { .hero-night .lead { max-width: 56ch; } }
.hero-night h1, .hero-night .lead { text-shadow: 0 2px 18px rgba(31,20,24,.7); }
.hero-night .hero__actions { margin-top: 0; }
/* :not() chain matches the brass outline rule's (0,3,0) and adds one class, or
   that rule wins and paints brass text on the dark ground. */
.hero-night .btn:not(.btn-primary):not(.btn-accent) { background: transparent; color: #fff; border-color: #fff; }
.hero-night .btn:not(.btn-primary):not(.btn-accent):hover { background: rgba(255,255,255,.12); }
.hero-night .btn-primary { background: var(--night-gold); border-color: var(--night-gold); color: var(--night); }
.hero-night .btn-primary:hover { background: #f7e3ab; }
.hero-night .btn:focus-visible { outline: 2px solid var(--night-gold); outline-offset: 3px; }


@media (max-width: 760px) {
  .hero-night { --ph: clamp(340px, 96vw, 480px); }
  .hero-night__photo { position: relative; inset: auto; height: var(--ph); }
  .hero-night__photo img, .hero-night__photo img[data-k] { object-position: 48% 40%; }
  .hero-night__bg { display: none; }
  .hero-night__photo::after { background: linear-gradient(0deg, rgba(31,20,24,1) 0%, rgba(31,20,24,0) 26%); }
  .hero-night__inner { min-height: 0; align-content: start; gap: 18px; padding-block: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-night__main { transition: none; }
}

/* SIGN-UP POP-UP (includes/signup-popup.php). margin:auto centres a modal
   <dialog>; the reset elsewhere zeroes margins and pins it top-left. */
.signup-pop {
  box-sizing: border-box; margin: auto; width: min(30rem, calc(100vw - 32px)); max-height: calc(100dvh - 32px);
  padding: var(--sp-8) var(--sp-6) var(--sp-6); border: 0;
  border-radius: var(--radius-lg); background: var(--color-bg); color: var(--color-text);
  box-shadow: var(--shadow-lg, 0 20px 50px rgba(31,20,24,.3));
}
.signup-pop::backdrop { background: rgba(31,20,24,.6); }
.signup-pop h2 { margin: var(--sp-2) 0 var(--sp-3); font-size: clamp(1.6rem, 4vw + .5rem, 2.1rem); color: var(--color-primary); }
.signup-pop h2 { padding-right: 32px; }
.signup-pop .eyebrow { margin: 0; }
.signup-pop__close {
  position: absolute; top: 12px; right: 12px; width: 44px; height: 44px;
  display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--color-text-muted); cursor: pointer;
}
.signup-pop__close:hover { background: var(--color-bg-sunk); color: var(--color-text); }
.signup-pop form { display: grid; gap: var(--sp-3); margin-top: var(--sp-5); text-align: left; }
.signup-pop__field { display: grid; gap: var(--sp-1); }
.signup-pop__field label { font-weight: 600; font-size: .9375rem; }
.signup-pop__consent { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-2); align-items: start; font-size: .8125rem; color: var(--color-text-muted); }
.signup-pop__consent input { width: 1.125rem; height: 1.125rem; margin-top: .15rem; }
.signup-pop__msg { margin: 0; color: var(--color-danger, #a4262c); font-weight: 600; font-size: .9375rem; }
.signup-pop form .btn { width: 100%; justify-content: center; }
.signup-pop__fine { margin: var(--sp-3) 0 0; font-size: .8125rem; color: var(--color-text-muted); }
.signup-pop__code {
  margin: var(--sp-4) 0; padding: var(--sp-3) var(--sp-5); width: fit-content;
  border: 2px dashed var(--color-primary); border-radius: var(--radius-md);
  font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; letter-spacing: .06em; color: var(--color-primary);
}
.signup-pop__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-4); }

.story-split.story-split--portrait { align-items: start; }
@media (min-width: 900px) {
  .story-split.story-split--portrait { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
}
.story-portrait { margin: 0; }
.story-portrait img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 2 / 3; object-fit: cover; object-position: 50% 30%;
  border-radius: var(--arch-hero);
  box-shadow: var(--shadow-md);
}
@media (min-width: 900px) {
  .story-portrait { position: sticky; top: 7rem; }
}
@media (max-width: 899px) {
  .story-portrait { max-width: 28rem; margin-inline: auto; }
}
.story-letter { justify-content: flex-start; gap: var(--sp-4); }
.story-pull {
  margin: var(--sp-2) 0; padding: var(--sp-2) 0 var(--sp-2) var(--sp-5);
  border-left: 3px solid var(--color-accent);
}
.story-pull p {
  margin: 0; font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); line-height: 1.35;
  color: var(--color-primary);
}
.story-prayer { max-width: var(--reading-max); text-align: center; }
.story-prayer h2 { margin-bottom: var(--sp-5); }
.story-prayer p { margin: 0 auto var(--sp-4); font-size: 1.125rem; line-height: 1.65; }
.story-prayer .eyebrow::after { margin-inline: auto; }
.story-prayer .btn { margin-top: var(--sp-4); }
.story-signoff { text-align: center; }
.story-signoff p { margin-inline: auto; }
.story-signoff__name {
  font-family: var(--font-display); font-style: italic; font-size: 1.5rem;
  color: var(--color-primary); margin-top: var(--sp-1);
}
.story-signoff__motto {
  margin-top: var(--sp-6); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; color: var(--color-accent-text);
}
.story-prayer h2, .story-signoff p { text-wrap: balance; }
@media (max-width: 599px) {
  .story-prayer { text-align: left; }
  .story-prayer .eyebrow::after { margin-inline: 0; }
}

/* ============================================================================
   MOBILE-2026-11-13 (Chance: "fix the mobile version of the site").
   Phones only (600px and under). Measured at 375px: the headline sat at 663px,
   under Safari's toolbars, and "Make it yours in three steps" was 4,463px tall.
   - announcement bar: smaller type, less padding (three lines became two)
   - hero photo 240-300px instead of 340-480px, so the headline is on screen
   - build rows stay two across (Candace, 2026-10-27) but show 3 bases and
     5 charms plus the "See all" tile, so each row ends even
   ============================================================================ */
@media (max-width: 600px) {
  .shop-announce { font-size: .8125rem; }
  .shop-announce__inner { padding: 6px var(--sp-4); gap: 2px 8px; line-height: 1.35; }
  .hero-night { --ph: clamp(240px, 66vw, 300px); }
  .hero-night__inner { padding-block: 26px 40px; gap: 14px; }
  .swipe:not(.swipe--charms) > .swipe-card:not(.swipe-card--more):nth-child(n+4) { display: none; }
  .swipe--charms > .swipe-card:not(.swipe-card--more):nth-child(n+6) { display: none; }
}

/* CONTACT-ASIDE-2026-11-13: "Other ways to reach us" as four icon rows
   (contact.php). Gold icon in a soft circle, a bold label, one short line. */
.contact-aside__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-5); }
.contact-aside__list li { display: grid; grid-template-columns: 2.75rem 1fr; gap: var(--sp-4); align-items: start; margin: 0; }
.contact-aside__icon {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: rgba(255, 255, 255, .12); color: var(--brand-gold);
}
.contact-aside__label { display: block; font-weight: 700; font-size: 1rem; margin-bottom: 2px; color: var(--brand-on-primary); }
.contact-aside__list li > div { font-size: .9375rem; line-height: 1.45; padding-top: 2px; }
.contact-aside a.contact-aside__big { font-size: 1.25rem; font-weight: 700; text-decoration: none; letter-spacing: .01em; }
.contact-aside a.contact-aside__big:hover { text-decoration: underline; }
.contact-aside a.contact-aside__btn {
  display: inline-block; margin-top: var(--sp-2); text-decoration: none;
  background: var(--brand-bg); color: var(--brand-primary); border-color: var(--brand-bg);
  padding: .55rem 1rem; font-size: .9375rem;
}
.contact-aside a.contact-aside__btn:hover { background: #fff; color: var(--brand-primary); text-decoration: none; }

/* CATEGORY-JUMP-2026-11-13: category links end in #products so a shopper lands
   on the first product, not the top of the page. Clear the sticky header. */
#products { scroll-margin-top: calc(var(--header-h, 76px) + 14px); }

/* NAV-MOBILE-CUTE-2026-11-13 (Chance: the phone menu was "pretty bland").
   Brand logo on top, Fraunces links in plum with gold hairlines, a soft pill on
   the current page, round plum close button, the site's dot pattern behind, and
   a foot with "Build your own", the tagline and the phone number. Only children
   are styled here; the popover's own display/position rules are untouched. */
.nav-mobile { background-image: var(--pattern); padding-top: var(--sp-6); }
.nav-mobile__brand { display: block !important; width: 104px; padding: 0 !important; margin: 0 0 var(--sp-5) var(--sp-4); }
.nav-mobile__brand img { display: block; width: 100%; height: auto; }
.nav-mobile__close {
  border-radius: 50%; background: var(--brand-primary); border-color: var(--brand-primary);
  color: #fff; font-size: 1.5rem; box-shadow: 0 4px 12px rgba(109, 47, 71, .25);
}
.nav-mobile__list { gap: 0 !important; }
.nav-mobile__list > li { border-bottom: 1px solid color-mix(in srgb, var(--brand-gold) 38%, transparent); }
.nav-mobile__list > li:last-child { border-bottom: 0; }
.nav-mobile__list > li > a,
.nav-mobile__list > li > details > summary {
  font-family: var(--font-display); font-size: 1.375rem; font-weight: 600; letter-spacing: -.005em;
  color: var(--brand-primary); padding: var(--sp-3) var(--sp-4); border-radius: 999px; margin-block: 4px;
}
.nav-mobile__list > li > a[aria-current="page"] {
  background: color-mix(in srgb, var(--brand-primary) 10%, transparent); color: var(--brand-primary);
}
.nav-mobile__list > li > a:hover,
.nav-mobile__list > li > details > summary:hover { background: color-mix(in srgb, var(--brand-primary) 6%, transparent); }
.nav-mobile__cats { padding: 0 0 var(--sp-3) var(--sp-3) !important; }
.nav-mobile__cats a { font-size: 1rem; font-weight: 500; padding-block: 6px !important; color: var(--color-text); }
.nav-mobile__cats img { border-radius: 50%; border-color: color-mix(in srgb, var(--brand-gold) 45%, transparent); }
.nav-mobile__foot {
  margin-top: var(--sp-6); padding: var(--sp-6) var(--sp-4) 0; text-align: center;
  border-top: 1px solid color-mix(in srgb, var(--brand-gold) 38%, transparent);
}
.nav-mobile a.nav-mobile__build { display: flex; width: 100%; color: #fff; padding: var(--sp-3) var(--sp-5); }
.nav-mobile a.nav-mobile__build:hover { color: #fff; }
.nav-mobile__tag {
  font-family: var(--font-display); font-style: italic; font-size: 1.125rem;
  color: var(--brand-primary); margin: var(--sp-5) 0 var(--sp-1);
}
.nav-mobile a.nav-mobile__phone { display: inline-block; padding: var(--sp-1) var(--sp-2); font-weight: 600; color: var(--color-text-muted); }

/* ===== CART-ARRANGE-2026-11-13: build your own from the cart ============== */
.charm-arrange {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--sp-3) var(--sp-4); align-items: center;
  padding: var(--sp-4) var(--sp-5); margin-bottom: var(--sp-4);
  background: var(--color-primary-soft); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
}
.charm-arrange__icon {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  background: #fff; color: var(--color-primary); border: 1px solid var(--color-border);
}
.charm-arrange__text p { margin: 0; font-size: .9375rem; color: var(--color-text-muted); }
.charm-arrange__text .charm-arrange__title { font-family: var(--font-serif, inherit); font-size: 1.125rem; font-weight: 700; color: var(--color-heading, var(--color-text)); margin-bottom: 2px; }
.charm-arrange__btn { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 700px) {
  .charm-arrange { grid-template-columns: auto minmax(0, 1fr) auto; }
  .charm-arrange__btn { grid-column: auto; }
}
@media (max-width: 480px) { .charm-arrange__btn { justify-self: stretch; text-align: center; } }

/* CART-CODE-2026-11-13: after Apply, land back at the discount box. */
.shop-code-anchor { scroll-margin-top: calc(var(--header-h, 80px) + 16px); }
.shop-flash--code { margin: 0 0 var(--sp-2); }
/* CART-ARRANGE buttons (2026-11-13, second pass) */
.charm-arrange__btns { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-4); }
.charm-arrange__link { font-weight: 700; color: var(--color-primary); }
@media (min-width: 700px) { .charm-arrange__btns { grid-column: auto; flex-direction: column; align-items: flex-end; } }
