/* =============================================================================
   MEDWAY HERITAGE — design system
   Editorial heritage-maritime. Dockyard Navy / Ropewalk Ivory / Aged Brass.
   Loaded after the parent (bidspirit-custom) so the cascade wins.
   Sections: 1 tokens · 2 base/type · 3 layout · 4 buttons · 5 header
             6 footer · 7 components · 8 auction re-skin · 9 motion
             10 responsive · 11 a11y
   ========================================================================== */

/* 1 ── TOKENS ─────────────────────────────────────────────────────────────── */
:root {
  --navy:        #1B2A3A;
  --navy-deep:   #14202c;
  --navy-line:   #2c3e50;
  --ivory:       #F6EFE2;   /* warm cream — main background */
  --ivory-soft:  #FCF8EF;
  --brass:       #B6924F;   /* muted warm gold — fine secondary accent */
  --brass-hover: #C7A968;
  --red:         #7E2E27;   /* bold oxblood-red — primary signature accent */
  --red-hover:   #6A2620;
  --hemp:        #D8CBB4;
  --hemp-soft:   #EFE3D2;   /* soft blush surface */
  --slate:       #6A5E50;   /* warm muted text */
  --oxblood:     #7E2E27;

  --ink:   #2A2017;          /* warm near-black — text & headings on cream */
  --paper: var(--ivory);

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Archivo', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* fluid type scale */
  --fs-hero:    clamp(2.7rem, 1.6rem + 4.6vw, 5.4rem);
  --fs-display: clamp(2.2rem, 1.4rem + 3.4vw, 4rem);
  --fs-h1:      clamp(2rem, 1.4rem + 2.6vw, 3.3rem);
  --fs-h2:      clamp(1.65rem, 1.2rem + 1.9vw, 2.55rem);
  --fs-h3:      clamp(1.3rem, 1.1rem + 0.8vw, 1.6rem);
  --fs-h4:      1.15rem;
  --fs-lead:    clamp(1.1rem, 1rem + 0.45vw, 1.32rem);
  --fs-body:    1.0625rem;
  --fs-small:   0.875rem;
  --fs-eyebrow: 0.75rem;

  /* 8px spacing scale */
  --s1: 0.5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2.5rem;
  --s5: 4rem;   --s6: 6rem; --s7: 10rem;
  --section-y: clamp(2.4rem, 1.4rem + 3.4vw, 4.5rem);
  --gutter: clamp(1.1rem, 0.5rem + 2.4vw, 2.2rem);
  --maxw: 1240px;
  --maxw-text: 68ch;

  --radius: 4px;
  --radius-lg: 14px;
  --radius-pill: 999px;
  --rule: 1px solid var(--red);
  --shadow-1: 0 1px 2px rgba(20,32,44,.06), 0 6px 18px rgba(20,32,44,.07);
  --shadow-2: 0 12px 40px rgba(20,32,44,.16);
  --ease: cubic-bezier(.22,.61,.36,1);
  --t: .4s var(--ease);
}

/* 2 ── BASE & TYPOGRAPHY ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.65;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6, .mw-display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 var(--s3);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
h4 { font-size: var(--fs-h4); font-weight: 600; letter-spacing: 0; }
.mw-display { font-size: var(--fs-display); font-weight: 700; }
.mw-hero__title { font-size: var(--fs-hero); font-weight: 700; line-height: 1.02; }

p { margin: 0 0 var(--s3); max-width: var(--maxw-text); }
.mw-lead { font-size: var(--fs-lead); line-height: 1.55; color: color-mix(in srgb, var(--ink) 86%, transparent); }
/* On dark sections the lead must be light, not the default dark ink. */
.mw-section--navy .mw-lead, .mw-section--red .mw-lead, .mw-hero .mw-lead, .mw-pagehead .mw-lead { color: var(--hemp); }

/* Links read as ink — not orange. (Parent theme sets a:visited{#F37725}, so :visited is included.) */
a, a:visited { color: var(--ink); text-decoration: none; transition: color var(--t), text-decoration-color var(--t); }
a:hover, a:visited:hover { color: var(--red); }
.mw-prose a, .mw-faq a, .mw-detail dd a:not(.mw-link), .entry-content a {
  text-decoration: underline; text-decoration-color: var(--red);
  text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.mw-prose a:hover, .mw-faq a:hover, .entry-content a:hover { color: var(--red); text-decoration-color: var(--red); }
/* The parent theme colours links orange (#F37725); neutralise it site-wide, background-aware.
   Buttons and auction (.bp*/.bpw*) controls keep their own colours. */
