/*
 Theme Name:   Bricks Child — Witherell
 Template:     bricks
 Description:  Child theme for witherell.com (Bricks Builder). Ports the Witherell design system + full prototype CSS from the Claude Design handoff.
 Version:      0.2.0
 Text Domain:  bricks-child-witherell
*/

/* ============================================================================
   WITHERELL DESIGN SYSTEM — Colors & Typography
   (Webfonts loaded via wp_enqueue_style in functions.php)
   ============================================================================ */
:root {
  /* ----- Brand color tokens --------------------------------------------- */
  --witherell-gold:        #AC742A;   /* primary brand gold (the W) */
  --witherell-gold-light:  #C99355;   /* hover / illuminated gold */
  --witherell-gold-deep:   #8C5A1A;   /* pressed / engraved */
  --witherell-gold-foil:   #D9B27C;   /* tonal accent, light bg */

  --witherell-forest:      #2A3D23;   /* primary brand forest green (wordmark) */
  --witherell-forest-deep: #1B2818;   /* darker forest, near-black ink */
  --witherell-forest-soft: #3F5235;   /* soft forest for borders / hover */

  /* ----- Neutral / paper ------------------------------------------------ */
  --paper:        #F6F2EA;
  --paper-soft:   #EDE6D6;
  --paper-deep:   #E0D6BF;
  --ink:          #14110C;
  --ink-soft:     #2B261D;
  --ink-mute:     #5C5546;
  --ink-faint:    #8A8273;

  --bone:         #FFFFFF;
  --night:        #0A0906;

  /* ----- Semantic surfaces --------------------------------------------- */
  --bg:           var(--paper);
  --bg-elevated:  var(--bone);
  --bg-sunken:    var(--paper-soft);
  --bg-inverse:   var(--witherell-forest-deep);

  --fg:           var(--ink);
  --fg-1:         var(--ink-soft);
  --fg-2:         var(--ink-mute);
  --fg-3:         var(--ink-faint);
  --fg-on-dark:   var(--paper);

  --accent:       var(--witherell-gold);
  --accent-fg:    var(--bone);
  --link:         var(--witherell-forest);
  --link-hover:   var(--witherell-gold-deep);

  --border:       rgba(20, 17, 12, 0.14);
  --border-strong:rgba(20, 17, 12, 0.32);
  --rule:         var(--witherell-gold);

  --live:         #B33A2A;
  --sold:         #2A3D23;
  --estimate:     var(--ink-mute);

  /* ----- Type families -------------------------------------------------- */
  --font-display: "adobe-garamond-pro", "EB Garamond", "Hoefler Text", Garamond, "Times New Roman", serif;
  --font-sans:    "scandia-web", "scandia", "Onest", "Roboto", "Helvetica Neue", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* ----- Type scale ----------------------------------------------------- */
  --fs-xs: 12px; --fs-sm: 14px; --fs-base: 16px; --fs-md: 18px; --fs-lg: 22px;
  --fs-xl: 28px; --fs-2xl: 36px; --fs-3xl: 48px; --fs-4xl: 64px;
  --fs-5xl: 84px; --fs-6xl: 112px;
  --lh-tight: 1.05; --lh-snug: 1.2; --lh-base: 1.5; --lh-loose: 1.7;
  --tr-tight: -0.01em; --tr-base: 0em; --tr-wide: 0.04em;
  --tr-eyebrow: 0.18em; --tr-mark: 0.32em;

  /* ----- Spacing -------------------------------------------------------- */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px; --sp-10: 128px;

  /* ----- Radii ---------------------------------------------------------- */
  --r-0: 0; --r-1: 2px; --r-2: 4px; --r-3: 6px; --r-pill: 999px;

  /* ----- Elevation ------------------------------------------------------ */
  --shadow-1: 0 1px 2px rgba(20,17,12,0.06), 0 1px 1px rgba(20,17,12,0.04);
  --shadow-2: 0 4px 12px rgba(20,17,12,0.08), 0 1px 2px rgba(20,17,12,0.05);
  --shadow-3: 0 12px 32px rgba(20,17,12,0.12), 0 4px 8px rgba(20,17,12,0.06);
  --shadow-frame: 0 0 0 1px rgba(20,17,12,0.10), 0 18px 40px rgba(20,17,12,0.18);
}

/* ============================================================================
   WITHERELL — Site styles (ported from Claude Design prototype styles.css)
   ============================================================================ */

* { box-sizing: border-box; }
[hidden] { display: none !important; } /* prevents .flow__foot{display:flex} from overriding the hidden attr */
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* Subtle paper grain overlay on cream surfaces */
.paper-grain { position: relative; }
.paper-grain::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  opacity: 0.035;
  background-image:
    radial-gradient(rgba(20,17,12,1) 1px, transparent 1px),
    radial-gradient(rgba(20,17,12,1) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1px 2px;
  mix-blend-mode: multiply;
}

/* ============================================================================
   Layout primitives
   ============================================================================ */
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 56px; }
@media (max-width: 720px) { .wrap { padding: 0 24px; } }

.section { padding: 120px 0; position: relative; }
.section--tight { padding: 72px 0; }
.section--xl { padding: 160px 0; }

.gold-rule { height: 1px; background: var(--witherell-gold); border: 0; margin: 0; width: 100%; }
.gold-rule--short { width: 56px; }
.gold-rule--draw { transform-origin: left; animation: draw 1.4s cubic-bezier(0.2,0,0,1) both; }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.eyebrow {
  font-family: var(--font-sans); font-weight: 500;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--witherell-gold);
  display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--witherell-gold); }
.eyebrow.no-rule::before { display: none; }
.eyebrow--inverse { color: var(--witherell-gold-foil); }
.eyebrow--inverse::before { background: var(--witherell-gold-foil); }

/* ============================================================================
   Chrome — fixed header (tophat + cmd-header) + mobile drawer.
   Architecture ported from the NGA sister site so mobile behavior matches.
   Body offsets via --cmd-header-total-height (set in JS).
   ============================================================================ */
.wmd-page { max-width: 1520px; margin: 0 auto; padding: 0 clamp(1.75rem, 4vw, 3rem); position: relative; z-index: 1; }

#brx-header {
  position: fixed; top: 0; left: 0; right: 0;
  width: 100%; z-index: 25;
}
.chrome-sticky { position: relative; }
/* Chrome floats over content; .hero pages extend full-height under it, and
   .pagehd carries enough top padding to clear chrome on sub-pages. */

/* ── Tophat ──────────────────────────────────────────────────────────── */
.tophat {
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  z-index: 26;
  transition: background .25s ease-out, border-color .25s ease-out;
}
/* Mode: dark — fully transparent over hero */
.chrome--dark .tophat {
  background: transparent;
  border-bottom: 1px solid transparent;
}
/* Mode: solid — Witherell forest-deep */
.chrome--solid .tophat {
  background: var(--witherell-forest-deep);
  border-bottom: 1px solid var(--witherell-gold);
}
.tophat-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding-block: 6px; gap: 24px;
}
.tophat .credit { color: var(--witherell-gold-foil); font-style: italic; letter-spacing: 0.12em; text-transform: none; font-family: var(--font-display); font-size: 13px; }
.tophat .meta { display: flex; gap: 28px; }
.tophat .meta span,
.tophat .meta a { color: rgba(246, 242, 234, 0.78); }
.tophat .meta a:hover { color: var(--witherell-gold-foil); }
@media (max-width: 820px) {
  .tophat .meta { display: none; }
  .tophat-inner { justify-content: center; }
}

/* ── Logo block (shared across header + drawer) ──────────────────────── */
.logo-block { display: flex; align-items: center; gap: 12px; min-width: 0; }
.logo-block img { height: clamp(40px, 3.4vw, 56px); width: auto; flex-shrink: 0; transition: height .25s ease-out; }
/* Chrome backdrops are dark (transparent over hero, forest-deep elsewhere)
   so the chrome logo is always the white/light variant. The .logo-dark img
   in the header is dropped; the drawer's logo-stacked-white is used in its
   own dark drawer-head. */
.chrome-sticky .logo-block .logo-dark { display: none; }
.chrome-sticky .logo-block .logo-light { display: block; }
.chrome-sticky.condensed .logo-block img { height: 36px; }

