/* ==========================================================================
   shop.css — JMM Florida SHOP (/, /beauty, /models, /custom, /story, product
   pages, /policy, /tos, /privacy, 404).

   Source: designs/final/styles.css (approved), SHOP WINGS ONLY. Mr. Dee's
   repair lives in assets/css/repair.css; nothing here styles the repair site.
   Dropped from the design: .wing-workshop, .wing-workshop-light, the repair
   door (.door-repair, .btn-repair, .btn-repair-tel), .sheet-photo-card, and
   the whole repair page block (.repair-hero, .cta-3, .card-figure, .callband,
   .phone-display, .hours, .areas, .rates, .service*, .brands, .cta-big).
   Added for the shop: two-door home hero + custom-orders link (.door-more),
   the footer's discreet cross-link (.footer-cross), forms (/custom request,
   engraving text), the product page (.pdp*, option pills), and a small
   contract-class layer (STACK.md §8) for pages not yet on design markup.

   Two layers of tokens:
   1. Raw tokens (colour, type, space, radius) on :root.
   2. --wing-* aliases. Components read only these, so ONE class on a section
      (or on <main>) re-themes everything inside it:

        (no class)            shop default: paper ground, teal accent
        .wing-beauty          pearl ground, white cards, gold hairlines,
                              lighter display type, no orange
        .wing-tint            turquoise-tint band
        .wing-models          paper ground, softer corners
        .wing-navy            dark band (home contact, display band, footer)

   Body classes (.page-<slug> .site-shop .theme-beauty|models) set page-level
   details such as the colour of the current-page marker in the header.
   Contrast for every text/ground pair used is recorded in designs/final/NOTES.md.
   ========================================================================== */

:root {
  /* ---- Raw colour ------------------------------------------------------- */
  --ink: #0F1F3A;          /* ink navy: text on light, dark grounds */
  --ink-2: #182C4E;        /* raised panel on navy */
  --ink-soft: #4E5A6E;     /* secondary text on light grounds */
  --paper: #F7F3EC;        /* shop page ground */
  --paper-3: #EFE9DE;      /* tinted band */
  --pearl: #FCFAF7;        /* Beauty ground: near-white, lets the photos lead */
  --white: #FFFFFF;        /* cards and photo frames */
  --paper-dim: #A9B4C6;    /* secondary text on navy */
  --teal: #0C6F78;         /* brand teal: echoes the turquoise gift box */
  --teal-light: #5FD3DC;   /* teal on navy */
  --teal-tint: #DCEFF0;    /* turquoise wash */
  --orange: #FF6B00;       /* decorative ticks only in the shop (never text on light) */
  --orange-ink: #B84600;   /* orange as text on paper / white */
  --gold: #C9A646;         /* decorative hairline only, echoes the gold ribbon */
  --wa: #25D366;           /* WhatsApp green, always with ink text */
  --error: #B3261E;        /* form errors: 6.6:1 on white, 5.9:1 on paper */
  --line: #D9D2C5;         /* decorative hairline on paper */
  --line-soft: #E8E2D8;    /* decorative hairline on pearl */
  --line-tint: #B9DADC;    /* decorative hairline on teal-tint */
  --line-strong: #4E5A6E;  /* UI borders that must read (3:1+) */
  --line-navy: rgba(247, 243, 236, .18);
  --line-on-ink: rgba(247, 243, 236, .35);
  --swatch-magenta: #C2187A;
  --swatch-turquoise: #2BB5B8;

  /* ---- Type (two families; Plex Mono only for phone numbers) ------------ */
  --font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;   /* no condensed fallback: its much narrower lines re-wrap when Bricolage arrives (mobile-fix: shop-shell) */
  --font-body: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-num: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --fs-0: .8125rem;   /* 13 captions, eyebrows */
  --fs-1: .9375rem;   /* 15 small body, nav */
  --fs-2: 1.0625rem;  /* 17 body */
  --fs-3: 1.375rem;   /* 22 h3, sub-heads */
  --fs-4: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);    /* h2 */
  --fs-5: clamp(2.25rem, 1.5rem + 4vw, 4.5rem);    /* h1 */
  --fs-6: clamp(3rem, 1.2rem + 9vw, 9rem);         /* one display moment per page */

  /* ---- Space (4px base), radius, shadow, layout ------------------------- */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --r1: 4px;
  --r2: 10px;
  --shadow-1: 0 1px 0 rgba(15, 31, 58, .06), 0 14px 28px -18px rgba(15, 31, 58, .35);
  --shadow-soft: 0 1px 2px rgba(15, 31, 58, .05), 0 18px 32px -24px rgba(15, 31, 58, .30);
  --gutter: 16px;
  --max: 1280px;

  /* ---- Alias layer: shop defaults ---------------------------------------- */
  --wing-ground: var(--paper);
  --wing-surface: var(--white);
  --wing-ink: var(--ink);
  --wing-ink-2: var(--ink-soft);
  --wing-line: var(--line);
  --wing-line-strong: var(--line-strong);
  --wing-accent: var(--teal);             /* primary button fill */
  --wing-accent-ink: var(--paper);        /* text on primary */
  --wing-accent-hover: var(--ink);        /* hover fill: never the ground colour */
  --wing-accent-hover-ink: var(--paper);
  --wing-accent-text: var(--teal);        /* links, eyebrows */
  --wing-link-hover: var(--ink);
  --wing-tick: var(--orange);             /* decorative marks, never text */
  --wing-tick-text: var(--orange-ink);    /* counters, codes, display accent */
  --wing-focus: var(--teal);              /* focus ring, per ground */
  --wing-radius: var(--r1);
  --wing-shadow: var(--shadow-1);
  --wing-rule: var(--ink);
  --wing-rule-minor: var(--ink-soft);
  /* type aliases: Beauty dials these down */
  --wing-h1-size: var(--fs-5);
  --wing-h1-weight: 800;
  --wing-h1-track: -.03em;
  --wing-head-weight: 700;
  --wing-head-track: -.02em;
  --wing-display-size: var(--fs-6);
  --wing-display-weight: 800;
  --wing-display-track: -.04em;
  --wing-display-leading: .92;
}

/* ---- Wings: each overrides aliases only --------------------------------
   Contract body themes (STACK.md §8): .theme-beauty main = .wing-beauty,
   .theme-models main = .wing-models. */