.mw-main a:not([class*="btn"]):not([class*="bpw-"]):not([class*="bp-btn"]),
.mw-breadcrumbs a { color: var(--ink); }
.mw-main a:not([class*="btn"]):not([class*="bpw-"]):not([class*="bp-btn"]):hover { color: var(--red); }
/* light text for links on dark bands */
.mw-section--navy a:not([class*="btn"]):not([class*="bpw-"]),
.mw-section--red a:not([class*="btn"]):not([class*="bpw-"]),
.mw-hero a:not([class*="btn"]),
.mw-pagehead a:not([class*="btn"]) { color: var(--hemp); }
.mw-section--navy a:not([class*="btn"]):hover,
.mw-section--red a:not([class*="btn"]):hover { color: var(--ivory); }

strong { font-weight: 600; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.2em; }
hr { border: 0; border-top: var(--rule); opacity: .5; margin: var(--s4) 0; }

::selection { background: var(--red); color: var(--ivory); }

/* eyebrow / small-caps label — used everywhere instead of icons */
.mw-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 var(--s2);
}
.mw-eyebrow--slate { color: var(--slate); }
.mw-eyebrow--ivory { color: var(--hemp); }

/* a thin brass rule used as a divider */
.mw-rule { height: 1px; background: var(--red); border: 0; width: 64px; margin: var(--s3) 0; opacity: .9; }
.mw-rule--center { margin-left: auto; margin-right: auto; }

/* 3 ── LAYOUT ─────────────────────────────────────────────────────────────── */
.mw-container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.mw-container--narrow { max-width: 860px; }

.mw-section { padding-block: var(--section-y); }
.mw-section--navy { background: var(--navy); color: var(--ivory); }
.mw-section--navy h1, .mw-section--navy h2, .mw-section--navy h3, .mw-section--navy h4 { color: var(--ivory); }
.mw-section--hemp { background: var(--hemp-soft); }
.mw-section--soft { background: var(--ivory-soft); }
.mw-section--tight { padding-block: clamp(2rem, 1rem + 4vw, 3.5rem); }

.mw-grid { display: grid; gap: var(--gutter); }
.mw-grid--2 { grid-template-columns: repeat(2, 1fr); }
.mw-grid--3 { grid-template-columns: repeat(3, 1fr); }
.mw-grid--4 { grid-template-columns: repeat(4, 1fr); }
.mw-grid--split { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }

.mw-section__head { max-width: 760px; margin-bottom: var(--s4); }
.mw-section__head--center { margin-inline: auto; text-align: center; }

