/* ==========================================================================
   MADBLUEZ — premium skin (Oct 2026)
   Loaded after madblues.css + madblues-app.css; only overrides.

   Indigo ink, cool chalk, denim, a little brass.
   Bodoni Moda (display) + Jost (text).
   Signature: "The House" — the three stores drawn as one building.
   ========================================================================== */

:root {
  --mb-night:      #18223f;   /* indigo ink — primary */
  --mb-night-deep: #0f1730;
  --mb-night-soft: #26345a;
  --mb-ink:        #1d2440;   /* body text */
  --mb-slate:      #5a6170;
  --mb-mist:       #8a90a0;
  --mb-denim:      #4a6489;
  --mb-denim-lite: #dfe5ee;
  --mb-brass:      #a9844f;   /* used sparingly: price, active state */
  --mb-brass-deep: #866634;
  --mb-brass-lite: #d8c39c;
  --mb-cream:      #f3f3f0;   /* page: cool chalk */
  --mb-paper:      #ffffff;
  --mb-sand:       #e8e9ec;
  --mb-line:       #dcdee3;
  --mb-line-dark:  rgba(223, 229, 238, .16);

  --mb-serif: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --mb-sans:  'Jost', 'Futura', 'Century Gothic', 'Helvetica Neue', Arial, sans-serif;
  --mb-radius: 0;
  --mb-shadow: 0 24px 60px -34px rgba(15, 23, 48, .45);
}

html, body { overflow-x: clip; }   /* no sideways scroll on phones */
body { font-size: 16px; line-height: 1.6; letter-spacing: 0; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -.015em; line-height: 1.04; font-optical-sizing: auto; }
h1 { font-size: clamp(40px, 5.6vw, 76px); }
h2 { font-size: clamp(32px, 3.8vw, 52px); }
h3 { font-size: clamp(22px, 2.1vw, 28px); }
/* No single highlighted word: the whole headline speaks in one voice. */
h1 em, h2 em, h3 em, .mb-hero h1 em, .mb-hero .mb-hero-h em { font-style: normal; color: inherit; }

/* Small labels: quiet sentence case instead of tracked capitals. */
.mb-eyebrow { font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--mb-denim); gap: 0; margin-bottom: 10px; }
.mb-eyebrow::before, .mb-eyebrow--center::after { display: none; }
.mb-hero__copy .mb-eyebrow { color: var(--mb-brass-lite); }