.wing-beauty, .theme-beauty main {
  --wing-ground: var(--pearl);
  --wing-line: var(--line-soft);
  --wing-tick: var(--gold);
  --wing-tick-text: var(--teal);
  --wing-radius: var(--r2);
  --wing-shadow: var(--shadow-soft);
  --wing-rule: var(--gold);
  --wing-rule-minor: var(--gold);
  /* calmer, smaller, lighter: same two families, weight 500 */
  --wing-h1-size: clamp(2.125rem, 1.5rem + 2.6vw, 3.5rem);
  --wing-h1-weight: 500;
  --wing-h1-track: -.015em;
  --wing-head-weight: 500;
  --wing-head-track: -.01em;
  --wing-display-size: clamp(2.25rem, 1.3rem + 4.2vw, 5rem);
  --wing-display-weight: 500;
  --wing-display-track: -.02em;
  --wing-display-leading: 1.02;
}
.wing-tint, .section--alt {
  --wing-ground: var(--teal-tint);
  --wing-line: var(--line-tint);
  --wing-tick: var(--teal);
  --wing-tick-text: var(--teal);
  --wing-radius: var(--r2);
  --wing-shadow: var(--shadow-soft);
}
.wing-models, .theme-models main {
  --wing-radius: var(--r2);
  --wing-shadow: var(--shadow-soft);
}
.wing-navy, .section--dark {
  --wing-ground: var(--ink);
  --wing-surface: var(--ink-2);
  --wing-ink: var(--paper);
  --wing-ink-2: var(--paper-dim);
  --wing-line: var(--line-navy);
  --wing-line-strong: var(--paper);
  --wing-accent: var(--teal-light);
  --wing-accent-ink: var(--ink);
  --wing-accent-hover: var(--paper);
  --wing-accent-hover-ink: var(--ink);
  --wing-accent-text: var(--teal-light);
  --wing-link-hover: var(--paper);
  --wing-tick: var(--orange);
  --wing-tick-text: var(--orange);
  --wing-focus: var(--teal-light);
  --wing-rule: var(--paper);
  --wing-rule-minor: var(--paper-dim);
}
.wing-beauty, .wing-tint, .wing-models, .wing-navy, .section--alt, .section--dark,
.theme-beauty main, .theme-models main {
  background-color: var(--wing-ground);
  color: var(--wing-ink);
}

/* Page-level: the current-page marker in the header. Orange on shop pages;
   teal on Beauty, which carries no orange at all. */
body { --nav-current: var(--orange); }
.theme-beauty { --nav-current: var(--teal); }

/* ---- Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-2);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--wing-accent-text); text-underline-offset: .15em; }
a:hover { color: var(--wing-link-hover); }
h1, h2, h3 {
  font-family: var(--font-display); line-height: 1.05; margin: 0;
  font-weight: var(--wing-head-weight); letter-spacing: var(--wing-head-track);
  overflow-wrap: break-word;
}
h1 { font-size: var(--wing-h1-size); font-weight: var(--wing-h1-weight); letter-spacing: var(--wing-h1-track); }
h2 { font-size: var(--fs-4); }
h3 { font-size: var(--fs-3); }
p { margin: 0 0 var(--s4); }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--wing-focus); outline-offset: 3px; }
#main:focus { outline: none; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; font-weight: 700; }
.skip-link:focus { left: 8px; color: var(--paper); }

/* Announcement bar above the shop header (config announcement.*, admin Site text). */
.announce { background: var(--ink); color: var(--paper); font-size: 15px; line-height: 1.4; }
.announce__inner { padding-top: 8px; padding-bottom: 8px; text-align: center; }
.announce__text { margin: 0; }
.announce__link { display: inline-block; color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.announce__link:hover, .announce__link:focus-visible { color: var(--teal-light); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Utilities (replace every inline style) ----------------------------- */
.wrap, .container { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: var(--s8) 0; }
.section-tight { padding: var(--s7) 0; }
.muted { color: var(--wing-ink-2); }
.measure, .container--narrow { max-width: 58ch; }
.container.container--narrow { max-width: calc(58ch + 2 * var(--gutter)); }
.h-sub { font-size: var(--fs-3); }
.mt-4 { margin-top: var(--s4); }
.mt-5 { margin-top: var(--s5); }
.mt-6 { margin-top: var(--s6); }
.mb-4 { margin-bottom: var(--s4); }
.mb-0 { margin-bottom: 0; }
.tel { font-family: var(--font-num); font-weight: 500; white-space: nowrap; }
.band-lines { border-top: 1px solid var(--wing-line); border-bottom: 1px solid var(--wing-line); }
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 var(--s3);
  font-family: var(--font-body); font-weight: 700; font-size: var(--fs-0); line-height: 1.3;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--wing-accent-text);
}
.eyebrow::before { content: ""; flex: none; width: 20px; height: 2px; background: var(--wing-tick); }
.lead { font-size: clamp(1.125rem, 1rem + .6vw, 1.375rem); line-height: 1.45; max-width: 38ch; }
.section-head { display: grid; gap: var(--s3); margin-bottom: var(--s6); }
.section-head p { max-width: 60ch; margin: 0; color: var(--wing-ink-2); }
@media (min-width: 900px) {
  .section-head { grid-template-columns: 5fr 7fr; align-items: end; gap: var(--s6); }
}
.accent { color: var(--wing-tick-text); }
.accent-2 { color: var(--wing-accent-text); }

/* Calibration ruler: the recurring divider on the shop and Models pages */
.rule {
  height: 16px;
  border-bottom: 1px solid var(--wing-rule);
  background:
    repeating-linear-gradient(90deg, var(--wing-rule) 0 1px, transparent 1px 40px) left bottom / 100% 14px no-repeat,
    repeating-linear-gradient(90deg, var(--wing-rule-minor) 0 1px, transparent 1px 8px) left bottom / 100% 7px no-repeat;
}
/* Beauty uses a single gold hairline instead of the ruler */
.hairline { height: 0; border: 0; border-top: 1px solid var(--wing-rule); margin: 0; }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: 0 var(--s5);
  font-family: var(--font-body); font-weight: 700; font-size: var(--fs-1); line-height: 1.2;
  text-decoration: none; text-align: center;
  border-radius: var(--r1); border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--wing-accent); color: var(--wing-accent-ink); border-color: var(--wing-accent); }