/* 4 ── BUTTONS ────────────────────────────────────────────────────────────── */
.mw-btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.95em 2em; border-radius: var(--radius-pill);
  border: 1px solid transparent; cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t), transform .15s var(--ease);
  line-height: 1; min-height: 44px; text-align: center;
}
.mw-btn:active { transform: translateY(1px); }
.mw-btn--brass { background: var(--red); color: #fff !important; border-color: var(--red); }
.mw-btn--brass:hover { background: #fff; color: var(--red) !important; border-color: var(--red); }
.mw-btn--navy { background: var(--navy); color: #fff !important; border-color: var(--navy); }
.mw-btn--navy:hover { background: #fff; color: var(--navy) !important; border-color: var(--navy); }
.mw-btn--ghost { background: transparent; color: var(--ink) !important; border-color: var(--red); }
.mw-btn--ghost:hover { background: #fff; color: var(--red) !important; border-color: var(--red); }
.mw-btn--ivory { background: var(--ivory); color: var(--navy) !important; }
.mw-btn--ivory:hover { background: #fff; color: var(--red) !important; }
/* ghost on dark bands: light text + light outline; white fill on hover */
.mw-hero .mw-btn--ghost, .mw-pagehead .mw-btn--ghost, .mw-section--navy .mw-btn--ghost, .mw-section--red .mw-btn--ghost {
  color: var(--ivory) !important; border-color: rgba(246,239,226,.55);
}
.mw-hero .mw-btn--ghost:hover, .mw-pagehead .mw-btn--ghost:hover, .mw-section--navy .mw-btn--ghost:hover, .mw-section--red .mw-btn--ghost:hover {
  background: #fff; color: var(--red) !important; border-color: #fff;
}

/* brass hover-underline link (wipes in) */
.mw-link {
  position: relative; color: inherit; font-weight: 500;
  background-image: linear-gradient(var(--red), var(--red));
  background-size: 0% 1.5px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size var(--t), color var(--t);
  padding-bottom: 2px;
}
.mw-link:hover { background-size: 100% 1.5px; color: var(--red); }

/* 5 ── HEADER ─────────────────────────────────────────────────────────────── */
#page.bt-site { isolation: isolate; } /* no overflow clip here — it would break position:sticky */
.header-holder { display: none !important; } /* sticky header stays in flow — no spacer needed */

/* Sticky, solid navy by default — legible on every page type (theme + plugin pages).
   Merges seamlessly into the navy hero / page-head bands at the top of the page. */
.bt-site-header {
  position: sticky; top: 0; left: 0; right: 0; z-index: 60;
  background: var(--ivory);
  border-top: 0 !important; /* parent theme adds a 3px orange (#F37725) top stripe — remove it */
  border-bottom: 1px solid rgba(42,32,23,.12);
  transition: box-shadow var(--t);
}
.bt-site-header.bt-fixed { box-shadow: 0 6px 24px rgba(42,32,23,.10); }

/* promo strip */
.mw-promobar { background: var(--red); color: var(--ivory); font-size: .76rem; letter-spacing: .02em; }
.mw-promobar .mw-container { display: flex; align-items: center; justify-content: center; gap: 1.25rem; padding-block: .5rem; text-align: center; flex-wrap: wrap; }
.mw-promobar a { color: var(--ivory); font-weight: 700; }
.mw-promobar a:hover { color: #fff; }
.bt-site-header.bt-fixed .mw-promobar { display: none; }

/* row 1 — centred badge logo */
.mw-header__main { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s2); padding-block: clamp(.55rem, .4rem + .6vw, 1rem); }
.mw-header__left { display: flex; align-items: center; gap: var(--s2); justify-self: start; }
.mw-header__right { display: flex; align-items: center; gap: var(--s2); justify-self: end; }
.mw-logo { justify-self: center; display: inline-flex; }
.mw-logo img { height: clamp(56px, 4.5vw, 78px); width: auto; display: block; transition: height var(--t); }
.bt-site-header.bt-fixed .mw-logo img { height: 50px; }

.mw-header__cta { white-space: nowrap; font-size: .72rem; padding: .75em 1.5em; min-height: 0; }

/* wordmark (typographic, no icon) */
.mw-wordmark { display: inline-flex; flex-direction: column; line-height: 1; color: var(--ivory); }
.mw-wordmark__name { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: .01em; color: var(--ivory); white-space: nowrap; }
.mw-wordmark__sub { font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--red); margin-top: .35rem; font-weight: 600; }
a.mw-wordmark:hover .mw-wordmark__name { color: var(--ivory); }
a.mw-wordmark:hover .mw-wordmark__sub { color: var(--red-hover); }

/* row 2 — centred nav bar (dark links on cream) */
.main-navigation { display: flex; justify-content: center; border-top: 1px solid rgba(42,32,23,.08); }
.bt-site-header.bt-fixed .main-navigation { border-top: 0; }
#site-navigation.main-navigation ul { list-style: none; margin: 0; padding: .7rem 0; display: flex; align-items: center; flex-wrap: wrap; justify-content: center; width: auto; gap: clamp(.9rem, 2vw, 2.3rem); }
#site-navigation.main-navigation li { margin: 0; padding: 0; }
#site-navigation.main-navigation a {
  color: var(--ink); font-size: .8rem; font-weight: 600; letter-spacing: .09em; white-space: nowrap;
  text-transform: uppercase; padding: .25em 0; position: relative;
  background-image: linear-gradient(var(--red), var(--red));
  background-size: 0% 2px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size var(--t), color var(--t);
}
#site-navigation.main-navigation a:hover { color: var(--red); background-size: 100% 2px; }
#site-navigation.main-navigation .current-menu-item > a,
#site-navigation.main-navigation .current_page_item > a { color: var(--red); background-size: 100% 2px; }
/* submenu dropdown (e.g. Auctions → Upcoming / Past) */
#site-navigation.main-navigation .menu-item-has-children { position: relative; }
#site-navigation.main-navigation .menu-item-has-children > a { display: inline-flex; align-items: center; gap: .45em; }
#site-navigation.main-navigation .menu-item-has-children > a::after {
  content: ""; width: .42em; height: .42em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform var(--t);
}
#site-navigation.main-navigation .menu-item-has-children:hover > a::after { transform: translateY(0) rotate(225deg); }
#site-navigation.main-navigation .sub-menu {
  list-style: none; margin: 0; padding: .4rem 0; position: absolute; top: 100%; left: 50%;
  min-width: 210px; background: var(--ivory); border: 1px solid rgba(42,32,23,.12);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-2); z-index: 70;
  opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(8px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
#site-navigation.main-navigation .menu-item-has-children:hover > .sub-menu,
#site-navigation.main-navigation .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
#site-navigation.main-navigation .sub-menu li { margin: 0; padding: 0; }
#site-navigation.main-navigation .sub-menu a {
  display: block; padding: .55rem 1.3rem; font-size: .74rem; letter-spacing: .07em; white-space: nowrap;
  background-image: none; text-align: left;
}
#site-navigation.main-navigation .sub-menu a:hover { color: var(--red); background: var(--hemp-soft); }

/* account / login — DARK on the cream header */
.mw-header__account { font-size: .78rem; letter-spacing: .04em; }
.mw-header__account, .mw-header__account * { color: var(--ink) !important; }
.mw-header__account .icon-user, .mw-header__account .icon-search { font-size: 1.15rem; }
.mw-header__account a:hover, .mw-header__account a:hover * { color: var(--red) !important; }
/* off-canvas account stays light on the navy panel */
.st-menu .user_nav, .st-menu .user_nav * { color: var(--ivory) !important; }
.st-menu .user_nav a:hover, .st-menu .user_nav a:hover * { color: var(--red-hover) !important; }

/* hamburger */
.bt-mmenu-trigger { display: none; width: 44px; height: 44px; position: relative; }
.bt-mmenu-trigger .bt-menu, .bt-mmenu-trigger .bt-icon-menu { position: absolute; left: 9px; right: 9px; top: 50%; height: 2px; background: var(--ink); transition: transform var(--t), opacity var(--t); }
.bt-mmenu-trigger .bt-menu::before, .bt-mmenu-trigger .bt-menu::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--ink); transition: transform var(--t), top var(--t); }
.bt-mmenu-trigger .bt-menu::before { top: -7px; }
.bt-mmenu-trigger .bt-menu::after { top: 7px; }
.bt-mmenu-trigger.is-active .bt-menu { background: transparent; }
.bt-mmenu-trigger.is-active .bt-menu::before { top: 0; transform: rotate(45deg); }
.bt-mmenu-trigger.is-active .bt-menu::after { top: 0; transform: rotate(-45deg); }

