/* ==========================================================================
   Gold Buy Sell — Public UI design system
   Visual language: deep wine + antique gold on warm cream, in the style of a
   traditional Indian jewellery brand. Scoped under .pub so the authenticated
   app (.app / .trade-ui) is untouched.
   Loaded by layouts/guest.blade.php (all public + auth pages).
   ========================================================================== */

.pub {
    /* ── Wine (primary brand) ───────────────────────────────────────────── */
    --wine:       #791236;
    --wine-deep:  #5C0E29;
    --wine-soft:  #F3E4EA;
    --wine-line:  rgba(121, 18, 54, .16);

    /* ── Gold (accent) ──────────────────────────────────────────────────── */
    --gold:        #BFA14A;   /* antique gold — text/borders  */
    --gold-rich:   #7E661F;   /* darker, for body-copy accents */
    --gold-bright: #FFE082;   /* button + highlight fill       */
    --gold-pale:   #F9E381;
    --gold-soft:   #FFF8E1;
    --gold-grad:   linear-gradient(135deg, #FFE9A8, #FFE082 55%, #E9C45C);

    /* ── Silver (secondary metal) ───────────────────────────────────────── */
    --silver:      #C9CBD1;
    --platinum:    #E8E9ED;
    --steel:       #7C7F87;
    --silver-bg:   #F5F5F3;
    --silver-grad: linear-gradient(135deg, #FAFAF8, #DCDDE1, #B4B7BE);

    /* ── Base ───────────────────────────────────────────────────────────── */
    --bg:          #FFFFFF;
    --bg-2:        #FFFBE7;
    --bg-warm:     #FFF8E1;
    --ink:         #181818;   /* footer / deepest surface */
    --text:        #212529;
    --text-2:      #4B5158;
    --text-3:      #6B7280;
    --line:        #EFE6CE;
    --line-2:      #DFD2AE;
    --success:     #16A34A;
    --error:       #DC2626;
    --warning:     #D97706;

    /* ── Signature diagonal washes (the section rhythm of this brand) ───── */
    --wash:        linear-gradient(135deg, #FFF8E1 70%, #FFE082 100%);
    --wash-2:      linear-gradient(135deg, #FFFBE7 70%, #FFE082 100%);
    --wash-wine:   linear-gradient(135deg, #791236 80%, #FFE082 100%);
    --wash-fab:    linear-gradient(135deg, #791236 0%, #FFD612 100%);

    /* ── Scale ──────────────────────────────────────────────────────────── */
    --r-sm: 6px;  --r-md: 10px;  --r-lg: 18px;  --r-xl: 18px;  --r-shot: 32px;
    --sh-1: 0 2px 4px rgba(0,0,0,.075);
    --sh-2: 0 2px 8px rgba(191,161,74,.18), 0 1px 3px rgba(0,0,0,.05);
    --sh-3: 0 6px 22px rgba(121,18,54,.13), 0 2px 6px rgba(0,0,0,.05);
    --sh-gold: 0 4px 14px rgba(191,161,74,.35);
    --ease: cubic-bezier(.2,.7,.2,1);

    font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: var(--bg-warm);
}

/* ── Typography ─────────────────────────────────────────────────────────── */
.pub h1, .pub h2, .pub h3, .pub h4, .pub .u-display {
    font-family: inherit;
    letter-spacing: .5px; line-height: 1.22; color: var(--wine);
}
.pub .u-h1  { font-size: clamp(2rem, 1.3rem + 2.6vw, 2.9rem); font-weight: 700; letter-spacing: 1px; }
.pub .u-h2  { font-size: clamp(1.6rem, 1.25rem + 1.5vw, 2.25rem); font-weight: 700; letter-spacing: .5px; }
.pub .u-h3  { font-size: clamp(1.1rem, 1rem + .45vw, 1.4rem); font-weight: 600; letter-spacing: .2px; }
.pub .u-lead{ font-size: clamp(1rem, .95rem + .3vw, 1.12rem); line-height: 1.75; color: var(--text-2); letter-spacing: 0; }
.pub .u-body{ font-size: .96rem; line-height: 1.75; color: var(--text-2); letter-spacing: 0; }
.pub .u-num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; letter-spacing: 0; }
.pub .u-eyebrow {
    font-size: .72rem; font-weight: 700; letter-spacing: .18em;
    text-transform: uppercase; color: var(--gold-rich);
}
.pub .u-gold-text {
    background: linear-gradient(96deg, #E9C45C, #FFE082 45%, #FFF1BE);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
/* On cream sections the pale gold gradient would vanish — use antique gold. */
.pub .u-wash .u-gold-text, .pub .u-bg-warm .u-gold-text, .pub .u-bg-2 .u-gold-text {
    background: linear-gradient(96deg, #7E661F, #BFA14A 50%, #D8BC63);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ── Layout helpers ─────────────────────────────────────────────────────── */
.pub .u-wrap    { max-width: 1200px; margin-inline: auto; padding-inline: clamp(1rem, .5rem + 2vw, 2rem); }
.pub .u-section { padding-block: clamp(3rem, 2rem + 4.5vw, 5rem); }
.pub .u-bg-2    { background: var(--wash-2); }
.pub .u-bg-warm { background: var(--wash); }
.pub .u-wash      { background: var(--wash); }
.pub .u-wash-wine { background: var(--wash-wine); color: rgba(255,255,255,.9); }
.pub .u-wash-wine h1, .pub .u-wash-wine h2, .pub .u-wash-wine h3, .pub .u-wash-wine h4 { color: #fff; }
.pub .u-wash-wine .u-lead, .pub .u-wash-wine .u-body { color: rgba(255,255,255,.86); }
.pub .u-wash-wine .u-eyebrow { color: var(--gold-bright); }

/* Screenshot / showcase imagery — the deep 32px radius is a brand signature. */
.pub .u-shot { border-radius: var(--r-shot); box-shadow: var(--sh-2); overflow: hidden; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.pub-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--wine);
    border-bottom: 1px solid rgba(255,255,255,.1);
    transition: box-shadow .3s var(--ease);
}
.pub-header[data-scrolled="true"] { box-shadow: 0 4px 18px rgba(121,18,54,.28); }
.pub-nav-link {
    position: relative; font-size: .92rem; font-weight: 500; color: rgba(255,255,255,.82);
    padding: .5rem .25rem; transition: color .2s var(--ease);
}
.pub-nav-link:hover, .pub-nav-link[aria-current="page"] { color: var(--gold-bright); }
.pub-nav-link::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
    background: var(--gold-bright); border-radius: 2px;
    transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
}
.pub-nav-link:hover::after, .pub-nav-link[aria-current="page"]::after { transform: scaleX(1); }
/* Mobile drawer sits on the wine bar, so it inherits the dark treatment. */
.pub-mobile-nav { background: var(--wine-deep); border-top: 1px solid rgba(255,255,255,.12); }
.pub-mobile-nav a { color: rgba(255,255,255,.86); }
.pub-mobile-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.pub-burger {
    display: grid; place-items: center; height: 44px; width: 44px; border-radius: var(--r-sm);
    border: 1px solid rgba(255,255,255,.28); color: #fff; background: transparent;
}

/* ── Buttons ────────────────────────────────────────────────────────────── */
.pub .u-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    min-height: 44px; padding: 0 1.35rem; border-radius: var(--r-sm);
    font-family: inherit; font-size: .96rem; font-weight: 600;
    cursor: pointer; border: 0; text-align: center; white-space: nowrap;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.pub .u-btn-gold  { background: var(--gold-bright); color: #9B2114; box-shadow: var(--sh-gold); }
.pub .u-btn-gold:hover:not(:disabled) { background: #FFD75C; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(191,161,74,.45); }
.pub .u-btn-wine  { background: var(--wine); color: #fff; box-shadow: 0 6px 16px rgba(121,18,54,.3); }
.pub .u-btn-wine:hover:not(:disabled) { background: var(--wine-deep); transform: translateY(-2px); }
.pub .u-btn-ink   { background: var(--ink); color: #fff; box-shadow: 0 6px 16px rgba(0,0,0,.3); }
.pub .u-btn-ink:hover:not(:disabled) { transform: translateY(-2px); }
.pub .u-btn-ghost { background: transparent; color: var(--wine); border: 1.5px solid var(--wine); }
.pub .u-btn-ghost:hover:not(:disabled) { background: var(--wine); color: #fff; }
/* Ghost button on a DARK background flips to a light outline. Get the context
   list wrong in either direction and the button disappears: wine-on-wine when
   a dark context is missing, white-on-cream when a light one is included.
   The hero is deliberately NOT listed here — it is a light cream panel. */
.pub .u-wash-wine .u-btn-ghost,
.pub-header .u-btn-ghost,
.pub-mobile-nav .u-btn-ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.pub .u-wash-wine .u-btn-ghost:hover,
.pub-header .u-btn-ghost:hover,
.pub-mobile-nav .u-btn-ghost:hover { background: #fff; color: var(--wine); border-color: #fff; }
.pub .u-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.pub .u-btn-block { width: 100%; }

/* ── Cards ──────────────────────────────────────────────────────────────── */
.pub .u-card {
    background: var(--bg); border: 1px solid var(--line);
    border-radius: var(--r-lg); box-shadow: var(--sh-1);
}
.pub .u-card-flat { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); }
.pub .u-card-lift { transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.pub .u-card-lift:hover { transform: translateY(-6px); box-shadow: var(--sh-3); border-color: var(--line-2); }

/* Metal-themed surfaces */
.pub .u-gold-surface   { background: linear-gradient(135deg, #FFF8E1 68%, #FFE082 100%); border-color: rgba(191,161,74,.36); }
.pub .u-silver-surface { background: linear-gradient(135deg, #FAFAF8 68%, #DCDDE1 100%); border-color: rgba(124,127,135,.26); }
.pub .u-gold-chip   { background: var(--gold-grad);   color: #6B4A05; }
.pub .u-silver-chip { background: var(--silver-grad); color: #3A3D43; }
.pub .u-chip-lg {
    display: grid; place-items: center; height: 48px; width: 48px; border-radius: var(--r-md);
    font-weight: 700; font-size: 1rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 3px 10px rgba(0,0,0,.12);
}

/* ── Icon tile ──────────────────────────────────────────────────────────── */
.pub .u-icon {
    display: grid; place-items: center; height: 48px; width: 48px;
    border-radius: 50%; background: var(--wine); color: var(--gold-bright);
    border: 0; box-shadow: 0 4px 12px rgba(121,18,54,.26);
}
.pub .u-icon-steel { background: var(--gold-bright); color: var(--wine); box-shadow: 0 4px 12px rgba(191,161,74,.32); }

/* ── Badges ─────────────────────────────────────────────────────────────── */
.pub .u-badge {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .35rem .8rem; border-radius: 999px;
    font-size: .74rem; font-weight: 600; letter-spacing: .02em;
}
/* Live-status badge. Green reads as "really live" in a way a gold chip can't,
   and the pulsing dot signals an active feed rather than a static label. */
.pub .u-badge-live {
    background: #E7F6EC; color: #0F7A3D; border: 1px solid rgba(15,122,61,.28);
}
.pub .u-live-dot {
    position: relative; height: 7px; width: 7px; border-radius: 50%;
    background: #16A34A; flex: none;
}
.pub .u-live-dot::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    background: #16A34A; animation: u-live-pulse 1.8s var(--ease) infinite;
}
@keyframes u-live-pulse {
    0%   { transform: scale(1);   opacity: .65; }
    70%  { transform: scale(2.6); opacity: 0; }
    100% { transform: scale(2.6); opacity: 0; }
}
/* A pulsing dot is decorative motion — stop it, but keep the dot visible. */
@media (prefers-reduced-motion: reduce) {
    .pub .u-live-dot::after { animation: none; opacity: 0; }
}

.pub .u-badge-gold    { background: var(--gold-bright); color: #7A5B08; border: 1px solid rgba(191,161,74,.45); }
.pub .u-badge-silver  { background: var(--silver-bg); color: #4E5157; border: 1px solid rgba(124,127,135,.3); }
.pub .u-badge-wine    { background: var(--wine-soft); color: var(--wine); border: 1px solid var(--wine-line); }
.pub .u-badge-success { background: #E9F8EF; color: #10693F; }
/* On the wine header/CTA the gold badge needs to read as a light chip. */
.pub .u-wash-wine .u-badge-gold { background: rgba(255,255,255,.14); color: var(--gold-bright); border-color: rgba(255,224,130,.4); }

/* ── Forms ──────────────────────────────────────────────────────────────── */
.pub .u-label { display: block; margin-bottom: .45rem; font-size: .85rem; font-weight: 600; color: var(--text); }
.pub .u-input, .pub .u-select {
    width: 100%; min-height: 48px; background: var(--bg);
    border: 1.5px solid var(--line-2); border-radius: var(--r-sm);
    padding: .75rem 1rem; font-family: inherit; font-size: .95rem;
    color: var(--text); outline: none;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.pub .u-input::placeholder { color: #9AA0A6; }
.pub .u-input:focus, .pub .u-select:focus { border-color: var(--wine); box-shadow: 0 0 0 3px rgba(121,18,54,.14); }
.pub .u-input[aria-invalid="true"] { border-color: var(--error); }
.pub .u-input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(220,38,38,.14); }
.pub .u-select {
    -webkit-appearance: none; appearance: none; padding-right: 2.6rem; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23791236' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 1rem center;
}
.pub .u-otp { letter-spacing: .45em; font-variant-numeric: tabular-nums; }
.pub .u-error { margin-top: .45rem; font-size: .78rem; font-weight: 600; color: var(--error); }
.pub .u-hint  { margin-top: .45rem; font-size: .78rem; color: var(--text-3); }
.pub .u-check {
    height: 18px; width: 18px; border-radius: 4px; border: 1.5px solid var(--line-2);
    accent-color: var(--wine); cursor: pointer; flex-shrink: 0;
}
.pub .u-field-wrap { position: relative; }
.pub .u-field-wrap .u-input { padding-right: 3rem; }
.pub .u-reveal {
    position: absolute; right: .35rem; top: 50%; transform: translateY(-50%);
    display: grid; place-items: center; height: 40px; width: 40px;
    border-radius: var(--r-sm); border: 0; background: transparent; color: var(--text-3); cursor: pointer;
}
.pub .u-reveal:hover { color: var(--wine); background: var(--wine-soft); }

/* ── Notes / alerts ─────────────────────────────────────────────────────── */
.pub .u-note {
    display: flex; align-items: flex-start; gap: .6rem;
    border-radius: var(--r-sm); padding: .8rem 1rem; font-size: .84rem; line-height: 1.6;
}
.pub .u-note-gold    { background: var(--gold-soft); border: 1px solid rgba(191,161,74,.4); color: #7A5B08; }
.pub .u-note-success { background: #ECFAF2; border: 1px solid #BFE8D0; color: #10693F; }
.pub .u-note-error   { background: #FEF2F2; border: 1px solid #FCCFCF; color: #A81C1C; }
.pub .u-note-mute    { background: #FFFDF4; border: 1px solid var(--line); color: var(--text-2); }

/* ── Accordion (FAQ) ─────────────────────────────────────────────────────
   Native <details>/<summary>: keyboard-accessible and functional without JS. */
.pub .u-acc { border-bottom: 1px solid var(--line); }
.pub .u-acc > summary {
    display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
    padding: 1.35rem 0; cursor: pointer; list-style: none;
    font-size: 1.02rem; font-weight: 600; color: var(--wine);
    transition: color .2s var(--ease);
}
.pub .u-acc > summary::-webkit-details-marker { display: none; }
.pub .u-acc > summary:hover { color: var(--gold-rich); }
.pub .u-acc > summary:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; border-radius: 6px; }
.pub .u-acc-icon {
    display: grid; place-items: center; height: 30px; width: 30px; flex-shrink: 0;
    border-radius: 50%; border: 1px solid var(--line-2); color: var(--wine);
    transition: transform .32s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.pub .u-acc[open] > summary .u-acc-icon {
    transform: rotate(180deg); background: var(--gold-bright);
    color: var(--wine); border-color: rgba(191,161,74,.5);
}
.pub .u-acc-panel { padding-bottom: 1.35rem; }
.pub .u-acc[open] > .u-acc-panel { animation: u-acc-open .28s var(--ease) both; }
@keyframes u-acc-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ── Auth split layout ──────────────────────────────────────────────────── */
.pub .u-auth-art {
    position: relative; overflow: hidden;
    background: linear-gradient(160deg, #791236 0%, #9A2049 55%, #BFA14A 100%);
}
/* Direct child only — this sizes the background artwork. Without the `>` it
   also captures the logo nested inside the panel and, at specificity (0,2,1),
   overrides Tailwind's h-10, blowing the logo up to full panel width. */
.pub .u-auth-art > img { width: 100%; height: 100%; object-fit: cover; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.pub-footer { background: var(--ink); color: rgba(255,255,255,.72); }
.pub-footer a { color: rgba(255,255,255,.68); transition: color .2s var(--ease); }
.pub-footer a:hover { color: var(--gold-bright); }
/* Footer links are small text; pad them so the tap target clears the
   WCAG 2.2 AA 24px minimum comfortably. */
.pub-footer li a, .pub-footer li { display: inline-block; padding-block: .4rem; }
.pub-footer a:focus-visible, .pub .u-btn:focus-visible, .pub a:focus-visible {
    outline: 2px solid var(--gold-bright); outline-offset: 3px; border-radius: 6px;
}
.pub-footer h4 { color: var(--gold-bright); font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* ── Hero slider ─────────────────────────────────────────────────────────
   Progressive enhancement: with JS off the first slide is simply visible and
   the controls are hidden, so the hero never renders empty. The track holds
   its own height via aspect-ratio, so slides can be absolutely positioned
   without the section collapsing (no CLS). */
.pub .u-slider { position: relative; }
.pub .u-slider-track {
    position: relative; aspect-ratio: 1216 / 832;
    border-radius: var(--r-shot); overflow: hidden; box-shadow: var(--sh-2);
    background: var(--gold-soft);
}
.pub .u-slide {
    position: absolute; inset: 0;
    opacity: 0; transition: opacity .7s var(--ease);
}
.pub .u-slide img { height: 100%; width: 100%; object-fit: cover; }
/* First slide is visible by default; JS then takes over via [data-active]. */
.pub .u-slide:first-child { opacity: 1; }
.js .pub .u-slider[data-ready="true"] .u-slide { opacity: 0; }
.js .pub .u-slider[data-ready="true"] .u-slide[data-active="true"] { opacity: 1; }

/* Caption sits on a wine scrim so it stays legible over any slide. */
.pub .u-slide-cap {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 2.2rem 1.6rem 1.4rem;
    background: linear-gradient(to top, rgba(121,18,54,.88), rgba(121,18,54,.55) 55%, transparent);
    color: #fff; font-size: .95rem; font-weight: 600; letter-spacing: .2px;
}

/* Dots sit in normal flow below the track, so they reserve their own space —
   absolute-positioning them off the bottom edge left no gap and risked being
   clipped by the hero section's overflow:hidden. */
.pub .u-slider-dots {
    display: flex; justify-content: center; gap: .5rem;
    margin-top: .6rem;
}
.pub .u-dot {
    height: 34px; width: 34px; padding: 0;      /* 34px keeps the tap target legal */
    display: grid; place-items: center;
    border: 0; background: transparent; cursor: pointer; border-radius: 50%;
}
.pub .u-dot::before {
    content: ""; height: 9px; width: 9px; border-radius: 50%;
    background: var(--line-2); transition: background-color .25s var(--ease), width .25s var(--ease);
}
.pub .u-dot[aria-selected="true"]::before { background: var(--wine); width: 26px; border-radius: 999px; }
.pub .u-dot:hover::before { background: var(--gold); }
.pub .u-dot:focus-visible { outline: 2px solid var(--wine); outline-offset: 2px; }

/* Prev / next — hidden until JS confirms the slider is live. */
.pub .u-slider-nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
    display: none; place-items: center; height: 44px; width: 44px;
    border: 0; border-radius: 50%; cursor: pointer;
    background: rgba(255,255,255,.9); color: var(--wine);
    box-shadow: 0 4px 14px rgba(0,0,0,.18);
    transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.js .pub .u-slider[data-ready="true"] .u-slider-nav { display: grid; }
.pub .u-slider-nav:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.pub .u-slider-nav:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
.pub .u-slider-prev { left: .75rem; }
.pub .u-slider-next { right: .75rem; }

@media (prefers-reduced-motion: reduce) {
    .pub .u-slide { transition: none; }
}

/* ── Hero: copy on the LEFT, photo slider on the RIGHT ───────────────────
   Reverted from the full-bleed banner treatment. Because the copy now sits on
   a light cream panel rather than over the artwork, it uses the normal dark
   type colours — no scrim, no white overrides. */
.pub .u-hero {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, #FFF8E1 60%, #FFE9A8 100%);
}
.pub .u-hero-grid {
    display: grid; gap: clamp(2rem, 1rem + 4vw, 3.5rem);
    align-items: center;
    padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem);
}
@media (min-width: 1024px) {
    .pub .u-hero-grid { grid-template-columns: 1fr 1fr; }
}

/* Slider sits in the right column at a fixed photo ratio, so the column never
   collapses and there is no layout shift while the photo loads. */
.pub .u-hero .u-slider-track {
    aspect-ratio: 4 / 3;
    border-radius: var(--r-shot);
    box-shadow: var(--sh-3);
    background: var(--gold-soft);
}
.pub .u-hero .u-slide img { height: 100%; width: 100%; object-fit: cover; }

/* Caption reads over a wine scrim at the foot of the photo. The scrim has to
   survive the brightest photo in the set — sg-life-3 has a sunlit wooden table
   right under the caption and only reached 3.7:1 with a lighter ramp. */
.pub .u-hero .u-slide-cap {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 2.6rem 1.5rem 1.25rem;
    background: linear-gradient(to top,
        rgba(92,14,41,.97) 0%, rgba(92,14,41,.90) 45%,
        rgba(92,14,41,.60) 72%, rgba(92,14,41,0) 100%);
    color: #fff; font-size: .95rem; font-weight: 600; letter-spacing: .2px;
}

.pub .u-hero-trust { color: var(--text-2); }
.pub .u-hero-trust svg { color: var(--gold-rich); }

/* ── Floating action button (brand signature: circular wine→gold) ───────── */
/* Sits one slot ABOVE the global go-to-top button (52px + gap), so the two
   circular controls stack instead of overlapping in the same corner. */
.pub-fab {
    position: fixed; z-index: 60;
    right: calc(1.25rem + env(safe-area-inset-right, 0px));
    bottom: calc(1.25rem + 64px + env(safe-area-inset-bottom, 0px));
    display: grid; place-items: center; height: 56px; width: 56px;
    border-radius: 50%; border: 0; cursor: pointer; color: #fff;
    background: var(--wash-fab);
    box-shadow: 0 6px 20px rgba(121,18,54,.42);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.pub-fab:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 10px 26px rgba(121,18,54,.5); }
.pub-fab:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 3px; }

/* ── Motion ─────────────────────────────────────────────────────────────── */
.js .pub .u-reveal-on-scroll { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.pub .u-reveal-on-scroll.in { opacity: 1; transform: none; }
.pub .u-fade-in { animation: u-fade-up .7s var(--ease) both; }
@keyframes u-fade-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* Fluid media. :where() keeps specificity at zero so Tailwind height/width
   utilities (h-9, h-10 …) still win — a plain `.pub img` rule would outrank
   them and blow images up to their intrinsic size. Aspect ratio is preserved
   by the width/height attributes on each <img>. */
.pub :where(img, svg, video) { max-width: 100%; }

@media (prefers-reduced-motion: reduce) {
    .pub *, .pub *::before, .pub *::after { animation: none !important; transition-duration: .01ms !important; }
    .js .pub .u-reveal-on-scroll { opacity: 1; transform: none; }
    .pub .u-card-lift:hover, .pub .u-btn:hover, .pub-fab:hover { transform: none; }
}