.btn-primary:hover { background: var(--wing-accent-hover); color: var(--wing-accent-hover-ink); border-color: var(--wing-accent-hover); }
.btn-ghost, .btn-secondary { background: transparent; color: var(--wing-ink); border-color: var(--wing-ink); }
.btn-ghost:hover, .btn-secondary:hover { background: var(--wing-ink); color: var(--wing-ground); }
.btn-wa { background: var(--wa); color: var(--ink); border-color: var(--wa); }
.btn-wa:hover { background: var(--white); color: var(--ink); border-color: var(--wing-ink); }
.btn-sm { min-height: 44px; min-width: 44px; padding: 0 var(--s3); }
.btn-lg { min-height: 56px; font-size: var(--fs-2); }
.btn[disabled], .btn-disabled { cursor: not-allowed; opacity: .55; }
.btn[aria-busy="true"] { cursor: progress; }
.btn[aria-disabled="true"] { cursor: progress; opacity: .55; }
.btn-row, .cta-row { display: flex; flex-wrap: wrap; gap: var(--s3); }
.text-link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 700; color: var(--wing-accent-text); text-decoration: none;
}
.text-link span { border-bottom: 2px solid currentColor; padding-bottom: 1px; }
.text-link:hover { color: var(--wing-link-hover); }

/* ---- Header -------------------------------------------------------------
   Sticky on every shop page, one row at every width. The store phone never
   hides.

   360px budget (360 - 2 x 16 gutter = 328px content box):
     brand mark ............................................. 32
     gap inside .brand ....................................... 6
     wordmark "JMM Florida", Bricolage Grotesque 800 at 14px,
       letter-spacing -.02em: 11 glyphs, ~6.13em net ....... ~86
       (budgeted at a 6.6em ceiling = 92.4; see NOTES.md)
     bar gap ................................................. 6
     phone "(305) 763-4784": 14 glyphs x 0.6em x 13px = 109.2
       (IBM Plex Mono is monospaced, 600/1000 per glyph, so this is
       exact) + padding 2 x 7 + border 2 .................. 125.2
     bar gap ................................................. 6
     menu button ............................................ 44
     total: ~305 expected, 311.6 at the ceiling -> 16.4px spare minimum.
   The nav is position:absolute once JS runs, so it takes no gap.
   390px: wordmark back to 15px (ceiling 99): 318.2 of 358, 39.8 spare.
   420px: phone icon (14 + 6 gap), padding 10, mark 36, wordmark 17px,
          bar gap 8: 365.4 of 388 at the ceiling, 22.6 spare.
   1024px (992 content box): brand 44 + 10 + max(wordmark 20px ceiling 132,
          descriptor "BEAUTY · MODELS & PRINTS" 11px caps +.1em ~190) = 244;
          brand margin 24; gap 16; nav "Beauty / Models & Prints / Custom
          orders / Story / Contact" 46 glyphs x ~.55em x 15px = 379.5 +
          link padding 5 x 20 + gaps 4 x 4 = 495.5; gap 16; phone 176.
          Total ~971.5 -> ~20px spare. (With the design's 12px link padding
          it would be ~991.5 of 992, so 10px is used until 1200px.)
   ------------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-bar { display: flex; align-items: center; gap: var(--s2); min-height: 60px; }
.brand {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; min-width: 0; margin-right: auto;
  color: var(--ink); text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand-mark {
  flex: none; width: 36px; height: 36px; border-radius: 50%; overflow: hidden;
  background: var(--paper); box-shadow: 0 0 0 1px var(--line);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.brand-word { font-family: var(--font-display); font-weight: 800; font-size: 1.0625rem; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.brand-word small { display: none; }
.header-phone {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 10px;
  font-family: var(--font-num); font-weight: 500; font-size: var(--fs-0);
  color: var(--ink); text-decoration: none; white-space: nowrap;
  border: 1px solid var(--line-strong); border-radius: var(--r1);
}
@media (hover: hover) { .header-phone:hover { background: var(--ink); color: var(--paper); } }   /* not on touch: a tap would leave it inverted */
.header-phone svg { width: 14px; height: 14px; }
.menu-btn {
  flex: none; min-width: 44px; min-height: 44px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line-strong); border-radius: var(--r1);
  color: var(--ink); cursor: pointer;
}
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .ic-close { display: none; }
.menu-btn[aria-expanded="true"] .ic-open { display: none; }
.menu-btn[aria-expanded="true"] .ic-close { display: block; }
.site-nav ul { list-style: none; display: flex; flex-direction: column; }
.site-nav a {
  display: flex; align-items: center; min-height: 48px; padding: 0 var(--s2);
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: var(--fs-2);
  border-bottom: 1px solid var(--line);
}
.site-nav li:last-child a { border-bottom: 0; }
.site-nav a:hover { color: var(--teal); }
.site-nav a[aria-current="page"] { color: var(--teal); font-weight: 700; }
.site-nav a[aria-current="page"]::before { content: ""; width: 8px; height: 8px; background: var(--nav-current); border-radius: 50%; margin-right: 10px; }
/* With JS: the nav is a drop panel under the sticky bar */
.js .site-nav {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 24px -16px rgba(15, 31, 58, .25);
  padding: var(--s1) var(--gutter) var(--s3);
  max-height: calc(100vh - 61px); overflow-y: auto;
}
.js .site-nav.is-open { display: block; }
/* Without JS: the nav is always visible as a second row; no menu button */
html:not(.js) .header-bar { flex-wrap: wrap; }
html:not(.js) .site-nav { order: 10; flex-basis: 100%; border-top: 1px solid var(--line); }
html:not(.js) .menu-btn { display: none; }
@media (max-width: 419px) {
  .header-bar { gap: 6px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-word { font-size: .9375rem; }
  .header-phone { padding: 0 7px; }
  .header-phone svg { display: none; }
}
@media (max-width: 379px) {
  .brand-word { font-size: .875rem; }
}
@media (min-width: 1024px) {
  .header-bar { min-height: 72px; gap: var(--s4); }
  .brand { gap: 10px; margin-right: var(--s5); }
  .brand-mark { width: 44px; height: 44px; }
  .brand-word { font-size: 1.25rem; }
  .brand-word small { display: block; margin-top: 5px; font-family: var(--font-body); font-weight: 500; font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
  .menu-btn { display: none; }
  .site-nav, .js .site-nav, html:not(.js) .site-nav {
    display: block; position: static; order: 0; flex-basis: auto;
    background: none; border: 0; box-shadow: none; padding: 0;
    max-height: none; overflow: visible; margin-right: auto;
  }
  .site-nav ul { flex-direction: row; gap: var(--s1); }
  .site-nav a { min-height: 44px; border-bottom: 2px solid transparent; padding: 0 10px; font-size: var(--fs-1); white-space: nowrap; }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--nav-current); }
  .site-nav a[aria-current="page"]::before { display: none; }
  .header-phone { font-size: var(--fs-1); padding: 0 14px; }
}
@media (min-width: 1200px) {
  .site-nav a { padding: 0 var(--s3); }
}