/* off-canvas mobile menu */
.st-menu {
  position: fixed; top: 0; left: 0; height: 100%; width: min(90vw, 380px);
  background: var(--navy-deep); color: var(--ivory); z-index: 120;
  transform: translateX(-100%); transition: transform var(--t);
  overflow-y: auto; padding: clamp(1.5rem, 5vw, 2.5rem); box-shadow: var(--shadow-2);
}
html.st-menu-open .st-menu { transform: translateX(0); }
/* Lock the page behind the open menu so there's no second scrollbar / grey gap. */
html.st-menu-open, html.st-menu-open body { overflow: hidden; }
/* The menu + overlay are position:fixed; if a parent (.st-pusher) is transformed they
   resolve against it instead of the viewport, leaving an uncovered grey strip. Neutralise. */
html.st-menu-open #page, html.st-menu-open .st-pusher,
html.st-menu-open .st-content, html.st-menu-open .st-content-inner { transform: none !important; }
/* Full-width off-canvas on phones — no overlay gap possible. */
@media (max-width: 600px) { .st-menu { width: 100%; max-width: none; } }
/* Only the panel itself scrolls — the parent theme adds overflow + fixed heights to
   .st-menu-inner and #primary-menu, which produced nested/double scrollbars. */
.st-menu { overscroll-behavior: contain; }
.st-menu .st-menu-inner,
.st-menu #primary-menu,
.st-menu .menu,
.st-menu .user_nav { overflow: visible !important; height: auto !important; max-height: none !important; width: auto !important; }
.st-menu .st-menu-inner > #primary-menu, .st-menu .menu { list-style: none; margin: 0 0 var(--s3); padding: 0; }
.st-menu .menu-item { border-bottom: 1px solid rgba(244,241,234,.1); }
.st-menu .menu-item a { display: block; color: var(--ivory); font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; padding: .8rem 0; letter-spacing: .01em; }
.st-menu .menu-item a:hover, .st-menu .current-menu-item > a { color: var(--red-hover); }
/* off-canvas submenu — expands inline when the parent is tapped (.bt-active-menu via parent JS) */
.st-menu .menu-item-has-children > a { display: flex; align-items: center; justify-content: space-between; }
.st-menu .menu-item-has-children > a::after { content: "+"; font-family: var(--font-body); font-weight: 400; color: var(--red-hover); margin-left: .5rem; }
.st-menu .menu-item-has-children > a.bt-active-menu::after { content: "\2013"; }
.st-menu .sub-menu { list-style: none; margin: 0 0 .5rem; padding: 0 0 0 1rem; display: none; }
.st-menu .menu-item-has-children > a.bt-active-menu + .sub-menu { display: block; }
.st-menu .sub-menu .menu-item { border-bottom: 0; }
.st-menu .sub-menu a { font-size: 1.05rem; color: var(--hemp); padding: .5rem 0; }
.st-menu .user_nav { margin-top: 1.25rem; width: 100%; }
/* Group the search / Login / Register row at the left — the parent spreads them
   with space-between, which pushed "Register" off the right edge. */
