/* ==========================================================================
   Sufra — heritage blue-and-white porcelain for crockery, tableware & glassware.

   Ported from the Stitch "Sufra" export (the "Heritage Porcelain System"
   DESIGN.md lives at docs/templates/pending/
   stitch_66_sufra_e_commerce_homepage_design/.../heritage_porcelain_system/):
   a warm Porcelain canvas (#f8f5f0) framing deep China Cobalt (#2a4f9e) ink,
   structural panels and actions, with Gold Rim (#c9a24b) reserved for
   keylines, eyebrows and chips. Depth is FLAT — 1px keylines and tonal layers,
   never heavy shadows; hover lifts 4px on a faintly cobalt-tinted shadow. The
   shape language is soft-ceramic: a consistent 6px radius. Playfair Display
   carries every headline, Source Sans 3 every label, price and paragraph.

   This theme OWNS the hero / featured / set-size-guide / new-arrivals /
   journal / newsletter home sections (su-* markup) and INHERITS Modern
   Retail's header, footer, trust strip, promo tiles, category grid, brands
   and every functional page. This stylesheet therefore has two jobs:

     (a) style the NEW `su-*` markup into the Stitch design; and
     (b) restyle the INHERITED `mr-*` surfaces — chiefly by re-pointing the
         base neutral tokens at the porcelain palette, then re-inking the base
         rules that reach for `--ll-accent` as TEXT (the raw Gold Rim measures
         2.21:1 on porcelain, so every gold text role uses the darker
         `--su-gold-ink` #8a6a14 at 4.65:1 instead) and the two full-bleed
         cobalt bands (announce + footer), where gold text uses the lighter
         `--su-gold-light` #ecd39a at 5.29:1.

   Everything is scoped under `body.su-theme` and reads the 5 customizer
   tokens (--bs-primary, --bs-primary-rgb, --ll-accent, --ll-font-headings,
   --ll-font-body, --bs-border-radius) with theme.json-default fallbacks, so
   the customizer + live preview keep working: change the primary colour and
   every cobalt surface follows.
   ========================================================================== */