/* ---- Hero --------------------------------------------------------------- */
.hero { padding: var(--s5) 0 var(--s7); }
.hero-grid { display: grid; gap: var(--s6); align-items: center; }
.hero h1 { max-width: 16ch; }
.hero .lead { margin: var(--s4) 0 var(--s5); }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin-top: var(--s5); font-size: var(--fs-1); color: var(--wing-ink-2); }
.hero-facts li { display: inline-flex; align-items: center; gap: var(--s2); }
.hero-facts li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 1px; background: var(--wing-tick); }
@media (min-width: 900px) {
  .hero { padding: var(--s7) 0 var(--s8); }
  .hero-grid { grid-template-columns: 7fr 5fr; gap: var(--s8); }
  .hero-grid-even { grid-template-columns: 1fr 1fr; }
}

/* Photo pair used in the Beauty and Models heroes: two real product photos */
.hero-photos { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--s3); align-items: end; }
.photo { margin: 0; }
.photo img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--wing-radius); background: var(--white); box-shadow: var(--wing-shadow);
}
.photo figcaption { margin-top: var(--s2); font-size: var(--fs-0); line-height: 1.4; color: var(--wing-ink-2); }
.photo figcaption strong { color: var(--wing-ink); }
.hero-photos .photo:last-child { margin-bottom: var(--s7); }
/* /story crew photos: capped width (not the hero pair across the full wrap); the landscape
   dog photo keeps a 4:3 frame instead of being cut to a 4:5 strip. */
.story-photos { display: grid; gap: var(--s3); max-width: 780px; }
.photo--wide img { aspect-ratio: 4 / 3; }
@media (min-width: 700px) { .story-photos { grid-template-columns: 4fr 3fr; align-items: end; } }

/* ---- Home hero: one message, TWO doors, a custom-orders link, a priced strip
   (owner decision: the design's third "Book a repair" door and the repair aside
   are not part of the shop). 390x844: header 61 + 24 + eyebrow 29 + h1 ~125 +
   lead ~150 + doors 104 + link 44 ends near 540px. */
.hero-home .hero-grid { gap: var(--s5); }
@media (min-width: 900px) { .hero-home .hero-grid { gap: var(--s8); } }
.hero-home h1 { max-width: 16ch; }
.hero-home .lead { max-width: 44ch; margin-bottom: 0; }
.doors { display: grid; gap: var(--s2); margin-top: var(--s5); }
.doors > .btn { width: 100%; }
@media (min-width: 560px) {
  .doors { display: flex; flex-wrap: wrap; gap: var(--s3); }
  .doors > .btn { width: auto; }
}
.door-more { margin: var(--s2) 0 0; font-size: var(--fs-1); color: var(--wing-ink-2); }
.door-more .text-link { margin-left: 2px; }
.strip-label {
  margin: 0 0 var(--s2);
  font-size: var(--fs-0); font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--wing-ink-2);
}
.hero-strip { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s2); }
.strip-item {
  display: flex; flex-direction: column; gap: 2px; min-height: 44px;
  color: var(--wing-ink); text-decoration: none;
}
.strip-item:hover { color: var(--wing-ink); }
.strip-item img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  margin-bottom: 4px; border-radius: var(--r2); background: var(--white); box-shadow: var(--shadow-soft);
}
.strip-name { font-size: var(--fs-0); font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.strip-item:hover .strip-name { text-decoration: underline; }
.strip-price { font-size: var(--fs-0); line-height: 1.3; color: var(--wing-ink-2); font-variant-numeric: tabular-nums; }
@media (min-width: 900px) {
  .hero-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
  .strip-item img { aspect-ratio: 1; }
  .strip-name, .strip-price { font-size: var(--fs-1); }
}

/* ---- Beauty hero: price and packaging answered before scrolling -------- */
.hero-beauty h1 { max-width: 18ch; }
.hero-beauty .lead { margin-bottom: var(--s4); }
.buy-facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 var(--s5); max-width: 34rem;
  background: var(--white); border: 1px solid var(--wing-line); border-radius: var(--wing-radius);
}
.buy-facts div { padding: var(--s3) var(--s4); border-top: 1px solid var(--wing-line); }
.buy-facts div:nth-child(-n+2) { border-top: 0; }
.buy-facts div:nth-child(odd) { border-right: 1px solid var(--wing-line); }
.buy-facts dt { font-size: var(--fs-0); line-height: 1.3; color: var(--wing-ink-2); }
.buy-facts dd { margin: 2px 0 0; font-weight: 700; font-size: var(--fs-1); line-height: 1.3; color: var(--wing-ink); font-variant-numeric: tabular-nums; }
.buy-facts .buy-price { font-size: var(--fs-3); line-height: 1.1; }

/* ---- Display moment (one per page) --------------------------------------
   Lines are blocks but are allowed to wrap: if the display face fails to
   load, a fallback font wraps instead of clipping. */
.display-band { padding: var(--s8) 0; }
.display {
  margin: 0; font-family: var(--font-display);
  font-weight: var(--wing-display-weight); font-size: var(--wing-display-size);
  line-height: var(--wing-display-leading); letter-spacing: var(--wing-display-track);
  overflow-wrap: break-word;
}
.display .line { display: block; }
.display-band .under { display: grid; gap: var(--s5); margin-top: var(--s6); }
@media (min-width: 900px) { .display-band .under { grid-template-columns: 4fr 8fr; align-items: start; } }