.st-menu .user_nav .menu { display: flex !important; flex-wrap: wrap !important; justify-content: flex-start !important; gap: .5rem 1.5rem; align-items: center; border: 0; padding: 0; margin: 0; width: auto !important; max-width: 100%; }
.st-menu .user_nav .menu li, .st-menu .user_nav .menu-item { border: 0 !important; margin: 0 !important; padding: 0 !important; flex: 0 0 auto !important; width: auto !important; }
.st-menu .user_nav .menu a { display: inline-flex; align-items: center; gap: .4rem; padding: .25rem 0; white-space: nowrap; font-size: 1rem; }

.bt-menu-overlay { position: fixed; inset: 0; width: 100%; height: 100%; background: rgba(20,32,44,.78); opacity: 0; visibility: hidden; transition: opacity var(--t), visibility var(--t); z-index: 110; }
html.st-menu-open .bt-menu-overlay { opacity: 1; visibility: visible; }
.bt-menu__close { position: absolute; top: 1rem; right: 1.2rem; color: var(--ivory); font-size: 2rem; line-height: 1; cursor: pointer; }

/* 6 ── FOOTER ─────────────────────────────────────────────────────────────── */
.mw-footer { background: var(--navy); color: var(--hemp); padding-top: var(--section-y); }
.mw-footer a { color: var(--hemp); }
.mw-footer a:hover { color: var(--ivory); }
.mw-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: clamp(1.5rem, 4vw, 3rem); padding-bottom: var(--s5); }
.mw-footer h4 { color: var(--ivory); font-family: var(--font-body); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin-bottom: var(--s3); }
.mw-footer__brand .mw-wordmark__name { font-size: 1.6rem; }
.mw-footer__brand p { color: var(--hemp); font-size: .95rem; }
.mw-footer__list { list-style: none; margin: 0; padding: 0; }
.mw-footer__list li { margin-bottom: .6rem; font-size: .95rem; }
.mw-footer__contact p { margin-bottom: .5rem; font-size: .95rem; max-width: none; }
.mw-footer__contact .mw-w3w { color: var(--red-hover); font-weight: 500; }
.mw-footer__social { display: flex; gap: 1rem; margin-top: var(--s2); }
.mw-footer__social a { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--navy-line); padding: .5em 1em; border-radius: var(--radius); }
.mw-footer__social a:hover { border-color: var(--red); color: var(--ivory); }
.mw-footer__bottom { border-top: 1px solid var(--navy-line); padding-block: var(--s3); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .8rem; color: var(--slate); }
.mw-footer__bottom a { color: var(--slate); }
.mw-footer__charity { color: var(--hemp); }

/* newsletter */
.mw-newsletter { background: var(--navy-line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.2rem); }

/* 7 ── COMPONENTS ─────────────────────────────────────────────────────────── */