/* ── Command header (main nav row) ───────────────────────────────────── */
.cmd-header {
  position: relative; z-index: 25;
  color: var(--paper);
  transition: background .25s ease-out, border-color .25s ease-out;
}
/* Mode: dark — fully transparent over hero (paper text reads over hero photo) */
.chrome--dark .cmd-header {
  background: transparent;
  border-bottom: 1px solid transparent;
}
/* Mode: solid — Witherell forest-deep, always opaque */
.chrome--solid .cmd-header {
  background: var(--witherell-forest-deep);
  border-bottom: 1px solid rgba(217, 178, 124, 0.32);
}

.cmd-header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
  padding-block: 12px;
  transition: padding .2s ease-out;
}
.cmd-left  { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); min-width: 0; }
.cmd-right { display: flex; align-items: center; gap: clamp(12px, 1.4vw, 18px); }
.cmd-divider {
  display: inline-block; width: 1px; height: 20px;
  background: currentColor; opacity: 0.25;
  margin: 0 4px; flex-shrink: 0;
}

/* ── Primary nav — Witherell typography ──────────────────────────────── */
.site-nav {
  display: flex; gap: 32px;
  font-family: var(--font-sans);
  position: relative;
  font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 500;
  color: var(--paper);
}
.site-nav .item { position: static; }
.site-nav .nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 0;
  color: inherit;
  background: transparent; border: 0; cursor: pointer;
  font: inherit; line-height: 1.2; letter-spacing: inherit;
  text-transform: uppercase; /* explicit — buttons don't inherit text-transform by default in some browsers */
  text-shadow: 0 1px 14px rgba(10, 9, 6, 0.6);
  transition: color .15s ease-out;
}
.site-nav .nav-link:hover,
.site-nav .item.open .nav-link,
.site-nav .nav-link.active { color: var(--witherell-gold-foil); }
.site-nav .caret {
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .15s ease-out;
}
.site-nav .item.open .caret { transform: translateY(1px) rotate(-135deg); }

/* ── Search field — pill shape per Witherell brand ───────────────────── */
.cmd-search {
  display: flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 12px;
  border-radius: 999px;
  min-width: 0;
  color: var(--paper);
  transition: background .22s ease-out, border-color .22s ease-out;
}
/* Translucent over hero (mode dark @ top): light glassy pill */
.chrome--dark .cmd-search {
  background: rgba(246, 242, 234, 0.10);
  border: 1px solid rgba(246, 242, 234, 0.28);
}
.chrome--dark .cmd-search:hover { background: rgba(246, 242, 234, 0.18); }
.chrome--dark .cmd-search:focus-within {
  border-color: var(--witherell-gold-foil);
  background: rgba(10, 9, 6, 0.30);
}
/* Solid green chrome (mode solid + any condensed state): pill on green */
.chrome--solid .cmd-search,
.chrome-sticky.condensed .cmd-search {
  background: rgba(246, 242, 234, 0.08);
  border: 1px solid rgba(246, 242, 234, 0.22);
  color: var(--paper);
}
.chrome--solid .cmd-search:focus-within,
.chrome-sticky.condensed .cmd-search:focus-within {
  border-color: var(--witherell-gold-foil);
  background: rgba(10, 9, 6, 0.30);
}
.cmd-search svg { width: 14px; height: 14px; flex-shrink: 0; color: rgba(246, 242, 234, 0.7); }
.cmd-search input {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: none;
  font-family: var(--font-sans); font-size: 13px; color: var(--paper);
  letter-spacing: 0.01em;
}
.cmd-search input::placeholder { color: rgba(246, 242, 234, 0.55); letter-spacing: 0.01em; }
.cmd-search .kbd {
  font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: 0.05em;
  padding: 2px 6px;
  border: 1px solid rgba(246, 242, 234, 0.35);
  border-radius: 3px;
  color: rgba(246, 242, 234, 0.7);
}

/* ── Auth links — Witherell typography (11px, 0.18em) ────────────────── */
.auth-out { display: flex; gap: 12px; align-items: center; color: var(--paper); }
.auth-out a {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500;
  color: inherit;
  padding: 4px 0;
  text-shadow: 0 1px 14px rgba(10, 9, 6, 0.6);
  transition: color .15s ease-out;
}
.auth-out a:hover { color: var(--witherell-gold-foil); }
.auth-out .sep { width: 1px; height: 14px; background: rgba(246, 242, 234, 0.3); }

/* ── Mega-dropdown ───────────────────────────────────────────────────── */
.mega {
  --mega-anchor-right: 0;
  --mega-anchor-left: auto;
  position: absolute; top: 100%;
  right: var(--mega-anchor-right); left: var(--mega-anchor-left);
  min-width: 640px;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--ink);
  border-top: 3px solid var(--witherell-gold);
  padding: 28px 32px;
  display: none;
  z-index: 30;
  grid-template-columns: 1fr 1fr; gap: 32px;
  box-shadow: 0 30px 60px -20px rgba(20, 17, 12, 0.45);
  animation: mega-in 0.18s ease-out;
}
.site-nav .item.open .mega { display: grid; }
@keyframes mega-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mega .col h6 {
  font-family: var(--font-sans); font-size: 10px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--witherell-gold-deep);
  margin: 0 0 14px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(20,17,12,0.14);
  font-weight: 500;
}
.mega a.mega-link {
  display: flex; flex-direction: column; gap: 2px;
  padding: 6px 12px; margin: 0 -12px;
  font-family: var(--font-sans);
  letter-spacing: 0; text-transform: none;
  color: var(--ink);
  transition: color 0.15s ease-out, background 0.15s ease-out;
}
.mega a.mega-link > span:first-child { font-size: 14px; font-weight: 500; line-height: 1.3; }
.mega a.mega-link:hover { color: var(--witherell-gold-deep); background: rgba(172, 116, 42, 0.06); }
.mega a.mega-link .sub {
  font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(20, 17, 12, 0.55); font-weight: 400;
}
.mega a.mega-link:hover .sub { color: var(--witherell-gold-deep); }

/* ── Hamburger + mobile-search-trigger (hidden by default) ───────────── */
.hamburger, .mobile-search-trigger {
  display: none;
  background: transparent; border: 0; cursor: pointer;
  color: inherit; padding: 0;
}
.hamburger svg, .mobile-search-trigger svg { width: 22px; height: 22px; }

/* ── Desktop ≥1200: nav inline, search compact ───────────────────────── */
@media (min-width: 1200px) {
  .cmd-header-inner {
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.4vw, 22px);
  }
  .cmd-header-inner > .cmd-left { order: 1; flex: 0 0 auto; }
  .cmd-header-inner > .cmd-right { display: contents; }
  .cmd-header-inner .site-nav { order: 2; flex: 0 0 auto; margin-left: auto; }
  .cmd-header-inner > .cmd-search {
    order: 3;
    flex: 0 1 320px;
    min-width: 200px;
    max-width: 360px;
  }
  .cmd-header-inner .auth-out { order: 4; flex: 0 0 auto; }
  .cmd-header-inner .hamburger,
  .cmd-header-inner .mobile-search-trigger { order: 5; }
  .cmd-header-inner .cmd-divider { display: none; }

  .chrome-sticky.condensed.chrome--dark  .cmd-header,
  .chrome-sticky.condensed.chrome--solid .cmd-header {
    background: var(--witherell-forest-deep);
    border-bottom-color: rgba(217, 178, 124, 0.32);
  }
}

/* ── Tablet 900-1199: nav stays, search shrinks ──────────────────────── */
@media (max-width: 1199px) and (min-width: 900px) {
  .tophat .credit { display: none; }
  .cmd-header-inner {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.4vw, 18px);
  }
  .cmd-header-inner > .cmd-left  { flex: 0 0 auto; }
  .cmd-header-inner > .cmd-search { flex: 0 1 220px; min-width: 160px; max-width: 240px; order: 3; }
  .cmd-header-inner > .cmd-right { display: contents; }
  .cmd-header-inner .site-nav { order: 2; margin-left: auto; flex: 0 0 auto; }
  .cmd-header-inner .auth-out { order: 4; flex: 0 0 auto; }
  .mobile-search-trigger { display: none; }
  .cmd-search input { font-size: 12px; }
  .cmd-search .kbd { display: none; }
  .cmd-right { gap: 10px; }
  .site-nav { gap: 14px; font-size: 11px; letter-spacing: 0.14em; }
  .auth-out a { font-size: 11px; letter-spacing: 0.14em; }
}