/* ---- Line sheets (home: Beauty, Models & Prints, Custom) ---------------- */
.sheets { display: grid; gap: var(--s5); }
.sheet, .line-card {
  display: flex; flex-direction: column;
  background: var(--wing-surface); color: var(--wing-ink);
  border: 1px solid var(--wing-line); border-radius: var(--r2); overflow: hidden;
  box-shadow: var(--shadow-1);
}
.sheet-photo { margin: 0; background: var(--white); }
.sheet-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
/* Drawn custom-order example (home "Custom toys & models" sheet): never cropped */
.sheet-photo--art { background: var(--teal-tint); }
.sheet-photo--art img { object-fit: contain; padding: var(--s4); }
/* Standalone drawn tiles (Models custom-orders block, /custom hero): the wing's corners */
.feature .sheet-photo--art, .hero__media.sheet-photo--art { border-radius: var(--wing-radius); overflow: hidden; }
.hero__media.sheet-photo--art img { aspect-ratio: 1; max-height: 520px; margin: 0 auto; }
.sheet-photo--art figcaption { padding: 0 var(--s4) var(--s3); font-size: var(--fs-0); line-height: 1.4; color: var(--wing-ink-2); }
.sheet-photo--art figcaption strong { color: var(--wing-ink); }
.sheet-body { display: flex; flex-direction: column; gap: var(--s3); flex: 1; padding: var(--s5); }
.sheet h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.sheet-body > p { margin: 0; color: var(--wing-ink-2); }
.sheet .facts { margin-top: auto; }
.sheet .text-link { align-self: flex-start; }
.sheet-links { display: flex; flex-direction: column; align-items: flex-start; }
@media (min-width: 700px) { .sheets { grid-template-columns: 1fr 1fr; } .sheet-lead { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .sheets { grid-template-columns: 5fr 4fr 4fr; } .sheet-lead { grid-column: auto; } }

/* Facts list: plain key/value pairs in the text face */
.facts {
  display: grid; grid-template-columns: max-content 1fr; gap: 4px var(--s4);
  margin: 0; padding-top: var(--s3); border-top: 1px solid var(--wing-line);
  font-size: var(--fs-1); line-height: 1.45;
}
.facts dt { color: var(--wing-ink-2); }
.facts dd { margin: 0; font-weight: 700; }

/* ---- Proof list (why us) ------------------------------------------------ */
.proof { list-style: none; display: grid; }
.proof li { display: grid; grid-template-columns: 8ch 1fr; gap: var(--s4); padding: var(--s4) 0; border-top: 1px solid var(--wing-line); }
.proof li:last-child { border-bottom: 1px solid var(--wing-line); }
.proof .k { padding-top: 5px; font-weight: 700; font-size: var(--fs-0); letter-spacing: .1em; text-transform: uppercase; color: var(--wing-accent-text); }
.proof strong { display: block; margin-bottom: 4px; font-family: var(--font-display); font-size: var(--fs-3); font-weight: 700; line-height: 1.15; }
.proof p { margin: 0; color: var(--wing-ink-2); }
@media (min-width: 900px) { .proof { grid-template-columns: 1fr 1fr; column-gap: var(--s7); } }

/* ---- Story -------------------------------------------------------------- */
.story, .split { display: grid; gap: var(--s6); align-items: center; }
.story figure, .split__media { margin: 0; }
.story figure img, .split__media img { width: 100%; height: auto; border-radius: var(--wing-radius); }
.story figcaption { margin-top: var(--s2); font-size: var(--fs-0); color: var(--wing-ink-2); }
.story blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.35rem, 1rem + 1.4vw, 2rem); font-weight: 500; line-height: 1.25; letter-spacing: -.01em; }
.story blockquote p { margin-bottom: var(--s4); }
.story cite { display: block; margin-top: var(--s3); font-style: normal; font-family: var(--font-body); font-size: var(--fs-0); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--wing-ink-2); }
.story-text { font-family: var(--font-body); font-size: var(--fs-2); font-weight: 400; line-height: 1.6; letter-spacing: 0; }
@media (min-width: 900px) {
  .story, .split { grid-template-columns: 5fr 7fr; gap: var(--s8); }
  .story-flip figure { order: 2; }
}

/* ---- Product grid: 2 cols from 360, 3 at 720, 4 at 1100 ----------------
   Design classes and the contract classes of partials/product-grid.php. */
.products, .product-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
@media (min-width: 720px) { .products, .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); } }
@media (min-width: 1100px) { .products, .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .products-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.product, .product-card {
  display: flex; flex-direction: column; min-width: 0;
  background: var(--wing-surface); color: var(--wing-ink);
  border: 1px solid var(--wing-line); border-radius: var(--wing-radius); overflow: hidden;
  box-shadow: var(--wing-shadow);
}
.product-photo, .product-card__media { margin: 0; background: var(--white); }
.product-photo img, .product-card__media img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.product-card__placeholder { aspect-ratio: 4 / 5; background: var(--paper-3); }
.product-body, .product-card__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: var(--s3); }
.product h3, .product-card__title, .art-card h3 { font-size: 1.125rem; line-height: 1.15; letter-spacing: -.01em; overflow-wrap: anywhere; }
.product h3 a, .product-card__title a { color: inherit; text-decoration: none; }
.product h3 a:hover, .product-card__title a:hover { text-decoration: underline; }
.kind { margin: 0; font-size: var(--fs-0); line-height: 1.4; color: var(--wing-ink-2); }
.blurb, .product-card__desc { margin: 0; font-size: var(--fs-0); line-height: 1.45; color: var(--wing-ink-2); }
.gift-chip, .chip {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
  margin: 2px 0 0; padding: 3px 10px; border-radius: 999px;
  background: var(--teal-tint); color: var(--ink);
  font-size: .75rem; font-weight: 700; line-height: 1.4;
}
.gift-chip::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.chip--muted { background: var(--paper-3); }
.notes-label { margin: auto 0 0; padding-top: var(--s2); font-size: var(--fs-0); font-weight: 700; color: var(--wing-ink-2); }
.notes {
  display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 2px var(--s2);
  margin: 0; padding-top: 6px; border-top: 1px solid var(--wing-line);
  font-size: var(--fs-0); line-height: 1.4;
}
.notes dt { font-weight: 700; color: var(--wing-ink-2); }
.notes dd { margin: 0; }
.product-foot, .product-card__actions {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2);
  padding: var(--s3); border-top: 1px solid var(--wing-line);
}
.price, .product-card__price { font-weight: 700; font-size: var(--fs-2); font-variant-numeric: tabular-nums; }
.product-card--sold-out .product-card__media img { opacity: .6; }
@media (min-width: 720px) {
  .product-body, .product-card__body { padding: var(--s4); }
  .product-foot, .product-card__actions { padding: var(--s3) var(--s4); }
  .product h3, .product-card__title, .art-card h3 { font-size: 1.3125rem; }
  .blurb, .product-card__desc { font-size: var(--fs-1); }
}
/* Info cell that sits in the grid (engraving, samples, collection links) */
.product-note, .empty-state, .product-grid__note {
  display: flex; flex-direction: column; gap: var(--s2); justify-content: center;
  padding: var(--s4); border: 1px dashed var(--line-strong); border-radius: var(--wing-radius);
  font-size: var(--fs-1); line-height: 1.5;
}
.empty-state { grid-column: 1 / -1; }
.product-note h3, .empty-state__title { font-size: 1.125rem; }
.product-note p, .empty-state p { margin: 0; color: var(--wing-ink-2); }
.grid-foot, .product-grid__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s5); margin-top: var(--s5); color: var(--wing-ink-2); font-size: var(--fs-1); }
.grid-foot p, .product-grid__foot p { margin: 0; }

/* ---- Custom-order examples: never priced, always labelled --------------
   1 column under 480px, 2 under 720px, 3 above. */