/* hero */
.mw-hero { position: relative; background: var(--navy); color: var(--ivory); overflow: hidden; }
.mw-hero__media { position: absolute; inset: 0; z-index: 0; }
.mw-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.mw-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(27,42,58,.55) 0%, rgba(20,32,44,.82) 100%); }
.mw-hero__inner { position: relative; z-index: 2; padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: var(--section-y); display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.mw-hero__title { color: var(--ivory); }
.mw-hero__lead { color: var(--hemp); font-size: var(--fs-lead); max-width: 40ch; }
.mw-hero__actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }

/* page head band (inner pages) */
.mw-pagehead { background: var(--navy); color: var(--ivory); position: relative; overflow: hidden; }
.mw-pagehead__inner { position: relative; z-index: 2; padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.mw-pagehead h1 { color: var(--ivory); margin-bottom: var(--s2); }
.mw-pagehead__lead { color: var(--hemp); max-width: 56ch; font-size: var(--fs-lead); }
.mw-pagehead__media { position: absolute; inset: 0; z-index: 0; }
.mw-pagehead__media img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.mw-pagehead::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(27,42,58,.4), rgba(20,32,44,.78)); }

/* next-auction card (home hero) */
.mw-nextsale { background: rgba(244,241,234,.06); border: 1px solid rgba(166,128,62,.5); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2rem); backdrop-filter: blur(2px); }
.mw-nextsale h3 { color: var(--ivory); font-family: var(--font-display); margin-bottom: var(--s2); }
.mw-nextsale__meta { list-style: none; padding: 0; margin: 0 0 var(--s3); }
.mw-nextsale__meta li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid rgba(244,241,234,.12); font-size: .95rem; color: var(--hemp); }
.mw-nextsale__meta li strong { color: var(--ivory); }

/* pathway tiles (image, label) — replaces generic icon cards */
.mw-tile { position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy); min-height: 340px; color: var(--ivory); }
.mw-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: transform .7s var(--ease), opacity var(--t); }
.mw-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,32,44,.1) 30%, rgba(20,32,44,.85)); }
.mw-tile__body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: var(--s3); }
.mw-tile__body h3 { color: var(--ivory); margin-bottom: .3rem; }
.mw-tile__body p { color: var(--hemp); font-size: .9rem; margin: 0; }
.mw-tile:hover img { transform: scale(1.06); opacity: .85; }
.mw-tile .mw-tile__more { color: var(--red-hover); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-top: .6rem; display: inline-block; }
/* placeholder when no image yet — intentional navy + texture, not blank */
.mw-tile--placeholder { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); }
.mw-tile--placeholder::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: repeating-linear-gradient(135deg, transparent 0 22px, rgba(166,128,62,.6) 22px 23px); }

/* plain image figure (heritage / about / interiors) — warm navy-shadow treatment */
.mw-figure { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy); min-height: 320px; }
.mw-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.92) contrast(1.02); }
.mw-figure--tall { min-height: 420px; }
.mw-figure__cap { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: var(--s3); font-size: .78rem; letter-spacing: .04em; color: var(--ivory); background: linear-gradient(180deg, transparent, rgba(20,32,44,.7)); }

/* numbered editorial steps (How to Sell 01–04) */
.mw-steps { counter-reset: step; }
.mw-step { position: relative; padding-top: var(--s3); border-top: var(--rule); }
.mw-step__num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 300; color: var(--red); line-height: 1; display: block; margin-bottom: var(--s2); }
.mw-step h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.mw-step p { font-size: .98rem; color: var(--slate); margin: 0; }