/* ---------- Buttons & links ---------- */
.mb-btn { min-height: 50px; padding: 0 26px; font-size: 15px; font-weight: 500; letter-spacing: .02em; text-transform: none; }
.mb-btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.mb-btn:hover { background: var(--mb-night-soft); border-color: var(--mb-night-soft); color: #fff; }
.mb-btn--brass { background: #fff; border-color: #fff; color: var(--mb-night); }
.mb-btn--brass:hover { background: var(--mb-brass-lite); border-color: var(--mb-brass-lite); color: var(--mb-night); }
.mb-btn--ghost:hover { background: var(--mb-night); }
.mb-link { font-size: 15px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.mb-btn .mb-icon, .mb-link .mb-icon { display: none; }
.mb-btn:focus-visible, .mb-link:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--mb-denim); outline-offset: 3px; }

/* ---------- Header ---------- */
.mb-announce { background: var(--mb-night); color: var(--mb-denim-lite); font-size: 13px; letter-spacing: .01em; text-transform: none; font-weight: 400; }
.mb-header { background: rgba(243, 243, 240, .94); }
.mb-nav > a, .mb-nav__item > a { font-size: 15px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.mb-nav > a::after, .mb-nav__item > a::after { background: var(--mb-night); }
.mb-nav__sale { color: var(--mb-brass-deep); }
.mb-logo__word { font-weight: 600; font-size: 28px; letter-spacing: .22em; margin-right: -.22em; }
.mb-logo__sub { font-size: 10px; letter-spacing: .32em; margin-right: -.32em; color: var(--mb-denim); }
.mb-badge { background: var(--mb-night); color: #fff; }

/* ---------- Hero ---------- */
.mb-hero { min-height: clamp(540px, 82vh, 860px); background: var(--mb-night); }
.mb-hero::after { background: linear-gradient(95deg, rgba(15, 23, 48, .9) 0%, rgba(15, 23, 48, .55) 45%, rgba(15, 23, 48, .05) 80%), linear-gradient(0deg, rgba(15, 23, 48, .55), transparent 40%); }
.mb-hero h1, .mb-hero .mb-hero-h { font-size: clamp(48px, 7vw, 108px); font-weight: 400; letter-spacing: -.025em; line-height: .96; }
.mb-hero__text { font-size: 17px; color: rgba(243, 243, 240, .85); }
.mb-hero__fallback { background: radial-gradient(900px 520px at 78% 18%, rgba(74, 100, 137, .55), transparent 62%), var(--mb-night); }
.mb-hero__scroll { display: none; }
.mb-hero__count b { font-family: var(--mb-sans); font-size: 18px; font-weight: 500; }

/* ---------- Sections stay put (no fade-in-on-scroll) ---------- */
.mb-js .mb-reveal, .mb-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

/* Section heads */
.mb-head p { font-size: 16px; }

/* ---------- Category tiles ---------- */
.mb-cat { background: var(--mb-night); }
.mb-cat::after { background: linear-gradient(0deg, rgba(15, 23, 48, .82), transparent 58%); }
.mb-cat__body span { font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--mb-denim-lite); }
.mb-cat__mono { font-style: normal; color: rgba(223, 229, 238, .1); }

/* ---------- Product cards ---------- */
.mb-card__media { aspect-ratio: 3 / 4; background: var(--mb-sand); }
.mb-card__tag { background: var(--mb-night); color: #fff; font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; padding: 4px 9px; }
.mb-card__tag--soldout { background: #fff; color: var(--mb-slate); }
.mb-card__wish { background: rgba(255, 255, 255, .94); }
.mb-card__quick { background: rgba(24, 34, 63, .94); color: #fff; font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.mb-card__info { padding-top: 14px; }
.mb-card__cat { font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--mb-mist); }
.mb-card__name { font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
.mb-card__name:hover { color: var(--mb-denim); }
.mb-price { font-size: 16px; font-weight: 500; }
.mb-price__save { font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--mb-brass-deep); }

/* ---------- Chips, crumbs, misc. labels ---------- */
.mb-chip { font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; border-radius: 40px; }
.mb-chip.is-active { background: var(--mb-night); border-color: var(--mb-night); color: #fff; }
.mb-storestrip .mb-chip { font-family: var(--mb-serif); font-size: 17px; padding-left: 18px; padding-right: 18px; }
.mb-crumbs { font-size: 13px; letter-spacing: 0; text-transform: none; }
.mb-pagehead h1 { font-weight: 400; }
.mb-filters h4, .mb-fgroup > button, .mb-fgroup summary { letter-spacing: 0; text-transform: none; font-size: 15px; }
.mb-accordion summary, .mb-accordion button { letter-spacing: 0; text-transform: none; font-size: 15px; }
.mb-marquee__track span { font-size: 14px; font-weight: 400; letter-spacing: .02em; text-transform: none; }
.mb-marquee__track span::after { content: '·'; color: var(--mb-denim-lite); font-size: 18px; }
.mb-marquee { background: var(--mb-night-deep); color: var(--mb-denim-lite); }
.mb-footer h4, .mb-footer__links h4 { letter-spacing: 0; text-transform: none; font-size: 15px; color: var(--mb-denim-lite); }
.mb-paylogos span { letter-spacing: .02em; text-transform: none; font-size: 12px; }

/* Product page */
.mb-pdp__price, .mb-pdp .mb-price { font-size: 22px; }
.mb-notify__row { flex-wrap: wrap; }
.mb-notify__row input { min-width: 0; flex: 1 1 180px; }
.mb-notify__row .mb-btn { flex: 1 0 auto; }
.mb-size { border-radius: 0; font-weight: 500; }

/* Quotes */
.mb-quote, .mb-testi blockquote { font-style: normal; }

/* ==========================================================================
   The House — three stores, one building (home page)
   ========================================================================== */
.mb-house { padding: clamp(64px, 9vw, 120px) 0; background: var(--mb-cream); }
.mb-house__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.mb-house__intro h2 { margin-bottom: 18px; }
.mb-house__intro p { max-width: 42ch; color: var(--mb-slate); font-size: 17px; }
.mb-house__intro .mb-link { margin-top: 10px; }

/* The building elevation */
.mb-building { position: relative; padding: 0 clamp(10px, 2vw, 22px) 0; }
.mb-building__roof { height: clamp(40px, 6vw, 70px); margin: 0 calc(-1 * clamp(10px, 2vw, 22px)); background: var(--mb-night); clip-path: polygon(6% 100%, 50% 0, 94% 100%); }
.mb-building__name { display: block; margin: -4px 0 0; padding: 10px 0 12px; background: var(--mb-night); color: var(--mb-denim-lite); text-align: center; font-family: var(--mb-serif); font-size: clamp(15px, 1.4vw, 18px); letter-spacing: .3em; }
.mb-floor { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px 24px; padding: clamp(18px, 2.4vw, 28px); border: 1px solid var(--mb-night); border-top: 0; text-decoration: none; color: var(--mb-ink); background: #fff; transition: background .25s; }
.mb-floor:hover { background: var(--mb-denim-lite); }
.mb-floor__name { font-family: var(--mb-serif); font-size: clamp(30px, 3.6vw, 50px); line-height: 1; letter-spacing: -.02em; color: var(--mb-night); }
.mb-floor__meta { display: block; margin-top: 8px; color: var(--mb-slate); font-size: 15px; }
.mb-floor__cta { grid-column: 1 / -1; font-size: 15px; font-weight: 500; color: var(--mb-night); border-bottom: 1px solid currentColor; justify-self: start; }
.mb-floor__windows { display: flex; gap: 8px; }
.mb-floor__windows span { width: clamp(48px, 5.4vw, 72px); aspect-ratio: 3 / 4; overflow: hidden; background: var(--mb-sand); outline: 1px solid var(--mb-line); }
.mb-floor__windows img { width: 100%; height: 100%; object-fit: cover; }
/* Top floor: the luxury range */
.mb-floor--top { background: var(--mb-night); color: var(--mb-denim-lite); }
.mb-floor--top .mb-floor__name { color: #fff; }
.mb-floor--top .mb-floor__meta { color: var(--mb-brass-lite); }
.mb-floor--top .mb-floor__cta { color: #fff; }
.mb-floor--top .mb-floor__windows span { outline-color: rgba(216, 195, 156, .55); }
.mb-floor--top:hover { background: var(--mb-night-soft); }
.mb-building__base { height: 12px; margin: 0 calc(-1 * clamp(10px, 2vw, 22px)); background: var(--mb-night); }

/* One orchestrated moment: the floors settle in once, top to bottom. */
@media (prefers-reduced-motion: no-preference) {
  .mb-building .mb-floor { animation: mbFloor .7s cubic-bezier(.22, .61, .36, 1) both; }
  .mb-building .mb-floor:nth-of-type(2) { animation-delay: .12s; }
  .mb-building .mb-floor:nth-of-type(3) { animation-delay: .24s; }
  .mb-building .mb-floor:nth-of-type(4) { animation-delay: .36s; }
  @keyframes mbFloor { from { opacity: 0; transform: translateY(-14px); } }
}

@media (max-width: 900px) {
  .mb-house__grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .mb-floor { grid-template-columns: 1fr; }
  .mb-floor__windows span { width: 56px; }
  h1 { font-size: clamp(36px, 10vw, 48px); }
}

/* Remaining small labels → sentence case, readable size. */
.mb-field label, .mb-label, .mb-pill, .mb-drawer__label, .mb-toast a, .mb-festival__badge, .mb-countdown small, .mb-stats span,
.mb-testi__who span, .mb-opt__label, .mb-specs dt, .mb-verified, .mb-table th, .mb-steps, .mb-line__remove, .mb-coupon__row input,
.mb-kpi span, .mb-kv h4, .mb-contact__item strong, .mb-news button, .mb-footer h5 {
  text-transform: none; letter-spacing: 0;
}
.mb-field label, .mb-label, .mb-opt__label, .mb-contact__item strong, .mb-kv h4 { font-size: 14px; font-weight: 500; }
.mb-footer h5 { font-size: 15px; font-weight: 500; color: var(--mb-denim-lite); }
.mb-news button { font-size: 15px; font-weight: 500; color: #fff; }
.mb-festival__badge { font-size: 14px; font-weight: 500; border-color: var(--mb-brass-lite); color: var(--mb-brass-lite); }
.mb-countdown small, .mb-stats span, .mb-testi__who span { font-size: 13px; }
.mb-countdown b { font-family: var(--mb-sans); font-weight: 400; }
.mb-stats b { font-family: var(--mb-serif); }
.mb-testi__who strong { letter-spacing: 0; text-transform: none; font-size: 15px; }
.mb-pill { font-size: 12.5px; font-weight: 500; }
.mb-steps { font-size: 14px; font-weight: 500; }
.mb-table th { font-size: 13px; font-weight: 500; }
.mb-hero h1, .mb-hero .mb-hero-h { font-weight: 500; }
@media (max-width: 640px) { .mb-storestrip .mb-chip { font-size: 15px; padding: 6px 14px; } }