/* ── Condensed (<1200): bg goes opaque, tophat hides ─────────────────── */
@media (max-width: 1199px) {
  .mega { --mega-anchor-right: auto; --mega-anchor-left: 0; min-width: 0; width: 100%; max-width: 480px; }
  .chrome-sticky.condensed.chrome--dark  .cmd-header,
  .chrome-sticky.condensed.chrome--solid .cmd-header {
    background: var(--witherell-forest-deep);
    border-bottom-color: rgba(217, 178, 124, 0.32);
  }
  .chrome-sticky.condensed .tophat { display: none; }
  .chrome-sticky.condensed .cmd-header-inner { padding-block: 6px; }
}

/* ── Mobile <900 ─────────────────────────────────────────────────────── */
@media (max-width: 899px) {
  .cmd-header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    padding-block: 14px;
  }
  .cmd-left { justify-self: start; }
  .cmd-right { display: flex; align-items: center; gap: 8px; justify-self: end; }
  .cmd-header-inner > .cmd-search,
  .cmd-right .site-nav,
  .cmd-divider,
  .auth-out { display: none; }

  .mobile-search-trigger,
  .hamburger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    color: inherit;
    transition: color .15s ease-out;
  }
  .mobile-search-trigger:hover, .hamburger:hover { color: var(--witherell-gold-foil); }
  .chrome--solid .mobile-search-trigger:hover,
  .chrome--solid .hamburger:hover { color: var(--witherell-gold-deep); }
  .chrome-sticky.condensed .cmd-header-inner { padding-block: 8px; }
  .chrome-sticky.condensed .logo-block img { height: 28px; }
}

/* ============================================================================
   Buttons
   ============================================================================ */
.btn {
  font-family: var(--font-sans); font-weight: 500; font-size: 12px;
  letter-spacing: 0.2em; text-transform: uppercase;
  border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  padding: 16px 28px; border-radius: 0;
  display: inline-flex; align-items: center; gap: 12px;
  transition: all 240ms cubic-bezier(0.2,0,0,1);
}
.btn:hover { background: var(--witherell-forest); border-color: var(--witherell-forest); }
.btn--gold { background: var(--witherell-gold); border-color: var(--witherell-gold); color: var(--paper); }
.btn--gold:hover { background: var(--witherell-gold-deep); border-color: var(--witherell-gold-deep); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--outline-light { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn--outline-light:hover { background: var(--paper); color: var(--ink); }
.btn--ghost { background: transparent; border: 0; color: var(--ink); padding: 6px 0; }
.btn--ghost:hover { color: var(--witherell-gold-deep); }
.btn--ghost::after { content: ""; width: 18px; height: 1px; background: currentColor; transition: width 220ms; }
.btn--ghost:hover::after { width: 28px; }
.btn--lg { padding: 20px 36px; font-size: 13px; }
.btn--sm { padding: 10px 18px; font-size: 11px; }

/* ============================================================================
   Hero
   ============================================================================ */
.hero {
  position: relative; height: 100vh; min-height: 720px;
  overflow: hidden; background: var(--night); color: var(--paper);
}
.hero__photo {
  position: absolute; inset: 0;
  background-image: url("/wp-content/uploads/witherell-design/hero-truck-clean.jpg");
  transform-origin: 62% 28%;
  background-size: cover; background-position: center 60%;
  transform: scale(1.05);
  animation: kenburns 28s ease-out both;
  will-change: transform;
}
@keyframes kenburns {
  0% { transform: scale(1.02) translate3d(0,0,0); }
  100% { transform: scale(1.10) translate3d(0, -0.6%, 0); }
}
.hero__rays {
  position: absolute; inset: 0; pointer-events: none;
  background:
    conic-gradient(from 180deg at 50% 110%,
      transparent 0deg, transparent 110deg,
      rgba(217, 178, 124, 0.0) 118deg, rgba(217, 178, 124, 0.18) 124deg, transparent 130deg,
      rgba(217, 178, 124, 0.0) 138deg, rgba(217, 178, 124, 0.20) 144deg, transparent 150deg,
      rgba(217, 178, 124, 0.0) 158deg, rgba(217, 178, 124, 0.18) 164deg, transparent 170deg,
      rgba(217, 178, 124, 0.0) 190deg, rgba(217, 178, 124, 0.18) 196deg, transparent 202deg,
      rgba(217, 178, 124, 0.0) 210deg, rgba(217, 178, 124, 0.20) 216deg, transparent 222deg,
      rgba(217, 178, 124, 0.0) 230deg, rgba(217, 178, 124, 0.18) 236deg, transparent 242deg,
      transparent 360deg);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 55%);
          mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 55%);
  mix-blend-mode: screen;
  opacity: 0;
  animation: rays-in 2.4s 0.4s cubic-bezier(0.2,0,0,1) both;
}
@keyframes rays-in { from { opacity: 0; transform: scale(0.9); } to { opacity: 0.55; transform: scale(1); } }

.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 40%, transparent 50%, rgba(10,9,6,0.55) 100%),
    linear-gradient(180deg, rgba(10,9,6,0.25) 0%, transparent 28%, transparent 60%, rgba(10,9,6,0.7) 100%);
}

.hero__content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-start;
  max-width: none; margin: 0;
  --flagpole-offset: calc(min(40vw, 50vw - 15.024vh) + 50px);
  padding: 11vh var(--flagpole-offset) 0 8%;
  z-index: 5;
}
@media (max-width: 920px) {
  .hero__content,
  .hero--v3 .hero__content { padding: 12vh 6% 0 6%; }
}

.hero__footer {
  position: absolute; left: 0; right: 0; bottom: 6vh; z-index: 6;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0 24px;
  opacity: 0;
  animation: fade-up 1.2s 1.6s cubic-bezier(0.2,0,0,1) both;
}
.hero__footer .eyebrow { color: var(--witherell-gold-foil); margin-bottom: 22px; padding-left: 0; }
.hero__footer .eyebrow::before { display: none; }
.hero__footer .hero__sub {
  font-family: var(--font-sans); color: rgba(246, 242, 234, 0.86);
  font-size: 16px; line-height: 1.6; max-width: 60ch; margin: 0 auto 28px;
  font-weight: 300; text-align: center;
  animation: none; opacity: 1;
}
.hero__footer .hero__cta {
  display: flex; gap: 14px; margin-top: 4px; justify-content: center;
  animation: none; opacity: 1;
}

/* Tagline */
.hero__tagline {
  font-family: var(--font-display); color: var(--paper);
  text-align: right; font-weight: 300; line-height: 1.04; margin: 0;
  text-shadow: 0 2px 24px rgba(10,9,6,0.55), 0 0 80px rgba(10, 9, 6, 0.35);
  letter-spacing: -0.005em;
  font-size: clamp(40px, 5.6vw, 104px);
}
.hero__tagline .line { display: block; }
.hero__tagline .word { display: inline-block; white-space: nowrap; }
.hero__tagline .italic {
  font-style: italic; font-weight: 300; color: var(--paper);
  letter-spacing: -0.005em;
  text-shadow:
    0 2px 16px rgba(10,9,6,0.55),
    0 0 80px rgba(217, 178, 124, 0.55),
    0 0 32px rgba(172, 116, 42, 0.55);
  position: relative; display: inline-block;
}
.hero__tagline .italic::before {
  content: ""; position: absolute; inset: -22% -28%;
  background: radial-gradient(60% 55% at 50% 50%, rgba(217,178,124,0.45), rgba(172,116,42,0.18) 45%, transparent 75%);
  filter: blur(18px); z-index: -1; pointer-events: none;
}
.hero__tagline .ch {
  display: inline-block; opacity: 0; transform: translateY(28px); filter: blur(6px);
  animation: ch-rise 1.0s cubic-bezier(0.2,0,0,1) both;
  animation-delay: var(--d, 0s);
}
.hero__tagline .ch--space { width: 0.32em; }
@keyframes ch-rise { to { opacity: 1; transform: translateY(0); filter: blur(0); } }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero v3 (Split panel — locked as default) */
.hero--v3 .hero__content { padding: 11vh var(--flagpole-offset) 0 8%; align-items: stretch; }
.hero--v3 .hero__tagline { text-align: right; font-size: clamp(40px, 5.6vw, 104px); width: auto; max-width: none; margin: 0; padding: 0; }