.art-grid { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
@media (min-width: 480px) { .art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 720px) { .art-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); } }
.art-card {
  display: flex; flex-direction: column; min-width: 0;
  background: var(--wing-surface); border: 1px dashed var(--line-strong);
  border-radius: var(--wing-radius); overflow: hidden;
}
.art-card figure { margin: 0; }
.art-card figure img { width: 100%; height: auto; aspect-ratio: 1; }
.art-card .product-body { gap: var(--s2); }
.art-actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: auto; padding-top: var(--s2); }
.badge {
  align-self: flex-start; display: inline-block; padding: 4px 8px; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3;
}
.quote-note {
  margin: 0 0 var(--s5); padding: var(--s3) var(--s4);
  border-left: 3px solid var(--wing-accent-text); background: var(--wing-surface);
  font-size: var(--fs-1); max-width: 70ch;
}
.quote-note strong { color: var(--wing-ink); }

/* ---- Steps (real sequences only) ---------------------------------------- */
.steps { list-style: none; counter-reset: step; display: grid; gap: var(--s5); }
.steps li { counter-increment: step; padding-top: var(--s4); border-top: 2px solid var(--wing-ink); }
.steps li::before { content: "0" counter(step); display: block; margin-bottom: var(--s2); font-weight: 700; font-size: var(--fs-0); letter-spacing: .08em; color: var(--wing-tick-text); }
.steps li:has(.step__num)::before { content: none; }
.step__num { display: block; margin-bottom: var(--s2); font-weight: 700; font-size: var(--fs-0); letter-spacing: .08em; color: var(--wing-tick-text); }
.steps h3 { margin-bottom: var(--s2); font-size: var(--fs-3); }
.steps p { margin: 0; color: var(--wing-ink-2); }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* Checklist: what to include in a custom order */
.checklist { list-style: none; display: grid; gap: var(--s2); }
/* The mark is positioned on its own, so text + links in one item stay one flowing line
   (as a 2-column grid, a link after text was pushed into the 18px mark column). */
.checklist li { position: relative; padding-left: calc(18px + var(--s3)); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border: 2px solid var(--wing-accent-text); border-radius: 2px; }

/* ---- Trust strip -------------------------------------------------------- */
.trust { list-style: none; display: grid; gap: var(--s4); font-size: var(--fs-1); }
.trust li { padding-left: var(--s3); border-left: 2px solid var(--wing-accent-text); }
.trust strong { display: block; margin-bottom: 2px; font-size: var(--fs-2); }
.trust span { color: var(--wing-ink-2); }
@media (min-width: 700px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .trust { grid-template-columns: repeat(4, 1fr); } }

/* ---- Two-column feature ------------------------------------------------- */
.feature { display: grid; gap: var(--s6); align-items: center; }
.feature figure { margin: 0; }
.feature figure img { width: 100%; height: auto; border-radius: var(--wing-radius); }
@media (min-width: 900px) {
  .feature { grid-template-columns: 7fr 5fr; gap: var(--s8); }
}
.box-panel, .info-box { padding: var(--s5); background: var(--wing-surface); border-radius: var(--wing-radius); border: 1px solid var(--wing-line); }
.box-panel h3, .info-box h3 { margin-bottom: var(--s3); }

/* ---- Contact block (home) ----------------------------------------------- */
.contact-grid { display: grid; gap: var(--s5); }
.contact-card, .card { padding: var(--s5); background: var(--wing-surface); color: var(--wing-ink); border: 1px solid var(--wing-line); border-radius: var(--r1); }
.contact-card h3, .card h3 { margin-bottom: var(--s2); font-size: var(--fs-3); }
.contact-card .big { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-num); font-weight: 500; font-size: clamp(1.25rem, 1rem + 1.4vw, 1.75rem); color: var(--wing-ink); text-decoration: none; }
.contact-card .big:hover { color: var(--wing-accent-text); }
.contact-card p, .card p { margin: var(--s2) 0 0; color: var(--wing-ink-2); }
.card--link { display: block; text-decoration: none; }
.card__more { display: inline-block; margin-top: var(--s3); font-weight: 700; color: var(--wing-accent-text); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

/* ---- FAQ (product pages, /custom) --------------------------------------- */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--wing-ink); }
.faq details:last-child { border-bottom: 1px solid var(--wing-ink); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s4);
  min-height: 44px; padding: var(--s4) 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: var(--wing-head-weight); font-size: var(--fs-3); line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-weight: 400; font-size: 1.5rem; color: var(--wing-tick-text); }
.faq details[open] summary::after { content: "\2013"; }
.faq .ans, .faq__answer { max-width: 65ch; padding: 0 0 var(--s5); color: var(--wing-ink-2); }
.note { margin: var(--s3) 0 0; font-size: var(--fs-1); color: var(--wing-ink-2); }

/* ---- Forms (/custom request; engraving text on product pages) -----------
   16px inputs (no iOS zoom), 48px controls, visible labels, errors in text
   (not colour alone), aria-invalid styling. */
.form { display: grid; gap: var(--s5); max-width: 44rem; }
.form-row { display: grid; gap: var(--s5); }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > label, .field > legend, .field-label { padding: 0; font-weight: 700; font-size: var(--fs-1); line-height: 1.35; color: var(--wing-ink); }
.field .optional { font-weight: 400; color: var(--wing-ink-2); }
.field-hint { margin: 0; font-size: var(--fs-0); line-height: 1.45; color: var(--wing-ink-2); }
.field input:not([type="radio"]):not([type="checkbox"]):not([type="file"]),
.field textarea,
.field select {
  width: 100%; min-height: 48px; padding: 10px 12px;
  font: inherit; font-size: 1rem; line-height: 1.4; color: var(--ink);
  background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--r1);
}
.field textarea { min-height: 136px; resize: vertical; }
.field input[type="file"] { font: inherit; font-size: var(--fs-1); max-width: 100%; }
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.field-error { margin: 0; font-size: var(--fs-0); font-weight: 700; color: var(--error); }
.field-error:empty { display: none; }
.field-count { justify-self: end; font-size: var(--fs-0); color: var(--wing-ink-2); font-variant-numeric: tabular-nums; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: var(--s2); align-items: start; font-size: var(--fs-1); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal); }
.form-status {
  margin: 0; padding: var(--s3) var(--s4);
  background: var(--wing-surface); border-left: 3px solid var(--teal); font-size: var(--fs-1);
}
.form-status:empty { display: none; }
.form-status--error { border-left-color: var(--error); }
.form-status--ok { border-left-color: var(--teal); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- Product page ----------------------------------------------------------
   Gallery left, buy box right (sticky from 900px). Options are rendered from
   the catalog variants as radio "pills" in a fieldset per option; the
   engraving text field appears only for the "Engraved box" variant. */
.breadcrumbs { margin: 0 0 var(--s4); font-size: var(--fs-0); color: var(--wing-ink-2); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--wing-ink-2); }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 24px; }
.pdp { display: grid; gap: var(--s6); padding: var(--s5) 0 var(--s7); }
@media (min-width: 900px) { .pdp { grid-template-columns: 7fr 5fr; gap: var(--s8); align-items: start; padding: var(--s7) 0 var(--s8); } }
.pdp-gallery { display: grid; gap: var(--s3); margin: 0; }
.pdp-gallery img, .pdp-main img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--wing-radius); background: var(--white); box-shadow: var(--wing-shadow);
}
.pdp-thumbs { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s2); }
.pdp-thumbs button { display: block; width: 100%; padding: 0; border: 2px solid transparent; border-radius: var(--r2); background: none; cursor: pointer; }
.pdp-thumbs button[aria-current="true"], .pdp-thumbs button[aria-pressed="true"] { border-color: var(--wing-ink); }
.pdp-thumbs img { aspect-ratio: 1; box-shadow: none; }
.pdp-buy { display: grid; gap: var(--s4); align-content: start; }
/* Sticky only when a tall buy box (20 colour pills + fields) still fits under the header;
   otherwise it scrolls with the page so Buy now is never stuck below the fold. */