/* fact/feature card (one shadow level, not uniform) */
.mw-card { background: #fff; border: 1px solid var(--hemp); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2rem); }
.mw-card--flat { background: transparent; border: 0; border-top: var(--rule); border-radius: 0; padding: var(--s3) 0 0; }
.mw-card h3 { font-size: 1.2rem; }
.mw-card__price { font-family: var(--font-display); font-size: 1.9rem; color: var(--red); font-weight: 600; }

/* commission band */
.mw-band { background: var(--hemp-soft); border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 3rem); }
.mw-band--navy { background: var(--navy); color: var(--ivory); }
.mw-stat { display: flex; flex-direction: column; gap: .2rem; }
.mw-stat__value { font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); font-weight: 600; color: var(--red); }
.mw-stat__label { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.mw-band--navy .mw-stat__label { color: var(--hemp); }

/* FAQ (AEO) — real semantic markup */
.mw-faq { max-width: 820px; }
.mw-faq details { border-bottom: 1px solid var(--hemp); padding: var(--s2) 0; }
.mw-faq summary { font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; color: var(--navy); }
.mw-faq summary::-webkit-details-marker { display: none; }
.mw-faq summary::after { content: "+"; color: var(--red); font-weight: 400; font-size: 1.5rem; line-height: 1; transition: transform var(--t); }
.mw-faq details[open] summary::after { transform: rotate(45deg); }
.mw-faq details > div { padding-top: var(--s2); color: var(--slate); }
.mw-faq details > div p { max-width: none; }

/* breadcrumbs */
.mw-breadcrumbs { font-size: .78rem; letter-spacing: .04em; }
.mw-breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; }
.mw-breadcrumbs li { color: var(--hemp); }
.mw-breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .5rem; color: var(--red); }
.mw-breadcrumbs a { color: var(--hemp); }
.mw-breadcrumbs a:hover { color: var(--ivory); }
.mw-breadcrumbs li[aria-current] { color: var(--red-hover); }

/* prose (legal pages, rich content) */
.mw-prose { max-width: var(--maxw-text); }
.mw-prose h2 { font-size: var(--fs-h3); margin-top: var(--s4); }
.mw-prose h3 { font-size: 1.2rem; margin-top: var(--s3); }
.mw-prose ul, .mw-prose ol { margin-bottom: var(--s3); }
.mw-prose li { margin-bottom: .4rem; }

/* contact detail rows */
.mw-detail { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.2rem; }
.mw-detail dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); padding-top: .25rem; }
.mw-detail dd { margin: 0 0 var(--s2); font-size: 1.05rem; }

/* map / embed */
.mw-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--hemp); aspect-ratio: 16/10; }
.mw-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* form fallback */
.mw-form-fallback { padding: var(--s3) 0; }