body.su-theme {
    /* Customizer-driven brand tokens (fallbacks match theme.json defaults) */
    --su-cobalt: var(--bs-primary, #2a4f9e);
    --su-cobalt-rgb: var(--bs-primary-rgb, 42, 79, 158);
    --su-gold: var(--ll-accent, #c9a24b);
    --su-radius: var(--bs-border-radius, 0.375rem);
    --su-font-head: var(--ll-font-headings, "Playfair Display"), Georgia, "Times New Roman", serif;
    --su-font-body: var(--ll-font-body, "Source Sans 3"), system-ui, -apple-system, sans-serif;

    /* Heritage Porcelain palette (DESIGN.md prose — the authoritative one) */
    --su-porcelain: #f8f5f0;      /* page canvas / header / inputs        */
    --su-porcelain-low: #f2eee7;  /* quiet band (featured, footer wells)  */
    --su-porcelain-high: #ebe6dd; /* the deeper "Browse by Category" band */
    --su-white: #ffffff;          /* product media wells                  */
    --su-fill: #e5e0d6;           /* placeholder / media fills            */
    --su-keyline: #e2ddd3;        /* hairline borders                     */
    --su-keyline-strong: #cbc5b8; /* structural outlines                  */
    --su-cobalt-deep: #1f3d7d;    /* hover / pressed cobalt               */
    --su-cobalt-pale: #b1c5ff;    /* on-cobalt secondary text (4.54:1)    */
    --su-ink: #1c1c19;            /* on-surface                           */
    --su-muted: #434651;          /* on-surface-variant (8.65:1)          */
    --su-soft: #6a6d78;           /* soft meta text (4.74:1)              */

    /* Gold has THREE roles and only one of them is safe as raw Gold Rim:
       - --su-gold        keylines, chips + large icons (graphics, >= 3:1)
       - --su-gold-ink    gold TEXT on porcelain  (4.65:1 — AA)
       - --su-gold-light  gold TEXT on cobalt     (5.29:1 — AA) */
    --su-gold-ink: #8a6a14;
    --su-gold-light: #ecd39a;

    /* Re-point the inherited base neutrals at the porcelain palette so every
       inherited mr-* surface (bands, borders, fills, muted text, radii)
       follows across shop / PDP / cart / checkout / account / blog. */
    --mr-ink: var(--su-ink);
    --mr-muted: var(--su-muted);
    --mr-soft: var(--su-soft);
    --mr-surface: var(--su-porcelain);
    --mr-band: var(--su-porcelain-high);
    --mr-band-alt: var(--su-porcelain-low);
    --mr-fill: var(--su-fill);
    --mr-border: var(--su-keyline);
    --mr-border-strong: var(--su-keyline-strong);
    --mr-radius: 0.375rem;
    --mr-gold: var(--su-gold);
    --mr-shadow: 0 4px 12px rgba(var(--su-cobalt-rgb), 0.08);

    /* Bootstrap surfaces the base does not own. --bs-link-color-rgb is set
       explicitly rather than with a bare `a { color: … }` catch-all, which
       would out-specify .mr-btn--primary and blank out every CTA label. */
    --bs-body-bg: var(--su-porcelain);
    --bs-secondary-bg: var(--su-porcelain-low);
    --bs-link-color-rgb: var(--su-cobalt-rgb);
    --bs-link-hover-color-rgb: var(--su-cobalt-rgb);

    background-color: var(--su-porcelain);
    color: var(--su-ink);
    font-family: var(--su-font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* --------------------------------------------------------------------------
   Shape & depth — the soft-ceramic 6px radius everywhere, flat surfaces, and
   the single faint cobalt-tinted hover shadow the design system allows.
   -------------------------------------------------------------------------- */
body.su-theme .mr-card__media,
body.su-theme .mr-promo,
body.su-theme .mr-promo__img,
body.su-theme .mr-tile,
body.su-theme .mr-article__media,
body.su-theme .form-control,
body.su-theme .form-select,
body.su-theme .dropdown-menu,
body.su-theme .mr-panel {
    border-radius: var(--mr-radius);
}

/* --------------------------------------------------------------------------
   Typography — Playfair authority for headlines, Source Sans 3 for everything
   functional, and the signature gold-rim editorial eyebrow.
   -------------------------------------------------------------------------- */
body.su-theme h1, body.su-theme h2, body.su-theme h3,
body.su-theme h4, body.su-theme h5, body.su-theme h6,
body.su-theme .mr-display {
    font-family: var(--su-font-head);
    color: var(--su-ink);
    letter-spacing: -0.01em;
}

body.su-theme .mr-display {
    font-size: clamp(1.85rem, 3.4vw, 2.5rem);
    font-weight: 600;
    line-height: 1.25;
    color: var(--su-cobalt);
}

body.su-theme .mr-headline { font-weight: 600; }

body.su-theme .mr-eyebrow,
body.su-theme .su-eyebrow {
    font-family: var(--su-font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--su-gold-ink);
}

body.su-theme .su-eyebrow { letter-spacing: 0.2em; }

/* Prices sit at the design's price-display token — never lighter than the
   product name they hang under. */
body.su-theme .mr-card__price { color: var(--su-cobalt); font-weight: 600; font-size: 1.02rem; }
body.su-theme .mr-card__price del { color: var(--su-soft); font-weight: 400; }

/* --------------------------------------------------------------------------
   Buttons — solid China Cobalt primary; the gold-keyline secondary; the quiet
   cobalt keyline link that carries "View All" / "Read All Stories".
   -------------------------------------------------------------------------- */
body.su-theme .mr-btn {
    font-family: var(--su-font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
}

body.su-theme .mr-btn--primary {
    background-color: var(--su-cobalt);
    border-color: var(--su-cobalt);
    color: #fff;
}

body.su-theme .mr-btn--primary:hover {
    filter: none;
    background-color: var(--su-cobalt-deep);
    border-color: var(--su-cobalt-deep);
    color: #fff;
}

body.su-theme .mr-btn--outline,
body.su-theme .su-btn-keyline {
    border: 1px solid var(--su-gold);
    background: transparent;
    color: var(--su-cobalt);
}

body.su-theme .mr-btn--outline:hover,
body.su-theme .su-btn-keyline:hover {
    background-color: rgba(201, 162, 75, 0.12);
    border-color: var(--su-gold);
    color: var(--su-cobalt-deep);
}

body.su-theme .mr-btn--light { background-color: var(--su-porcelain); color: var(--su-cobalt); }
body.su-theme .mr-btn--light:hover { background-color: #fff; color: var(--su-cobalt-deep); }

body.su-theme .mr-btn--on-dark { border-color: rgba(248, 245, 240, 0.7); color: #fff; }
body.su-theme .mr-btn--on-dark:hover { background-color: var(--su-porcelain); color: var(--su-cobalt); }

body.su-theme .su-btn-hero { padding: 1rem 2.25rem; }

body.su-theme .su-keyline-link {
    display: inline-block;
    font-family: var(--su-font-body);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--su-cobalt);
    text-decoration: none;
    border-bottom: 1px solid var(--su-cobalt);
    padding-bottom: 0.3rem;
    transition: color 0.2s ease, border-color 0.2s ease;
}

body.su-theme .su-keyline-link:hover { color: var(--su-gold-ink); border-color: var(--su-gold-ink); }

/* Inherited editorial underline link — same warm-to-gold behaviour. */
body.su-theme .mr-ulink { color: var(--su-cobalt); }
body.su-theme .mr-ulink:hover { color: var(--su-gold-ink); border-color: var(--su-gold-ink); }

/* --------------------------------------------------------------------------
   Inputs — porcelain fields inside a cobalt hairline (the design's
   "structured" variant), focusing to gold. The base sets a `padding`
   SHORTHAND on .form-control + .form-select together and then hands the
   select its caret gutter back; nothing here touches padding, so that stays
   intact. Bootstrap's red .is-invalid state is re-asserted because the
   border-color override above would otherwise swallow it.
   -------------------------------------------------------------------------- */
body.su-theme .form-control,
body.su-theme .form-select {
    background-color: var(--su-porcelain);
    border-color: var(--su-keyline-strong);
    color: var(--su-ink);
}

body.su-theme .form-control:focus,
body.su-theme .form-select:focus {
    border-color: var(--su-gold);
    box-shadow: 0 0 0 3px rgba(var(--su-cobalt-rgb), 0.1);
}

body.su-theme .form-control.is-invalid,
body.su-theme .form-select.is-invalid,
body.su-theme .was-validated .form-control:invalid,
body.su-theme .was-validated .form-select:invalid {
    border-color: var(--bs-form-invalid-border-color, #dc3545);
}

body.su-theme .form-control.is-invalid:focus,
body.su-theme .form-select.is-invalid:focus {
    border-color: var(--bs-form-invalid-border-color, #dc3545);
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.18);
}

body.su-theme .form-label { font-weight: 600; letter-spacing: 0.02em; }

/* Focus ring — the raw gold is 2.21:1 on porcelain, so the indicator inks
   cobalt (7.75:1) instead of the base accent. */
body.su-theme a:focus-visible,
body.su-theme button:focus-visible,
body.su-theme input:focus-visible,
body.su-theme select:focus-visible,
body.su-theme textarea:focus-visible {
    outline: 2px solid var(--su-cobalt);
    outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Announcement + header — the cobalt whisper band over the porcelain header
   with its cool hairline, serif wordmark and gold-underlined nav.
   -------------------------------------------------------------------------- */
body.su-theme .mr-announce {
    background-color: var(--su-cobalt);
    background-image: none;
    color: var(--su-porcelain);
    font-family: var(--su-font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.18em;
}

body.su-theme .mr-announce a { color: var(--su-porcelain); }

/* The export's header is `bg-porcelain/95 backdrop-blur-md` — a whisper of
   translucency is the only thing separating it from the porcelain canvas as
   content scrolls beneath, alongside the hairline. */
body.su-theme .mr-header {
    background-color: rgba(248, 245, 240, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--su-keyline);
}

body.su-theme .mr-logo {
    font-family: var(--su-font-head);
    font-weight: 700;
    font-size: clamp(1.55rem, 2.2vw, 1.95rem);
    letter-spacing: -0.03em;
    color: var(--su-cobalt);
}

body.su-theme .mr-nav-link {
    font-family: var(--su-font-body);
    font-size: 0.98rem;
    font-weight: 400;
    color: var(--su-muted);
}

body.su-theme .mr-nav-link:hover {
    color: var(--su-cobalt);
    border-bottom-color: var(--su-gold);
}

body.su-theme .mr-nav-link.is-active {
    color: var(--su-cobalt);
    font-weight: 600;
    border-bottom-color: var(--su-gold);
}

body.su-theme .mr-icon-btn { color: var(--su-cobalt); }
body.su-theme .mr-icon-btn:hover { color: var(--su-cobalt-deep); }

body.su-theme .mr-badge { background-color: var(--su-cobalt); color: #fff; }
/* The wishlist count sits on gold in the design; raw Gold Rim under white
   10px bold is 2.40:1, so the chip takes the darker gold (5.06:1). */
body.su-theme .mr-badge--wish { background-color: var(--su-gold-ink); color: #fff; }

body.su-theme .mr-search input {
    background: var(--su-porcelain-low);
    border-color: var(--su-keyline-strong);
    border-radius: var(--su-radius);
    color: var(--su-ink);
}

body.su-theme .mr-search input:focus {
    background: var(--su-porcelain);
    border-color: var(--su-gold);
    box-shadow: 0 0 0 3px rgba(var(--su-cobalt-rgb), 0.1);
}

body.su-theme .mr-search button:hover { color: var(--su-cobalt); }

/* --------------------------------------------------------------------------
   Hero (su-hero) — the split composition: the overhead table-setting photo
   fills the left half, the porcelain copy panel the right. No scrim, no white
   type: every word sits on porcelain, so contrast never depends on the photo.
   -------------------------------------------------------------------------- */
body.su-theme .su-hero {
    display: flex;
    align-items: stretch;
    min-height: clamp(520px, 78vh, 819px);
    background: var(--su-porcelain);
    border-bottom: 1px solid rgba(201, 162, 75, 0.3);
}

body.su-theme .su-hero__media {
    flex: 1 1 50%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(140deg, var(--su-porcelain-low), var(--su-fill));
}

body.su-theme .su-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.su-theme .su-hero__panel {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    padding: clamp(2.5rem, 6vw, 6rem);
    background: var(--su-porcelain);
}

body.su-theme .su-hero__copy { max-width: 34rem; }

body.su-theme .su-hero__title {
    font-family: var(--su-font-head);
    font-weight: 700;
    font-size: clamp(2rem, 3.8vw, 3rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--su-cobalt);
    margin-bottom: 1.75rem;
}

body.su-theme .su-hero__lead {
    font-size: 1.075rem;
    line-height: 1.7;
    color: var(--su-muted);
    max-width: 30rem;
    margin-bottom: 2.5rem;
}

body.su-theme .su-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* --------------------------------------------------------------------------
   Product cards (inherited mr-card) — a white media well behind a gold-rim
   hairline, cobalt product name and price, gold chip for the sale/demo badge.
   The card box itself stays borderless, so the base's flush title/price
   spacing is still correct.
   -------------------------------------------------------------------------- */
body.su-theme .mr-card { background: transparent; }

body.su-theme .mr-card__media {
    aspect-ratio: 4 / 5;
    background-color: var(--su-white);
    border: 1px solid rgba(201, 162, 75, 0.55);
    transition: border-color 0.25s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

body.su-theme .mr-card:hover .mr-card__media {
    border-color: var(--su-gold);
    transform: translateY(-4px);
    box-shadow: var(--mr-shadow);
}

/* The "New Patterns" grid runs landscape in the export. */
body.su-theme .su-arrivals .mr-card__media { aspect-ratio: 4 / 3; }

body.su-theme .mr-card__eyebrow {
    color: var(--su-soft);
    font-size: 0.66rem;
    letter-spacing: 0.14em;
}

body.su-theme .mr-card__title,
body.su-theme .mr-card__title a {
    font-family: var(--su-font-body);
    font-weight: 600;
    font-size: 1rem;
    color: var(--su-cobalt);
}

body.su-theme .mr-card__title a:hover { color: var(--su-gold-ink); }

/* Sale / Demo chip — the export's small gold chip with ink type (7.12:1).
   `.mr-card__badge` carries no base styling, so it is defined here in full. */
body.su-theme .mr-card__badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    background-color: var(--su-gold);
    color: var(--su-ink);
    font-family: var(--su-font-body);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.28rem 0.6rem;
    border-radius: calc(var(--mr-radius) / 1.5);
}

body.su-theme .mr-card__sale { background-color: var(--su-gold); color: var(--su-ink); }

/* Both round overlay controls, styled TOGETHER and in both states: porcelain
   circle + cobalt glyph (7.75:1); hover keeps the porcelain and inks the
   glyph (15.7:1). */
body.su-theme .mr-card__wish,
body.su-theme .mr-card__quickview {
    background-color: rgba(248, 245, 240, 0.9);
    color: var(--su-cobalt);
}

body.su-theme .mr-card__wish:hover,
body.su-theme .mr-card__quickview:hover {
    background-color: var(--su-porcelain);
    color: var(--su-ink);
}

body.su-theme .mr-card__wish.is-active { color: var(--su-gold-ink); }

body.su-theme .mr-card__quick {
    background-color: var(--su-cobalt);
    color: #fff;
    letter-spacing: 0.14em;
}

/* --------------------------------------------------------------------------
   Promo tiles (inherited mr-promo) — three tall collection frames with the
   caption bottom-left, exactly the export's composition.
   -------------------------------------------------------------------------- */
body.su-theme .mr-promo {
    aspect-ratio: 3 / 4;
    background: var(--su-fill);
}

body.su-theme .mr-promo__scrim {
    background: linear-gradient(180deg, rgba(28, 28, 25, 0.02) 42%, rgba(23, 34, 61, 0.62) 100%);
}

body.su-theme .mr-promo:hover .mr-promo__scrim {
    background: linear-gradient(180deg, rgba(28, 28, 25, 0.1) 30%, rgba(23, 34, 61, 0.74) 100%);
}

body.su-theme .mr-promo__title {
    font-family: var(--su-font-head);
    font-weight: 600;
    color: #fff;
}

body.su-theme .mr-promo__cta {
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    color: #fff;
    border-bottom-color: #fff;
}

/* The base's hover rule is `.mr-promo:hover .mr-promo__cta` (0,0,3,0) — a bare
   `.su-theme .mr-promo__cta` (0,0,2,1) would lose to it, so the hover state is
   overridden at the same shape. Gold on the darkened scrim reads clearly. */
body.su-theme .mr-promo:hover .mr-promo__cta {
    color: var(--su-gold-light);
    border-color: var(--su-gold-light);
}

/* --------------------------------------------------------------------------
   Featured / new-arrivals bands — quiet porcelain-low surface under the
   bestsellers, plain canvas under the new patterns.
   -------------------------------------------------------------------------- */
body.su-theme .su-featured { border-block: 1px solid rgba(201, 162, 75, 0.2); }

/* --------------------------------------------------------------------------
   Set-size guide (su-sizes) — the full-bleed China Cobalt band. Every role on
   it is measured against the cobalt: porcelain headings 7.75:1, the pale-blue
   piece count 4.54:1, the softened body copy 5.38:1, and the large gold icons
   3.23:1 (graphics-only threshold).
   -------------------------------------------------------------------------- */
body.su-theme .su-sizes {
    background-color: var(--su-cobalt);
    padding-block: clamp(3.5rem, 8vw, 6rem);
}

body.su-theme .su-sizes__heading {
    font-family: var(--su-font-head);
    font-weight: 700;
    font-size: clamp(1.85rem, 3.4vw, 2.75rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--su-porcelain);
    margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

body.su-theme .su-sizes__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(2rem, 4vw, 4rem);
}

body.su-theme .su-sizes__col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

body.su-theme .su-sizes__icon { display: block; color: var(--su-gold); margin-bottom: 1.5rem; }
body.su-theme .su-sizes__icon svg { width: 46px; height: 46px; display: block; }

body.su-theme .su-sizes__title {
    font-family: var(--su-font-head);
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--su-porcelain);
    margin-bottom: 0.5rem;
}

body.su-theme .su-sizes__meta {
    font-family: var(--su-font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--su-cobalt-pale);
    margin-bottom: 1rem;
}

body.su-theme .su-sizes__text {
    max-width: 22rem;
    color: rgba(248, 245, 240, 0.82);
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Category grid (inherited mr-tile--cat) — the export's desaturated cobalt
   tiles that regain their colour on hover, under a centred heading.
   `.mr-band` is used by the categories home section only.
   -------------------------------------------------------------------------- */
body.su-theme .mr-section.mr-band .mr-display { text-align: center; }

body.su-theme .mr-tile--cat { height: 380px; border: 1px solid rgba(201, 162, 75, 0.3); }

body.su-theme .mr-tile--cat .mr-tile__media img {
    filter: grayscale(1) contrast(1.05);
    transition: filter 0.5s ease, transform 0.7s ease;
}

body.su-theme .mr-tile--cat:hover .mr-tile__media img { filter: grayscale(0) contrast(1); }

body.su-theme .mr-tile--cat .mr-tile__scrim {
    background: linear-gradient(180deg, rgba(23, 44, 90, 0.55), rgba(23, 44, 90, 0.72));
}

body.su-theme .mr-tile--cat .mr-tile__cap {
    font-family: var(--su-font-head);
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    font-weight: 600;
    letter-spacing: 0.2em;
}

body.su-theme .mr-tile__placeholder {
    background: linear-gradient(140deg, var(--su-porcelain-low), var(--su-fill) 60%, var(--su-keyline-strong));
}

/* --------------------------------------------------------------------------
   Journal (su-journal) — editorial covers behind a gold hairline, gold labels
   and serif titles that warm to gold on hover.
   -------------------------------------------------------------------------- */
body.su-theme .mr-article__media { border: 1px solid rgba(201, 162, 75, 0.35); background: var(--su-fill); }

body.su-theme .mr-article__title,
body.su-theme .mr-article__title a {
    font-family: var(--su-font-head);
    font-weight: 600;
    color: var(--su-cobalt);
}

body.su-theme .mr-article__title a:hover { color: var(--su-gold-ink); }

/* --------------------------------------------------------------------------
   Newsletter (su-cta) — the light porcelain band between two gold keylines:
   the italic Playfair "The Table Setting" beside the underlined field and the
   solid cobalt Subscribe button.
   -------------------------------------------------------------------------- */
body.su-theme .su-cta {
    background-color: var(--su-porcelain);
    border-block: 1px solid rgba(201, 162, 75, 0.3);
    padding-block: clamp(3.5rem, 7vw, 6rem);
}

body.su-theme .su-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: clamp(2rem, 4vw, 3rem);
}

body.su-theme .su-cta__copy { max-width: 34rem; }

body.su-theme .su-cta__title {
    font-family: var(--su-font-head);
    font-style: italic;
    font-weight: 700;
    font-size: clamp(1.85rem, 3.4vw, 2.75rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--su-cobalt);
    margin-bottom: 1rem;
}

body.su-theme .su-cta__body { font-size: 1.075rem; line-height: 1.7; color: var(--su-muted); }
body.su-theme .su-cta__note { font-size: 0.78rem; color: var(--su-soft); }

body.su-theme .su-cta__form { display: flex; gap: 1rem; flex-wrap: wrap; }

body.su-theme .su-cta__form input {
    min-width: 18rem;
    flex: 1 1 18rem;
    background: transparent;
    border: 0;
    border-bottom: 2px solid var(--su-cobalt);
    border-radius: 0;
    padding: 0.9rem 0.25rem;
    font-size: 0.98rem;
    color: var(--su-cobalt);
    transition: border-color 0.2s ease;
}

body.su-theme .su-cta__form input::placeholder { color: var(--su-soft); }
body.su-theme .su-cta__form input:focus { outline: none; border-bottom-color: var(--su-gold); }

body.su-theme .su-cta__btn {
    border: 0;
    background: var(--su-cobalt);
    color: #fff;
    border-radius: var(--su-radius);
    padding: 0.95rem 2.5rem;
    font-family: var(--su-font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

body.su-theme .su-cta__btn:hover { background: var(--su-cobalt-deep); }

/* --------------------------------------------------------------------------
   Trust strip + brand wall — inherited chrome settling onto the porcelain.
   -------------------------------------------------------------------------- */
body.su-theme .mr-trust svg { color: var(--su-gold-ink); width: 26px; height: 26px; }
body.su-theme .mr-trust strong { color: var(--su-cobalt); font-size: 0.76rem; letter-spacing: 0.12em; }
body.su-theme .mr-trust span { color: var(--su-muted); }

body.su-theme .mr-brandstrip { border-color: rgba(201, 162, 75, 0.4); opacity: 1; }
body.su-theme .mr-brandstrip span { font-family: var(--su-font-head); color: var(--su-soft); }

body.su-theme .mr-divider { background-color: var(--su-keyline); }
body.su-theme .mr-crumbs a:hover { color: var(--su-gold-ink); }

/* --------------------------------------------------------------------------
   Footer — the export's full China Cobalt slab. Because the canvas flips, EVERY
   inherited ink role inside it is re-declared: porcelain wordmark, gold-light
   column headings (5.29:1), pale-blue links and meta (4.54:1), and a porcelain
   Join button so the CTA is not cobalt-on-cobalt.
   -------------------------------------------------------------------------- */
body.su-theme .mr-footer {
    background-color: var(--su-cobalt);
    border-top: 0;
    color: var(--su-porcelain);
}

body.su-theme .mr-footer__brand { font-family: var(--su-font-head); color: var(--su-porcelain); }

body.su-theme .mr-footer h4 {
    font-family: var(--su-font-body);
    color: var(--su-gold-light);
    letter-spacing: 0.16em;
}

body.su-theme .mr-footer a { color: var(--su-cobalt-pale); }
body.su-theme .mr-footer a:hover { color: var(--su-porcelain); }
body.su-theme .mr-footer .mr-muted,
body.su-theme .mr-footer .mr-soft { color: var(--su-cobalt-pale); }
body.su-theme .mr-footer .mr-divider { background-color: rgba(248, 245, 240, 0.16); }

body.su-theme .mr-footer .form-control {
    background-color: rgba(248, 245, 240, 0.1);
    border-color: rgba(248, 245, 240, 0.3);
    color: var(--su-porcelain);
}

body.su-theme .mr-footer .form-control::placeholder { color: rgba(248, 245, 240, 0.62); }

body.su-theme .mr-footer .form-control:focus {
    background-color: rgba(248, 245, 240, 0.16);
    border-color: var(--su-gold-light);
    box-shadow: none;
    color: var(--su-porcelain);
}

body.su-theme .mr-footer .mr-btn--primary {
    background-color: var(--su-porcelain);
    border-color: var(--su-porcelain);
    color: var(--su-cobalt);
}

body.su-theme .mr-footer .mr-btn--primary:hover {
    background-color: #fff;
    border-color: #fff;
    color: var(--su-cobalt-deep);
}

body.su-theme .mr-footer .mr-social {
    border-color: rgba(248, 245, 240, 0.32);
    background: transparent;
    color: var(--su-porcelain);
}

body.su-theme .mr-footer .mr-social:hover {
    background-color: var(--su-porcelain);
    border-color: var(--su-porcelain);
    color: var(--su-cobalt);
}

body.su-theme .mr-footer a:focus-visible,
body.su-theme .mr-footer button:focus-visible,
body.su-theme .mr-footer input:focus-visible {
    outline-color: var(--su-gold-light);
}

/* --------------------------------------------------------------------------
   Reduced motion — the hover lifts, tile zooms and desaturation cross-fades
   here are all decorative.
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    body.su-theme .mr-btn,
    body.su-theme .su-cta__btn,
    body.su-theme .su-keyline-link,
    body.su-theme .mr-card__media,
    body.su-theme .mr-tile--cat .mr-tile__media img,
    body.su-theme .mr-promo__img {
        transition: none;
    }

    body.su-theme .mr-card:hover .mr-card__media { transform: none; box-shadow: none; }
}

/* --------------------------------------------------------------------------
   Mobile (from the Stitch mobile frames): the hero stacks photo-over-copy, the
   set-size guide becomes one column, the newsletter form goes full width.
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    body.su-theme .su-hero { flex-direction: column; min-height: 0; }
    body.su-theme .su-hero__media { flex: none; min-height: 320px; height: 46vw; }
    body.su-theme .su-hero__panel { flex: none; padding: clamp(2rem, 8vw, 3.5rem) 1.5rem; }
    body.su-theme .su-hero__copy { max-width: none; }
    body.su-theme .su-sizes__grid { grid-template-columns: 1fr; }
    body.su-theme .su-cta__inner { flex-direction: column; align-items: flex-start; }
    body.su-theme .su-cta__form { width: 100%; }
    body.su-theme .mr-tile--cat { height: 260px; }
}

@media (max-width: 575.98px) {
    body.su-theme .su-cta__form input { min-width: 0; flex: 1 1 100%; }
    body.su-theme .su-cta__btn { width: 100%; }
    body.su-theme .mr-promo__cap { left: 1.25rem; right: 1.25rem; bottom: 1.25rem; }
}