@media (min-width: 900px) and (min-height: 900px) { .pdp-buy { position: sticky; top: 96px; } }
.pdp-buy h1 { max-width: 20ch; }
.pdp-price { margin: 0; font-weight: 700; font-size: var(--fs-3); line-height: 1.2; font-variant-numeric: tabular-nums; }
.pdp-price .compare { margin-left: var(--s2); font-weight: 400; font-size: var(--fs-1); color: var(--wing-ink-2); text-decoration: line-through; }
.pdp-sku { margin: 0; font-size: var(--fs-0); color: var(--wing-ink-2); }
.option-group { display: grid; gap: var(--s2); min-width: 0; margin: 0; padding: 0; border: 0; }
.option-group legend { padding: 0; margin-bottom: var(--s2); font-weight: 700; font-size: var(--fs-1); }
.option-group legend .selected { font-weight: 400; color: var(--wing-ink-2); }
.option-values { display: flex; flex-wrap: wrap; gap: var(--s2); }
.option-value { position: relative; display: inline-flex; }
.option-value input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.option-value > span {   /* the pill only: the swatch dot and "+$7.00" inside stay plain (mobile-fix: shop-product) */
  display: inline-flex; align-items: center; gap: var(--s2);
  min-height: 44px; padding: 0 var(--s4);
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 999px;
  font-weight: 500; font-size: var(--fs-1); line-height: 1.2;
}
.option-value input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.option-value input:focus-visible + span { outline: 3px solid var(--wing-focus); outline-offset: 3px; }
.option-value input:disabled { cursor: not-allowed; }
.option-value input:disabled + span { opacity: .5; text-decoration: line-through; }
.option-value .delta { font-variant-numeric: tabular-nums; opacity: .85; }
.swatch { flex: none; width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(15, 31, 58, .3); background: var(--paper-3); }
.swatch--magenta { background: var(--swatch-magenta); }
.swatch--turquoise { background: var(--swatch-turquoise); }
.engraving[hidden] { display: none; }
/* With JS the engraving field shows only for the "Engraved box" variant; without JS it stays
   visible and buy.php checks the rule. */
.js .engraving.is-off { display: none; }
.pdp-thumbs a { display: block; border: 2px solid transparent; border-radius: var(--r2); }
.pdp-thumbs a[aria-current="true"] { border-color: var(--wing-ink); }
.pdp-form { gap: var(--s4); }
.pdp-buy .kind { font-size: var(--fs-1); }
.qty { display: inline-flex; align-items: center; gap: var(--s2); }
/* Beats the generic `.field input:not(…)` width: 100% rule (specificity 0,4,1). */
.field.qty input[type="number"]:not([type="radio"]):not([type="checkbox"]):not([type="file"]) { width: 5.5em; flex: none; }
.btn-buy { width: 100%; min-height: 56px; font-size: var(--fs-2); }
.buy-status { margin: 0; min-height: 1.5em; font-size: var(--fs-1); color: var(--wing-ink-2); }
.buy-status.is-error { color: var(--error); font-weight: 700; }
.buy-note { margin: 0; font-size: var(--fs-0); color: var(--wing-ink-2); }
.pdp-desc { max-width: 68ch; }
.pdp-desc h2 { margin: var(--s6) 0 var(--s3); font-size: var(--fs-3); }
.pdp-desc ul, .pdp-desc ol { padding-left: 1.25em; margin: 0 0 var(--s4); }
.pdp-desc li { margin-bottom: 4px; }

/* ---- Footer (painted by .wing-navy) ------------------------------------- */
.site-footer { padding: var(--s8) 0 var(--s6); font-size: var(--fs-1); color: var(--wing-ink-2); }
.site-footer a { color: var(--wing-ink); text-decoration: none; }
.site-footer a:hover { color: var(--wing-accent-text); text-decoration: underline; }
.footer-grid { display: grid; gap: var(--s6); }
.footer-grid h2 { margin-bottom: var(--s2); font-family: var(--font-body); font-size: var(--fs-0); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--wing-accent-text); }
.footer-grid ul { list-style: none; display: grid; }
.footer-grid li a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-grid .label { display: inline-block; min-width: 5.5em; font-size: var(--fs-0); color: var(--wing-ink-2); }
.footer-brand { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s3); color: var(--wing-ink); font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; line-height: 1.1; }
.footer-brand small { display: block; margin-top: 4px; font-family: var(--font-body); font-weight: 400; font-size: var(--fs-0); letter-spacing: .02em; color: var(--wing-ink-2); }
.footer-logo { flex: none; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--paper); }
.footer-logo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--wing-line); font-size: var(--fs-0); }
.footer-legal p { margin: 0; }
/* The ONE discreet cross-link to the repair site: small, secondary colour,
   underlined so it still reads as a link; pushed to the end of the row. */
.footer-cross { color: var(--wing-ink-2); }
@media (min-width: 700px) { .footer-cross { margin-left: auto; } }
.site-footer .footer-cross a { color: var(--wing-ink-2); text-decoration: underline; text-underline-offset: .2em; }
.site-footer .footer-cross a:hover { color: var(--wing-ink); }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 4fr 3fr 3fr 2fr; } }