@media (max-width: 720px) {
  .hero { height: 100vh; min-height: 640px; }
  .hero__content,
  .hero--v3 .hero__content { padding: 14vh 6% 0 6%; }
  .hero__tagline,
  .hero--v3 .hero__tagline { text-align: center; font-size: clamp(38px, 10vw, 60px); width: auto; max-width: none; margin: 0; padding: 0; }
  .hero__footer { bottom: 4vh; padding: 0 20px; }
  .hero__footer .eyebrow { font-size: 9px; letter-spacing: 0.24em; margin-bottom: 14px; }
  .hero__footer .hero__sub { font-size: 14px; line-height: 1.55; max-width: 38ch; margin-bottom: 20px; }
  .hero__footer .hero__cta { flex-direction: column; gap: 10px; width: 100%; max-width: 320px; }
  .hero__footer .hero__cta .btn { width: 100%; }
  .hero__photo { transform-origin: 60% 70%; background-position: 60% 65%; }
}
@media (max-width: 480px) {
  .hero__tagline,
  .hero--v3 .hero__tagline { font-size: clamp(34px, 13vw, 56px); }
}

/* ============================================================================
   Marquee
   ============================================================================ */
.marquee {
  background: var(--ink); color: var(--paper);
  border-top: 1px solid rgba(217,178,124,0.4);
  border-bottom: 1px solid rgba(217,178,124,0.4);
  overflow: hidden; position: relative;
}
.marquee__track {
  display: flex; gap: 64px; padding: 18px 0;
  animation: marquee 50s linear infinite; white-space: nowrap;
}
.marquee__item {
  display: inline-flex; align-items: center; gap: 16px;
  font-family: var(--font-sans);
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--paper);
}
.marquee__item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--witherell-gold-foil); }
.marquee__item .em {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: 13px; text-transform: none; letter-spacing: 0.01em;
  color: var(--witherell-gold-foil);
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================================
   Featured auction (editorial card)
   ============================================================================ */
.feat { display: grid; grid-template-columns: 1.2fr 1fr; gap: 96px; align-items: center; }
@media (max-width: 920px) { .feat { grid-template-columns: 1fr; gap: 56px; } }

.feat__media {
  position: relative; aspect-ratio: 4 / 5;
  background: var(--paper-deep); overflow: hidden;
}
.feat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms cubic-bezier(0.2,0,0,1); }
.feat__media:hover img { transform: scale(1.03); }
.feat__media--poster { background: #f1ebdf; }
.feat__poster { object-position: center top; }
.feat__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(20,17,12,0.12); }

.feat__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 24px 28px; color: var(--paper);
  background: linear-gradient(180deg, transparent 0%, rgba(10,9,6,0.65) 100%);
}
.feat__caption .lab { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--witherell-gold-foil); margin-bottom: 4px; }
.feat__caption .nm { font-family: var(--font-display); font-size: 19px; font-style: italic; font-weight: 400; }

.feat__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 4vw, 64px); font-weight: 500;
  line-height: 1.02; margin: 24px 0 0; letter-spacing: -0.015em;
}
.feat__copy h2 em { font-style: italic; font-weight: 400; color: var(--witherell-gold); }
.feat__copy .meta {
  display: flex; gap: 32px; margin: 32px 0;
  border-top: 1px solid rgba(20,17,12,0.14); border-bottom: 1px solid rgba(20,17,12,0.14);
  padding: 24px 0;
}
.feat__copy .meta > div { flex: 1; }
.feat__copy .meta .lab { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 6px; }
.feat__copy .meta .val { font-family: var(--font-display); font-size: 17px; font-style: italic; font-weight: 400; }
.feat__copy p { font-size: 15px; line-height: 1.65; color: var(--ink-soft); margin: 0 0 32px; max-width: 56ch; }

/* ============================================================================
   Editorial intro block
   ============================================================================ */
.intro { text-align: center; max-width: 880px; margin: 0 auto; }
.intro h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.4vw, 72px); font-weight: 500;
  line-height: 1.08; letter-spacing: -0.015em;
  margin: 32px 0 32px;
}
.intro h2 em { font-style: italic; font-weight: 400; color: var(--witherell-gold); }
.intro p { font-size: 17px; line-height: 1.65; color: var(--ink-soft); max-width: 60ch; margin: 0 auto; }

/* ============================================================================
   Departments — mosaic (locked default)
   ============================================================================ */
.depts-mosaic {
  display: grid; grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 220px; gap: 12px;
}
.depts-mosaic > :nth-child(1) { grid-column: span 3; grid-row: span 2; }
.depts-mosaic > :nth-child(2) { grid-column: span 3; grid-row: span 1; }
.depts-mosaic > :nth-child(3) { grid-column: span 2; grid-row: span 1; }
.depts-mosaic > :nth-child(4) { grid-column: span 1; grid-row: span 1; }
.depts-mosaic > :nth-child(5) { grid-column: span 2; grid-row: span 2; }
.depts-mosaic > :nth-child(6) { grid-column: span 2; grid-row: span 1; }
.depts-mosaic > :nth-child(7) { grid-column: span 2; grid-row: span 1; }
.depts-mosaic > :nth-child(8) { grid-column: span 4; grid-row: span 1; }

.dept {
  position: relative; aspect-ratio: 4/5;
  overflow: hidden; cursor: pointer; background: var(--ink);
}
.dept__bg { position: absolute; inset: 0; transition: transform 1.4s cubic-bezier(0.2,0,0,1); }
.dept:hover .dept__bg { transform: scale(1.06); }
.dept__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,9,6,0.05) 0%, rgba(10,9,6,0.15) 40%, rgba(10,9,6,0.85) 100%);
}
.dept__label { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; color: var(--paper); z-index: 2; }
.dept__lab { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--witherell-gold-foil); margin-bottom: 8px; }
.dept__nm {
  font-family: var(--font-display); font-size: 28px; font-weight: 500;
  letter-spacing: -0.01em; line-height: 1.05; margin-bottom: 16px;
}
.dept__nm em { font-style: italic; font-weight: 400; }
.dept__rule { width: 28px; height: 1px; background: var(--witherell-gold-foil); transition: width 360ms cubic-bezier(0.2,0,0,1); }
.dept:hover .dept__rule { width: 80px; }
.dept__arrow {
  position: absolute; top: 24px; right: 24px;
  width: 36px; height: 36px;
  border: 1px solid rgba(246,242,234,0.4);
  display: flex; align-items: center; justify-content: center;
  color: var(--paper);
  opacity: 0; transform: translate(-6px, 6px);
  transition: all 320ms cubic-bezier(0.2,0,0,1);
}
.dept:hover .dept__arrow { opacity: 1; transform: translate(0,0); border-color: var(--witherell-gold-foil); color: var(--witherell-gold-foil); }
.dept__icon {
  position: absolute; top: 28px; left: 28px;
  width: 56px; height: 56px; object-fit: contain; opacity: 0.9;
  filter: brightness(0) saturate(100%) invert(58%) sepia(45%) saturate(640%) hue-rotate(2deg) brightness(95%) contrast(92%);
  transition: transform 480ms cubic-bezier(0.2,0,0,1), opacity 320ms;
  z-index: 2;
}
.dept:hover .dept__icon { opacity: 1; transform: scale(1.04); }
.depts-mosaic .dept { aspect-ratio: auto; }
.depts-mosaic > :nth-child(1) .dept__nm,
.depts-mosaic > :nth-child(5) .dept__nm { font-size: 36px; }

/* ============================================================================
   Lot cards
   ============================================================================ */
.lotgrid {
  display: grid; grid-template-columns: repeat(var(--lot-cols, 3), 1fr);
  gap: var(--lot-gap, 56px);
}
@media (max-width: 920px) { .lotgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .lotgrid { grid-template-columns: 1fr; } }