/* 8 ── AUCTION RE-SKIN (AuctionForge / Bidspirit classes) ─────────────────── */
/* Constrain plugin output and apply palette/type without touching the engine. */
.bpw-upcoming-wrap, .bp-lot-list, .bp-auction-list, .lots-wrap { max-width: var(--maxw); margin-inline: auto; }
.bpw-upcoming-title { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: var(--fs-h2); }
.bpw-upcoming-title-line { background: var(--red) !important; height: 2px !important; width: 64px !important; }
.bpw-auction-card, .lot__card, .bp-lot-card { background: #fff; border: 1px solid var(--hemp); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-1); transition: transform var(--t), box-shadow var(--t); }
.bpw-auction-card:hover, .lot__card:hover, .bp-lot-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.bpw-auction-img img, .lot__card img { transition: transform .7s var(--ease); }
.lot__card:hover img, .bpw-auction-card:hover .bpw-auction-img img { transform: scale(1.05); }
.bpw-title, .lot__title, .bp-lot-card__title { font-family: var(--font-display); color: var(--navy); font-weight: 600; }
.bpw-date, .lot__price, .bp-countdown { color: var(--red); font-weight: 600; }

/* plugin buttons → brass / navy */
.bpw-btn-primary, .bp-btn-primary, .bp-btn-register, .bp-btn--primary, .bp-bid-btn, button.bp-btn--accent,
.bp-btn-black, .bp-btn-default, .bpw-live-btn {
  background: var(--red) !important; border-color: var(--red) !important; color: var(--ivory) !important;
  border-radius: var(--radius-pill) !important; text-transform: uppercase; letter-spacing: .04em; font-weight: 600;
}
.bpw-live-btn:hover { background: #fff !important; color: var(--red) !important; border: 1px solid var(--red) !important; }
.bpw-btn-disabled { background: var(--hemp) !important; border-color: var(--hemp) !important; color: var(--slate) !important; border-radius: var(--radius-pill) !important; opacity: .8; }
.bpw-btn-primary:hover, .bp-btn-primary:hover, .bp-btn-register:hover, .bp-bid-btn:hover,
.bp-btn-black:hover, .bp-btn-default:hover { background: #fff !important; border-color: var(--red) !important; color: var(--red) !important; }
/* higher specificity (.bpw-auction-body …) beats the plugin's inline `color:#fff !important` */
.bpw-auction-body .bpw-btn-secondary, .bp-btn-secondary, .bp-btn--outline {
  background: transparent !important; border: 1px solid var(--red) !important; color: var(--red) !important; border-radius: var(--radius-pill) !important;
}
.bpw-auction-body .bpw-btn-secondary:hover, .bp-btn-secondary:hover { background: var(--red) !important; color: #fff !important; }

/* countdown numbers */
.bpw-countdown-row .bpw-count, .bp-countdown__num { font-family: var(--font-display); color: var(--navy); }

/* modals */
.modal__container, .bp-modal .modal__container { border-radius: var(--radius-lg) !important; font-family: var(--font-body); }
.modal__title { font-family: var(--font-display) !important; color: var(--navy) !important; }
.modal__overlay { background: rgba(20,32,44,.6) !important; }

/* generic plugin container width */
.bp-single-lot .container, .single-lot .container { max-width: var(--maxw); }

/* 9 ── MOTION (one coordinated moment) ────────────────────────────────────── */
/* Fail-safe: only hide when JS is active (html.mw-js). No JS / JS error → content stays visible. */
.mw-js .mw-reveal { opacity: 0; transform: translateY(22px); }
.mw-js .mw-reveal.is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.mw-reveal[data-d="1"] { transition-delay: .08s; }
.mw-reveal[data-d="2"] { transition-delay: .16s; }
.mw-reveal[data-d="3"] { transition-delay: .24s; }
.mw-reveal[data-d="4"] { transition-delay: .32s; }

/* ── Bragg-style additions: full-bleed colour block, statement, word-reveal ── */
.mw-section--red { background: var(--red); color: var(--ivory); }
.mw-section--red h1, .mw-section--red h2, .mw-section--red h3, .mw-section--red h4 { color: var(--ivory); }
.mw-section--red .mw-eyebrow { color: var(--hemp); }
.mw-section--red a:not(.mw-btn) { color: var(--ivory); }
.mw-section--blush { background: var(--hemp-soft); }

.mw-statement { text-align: center; max-width: 1120px; margin-inline: auto; }
.mw-statement__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.1rem, 1.1rem + 4.4vw, 4.8rem); line-height: 1.04; letter-spacing: -.015em; margin: 0 0 var(--s3); }
.mw-statement__title em { font-style: italic; }
.mw-statement p { max-width: 58ch; margin-inline: auto; }

/* word-by-word reveal (Bragg signature) — dim words light up on scroll */
.mw-words .mw-word { display: inline-block; opacity: .22; transition: opacity .5s var(--ease); }
.mw-words .mw-word.is-lit { opacity: 1; }

/* 10 ── RESPONSIVE ────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .mw-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .mw-footer__top { grid-template-columns: 1fr 1fr; }
  .mw-hero__inner { grid-template-columns: 1fr; align-items: start; }
  .mw-hero__inner .mw-nextsale { max-width: 460px; }
}
/* Header: centred nav row + side actions collapse to the off-canvas hamburger below 860px. */
@media (max-width: 860px) {
  #site-navigation.main-navigation, .mw-header__account--left, .mw-header__cta, .mw-promobar { display: none; }
  .bt-mmenu-trigger { display: inline-flex; align-items: center; justify-content: center; }
}
@media (max-width: 900px) {
  .mw-grid--split { grid-template-columns: 1fr; }
  .mw-grid--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --maxw-text: 100%; }
  .mw-grid--2, .mw-grid--3, .mw-grid--4 { grid-template-columns: 1fr; }
  .mw-footer__top { grid-template-columns: 1fr; }
  .mw-hero__inner { padding-top: clamp(1.5rem, 6vw, 2.5rem); }
  .mw-detail { grid-template-columns: 1fr; gap: .1rem; }
  .mw-detail dd { margin-bottom: var(--s2); }
}

/* 11 ── ACCESSIBILITY ─────────────────────────────────────────────────────── */
:where(a, button, summary, input, [tabindex]):focus-visible {
  outline: 3px solid var(--red-hover); outline-offset: 2px; border-radius: 2px;
}
.mw-skip { position: absolute; left: -999px; top: 0; z-index: 999; background: var(--red); color: var(--ivory); padding: .8em 1.4em; }
.mw-skip:focus { left: 1rem; top: 1rem; }
.screen-reader-text, .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .mw-reveal { opacity: 1; transform: none; }
  .mw-words .mw-word { opacity: 1 !important; }
}