/* ---- Contract layer for pages not yet on design markup (STACK.md §8) ----- */
.center { text-align: center; }
.center .cta-row, .center .btn-row { justify-content: center; }
.center .lead, .center .section-head p { margin-left: auto; margin-right: auto; }
.section-title { margin-bottom: var(--s5); font-size: var(--fs-4); }
.grid { display: grid; gap: var(--s5); }
@media (min-width: 700px) { .grid--2, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hero__content .cta-row { margin-top: var(--s5); }
.legal, .prose { max-width: 72ch; }
.prose h2 { margin: var(--s6) 0 var(--s3); font-size: var(--fs-3); }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 var(--s4); }
.email-line { margin-top: var(--s5); color: var(--wing-ink-2); }

/* ---- Motion ------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .product, .product-card, .sheet { transition: transform .2s ease, box-shadow .2s ease; }
}
/* Lift only where a real pointer hovers: on touch screens :hover sticks after a tap. */
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .product:hover, .product-card:hover, .sheet:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(15, 31, 58, .06), 0 22px 36px -20px rgba(15, 31, 58, .4); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---- Print -------------------------------------------------------------- */
@media print {
  .site-header, .menu-btn, .btn-row, .doors, .site-footer { display: none; }
  body { background: #fff; color: #000; }
}

/* ==== mobile-fix: shop-product ==============================================
   Shop header below 350px; product page on phones; sold-out state. */

/* Header. Below 350 CSS px (320px phones, iPhone Display Zoom, Android display size or page
   zoom) the row budget above no longer fits: mark 32 + 6 + wordmark ~86 + 6 + phone 125.2
   + 6 + menu 44 = ~305 > 288 at 320. The store phone never hides, so the wordmark goes and
   the logo stands alone (the link keeps aria-label "JMM Florida, home"): 213 of 288.
   Above that, enlarged text cuts the wordmark with an ellipsis instead of painting it over
   the phone button (padding keeps the glyphs of the 1.0 line-height clear of the clip). */
@media (max-width: 1023px) {
  .brand-word { min-width: 0; overflow: hidden; text-overflow: ellipsis; padding: 2px 0; }
}
@media (max-width: 349px) {
  .brand-word { display: none; }
}

/* Product page. The <figure> had the browser's 1em 40px margin (photo inset on phones). */
.pdp-main { margin: 0; }
.pdp-main a { display: block; }   /* opens the full-size photo */
/* Breadcrumb links: 13px text kept, tap area grown to 44px tall (8px gaps + "/" between). */
.breadcrumbs a { position: relative; }
.breadcrumbs a::after { content: ""; position: absolute; inset: -10px -4px; }
/* One column (below 900px): breadcrumbs, then name and price, then the photo, then options
   and Buy now. The two desktop column wrappers step aside (display: contents) and `order`
   lifts the name block; it holds no links or fields, so the focus order is unchanged. The
   thumbnails are one sideways row (~4.5 visible) and the main photo is square. */
@media (max-width: 899px) {
  .pdp { gap: var(--s4); padding-top: var(--s4); }
  .pdp-media, .pdp-buy { display: contents; }
  .pdp .breadcrumbs { order: -3; margin: 0; }
  .pdp-buy > .eyebrow, .pdp-buy > h1, .pdp-buy > .kind, .pdp-buy > .gift-chip, .pdp-buy > .pdp-price { order: -2; }
  .pdp-gallery { order: -1; margin: var(--s2) 0; }
  .pdp-buy h1 { font-size: clamp(1.75rem, 1.25rem + 2.5vw, 2.5rem); }
  .pdp-main img { aspect-ratio: 1; }
  .pdp-thumbs {
    grid-template-columns: none; grid-auto-flow: column;
    grid-auto-columns: calc((100% - 3 * var(--s2)) / 4.5);
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
    padding-bottom: 4px; scrollbar-width: thin;
  }
  .pdp-thumbs li { scroll-snap-align: start; }
  .pdp-thumbs a:focus-visible { outline-offset: -3px; }   /* not clipped by the scrolling row */
}
/* Sold out: a solid muted button (readable) instead of a faded one; a call/text note in place
   of the fields below the options; pills of sold-out values tagged (product.php/.js). */
.btn-buy[disabled], .btn-buy[disabled]:hover { opacity: 1; background: var(--paper-3); color: var(--ink); border-color: var(--line-strong); }
.sold-out-note { margin: 0; font-size: var(--fs-1); font-weight: 700; color: var(--wing-ink); }
.sold-out-note[hidden], .sold-out-tag[hidden] { display: none; }
.pdp-form.is-sold-out > .field, .pdp-form.is-sold-out > .photo-hint { display: none; }
.sold-out-tag { display: inline-block; font-weight: 400; }   /* inline-block: not struck through */
/* Engraving over its word/character limit: said at once, not only on Buy now. */
.field-count.is-over { color: var(--error); font-weight: 700; }
/* product.js focuses a server error only so it is read out; it is not a control. */
#buy-status:focus { outline: none; }

/* mobile-fix: shop-shell */
/* Product cards: the title link (partials/product-grid.php) is stretched over the whole card,
   so a tap on the photo, the name, the notes or "View" opens the product. Its focus ring is
   drawn on the stretched area, i.e. around the card. */
.product-card { position: relative; }
.product-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.product-card__title a:focus-visible { outline: none; }
.product-card__title a:focus-visible::after { outline: 3px solid var(--wing-focus); outline-offset: -3px; }
@media (hover: hover) {
  .product-card:hover .product-card__actions .btn-primary { background: var(--wing-accent-hover); color: var(--wing-accent-hover-ink); border-color: var(--wing-accent-hover); }
}
/* Beauty cards on phones: the Top notes only (Heart and Base are on the product page); three
   tiers in a ~90px column made each card ~600px tall. */
@media (max-width: 479px) {
  .notes dt:nth-of-type(n+2), .notes dd:nth-of-type(n+2) { display: none; }
}
/* Announcement link: a 44px-tall target (the bar's 8px padding is taken back by the margin). */
.announce__link { display: block; min-height: 44px; padding: 11px 0; margin: -8px 0; }
/* (Breadcrumb tap areas: in the shop-product block above.) */
/* Photo picker: the native "Choose files" button as a 44px control. */
.field input[type="file"] { min-height: 48px; }
.field input[type="file"]::file-selector-button {
  min-height: 44px; margin-right: var(--s3); padding: 0 var(--s4);
  font: inherit; font-weight: 700; color: var(--ink); cursor: pointer;
  background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--r1);
}
/* FAQ +/– is decoration: empty alt text keeps it out of the question's spoken name
   (the first declaration is the fallback for browsers without the alt syntax). */
.faq summary::after { content: "+"; content: "+" / ""; }
.faq details[open] summary::after { content: "\2013"; content: "\2013" / ""; }