.lot { display: block; cursor: pointer; }
.lot__img {
  position: relative; aspect-ratio: 1 / 1;
  background: var(--paper-deep); overflow: hidden;
  margin-bottom: var(--lot-gap-text, 24px);
}
.lot__img img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; background: #ffffff;
  transition: transform 1100ms cubic-bezier(0.2,0,0,1);
}
.lot:hover .lot__img img { transform: scale(1.04); }
.lot__img::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(20,17,12,0.10); transition: box-shadow 280ms; }
.lot:hover .lot__img::after { box-shadow: inset 0 0 0 1px var(--witherell-gold); }
.lot__no { font-family: var(--font-sans); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--witherell-gold); margin-bottom: 8px; }
.lot__title {
  font-family: var(--font-display); font-size: var(--lot-title, 22px);
  font-weight: 500; line-height: 1.2; margin-bottom: 10px;
  transition: color 220ms;
}
.lot:hover .lot__title { color: var(--witherell-gold-deep); }
.lot__est { font-family: var(--font-sans); font-size: 13px; color: var(--ink-mute); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }

.lotgrid--standard { --lot-cols: 3; --lot-gap: 56px; --lot-gap-text: 24px; --lot-title: 22px; }
@media (max-width: 920px) {
  .lotgrid--standard { --lot-cols: 2; --lot-gap: 32px; }
}

/* ============================================================================
   Section header
   ============================================================================ */
.sec-h {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px; margin-bottom: 64px; padding-bottom: 24px;
  border-bottom: 1px solid rgba(20,17,12,0.14);
}
.sec-h h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(32px, 3.6vw, 56px); line-height: 1.05;
  letter-spacing: -0.012em; margin: 16px 0 0;
}
.sec-h h2 em { font-style: italic; font-weight: 400; color: var(--witherell-gold); }

/* ============================================================================
   Stats — results recap
   ============================================================================ */
.stats { background: var(--witherell-forest-deep); color: var(--paper); position: relative; overflow: hidden; }
.stats__cell:first-child { position: relative; }
.stats__cell:first-child::before {
  content: ""; position: absolute; left: -10%; top: 8%;
  width: 130%; height: 84%;
  background: radial-gradient(ellipse at 35% 50%, rgba(217,178,124,0.22), rgba(217,178,124,0.06) 42%, transparent 70%);
  filter: blur(18px); pointer-events: none;
  animation: stat-glow 4.4s ease-in-out infinite; z-index: 0;
}
.stats__cell:first-child .stats__num,
.stats__cell:first-child .stats__lab { position: relative; z-index: 1; }
@keyframes stat-glow {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}
.stats__inner {
  display: grid; grid-template-columns: 1fr 2fr; gap: 96px;
  padding: 120px 0; align-items: center; position: relative;
}
@media (max-width: 920px) { .stats__inner { grid-template-columns: 1fr; gap: 64px; } }
.stats__copy h2 {
  font-family: var(--font-display); font-size: 40px; font-weight: 500;
  line-height: 1.08; margin: 16px 0; color: var(--paper);
}
.stats__copy h2 em { font-style: italic; color: var(--witherell-gold-foil); font-weight: 400; }
.stats__copy p { color: rgba(246, 242, 234, 0.7); line-height: 1.6; font-size: 15px; max-width: 42ch; margin: 0 0 32px; }
.stats__nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stats__cell { border-left: 1px solid rgba(217,178,124,0.22); padding: 0 24px; }
.stats__cell:first-child { border-left: 0; padding-left: 0; }
.stats__num {
  font-family: var(--font-display); font-size: clamp(40px, 4.4vw, 72px);
  font-weight: 500; color: var(--witherell-gold-foil);
  line-height: 1; letter-spacing: -0.015em; font-variant-numeric: tabular-nums;
}
.stats__lab { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(246,242,234,0.7); margin-top: 18px; }

/* ============================================================================
   Press strip
   ============================================================================ */
.press {
  background: var(--paper-soft); padding: 72px 0;
  border-top: 1px solid rgba(20,17,12,0.08);
  border-bottom: 1px solid rgba(20,17,12,0.08);
}
.press__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 56px; flex-wrap: wrap;
}
.press__intro { flex: 0 0 280px; }
.press__intro h4 { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 22px; margin: 12px 0 0; }
.press__logos { display: flex; gap: 64px; flex-wrap: wrap; flex: 1; justify-content: flex-end; }
.press__logos .logo {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: 22px; color: var(--ink-mute); letter-spacing: 0; white-space: nowrap;
}
.press__logos .logo small {
  display: block; font-family: var(--font-sans); font-style: normal;
  font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 4px;
}

/* ============================================================================
   Page header (sub pages)
   ============================================================================ */
.pagehd { padding: 160px 0 56px; border-bottom: 1px solid rgba(20,17,12,0.10); }
.pagehd h1 {
  font-family: var(--font-display); font-size: clamp(48px, 6vw, 96px);
  font-weight: 500; line-height: 1.0; letter-spacing: -0.015em;
  margin: 24px 0 24px;
}
.pagehd h1 em { font-style: italic; font-weight: 400; color: var(--witherell-gold); }
.pagehd p { font-size: 18px; line-height: 1.55; color: var(--ink-soft); max-width: 60ch; font-weight: 300; }

/* ============================================================================
   Sell-with-us / Consign flow (sellhero + step graphic + 5-step form)
   ============================================================================ */
.sellhero {
  position: relative;
  background: var(--witherell-forest-deep);
  color: var(--paper);
  padding: 200px 0 120px;
  overflow: hidden;
}
.sellhero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("/wp-content/uploads/witherell-design/hero-truck-clean.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  filter: grayscale(0.4);
}
.sellhero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,9,6,0.4), rgba(10,9,6,0.85));
}
.sellhero__inner { position: relative; z-index: 2; max-width: 880px; }
.sellhero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 96px);
  font-weight: 500; line-height: 1.0; letter-spacing: -0.015em;
  margin: 24px 0 32px;
  color: var(--paper);
}
.sellhero h1 em { font-style: italic; font-weight: 400; color: var(--witherell-gold-foil); }
.sellhero p {
  font-size: 18px; line-height: 1.6;
  color: rgba(246,242,234,0.85);
  max-width: 56ch; margin: 0 0 32px;
  font-weight: 300;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-top: 64px;
}
@media (max-width: 920px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.step { border-top: 1px solid var(--witherell-gold); padding-top: 24px; }
.step__no {
  font-family: var(--font-display); font-size: 64px;
  font-weight: 400; font-style: italic;
  color: var(--witherell-gold); line-height: 1;
}
.step__t { font-family: var(--font-display); font-size: 28px; font-weight: 500; margin: 18px 0 12px; }
.step__d { font-size: 14px; line-height: 1.6; color: var(--ink-soft); }

/* 5-step appraisal flow */
.flow {
  background: var(--bone);
  border: 1px solid rgba(20,17,12,0.10);
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 580px;
  box-shadow: var(--shadow-2);
}
@media (max-width: 920px) { .flow { grid-template-columns: 1fr; min-height: auto; } }

.flow__nav {
  background: var(--paper);
  border-right: 1px solid rgba(20,17,12,0.10);
  padding: 40px 32px;
}
.flow__nav .lab {
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 24px;
}
.flow__step {
  display: flex; gap: 14px; padding: 14px 0;
  border-top: 1px solid rgba(20,17,12,0.08);
  cursor: pointer; align-items: flex-start;
}
.flow__step:first-of-type { border-top: 0; }
.flow__step .num {
  font-family: var(--font-display); font-size: 14px;
  color: var(--ink-mute); width: 18px; padding-top: 4px;
  font-variant-numeric: tabular-nums;
}
.flow__step .body { font-size: 14px; flex: 1; }
.flow__step .body .t { font-family: var(--font-display); font-size: 17px; font-weight: 500; line-height: 1.2; }
.flow__step .body .s { font-size: 11px; color: var(--ink-mute); margin-top: 2px; letter-spacing: 0.04em; }
.flow__step.is-active .num { color: var(--witherell-gold); }
.flow__step.is-active .body .t { color: var(--ink); }
.flow__step.is-done .num { color: var(--witherell-forest); }
.flow__step.is-done .body .t { color: var(--ink-mute); text-decoration: line-through; text-decoration-color: rgba(20,17,12,0.2); }
.flow__step:not(.is-active):not(.is-done) .body { opacity: 0.55; }

.flow__body { padding: 64px 64px; display: flex; flex-direction: column; }
@media (max-width: 720px) { .flow__body { padding: 40px 24px; } }
.flow__body h3 {
  font-family: var(--font-display); font-size: 36px;
  font-weight: 500; line-height: 1.1;
  margin: 8px 0 12px;
}
.flow__body h3 em { font-style: italic; font-weight: 400; color: var(--witherell-gold); }
.flow__body > p { color: var(--ink-soft); line-height: 1.6; max-width: 56ch; margin: 0 0 32px; }

/* Form fields */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.field label {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-mute);
}
.field input, .field select, .field textarea {
  border: 0;
  border-bottom: 1px solid rgba(20,17,12,0.18);
  padding: 12px 0;
  background: transparent; color: var(--ink);
  font-size: 16px; font-family: var(--font-display);
  outline: none; border-radius: 0;
  transition: border-color 220ms;
  resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-bottom-color: var(--witherell-gold);
}
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field--row > .field { margin-bottom: 0; }

/* Department picker */
.deptpick {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
  margin-bottom: 32px;
}
.deptpick__btn {
  border: 1px solid rgba(20,17,12,0.18);
  background: transparent; color: var(--ink);
  padding: 14px 16px; text-align: left;
  font-family: var(--font-sans);
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  cursor: pointer; transition: all 220ms;
}
.deptpick__btn:hover { border-color: var(--witherell-gold); color: var(--witherell-gold-deep); }
.deptpick__btn.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Photo dropzone */
.dropzone {
  border: 1px dashed rgba(20,17,12,0.3);
  background: var(--paper);
  padding: 56px 24px; text-align: center;
  margin-bottom: 24px; cursor: pointer;
  display: block;
  transition: all 220ms;
}
.dropzone:hover { border-color: var(--witherell-gold); background: var(--paper-soft); }
.dropzone .ic { color: var(--witherell-gold); margin: 0 auto 12px; width: 36px; height: 36px; display: block; }
.dropzone .t { font-family: var(--font-display); font-size: 18px; font-weight: 500; margin-bottom: 4px; }
.dropzone .s { font-size: 12px; color: var(--ink-mute); }

.thumbsrow { display: flex; gap: 8px; margin-top: 12px; margin-bottom: 0; flex-wrap: wrap; }
.thumbsrow .t {
  width: 80px; height: 80px;
  background: var(--paper-deep);
  position: relative;
}
.thumbsrow .t .x {
  position: absolute; top: 4px; right: 4px;
  width: 16px; height: 16px;
  background: var(--ink); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; cursor: pointer;
}

/* Antiques Roadshow — video grid + news list */
.video-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 720px) { .video-grid { grid-template-columns: 1fr; gap: 24px; } }
.video-card { margin: 0; }
.video-frame {
  position: relative; aspect-ratio: 16/9;
  background: var(--ink);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.video-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0;
}
.video-card figcaption { margin-top: 14px; }
.video-meta {
  font-family: var(--font-sans); font-size: 10px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--witherell-gold-deep);
  margin-bottom: 4px;
}
.video-title {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 500; line-height: 1.3;
  color: var(--ink);
}

.news-list { display: flex; flex-direction: column; }
.news-item {
  display: grid; grid-template-columns: 140px 1fr 140px; gap: 24px;
  padding: 24px 0;
  border-top: 1px solid rgba(20, 17, 12, 0.14);
  align-items: baseline;
  transition: padding-left .25s ease-out, color .2s;
}
.news-item:last-child { border-bottom: 1px solid rgba(20, 17, 12, 0.14); }
.news-item:hover { padding-left: 12px; color: var(--witherell-gold-deep); }
.news-item__outlet {
  font-family: var(--font-sans); font-size: 10px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--witherell-gold-deep);
}
.news-item__title {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.6vw, 20px); font-weight: 500;
  line-height: 1.3; color: inherit;
}
.news-item__date {
  font-family: var(--font-sans); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-mute);
  text-align: right;
}
@media (max-width: 720px) {
  .news-item { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
  .news-item__date { text-align: left; }
}

/* Long-form prose (How it Works, Terms) — comfortable reading column */
.prose {
  max-width: 70ch; margin: 0 auto;
  font-size: 16px; line-height: 1.7;
  color: var(--ink-soft);
  scroll-margin-top: 120px; /* offset for sticky chrome when anchor-jumping */
}
.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 40px); font-weight: 500;
  line-height: 1.15; letter-spacing: -0.01em;
  color: var(--ink);
  margin: 56px 0 16px;
  scroll-margin-top: 120px;
}
.prose h2:first-child { margin-top: 0; }
.prose h2 em { font-style: italic; font-weight: 400; color: var(--witherell-gold); }
.prose h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 24px); font-weight: 500;
  line-height: 1.25; letter-spacing: 0;
  color: var(--ink);
  margin: 32px 0 12px;
  scroll-margin-top: 120px;
}
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 24px; }
.prose ul li, .prose ol li { margin-bottom: 8px; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li {
  position: relative; padding-left: 20px;
}
.prose ul li::before {
  content: ""; position: absolute; left: 4px; top: 0.7em;
  width: 6px; height: 1px; background: var(--witherell-gold);
}
.prose a { color: var(--witherell-gold-deep); border-bottom: 1px solid currentColor; }
.prose a:hover { color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 500; }

/* Terms-specific: tighter spacing for the 14-section legal document */
.prose--terms h3 { margin-top: 40px; font-size: 18px; }
.prose--terms h3:first-of-type { margin-top: 0; }
.prose--terms p { font-size: 15px; }

/* Form submission banners (success / error) — shown via ?witherell_form= */
.form-flash {
  padding: 16px 20px; margin: 0 0 24px;
  font-size: 14px; line-height: 1.5;
  border-left: 3px solid;
  background: var(--paper-soft);
}
.form-flash--success { border-left-color: var(--witherell-gold); color: var(--ink); }
.form-flash--error   { border-left-color: var(--live);          color: var(--ink); }
.form-flash strong { font-family: var(--font-display); font-weight: 500; }
.form-flash a { color: var(--witherell-gold-deep); border-bottom: 1px solid currentColor; }

/* Coming Soon — Sign Up / My Account placeholder until BidSquare ships */
.signup-card {
  max-width: 720px; margin: 0 auto;
  background: var(--bone);
  border: 1px solid rgba(20,17,12,0.10);
  box-shadow: var(--shadow-2);
  padding: 56px 64px;
}
@media (max-width: 720px) { .signup-card { padding: 40px 24px; } }
.signup-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px); font-weight: 500;
  line-height: 1.05; letter-spacing: -0.012em;
  margin: 16px 0 16px;
}
.signup-title em { font-style: italic; font-weight: 400; color: var(--witherell-gold); }
.signup-intro {
  font-size: 15px; line-height: 1.65; color: var(--ink-soft);
  max-width: 60ch; margin: 0 0 32px;
}
.signup-row { margin-bottom: 8px; }
.signup-form .field { margin-bottom: 20px; }
.signup-foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 24px;
  margin-top: 24px; padding-top: 24px;
  border-top: 1px solid rgba(20,17,12,0.10);
}
.signup-foot .btn:disabled {
  background: var(--witherell-forest);
  border-color: var(--witherell-forest);
  color: var(--paper);
  cursor: default;
}
.signup-note { font-size: 13px; color: var(--ink-mute); margin: 0; max-width: 36ch; }
.signup-meanwhile { max-width: 720px; margin: 64px auto 0; }
.signup-meanwhile-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 32px); font-weight: 500;
  line-height: 1.15; margin: 12px 0 24px;
}
.signup-links {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 14px;
  font-size: 15px; line-height: 1.65; color: var(--ink-soft);
}
.signup-links a { color: var(--witherell-gold-deep); border-bottom: 1px solid currentColor; }
.signup-links a:hover { color: var(--ink); }

/* Past auctions — stacked card list on /auctions/ */
.past-intro {
  font-size: 15px; line-height: 1.65; color: var(--ink-soft);
  max-width: 60ch; margin: 0 0 40px;
}
.past-list { display: flex; flex-direction: column; gap: 24px; }
.past-card {
  display: grid; grid-template-columns: 280px 1fr; gap: 32px;
  background: var(--bone);
  border: 1px solid rgba(20,17,12,0.10);
  padding: 24px;
  align-items: stretch;
}
@media (max-width: 720px) {
  .past-card { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
}
.past-card__media {
  aspect-ratio: 4 / 5;
  background: var(--paper-deep);
  background-size: cover; background-position: center;
  box-shadow: inset 0 0 0 1px rgba(20,17,12,0.10);
}
@media (max-width: 720px) {
  .past-card__media { aspect-ratio: 16 / 9; }
}
.past-card__body { display: flex; flex-direction: column; min-width: 0; }
.past-card__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px); font-weight: 500;
  line-height: 1.2; letter-spacing: -0.005em;
  margin: 0 0 12px;
}
.past-card__title em { font-style: italic; font-weight: 400; color: var(--witherell-gold); }
.past-card__meta {
  font-family: var(--font-sans); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-mute);
  display: flex; flex-wrap: wrap; gap: 6px 18px;
  margin-bottom: 16px;
}
.past-card__sub { color: var(--witherell-gold-deep); }
.past-card__desc {
  font-size: 14px; line-height: 1.65; color: var(--ink-soft);
  margin: 0 0 16px; max-width: 60ch;
}
.past-card__stat {
  margin-top: auto; padding-top: 16px;
  border-top: 1px solid rgba(172, 116, 42, 0.32);
  font-family: var(--font-sans); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--witherell-gold-deep);
}

/* Contact page — small HQ photo above the address card */
.contact-hq {
  display: block;
  width: 100%; max-width: 420px; height: auto;
  margin: 0 0 28px;
  box-shadow: var(--shadow-2);
}

/* Simplified single-page consignment form */
.consign-card {
  max-width: 880px; margin: 0 auto;
  background: var(--bone);
  border: 1px solid rgba(20,17,12,0.10);
  box-shadow: var(--shadow-2);
  padding: 56px 64px;
}
@media (max-width: 720px) { .consign-card { padding: 40px 24px; } }
.consign-intro {
  font-size: 15px; line-height: 1.6; color: var(--ink-soft);
  max-width: 60ch; margin: 0 0 32px;
}
.consign-form .field { margin-bottom: 24px; }
.consign-form .field-hint {
  font-family: var(--font-sans); font-size: 10px;
  letter-spacing: 0.04em; text-transform: none;
  color: var(--ink-faint); margin-left: 8px;
}
.consign-form select.field-select,
.consign-form select {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%235C5546' stroke-width='1.5'><path d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 24px;
  cursor: pointer;
}
.consign-foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 24px;
  margin-top: 16px; padding-top: 24px;
  border-top: 1px solid rgba(20,17,12,0.10);
}
.consign-foot .btn { flex-shrink: 0; }
.consign-altcontact {
  font-size: 13px; color: var(--ink-mute);
  margin: 0;
}
.consign-altcontact a { color: var(--witherell-gold-deep); border-bottom: 1px solid currentColor; }
.consign-altcontact a:hover { color: var(--ink); }

.flow__foot {
  margin-top: auto; padding-top: 32px;
  display: flex; justify-content: space-between;
  border-top: 1px solid rgba(20,17,12,0.10);
}
.flow__progress { display: flex; gap: 4px; margin-bottom: 8px; }
.flow__progress .seg {
  height: 2px; flex: 1; background: rgba(20,17,12,0.12);
  transition: background 320ms;
}
.flow__progress .seg.is-active { background: var(--witherell-gold); }
.flow__progress .seg.is-done { background: var(--witherell-forest); }

.flow__final { text-align: center; padding: 32px 0; }
.flow__final h3 { margin-bottom: 24px; }
.flow__final .specialist {
  display: flex; align-items: center; gap: 16px;
  background: var(--paper); padding: 20px;
  margin: 32px auto; text-align: left;
  max-width: 480px;
}
.flow__final .specialist .av {
  width: 64px; height: 64px;
  background: linear-gradient(160deg, var(--witherell-forest), var(--witherell-forest-deep));
}
.flow__final .specialist strong { font-family: var(--font-display); font-size: 18px; font-weight: 500; display: block; }
.flow__final .specialist span { font-size: 13px; color: var(--ink-mute); }

/* ============================================================================
   About page (history, timeline, pullquote)
   ============================================================================ */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 96px; align-items: start;
}
@media (max-width: 920px) { .about-grid { grid-template-columns: 1fr; gap: 56px; } }
.about-grid h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px); font-weight: 500;
  line-height: 1.05; margin: 0 0 32px;
}
.about-grid h2 em { font-style: italic; font-weight: 400; color: var(--witherell-gold); }
.about-grid p { font-size: 16px; line-height: 1.65; color: var(--ink-soft); margin: 0 0 22px; }
.about-grid p em { color: var(--ink); }
.about-img {
  position: relative; aspect-ratio: 4/5;
  background-size: cover; background-position: center top;
  box-shadow: var(--shadow-frame);
}

.timeline {
  display: grid; grid-template-columns: 200px 1fr;
  gap: 64px; align-items: start;
  border-top: 1px solid rgba(20,17,12,0.14);
  padding-top: 32px; margin-top: 32px;
}
.timeline:first-of-type { border-top: 0; padding-top: 0; }
.timeline .yr {
  font-family: var(--font-display); font-size: 40px;
  font-style: italic; font-weight: 400;
  color: var(--witherell-gold); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.timeline .body h4 {
  font-family: var(--font-display); font-size: 24px;
  font-weight: 500; margin: 0 0 12px; line-height: 1.2;
}
.timeline .body p { margin: 0; color: var(--ink-soft); line-height: 1.65; font-size: 15px; max-width: 60ch; }
@media (max-width: 720px) {
  .timeline { grid-template-columns: 1fr; gap: 12px; }
}

/* Team specialists (About page) */
.specialists {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}
@media (max-width: 920px) { .specialists { grid-template-columns: 1fr; gap: 40px; } }
.spec { text-align: left; }
.spec__photo {
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--witherell-forest-soft), var(--witherell-forest-deep));
  background-size: cover; background-position: center top;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.spec__photo::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(20,17,12,0.08);
  pointer-events: none;
}
.spec__nm { font-family: var(--font-display); font-size: 26px; font-weight: 500; line-height: 1.15; margin: 0; }
.spec__role {
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--witherell-gold);
  margin: 8px 0 16px;
}
.spec__bio { font-size: 14px; line-height: 1.7; color: var(--ink-soft); margin: 0; }

.pullquote { text-align: center; max-width: 880px; margin: 0 auto; padding: 96px 0; }
.pullquote q {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(28px, 3.4vw, 48px); line-height: 1.25;
  color: var(--ink);
  quotes: "\201C" "\201D";
}
.pullquote q::before, .pullquote q::after {
  color: var(--witherell-gold);
  font-size: 1.4em; line-height: 0;
  vertical-align: -0.18em; /* nudge curly marks so they sit near cap-height of the larger italic text */
  margin: 0 0.04em;
}
.pullquote .attr {
  margin-top: 32px; font-size: 11px;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ink-mute);
}

/* ============================================================================
   Footer
   ============================================================================ */
.ft {
  background: var(--witherell-forest-deep); color: var(--paper);
  border-top: 1px solid rgba(217,178,124,0.4);
  padding: 96px 0 48px;
}
.ft__top {
  display: grid; grid-template-columns: 1.4fr 2fr; gap: 96px;
  padding-bottom: 64px; border-bottom: 1px solid rgba(217,178,124,0.18);
}
@media (max-width: 920px) { .ft__top { grid-template-columns: 1fr; gap: 56px; } }
.ft__brand img.logomark { height: 180px; width: auto; margin-bottom: 24px; }
@media (max-width: 920px) { .ft__brand img.logomark { height: 120px; } }
.ft__brand .tag { font-family: var(--font-display); font-size: 26px; line-height: 1.25; }
.ft__brand .tag em { font-style: italic; color: var(--witherell-gold-foil); font-family: var(--font-display); }
.ft__brand .addr { font-size: 13px; color: rgba(246,242,234,0.7); margin-top: 32px; line-height: 1.7; }
.ft__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 720px) { .ft__cols { grid-template-columns: repeat(2, 1fr); } }
.ft__cols h5 {
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--witherell-gold-foil); margin: 0 0 20px; font-weight: 500;
}
.ft__cols ul { list-style: none; padding: 0; margin: 0; }
.ft__cols li { margin-bottom: 12px; }
.ft__cols a { font-size: 14px; color: rgba(246,242,234,0.8); transition: color 220ms; }
.ft__cols a:hover { color: var(--witherell-gold-foil); }
.ft__bot {
  margin-top: 32px; display: flex; justify-content: space-between;
  font-size: 11px; color: rgba(246,242,234,0.5);
  letter-spacing: 0.04em; flex-wrap: wrap; gap: 16px;
  font-family: var(--font-display);
}
.ft__bot em { font-family: var(--font-display); font-style: italic; color: var(--witherell-gold-foil); font-size: 12px; }

/* ============================================================================
   Italic & gold-accent normalizer — only the American Values slogan
   (hero tagline + footer) keeps italic + gold treatment
   ============================================================================ */
em, i, .italic,
.feat__caption .nm, .marquee__item .em,
.feat__copy h2 em, .intro h2 em, .dept__nm em,
.sec-h h2 em, .stats__copy h2 em, .press__intro h4, .press__logos .logo,
.pagehd h1 em,
[style*="font-style: italic"], [style*="fontStyle"] {
  font-style: normal !important;
  color: inherit !important;
  font-weight: inherit !important;
}
.hero__tagline em, .hero__tagline .italic { font-style: italic !important; }
.ft__brand .tag em, .ft__bot em {
  font-style: italic !important;
  color: var(--witherell-gold-foil) !important;
  font-family: var(--font-display) !important;
}

/* ============================================================================
   Mobile drawer (full-screen, slides up from bottom on mobile)
   ============================================================================ */
.mobile-drawer {
  position: fixed; inset: 0;
  z-index: 100;
  display: none;
}
.mobile-drawer.open { display: block; }
.mobile-drawer .panel {
  position: absolute; inset: 0;
  background: var(--paper);
  color: var(--ink);
  display: flex; flex-direction: column;
  transform: translateY(100%);
  transition: transform .32s cubic-bezier(.2,.7,.2,1);
}
.mobile-drawer.open .panel { transform: translateY(0); }

.mobile-drawer .drawer-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 22px;
  background: var(--ink); color: var(--paper);
  border-bottom: 1px solid var(--witherell-gold);
}
.mobile-drawer .drawer-head .logo-block img { height: 42px; }
.mobile-drawer .close-btn {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--witherell-gold); color: var(--paper);
  background: transparent; cursor: pointer;
  transition: all .15s ease-out;
}
.mobile-drawer .close-btn:hover { background: var(--witherell-gold); color: var(--ink); }
.mobile-drawer .close-btn svg { width: 18px; height: 18px; }

.mobile-drawer .drawer-search {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(20,17,12,0.14);
  background: var(--bone);
}
.mobile-drawer .drawer-search svg { width: 20px; height: 20px; color: var(--ink-mute); flex-shrink: 0; }
.mobile-drawer .drawer-search input {
  flex: 1; border: 0; background: transparent;
  font-family: var(--font-display); font-size: 17px; color: var(--ink);
}
.mobile-drawer .drawer-search input:focus { outline: none; }
.mobile-drawer .drawer-search input::placeholder { color: var(--ink-faint); font-style: italic; }

.mobile-drawer .drawer-body {
  flex: 1; overflow-y: auto;
  padding: 0 0 24px;
}
.mobile-drawer .drawer-section {
  border-bottom: 1px solid rgba(20,17,12,0.10);
  padding: 6px 0 16px;
}
.mobile-drawer .drawer-section:last-child { border-bottom: 0; }

.mobile-drawer .drawer-group-title {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 22px 6px;
  font-family: var(--font-sans); font-size: 10px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--witherell-gold-deep);
  font-weight: 500;
}

.mobile-drawer .inline-list a {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px;
  padding: 13px 22px;
  font-family: var(--font-display); font-weight: 500;
  font-size: 19px; letter-spacing: 0.01em; color: var(--ink);
  text-align: left;
  transition: background .12s ease-out, color .12s ease-out;
}
.mobile-drawer .inline-list a:hover { background: var(--paper-soft); color: var(--witherell-gold-deep); }
.mobile-drawer .inline-list a .side {
  font-family: var(--font-sans); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-mute); font-weight: 400;
  white-space: nowrap;
}

.mobile-drawer .drawer-auth {
  padding: 18px 22px 6px;
  display: flex; gap: 12px; flex-direction: column;
}
.mobile-drawer .drawer-auth .signed-out-actions {
  display: flex; gap: 10px;
}
.mobile-drawer .drawer-auth .signed-out-actions .wmd-btn { flex: 1; justify-content: center; }

.wmd-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 18px;
  font-family: var(--font-sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  border: 1px solid var(--ink); color: var(--ink); background: transparent;
  transition: all .15s ease-out;
}
.wmd-btn:hover { background: var(--ink); color: var(--paper); }
.wmd-btn--gold { background: var(--witherell-gold); border-color: var(--witherell-gold); color: var(--paper); }
.wmd-btn--gold:hover { background: var(--witherell-gold-deep); border-color: var(--witherell-gold-deep); }

.mobile-drawer .drawer-foot {
  padding: 14px 22px 22px;
  border-top: 1px solid rgba(20,17,12,0.10);
  font-family: var(--font-sans); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-mute);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}

/* ============================================================================
   Comprehensive responsive pass — non-header
   ============================================================================ */

@media (max-width: 920px) {
  .section { padding: 64px 0; }
  .feat { grid-template-columns: 1fr !important; gap: 40px !important; }
  .feat__copy h2 { font-size: 36px !important; }
  .feat__copy .meta { grid-template-columns: 1fr 1fr; gap: 20px; }
  .intro h2 { font-size: 30px; line-height: 1.15; }
  .intro p { font-size: 15px; }
  .depts-mosaic { grid-template-columns: 1fr !important; gap: 16px !important; grid-auto-rows: auto !important; }
  .depts-mosaic > .dept { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 4/3; }
  .dept__nm { font-size: 28px !important; }
  .lotgrid { grid-template-columns: 1fr 1fr !important; gap: 24px !important; }
  .lot__title { font-size: 14px !important; }
  .sec-h { flex-direction: column; align-items: flex-start; gap: 16px; }
  .sec-h h2 { font-size: 32px !important; }
  .stats__copy h2 { font-size: 32px !important; }
  .stats__nums { grid-template-columns: 1fr 1fr !important; }
  .press__logos { justify-content: flex-start !important; flex-wrap: wrap; gap: 24px !important; }
  .press__logos { display: grid !important; grid-template-columns: 1fr 1fr; gap: 28px 32px !important; }
  .press__intro { flex: 1 1 100%; }

  /* Override inline grid styles in shortcodes for tablet/mobile */
  .sellcta-inner { grid-template-columns: 1fr !important; gap: 40px !important; }
  .sellcta-inner > div:last-child { aspect-ratio: 3/2 !important; }
  .contact-grid { grid-template-columns: 1fr !important; gap: 48px !important; }
  .press-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .field--row { grid-template-columns: 1fr !important; }
  .ft__cols { grid-template-columns: 1fr 1fr !important; gap: 32px !important; }
  .ft__bot { flex-direction: column; align-items: flex-start; gap: 12px; }
  .marquee { padding: 14px 0; }
  .hero__footer { padding: 0 20px 6vh; }
  .hero__footer .hero__sub { font-size: 14px !important; }
  .hero__cta { flex-wrap: wrap; gap: 12px !important; }
  .hero__cta .btn { padding: 14px 22px; font-size: 12px; }
}

@media (max-width: 600px) {
  .hd { height: 68px; }
  .hd__logo img { height: 40px; }
  .hd--scrolled .hd__logo img { height: 32px; }
  .hd__icons { display: none !important; }
  .hd__msearch { display: none; }
  .lotgrid { grid-template-columns: 1fr !important; }
  .feat__copy h2 { font-size: 30px !important; }
  .feat__copy .meta { grid-template-columns: 1fr; gap: 14px; }
  .ft__cols { grid-template-columns: 1fr !important; }
  .stats__nums { grid-template-columns: 1fr !important; }
  .section { padding: 48px 0; }
  .sec-h h2 { font-size: 26px !important; }
  .intro h2 { font-size: 24px; }
  .dept { aspect-ratio: 16/10 !important; }
  .dept__nm { font-size: 24px !important; }
  .dept__icon { width: 40px !important; height: 40px !important; top: 20px !important; left: 20px !important; }
  .hero__footer .eyebrow { font-size: 9px !important; letter-spacing: 0.24em !important; }
  .ft__brand .tag { font-size: 22px !important; }
  .press__logos { grid-template-columns: 1fr !important; gap: 22px !important; }
  .ninety8 { padding: 48px 0 32px !important; }
}
